@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --color-costa: #039EBA;
    --color-urbano: #D77D03;
    --color-campestre: #A9A716;
    --color-residencial: #639d91;
    --color-blanco: #fff;
    --color-rojo: #e74c3c;
    --color-negro: #000;
    --color-label-login: #026F82;
    --fuente: "Montserrat", sans-serif;

    --primary-color: #149e9e;
    --secondary-color: #e8e8e8;
    --text-dark: #0f172a;
    --text-light: #94a3b8;
    --white: #ffffff;
}
main{
    height: 98vh;
}
.logo{
    width: 60px;
}
/* Slider 2 - Todos los Fraccionamientos de cada secci贸n  */
.slide{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wrapper {
    position: relative;
    max-width: 100%;
    width: 100%;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: rgba(0, 0, 0, .5);
    font-size: 20px;
    cursor: pointer;
    border: none;
    outline: none;
}
.arrow:hover {
    background-color: rgba(0, 0, 0, .7);
}
.arrow.prev {
    left: 0;
}
.arrow.next {
    right: 0;
}
.card-wrapper {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 2) - 12px);
    overflow-x: scroll;
    padding: 0px 24px;
    gap: 22px;
    cursor: grab;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    font-family: 'Montserrat', 'sans-serif';
}

.card-wrapper::-webkit-scrollbar {
    display: none;
}
.card-wrapper.grab {
    cursor: grabbing;
    user-select: none;
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.card-wrapper.no-smooth {
    scroll-behavior: auto;
}
.card-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 8px 8px 24px rgba(0, 0, 0, .1);
    background-color: white;
    transition: all 2S;
    /* height: 450px; */
}
.card-item img {
    width: 200px;  
     /* width: 280px;   */
     height: 120px; 
    /* height: 230px;  */
     object-fit: contain; 
     transition: all .6S;
}
.card-item:hover{
    transition: all 1S;
    -webkit-box-shadow: -1px 1px 43px -12px rgba(68,186,207,1);
    -moz-box-shadow: -1px 1px 43px -12px rgba(68,186,207,1);
    box-shadow: -1px 1px 43px -12px rgba(68,186,207,1);
}
.card-item img:hover{
    transition: all .6S;
    width: 210px; 
    height: 130px;
}

.card-info {
    padding: 8px;
    width: 100%;
    text-align: center;
}
.card-title {
    font-weight: 600;
    display: inline-block;
    font-size: 15px;
    text-decoration: none;
    color: #222;
    margin: 0;
  
}
.card-description {
    color: #888;
}
/* Contenedor principal*/

.principal-container{
    height: 100%;
    display: grid;
    grid-template-rows: 10% 58% 32%;
    align-items: center;
    justify-items: center;
    gap:5px;
 }
/* Contenedor Mapas*/
.contenedor-mapa{
    width: 95%;
    height: 100%; 
    background-color: #dfe6e9;
    border-radius: 15px;
    align-self: center;
}
.mapa{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.frame{
    width: 100%;
    height: 100%;
}
.contenedor-info-btn{
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}
.info-lote{
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 50px;
    height: max-content;
    gap: 15px;
    font-family: 'Montserrat', 'sans-serif';
    font-size: 13px;
}
.btn-cotizador{
    padding-right: 50px;
    display: flex;
    gap: 5px;
}

.btn-cotizador button{
    background-color: #026F82;
    border: none;
    color: var(--color-blanco);
    height: 40px;
    width: 80px;
    border-radius: 5px;

    
}
.desabilitar{
    cursor:not-allowed; 
}
.indicador{
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.color{
    margin:6px 4px;
    height: 14px;
    width: 14px;
    border-radius: 100%;
}
.vendido{
    background-color: red;
}
.disponible{
    background-color: green;
} 
.bloqueado{
    background-color:gray;
}
.apartado{
    background-color: rgb(223, 189, 20);
}

/* Barra de Busqueda */
.busqueda {
    display: flex;
    justify-content: center;
    width: 30%;
  }
  
  .buscarTermino {
    width: 100%;
    border: 3px solid #026F82;
    border-right: none;
    padding: 5px;
    height: 20px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: var(--color-negro);
  }
  
  .btnBuscar {
    width: 40px;
    height: 35px;
    border: 1px solid #026F82;
    background: #026F82;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    font-size: 20px;
  }
  .contenedor-buscador{
    width: 100%;

  }
.card-item img, .card-item .card-info{
    pointer-events: none;
}
/* INICIO MODAL DE LISTA DE PRECIOS  */



.modal {
    display: none; /* Por defecto, estará oculto */
    position: fixed; /* Posición fija */
    z-index: 1; /* Se situará por encima de otros elementos de la página*/
    padding-top: 10px; /* El contenido estará situado a 200px de la parte superior */
    left: 0;
    top: 0;
    width: 100%; /* Ancho completo */
    height: 100%; /* Algura completa */
    overflow: auto; /* Se activará el scroll si es necesario */
    background-color: rgba(0,0,0,0.5); /* Color negro con opacidad del 50% */
  }
  
  /* Ventana o caja modal */
  .contenido-modal {
    position: relative; /* Relativo con respecto al contenedor -modal- */
    background-color: white;
    margin: auto; /* Centrada */
    padding:5px 20px;
    width: 76%;
    height: 90%;
    -webkit-animation-name: animarsuperior;
    -webkit-animation-duration: 0.5s;
    animation-name: animarsuperior;
    animation-duration: 0.5s
  }
  /* .documentoPDF{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;

  }
  .documentoPDF h2{
    margin: 0px;

  } */
  /* Animación */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
  @keyframes animarsuperior {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
  
  /* Botón cerrar */
  .cerrar{
    display: flex;
    justify-content: end;
    font-size: x-large;
    cursor: pointer;
  }
  .close {
    color: black;
    float: right;
    font-size: 30px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }


/* FIN MODAL DE LISTA DE PRECIOS  */
/* Spinner */
#contenedorLoader{ 
    background-color: aliceblue;
    display: none;
    place-content: center;
    width: 94.8%;
    /* height: 610px;  */
    height: 60%; 
    border-radius: 15px;
    position: absolute;
  }
  .cargando{ 
    position: relative; 
    color: #026F82;
    margin-top: 2em;
    letter-spacing: 0.08em;
    text-transform: uppercase
  }
  
  .rueda {
    border: 10px solid #026F82;
    border-radius: 50%;
    border-left-color: transparent;
    width: 80px;
    height: 80px;
    animation: giro 1s linear infinite;
  }
  
  @keyframes giro {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
@media (min-width: 1024px){
    .card-wrapper {
        grid-auto-columns: calc((85% / 4) - 40px);
    }
}

@media (min-width:1025px ){
    .wrapper {
        max-width: 100%;
    }
    .principal-container{
        gap:15px;
     }
}
/* Resoponsive para celular */
@media (max-width: 1010px) and (max-height: 970px){

    .principal-container {
        display: flex;
        flex-direction: column;
       
    }
    .contenedor-info-btn {
        display: grid;
        width: 100%;
        justify-content: center;
        gap: 10px;
    
    }
    .info-lote{
        flex-direction: column;
        gap: 0px;
        padding-left: 0%;
        width: 100%;
    }
    .btn-cotizador {
       padding: 0px;
       grid-row:  1 / 2;
    }
    .busqueda {

        width: 90%;
    }
    .card-wrapper {
        grid-auto-columns: calc((100% / 1.2) - 12px);
    }
    .logo {
        width: 100px;
    }
    .contenedor-buscador {
        background-color: aliceblue;
    }
 }

  @media (min-width:1020px) and (min-height:1500px ){
    .principal-container{
       height: 99vh;
       display: grid;
       grid-template-rows: 10% 70% 20%;
       align-items: center;
       justify-items: center;
       gap:0px;
    }
    .contenedor-mapa {
       height: 100%;
    }
    .wrapper {
       max-width: 80%;
       height: 74%;
   }
   .contenedor-buscador {
       width: 100%;
       height: 100%;
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
   }
   .busqueda {
       height: 39%;
   
   }
   .buscarTermino {
       height: 100%;
       padding: 0px;
       font-size: x-large;
   }
   .btnBuscar {
       height: 100%;
   }
   .slide {
       height: 100%;
   }

   .card-wrapper {
       height: -webkit-fill-available;
       
   }
   .card-title {
    font-size: 47px;
   }
   .card-item img {
       width: 445px;
       height: 205px;
   }
   #contenedorLoader {
       display: none;
       width: 94.8%;
       /* height: 70%; */
       height:70%;
   }
}
@media (min-width: 768px)and (max-width:1024px) and (min-height: 1024px ){
    .card-wrapper{
        grid-auto-columns: calc((109% / 2) - 40px);
    }
    .contenedor-info-btn {
       
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .btn-cotizador {
        padding: 5px 0px 3px 0px;
    }
    #contenedorLoader {
        height: 58%;
}
@media (min-width:1680px ) and (min-height:2000px){
    .wrapper {
        max-width: 90%;
    }
    .card-wrapper {
        grid-auto-columns: calc((109% / 5) - 40px);
    }
    .btn-cotizador button {
        height: 55px;
        width: 191px;
        font-size: xx-large;
    }
    .contenedor-info-btn {
        height: 100%;
        align-items: center;
    }
 
}

}
/* Responsive para kiosco negro */
@media (min-width: 1079px ) and (min-height:1919px){
    .card-wrapper {
        grid-auto-columns: calc((85% / 1.5) - 40px);
    }

}

