/* VERSION: CAMBIO_FORZADO_001 */
/* ====== VARIABLES ====== */
:root{
  --rojo:#e1062c;
  --gris:#f4f5f7;
  --texto:#141414;
  --azul:#0b5d6e;
}

/* ====== BASE ====== */
html, body{
  background:var(--gris);
  color:var(--texto);
  margin:0;
  padding:0;
}

/* ====== GRID & CARD BASE ====== */
.grid{ display:grid; gap:14px; }

.card{
  background:#fff;
  border-radius:12px;
  padding:18px;
  box-shadow:0 6px 20px rgba(0,0,0,.08);
}

/* ====== LOGOS BAR (ÚNICA) ====== */
.logos-bar{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:22px;
  padding:10px 34px;
  background:#fff;
  border-top:3px solid var(--rojo);
  border-bottom:5px solid var(--rojo);
  box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.logos-bar img{
  height:44px;
  width:auto;
  object-fit:contain;
  opacity:.95;
}

.logos-bar img.logo-gigante{
  height:54px;
  opacity:1;
}

/* ====== KPI (VERSIÓN FINAL) ====== */
.kpi-strip{
  margin-top:-10px;
  margin-bottom:8px;
}

.grid.kpi-grid-compact{
  grid-template-columns:repeat(3,minmax(160px,1fr));
  gap:12px;
  max-width:720px;
  margin:0 auto;
}

.card.kpi-card{
  padding:12px 14px;
  text-align:center;
  opacity:0;
  transform:translateY(8px);
  animation:kpiFadeUp 420ms ease-out forwards;
}

.kpi-top{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
}

.kpi-icon{ font-size:18px; }
.kpi-number{
  font-size: 22px;
  font-weight: 700;
  color: #2a2a2a;   /* gris oscuro institucional */}

.kpi-label{
  margin-top: 6px;
  font-size: 13px;
  color: #4a4a4a;   /* gris medio */
  font-weight: 600;
}


.card.kpi-card:nth-child(1){ animation-delay:0ms; }
.card.kpi-card:nth-child(2){ animation-delay:60ms; }
.card.kpi-card:nth-child(3){ animation-delay:120ms; }

@keyframes kpiFadeUp{
  to{ opacity:1; transform:translateY(0); }
}

.card.kpi-card:hover{
  transform:translateY(-2px);
  transition:transform 150ms ease;
}

/* ====== VARIABLES ====== */
:root{
  --rojo:#e1062c;
  --gris:#f4f5f7;
  --texto:#141414;
  --azul:#0b5d6e;
}

/* ====== BASE ====== */
html, body{
  background:var(--gris);
  color:var(--texto);
  margin:0;
  padding:0;
}

/* ====== GRID & CARD BASE ====== */
.grid{ display:grid; gap:14px; }

.card{
  background:#fff;
  border-radius:12px;
  padding:18px;
  box-shadow:0 6px 20px rgba(0,0,0,.08);
}

/* ====== LOGOS BAR (ÚNICA) ====== */
.logos-bar{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:22px;
  padding:10px 34px;
  background:#fff;
  border-top:3px solid var(--rojo);
  border-bottom:5px solid var(--rojo);
  box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.logos-bar img{
  height:44px;
  width:auto;
  object-fit:contain;
  opacity:.95;
}

.logos-bar img.logo-gigante{
  height:54px;
  opacity:1;
}

/* ====== KPI (VERSIÓN FINAL) ====== */
.kpi-strip{
  margin-top:-10px;
  margin-bottom:8px;
}

.grid.kpi-grid-compact{
  grid-template-columns:repeat(3,minmax(160px,1fr));
  gap:12px;
  max-width:720px;
  margin:0 auto;
}

.card.kpi-card{
  padding:12px 14px;
  text-align:center;
  opacity:0;
  transform:translateY(8px);
  animation:kpiFadeUp 420ms ease-out forwards;
}

.kpi-top{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
}

.kpi-icon{ font-size:18px; }
.kpi-number{ font-size:22px; font-weight:800; }
.kpi-label{ font-size:13px; font-weight:600; color:#333; margin-top:6px; }

.card.kpi-card:nth-child(1){ animation-delay:0ms; }
.card.kpi-card:nth-child(2){ animation-delay:60ms; }
.card.kpi-card:nth-child(3){ animation-delay:120ms; }

@keyframes kpiFadeUp{
  to{ opacity:1; transform:translateY(0); }
}

.card.kpi-card:hover{
  transform:translateY(-2px);
  transition:transform 150ms ease;
}



/* ====== CENTRADOS ====== */
.card-center{ text-align:center; }

.btn-center{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* ====== MÓVIL (ÚNICO) ====== */
@media (max-width:600px){


  .logos-bar img{ height:34px; }
  .logos-bar img.logo-gigante{ height:42px; }

  .grid.kpi-grid-compact{
    grid-template-columns:repeat(3,1fr);
    gap:8px;
  }

  .card.kpi-card{ padding:10px 12px; }
}
}


/* ====== CENTRADOS ====== */
.card-center{ text-align:center; }

.btn-center{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* ====== MÓVIL (ÚNICO) ====== */
@media (max-width:600px){

  .logos-bar{
    padding:10px 16px;
    flex-wrap:wrap;
    gap:14px;
  }

  .logos-bar img{ height:34px; }
  .logos-bar img.logo-gigante{ height:42px; }

  .grid.kpi-grid-compact{
    grid-template-columns:repeat(3,1fr);
    gap:8px;
  }

  .card.kpi-card{
  padding: 12px 14px;
  text-align: center;

  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);   /* borde gris institucional */
  box-shadow: 0 4px 14px rgba(0,0,0,.06);

  opacity: 0;
  transform: translateY(8px);
  animation: kpiFadeUp 420ms ease-out forwards;
}

/* ===== TÍTULO REAL QUE SE ESTÁ MOSTRANDO ===== */
h1{
  font-family: "Century Gothic", CenturyGothic, AppleGothic, "Segoe UI", Arial, sans-serif !important;
  font-weight: 900 !important;
  font-size: 30px !important;
  color: #6b7280 !important;   /* gris institucional */
  margin: 0 0 10px 0 !important;
}

/* === TEST_CARGA_CSS_999 === */


/* =========================
   HEADER (TOPLINE) — LIMPIO
   ========================= */

.topline{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--borde, #e6e6e6);
}

.topline .title{
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--texto, #1f2937);
  white-space: nowrap;
}

.topline nav{
  display: flex;
  align-items: center;
  gap: 10px;

  /* Desktop: una sola fila */
  flex-wrap: nowrap;
}

.topline nav a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 9px 14px;
  border-radius: 999px;

  background: var(--azul, #1e4fbf);
  color: #ffffff;

  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;

  /* Reset defaults */
  text-decoration: none;
  border: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
  user-select: none;

  transition: transform 120ms ease, filter 120ms ease, background-color 120ms ease;
}

/* Evita morado/subrayado por estados del navegador */
.topline nav a:visited,
.topline nav a:hover,
.topline nav a:active{
  color: #ffffff;
  text-decoration: none;
}

.topline nav a:hover{
  filter: brightness(1.05);
}

.topline nav a:active{
  transform: translateY(1px);
}

.topline nav a:focus-visible{
  outline: none;
  border-color: rgba(255,255,255,0.85);
  box-shadow: 0 0 0 3px rgba(30,79,191,0.25);
}

/* Opción: marca un link activo si usas class="active" */
.topline nav a.active{
  background: #0f3ea9;
}

/* =========================
   MOBILE (≤ 600px)
   Centrado + wrap
   ========================= */
@media (max-width: 600px){
  .topline{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .topline .title{
    white-space: normal;
  }

  .topline nav{
    justify-content: center;
    flex-wrap: wrap;          /* móvil: permite saltar línea */
    max-width: 100%;
  }

  .topline nav a{
    padding: 10px 14px;
    font-size: 0.95rem;
  }
}
.topline .title{
  margin: 0;
  line-height: 1.2;

  font-family: "Century Gothic", "Segoe UI", system-ui, sans-serif;
  font-size: 1.6rem;          /* más grande y protagonista */
  font-weight: 700;           /* negritas reales */
  color: #4b5563;             /* gris institucional elegante */

  white-space: nowrap;
}

/* =========================
   HEADER — ESTILO BASE
   ========================= */

.site-header-legacy-disabled{
  background:#ffffff;
  border-bottom:1px solid #e5e7eb;
}

/* Contenedor principal */
.brand-row-legacy-disabled{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

/* Izquierda */
.brand-left-legacy-disabled{
  text-decoration:none;
}

.brand-title{
  font-family:"Century Gothic","Segoe UI",system-ui,sans-serif;
  font-size:1.6rem;
  font-weight:700;
  color:#4b5563;
}

/* Derecha */
.brand-right-legacy-disabled{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-logo{
  font-family:"Century Gothic","Segoe UI",system-ui,sans-serif;
  font-weight:600;
  color:#374151;
  text-decoration:none;
  font-size:0.95rem;
}

.brand-logo:hover{
  text-decoration:underline;
}

.brand-sep{
  width:1px;
  height:28px;
  background:#d1d5db;
}

/* Barra gris navegación */
.main-nav-legacy-disabled{
  background:#55585d;
}

.nav-row-legacy-disabled{
  display:flex;
  align-items:center;
  gap:2px;
}

.nav-link-legacy-disabled{
  color:#ffffff;
  text-decoration:none;
  font-family:"Century Gothic","Segoe UI",system-ui,sans-serif;
  font-weight:600;
  padding:12px 14px;
  white-space:nowrap;
}

.nav-link-legacy-disabled:hover{
  background:rgba(255,255,255,0.08);
}

.nav-link-legacy-disabled--right{
  margin-left:auto;
}

/* Responsive */
@media (max-width:600px){
  .brand-row-legacy-disabled{
    flex-direction:column;
    gap:8px;
    text-align:center;
  }
}

/* ===== Header superior: logos (JCT izquierda grande / SEED+Gigante derecha chicos) ===== */
.brand-left-legacy-disabled img{ display:block; height:74px; width:auto; }
.brand-right-legacy-disabled img{ display:block; height:44px; width:auto; }

@media (max-width:600px){
  .brand-left-legacy-disabled img{ height:60px; }
  .brand-right-legacy-disabled img{ height:38px; }
}

/* ===== Ajuste de tamaño (override) ===== */
.brand-left-legacy-disabled img{ height:54px !important; }
.brand-right-legacy-disabled img{ height:34px !important; }

@media (max-width:600px){
  .brand-left-legacy-disabled img{ height:46px !important; }
  .brand-right-legacy-disabled img{ height:30px !important; }
}

/* ===== Ajuste tamaño logos header (override) ===== */
.site-header-legacy-disabled .brand-left-legacy-disabled img{ height:48px !important; width:auto !important; }
.site-header-legacy-disabled .brand-right-legacy-disabled img{ height:32px !important; width:auto !important; }

@media (max-width:600px){
  .site-header-legacy-disabled .brand-left-legacy-disabled img{ height:42px !important; }
  .site-header-legacy-disabled .brand-right-legacy-disabled img{ height:28px !important; }
}

/* =========================
   FIX: LOGOS GIGANTES EN HEADER
   (override fuerte al final)
   ========================= */

.site-header-legacy-disabled{
  background:#fff;
}

.site-header-legacy-disabled .brand-row-legacy-disabled{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  padding:10px 0 !important;
}

/* Evita que reglas globales tipo img{width:100%} rompan el header */
.site-header-legacy-disabled img{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  object-fit:contain !important;
  display:block !important;
}

/* Tamaños (ajústalos si quieres aún más chico) */
.site-header-legacy-disabled .brand-left-legacy-disabled img{
  max-height:56px !important;
}

.site-header-legacy-disabled .brand-right-legacy-disabled{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}

.site-header-legacy-disabled .brand-right-legacy-disabled img{
  max-height:38px !important;
}

/* Separador vertical */
.site-header-legacy-disabled .brand-sep{
  width:1px !important;
  height:32px !important;
  background:#d1d5db !important;
}

/* Móvil */
@media (max-width:600px){
  .site-header-legacy-disabled .brand-row-legacy-disabled{
    flex-direction:column !important;
    align-items:center !important;
  }
  .site-header-legacy-disabled .brand-left-legacy-disabled img{ max-height:48px !important; }
  .site-header-legacy-disabled .brand-right-legacy-disabled img{ max-height:32px !important; }
}

/* ===== Alineación correcta del header ===== */
.site-header-legacy-disabled .brand-row-legacy-disabled{
  display:flex !important;
  align-items:center !important;
}

/* Empuja el bloque derecho completamente a la derecha */
.site-header-legacy-disabled .brand-right-legacy-disabled{
  margin-left:auto !important;
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}

/* =========================
   HEADER — MISMO LAYOUT EN WEB Y MÓVIL
   ========================= */

/* Contenedor principal: SIEMPRE fila */
.site-header-legacy-disabled .brand-row-legacy-disabled{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  flex-wrap:nowrap !important;
}

/* Izquierda */
.site-header-legacy-disabled .brand-left-legacy-disabled{
  display:flex !important;
  align-items:center !important;
  flex-shrink:0 !important;
}

/* Derecha */
.site-header-legacy-disabled .brand-right-legacy-disabled{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  margin-left:auto !important;
  flex-shrink:0 !important;
}

/* Evita que en móvil se rompa o se centre */
@media (max-width:600px){
  .site-header-legacy-disabled .brand-row-legacy-disabled{
    flex-direction:row !important;
    justify-content:space-between !important;
    align-items:center !important;
  }

  .site-header-legacy-disabled .brand-right-legacy-disabled{
    justify-content:flex-end !important;
  }
}
cat >> /var/www/jovenes-talento/public/static/public/styles.css <<'EOF'

/* ===== Antídoto: no estirar imágenes en el header ===== */
.site-header-legacy-disabled img,
#logo-jct, #logo-seed, #logo-gigante{
  width: auto !important;
  max-width: none !important;
  height: auto;
}
EOF

/* =========================
   HEADER (FINAL) — tamaños y alineación
   ========================= */
.site-header-legacy-disabled .brand-row-legacy-disabled{
  display:flex !important;
  align-items:center !important;
  gap:16px !important;
}

.site-header-legacy-disabled .brand-right-legacy-disabled{
  margin-left:auto !important;
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}

/* Tamaños finales (ajusta aquí) */
.site-header-legacy-disabled #logo-jct{ height:56px !important; width:auto !important; }
.site-header-legacy-disabled #logo-seed{ height:40px !important; width:auto !important; }
.site-header-legacy-disabled #logo-gigante{ height:52px !important; width:auto !important; }

/* Antídoto contra reglas globales de img */
.site-header-legacy-disabled img{
  max-width:none !important;
  object-fit:contain !important;
  display:block !important;
}

/* ===== FIX WEB: header en una sola fila y derecha al tope ===== */
.site-header-legacy-disabled .brand-row-legacy-disabled{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:space-between !important;
  flex-wrap:nowrap !important;
  width:100% !important;
}

.site-header-legacy-disabled .brand-right-legacy-disabled{
  margin-left:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  flex-wrap:nowrap !important;
  gap:14px !important;
}

/* ===== Tamaños finales (forzado) ===== */
.site-header-legacy-disabled .brand-left-legacy-disabled #logo-jct{ height:56px !important; width:auto !important; }
.site-header-legacy-disabled .brand-right-legacy-disabled #logo-seed{ height:40px !important; width:auto !important; }

/* SUBE AQUÍ el tamaño de Gigante */
.site-header-legacy-disabled .brand-right-legacy-disabled #logo-gigante{ height:60px !important; width:auto !important; }

/* Antídoto contra reglas globales de img */
.site-header-legacy-disabled img{
  max-width:none !important;
  width:auto !important;
  display:block !important;
  object-fit:contain !important;
}
/* MARK-HEADER-1770732826 */
/* MARK-A-1770733574 */
