* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.hero {
    background-image: url('../images/hero-img.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-subpage {
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-alquiler {
    background-image: url('../images/hero-alquiler.jpg');
}

.hero-venta {
    background-image: url('../images/hero-venta.jpg');
}

.seccion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.row-ventas, .row-alquiler, .row-venta2, .row-alquiler2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.card img {
    object-fit: cover;
    height: 250px;
}

.card-body, .card-body-atributos {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-grow: 1;
}

button {
    width: fit-content;
}

button a {
    text-decoration: none;
    color: white;
}

/* .paginacion {
    display: flex;
    justify-content: center;
} */

footer {
    color: gray;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: gray;
}

.footer-seccion {
    display: flex;
    justify-content: space-between;
}

.links-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media screen and (max-width: 992px) {
    .row-ventas, .row-alquiler, .row-venta2, .row-alquiler2 {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .footer-seccion {
        flex-direction: column;
        gap: 1rem;
    }
}