.hero-propiedad{
    width:90%;
    max-width:1400px;
    margin:80px auto 80px;
}

.hero-header{
    text-align:center;
    margin-bottom:40px;
}

.hero-etiqueta{
    color:#d4af37;
    letter-spacing:3px;
    font-size:.9rem;
}

.hero-header h1{
    font-size:3rem;
    margin:15px 0;
}

.hero-ubicacion{
    color:#bdbdbd;
    margin-bottom:15px;
}

.hero-precio{
    color:#d4af37;
    font-size:2.5rem;
    font-weight:700;
}

.hero-grid{
    display:grid;
    grid-template-columns: 2.2fr 0.8fr 1.2fr;
    gap:30px;
    align-items:start;
}
/* Imagen principal */

.imagen-principal{
    position:relative;
}

.imagen-principal img{
    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:20px;
}

.contador{
    position:absolute;
    bottom:15px;
    right:15px;
    background:rgba(0,0,0,.7);
    padding:8px 15px;
    border-radius:30px;
    color:#fff;
    font-size:.9rem;
}

/* Miniaturas */

.miniaturas{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.miniaturas img{
    width:100%;
    height:121px;
    object-fit:cover;
    border-radius:15px;
    cursor:pointer;
    transition:.3s;
    border:2px solid transparent;
}

.miniaturas img:hover{
    border-color:#d4af37;
    transform:scale(1.03);
}

/* Ficha */

.ficha-rapida{
    background:#111;
    border:1px solid rgba(212,175,55,.25);
    border-radius:20px;
    padding:30px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

.dato{
    padding-bottom:20px;
    border-bottom:1px solid rgba(255,255,255,.08);
    margin-bottom:20px;
}

.dato:last-of-type{
    margin-bottom:30px;
}

.dato h4{
    color:#d4af37;
    margin-bottom:8px;
}

.dato p{
    color:#ddd;
}

.btn-whatsapp{
    display:block;
    text-align:center;
    background:#d4af37;
    color:#000;
    padding:15px;
    border-radius:50px;
    font-weight:700;
    text-decoration:none;
}

.info-propiedad{
    width:90%;
    max-width:1400px;
    margin:80px auto;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:50px;
    align-items:start; /* clave */
}

/* MAPA */
.col-mapa h2,
.col-info h2{
    font-size:2rem;
    margin-bottom:15px;
    color:#d4af37;
    margin-top:0;
}

.col-mapa p{
    margin-bottom:15px;
    color:#bdbdbd;
}

.col-mapa iframe{
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

/* INFO */
.col-info{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:40px;
    padding-top:0;
}

.col-info p{
    color:#ddd;
    line-height:1.6;
    margin-top:0;
}

.col-info ul{
    list-style:none;
    margin-top:10px;
}

.col-info li{
    margin-bottom:10px;
    color:#ddd;
}

/* RESPONSIVE */
@media(max-width:991px){

    .info-propiedad{
        grid-template-columns:1fr;
    }

}

/* Móvil */

@media(max-width:991px){

    .hero-grid{
        grid-template-columns:1fr;
    }

    .imagen-principal img{
        height:400px;
    }

    .miniaturas{
        flex-direction:row;
        overflow-x:auto;
    }

    .miniaturas img{
        min-width:120px;
        height:90px;
    }

    .hero-header h1{
        font-size:2rem;
    }

    .hero-precio{
        font-size:2rem;
    }

}

.ficha-rapida{
    margin-top:20px;
}

.miniaturas{
    padding-bottom:10px;
}

section{
    scroll-margin-top: 120px;
}

.descripcion-propiedad,
.caracteristicas-propiedad,
.mapa-propiedad{
    width:90%;
    max-width:1400px;
    margin:0 auto;
}

.descripcion-propiedad h2,
.caracteristicas-propiedad h2,
.mapa-propiedad h2{
    font-size:2rem;
    margin-bottom:20px;
    position:relative;
    display:inline-block;
}

.descripcion-propiedad h2::after,
.caracteristicas-propiedad h2::after,
.mapa-propiedad h2::after{
    content:"";
    display:block;
    width:60%;
    height:2px;
    background:#d4af37;
    margin-top:8px;
}