/* ========================================
   ESTILOS LANDING PAGE - BÚSQUEDA DE PROPIEDADES
   ======================================== */

/* RESET Y CONFIGURACIÓN BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ========================================
   LANDING PAGE
   ======================================== */

.landing-page {
    min-height: 100vh;
}

/* HEADER LANDING */
.encabezado-landing {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.Viive{
    display: flex;
    width: 138px;
    height: 56px;
}
.contenedor-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
}

.logo-landing a {
    text-decoration: none;
    color: #667eea;
}

.logo-landing h1 {
    font-size: 2rem;
    font-weight: 700;
}

.menu-landing {
    display: flex;
    gap: 30px;
}

/* MENÚ HAMBURGUESA - OCULTO POR DEFECTO EN DESKTOP */
.menu-hamburguesa {
    display: none;
}

.enlace-nav {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 25px;
}

.enlace-nav:hover {
    background-color: #f0f0f0;
    color: #667eea;
}

.enlace-activo {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: #f0f0f0;
}

/* DROPDOWN HERRAMIENTAS */
.dropdown-herramientas {
    position: relative;
    display: flex;
    align-items: center;
}

.btn-herramientas {
    background: transparent;
    border: none;
    font: inherit;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-herramientas i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.dropdown-herramientas.abierto .btn-herramientas i {
    transform: rotate(180deg);
}

.dropdown-herramientas.dropdown-activo .btn-herramientas {
    background: rgba(102, 126, 234, 0.12);
    color: #667eea;
}

.menu-desplegable-herramientas {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 30, 67, 0.12);
    padding: 12px;
    display: none;
    min-width: 230px;
    flex-direction: column;
    gap: 8px;
    z-index: 1200;
}

.dropdown-herramientas.abierto .menu-desplegable-herramientas {
    display: flex;
}

.menu-desplegable-herramientas .item-herramienta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    color: #1a202c;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

.menu-desplegable-herramientas .item-herramienta i {
    color: inherit;
}

.menu-desplegable-herramientas .item-herramienta:hover {
    background: rgba(102, 126, 234, 0.12);
    color: #667eea;
}

.menu-desplegable-herramientas .item-herramienta.activo {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
}

@media (max-width: 917px) {
    .dropdown-herramientas {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-herramientas {
        width: 100%;
        justify-content: space-between;
    }

    .menu-desplegable-herramientas {
        position: static;
        box-shadow: none;
        padding: 10px 0;
        background: transparent;
        gap: 10px;
    }

    .dropdown-herramientas.abierto .menu-desplegable-herramientas {
        display: flex;
    }

    .menu-desplegable-herramientas .item-herramienta {
        background: rgba(248, 250, 252, 0.95);
        color: #1a202c;
    }

    .menu-desplegable-herramientas .item-herramienta:hover {
        background: rgba(102, 126, 234, 0.15);
        color: #667eea;
    }
}

/* HERO SECTION DE BÚSQUEDA */
.hero-busqueda {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.contenedor-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.contenido-hero-busqueda {
    max-width: 1000px;
    margin: 0 auto;
}

.titulo-hero-busqueda {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.texto-destacado {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitulo-hero-busqueda {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
    line-height: 1.6;
}

/* FORMULARIO DE BÚSQUEDA PRINCIPAL */
.formulario-busqueda-principal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fila-filtros-principal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
}

.grupo-filtro-principal {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.grupo-filtro-principal label {
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    text-align: left;
}

.grupo-filtro-principal input,
.grupo-filtro-principal select {
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
}

.grupo-filtro-principal input:focus,
.grupo-filtro-principal select:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.boton-buscar-principal {
    background: #ffd700;
    color: #333;
    padding: 15px 30px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    width: 100%;
}

.boton-buscar-principal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* SECCIÓN DE ESTADÍSTICAS RÁPIDAS */
.seccion-estadisticas-rapidas {
    background: white;
    padding: 80px 0;
}

.contenedor-estadisticas {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
}

.estadistica-rapida {
    text-align: center;
}

.numero-estadistica {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #667eea;
}

.texto-estadistica {
    font-size: 1.1rem;
    color: #666;
}

/* SECCIÓN DE PROPIEDADES DESTACADAS */
.seccion-propiedades-destacadas {
    padding: 100px 0;
    background: #f8f9fa;
}

.contenedor-propiedades {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.titulo-seccion {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.subtitulo-seccion {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.grid-propiedades-destacadas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.tarjeta-propiedad-destacada {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.imagen-propiedad-destacada {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    position: relative;
    overflow: hidden;
}

.imagen-propiedad-destacada::before {
    content: '🏠';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.3;
}

.badge-destacada {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd700;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.info-propiedad-destacada {
    padding: 25px;
}

.info-propiedad-destacada h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.precio-propiedad-destacada {
    color: #25d366;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.detalles-propiedad-destacada {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.ubicacion-propiedad-destacada {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.botones-propiedad-destacada {
    display: flex;
    gap: 10px;
}

.boton-ver-propiedad {
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.boton-ver-propiedad:hover {
    background: #5a6fd8;
}

.boton-contactar-propiedad {
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.boton-contactar-propiedad:hover {
    background: #1ea952;
}

.boton-ver-mas {
    text-align: center;
}

.boton-ver-todas-propiedades {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.boton-ver-todas-propiedades:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* SECCIÓN DE SERVICIOS ADICIONALES */
.seccion-servicios-adicionales {
    padding: 100px 0;
    background: white;
}

.contenedor-servicios {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.grid-servicios-adicionales {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tarjeta-servicio-adicional {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.icono-servicio-adicional {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.tarjeta-servicio-adicional h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.tarjeta-servicio-adicional p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.boton-servicio-adicional {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.boton-servicio-adicional:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* SECCIÓN DE TESTIMONIALES */
.seccion-testimoniales {
    padding: 100px 0;
    background: #f8f9fa;
}

.contenedor-testimoniales {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.grid-testimoniales {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tarjeta-testimonial {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tarjeta-testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.estrellas-testimonial {
    margin-bottom: 20px;
    color: #ffd700;
    font-size: 1.2rem;
}

.texto-testimonial {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.autor-testimonial {
    display: flex;
    align-items: center;
    gap: 15px;
}

.foto-autor {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
}

.info-autor h4 {
    color: #333;
    margin-bottom: 5px;
}

.info-autor span {
    color: #666;
    font-size: 0.9rem;
}

/* SECCIÓN DE CONTACTO RÁPIDO */
.seccion-contacto-rapido {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.contenedor-contacto {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.titulo-contacto {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.texto-contacto {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.botones-contacto-rapido {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.boton-whatsapp-contacto {
    background: #25d366;
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.boton-whatsapp-contacto:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.boton-contacto-web {
    background: white;
    color: #667eea;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.boton-contacto-web:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* FOOTER */
.pie-pagina {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.contenedor-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.info-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.logo-footer h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffd700;
}

.logo-footer p {
    color: #ccc;
}

.contacto-footer h4,
.servicios-footer h4 {
    margin-bottom: 15px;
    color: #ffd700;
}

.contacto-footer p,
.servicios-footer p {
    margin-bottom: 8px;
    color: #ccc;
}

.derechos-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* CELULAR: 0px a 420px */
@media (max-width: 420px) {
    .contenedor-header,
    .contenedor-hero,
    .contenedor-estadisticas,
    .contenedor-propiedades,
    .contenedor-servicios,
    .contenedor-testimoniales,
    .contenedor-contacto,
    .contenedor-footer {
        padding: 0 10px;
        width: 100%;
    }
    
    .Viive{
        width: 100px;
        height: 46px;
    }
    .titulo-hero-busqueda {
        font-size: 2rem;
        width: 100%;
    }
    
    .titulo-seccion {
        font-size: 1.8rem;
        width: 100%;
    }
    
    .fila-filtros-principal {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .contenedor-estadisticas {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    
    .grid-propiedades-destacadas {
        width: 100%;
    }
    
    .grid-servicios-adicionales {
        width: 100%;
    }
    
    .grid-testimoniales {
        width: 100%;
    }
    
    .botones-contacto-rapido {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .info-footer {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .menu-landing {
        display: none;
    }
    
    /* MENÚ HAMBURGUESA PARA MÓVIL - VISIBLE */
    .menu-hamburguesa {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 35px;
        height: 35px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
        position: relative;
        border-radius: 6px;
        transition: background-color 0.3s ease;
    }
    
    .menu-hamburguesa:hover {
        background-color: rgba(102, 126, 234, 0.1);
    }
    
    .linea-hamburguesa {
        width: 25px;
        height: 3px;
        background: #667eea;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
        display: block;
    }
    
    .menu-hamburguesa.menu-activo .linea-hamburguesa:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-hamburguesa.menu-activo .linea-hamburguesa:nth-child(2) {
        opacity: 0;
    }
    
    .menu-hamburguesa.menu-activo .linea-hamburguesa:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* MENÚ LANDING EN MÓVIL - COMPLETAMENTE OCULTO */
    .menu-landing {
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 50px 30px !important;
        gap: 25px !important;
        transition: left 0.3s ease !important;
        z-index: 1000 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
        display: none !important;
        overflow-y: auto !important;
    }
    
    .menu-landing.menu-abierto {
        display: flex !important;
        left: 0 !important;
    }
    
    .menu-landing a {
        font-size: 1.2rem !important;
        padding: 15px 30px !important;
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        border-radius: 15px !important;
        background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
        transition: all 0.3s ease !important;
    }
    
    .menu-landing a:hover {
        background: linear-gradient(135deg, #667eea, #764ba2) !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    }
    
    .menu-landing .enlace-activo {
        background: linear-gradient(135deg, #667eea, #764ba2) !important;
        color: white !important;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    }
    
    /* Dropdown de herramientas en móvil */
    .menu-landing .dropdown-herramientas {
        width: 100% !important;
        max-width: 300px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .menu-landing .btn-herramientas {
        width: 100% !important;
        padding: 15px 30px !important;
        font-size: 1.2rem !important;
        border-radius: 15px !important;
        background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    }
    
    .menu-landing .menu-desplegable-herramientas {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        margin-top: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .menu-landing .item-herramienta {
        padding: 12px 20px !important;
        font-size: 1rem !important;
        border-radius: 10px !important;
        background: rgba(102, 126, 234, 0.1) !important;
    }
}

/* TABLET: 421px a 917px */
@media (min-width: 421px) and (max-width: 917px) {
    .contenedor-header,
    .contenedor-hero,
    .contenedor-estadisticas,
    .contenedor-propiedades,
    .contenedor-servicios,
    .contenedor-testimoniales,
    .contenedor-contacto,
    .contenedor-footer {
        padding: 0 20px;
        width: 100%;
    }
    
    .titulo-hero-busqueda {
        font-size: 2.5rem;
        width: 100%;
    }
    
    .titulo-seccion {
        font-size: 2rem;
        width: 100%;
    }
    
    .fila-filtros-principal {
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    
    .contenedor-estadisticas {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    
    .grid-propiedades-destacadas {
        width: 100%;
    }
    
    .grid-servicios-adicionales {
        width: 100%;
    }
    
    .grid-testimoniales {
        width: 100%;
    }
    
    .info-footer {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    
    .menu-landing {
        display: flex;
        gap: 20px;
    }
    
    /* MENÚ HAMBURGUESA PARA TABLET - VISIBLE */
    .menu-hamburguesa {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 6px;
        z-index: 1001;
        position: relative;
        border-radius: 6px;
        transition: background-color 0.3s ease;
    }
    
    .menu-hamburguesa:hover {
        background-color: rgba(102, 126, 234, 0.1);
    }
    
    .linea-hamburguesa {
        width: 28px;
        height: 3px;
        background: #667eea;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
        display: block;
    }
    
    .menu-hamburguesa.menu-activo .linea-hamburguesa:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-hamburguesa.menu-activo .linea-hamburguesa:nth-child(2) {
        opacity: 0;
    }
    
    .menu-hamburguesa.menu-activo .linea-hamburguesa:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* MENÚ LANDING EN TABLET - OCULTO */
    .menu-landing {
        position: fixed !important;
        top: 80px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 80px) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 50px 30px !important;
        gap: 35px !important;
        transition: left 0.3s ease !important;
        z-index: 1000 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
        display: none !important;
        overflow-y: auto !important;
    }
    
    .menu-landing.menu-abierto {
        display: flex !important;
        left: 0 !important;
    }
    
    .menu-landing a {
        font-size: 1.3rem !important;
        padding: 18px 35px !important;
        width: 100% !important;
        max-width: 350px !important;
        text-align: center !important;
        border-radius: 15px !important;
        background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
        transition: all 0.3s ease !important;
    }
    
    .menu-landing a:hover {
        background: linear-gradient(135deg, #667eea, #764ba2) !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    }
    
    .menu-landing .enlace-activo {
        background: linear-gradient(135deg, #667eea, #764ba2) !important;
        color: white !important;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    }
    
    /* Dropdown de herramientas en tablet */
    .menu-landing .dropdown-herramientas {
        width: 100% !important;
        max-width: 350px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .menu-landing .btn-herramientas {
        width: 100% !important;
        padding: 18px 35px !important;
        font-size: 1.3rem !important;
        border-radius: 15px !important;
        background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    }
    
    .menu-landing .menu-desplegable-herramientas {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        margin-top: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .menu-landing .item-herramienta {
        padding: 15px 25px !important;
        font-size: 1.1rem !important;
        border-radius: 10px !important;
        background: rgba(102, 126, 234, 0.1) !important;
    }
}

/* DESKTOP: 918px en adelante */
@media (min-width: 918px) {
    .contenedor-header,
    .contenedor-hero,
    .contenedor-estadisticas,
    .contenedor-propiedades,
    .contenedor-servicios,
    .contenedor-testimoniales,
    .contenedor-contacto,
    .contenedor-footer {
        padding: 0 20px;
        width: 100%;
        max-width: 1200px;
    }
    
    .titulo-hero-busqueda {
        font-size: 3.5rem;
        width: 100%;
    }
    
    .titulo-seccion {
        font-size: 2.5rem;
        width: 100%;
    }
    
    .fila-filtros-principal {
        grid-template-columns: 2fr 1fr 1fr auto;
        width: 100%;
    }
    
    .contenedor-estadisticas {
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
    }
    
    .grid-propiedades-destacadas {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    
    .grid-servicios-adicionales {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    
    .grid-testimoniales {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    
    .info-footer {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    
    .menu-landing {
        display: flex;
        gap: 30px;
    }
    
    /* MENÚ HAMBURGUESA - OCULTO EN DESKTOP */
    .menu-hamburguesa {
        display: none !important;
    }

    .contenido-hero-busqueda {
        width: 80%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .formulario-busqueda-principal {
        width: 67%;
    }
}

/* ========================================
   BOTÓN Y MODAL DE FILTROS AVANZADOS CON IA
   ======================================== */

.boton-filtros-avanzados-container {
    text-align: center;
    margin-top: 30px;
}

.boton-filtros-avanzados {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.boton-filtros-avanzados:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.texto-filtros-avanzados {
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.texto-filtros-avanzados i {
    color: #667eea;
}

/* Modal de Filtros Avanzados */
.modal-filtros-avanzados {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content-filtros {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease;
}

.modal-header-filtros {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 20px 20px 0 0;
    text-align: center;
    position: relative;
}

.modal-header-filtros h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.btn-cerrar-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-cerrar-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body-filtros {
    padding: 30px;
}

.info-filtros-ia {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.icono-ia {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
}

.info-filtros-ia h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.3rem;
}

.info-filtros-ia p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.beneficios-filtros-ia {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.beneficio-ia {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #555;
}

.beneficio-ia i {
    color: #667eea;
    font-size: 1.1rem;
}

.requisito-login {
    text-align: center;
    padding: 25px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    background: #fff;
}

.icono-login {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 15px;
}

.requisito-login h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
}

.requisito-login p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.opciones-login {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-login-principal,
.btn-registro-secundario {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login-principal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-login-principal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
}

.btn-registro-secundario {
    background: #28a745;
    color: white;
}

.btn-registro-secundario:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}

.texto-beneficio-login {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.texto-beneficio-login i {
    color: #667eea;
}

.modal-footer-filtros {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    text-align: center;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
}

.btn-cancelar-filtros {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.btn-cancelar-filtros:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .beneficios-filtros-ia {
        grid-template-columns: 1fr;
    }
    
    .opciones-login {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content-filtros {
        width: 95%;
        margin: 20px;
    }
    
    .modal-body-filtros {
        padding: 20px;
    }
}

/* ========================================
   ESTILOS MAPA INTERACTIVO - GOOGLE MAPS
   ======================================== */

.seccion-mapa-interactivo {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.seccion-mapa-interactivo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.contenedor-mapa {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.header-mapa .titulo-seccion {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header-mapa .subtitulo-seccion {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.controles-mapa {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.boton-control-mapa {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.boton-control-mapa:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.boton-control-mapa:active {
    transform: translateY(0);
}

.boton-control-mapa i {
    font-size: 1rem;
}

.selector-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.selector-radio label {
    color: #667eea;
    font-weight: 600;
    font-size: 0.95rem;
}

.selector-radio select {
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
    background: white;
}

.selector-radio select:focus {
    outline: none;
    border-color: #667eea;
}

.mapa-propiedades {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background: #e0e0e0;
    position: relative;
}

.mapa-propiedades::before {
    content: 'Cargando mapa...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 0;
}

.info-mapa {
    margin-top: 20px;
    text-align: center;
}

.texto-info-mapa {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.texto-info-mapa i {
    font-size: 1rem;
}

/* Responsive para el mapa */
@media (max-width: 768px) {
    .seccion-mapa-interactivo {
        padding: 50px 15px;
    }
    
    .header-mapa .titulo-seccion {
        font-size: 2rem;
    }
    
    .header-mapa .subtitulo-seccion {
        font-size: 1rem;
    }
    
    .controles-mapa {
        flex-direction: column;
        gap: 10px;
    }
    
    .boton-control-mapa {
        width: 100%;
        justify-content: center;
    }
    
    .selector-radio {
        width: 100%;
        justify-content: center;
    }
    
    .mapa-propiedades {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .mapa-propiedades {
        height: 350px;
    }
    
    .header-mapa .titulo-seccion {
        font-size: 1.5rem;
    }
}