:root{
  --blue:#0b4f8a;
  --green:#2fa866;
  --orange:#f28c28;
  --dark:#102a43;
  --light:#f6fbff;
  --white:#fff;
  --gray:#637381;
  --shadow:0 18px 50px rgba(16,42,67,.12);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--dark);
  background:var(--white);
  line-height:1.6;
}

.container{
  width:min(1320px,95%);
    margin:auto;
}

.header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  z-index:100;
  box-shadow:0 3px 20px rgba(0,0,0,.06);
}

.nav{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--blue);
  font-weight:800;
}

.logo{
  width:54px;
  height:54px;
  object-fit:contain;
}

.menu{
  display:flex;
  align-items:center;
  gap:12px;
  list-style:none;
  margin:0;
  padding:0;
}

.menu a{
  text-decoration:none;
  color:var(--dark);
  font-weight:700;
  font-size:.92rem;
}

/*=====================================
BOTONES
=====================================*/

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:13px 28px;
    border:none;
    border-radius:999px;
    text-decoration:none;
    font-size:.95rem;
    font-weight:700;
    cursor:pointer;
    transition:all .30s ease;
}

.primary{
    background:var(--orange);
    color:#fff !important;
    box-shadow:0 8px 20px rgba(242,140,40,.25);
}

.primary:hover{
    background:#e57d17;
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(242,140,40,.35);
}
.secondary{
    background:#fff;
    color:var(--blue) !important;
    border:2px solid #d7e8f7;
    box-shadow:none;
}

.secondary:hover{
    background:var(--blue);
    color:#fff !important;
    border-color:var(--blue);
    transform:translateY(-2px);
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  font-size:30px;
}

.hero{
  padding:80px 0;
  background:linear-gradient(135deg,#e9f7ff,#ffffff 55%,#eaf8ef);
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}

.eyebrow,
.section-label{
  display:inline-block;
  text-transform:uppercase;
  letter-spacing:4px;
  color:var(--green) !important;
  font-weight:900;
  font-size:.9rem;
  margin-bottom:18px;
}

.hero h1{
  font-size:clamp(2.2rem,5vw,4.3rem);
  line-height:1.05;
  margin:14px 0;
  color:var(--blue);
}

.hero p{
  font-size:1.1rem;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin-top:30px;
}

.slider{
  height:440px;
  position:relative;
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#d8e8f5;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:.8s;
}

.slide.active{
  opacity:1;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.slider-dots{
  position:absolute;
  bottom:18px;
  left:0;
  right:0;
  display:flex;
  justify-content:center;
  gap:8px;
}

.slider-dots button{
  width:10px;
  height:10px;
  border-radius:50%;
  border:0;
  background:#ffffff99;
}

.slider-dots button.active{
  background:var(--orange);
  transform:scale(1.3);
}

.section{
  padding:78px 0;
}

.two-cols,
.results-grid,
.contact-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:44px;
}

.section h2{
  font-size:clamp(2rem,4vw,3rem);
  margin:0 0 18px;
  color:var(--blue);
}

.programs{
    background:#ffffff;
}

.results{
    background:#eef7ff;
}

.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:30px;
}

.card,
.result-card,
.data-panel,
.policy,
.logo-card{
  background:white;
  border-radius:22px;
  padding:24px;
  box-shadow:var(--shadow);
  border:1px solid #e7eef5;
}
.card{
    transition:.35s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 45px rgba(16,42,67,.15);
}

.card-icon{
  display:block;
  margin-bottom:15px;
}

.card-icon img{
  width:64px;
  height:64px;
  object-fit:contain;
}

.card h3{
  color:var(--blue);
}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:end;
  margin-bottom:24px;
}

.policy-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:15px;
}

.policy{
  text-align:center;
  text-decoration:none;
  color:var(--blue);
  font-weight:900;
}

.policy:hover,
.logo-card:hover{
  transform:translateY(-4px);
}

.stats{
  background:linear-gradient(135deg,var(--blue),#08345d);
  color:white;
  padding:42px 0;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  text-align:center;
}

.stats strong{
  font-size:3rem;
  color:#fff;
}

.stats span{
  display:block;
}

.logos-grid{
  display:grid;
  grid-template-columns:repeat(2,220px);
  gap:20px;
  margin-top:28px;
}

.logo-card{
  cursor:pointer;
  border:none;
  text-align:center;
}

.logo-card img{
  height:76px;
  max-width:150px;
  object-fit:contain;
  display:block;
  margin:0 auto 12px;
}

.powerbi-box{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:22px;
  background:#edf6ff;
  border:1px solid #d7e8f7;
  border-radius:26px;
  padding:24px;
}

.map-layout{
  align-items:stretch;
}

.colombia-map-card{
  background:linear-gradient(180deg,#ffffff,#f7fcff);
  border:1px solid #d7e8f7;
  border-radius:24px;
  padding:18px;
  box-shadow:var(--shadow);
}

.map-toolbar{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-bottom:8px;
  color:var(--blue);
}

.map-toolbar span{
  font-size:.9rem;
  color:var(--gray);
}

.map-note{
  font-size:.9rem;
  color:var(--gray);
  text-align:center;
  margin:8px 0 0;
}

.mapa-svg-box{
  width:100%;
  max-width:520px;
  margin:10px auto;
  background:#fff;
  border-radius:18px;
  padding:10px;
  overflow:hidden;
}

.mapa-colombia-svg{
  width:100%;
  min-height:620px;
}

.mapa-colombia-svg svg{
  width:100%;
  height:620px;
  display:block;
}

.mapa-colombia-svg path{
  cursor:pointer;
  pointer-events:all;
  transition:fill .2s ease, filter .2s ease, stroke-width .2s ease;
}

.data-panel h3{
  margin-top:0;
  color:var(--blue);
}

.data-metric{
  display:flex;
  justify-content:space-between;
  gap:18px;
  border-bottom:1px solid #e7eef5;
  padding:10px 0;
}

.data-metric strong{
  text-align:right;
  color:var(--blue);
}

.contact{
  background:linear-gradient(135deg,#f7fbff,#eef9f2);
}

.form{
  display:grid;
  gap:14px;
  background:white;
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
}

.form input,
.form textarea{
  width:100%;
  border:1px solid #d9e4ec;
  border-radius:14px;
  padding:14px;
  font:inherit;
}

.footer{
  background:#071d33;
  color:white;
  padding:24px 0;
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:20px;
}

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:200;
}

.modal.show{
  display:flex;
}

.modal-content{
  background:white;
  border-radius:24px;
  padding:30px;
  max-width:520px;
  width:100%;
  position:relative;
}

.modal-close{
  position:absolute;
  right:18px;
  top:12px;
  border:none;
  background:none;
  font-size:32px;
  cursor:pointer;
}

.modal-stats{
  display:grid;
  gap:12px;
}

.modal-stats div{
  background:var(--light);
  padding:14px;
  border-radius:14px;
}

@media(max-width:900px){
  .menu{
    position:absolute;
    top:78px;
    left:0;
    right:0;
    background:white;
    display:none;
    flex-direction:column;
    padding:24px;
    box-shadow:var(--shadow);
  }

  .menu.show{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .hero-grid,
  .two-cols,
  .results-grid,
  .contact-grid,
  .powerbi-box{
    grid-template-columns:1fr;
  }

  .cards{
    grid-template-columns:1fr 1fr;
  }

  .policy-grid{
    grid-template-columns:1fr 1fr;
  }

  .logos-grid{
    grid-template-columns:1fr 1fr;
  }

  .slider{
    height:320px;
  }

  .mapa-colombia-svg,
  .mapa-colombia-svg svg{
    min-height:560px;
    height:560px;
  }
}

@media(max-width:580px){
  .cards,
  .policy-grid,
  .stats-grid,
  .logos-grid{
    grid-template-columns:1fr;
  }

  .section-head,
  .footer-grid{
    display:block;
  }

  .hero{
    padding:50px 0;
  }

  .nav{
    height:70px;
  }

  .brand span{
    font-size:.9rem;
  }

  .mapa-colombia-svg,
  .mapa-colombia-svg svg{
    min-height:500px;
    height:500px;
  }
}

#google_translate_element{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:9999;
    background:white;
    padding:10px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.project-real-list{
  max-height:520px;
  overflow-y:auto;
  padding-right:8px;
}

.project-real-card{
  background:#f6fbff;
  border:1px solid #d7e8f7;
  border-radius:14px;
  padding:12px;
  margin-bottom:12px;
}

.project-real-card h4{
  margin:0 0 8px;
  color:#0b4f8a;
  font-size:.95rem;
}

.project-real-card p{
  margin:0;
  font-size:.88rem;
  line-height:1.45;
}

.map-help{
  color:#637381;
  font-size:.9rem;
}


/*=========================
  NUESTRA HISTORIA
==========================*/

.historia{
    padding:95px 0;
    background:linear-gradient(135deg,#eef7ff,#f7fcff);
}

.historia-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:start;
}

.section-tag{
    display:inline-block;
    color:#2fa866;
    font-weight:900;
    letter-spacing:4px;
    font-size:.9rem;
    text-transform:uppercase;
    margin-bottom:20px;
}

.historia-texto h2{
    font-size:clamp(2.4rem,4vw,3.5rem);
    color:#0b4f8a;
    line-height:1.12;
    margin:0 0 28px;
}

.historia-texto p{
    font-size:1.03rem;
    color:#405466;
    line-height:1.85;
    margin-bottom:18px;
}

.historia-texto strong{
    color:#102a43;
    font-weight:800;
}

.historia-bloque{
    margin-top:34px;
    padding-top:24px;
    border-top:3px solid #2fa866;
}

.historia-bloque h3{
    color:#0b4f8a;
    font-size:1.35rem;
    margin:0 0 16px;
}

.historia-columna-derecha{
    padding-top:95px;
}

.historia-bloque-derecha{
    margin-top:0;
}

@media(max-width:900px){

    .historia-container{
        grid-template-columns:1fr;
        gap:30px;
    }

    .historia-columna-derecha{
        padding-top:0;
    }

    .historia-texto{
        text-align:left;
    }

}

#politicas{
    background:#eef7ff;
}
/*=========================================
DASHBOARD NUEVO
=========================================*/

.dashboard-intro{
    max-width:900px;
    margin-bottom:30px;
    color:#4b5b6b;
    font-size:1.05rem;
    
}

.dashboard-filters{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;margin:30px 0 40px;
    
}

.dashboard-filters select{
    width:100%;
    height:52px;
    padding:14px 16px;
    border-radius:14px;
    border:1px solid #d7e4ef;
    background:#fff;
    font-size:.95rem;
    transition:.25s;
    
}
.dashboard-filters select:focus{
    outline:none;border-color:#0b4f8a;
    box-shadow:0 0 0 4px rgba(11,79,138,.12);
}

.dashboard-kpis{
    display:grid;grid-template-columns:repeat(4,1fr);
    gap:22px;
    margin-bottom:35px;
    
}

.kpi-card{

    background:#fff;

    border-radius:20px;

    padding:26px;

    text-align:center;

    box-shadow:0 12px 30px rgba(16,42,67,.08);

    border:none;

    transition:.3s;

}

.kpi-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 40px rgba(16,42,67,.14);

}

.kpi-numero{

    font-size:2.8rem;

    font-weight:700;

    color:#0b4f8a;

    margin-bottom:8px;

}

.kpi-texto{

    font-size:1rem;

    color:#637381;

}
.kpi-card strong{
    display:block;
    margin-top:10px;
    font-size:2.4rem;
    color:#0b4f8a;
    
}
.kpi-card span
{color:#637381;
font-size:.95rem;
}

.dashboard-grid{
    display:grid;grid-template-columns:repeat(2,1fr);
    gap:25px;
    margin-bottom:30px;
}

.dashboard-card{background:#fff;
border-radius:22px;
padding:24px;
box-shadow:0 12px 30px rgba(16,42,67,.08);
    
}
.dashboard-card h3{
    font-size:22px;
    margin-bottom:18px;
    color:#0b4f8a;
    
}
.dashboard-card canvas{
    width:100%!important;
    height:300px!important;
}

.dashboard-table{
    margin-top:10px;
    
}
.table-responsive{overflow-x:auto;}

.dashboard-table table{
    width:100%;
min-width:900px;
border-collapse:collapse;
    
}
.dashboard-table thead{
    background:#0b4f8a;
    color:#fff;
    
}
.dashboard-table th,.dashboard-table td{
    padding:14px;
    border-bottom:1px solid #edf2f7;
    text-align:left;font-size:.92rem;
    
}
.dashboard-table tbody tr:hover{
    background:#f7fbff;
    
}

@media(max-width:1100px){
.dashboard-filters,.dashboard-kpis,.dashboard-grid{grid-template-columns:repeat(2,1fr);}

}
@media(max-width:768px){
.dashboard-filters,.dashboard-kpis,.dashboard-grid{grid-template-columns:1fr;}
.dashboard-card canvas{height:260px!important;
    
}
}
/*=====================================
VISTA PREVIA DEL DASHBOARD
=====================================*/

.results-preview{

    background:#f7fbff;

    text-align:center;

    padding:90px 0;

}

.results-preview .container{

    max-width:850px;

}

.results-preview h2{

    margin-bottom:20px;

}

.results-preview p{

    color:#637381;

    font-size:1.1rem;

    line-height:1.8;

    margin-bottom:35px;

}

.results-preview .btn{

    padding:15px 34px;

    font-size:1rem;

}
/*==============================
MENÚ ACTIVO
==============================*/
.menu a{

    position:relative;

    color:var(--dark);

    text-decoration:none;

    font-weight:700;

    padding:8px 2px;

    transition:.3s;

}

.menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    background:var(--green);

    border-radius:30px;

    transition:.3s;

}

.menu a:hover{

    color:var(--blue);

}

.menu a:hover::after{

    width:100%;

}

.menu a.active{

    color:var(--blue);

}

.menu a.active::after{

    width:100%;

}
/* Contacto en naranja */

.menu a[href="#contacto"],
.menu a[href="index.html#contacto"]{

    color: var(--orange);

}
.menu a[href="#contacto"]:hover,
.menu a[href="index.html#contacto"]:hover{

    color: var(--orange);

}
.aliados-carousel{
  position:relative;
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:35px;
}

.aliados-track-container{
  overflow:hidden;
  width:100%;
}

.aliados-track{
  display:flex;
  gap:22px;
  transition:transform .5s ease;
}

.aliado-slide{
  min-width:310px;
  height:180px;
  background:#fff;
  border-radius:24px;
  box-shadow:0 12px 30px rgba(16,42,67,.10);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:22px 26px;
  border:1px solid #e7eef5;
  cursor:pointer;
  flex-shrink:0;
}

.aliado-slide img{
  max-width:140px;
  max-height:78px;
  object-fit:contain;
}

.aliado-slide span{
  color:var(--blue);
  font-weight:700;
  text-align:center;
  font-size:.82rem;
  line-height:1.25;
  max-width:220px;
}

.aliados-arrow{
  width:46px;
  height:46px;
  border-radius:50%;
  border:none;
  background:var(--blue);
  color:white;
  font-size:32px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s;
  flex-shrink:0;
}

.aliados-arrow:hover{
  background:var(--orange);
}
/*=====================================
VISTA PREVIA GALERÍA Y TESTIMONIOS
=====================================*/

.experiencias-preview{
    background:linear-gradient(135deg,#eef7ff,#ffffff);
    text-align:center;
    padding:90px 0;
}

.experiencias-preview .container{
    max-width:900px;
}

.experiencias-preview h2{
    color:var(--blue);
    margin-bottom:20px;
}

.experiencias-preview p{
    color:#637381;
    font-size:1.1rem;
    line-height:1.8;
    margin-bottom:35px;
}

.experiencias-actions{
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
}
/*==============================
FLECHAS DEL CARRUSEL
==============================*/

.slider{
    position:relative;
}

.slider-arrow{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.88);

    color:#0b4f8a;

    font-size:30px;

    font-weight:700;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:50;

    transition:.3s;

    box-shadow:0 10px 25px rgba(0,0,0,.18);

    opacity:0;

}

.slider:hover .slider-arrow{

    opacity:1;

}

.slider-arrow:hover{

    background:#f28c28;

    color:#fff;

    transform:translateY(-50%) scale(1.08);

}

.slider-arrow.prev{

    left:18px;

}

.slider-arrow.next{

    right:18px;

}
.politicas-section{
    background:#eef7ff;
}

.policy-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-top:30px;
}

.policy{
    background:#fff;
    border-radius:20px;
    padding:22px;
    text-align:center;
    text-decoration:none;
    color:var(--blue);
    font-weight:800;
    box-shadow:0 12px 30px rgba(16,42,67,.08);
    border:1px solid #e7eef5;
    transition:.3s;
}

.policy:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(16,42,67,.14);
    color:var(--green);
}

@media(max-width:900px){
    .policy-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:580px){
    .policy-grid{
        grid-template-columns:1fr;
    }
}
/*==============================
AVISO DE COOKIES
==============================*/

.cookie-banner{
    position:fixed;
    left:50%;
    bottom:24px;
    transform:translateX(-50%);
    width:min(1050px,92%);
    background:#ffffff;
    border:1px solid #d7e8f7;
    border-radius:22px;
    box-shadow:0 18px 45px rgba(16,42,67,.22);
    padding:20px 24px;
    z-index:999999;
    display:none;
}

.cookie-banner.show{
    display:block;
}

.cookie-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.cookie-content p{
    margin:0;
    color:#405466;
    font-size:.95rem;
    line-height:1.6;
}

.cookie-actions{
    display:flex;
    gap:12px;
    flex-shrink:0;
}

.btn-cookie{
    border:none;
    border-radius:999px;
    padding:11px 22px;
    font-weight:800;
    cursor:pointer;
    font-size:.9rem;
}

.btn-cookie.accept{
    background:#f28c28;
    color:#fff;
}

.btn-cookie.reject{
    background:#eef7ff;
    color:#0b4f8a;
}

@media(max-width:700px){
    .cookie-content{
        flex-direction:column;
        align-items:flex-start;
    }

    .cookie-actions{
        width:100%;
    }

    .btn-cookie{
        width:100%;
    }
}
.footer-grid{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:24px;
    align-items:center;
}

.footer strong{
    display:block;
    font-size:1.05rem;
    margin-bottom:4px;
}

.footer p{
    margin:0;
    color:#d9e6f2;
    font-size:.9rem;
}

.footer-links{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    justify-content:center;
}

.footer-links a{
    color:#ffffff;
    text-decoration:none;
    font-size:.9rem;
    font-weight:700;
}

.footer-links a:hover{
    color:var(--orange);
}

.footer-grid > p:last-child{
    text-align:right;
}

@media(max-width:800px){
    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-grid > p:last-child{
        text-align:center;
    }
}
/*==============================
QUIÉNES SOMOS + METODOLOGÍA
==============================*/

.quienes-section{
    background:#fff;
}

.quienes-grid{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:50px;
    align-items:center;
}

.quienes-texto p{
    color:#405466;
    font-size:1.05rem;
    line-height:1.8;
}

.quienes-metodologia{
    background:#fff;
    border-radius:28px;
    padding:18px;
    box-shadow:0 18px 50px rgba(16,42,67,.12);
    border:1px solid #e7eef5;
}

.quienes-metodologia img{
    width:100%;
    display:block;
    border-radius:20px;
    transition:.3s;
}

.quienes-metodologia img:hover{
    transform:scale(1.02);
}

.quienes-metodologia p{
    margin:14px 0 0;
    color:#637381;
    font-size:.9rem;
    text-align:center;
}

@media(max-width:900px){
    .quienes-grid{
        grid-template-columns:1fr;
    }
}