/* =====================================================
   BUSCADOR PRO
===================================================== */

.buscador{
    text-align:center;
    margin:60px auto;
}

.buscador h2{
    font-size:28px;
    font-weight:800;
    color:#1f4f3a;
}

.buscador-card{
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.grid-filtros{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
    margin-bottom:15px;
}

.grid-filtros select,
.grid-filtros input{
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
    outline:none;
}

/* botón */
.buscador-card button{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#25D366,#128C7E);
    color:white;
    font-weight:bold;
    cursor:pointer;
}

/* =====================================================
   PROPIEDADES GRID
===================================================== */

.grid-propiedades{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:22px;
}

/* card */
.propiedad-card{
    background:white;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.10);
    transition:0.3s;
    position:relative;
}

.propiedad-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,0.18);
}

/* imagen */
.propiedad-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

/* precio */
.precio{
    position:absolute;
    top:10px;
    left:10px;
    background:rgba(0,0,0,0.75);
    color:white;
    padding:6px 10px;
    border-radius:8px;
    font-size:13px;
}

/* textos */
.ubicacion{
    color:#666;
    font-size:13px;
    padding:0 15px 10px;
}

/* botón */
.btn-ver{
    display:block;
    margin:0 15px 15px;
    padding:10px;
    text-align:center;
    background:#1f4f3a;
    color:white;
    border-radius:10px;
    text-decoration:none;
}

.btn-ver:hover{
    background:#25D366;
}
