:root {
    --primary-color: #2563eb;
    --secondary-color: #0f172a;
    --accent-color: #38bdf8;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 30px 60px rgba(37, 99, 235, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;700&family=Prompt:wght@300;400;600;700&family=Outfit:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgb(5 9 67 / 60%);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards ease-out;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    background-color: var(--white);
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

/* H E A D E R */

.container header .nav-responsive {
    display: none;
    font-size: 25px;
}

.container header nav.responsive {
    max-width: 100%;
    display: block;
    position: absolute;
    top: 98px;
    background: linear-gradient(to right, #000000, #000000);
    left: 0;
    z-index: 1000;
}

.container header nav.responsive a {
    display: block;
    width: 100%;
    text-align: center;
    margin: 15px 0;
}

.contenedor-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    /* Mas opaco por defecto */
    transition: var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.home .contenedor-header {
    background: rgba(15, 23, 42, 0.4);
    /* Transparente solo en home */
}

.contenedor-header .logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--white);
}

.logo-img {
    width: 65px;
    height: auto;
    transition: var(--transition-smooth);
    object-fit: contain;
}

.contenedor-header .logo a:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-brand {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Estilos responsivos para pantallas pequeñas */
@media only screen and (max-width: 600px) {
    .logo img {
        max-width: 80px;
        /* Disminuye el tamaño del logo en pantallas pequeñas */
    }

    .logo p {
        font-size: 14px;
        /* Ajusta el tamaño del texto en pantallas más pequeñas */
    }
}

.contenedor-header .logo,
.contenedor-header nav,
.contenedor-header .info-contacto {
    max-width: 360px;
}

.contenedor-header .logo-brand {
    color: var(--white);
    font-size: 1.3rem;
}

.contenedor-header .logo-tagline {
    color: var(--primary-color);
}

.contenedor-header nav {
    display: flex;
    justify-content: space-evenly;
    white-space: nowrap;
}

.contenedor-header .info-contacto {
    text-align: right;
}

.contenedor-header .info-contacto a {
    text-decoration: none;
}

.contenedor-header .info-contacto a {
    color: #fff;
    padding: 5px;
    transition: .5s;
}

.contenedor-header .info-contacto a:hover {
    background-color: #9c7e45;
    font-size: 14px;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    transition: .5s;
    border-radius: 50px;
}

.contenedor-header .info-contacto span {
    margin-left: 10px;
}

.contenedor-header header {
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.contenedor-header nav {
    display: flex;
    gap: 10px;
}

.contenedor-header nav a {
    font-size: 0.8rem;
    padding: 10px 22px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
    border-radius: 50px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
}

.contenedor-header nav a:hover,
nav a.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}


.whatsappmobile {
    display: inline;
}

.whatsappdesktop {
    display: none;
}

@media (min-width: 767.98px) {
    .whatsappmobile {
        display: none;
    }

    .whatsappdesktop {
        display: inline;
    }
}




/* H O M E */

.home {
    background-color: #f8f9fa;
    width: 100%;
}

.hero-section {
    min-height: 85vh;
    /* Responsive height */
    padding-top: 100px;
    /* Space for the floating header */
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.3)), url(../img/fondo.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    border-radius: 0 0 60px 60px;
    margin-bottom: -100px;
    position: relative;
}

.hero-small {
    min-height: 50vh;
    padding-top: 120px;
    margin-bottom: -50px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* BUTTONS */
.btn-primary,
.btn-secondary,
.btn-search {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* SEARCH SECTION */
.search-section {
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.search-internal {
    margin-top: -20px;
}

.search-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 30px;
    background: rgb(255 255 255);
}

.search-header {
    text-align: center;
    margin-bottom: 30px;
}

.search-header h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.search-header p {
    color: var(--text-light);
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group select {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: var(--white);
    color: var(--text-dark);
}

.radio-group {
    display: flex;
    gap: 15px;
    padding: 10px 0;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-search {
    background: var(--secondary-color);
    color: var(--white);
    width: 100%;
    justify-content: center;
}

.btn-search:hover {
    background: var(--primary-color);
}

/* SECTION UTILS */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* PROPERTY GRID */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 380px));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
}

/* Property cards for homepage (grid layout) */
.contenedor-propiedad {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.contenedor-propiedad:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contenedor-propiedad .contenedor-img {
    width: 100%;
    position: relative;
}

.contenedor-propiedad .contenedor-img .estado {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #fb0c00;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(251, 12, 0, 0.3);
}

.contenedor-propiedad .contenedor-img img {
    object-fit: cover;
    width: 100%;
    height: 280px;
}

.contenedor-propiedad .info {
    padding: 20px;
}

.contenedor-propiedad .info h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contenedor-propiedad .info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.contenedor-propiedad .info p i {
    color: var(--primary-color);
    margin-right: 8px;
}

.contenedor-propiedad .property-features {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.contenedor-propiedad .property-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contenedor-propiedad .precio {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* contenido video texto etc*/

/* Estilos para el contenedor principal */
.contenido {
    max-width: 1200px;
    margin: auto;
    /* display: flex; */
    align-items: center;
    /* Centrar verticalmente los elementos */
    background-color: rgba(255, 255, 255, 0.178);
    /* Fondo blanco semitransparente */
    margin: 0 auto;
    /* Ancho máximo del contenedor */
    padding: 20px;
    /* Espacio interior */
    border-radius: 25px;
    box-shadow: 0px 0px 0px 8px rgba(255, 255, 255, 0.2);
}

/* Estilos para el video (manteniendo tus estilos existentes) */
.media__cover {
    width: 50%;
    max-height: 550px;
}

.media__cover video {
    width: 100%;
    max-height: 550px;
    object-fit: contain;
    /* El video se ajustará dentro del contenedor sin recortar */
}

/* Estilos para el texto */
.texto {
    font-size: 24px;
    width: 100%;
    /* Ocupará el otro 50% del ancho */
    display: flex;
    justify-content: center;
    /* Centrar horizontalmente el contenido */
    align-items: center;

}

.texto1 {
    font-size: 24px;
    width: 100%;
    /* Ocupará el otro 50% del ancho */
    /*     display: flex;
    justify-content: center; */
    /* Centrar horizontalmente el contenido */
    align-items: center;
    padding: 100px 10px;
    color: white;
}

/* Estilos para el texto */
.texto2 {
    text-align: center;
    color: #3e4452;
    font-size: 18px;
}

.texto2 p {
    font-size: 12px;
    margin: 10px;
}

.contactonuevo {
    text-align: center;
    color: #ffffff;
    font-size: 18px;

    /* Centrar el texto */
}

.contactonuevo p {
    font-size: 12px;
    margin: 10px;
}

/* Ajustes responsivos para pantallas más pequeñas */
@media (max-width: 768px) {
    .contenido {
        flex-direction: column;
    }

    .media__cover,
    .texto {
        width: 100%;
    }
}

/* quienes somos */
.foto-quienes-somos img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    /* Bordes redondeados para darle un mejor acabado */
    padding: 10px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra para que resalte más */
}

.texto {
    flex: 1;
}

.texto h2 {
    color: #333;
    /* Color del título */
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
}

.texto p,
.texto ul li {
    color: #555;
    /* Color del texto */
    font-size: 14px;
    line-height: 1.6;
    /* Espaciado entre líneas */
}

.texto ul {
    padding-left: 20px;
    /* Aumenta la indentación de las listas */
}

.texto ul li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .contenido {
        flex-direction: column;
        align-items: center;
    }

    .foto-quienes-somos {
        margin-bottom: 20px;
    }
}

/* fin quienes somos */


/* nosotras */
.contenido-nosotras {
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    padding: 20px;
}

.foto-nosotras {
    flex: 1 1 45%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    /* Bordes redondeados para darle un mejor acabado */
    padding: 10px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra para que resalte más */
}

.foto-nosotras img {
    width: 100%;
    max-width: 100%;
}

.texto-nosotras {
    flex: 1 1 50%;
    align-items: center;
    text-align: center;
}

.texto-nosotras h2 {
    color: #333;
    /* Color del título */
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
}


/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    .contenido-nosotras {
        flex-direction: column;
    }

    .foto-nosotras,
    .texto {
        flex: 1 1 100%;
        padding: 0;
    }

    .texto-nosotras {
        margin-bottom: 20px;
    }
}

/* fin noosotras */
/* P R O P I E D A D E S */

.page-propiedades .contenedor-propiedades {
    max-width: 1200px;
    margin: auto;
}

.page-propiedades .titulo-seccion {
    text-align: center;
    color: #444;
}

.page-propiedades .fila {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
}

.page-propiedades .contenedor-propiedad {
    width: 380px;
    margin: 0 10px;
    background-color: #fff;
    box-shadow: 2px 2px 3px #424242;
    padding-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.page-propiedades .contenedor-propiedad:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.page-propiedades .contenedor-propiedad .contenedor-img {
    width: 100%;
    position: relative;
}

.page-propiedades .contenedor-propiedad .contenedor-img .estado {
    width: 100%;
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #fb0c00;
    width: auto;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

.page-propiedades .contenedor-propiedad .contenedor-img img {
    object-fit: cover;
    width: 100%;
    height: 350px;
    border-radius: 15px;
}

.page-propiedades .contenedor-propiedad .info {
    padding: 0 10px;
}

.page-propiedades .contenedor-propiedad h2 {
    font-size: 16px;
    margin: 10px 0;
}

.page-propiedades .contenedor-propiedad p {
    font-size: 14px;
    color: #4b4b4b;
}

.page-propiedades .contenedor-propiedad p i {
    color: #131313;
    margin-right: 10px;
}

.page-propiedades .contenedor-propiedad .precio {
    display: inline-block;
    font-size: 26px;
    color: #ff5d55;
    margin: 5px 0;
}

.page-propiedades .contenedor-propiedad table {
    width: 100%;
    font-size: 14px;
    text-align: left;
    margin: 10px 0;
}

.page-propiedades .contenedor-propiedad table td {
    color: #4b4b4b;
}

.page-propiedades #botonCargarMas {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 15px;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(to right, #83642a, #9b845a);
    color: #fff;
    border: 1px solid #c9c4c4;
    border-radius: 5px;
    cursor: pointer;
    transition: .5s;
    box-shadow: 2px 2px 3px #424242;
}

.page-propiedades #botonCargarMas:hover {
    background: linear-gradient(to right, #9b845a, #83642a);
    transform: scale(1.1);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);

}

/* P U B L I C A C I O N */

.page-publicacion .contenedor-principal {
    max-width: 1200px;
    margin: 120px auto 40px;
    /* Mas margen arriba para header fijo */
    display: flex;
    justify-content: space-between;
}

.page-publicacion .contenedor-principal .info-publicacion {
    width: 100%;
    max-width: 850px;
}

.page-publicacion .contenedor-principal .info-publicacion h2 {
    margin-bottom: 7px;
}

.page-publicacion .contenedor-principal .form-contacto {
    width: 100%;
    max-width: 300px;
}

.page-publicacion section {
    width: 100%;
    background-color: #fff;
    border: 1px solid #aaa;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 2px 2px 3px #424242;
}

.page-publicacion .info-publicacion .dato1 {
    display: flex;
    justify-content: space-between;
}

.page-publicacion .info-publicacion .dato1 .precio {
    display: inline-block;
    font-size: 26px;
    color: #ff5d55;
    margin: 5px 0;
    font-weight: bolder;
}

.page-publicacion .info-publicacion .dato1 .estado {
    display: inline-block;
    background-color: #ff0400;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    text-transform: capitalize;
}

.page-publicacion .info-publicacion .contenedor-imagen-principal {
    width: 100%;
    margin-top: 15px;
}

.page-publicacion .info-publicacion .contenedor-imagen-principal img {
    width: 100%;
    border-radius: 15px;
}

.page-publicacion .info-publicacion .galeria {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.page-publicacion .info-publicacion .galeria img {
    width: 100%;
    max-width: 240px;
    object-fit: cover;
    height: 154px;
    margin-right: 10px;
    border-radius: 8px;
    cursor: pointer;
}

.page-publicacion .info-publicacion .descripcion .fila {
    display: flex;
    margin: 30px 0
}

.page-publicacion .info-publicacion .descripcion .fila .dato {
    width: 150px;
    border-left: 5px solid #ff5d55;
    padding-left: 5px;
}

.page-publicacion .info-publicacion .descripcion .fila .dato span {
    display: block;
}

.page-publicacion .info-publicacion .descripcion .fila .dato .header {
    font-size: 13px;
    font-weight: bold;
}

.page-publicacion .info-publicacion .descripcion .fila .dato .valor {
    font-size: 13px;
    color: #607d8b;
}

.page-publicacion .info-publicacion .descripcion .detalle {
    width: 100%;
    height: 100%;
}

.page-publicacion .form-contacto-publicacion {
    max-width: 320px;
    width: 100%;
    background-color: #fff;
    border: 1px solid #aaa;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    border-radius: 15px;
    box-shadow: 2px 2px 3px #424242;
}

.page-publicacion .form-contacto-publicacion h3 {
    margin-bottom: 10px;
}

.page-publicacion .form-contacto-publicacion label {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    color: #607d8b;
}

.page-publicacion .form-contacto-publicacion div {
    margin-bottom: 15px;
}

.page-publicacion .form-contacto-publicacion input,
.page-publicacion .form-contacto-publicacion textarea {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #8f8f8f75;
    border-radius: 7px;
}

.page-publicacion .compartir a {
    font-size: 24px;
    padding: 5px 0;
    display: inline-block;
    width: 50px;
    background-color: #ffffff;
    color: #25d366;
    text-decoration: none;
    text-align: center;
    margin-right: 20px;
    transition: .5s;
}

.page-publicacion .compartir a:hover {
    background-color: #25d366;
    color: #ffffff;
}

.page-publicacion .compartir a .fa-whatsapp {
    font-size: 30px;
}

.page-publicacion .compartir h3 {
    margin-bottom: 15px;
}

/* Ventana MODAL para las imagenes */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: hidden;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.8);
    /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

/* Modal Content/Box */

.modal-content {
    position: relative;
    color: #000;
    font-size: 16px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fefefe;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    max-width: 900px;
    width: 100%;
    /* Could be more or less, depending on screen size */
    text-align: center;
}

.modal-content #fotoModal {
    width: 100%;
}

.modal-content button {
    font-size: 18px;
    padding: 5px 10px;
}

.modal-content span i {
    font-size: 18px;
    padding: 5px 15px;
    margin: 0 10px;
    background-color: #424242;
    border-radius: 20px;
    color: #aaa;
    cursor: pointer;
}

.modal-content span i:hover {
    background-color: #000;
    color: fff;
}

/* The Close Button */

.close {
    color: #af0000;
    float: right;
    font-size: 28px;
    margin-top: -10px;
    font-weight: bold;
}

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

/* B U S Q U E D A */

.page-busqueda .contenedor-busqueda {
    max-width: 1200px;
    margin: 40px auto;
    background-color: #fff;
    border: 1px solid #aaa;
    padding: 0 15px;
}

.page-busqueda .contenedor-busqueda h3 {
    margin-top: 7px;
    font-size: 16px;
}

.page-busqueda .contenedor-busqueda h3 span {
    font-weight: normal;
    font-style: italic;
}

.page-busqueda .resultado {
    width: 100%;
    background-color: #eee;
    border-radius: 10px;
    box-shadow: 2px 2px 3px #424242;
    margin: 20px 0;
    display: flex;
    padding: 5px;
    cursor: pointer;
}

.page-busqueda .resultado .contenedor-imagen {
    width: 100%;
    max-width: 190px;
    margin-right: 10px;
}

.page-busqueda .resultado .contenedor-imagen img {
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
    height: 135px;
}

.page-busqueda .resultado .info {
    width: 100%;
}

.page-busqueda .resultado .info .titulo {
    font-size: 18px;
    font-weight: bold;
}

.page-busqueda .resultado .info .detalles {
    margin: 10px 0;
    display: flex;
    height: 50px;
}

.page-busqueda .resultado .info .detalles .dato1 {
    max-width: 140px;
    width: 100%;
    border-left: 2px solid #7e7e7e;
    padding-left: 3px;
}

.page-busqueda .resultado .info .detalles .dato1 span {
    display: block;

}

.page-busqueda .resultado .info .detalles .dato1 .header {
    font-weight: bold;
    display: block;
}

.page-busqueda .resultado .info .detalles .dato1 .header {
    font-weight: bold;
    color: #444;
    display: block;
    font-size: 14px;
}

.page-busqueda .resultado .info .detalles .dato1 .texto {
    font-size: 14px;

}

/* C O N T A C T O */

.page-contacto {
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
    display: flex;
    text-align: center;
    align-items: center;
    /* justify-content: space-around; */
    font-size: 14px;
}

.page-contacto .titulo-seccion {
    text-align: center;
    margin-top: 20px;
}

.page-contacto .contenedor-contacto .col {
    width: 30%;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);

}

.page-contacto .contenedor-contacto .info {
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-contacto .contenedor-contacto .mapa {
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-contacto .contenedor-contacto .info div {
    margin-bottom: 20px;
}

.page-contacto .formulario {
    padding: 15px;
}

.page-contacto .formulario h3 {
    margin-bottom: 10px;
}

.page-contacto .formulario label {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    color: #607d8b;
}

.page-contacto .formulario div {
    margin-bottom: 15px;
}

.page-contacto .formulario input,
.page-contacto .formulario textarea {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 15px;
    border: 1px solid rgb(58, 58, 58);
}

/* FOOTER */

footer {
    width: 100%;
    background-color: #0b2d3a;
    background-image: none;
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.division-en-tres {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.division-en-tres>div {
    padding: 0;
}

.alineacion-izquierda {
    text-align: left;
}

.titulo-footer {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.titulo-footer::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.division-en-tres .localizacion-footer .titulo-footer::after {
    left: 0;
}

.direccion-footer {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    /* Align icon to the top of multiline text */
}

.espaciado-icono {
    margin-right: 15px;
    /* Consistent spacing */
    margin-top: 4px;
    /* Vertical alignment with first line */
    color: var(--primary-color);
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
    /* Prevent icon from squashing */
}

.direccion-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-start;
}

.address-text {
    display: flex;
    flex-direction: column;
}

.street {
    display: block;
    line-height: 1.2;
}

.city-prov {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 4px;
}

.direccion-footer a:hover {
    color: var(--primary-color);
}

.localizacion-footer img {
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.localizacion-footer img:hover {
    transform: scale(1.02);
}

.copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.copyright .custom-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.copyright .custom-link:hover {
    text-decoration: underline;
}

.social-icons {
    list-style: none;
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1.2rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
}


input.error,
select.error {
    border: 2px solid red !important;
}

input.valid,
select.valid {
    border: 2px solid green !important;
}

.estado-error {
    border: 2px solid red !important;
}

.estado-valid {
    border: 2px solid #10b981 !important;
    /* Brighter, modern green for success */
}



/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 40px 40px;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CHOOSE US SECTION */
.choose-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.choose-us-text h2 span {
    color: var(--primary-color);
}

.benefit-list {
    list-style: none;
    margin-top: 30px;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.benefit-list li i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stat-item {
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PREMIUM CONTACT SECTION */
.container-contacto {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.8);
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item i {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.info-item p {
    color: var(--text-light);
}

.contact-form-premium {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-premium input,
.contact-form-premium textarea {
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid #ddd;
    background: var(--white);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.contact-form-premium input:focus,
.contact-form-premium textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

@media (max-width: 900px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .choose-us-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-section {
        border-radius: 0 0 30px 30px;
        height: 60vh;
    }
}

/* S E C C I O N P A R A M O V I L */
@media only screen and (max-width: 1000px) {
    .page-publicacion .contenedor-principal {
        max-width: 1200px;
        margin: 40px 0px;
        display: block;
    }

    .page-publicacion .contenedor-principal .info-publicacion {
        max-width: 100%;
    }

    .page-publicacion .info-publicacion .galeria img {
        width: 30%;
        object-fit: cover;
        height: 154px;
        margin-right: 5px;
        cursor: pointer;
    }

    .page-publicacion .form-contacto-publicacion {
        max-width: 100%;

    }

    .page-contacto .contenedor-contacto {
        max-width: 1200px;
        width: 100%;
        margin: 10px auto;
        display: block;
        padding: 10px;
    }

    .page-contacto .contenedor-contacto .col {
        width: 100%;
        margin-bottom: 20px;
    }

    .page-contacto .formulario input,
    .page-contacto .formulario textarea {
        display: block;
        width: 100%;
        padding: 10px;
    }

    footer.inferior2 {
        position: relative;
    }
}

@media only screen and (max-width: 900px) {
    .container header nav {
        display: none;
    }

    .container header .info .numero-telefono {
        display: none;
    }

    .container header .nav-responsive {
        display: block;
    }

    .home h2 {
        /*         padding: 40px; */
        font-size: 30px;
    }

    .home .box-buscar-propiedades {
        max-width: 350px;
        margin: 30px auto;
    }

    .home .pos-inferior {
        position: relative;

    }

    .home .box-interior {
        padding: 15px;

    }

    .home .box-buscar-propiedades .box-interior select,
    .home .box-buscar-propiedades .box-interior input[type=submit],
    .home .box-buscar-propiedades .box-interior .estado {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        margin-left: 0;
    }

    /* ESTILO PROPIEDADES */
    .page-propiedades .fila {
        display: block;
        margin: 25px 0;
    }

    .page-propiedades .contenedor-propiedad {
        max-width: 90%;
        margin: 20px auto;
    }

    .page-propiedades .box-buscar-propiedades .box-interior select,
    .page-propiedades .box-buscar-propiedades .box-interior input[type=submit],
    .page-propiedades .box-buscar-propiedades .box-interior .estado {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        margin-left: 0;
    }

    .page-propiedades .box-buscar-propiedades {
        margin: 0px;
    }

    .page-propiedades .box-buscar-propiedades p {
        font-size: 18px;
    }

    .page-propiedades .box-interior {
        padding: 15px;
    }

    .page-busqueda .box-buscar-propiedades .box-interior select,
    .page-busqueda .box-buscar-propiedades .box-interior input[type=submit],
    .page-busqueda .box-buscar-propiedades .box-interior .estado {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        margin-left: 0;
    }

    .page-busqueda #detalle-ocultar {
        display: none;
    }

    .page-busqueda span.titulo {
        font-size: 16px !important;
    }

    .page-busqueda p {
        font-size: 12px;
    }

    .link-footer {
        display: none;
    }
}

@media only screen and (max-width: 552px) {
    .page-publicacion .info-publicacion .descripcion .fila {
        display: block;
        margin: 0;
    }

    .page-publicacion .info-publicacion .descripcion .fila .dato {
        margin: 5px 0;
    }

    .page-publicacion .info-publicacion .descripcion .fila .dato .header {
        display: inline;
    }

    .page-publicacion .info-publicacion .descripcion .fila .dato .valor {
        display: inline;
    }



}

.info-help {
    padding: 10rem 0;
    background: white;
    background-size: cover;
    position: relative;
    z-index: 0 !important;
}

.contenedor-principal {
    position: relative;
    z-index: 1;
    margin-top: -260px;
    width: 100%;
    background: white;

}

.contenedor-secundario {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contenedor-terciario {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.contenedor-terciario h3 {
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 0;
    color: #252525;

}

.contenedor-terciario p {
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 0;
    color: #4b4b4b;
}


.contenedor-unico {
    max-width: 250px;
}

.caja {
    text-align: center;
    position: relative;
    padding: 25px 25px 40px;
    overflow: hidden;
}

.icon :hover {
    transform: scale(1.4);
    transition: transform 0.3s ease-in-out;
}

.whatsappmobile {
    display: inline;
}

.whatsappdesktop {
    display: none;
}

@media (min-width: 767.98px) {
    .whatsappmobile {
        display: none;
    }

    .whatsappdesktop {
        display: inline;
    }
}

#expand-icon {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: transform 0.5s ease-in-out;
    animation: scale-animation 1.5s infinite;
    position: fixed;
    bottom: 167px;
    /* Ajusta este valor según necesites */
    right: 50px;
    /* Ajusta este valor según necesites */
    z-index: 1000;
    /* Asegura que esté por encima de otros elementos */
}
