/* ==========================================
   HEADER REESTRUCTURADO (Versión 2.0)
========================================== */
.site-header {
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between; /* Logo a la izquierda, Menú a la derecha */
    align-items: center;
}

.logo { 
    height: 50px; /* Tamaño controlado para evitar que rompa el layout */
    width: auto;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-main a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Estilo del botón cotizar */
.btn-primary {
    background-color: var(--ordi-red);
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

/* --- RESPONSIVE --- */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .mobile-toggle { display: block; }
    
    .nav-main {
        display: none; /* Oculto por defecto */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-main.active { display: flex !important; }
}