.sectionn {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  object-fit: cover;
  object-position: center;
  width: 100%;
}


/* Inicio Formulario*/

#Captcha_t,
#t3-content {
  padding: 0 !important;
  margin: 0 !important;
}



.imagen-contacto {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.contformulario {
  position: relative;
  top: 0;
  left: 0;
  height: 100vh;

}

.contactanosSpan {
  padding: 10px 0 10px 0;
  font-size: 14px;
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.contactanosSpan2 {
  font-weight: 400;
}

.text-input {
  padding: 15px !important;
}

.tex {
  text-align: justify !important;
}

.bor {
  border-left: 1px solid var(--dorado);
  ;
}

.formulario h2 {
  text-align: center;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: var(--dorado);
  font-size: 21px;
  padding-bottom: 35px;
}

.formulario {
  background-color: #FFF;
  position: absolute;
  top: 0%;
  left: 0%;
  bottom: 21%;
  right: 0;
  margin: auto;
  width: 1080px;
  height: auto;
  max-height: 633px;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
  display: flex;
  padding: 30px;
  gap: 11%;
  max-width: 1200px;
}

.mapa1 {
  display: block;
}

.mapa2 {
  display: none;
}

.input-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}


.envi {
  background-color: var(--dorado) !important;
  color: var(--blanco) !important;
}

.enviar-input {
  margin-top: 12%;
  margin-left: 10px;
}

.logoAnzures {
  position: fixed;
  top: 2%;
  left: 7%;
  z-index: 9;
  width: 4%;
}

.btnM {
  display: none;
}

.btndesk {
  display: block;
}

.enviar-input input {
  margin-top: 10%;
}

.enviar-input input {
  width: 185px;
  height: 30px;
  background-color: var(--dorado);
  border: 1px solid var(--dorado);
  font-size: 15px;
  font-family: var(--fuentesecundaria);
  color: var(--blanco);
}


.container-img {
  position: relative;
  height: 100vh;
  cursor: pointer;
}

.container-img img {
  height: 100vh;
  object-fit: cover;
  cursor: pointer;
}

.input-select {
  height: 30px;
  width: 350px;
  text-align: center;
  border: 1px solid var(--dorado);
  font-size: 15px;
  font-family: var(--fuentesecundaria);

}

.datos {
  text-align: left !important;
}

.cont-vali {
  width: 350px;
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  gap: 10px;
}

.envio-tel {
  height: 30px;
  width: 150px;
  border: 1px solid var(--dorado);
  background-color: #fff;
  font-family: var(--fuentesecundaria);
  font-size: 15px;
}

.cont-vali input {
  height: 30px;
  width: 170px;
  border: 1px solid var(--dorado);
  background-color: #fff;
  font-family: var(--fuentesecundaria);
  font-size: 15px;
}

/*Fin Formulario*/

/* departamentos  */

.grid-dep {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

}

/* SECTION contacto*/

.container-img2 {
  position: absolute;
  width: 100%;

}

.container-img2 p {
  font-size: 14px;
  font-family: var(--fuentesecundaria);
  color: black;

}

.icono_contacto {
  display: flex;
  justify-content: center;
  gap: 60px;
  height: 300px;
  align-items: center;
}

/*Conoce mas mapa*/
.mapa img {
  max-width: 100%;
  height: auto;

}


.circuloPar {
  position: absolute;
  top: 21.5vw;
  left: 27.5vw;
  width: 7vw;
  height: 7vw;
  border-radius: 50%;
  background-color: transparent;
}

.circuloEst {
  position: absolute;
  top: 16vw;
  left: 36vw;
  width: 7vw;
  height: 7vw;
  border-radius: 50%;
  background-color: transparent;
}

.circuloTra {
  position: absolute;
  top: 9.5vw;
  left: 44.2vw;
  width: 7vw;
  height: 7vw;
  border-radius: 50%;
  background-color: transparent;
}

.formularioAnzures {
  display: flex;
  justify-content: space-around;
  padding: 0 5% 5% 5%;
}


.parque svg {
  color: black;
}

.estadio {
  position: absolute;
  top: 31.3%;
  left: 36.3%;
}

.estadio svg {
  color: black;
}

.trace {
  position: absolute;
  top: 31.3%;
  left: 80.2%;

}

.trace svg {
  color: black;
}

/*Conoce mas mapa fin*/


.g-recaptcha {
  transform: scale(0.89);
  -webkit-transform: scale(0.89);
  transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
}

.capcha {
  padding-top: 5px;
  padding-left: 11%;
}




/**/

/****************************************** HEADER PARA MOVIL ***************************************/

@media (max-width: 768px) {

  .capcha {
    padding-top: 2%;
    padding-left: 25%;

  }
  .desktopIMG {
    display: none;
  }

  .MovilIMG {
    display: block;
  }



  .TituloForm {
    display: flex;
    justify-content: space-around;
    padding: 8px;
  }

  .formularioMod h2 {
    text-align: center;
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--dorado);
    font-size: 12px;
    padding-top: 8px;
    padding-bottom: 0;
  }


  .formularioMod {
    background-color: #fff;
    position: absolute;
    top: 0%;
    left: 0%;
    bottom: 7%;
    right: 0;
    margin: auto;
    width: 82%;
    height: 85%;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 0%;
    /*flex-direction: column-reverse;*/
    flex-direction: column;
  }



  .formulario {
    background-color: #fff;
    position: absolute;
    top: 0%;
    left: 0%;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 82%;
    height: auto;
    max-height: 770px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    display: flex;
    /*flex-direction: column-reverse;*/
    flex-direction: column;
  }

  .contactanosSpan {
    padding: 0;
    font-size: 11px;
    font-family: "Barlow", sans-serif;
    font-weight: 300;
    font-style: normal;
  }

  .contactanosSpan2 {
    font-weight: 400;
  }

  .text-input {
    padding: 10px !important;
  }

  .tex {
    text-align: justify !important;
    padding-bottom: 10px;
  }

  .bor {
    /*border-left: 1px solid  var(--dorado); */
    padding-top: 5px;
  }

  .espaciomovil {
    padding-top: 0px;
  }


  .formulario h2 {
    text-align: center;
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--dorado);
    font-size: 12px;
    padding-bottom: 0;
  }

  .mapa1 {
    display: none;
  }

  .mapa2 {
    display: block;
  }

  .cont-vali {
    width: 350px;
    display: flex;
    justify-content: center;
    margin-top: 5px;
    gap: 3px;
  }

  .cont-vali input {
    height: 24px;
    width: 100px;
    border: 1px solid var(--dorado);
    background-color: #fff;
    font-family: var(--fuentesecundaria);
    font-size: 11px;
  }

  .envio-tel {
    height: 24px;
    width: 100px;
    border: 1px solid var(--dorado);
    background-color: #fff;
    font-family: var(--fuentesecundaria);
    font-size: 11px;
  }

  .iconoArroba {
    position: absolute;
    top: 80%;
    left: 91%;
    z-index: 1;
  }

  .enviar-input input {
    width: 100px;
    height: 33px;
    background-color: var(--dorado);
    border: 1px solid var(--dorado);
    font-size: 10px;
    font-family: var(--fuentesecundaria);
    color: var(--blanco);
  }

  .g-recaptcha {
    transform: scale(0.65);
    -webkit-transform: scale(0.65);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    /*margin-left: 20%;*/
  }

  option,
  select {
    color: black;
    border-radius: none;
    background-color: transparent;
  }

  .text-input input {
    color: black;
    border-radius: none;
    background-color: transparent;
  }

  .formularioAnzures {
    display: grid;
    grid-template-rows: 287px 215px;
  }

  .input-form {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    width: 100%;
    top: 38%;
    left: 0%;
  }

  .input-select {
    height: 30px;
    width: 260px;
    text-align: center;
    border: 1px solid var(--dorado);
    font-size: 12px;
    font-family: var(--fuentesecundaria);
  }

  .enviar-input {

    display: flex;
    width: 250px;
    margin-top: 0;
    flex-direction: column;
    gap: 0px;
  }

  .bor {
    display: none;
  }


  .contformulario {
    position: relative;
    top: 0;
    left: 0;
    height: 93vh;

  }

}

/* ------------------ Seccion de Contacto ----------------- */
/* Imagen de fondo */
.fondo-imagen-contact {
  background-image: url('../../img/formulario.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 0;
}

/* Sección de contacto */
#contactSection {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 99.5vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f1eb;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* Contenedor del formulario */
.contformularioContact {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 20px;
  /*max-width: 90%;*/
  width: 65%;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: none;
  height: 87%;
  top: 9%;
}


/* Ajuste del texto */
.h2modContact {
  font-family: "Saira Semi Condensed", sans-serif;
  color: #d5bf94;
  margin-bottom: 0px;
  text-transform: uppercase;
  margin-top: 15px;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 15px;
}
.draw-border2 p{
  font-size: 17px;
  color: white;
  font-family: 'Barlow', sans-serif;
  font-weight: lighter;
  font-style: normal;
}

/* Grupos del formulario */
/*.form-group {
  margin-bottom: 0px;
}*/

/* Contenedor del mapa */
.map-container {
  border: 3px solid #d5bf94;
  border-radius: 5px;
  /*padding: 5px;*/
}

/* Información de contacto */
.info-block {
  margin-bottom: 1px;
}

/* Título de la información de contacto */
.contact-info-title {
  font-size: 16px;
  font-weight: bold;
}

/* Texto de la información de contacto */
.contact-info {
  font-size: 14px;
  color: #666;
}

/* Botón de contacto */
.btnContact {
  background-color: #d5bf94;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  width: 80%;
  transition: background-color 0.3s ease;
  /*margin-left: 31.5%;*/
}

.btnContact:hover {
  background-color: #bfa978;
}

/* Ajustes para el contenedor del formulario en móviles */

@media (max-width: 990px) {
  .contformularioContact {
    padding: 5px;
    max-width: 90%;
    width: 90vw;
    top: 5vh;
    margin-bottom: 10vh;
    transform: translateY(0);
    height: calc(80vh - 30px);
    max-height: calc(80vh - 30px);
    overflow-y: auto;
    z-index: 1;
    height: 60%;
  }

  .modal-content {
    padding: 10px;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Aseguramos que el formulario se ajuste al contenedor */
  form#miFormulario {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    /* Espaciado adecuado entre los elementos */
  }

  .row {
    display: flex;
    flex-direction: column;
    /* Mantiene las columnas una debajo de la otra */
    align-items: center;
    /* Centramos el contenido para una mejor presentación */
  }

  .col-lg-6,
  .col-sm-12,
  .col-xs-12 {
    width: 100%;
    /* Hacemos que las columnas ocupen todo el ancho */
    padding: 10px 30px;
    /* Añadimos un pequeño padding para separación vertical */
  }

  /* Reducimos los tamaños de los títulos y los elementos para que entren en el contenedor */
  .h2modContact {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .input-selectContact {
    font-size: 12px;
    padding: 8px;
  }

  .form-group {
    margin-bottom: 8px;
    /* Reducimos los márgenes para que todo encaje mejor */
  }

  .btnContact {
    font-size: 14px;
    padding: 10px;
    width: 65%;
    /* Aseguramos que el botón ocupe todo el ancho disponible */
  }

  .contact-info-title {
    font-size: 14px;
    text-align: center;
  }

  .contact-info {
    font-size: 12px;
    text-align: center;
  }

  /* Ajustamos el tamaño del reCAPTCHA */
  .form-group .g-recaptcha {
    transform: scale(0.75);
    /* Reducimos un poco más el tamaño del reCAPTCHA */
    transform-origin: 0 0;
  }
}

/* Estilos para el Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Estilos para el contenido del modal con animación de "genio" */
.modal-content {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  border-radius: 10px;
  overflow-y: auto;
  box-sizing: border-box;
  position: relative;
  transform: scale(0);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}


/* Mostrar el modal y su contenido con animación */
.modal.show {
  display: flex;
}

/* Animación de "genio" para el modal al abrir */
.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

/* Animación de cierre */
.modal.hide .modal-content {
  transform: scale(0);
  opacity: 0;
}

/* Estilos para el botón de cerrar */
.close {
  position: absolute;
  right: 20px;
  top: 10px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}



/* Mostrar la versión móvil y ocultar la de escritorio cuando el ancho es menor a 768px */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .comparador-creditos {
    height: 80vh;
    background-position: left top;
    background-size: auto 100%;
  }

  .comparador-content {
    width: 90%;
    max-width: 600px;
  }

  .h2mod_bm {
    font-size: 2.8rem;
    margin-top: 50px;
  }
}

@media (max-width: 480px) {
  .h2mod_bm {
    font-size: 2.5rem;
    margin-top: 40px;
  }

  .comparador-content {
    padding: 20px;
  }

  .comparador-creditos {
    background-position: left top;
    background-size: auto 100%;
  }
}

/* Para dispositivos en orientación horizontal */
@media (orientation: landscape) {
  .comparador-creditos {
    height: 80vh;
    background-position: left center;
  }

  .h2mod_bm {
    font-size: 2.8rem;
    margin-top: 40px;
  }

  .comparador-content {
    width: 85%;
    padding: 25px;
  }
}

/* ------------------ Sección de Departamentos ------------------ */
/* Sección de Departamentos */
.grid-dep {
  display: flex;
  height: 100vh;
  /* Ocupa el 90% de la altura de la pantalla */
  width: 100%;
  overflow: hidden;
}

/* Contenedor de las imágenes */
.container-img {
  position: relative;
  width: 34%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* Imágenes dentro de los contenedores */
.container-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

/* Efecto de expansión al pasar el mouse sobre la imagen */
.container-img:hover img {
  transform: scale(1.1);
}

/* Botones centrados horizontalmente */
.btnDep {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Estilo del botón */
.btnDep2 {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 5px;
  min-width: 180px;
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Bordes dorados */
.draw-border2 {
  position: relative;
  /* Posicionamiento relativo */
  border: 2px solid #d5bf94;
  /* Borde dorado */
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  /* Transición suave para hover */
}

/* Pie de página móvil */
.fot-texM {
  display: none;
}

/* Pie de página para escritorio */
.fot-texD {
  display: flex;
  justify-content: center;
  background-color: #000;
  color: #FFF;
  font-size: 20px;
  gap: 100px;
  height: 10vh;
  /* Ocupa el 10% de la altura de la pantalla */
}

/* Responsive */
@media (max-width: 768px) {
  .grid-dep {
    flex-direction: column;
  }

  .container-img {
    width: 100%;
    height: 34vh;
  }

  /* Centrar el botón tanto vertical como horizontalmente en móviles */
  .btnDep {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .btnDep2 {
    width: 210px;
    /* Establecer un ancho uniforme */
    height: 50px;
    /* Establecer una altura uniforme */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    /* Ajustar el tamaño de la fuente */
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 2px solid #d5bf94;
    /* Mantener el borde dorado */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;

  }

  /* Pie de página móvil */
  footer.fot-texM p {
    padding-left: 20px;
    padding-right: 0px;
    font-size: 12px;
    /* Ajustar el tamaño de la fuente */
    line-height: 1.5;
    /* Espaciado entre líneas */
    text-align: center;
    /* Mantener el texto centrado para los párrafos */
  }

  footer.fot-texM a {
    text-align: center;
    /* Alinea el texto al centro */
    padding-left: 30px;
    /* Aumenta el padding para alejarlo más del borde izquierdo */
    padding-right: 10px;
    /* Añade algo de espacio para no acercarlo al borde derecho */
    margin-left: 0;
    /* Remueve cualquier margen adicional */
    font-size: 12px;
    /* Mantener consistencia con el tamaño del texto */
  }

  footer.fot-texM {
    padding: 10px 0;
    /* Separación adicional entre el contenido y los bordes */
    margin: 0 20px;
    /* Margen en los lados para ajustarlo al contenido */
  }

}



