/* Mejoras de primera impresion */
.hero {
    background-image: url('Fondo hero.webp');
    background-size: 138% auto;
    background-position: 34% center;
    background-repeat: no-repeat;
    background-color: #3b0000;
    margin-top: 0;
    min-height: 68vh;
    height: auto;
    align-items: flex-end;
    padding: 12rem 1.5rem 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(45,0,0,0.72), rgba(45,0,0,0.36), rgba(0,0,0,0.08));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 980px;
    width: 100%;
    text-align: left;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-content h1 {
    max-width: 760px;
    margin-bottom: 0.8rem;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1.03;
}

.hero-content p {
    max-width: 680px;
    margin-bottom: 1.6rem;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.94);
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cta-secondary {
    background: rgba(255,255,255,0.94);
    color: var(--bordo-primario);
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.buscador-mapa-combinado {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
}

.propiedades {
    padding-top: 3.4rem;
}

.slider {
    height: 460px;
}

@media (max-width: 768px) {
    .hero {
        background-size: cover;
        background-position: center;
        margin-top: 0;
        min-height: 72vh;
        padding: 10rem 1.2rem 3rem;
        align-items: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}
