/* =======================================
   ESTILO PROFESIONAL HEADER CORMUGGV
   ======================================= */

:root {
  --brand: #ba101b;
  --brand-dark: #9f0e17;
  --accent: #0b1220;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --line: #e4e7ec;
  --shadow: 0 4px 10px rgba(0,0,0,0.08);
  --radius: 10px;
  --muted: #6b7280;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ====== Estructura general ====== */
body {
  margin: 0;
  font-family: var(--font);
  color: var(--accent);
}

/* ======================================
   BLOQUE SUPERIOR: LOGO Y BOTONES
   ====================================== */
.row-fluid:first-of-type {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Botones (bloque izquierda) */
.row-fluid:first-of-type .span8 {
  order: 1;
  flex: 1;
}

.img_up.der {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.img_up.der a {
  display: inline-block;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.img_up.der a:hover {
  transform: translateY(-3px);
  filter: brightness(0.97);
}

.img_up.der img {
  height: 64px;
  width: auto;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Logo (bloque derecha) */
.row-fluid:first-of-type .span3 {
  order: 2;
  text-align: right;
}

.img_up.center img {
  max-height: 70px;
  width: auto;
}

/* El span1 no se usa */
.row-fluid:first-of-type .span1 {
  display: none;
}

/* --- Overrides: logo a la IZQUIERDA y más grande --- */

/* El contenedor ya está en display:flex (según la hoja anterior) */
.row-fluid:first-of-type .span3{ 
  order: 1;                 /* logo a la izquierda */
  text-align: left; 
}
.row-fluid:first-of-type .span8{ 
  order: 2;                 /* botones a la derecha */
}

/* Tamaño del logo más grande */
.img_up.center img{
  max-height: 96px;         /* antes: ~70px */
  width: auto;
}

/* Alineación vertical agradable */
.row-fluid:first-of-type{
  align-items: center;      /* centra logo y botones verticalmente */
}

/* Espaciado fino a la derecha para los botones */
.img_up.der{
  justify-content: flex-end;/* botones a la derecha en línea */
  gap: 5px;
}


