body {
  overflow-x: hidden;
}

body, html {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 40px;
}

h3 {
  font-size: 23px;
}

p {
  font-size: 20px;
}

/* Estilos para laptops (<=1024px) */
@media (max-width: 1024px) {
  h1 {
    font-size: 35px;
  }

  h3 {
    font-size: 21px;
  }

  p {
    font-size: 18px;
  }
}

/* Estilos para celulares (<=768px) */
@media (max-width: 768px) {
  h1 {
    font-size: 30px;
  }

  h3 {
    font-size: 19px;
  }

  p {
    font-size: 10px;
  }
}

/*Fonts "fuentes principales*/

@font-face {
  font-family: 'LinotypeAperto Bold';
  src: url('fonts/LinotypeAperto-Bold.eot');
  src: url('fonts/LinotypeAperto-Bold.eot?#iefix') format('embedded-opentype'),
       url('fonts/LinotypeAperto-Bold.woff2') format('woff2'),
       url('fonts/LinotypeAperto-Bold.woff') format('woff'),
       url('fonts/LinotypeAperto-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
    font-family: 'Optika Regular';
    src: url('../css/fonts/Optika-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


@media (max-width: 768px) {
  .hero-imagen {
    margin-top: 80px; /* Altura del nav fijo */
  }
}


.hero-imagen {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}



.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../img/desarrollo/banner_proyecto.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .hero-imagen {
    height: auto;
  }

  .hero-bg {
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}


.desarrollo-hero {
  font-family: 'Optika Light', sans-serif;
}

.intro-contenido {
  text-align: center;
  padding: 4rem 1rem;
  color: #003366;
}

.intro-contenido h1 {
  font-family: 'LinotypeAperto Bold', sans-serif;
  margin-bottom: 2rem;
  color: #497d99;
}

@media screen and (max-width: 768px) {
  .intro-contenido h1 {
    margin-top: -10%;
  }

}

.intro-contenido h3 {
  font-family: 'Optika Regular', sans-serif;
  line-height: 1.6;
  color: #497d99;
}


/* === CONTENEDOR FLEX PRINCIPAL === */
.desarrollo-info__contenedor {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  max-width: 1300px;
  margin: 0 auto;
  flex-wrap: wrap;
}


@media (max-width: 768px) {
  .desarrollo-info__contenedor {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
  }

  .info-col--izquierda {
    width: 100%;
  }

  .info-col--izquierda .galeria-casas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .galeria-casas img {
    width: 100%;
    border-radius: 10px;
  }
  
  
  .bloque-gif img {
    width: 100%;
    height: auto;
  }

  .info-col--derecha {
    width: 100%;
    margin-top: 2rem;
  }

  .info-col--derecha .bloque-gif {
    width: 100%;
  }

  

  .desarrollo-esencia,
  .desarrollo-amenidades,
  .bloque-mapa,
  .cotizar_casa {
    margin-top: 3rem;
    padding: 0 1rem;
  }
}




/* === COLUMNA IZQUIERDA === */
.info-col--izquierda {
  flex: 1;
}

.info-col--izquierda h3 {
  font-family: 'LinotypeAperto Bold', sans-serif;
  margin-bottom: 2rem;
  text-align: center;
  color: #497d99;
  text-transform: uppercase;
  /* font-size: 30px; */
}

.info-col--izquierda img {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 10px;
  object-fit: cover;
}

/* === COLUMNA DERECHA === */
.info-col--derecha {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

/* GIF de beneficios */
.bloque-gif img {
  width: 120%;
  max-width: 120%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .bloque-gif img {
    max-width: 100%;
  }

}

/* Mapa animado */
.bloque-mapa img {
  width: 100%;
  max-width: 900px;
  height: auto;
}


/* === NUESTRA ESENCIA === */
.desarrollo-esencia {
  text-align: center;
  margin: 4rem auto 8rem auto; /* 6rem abajo */
}

.desarrollo-esencia h3 {
  font-family: 'LinotypeAperto Bold', sans-serif;
  margin-bottom: 1rem;
  color: #497d99;
}

.desarrollo-esencia p {
  font-family: 'LinotypeAperto Bold', sans-serif;
  color: #497d99;
  letter-spacing: 0.15rem;
}

.desarrollo-esencia .esencia-item {
  display: inline-block;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  cursor: default;
}

.desarrollo-esencia .esencia-item:hover {
  transform: scale(1.1);
  text-shadow: 0 0 8px #497d99;
}


/* === AMENIDADES === */
.desarrollo-amenidades {
  text-align: center;
  margin: 4rem auto;
}

.galeria-casas img {
  width: 100%;
  max-width: 90%;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.galeria-casas img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.cotizar_casa {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
}


.cotizar_casa h3 {
  font-family: 'Optika Bold', sans-serif;
  margin-bottom: .5rem;
  color: #000;
  font-weight: bold;
}

.boton_cotizar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 10px;
  height: 50px;
  width: 200px;
  font-family: 'LinotypeAperto Bold', serif;
  background-color: #4c7e9a;
  color: white;
  font-size: 2rem;
  text-align: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-top: 50px;
  margin-bottom: 30px;
  text-decoration: none;
}

.boton_cotizar:hover {
  transform: scale(1.1);
}

