/* 
   BEC MASTER STYLE - FIDELIDAD TOTAL A GRUMEXSA
   Bóveda Electrónica de Contratos
*/

:root {
    --bg-color: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --brand-verde: #a2ad3b;       /* Verde oficial GRUMEXSA */
    --brand-azul: #004b93;        /* Azul oficial (Flechas GRUMEXSA) */
    --brand-gold: #f9bf00;        /* Amarillo/Oro oficial TEGSA */
    --brand-gold-soft: #fff9e6;   /* Fondo dorado suave */
    --surface: #ffffff;
    --border: #e2e8f0;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;950&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Round');

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

body, input, select, textarea, button { 
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important; 
}

body { 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    display: flex; flex-direction: column; min-height: 100vh; 
}

/* ─── NAVBAR (EXACTO PROVEEDORES) ─── */
.top-navbar { 
    background: #ffffff; 
    border-bottom: 1px solid var(--border); 
    padding: 8px 40px; 
    display: flex; justify-content: space-between; align-items: center; 
    position: sticky; top: 0; z-index: 100; 
}
.brand-logo-combined { height: 40px; width: auto; object-fit: contain; }

.pill-text { 
    background: var(--brand-azul); 
    padding: 6px 15px; 
    border-radius: 5px; 
    border-right: 3px solid var(--brand-gold);
}
.pill-text h1 { 
    font-size: 0.75rem; 
    font-weight: 800; 
    color: #ffffff; 
    margin: 0; 
    text-transform: uppercase;
}

/* ─── FOOTER MODERN (ULTRA-SLIM) ─── */
.footer-modern { 
    background: var(--brand-azul); 
    border-top: 3px solid var(--brand-gold); /* Línea dorada superior */
    color: #ffffff; 
    padding: 10px 40px; 
    display: flex; justify-content: space-between; align-items: center; 
    font-size: 0.65rem; /* Fuente más pequeña para formato slim */
    margin-top: auto; 
}

.btn-acceder-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-verde);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(162, 173, 59, 0.2);
}
.btn-acceder-top:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}
.footer-center { display: flex; align-items: center; gap: 8px; }

/* ─── CONTENEDOR ─── */
.container { 
    max-width: 1250px; 
    margin: 0 auto; 
    width: 100%; 
    padding: 0 15px; 
    flex: 1; 
}

/* ─── MODAL VISOR ─── */
.modal-gr {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px);
    justify-content: center; align-items: center; padding: 20px;
}
.modal-gr__content {
    background: white; width: 90%; max-width: 1000px; height: 90vh;
    border-radius: 12px; display: flex; flex-direction: column; overflow: hidden;
}
.modal-gr__header {
    background: var(--brand-azul); color: white; padding: 15px 25px;
    display: flex; justify-content: space-between; align-items: center;
}
.modal-gr__close { background: none; border: none; color: white; cursor: pointer; }

/* ESTILOS DE HOME PREMIUM */
.premium-home { padding: 40px 0; }
.hero-section { text-align: left; max-width: 800px; margin-bottom: 50px; }
.hero-tag { font-size: 0.8rem; font-weight: 900; color: var(--brand-verde); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 10px; display: block; }
.hero-title { font-size: 2.8rem; font-weight: 950; color: var(--brand-azul); line-height: 1.1; margin-bottom: 20px; }
/* ... (otros estilos de home ya definidos) ... */
