
.page-header h1 {
    margin: 0;
    font-size: 40px;
    font-family: 'LatoNegro';
    color:var(--grisoscuro);
}

.page-header .sub-header {
    
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-header .sub-header h2 {
    margin: 8px;
    font-size: 24px;
    font-weight: normal;
    color: #555;
    font-family: 'MonseMedio';
}

.page-header .menu-icon {
    font-size: 28px;
    cursor: pointer;
}
img {
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
        pointer-events: none;
    }
/* Este es el contenedor principal de la grilla.
   Era '.propiedad-destacada-contenedor.swiper'
   Ahora es solo el contenedor de nuestra grilla. */
.propiedad-destacada-grilla {
    display: grid;
    /* Columnas: 3 en desktop, 2 en tablet, 1 en móvil */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* Espacio entre tarjetas */
    
    /* Centrado y ancho máximo como tenías */
    max-width: 1400px;
    width: 85%;
    margin: 30px auto;
    padding: 30px 0;
}

/* =================================================================
   ESTILOS DE LA TARJETA (COPIADOS 1-A-1 DEL CARRUSEL)
   ================================================================= */

/* Esta era la regla '.propiedad-destacada-tarjeta.swiper-slide'.
   Le quitamos '.swiper-slide' para que se aplique siempre.
   El resto de propiedades son EXACTAMENTE las de tu carrusel. */
.propiedad-destacada-tarjeta {
    background-color: #FFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    height: auto; /* 'height: auto' es importante para la grilla */
    display: flex;
    flex-direction: column;
}

.propiedad-destacada-tarjeta:hover {
    transform: translateY(-5px);
}

/* --- ESTILOS INTERNOS DE LA TARJETA (COPIAR Y PEGAR) --- */
/* Todos estos estilos son idénticos a los de tu carrusel */

.propiedad-destacada-imagen-contenedor {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    flex-shrink: 0;
}

.propiedad-destacada-imagen-caja {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
}

.propiedad-destacada-imagen {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}

.propiedad-destacada-encabezado {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E0E0E0;
    flex-shrink: 0;
}

.propiedad-destacada-tipo {
    font-size: 24px;
    color: var(--grisoscuro)!important;
    white-space: nowrap;
    margin-right: 12px;
}

.propiedad-destacada-precio {
    font-size: 22px;
    border-bottom: 4px solid var(--grisoscuro, #333);
}

.propiedad-destacada-cuerpo {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Esto hace que el 'ver más' se vaya al fondo */
    gap: 10px;
}

.propiedad-destacada-titulo {
    color: var(--grisoscuro);
    font-size: 20px;
    font-weight: 500;
}

.propiedad-destacada-ubicacion {
    font-size: 1rem;
    color: #bebabf;
    padding-bottom: 15px;
    border-bottom: 1px solid #E0E0E0;
}

.propiedad-destacada-caracteristicas {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 3.5px;
    margin-bottom: 10px;
}

.propiedad-destacada-caracteristica {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bebabf;
}

.propiedad-destacada-icono {
    width: 28px;
    height: 28px;
}

.propiedad-destacada-texto-icono {
    font-weight: 500;
}

.propiedad-destacada-boton {
    width: 100%; 
    padding: 12px; 
    background-color: var(--grisoscuro);
    color: #FFF; 
    border: none; 
    text-decoration: none; 
    border-radius: 30px;
    text-align: center; 
    font-size: 1rem; 
    cursor: pointer; 
    transition: all 0.3s ease;
    text-transform: uppercase; 
    font-weight: 500; 
    letter-spacing: 0.5px; 
    margin-top: auto; /* Empuja el botón al final */
}

.propiedad-destacada-boton:hover { 
    background-color: var(--grismedio); 
}

        /* Estilos para la sección de "sin propiedades" */
        .no-properties-section {
            min-height: 70vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 0px 20px;
            background: #ffffff;
        }

        .no-prop-content {
            text-align: center;
            max-width: 780px;
            width: 100%;
        }

        .no-prop-logo {
            width: 90px;
            height: 90px;
            margin: 0 auto 50px;
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .no-prop-logo:hover {
            transform: scale(1.08);
        }

        .no-prop-logo svg {
            width: 100%;
            height: 100%;
        }

        .no-prop-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 38px;
            font-weight: 700;
            color: #414141;
            margin-bottom: 25px;
            letter-spacing: -0.5px;
            line-height: 1.2;
        }

        .no-prop-subtitle {
            font-family: 'Montserrat', sans-serif;
            font-size: 18px;
            font-weight: 500;
            color: #858585;
            margin-bottom: 50px;
            line-height: 1.8;
            max-width: 650px;
            margin-left: auto;
            margin-right: auto;
        }

        .no-prop-contact-card {
            padding: 30px 0 40px 0;
        }

        .no-prop-contact-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 28px;
            font-weight: 700;
            color: #414141;
            margin-bottom: 18px;
            letter-spacing: -0.3px;
        }

        .no-prop-contact-text {
            font-family: 'Montserrat', sans-serif;
            font-size: 17px;
            font-weight: 500;
            color: #858585;
            margin-bottom: 35px;
            line-height: 1.7;
            max-width: 580px;
            margin-left: auto;
            margin-right: auto;
        }

        .no-prop-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .no-prop-btn {
            font-family: 'Montserrat', sans-serif;
            padding: 16px 38px;
            border-radius: 100px;
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1.5px solid #414141;
            cursor: pointer;
            background: #ffffff;
            color: #414141;
        }

        .no-prop-btn:hover {
            background: #414141;
            color: #ffffff;
            transform: translateY(-2px);
        }

        .no-prop-btn span {
            position: relative;
            z-index: 2;
        }

        .no-prop-icon {
            width: 19px;
            height: 19px;
            transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .no-prop-btn:hover .no-prop-icon {
            transform: scale(1.15);
        }

        .no-prop-back {
            margin-top: 35px;
        }

        .no-prop-back a {
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
            color: #858585;
            text-decoration: none;
            font-size: 15px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .no-prop-back a:hover {
            color: #414141;
            cursor: pointer;
            gap: 12px;
        }

        .no-prop-back svg {
            transition: transform 0.3s ease;
        }

        .no-prop-back a:hover svg {
            transform: translateX(-3px);
        }

        .no-prop-illustration {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .no-prop-illustration svg {
            width: 100%;
            max-width: 1200px;
            height: auto;
        }

        .no-prop-line {
            stroke: #414141;
            stroke-width: 2.5;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
@media (max-width: 1024px) {
 .propiedad-destacada-grilla {
        
        grid-template-columns: repeat(2, 1fr);
        width: 95%;
        padding: 40px 30px; 
    }

}

@media (max-width: 768px) {
  .propiedad-destacada-grilla {
        /* Pasamos de 2 a 1 columna */
        grid-template-columns: 1fr;
        width: 65%;
        padding: 80px 18px; 
        margin: -30px auto;
    }

    .propiedad-destacada-seccion .sub-title{
        display: block;
    }
 .no-prop-logo {
                width: 80px;
                height: 80px;
                margin-bottom: 40px;
            }

            .no-prop-title {
                font-size: 32px;
                margin-bottom: 20px;
            }

            .no-prop-subtitle {
                font-size: 17px;
                margin-bottom: 40px;
            }

            .no-prop-contact-title {
                font-size: 24px;
                margin-bottom: 15px;
            }

            .no-prop-contact-text {
                font-size: 16px;
                margin-bottom: 30px;
            }

            .no-prop-buttons {
                flex-direction: column;
                gap: 12px;
            }

            .no-prop-btn {
                width: 100%;
                justify-content: center;
                padding: 16px 30px;
            }

}

@media screen and (max-width: 640px) {

    .propiedad-destacada-grilla {
        /* Se mantiene 1 columna, ajustamos ancho */
        width: 80%;
        padding: 80px 30px; 
    }
}

 @media (max-width: 480px) {

.propiedad-destacada-grilla {
        /* Se mantiene 1 columna, ajustamos ancho */
        width: 95%;
        padding: 80px 30px; 
    }

    .propiedad-destacada-tipo,
    .propiedad-destacada-precio { 
        font-size: 1.4rem; 
    }
    
    .propiedad-destacada-titulo { 
        font-size: 1.4rem; 
    }
            .no-properties-section {
                padding: 40px 20px;
            }

            .no-prop-content {
                padding: 20px 10px;
            }

            .no-prop-logo {
                width: 75px;
                height: 75px;
                margin-bottom: 35px;
            }

            .no-prop-title {
                font-size: 28px;
                margin-bottom: 18px;
            }

            .no-prop-subtitle {
                font-size: 16px;
                margin-bottom: 35px;
            }

            .no-prop-contact-title {
                font-size: 22px;
                margin-bottom: 12px;
            }

            .no-prop-contact-text {
                font-size: 15px;
                margin-bottom: 28px;
            }

            .no-prop-btn {
                padding: 15px 28px;
                font-size: 14px;
            }

            .no-prop-icon {
                width: 18px;
                height: 18px;
            }

            .no-prop-back {
                margin-top: 30px;
            }

            .no-prop-back a {
                font-size: 14px;
            }
        }
