* {
    font-family: 'Montserrat', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

 body {
    zoom: 70%;
    background-image: url("imagenes/fondo-paracas.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
} *




.mapa-lotes {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    width: fit-content;
}

.container-principal-lotes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

iframe {
    height: 340px;
}

#contenedores-manzanas {
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    max-width: 1300px;
    margin: 0 auto;
    transform: rotate(11deg);
    background-image: url(./imagenes/paracas-fondo.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    clip-path: polygon(0% 0%, 62.5% 0%, 100% 100%, 0% 100%);
    margin-top: 100px;
    zoom: 90%;
} 

.lote {
    width: 14px;
    height: 47px;
    border: 0.5px solid #fff;
    background: #f2f2f2;
    color: #fff;
    font-weight: 500;
    text-align: center;
    align-items: center;
    font-size: 6px;
    font-weight: bold;
    padding: 5px;
    cursor: pointer;
    text-shadow: 
       -0.5px -0.5px 0 black,
        0.5px -0.5px 0 black,
       -0.5px  0.5px 0 black,
        0.5px  0.5px 0 black;
}


.lote[data-estado="vendido"] {
    background-color: #9c1434;
}

.lote[data-estado="separado"] {
    background-color: #04dcdc;
}

.lote[data-estado="estrategico"] {
    background-color: #e99c01;
}

.lote[data-estado="disponible"] {
    background-color: #fcc48c;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 2px solid #444;
    padding: 20px;
    z-index: 999;
    width: 400px;
    border-radius: 8px;
    display: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


#cerrar-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.tabs {
    margin-top: 10px;
    display: flex;
    gap: 5px;
}

.tab {
    flex: 1;
    padding: 5px;
    cursor: pointer;
    background: #9f9f9f;
    border: 1px solid #aaa;
    text-align: center;
    padding: 10px 25px;
    border-radius: 10px;
    font-size: 15PX;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.tab.active {
    background-image: linear-gradient(180deg, #2C94D1 0%, #2455A7 100%);

}

.tab-content {
    display: none;
    margin-top: 10px;
}

.tab-content.active {
    display: block;
}

.btn-tab {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #2c7;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.content-precio {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.dinero {
    color: #000;
    font-weight: 700;
    font-size: 38px;
    font-family: 'Montserrat', sans-serif;
}

.contado {
    color: #C3C2C8;
    font-size: 11px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    margin-top: 30px;
}

.content-check {
    display: flex;
    align-items: center;
    gap: 6px;
    /* Espacio entre el ��cono y el texto */
}

.icono-check {
    width: 30px;
    height: 30px;
}

.text-lotes {
    color: #000;
    font-weight: 800;
    font-size: 16px;
}

.text-plazo {
    font-size: 16px;
    font-weight: 800;
    color: #A5A5A8;
    text-align: center;
}

.content-btn-what {
    display: flex;
    justify-content: center;

}

.btn-wha {
    background-image: linear-gradient(180deg, #2C94D1 0%, #2455A7 100%);
    border-radius: 20px;
    padding: 15px;
    color: #FFF;
    font-weight: 800;
    text-decoration: none;
}

/* aqui damos el estilo circular de cada manzana con su respectivo color  */
.fila-lotes {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-bottom: 5px;
}

.manzana-label-centrado {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

/* le damos estilos a la manzana A */
/* Manzana A*/
.manzana-a {
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 20px;
}

.manzana-a .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

/* manzana b */

.manzana-b {
    width: 50%;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 20px;
}

.manzana-b .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

/* manzana c */
.manzana-c {
    width: 50%;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
}

.manzana-c .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

/* manzana d */
.manzana-d {
    width: 40%;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 20px;
}

.manzana-d .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

/* manzana e */

.manzana-e {
    width: 60%;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 20px;
}

.manzana-e .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

/* manzana f */

.manzana-f {
    width: 60%;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 20px;
}

.manzana-f .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

.content-fila1 {
    width: 7%;
    height: auto;
    display: flex;
    display: flex;
    flex-direction: column;
}

.content-fila2 {
    width: 44%;
    height: auto;
    flex-direction: column;
    display: flex;
    gap: 5px;
}

.content-fila3 {
    width: 30%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding-left: 38px;
}

/* container lotes vacios  */
.container-lotes-vacios {
    width: auto;
    height: 200px;
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: end;
}

.conten-vacio-blanco {
    width: auto;
    height: 180px;
}

.content-fila-vacio {
    background-color: #f5f5f5;
    width: 20%;
    height: auto;
    border: 5px solid red;
    display: flex;
    flex-direction: row;
    padding-top: 100px;
    text-align: center;
    justify-content: center;
    gap: 10px;
}

.number1 {
    font-weight: 900;
    font-size: 46px;
    color: #000;
    margin-top: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.etapa {
    color: #000;
    font-weight: 900;
    font-size: 22px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.content-columna-vacio {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 500px;
}

.primera-etapa {
    background-color: darkgray;
    width: 100%;
    height: 54px;
}

/* manzana a- b  */
.content-ab {
    display: flex;
    flex-direction: column;
}

.content-gh {
    /*  color pista */
    display: flex;
    flex-direction: row;
    gap: 50px;
}

/* imagen-club-house */
.club-house {
    width: 280px;
    transform: rotate(-15deg);
    margin-left: -31px;
    margin-bottom: -51px;
    margin-top: -20px;
}

.btn-whatsapp {
    display: inline-flex;
    height: 26px;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
}

.btn-whatsapp:hover {
    background-color: #25D366;
    transform: scale(1.05);
}

.icono-whatsapp {
    width: 24px;
    height: 24px;
}

.bn632-hover {
    width: 160px;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin: 20px;
    text-align: center;
    border: none;
    background-size: 300% 100%;
    border-radius: 50px;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    margin-top: -2px;
}

.bn632-hover:hover {
    background-position: 100% 0;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.bn632-hover:focus {
    outline: none;
}

.bn632-hover.bn19 {
    background-image: linear-gradient(to right,
            #f5ce62,
            #e43603,
            #fa7199,
            #e85a19);
    box-shadow: 0 4px 15px 0 rgba(229, 66, 10, 0.75);
}


.container-btn-form {
    display: flex;
    align-items: center;
    justify-content: center;
}



.btn-55 {
    background: linear-gradient(90deg, blue, red);
    border-radius: 999px;
    box-sizing: border-box;
    color: #fff;
    display: block;
    font-weight: 900;
    overflow: hidden;
    padding: 20px 30px;
    position: relative;
    text-transform: uppercase;
    font-size: 16px;

}


.text-devoluciones {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}

.logo-paracas-lote {
    margin-top: 40px;
    margin-left: 30px;
}

/* manzanas lotes */

.lote.manzana-k {
    width: 50px;
    height: 17px;
    /* altura en PC */
}

.lote.manzana-c {
    width: 18px;
}

.lote.manzana-c-lote9 {
    width: 30px;
    clip-path: polygon(0px 0px, 41% 0px, 100% 100%, 0px 100%);
}


div#contenedor-lotes-c {
    padding-left: 15px;
    z-index:1;
}

div#contenedor-lotes-a {
    z-index: 1;
}

div#contenedor-lotes-d {
    margin-left: 17px;
}

div#contenedor-lotes-e {
    margin-left: 12px;
}

div#contenedor-lotes-f {
    margin-left: 10px;
}

.lote.manzana-d-lote {
    width: 18px;
    font-size: 6px;
}

.lote.manzana-d-lote11 {
    width: 24px;
    clip-path: polygon(0 0, 40% 0, 100% 100%, 0 100%);
}

.lote.manzana-d-lote2-6 {
    width: 19px;
}

.lote.manzana-d-lote13-20 {
    width: 10px;
}

.lote.manzana-d-lote12 {
    width: 30px;
    clip-path: polygon(0 0, 28% 0, 100% 100%, 0 100%);
    font-size: 8px;
}

.lote.manzana-d-fila2 {
    width: 18px;
    font-size: 6px;
}

.lote.manzana-d-fila2-lote13-20 {
    width: 10px;
}

.lote.manzana-d-fila2-lote12 {
    width: 30px;
    clip-path: polygon(0 0, 28% 0, 100% 100%, 0 100%);
    font-size: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fila1-d {
    display: flex;
    gap: 1px;
    margin-left: -25px;
}

.fila2-d {
    display: flex;
    gap: 1px;
}

.fila1-e {
    display: flex;
    gap: 1px;
    margin-left: -20px;
    font-size: 6px;
}

/* Lotes especiales dentro de la fila */
.manzana-e-fila1-lote9-14 {
    width: 12px;
}

.manzana-e-fila1-lote15 {
    width: 50px;
    clip-path: polygon(0 0, 59% 0, 100% 100%, 0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo general de fila2 */
.fila2-e {
    display: flex;
    gap: 1px;
    margin-left: 7px;
    font-size: 6px;
}

/* Lotes especiales */
.manzana-e-fila2-lote17-24 {
    width: 12px;
}

.manzana-e-fila2-lote16 {
    width: 30px;
    clip-path: polygon(0 0, 42% 0, 100% 100%, 0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}


/* MANZANA F */
.lote-normal-f {
    width: 24px;
}

.lote-especial-13 {
    width: 50px;
    clip-path: polygon(0px 0px, 61% 0px, 100% 100%, 0px 100%);
    display: flex;
    justify-content: center;
    text-align: center;
}

.lote-normal-f2 {
    width: 22px;
}

.lote-especial-15 {
    width: 20px;
}

.lote-especial-14 {
    width: 70px;
    clip-path: polygon(0 0, 65% 0, 100% 100%, 0 100%);
    display: flex;
    justify-content: center;
    text-align: center;
}

.fila-f-1 {
    display: flex;
    gap: 1px;
    margin-left: -15px;
}

.fila-f-2 {
    display: flex;
    gap: 1px;
    margin-left: 13px;
}

.zoom-controls {
    display: flex;
    justify-content: center;
    z-index: 100;
    position: relative;
    margin-top: 25PX;
    gap: 10px;
}

button#zoomOut,
button#zoomIn
{
    background-image: linear-gradient(to right, #f83600 0%, #f9d423 100%);
    color: #fff;
    font-size: 16px;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
}

button#resetZoom{
    background-image: linear-gradient(to right, #f83600 0%, #f9d423 100%);
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 50%;
}



@media (max-width: 500px) {


    body {
        background-image: url("imagenes/paracas-fondo.webp");
        background-repeat: no-repeat;
        background-position: top center;
        background-size: contain;
    }



    #contenedores-manzanas {
        transform-origin: center;
        overflow: hidden;
        margin-top: 580px;
        zoom: 40%;
        margin-left: 50px;
        transform: rotate(0deg);
        /*width: 95%;*/
        width: 95%;
        clip-path: none;

    }

    #popup-lote {
        zoom: 100%;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        zoom: 50%;
        width: 450px;
    }

    input#zoomSlider {
        display: none;
    }

    .club-house {
        margin-left: 0px;
        width: 305px;
    }

    .lote {
        width: 11px;
        height: 41px;
    }

    .content-gh {
        gap: 50px;
        margin-top: 5px;
    }

    div#contenedor-lotes-c {
        margin-left: 90px;
        margin-right: -80px;
    }

    #contenedor-lotes-d .lote {
        flex: 1;
        width: 14px;
    }

    .lote.manzana-k {
        height: 14.2px;
    }

    div#contenedor-lotes-c {
        margin-left: 30px;
    }

    .lote.manzana-c {
        width: 14px;
    }

    .lote.manzana-c-lote9 {
        width: 30px;
    }

    .fila1-d {
        display: flex;
        gap: 1px;
        margin-left: 9px;
    }


    .fila2-d {
        display: flex;
        gap: 1px;
        margin-left: 35px;
    }


    .lote.manzana-d-lote {
        width: 22px;
        /* ejemplo: más ancho en móvil */
        font-size: 8px;
    }

    .lote.manzana-d-lote11 {
        width: 28px;
    }

    .lote.manzana-d-lote2-6 {
        width: 24px;
    }

    .lote.manzana-d-lote13-20 {
        width: 14px;
    }

    .lote.manzana-d-lote12 {
        width: 35px;
        font-size: 10px;
    }

    div#contenedor-lotes-d {
        margin-left: 22px;
    }

    #contenedor-lotes-d .lote.manzana-d-fila2 {
        width: 10px;
        font-size: 6px;
    }

    #contenedor-lotes-d .lote.manzana-d-fila2-lote13-20 {
        width: 9px;
    }

    .lote.manzana-d-fila2-lote12 {
        width: 35px;
        font-size: 10px;
        clip-path: polygon(0 0, 32% 0, 100% 100%, 0 100%);
    }

    .fila1-e {
        margin-left: 26px;
        font-size: 7px;
    }

    .manzana-e-fila1-lote9-14 {
        width: 12px;
    }

    .manzana-e-fila1-lote15 {
        width: 12px;
        clip-path: polygon(0 0, 48% 0, 100% 100%, 0 100%);
    }

    .fila2-e {
        margin-left: 35px;
        font-size: 7px;

    }

    .manzana-e-fila2-lote17-24 {
        width: 10px;
    }

    .manzana-e-fila2-lote16 {
        width: 12px;
    }

    /*  manzana F */
    .lote-normal-f {
        width: 20px;
    }

    .lote-especial-13 {
        width: 30px;
    }

    .lote-normal-f2 {
        width: 20px;
    }

    .lote-especial-15 {
        width: 12px;
    }

    .lote-especial-14 {
        width: 40px;
    }

    .fila-f-1 {
        gap: 0.5px;
        /* más compacto */
        margin-left: 25px;
        /* menos desplazamiento en móvil */
    }

    .fila-f-2 {
        gap: 0.5px;
        /* más compacto */
        margin-left: 60px;
        /* menos margen en celular */
    }

    div#contenedor-lotes-e,
    div#contenedor-lotes-f {
        margin-left: 0px;
    }
    
    .zoom-controls {
    display: none;
    }



}

@media (min-width: 768px) and (max-width: 1024px) {
    body {

        background-image: url("imagenes/table-fondo.webp");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        height: 80vh;

    }

    .container-principal-lotes {
        margin-top: 32%;
        margin-left: 12%;
    }

    #contenedores-manzanas {
        zoom: 81%;
    }

    input#zoomSlider {
        display: none;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    #contenedores-manzanas {
        zoom: 68%;
    }
}

@media (min-width: 1281px) and (max-width: 1440px) {
    #contenedores-manzanas {
        zoom: 62%;
    }
}

@media (min-width: 1441px) and (max-width: 1600px) {
    #contenedores-manzanas {
        zoom: 68%;
    }
}