.hero-propiedad {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-propiedad::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
}
.hero-texto {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}
.hero-texto h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.info-principal {
    margin: 5rem auto;
    padding: 20px;
    max-width: 1200px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    width: 100%;
    gap: 40px;
}

.fotos {
    flex: 0 0 60%;
    border-radius: 12px;
    overflow: hidden;
}

.pc-swiper {
    width: 100%;
    height: 100%;
}

.pc-swiper .swiper-slide img {
    width: 100%; /* ancho completo del contenedor */
    height: auto; /* la altura se ajusta automáticamente según la proporción */
    max-height: 400px; /* opcional: limita altura máxima */
    object-fit: contain; /* mantiene la proporción, sin recortar */
    display: block;
    border-radius: 12px;
    margin: 0 auto; /* centra verticales y horizontales */
}

.informacion {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 20px 30px;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.informacion h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.informacion .precio {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.informacion .caracteristicas span {
    display: block;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #555;
}

.mapa-propiedad {
    padding-top: 40px;
}

.descripcion-propiedad {
    padding-top: 40px 20px 0px 20px;
    font-size: 1rem;
    font-weight: normal;
}

/* Responsive: Móvil */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .fotos, .informacion {
        width: 100%;
    }
}
