:root {
    --color-texto-blanco: #FFFFFF;
    --color-texto-negro: #000000;
    --color-gris-oscuro: #898989;
    --fuente-principal: "Poppins", sans-serif;
}


body {
    font-family: 'Poppins', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif !important;
}

.navegador {
    padding: 80px 100px 80px 100px;

}

.property-box a {
    color: initial !important
}

.lista-nav {
    list-style: none;
    gap: 20px;
}

.navbar-nav .nav-link {
    color: var(--color-texto-blanco);
}

.nav-item .nav-link-idioma {
    border: 2px solid var(--color-texto-blanco);
    text-decoration: none;
    color: var(--color-texto-blanco);
    justify-content: end;
    align-items: end;

}

.btn-conocenos {
    padding: 0;
    background: none;
    border: none;
    color: var(--color-texto-blanco);
    font-family: var(--fuente-principal);
    font-weight: 500;
    font-size: 14px;
}

.btn-idioma {
    padding-right: 2px;
    padding-left: 2px;
    white-space: nowrap;
    background: none;
    border: 2px solid var(--color-texto-blanco);
    color: var(--color-texto-blanco);
    font-family: var(--fuente-principal);
    font-weight: 500;
    font-size: 14px;
}

.titulo-cabecera h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-texto-blanco);
    font-family: var(--fuente-principal);
    font-size: 40px;
    font-weight: 500;
}

.cuadro-busqueda {
    display: flex;
    justify-content: center;
    gap: 3rem;
    background: #10101066;
    padding: 20px 40px 20px 40px;
    max-width: 1200px;
}

/* Estilos del contenedor del formulario */
.cuadro-busqueda {
    display: flex;
    flex-wrap: wrap;
    /* Mejora el comportamiento en pantallas pequeñas */
    align-items: center;
    gap: 40px;
}

/* Campos de entrada (si los hay) */
.cuadro-busqueda input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

/* Botón general dentro de cuadro-busqueda */
.cuadro-busqueda .btn-buscador {
    background-color: rgba(255, 255, 255, 0.2);
    /* Equivale a #FFFFFF33 */
    min-width: 200px;
    height: 32px;
    color: var(--color-texto-blanco);
    border: none;
    font-family: 'Poppins', sans-serif;
}

/* Botones específicos de precio */
.cuadro-busqueda .btn-precio {
    background-color: rgba(255, 255, 255, 0.2);
    min-width: 112px;
    height: 32px;
    padding: 5px;
    color: var(--color-texto-blanco);
    border: none;
}

.cuadro-busqueda .btn-modulos {
    background: none;
    border: none;
}

/* Títulos de cada sección */
.propiedad h3,
.zona h3,
.precio h3,
.habitaciones h3,
.baños h3,
.referencias h3 {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 14px;
    color: var(--color-texto-blanco);
}


/* Separación superior del bloque principal */
.contenido-cabecera {
    margin-top: 12rem;
}

/* Botón de búsqueda (el de la lupa) */
.boton-busqueda button {
    background-color: var(--color-texto-negro);
    border: none;
    height: 58px;
    min-width: 58px;
    padding: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover del botón de búsqueda */
.boton-busqueda button:hover {
    background-color: gray;
}

.titulo-cabecera h2 {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    word-wrap: break-word;
    margin-bottom: 40px;
}

.d-none {
    display: none;
}

.modulo-extra {
    gap: 1.5rem !important;
}

.dropdown-menu.show {
    background-color: rgba(16, 16, 16, 0.6);

}

.header .dropdown-menu.show {
    background-color: white
}

.dropdown-menu .dropdown-item {
    color: var(--color-texto-blanco);
}

.cuadro-busqueda {
    position: relative;
}

.dropdown-container {
    max-width: 100%;
    width: 300px;
    box-sizing: border-box;
    overflow-x: auto;
    margin: 0 auto;
}

/* PROPIEDADES DESTACADAS  */

.propiedades {
    margin-top: 2rem;
}

.propiedades h2 {
    font-family: "Poppins", sans-serif;
}

.card-propiedades {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);

    background: white;
    transition: box-shadow 0.3s ease-in-out;
}

.card-propiedades:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.texto-propiedades {
    display: flex;
    flex-direction: column;
}

.texto-propiedades .titulo-vivienda {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    color: black;
    text-overflow: ellipsis;

    min-height: 39px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.card-propiedades .direccion .direccion-vivienda {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 100;
}

.swiper-pagination-bullet {
    background-color: #000 !important;
    opacity: 1;
    margin-top: 40px;
}

.swiper-pagination-bullet-active {
    background-color: #000 !important;

}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet .texto-definicion {
    height: 15px;
    width: 15px;
}

.texto-definicion {
    padding-top: 89px;
}

.texto-definicion h3 {
    color: var(--color-texto-blanco);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: normal;

}

.texto-definicion p {
    color: #FFFFFF99;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    letter-spacing: 4%;
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.texto-transicion {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 100px;
    color: #FFFFFF66;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 100%;
    margin-top: 25px;
    margin-bottom: 69px;
    padding: 0;

}

.texto-transicion p {
    display: inline-block;
    animation: scrollText 10s linear infinite;

}


.img-cabecera img {
    width: 50px;
    height: auto;
    margin-bottom: 1rem;
}

.titulo-superpuesto {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.texto-superpuesto {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: #101010;
    line-height: 1.5;
}

.titulo-seleccion {
    padding-top: 50px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 30px;
    padding-left: 0;
}

.card-superpuesta {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 371px;
    min-height: 517px;
    margin-left: -70px;
    padding: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.5s ease;
    position: relative;
}

.texto-card {
    padding-top: 60px;
}

/* Orden descendente: primera tarjeta arriba */
.card-superpuesta:nth-child(1) {
    z-index: 4;
}

.card-superpuesta:nth-child(2) {
    z-index: 3;
}

.card-superpuesta:nth-child(3) {
    z-index: 2;
}

.card-superpuesta:nth-child(4) {
    z-index: 1;
}

.card-superpuesta:hover {
    transform: scale(1.05);
    z-index: 10 !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.historia {
    padding-top: 4rem;
}

.titulo-historia h3 {
    font-family: "Poppins", sans-serif;
    font-size: 30px;
    font-weight: 500;
    width: max-content;

}

.texto-nosotros {
    width: 100%;
    max-width: 35rem;

}

.texto-historia p {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 100;
    color: var(--color-gris-oscuro);
}

.texto-nosotros p {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    color: var(--color-texto-blanco);

}

.nosotros {
    border-radius: 20px;
    padding-top: 70px !important;
}

.contacto a {
    font-size: 18px;
    font-weight: 600;
}

.contacto .visitanos {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 500;
    border: 2px solid #F3FAFA;
    padding-left: 2px;
    padding-right: 2px;
}

.politicas a,
.texto-footer a {
    color: #F3FAFA;
    text-decoration: none;
}

footer {
    background-color: #101010;
}


.dropdown-item.active,
.dropdown-item:active {
    background-color: transparent !important;
}

.nav-item-idioma .nav-link-idioma {
    text-decoration: none;
}

.navbar-toggler {
    border: none !important;
}

.historia {
    gap: 60px;
}

.contenido-nosotros {
    display: flex;
    height: 100%;
    align-items: center;

}

.tarjetas-stack {
    max-width: 400px;
    margin: auto;
    display: block;
}

.tarjeta-stack {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: -20px;
    padding: 20px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s ease;
}

.tarjeta-stack h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 0;
}

.tarjeta-stack .icono img {
    width: 50px;
}

.tarjeta-stack .descripcion {
    margin-top: 15px;
    display: none;
    font-size: 0.95rem;
}

.tarjeta-stack.active {
    z-index: 10;
    margin-top: 0;
    transform: scale(1.01);
}

.tarjeta-stack.active .descripcion {
    display: block;
}



@media (max-width: 992px) {
    .texto-definicion {
        flex-direction: column;
    }

    .texto-definicion h3 {
        width: 100% !important;
    }

    .texto-nosotros p {
        font-size: 18px;
    }

    .historia {
        gap: 0;
        padding-top: 0;
    }

    .texto-nosotros {
        max-width: 100% !important;
        text-align: end !important;

    }

    .nosotros {
        border-radius: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .contenido-nosotros {
        align-items: end;
        background: rgba(0, 0, 0, 0.1);

    }

    .tarjetas-stack {
        display: inline;
    }

    .tarjetas-servicios {
        display: none;
    }

    .cuadro-busqueda .btn-precio {
        width: 200px;
    }

    .texto-transicion {
        margin: 0;
    }

    .lista-footer li:nth-child(4)::after {
        content: "";
    }

}

@media (max-width: 768px) {
    .logotipo img {
        width: 189px !important;
    }

    .titulo-cabecera h2 {
        font-size: 22px;
    }

    .historia {
        gap: 0 !important;
        margin: 0 !important;
    }

    .texto-historia p {
        font-size: 16px;
    }

    .texto-nosotros p {
        font-size: 14px;

    }

    .texto-transicion {
        height: 15rem;
        padding-bottom: 6rem;
        margin-top: 0;
    }

    .nosotros {
        margin: 0 !important;
        width: 100% !important;
        border-radius: 0 !important;
        min-height: 327px !important;
    }

    .contenido-nosotros {
        background: rgba(0, 0, 0, 0.3);

    }

    .btn-precio {
        width: 200px !important;
    }

    .limitadores {
        flex-direction: column;
    }

    .cuadro-busqueda {
        flex-direction: column;
        align-content: center;

    }

    .lista-footer li:nth-child(2)::after {
        content: "";
    }

    .lista-footer li:nth-child(4)::after {
        content: "";
    }


}

.navbar span {
    justify-content: center;
}

.footer-bottom a,
.footer-bottom p {
    font-size: 14px;
}

/* Fondo negro para el offcanvas */
.custom-offcanvas {
    background-color: #101010;
    height: 100vh;
}

/* Botón de menú estilo hamburguesa y cerrar */
.btn-menu,
.btn-close-white {
    background: none;
    border: none;
    padding: 0;
}

.menu-icon {
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: black;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: black;
    left: 0;
}

.menu-icon::before {
    top: -7px;
}

.menu-icon::after {
    top: 7px;
}

.close-icon {
    background-color: black;
}

.close-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.close-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

.close-icon {
    background-color: transparent;
}

/* Evitar doble fondo en botones */
.btn-outline-light {
    color: black;
    border-color: black;
}

.btn-outline-light:hover {
    background-color: black;
    color: black;
}

/* Estilo del botón hamburguesa */
.toggle-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1051;
    /* Asegura que quede por encima del offcanvas */
}

.hamburger {
    width: 24px;
    height: 19px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    background-color: white;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}

/* Estado activo (cuando el offcanvas está abierto) */
.hamburger.active span:nth-child(1) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    opacity: 0;
}

.btn-buscador::placeholder {
    color: var(--color-texto-blanco);

}

.nav-item-idioma .dropdown-menu[data-bs-popper] {
    left: -120px !important;
}



.lista-footer li {
    position: relative;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.lista-footer li a {
    text-decoration: none;
    color: var(--color-texto-blanco);

}


.lista-footer li::after {
    content: "•";
    padding-left: 1rem;
    color: var(--color-texto-blanco);
    font-size: 30px;
    line-height: 21px;
}


.lista-footer li:last-child::after {
    content: "";
}


.select2-container--default .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: white !important
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important
}

.modulo-extra .form-control {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: white !important;
    max-height: 28px;
}

.modulo-extra .form-control::placeholder {
    color: white !important;
}

.navegador.text-black * {
    color: black !important;
}

.navegador .text-black .dropdown-menu .nav-link {
    color: white !important;
}

.navegador .header .text-black .dropdown-menu .nav-link {
    color: black !important;
}

.vendida {
    position: absolute;
    top: 0;
    background-color: rgba(16, 16, 16, 0.6);
    color: white;
    z-index: 1;
    width: 100%;
    text-align: center;
    padding: 10px;
}

.navegador .nav-link {
    text-transform: uppercase;
}

.parrafo-equipo {
    font-size: 16px !important;
}

.page-link {
    color: black !important
}

.foto-propiedades .carousel-control-next-icon:after,
.foto-propiedades .carousel-control-prev-icon:after  {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;
    padding: 0;
    font-size: 32px;
    text-align: center;
    background: 0 0;
    filter: var(--bs-carousel-control-icon-filter);

}
.inp-check{
    background:transparent;
    height: initial;
    border:0
}.modal.show {
  z-index: 1055 !important;
}
.modal-backdrop.show {
  z-index: 1050;
}
@media(max-width:992px) {
    .cuadro-busqueda .dropdown span {
        width: 100% !important;

    }

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        left: initial !important;
        right: 10px !important
    }
}