/* ═══════════════════════════════════════════════════════════════
   NEGOCIACIONES BERGER
   Estilos generales - colores: #008A3D
════════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NeulisAlt';
  src: url('../fonts/NeulisAlt-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: 'NeulisAlt-light';
  src: url('../fonts/neulis-alt-light.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


* {
  box-sizing: border-box;
  margin: 0;
}

body {
  margin: 0;
  padding-top: 76px;
  font-family: 'NeulisAlt', sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   HERO - BANNER
════════════════════════════════════════════════════════════════ */
.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 580px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.45) 55%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    url("../img/banners/banner_index_berger.jpg") center / cover no-repeat;
  color: #ffffff;
}

.hero-content {
  max-width: 760px;
}

.hero-eyebrow {
  display: block;
  margin-bottom: 18px;
  color: #55D68B;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
}

.hero h1 {
  margin: 0 0 24px;  
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  font-family: 'NeulisAlt-light', sans-serif;
}

.hero h1 .hero-terreno {
  display: block;
  font-size: 1.22em;
  font-weight: 700;
  font-family: 'NeulisAlt', sans-serif;
  letter-spacing: -2px;
}

.hero p {
  max-width: 520px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.7;
}
/* ─────────────────────────────────────────────
   BOTONES
───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid #008A3D;
  border-radius: 30px;
  background-color: #008A3D;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #007535;
  border-color: #007535;
  color: #ffffff;
  transform: translateY(-2px) !important;
}

.btn-infor-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 15px;
  padding: 13px 21px;
  border: 1px solid #ffffff;
  border-radius: 30px;
  background-color: #ffffff;
  color: #17251d;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-infor-hero i {
  color: #008A3D;
  font-size: 18px;
}

.btn-infor-hero:hover {
  background-color: #f2f2f2;
  border-color: #f2f2f2;
  color: #17251d;
  transform: translateY(-2px) !important;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero {
    min-height: 600px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }

  .hero p {
    font-size: 0.98rem;
  }

  .btn-primary,
  .btn-infor-hero {
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   IMAGE PLACEHOLDER
════════════════════════════════════════════════════════════════ */
.imagen-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #f1f3f2;
  border: 1px solid #e1e5e2;
  color: #008A3D;
  text-align: center;
}

.imagen-placeholder i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.imagen-placeholder span {
  color: #555555;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   HERO - PARA EL RESTO DE PAGINAS 
════════════════════════════════════════════════════════════════ */
.page-hero {
  min-height: 400px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.45) 60%,
      rgba(0, 0, 0, 0.25) 100%),
    url("../img/banners/hero_nosotros.JPG") center / cover no-repeat;
  color: #ffffff;
}

.page-hero-content {
  max-width: 700px;
}

.page-hero .hero-eyebrow {
  display: block;
  margin-bottom: 15px;
  color: #008A3D;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
}

.page-hero p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   NUESTROS PROYECTOS
════════════════════════════════════════════════════════════════ */
.proyectos-home {
  padding: 100px 0;
  background-color: #ffffff;
}

/* ─────────────────────────────────────────────
   ENCABEZADO
───────────────────────────────────────────── */
.section-heading {
  max-width: 100%;
  margin: 80px 40px 35px 40px;
  text-align: center;
}

.section-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #008A3D;
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-heading h2 {
  margin: 0px;
  color: #111111;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;

}

.section-heading h2 .recolor {
  color: #008A3D;
}

.section-heading p {
  margin: 0;
  color: #666666;
  font-size: 1rem;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   GRID
───────────────────────────────────────────── */
.proyectos-grid {
  margin: 20px 120px 80px 120px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

/* ─────────────────────────────────────────────
   TARJETA
───────────────────────────────────────────── */
.proyecto-card {
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e9e9e9;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: opacity 0.7s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.proyecto-card.animacion-scroll {
  opacity: 0;
  transform: translateY(35px);
}

.proyecto-card.animacion-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.proyecto-card.animacion-scroll.visible:hover {
  transform: translateY(-5px);
}

.proyecto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.09);
}

/* ═══════════════════════════════════════════════════════════════
   IMAGEN DEL PROYECTO
════════════════════════════════════════════════════════════════ */
.proyecto-imagen {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background-color: #f1f3f1;
}

.proyecto-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.proyecto-card:hover .proyecto-imagen img {
  transform: scale(1.03);
}

/* ═══════════════════════════════════════════════════════════════
   DEGRADADO
════════════════════════════════════════════════════════════════ */
.proyecto-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.78) 18%,
      rgba(0, 0, 0, 0.48) 32%,
      rgba(0, 0, 0, 0.12) 52%,
      rgba(0, 0, 0, 0) 68%);
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   CONTENIDO SOBRE LA IMAGEN
════════════════════════════════════════════════════════════════ */
.proyecto-content {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 47%;
  height: 100%;
  padding: 45px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.proyecto-label {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.proyecto-content h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.15;
}

.proyecto-content>p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   INFORMACIÓN
════════════════════════════════════════════════════════════════ */
.proyecto-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0;
  border: 0;
}

.proyecto-info div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.proyecto-info i {
  width: 18px;
  color: #008A3D;
  font-size: 0.9rem;
}

.proyecto-info span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
}

/* ═══════════════════════════════════════════════════════════════
   ENLACE
════════════════════════════════════════════════════════════════ */
.proyecto-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 25px;
  padding-bottom: 5px;
  border-bottom: 1px solid #008A3D;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.proyecto-link i {
  transition: transform 0.2s ease;
}

.proyecto-link:hover {
  color: #ffffff;
}

.proyecto-link:hover i {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════
   ESTADO
════════════════════════════════════════════════════════════════ */
.proyecto-status {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  padding: 7px 12px;
  background-color: #008A3D;
  color: #ffffff;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 700px) {
  .proyectos-home {
    padding: 75px 0;
  }

  .proyectos-grid {
    grid-template-columns: 1fr;
    margin: 20px;
  }

  .proyecto-imagen {
    height: 420px;
  }

  .proyecto-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.15) 35%,
        rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 0.95) 100%);
  }

  .proyecto-content {
    width: 100%;
    height: auto;
    top: auto;
    bottom: 0;
    padding: 30px 25px;
    justify-content: flex-end;
  }

  .proyecto-content h3 {
    font-size: 1.7rem;
  }

  .proyecto-content>p {
    max-width: 380px;
    margin-bottom: 18px;
  }

  .proyecto-info {
    gap: 9px;
  }

}

/* ═══════════════════════════════════════════════════════════════
   ¿POR QUÉ NEGOCIACIONES BERGER?
════════════════════════════════════════════════════════════════ */
.porque-berger {  
  padding: 20px 0 20px 0;
  background-color: #f8f9f8;
}

/* ─────────────────────────────────────────────
   GRID
───────────────────────────────────────────── */
.porque-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ─────────────────────────────────────────────
   TARJETA
───────────────────────────────────────────── */
.porque-card {
  position: relative;
  min-height: 300px;
  padding: 35px 28px;
  background-color: #ffffff;
  border: 1px solid #e8ebe9;
  text-align: center;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.porque-card.animacion-scroll.visible:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 138, 61, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

/* ─────────────────────────────────────────────
   ICONO
───────────────────────────────────────────── */
.porque-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  background-color: rgba(0, 138, 61, 0.1);
  border-radius: 12px;
  color: #008A3D;
  font-size: 1.25rem;
}

/* ─────────────────────────────────────────────
   CONTENIDO
───────────────────────────────────────────── */
.porque-content h3 {
  margin: 0 0 12px;
  color: #111111;
  font-size: 1.35rem;
  font-weight: 600;
}

.porque-content p {
  margin: 0;
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1000px) {
  .porque-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .porque-berger {
    padding: 40px 0;
  }
  @media (max-width: 600px) {
  .porque-berger .section-heading {
    margin: 30px 0 25px;
  }
}

  .porque-grid {
    grid-template-columns: 1fr;
  }

  .porque-card {
    min-height: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ¿POR QUÉ COMPRAR UN LOTE?
════════════════════════════════════════════════════════════════ */
.comprar-lote {
  padding: 50px 0;
  background-color: #ffffff;
}

.comprar-lote-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
}

/* ─────────────────────────────────────────────
   CONTENIDO
───────────────────────────────────────────── */
.comprar-lote-content {
  max-width: 620px;
}

.section-heading-left {
  max-width: 450px;
  margin: 0 0 10px;
  text-align: left;
}

.section-heading-left h2 {
  max-width: 560px;
}

.section-heading-left p {
  max-width: 520px;
  margin-top: 20px;
}

/* ─────────────────────────────────────────────
   RAZONES
───────────────────────────────────────────── */
.razon-item {
  margin: 20px 30px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.razon-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 138, 61, 0.1);
  border-radius: 10px;
  color: #008A3D;
  font-size: 1.8rem;
}

.razon-item h3 {
  margin: 0 0 6px;
  color: #111111;
  font-size: 1rem;
  font-weight: 600;
}

.razon-item p {
  margin: 0;
  color: #666666;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   IMAGEN
───────────────────────────────────────────── */
.comprar-lote-imagen {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 20px;
  background-color: #f1f3f1;
}

.comprar-lote-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.comprar-lote-imagen:hover img {
  transform: scale(1.03);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .comprar-lote-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .comprar-lote-content {
    max-width: 100%;
  }

  .comprar-lote-imagen {
    height: 420px;
    order: -1;
  }

  /* Centrar encabezado en móvil */
  .section-heading-left {
    max-width: 100%;
    margin: 0 auto 20px;
    text-align: center;
  }

  .section-heading-left h2 {
    max-width: 560px;
    margin: 0 auto;
  }

  .section-heading-left p {
    max-width: 520px;
    margin: 20px auto 0;
  }
}

@media (max-width: 600px) {
  .razones-grid {
    grid-template-columns: 1fr;
    padding-top: 5px;
    gap: 25px;
  }

  .comprar-lote-imagen {
    height: 350px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PROCESO DE COMPRA
════════════════════════════════════════════════════════════════ */
.proceso-compra {
  padding: 5px 0 150px 0px;
  background-color: #ffffff;
}

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

/* ─────────────────────────────────────────────
   ITEM
───────────────────────────────────────────── */
.proceso-item {
  position: relative;
}

/* ─────────────────────────────────────────────
   ICONO
───────────────────────────────────────────── */
.proceso-icon {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border: 1px solid rgba(0, 138, 61, 0.25);
  border-radius: 50%;
  background-color: #ffffff;
  color: #008A3D;
  font-size: 2.0rem;
}

/* ─────────────────────────────────────────────
   TITULO + NUMERO
───────────────────────────────────────────── */
.proceso-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.proceso-number {
  color: #008A3D;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.proceso-content h3 {
  margin: 0;
  color: #111111;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

/* ─────────────────────────────────────────────
   DESCRIPCIÓN
───────────────────────────────────────────── */
.proceso-content p {
  margin: 0;
  color: #666666;
  font-size: 0.85rem;
  line-height: 1.65;
}

.sobre-nosotros-imagen .imagen-placeholder {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
}

/* ─────────────────────────────────────────────
   LÍNEA DEL PROCESO
───────────────────────────────────────────── */
.proceso-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;
  left: 58px;
  width: calc(100% + 30px);
  height: 1px;
  background-color: rgba(0, 138, 61, 0.25);
  z-index: 0;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1000px) {
  .proceso-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 30px;
  }

  /* La línea horizontal deja de tener sentido */
  .proceso-item::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .proceso-compra {
    padding: 10px 40px 90px 40px;
  }

  .proceso-compra .section-heading {
    margin: 30px 0 25px;
  }
  .proceso-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CTA FINAL
════════════════════════════════════════════════════════════════ */
.cta-final {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../img/banners/cta.jpg") center / cover no-repeat;
  color: #ffffff;
}

/* ─────────────────────────────────────────────
   DEGRADADO
───────────────────────────────────────────── */
.cta-final-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.68) 45%, rgba(0, 0, 0, 0.38) 100%);
  z-index: 1;
}

/* ─────────────────────────────────────────────
   CONTENIDO
───────────────────────────────────────────── */
.cta-final .container {
  position: relative;
  z-index: 2;
}

.cta-final-content {
  max-width: 680px;
}

.cta-final-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #008A3D;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.cta-final h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
}

.cta-final h2 span {
  color: #008A3D;
}

.cta-final p {
  max-width: 560px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   BOTONES
───────────────────────────────────────────── */
.cta-final-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 21px;
  border-radius: 90px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

/* Principal */
.btn-cta-primary {
  border: 1px solid #008A3D;
  background-color: #008A3D;
  color: #ffffff;
}

.btn-cta-primary:hover {
  background-color: #007535;
  border-color: #007535;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-cta-primary i {
  transition: transform 0.2s ease;
}

.btn-cta-primary:hover i {
  transform: translateX(4px);
}

/* Secundario */
.btn-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background-color: transparent;
  color: #ffffff;
}

.btn-cta-secondary:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #17251d;
  transform: translateY(-2px);
}

.btn-cta-secondary i {
  color: #008A3D;
  font-size: 18px;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 600px) {
  .cta-final {
    min-height: 500px;
  }

  .cta-final-content {
    max-width: 100%;
    text-align: center;
  }

  .cta-final h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .cta-final p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
  }
}