* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f8f9fa;
    color: #333;
}

/* =========================================
   HEADER & LOGO
   ========================================= */
.header-principal {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* =========================================
   SECCIÓN VENDER PROPIEDAD
   ========================================= */

.vender-propiedad {
    background: linear-gradient(135deg, #082b73 0%, #03153b 100%);
    padding: 55px 20px;
    text-align: center;
    margin-top: 20px;
}

.vender-contenido {
    max-width: 800px;
    margin: 0 auto;
}

.vender-contenido h2 {
    color: #ffffff;
    font-size: 2rem;
    margin: 0 0 10px;
    font-weight: 700;
}

.vender-contenido p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin: 0 0 25px;
}

.btn-vender {
    display: inline-block;
    background: #ffffff;
    color: #082b73;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-vender:hover {
    background: #f0f4f9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-texto {
    font-size: 1.3rem;
    font-weight: 700;
    color: #082b73;
    letter-spacing: 1px;
}

.logo-texto span {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
    color: #082b73;
    font-weight: 600;
}

/* =========================================
   SECCIÓN HERO / BUSCADOR
   ========================================= */
.hero-section {
    background: linear-gradient(135deg, #082b73 0%, #03153b 100%);
    padding: 70px 20px;
    text-align: center;
    color: #ffffff;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.05rem;
    font-weight: 300;
    opacity: 0.85;
    margin-bottom: 30px;
}

/* Caja de búsqueda estilo Premium */
.buscador-box {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.buscador-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 25px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.buscador-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-buscar {
    background: #ffffff;
    color: #082b73;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-buscar:hover {
    background: #f0f4f9;
    transform: translateY(-1px);
}

/* =========================================
   TARJETAS Y CATÁLOGO
   ========================================= */
.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    min-height: 300px;
}

.sin-resultados {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #718096;
    font-size: 1.1rem;
}

.tarjeta {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(8, 43, 115, 0.1);
}

.tarjeta img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.info h2 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
}

.precio {
    font-size: 1.3rem;
    font-weight: 700;
    color: #082b73;
    margin-bottom: 12px;
}

.detalles {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 20px;
}

.botones {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.boton {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #082b73;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.boton:hover {
    background: #051c4d;
}

.whatsapp {
    background: #0ea144;
}

.whatsapp:hover {
    background: #0b8036;
}

/* Responsivo para móviles */
@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .buscador-box {
        flex-direction: column;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.1);
    }
    .btn-buscar {
        border-radius: 12px;
        width: 100%;
    }
}