/* RESET BÁSICO */



body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'montserrat';
    background-color: #ffffff;


}

* {
    font-style: normal;
    font-family: 'montserrat';
}


#wpadminbar {
    z-index: 99999;
}

.navbar,
header {
    z-index: 1000;
}

h1,
h2,
h3 {
    margin-top: 0;
}

/*------------------------------------------------------------------------------*/
/*--------------------------NAVBAR----------------------------------------------*/



/* MENÚ */
.menu {
    display: flex;
    align-items: center;
    list-style: none;

}

.menu-item {
    text-align: center;



}

.nav-container {
    width: 100%;
    height: 150px;
    background: linear-gradient(to right, #ffffff 0%, #ffffff 50%, #226466 50%, #226466 100%);
    background-color: rgb(253, 253, 253);
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.nav-logo {
    background-color: #184849;
    border-radius: 0, 25%, 25%, 0;
    height: 100%;

}

.nav-menu-container {
    background: linear-gradient(to right, #184849 10%, #1C565A 50%, #226466 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

/*  */
.nav-menu {
    margin-left: -10px;

}


/*LOGO*/

.logo img {
    border-radius: 0, 25%, 25%, 0;
    padding-right: 60px;
}


.logo {

    height: 100%;

    background-color: rgb(253, 253, 253);
    border-radius: 0 80px 80px 0;
    text-align: right;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5%;
}


/* LINKS */
.menu li a {
    text-decoration: none;
    color: rgb(253, 253, 253);
    padding: 20px 20px;
    font-weight: 200;
    font-size: 18px;
    position: relative;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}



/* HOVER */
.menu li a:hover {
    opacity: 0.7;
}

.nav-menu ul {

    margin-right: 0;
    display: flex;
    align-items: center;
}

.nav-menu ul li {
    list-style: none;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 20px 0 20px;

}

/* Línea vertical */


.nav-menu ul li::after {
    content: "";
    position: absolute;
    right: 0;
    width: 1px;
    height: 45px;
    /* ← ALTURA FIJA */
    background-color: #ccc;
    top: 50%;
    transform: translateY(-50%);

}

/* quitar línea al último item */
.nav-menu ul li:last-child::after {
    display: none;
}

/* Línea vertical 
.nav-menu ul li:not(:last-child) {
    border-right: 1.5px solid #ffffff;
    padding-right: 20px;
    margin-right: 20px;


}*/

/* BOTÓN CONTACTO (último ítem) */


.menu li:last-child a {
    background-color: #eeeeee;
    border-radius: 25px;
    padding: 10px 20px 10px 20px;
    color: #194A4B;
    margin-left: 15px;
    font-weight: bold;

}


.nav-menu ul a {
    text-decoration: none;
    color: white;
    font-weight: 400;
}



.weglot-container{
    position: fixed;
    top: 50px;
    right: 10px;
    z-index: 9999;

}


/*------------------------------------------------------------------------------*/
/*--------------------------NOSOTROS----------------------------------------------*/

.nosotros-container {
    width: 100%;

    margin-top: 0px;
    display: block;
    align-items: center;
}

.nosotros-titulo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5%;
    transform: translateY(77%);
    font-style: normal;

}

.nosotros-titulo .titulo-ppal {

    font-size: 80pt;
    font-weight: bolder;
    color: #FFFFFF;
    text-shadow: 2px 2px 3px grey;
    border-right: 7px solid #ffffff;
    padding-right: 60px;
    font-style: normal;
}

.nosotros-titulo .titulo-sec {

    font-size: 40pt;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 2px 2px 3px grey;
    padding-left: 60px;
    font-style: normal;
}

.nosotros-contenido-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 500px;
    /* background: linear-gradient(90deg, #FFCD5C 0%, #1F5D60 21%, #1C565A 58%, #184849 100%);*/
    border-radius: 0 200px 0 0;
  background-color: #ffffff;

   
}

.nosotros-contenido {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5% 0 5% 0;
    margin: 2px;
    width: 80%;

    
}

.nosotros-textos {
    
    text-align: right;
    font-style: normal;
width: 34%;

}

.nosotros-textos h1 {
    color: #1C565A;
    font-size: 40px;
    font-weight: bolder;
    margin-bottom: 0;
    font-style: normal;
    text-align: right;



}

.nosotros-textos h2 {
    color: #FFCD5C;
    font-size: 30px;
    font-weight: bolder;
    margin-top: 0;
    font-style: normal;
    text-align: right;

}

.nosotros-textos p {

    font-size: 22px;
    font-weight: 300;
    margin-bottom: 30px;
    font-style: normal;
    text-align: right;
}

.nosotros-imagenes {
    width: 40%;
    display: flex;
    align-items: center;


}

.nosotros-imagenes-left {
    width: 60%;
    text-align: right;


}

.nosotros-imagenes-left img {
    transform: translateY(-10px);
    max-width: 90%;

}

.nosotros-imagenes-right {
    width: 40%;
    padding-left: 30px;
    text-align: left;
    box-sizing: border-box;

}

.nosotros-imagenes-right img {
    max-width: 80%;
}

.nosotros-imagenes img:last-child {
    margin-top: 30px;

}

.nosotros-imagenes img:hover {
    transition: transform 0.2s;
    transform: translateY(10px);
}

/*----------------------------------------------------------*/

/*-------------------HISTORIA-----------------------------*/

.divisor {
    width: 100%;
    height: 40px;
    background: linear-gradient(45deg, #E8EAEF 0%, #D9DADF 50%, #C2C2C4 100%);
}

.historia-contenido-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #FFCD5C 0%, #1F5D60 21%, #1C565A 58%, #184849 100%);
    border-radius: 0 0 0 200px;
}

.historia-container {
    border-radius: 0 0 0 200px;
    margin: 2px;
    display: block;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(180deg, #184849 0%, #1C565A 50%, #226466 100%);
}

.historia-textos {
    margin: auto;
    width: 63%;
    color: #fff;
    padding-bottom: 100px;
    padding: 0 50px 100px 15px;
}

.historia-textos h1 {
    font-size: 50px;
    font-weight: bold;

}

.historia-textos h2 {
    font-size: 30px;
    margin-top: -30px;
}

.historia-textos p {
    font-size: 24px;
    font-weight: 300;
    margin-top: -20px;
    font-style: normal;

}

/*LINEA DE TIEMPO*/

.historia-linea.animate,
.historia-textos.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Animaciones */
.historia-linea {
    opacity: 0;
    transform: translateY(-180px);
    transition: all 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index:9999;
}

.historia-textos {
    opacity: 0;
    transform: translateY(-240px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}


.timeline {
    margin: auto;
    width: 67%;
    padding: 40px 60px;
    color: #fff;
    position: relative;
    font-family: Arial, sans-serif;
}

.year {
    position: absolute;
    top: 10px;
    font-weight: bold;
    font-size: 32px;
}


.year.end {
    right: 100px;
}

.timeline-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-top: 30px;

}

/* Línea horizontal */
.timeline-track::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 20px;
    background: #e5ecec;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

/* Puntos */
.point {
    background: #e5ecec;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;

        display: flex;
    align-items: center;
    justify-content: center;
}

.point:hover {

    z-index: 9999;

}

.point img {

    


    position: absolute;

    left: 50%;
    top: 50%;                         
    transform: translate(-50%, -50%) scale(0.9);

    border: 5px solid #ececec;
    border-radius: 50%;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;


    
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;


}

.point .xlarge img{
    width: 300px;
    height: 200px;
}

.point:hover img{

    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);

    
}

/* Tamaños */
.small {
    margin-left: -5px;
    width: 68px;
    height: 68px;
}

.medium {
    width: 86px;
    height: 86px;
}

.large {
    width: 106px;
    height: 106px;
}

.xlarge {
    width: 163px;
    height: 163px;
    margin-right: -5px;
}

/* Punto actual */
.point.active {
    background: #e5ecec;
}



/*----------------------------------------------------------*/

/*-------------------QUIENES SOMOS-----------------------------*/

.container-quienes-somos {
    width: 100%;
    margin-top: 150px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.contenido-quienes-somos {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.texto-quienes-somos {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}


.texto-quienes-somos h1 {
    color: #1C565A;
    font-size: 52px;
    font-weight: bolder;
    margin-bottom: 0;
}

.texto-quienes-somos h2 {
    color: #AAC0C1;
    font-size: 36px;
    font-weight: bolder;
    margin-top: 0;
}

.texto-quienes-somos p {
    font-size: 24px;
    font-weight: 300;
    width: 70%;
    font-style: normal;
    text-align: center;
}

.quienes-somos-imagen {
    width: 35%;
    display: flex;
    align-items: center;
    padding-left: 10%;
    box-sizing: border-box;


}

.quienes-somos-imagen img {
    max-width: 80%;
    min-width: 250px;


}

/*----------------------------------------------------------*/



/*-------------------VALORES-----------------------------*/

.container-valores {
    width: 100%;
    margin-top: 40px;
    display: block;
    align-items: center;
    text-align: center;
    padding-bottom: 120px;
}

.valores-divisor-gris {
    width: 60%;
    height: 4px;
    background: linear-gradient(180deg, #184849 0%, #1C565A 50%, #226466 100%);
    margin: 80px auto 120px auto;
}

.container-valores h1 {
    width: 70%;
    font-size: 60px;
    font-weight: 900;
    margin: auto;
    background-image: linear-gradient(to bottom, #FFCD5C 0%, #226466 12%, #1C565A 62%, #184849 100%);
    background-clip: text;
    color: transparent;
    margin-bottom: 80px;
}

.valores-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 70%;
    margin: auto;
}



.valores-card {
    display: grid;
    align-items: center;
    justify-content: space-between;
    justify-items: center;

    width: 340px;
    height: 340px;
    margin: 10px;
    margin-bottom: 50px;
    text-align: center;
    border: 4px solid transparent;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(to bottom, #184849 0%, #1C565A 50%, #226466 100%) border-box;
    border-image-slice: 1;
    border-radius: 10%;
    padding: 20px 20px 20px 20px;

}

.valores-card img {
    height: 120px;
}

.valores-card h2 {
    color: #194B4D;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 0;
}

.valores-card p {
    width: 98%;
    margin: auto;
    font-size: 14px;
    font-style: normal;
}

.valores-card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/*----------------------------------------------------------*/

/*-------------------COOPERACION-----------------------------*/

.container-cooperacion {
    width: 100%;
    height: 705px;
    margin-top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;

}

.container-cooperacion h1 {
    color: #FFFFFF;
    font-size: 80px;
    font-weight: 900;
    width: 75%;
}

.container-cooperacion-texto {
    width: 100%;
    display: block;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;

}

.cooperacion-titulo {
    width: 100%;
    text-align: center;
    padding: 60px 0 0 0;
}

.cooperacion-titulo h1 {
    color: #396B6F;
    font-size: 50px;


}

.cooperacion-contenido {
    display: flex;
    padding: 0;
    width: 57%;
    margin: auto;

}

.cooperacion-parrafo {
    width: 55%;
    font-size: 18px;
    font-weight: 300;
    line-height: 140%;



}

.cooperacion-parrafo b {
    font-weight: bold;
}

.cooperacion-listado {
    width: 45%;
    padding-left: 30px;
    padding-top: 5px;


}

.cooperacion-listado li {
    list-style-position: outside;
    padding-left: 10px;
    font-size: 13px;
    line-height: 130%;
    font-weight: bold;
}

/*----------------------------------------------------------*/

/*-------------------CONTACTOS-----------------------------*/

.contactos-container {
    width: 100%;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: left;
    background: linear-gradient(to right, #184849 0%, #1C565A 50%, #226466 100%);
    color: #ffffff;
    padding: 120px 0 140px 0;
}

.contactos-titulo {
    width: 65%;
    min-width: 65%;
    margin: auto;
    text-align: left;

}

.contactos-titulo h2 {
    font-size: 60px;
    font-weight: bold;

}

.contactos-contenido {
    width: 65%;
    min-width: 65%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: baseline;

}

.contactos-columna {
    display: block;
    align-items: center;
    justify-content: left;
}

.contactos-item {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 15px;

}

.contactos-item p {
    font-size: 24px;
    margin-left: 25px;
    font-weight: 300;
}

.contactos-item a {
    color: #FFFFFF;
}

.contactos-separador {
    width: 3px;
    height: 160px;
    background-color: #FFFFFF;
    margin: 0 45px 0 45px;
}

/*----------------------------------------------------------*/

/*-------------------FOOTER-----------------------------*/

.container-footer {
    width: 100%;

    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    padding: 160px 0 160px 0;
    border-radius: 50px 50px 0 0;
}

.container-footer img {
    width: 303px;
}

.background-footer {
    width: 100%;
    background: linear-gradient(to right, #184849 0%, #1C565A 50%, #226466 100%);
}

/*----------------------------------------------------------*/

/*----------- INVESTIGACIONES / PUBLICACIONES / BIBLIOTECA DIGITAL ----------*/

.investigaciones-intro {
    width: 57%;
    margin: auto;
    text-align: left;
    padding: 60px 0 140px 0;
}

.investigaciones-intro h1 {
    font-size: 62px;
    background-image: linear-gradient(to bottom, #184849 0%, #1C565A 50%, #226466 100%);
    background-clip: text;
    color: transparent;
}

.investigaciones-intro p {
    margin-top: -15px;
    font-size: 31px;
    font-weight: 300;
    width: 100%;
    letter-spacing: -1.5px;
    width: 98%;
}

/* BOTÓN HAMBURGUESA */
.hamburger {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);

    width: 52px;
    height: 42px;

    display: none;
    flex-direction: column;
    justify-content: space-between;

    background: none;
    border: none;
    cursor: pointer;

    padding: 0;
    z-index: 1001;

    overflow: visible;
    /* CLAVE */
}

/* LÍNEAS */

.hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    left: 0;
}

/* Posiciones iniciales */
.hamburger span:nth-child(1) {
    top: 10px;
}

.hamburger span:nth-child(2) {
    top: 25px;
}

.hamburger span:nth-child(3) {
    top: 40px;
}

.no-scroll {
    overflow: hidden;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 18px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 18px;
}

/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*--------------------MEDIA QUERIES-------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/

@media screen and (max-width:1667px) {
    .nosotros-textos p {
        font-size: 22px;
    }

    .texto-quienes-somos h1 {
        font-size: 32px;
    }

    .texto-quienes-somos p {
        font-size: 22px;
        margin-top: 5px;
    }

    .capacitaciones-introduccion h2 {
        font-size: 48px !important;
    }

    .capacitaciones-introduccion p {
        font-size: 28px !important;
    }

    .capacitaciones-imagen img {
        width: 320px !important;
    }

    .capacitaciones-titulo h1 {
        font-size: 64px !important;
    }

    .capacitacion-item {
        padding: 0 !important;
    }

    .cap-codigo {
        margin-left: 20px !important;
    }

    .cap-titulo {
        font-size: 24px !important;
    }

    .cap-separator {
        margin-left: 5px !important;
    }

    .cap-descripcion {
        font-size: 18px !important;
        overflow: hidden !important;
    }
    .areastrabajo-imagen h1 {
        top: 20% !important;
    }

    .areastrabajo-imagen h2 {
        left: 51% !important;
    }

}

@media screen and (max-width:1360px) {

    header{
        height: 150px;
    }


    .nav-logo {
        width: 51%;
         height: 150px;
    }

        .nav-logo img {
        height: 130px;
        
    }

    /*BARRA IDIOMA*/
    .weglot-container{
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 9999;

    }

    /* Mostrar hamburguesa */
    /* HEADER */



    .nav-container {
        height: 150px !important;
        justify-content: space-between;
        padding: 0 20px;
        position: relative;
        z-index: 1000;
        background: linear-gradient(to right, #ffffff 0%, #ffffff 50%, #184849 50%, #226466 100%);
        position: fixed;
    }

    .nav-container.scrolled {
        height: 90px !important;
        background: linear-gradient(to right,  #184849 0%, #226466 100%);
    }

    .nav-container.scrolled .nav-logo {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
         height: 90px !important;
    }

    .nav-container.scrolled .nav-logo img {
        height: 0;
    }

    /* HAMBURGUESA */
    .hamburger {
        display: flex;
    }

    /* CONTENEDOR OVERLAY */
    .nav-menu-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;

        background: linear-gradient(to right,
                #184849 0%,
                #1C565A 50%,
                #226466 100%);

        transform: translateX(-100%);
        transition: transform 0.4s ease;

        display: flex;
        justify-content: center;
        align-items: center;

        z-index: 999;
    }

    .nav-menu-container.active {
        transform: translateX(0);
    }

    /* NAV (el wrapper de wp_nav_menu) */
    .nav-menu {
        width: 100%;
    }

    /* UL */
    .nav-menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0;
        margin: 0;
    }

    /* LI */
    .nav-menu ul li {
        padding: 0;
        font-size: 80px;
    }

    .nav-menu ul li::after {
        display: none;
    }

    /* LINKS */
    .menu li a {
        font-size: 46px;
        font-weight: 300;
        color: white;
    }

    /* BOTÓN CONTACTO */
    .menu li:last-child a {
        background-color: #eeeeee;
        color: #194A4B;
        padding: 14px 32px;
        border-radius: 30px;
        font-weight: bold;
        margin-top: 20px;
    }

    /*NOSOTROS*/

    .nosotros-titulo {
        flex-direction: column;
        transform: translateY(15%);
    }

    .titulo-ppal {
        border-right: none !important;
        padding: 0 !important;
        

    }

    .titulo-sec {
        padding: 0 !important;
    }

    .nosotros-contenido-container {
        margin: auto;
        margin-top: 18%;

    }

    .nosotros-contenido {
        flex-direction: column-reverse;
        border-radius: 0 90px 0 0;
        width: 100%;
    }

    .nosotros-imagenes {
        margin: auto;
        padding: 0;
        width: 80%;
        margin-bottom: 40px;
    }

    .nosotros-textos {
        margin: 0;
        width: 80%;

    }


    /*HISTORIA*/

    .year.start {
        left: 40px;
    }

    .year.end {
        right: 60px;
    }

    .timeline {
        width: 80%;
    }

    .timeline-track {

        margin-top: 30px;
    }

    .timeline-track:before {
        height: 10px;

    }

    .small {
        margin-left: -5px;
        width: 30px;
        height: 30px;
    }

    .medium {
        width: 45px;
        height: 45px;
    }

    .large {
        width: 66px;
        height: 66px;
    }

    .xlarge {
        width: 88px;
        height: 88px;
        margin-right: -5px;
    }

    /*QUIENES SOMOS*/

    .contenido-quienes-somos {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .quienes-somos-imagen {
        padding: 0;
    }

    .texto-quienes-somos {
        width: 80%;
        margin: auto;
        margin-top: 50px;
        text-align: center;
        
    }

    .texto-quienes-somos h1 {
        width: 100%;
        font-size: 48px;
    }

    .texto-quienes-somos p {
        width: 100%;
        font-size: 40px;
    }

    .texto-quienes-somos h2 {
        width: 100%;
        
    }

    .valores-cards{
        width: 90%;
    }

    /*CONTACTOS*/

    .contactos-titulo {
        margin: auto;
        text-align: center;
    }

    .contactos-contenido {
        flex-direction: column;
    }

    .contactos-columna {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .contactos-separador {
        display: none;
    }

    /*CAPACITACIONES*/

    .capacitaciones-introduccion h2{
        font-size: 42px !important;
    }

    .capacitaciones-titulo {
        margin: auto;
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        font-size: 50px !important;
    }

    .search-capacitaciones {
        width: 100% !important;
    }

    .capacitaciones-wrapper {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .capacitacion-card{
        width: 100% !important;
        height: 240px !important;


    }

    .areascards-cards{
        width: 95% !important;
        display: flex;
        flex-direction:row !important;
        justify-content: center !important;

    }

    .areascards-card{
        margin: 20px !important;
    }

    .contador-container{
        padding: 4%  !important;
    }

    .banner-investigaciones p{
        width: 80% !important;
    }

    .areas-trabajo-imagen {
        display: flex;  align-items: center;
    }

     .areastrabajo-imagen h1 {
        font-size: clamp(1.5rem, 4vw, 3rem) !important;
        line-height: 2.8rem !important;
        
     }
    .areastrabajo-imagen h2 {
        left: 46% !important;
        font-size: clamp(1.5rem, 4vw, 3rem) !important;
    }


}


@media screen and (max-width:1028px){

}

@media screen and (max-width:480px){
    
}


