.hero-buscador {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 1.8rem 2rem;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.3);
    margin-top: 2rem;
}
.hero-buscador .form-control,
.hero-buscador .form-select {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    background: white;
    height: 48px;
    transition: border-color 0.2s;
    width: 100%;
}
.hero-buscador .form-control:focus,
.hero-buscador .form-select:focus {
    border-color: var(--rojo-principal);
    box-shadow: 0 0 0 3px rgba(191, 44, 58, 0.15);
}
.hero-buscador .btn-rojo {
    height: 48px;
    font-size: 1rem;
    padding: 0 1.5rem;
    width: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(191, 44, 58, 0.12);
    border-color: var(--rojo-principal);
}
.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}
.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.property-card:hover .property-image img {
    transform: scale(1.05);
}
.property-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    color: #bbb;
    font-size: 2rem;
}
.property-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--rojo-principal);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.property-body {
    padding: 1rem 1.2rem 1.2rem;
}
.property-code {
    font-size: 0.7rem;
    color: #999;
    font-weight: 500;
    margin-bottom: 0.2rem;
}
.property-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--negro-profundo);
    margin-bottom: 0.2rem;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.property-location {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.4rem;
}
.property-location i {
    margin-right: 4px;
    color: var(--rojo-principal);
}
.property-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rojo-principal);
    margin-bottom: 0.3rem;
}
.property-features {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0.5rem;
}
.property-features span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.property-features i {
    color: var(--rojo-principal);
    font-size: 0.75rem;
}
.btn-outline-rojo-small {
    background: transparent;
    color: var(--rojo-principal);
    border: 2px solid var(--rojo-principal);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-outline-rojo-small:hover {
    background: var(--rojo-principal);
    color: white;
}

@media (max-width: 767px) {
    .hero-buscador {
        padding: 1.2rem;
    }
    .hero-buscador .btn-rojo {
        width: 100%;
        margin-top: 0.25rem;
    }
    .hero-buscador .form-control,
    .hero-buscador .form-select {
        height: 42px;
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    .hero-title {
        font-size: 2.2rem !important;
    }
    .property-image {
        height: 160px;
    }

    .hero-content {
        padding-top: 1rem;
    }
    .hero-content .section-tag {
        margin-bottom: 0.5rem;
        display: inline-block;
    }
    .hero-content .hero-title {
        margin-top: 0;
    }
    .hero-content p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem;
    }
}

@media (min-width: 768px) {
    .hero-buscador {
        padding: 2rem 2.5rem;
    }
    .hero-buscador .form-control,
    .hero-buscador .form-select {
        height: 52px;
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    .hero-buscador .btn-rojo {
        height: 52px;
        font-size: 1.05rem;
        padding: 0 1.5rem;
    }
    .hero-title {
        font-size: 3.5rem !important;
    }
    
    .hero-buscador .bloque-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .hero-buscador {
        padding: 2.2rem 3rem;
    }
    .hero-buscador .form-control,
    .hero-buscador .form-select {
        height: 56px;
        font-size: 1.05rem;
        padding: 0.8rem 1.2rem;
    }
    .hero-buscador .btn-rojo {
        height: 56px;
        font-size: 1.1rem;
        padding: 0 1.8rem;
    }
    .hero-title {
        font-size: 4rem !important;
    }
}

@media (max-width: 480px) {
    .hero-buscador .form-control,
    .hero-buscador .form-select {
        height: 38px;
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    .hero-buscador .btn-rojo {
        height: 38px;
        font-size: 0.85rem;
        padding: 0 0.8rem;
    }
    .hero-title {
        font-size: 1.8rem !important;
    }
    .hero-content {
        padding-top: 0.5rem;
    }
    .hero-content .section-tag {
        font-size: 0.6rem !important;
        padding: 0.2rem 0.8rem !important;
    }
    .hero-content p {
        font-size: 0.9rem !important;
        margin-bottom: 0.8rem;
    }
}