:root { 
    /*colores*/
        --primario : #FFF;
        --secundario: rgb(255, 255, 255);
        --terciario:rgb(217, 217, 217);
        
    }   
    
    html {
        box-sizing: border-box;
        font-size: 62.5%; /* 1REM = 10px */
        
        overflow-x: hidden;  
    }
    *, *:before, *:after {
        box-sizing: inherit;
    }
    body {
        font-family: 'Raleway', sans-serif;
        font-size: 1.6rem;
        line-height: 2; 
        overflow-x: hidden;   
    }

    
    /* Globales */
    h1, 
    h2, 
    h3 {
        font-family: 'Playfair Display SC', serif;
        margin: 0 0 2rem 0;
    }
    
    h1 {
        font-size: 3.8rem;
    }
    @media (min-width: 768px) { 
        h1 {
            font-size: 5rem;
        }
    }
    
    h2 {
        font-size: 3.2rem;
    }
    @media (min-width: 768px) { 
        h2 {
            font-size: 4rem;
        }
    }
    
    h3 {
        font-size: 2.4rem;
    }
    @media (min-width: 768px) { 
        h3 {
            font-size: 3rem;
        }
    }    
    a {
        text-decoration: none;
        color: #000;
    }    
    img {
        max-width: 100%;
        display: block;
    }    
    [class$="__contenedor"] {
        max-width: 120rem;
        margin: 0 auto;
        width: 90%;
    }
    
    
    
    
    /*Header*/
    
    .header {
        background-color: rgb(255, 254, 254);      
    }
    @media screen and (min-width: 960px) { 
         .header {
            max-width: 150rem;
            margin: 0 auto;
            width: 90%;
         }
    }
    
    /*
    .header__contenedor--header {
        max-width: 135rem;
        margin: 0 auto;
        width: 90%;
    }    */
    
    .header__grid {
        height: 14rem;
    }
    @media screen and (min-width: 960px) { 
        .header__grid {
            display: grid;
            gap: 1rem;
            grid-template-columns: 1fr 2fr;
            align-items: center;
        }
    }  
    .header__logo{    
        margin: 0 auto;
        margin-top: 1rem;
        height: 10rem;
    }
    @media (min-width: 760px) { 
        .header__logo{
            height: 10rem;
        }
    }    
    .header__texto {
        font-size: 1.5rem;
        color: rgb(88, 85, 85);
        margin:0;
        text-align: center;
        text-transform: uppercase;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        
     }
    @media (min-width: 960px) { 
         .header__texto {
            text-transform: uppercase;
            font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
            font-size: 2rem;
            
         }
    }
    .header__contenido {
        width: 15rem;
    }
    @media (min-width: 960px) { 
        .header__contenido {
            width: 36rem;
            display: flex;
            align-items: center;
        }
    }       
    .header__lista {
        
        background-color: var(--primario);
        text-align: center;
        margin-top: 1rem;
        display: flex;
        align-items: center;
        flex-direction: column;
        transition: transform 0.3s;
        transform: translateX(100%); 
        position: relative;
        z-index: 2;   
    }
    .header__lista--show {
        transform: translateX(0);     
    }
   
    @media (min-width: 960px) { 
        .header__lista {
            padding: 0;
            flex-direction: row;
            align-items: center;
            margin: 0;
            line-height: 1.3;
            text-align: center;
            justify-content: space-around;
            transform: translateX(0);
        }
        .toggle-menu {
            display: none;
        }
    } 
    .toggle-menu img {
        width: 5rem;
    }
    .toggle-menu {
        position: absolute;
        top: 4rem;
        right: 2rem;
        cursor: pointer;
    } 
    @media screen and (min-width: 500px) { 
        .toggle-menu img {
            width: 8rem;
        }
        .toggle-menu {
            position: absolute;
            top: 3rem;
            right: 6rem;
            cursor: pointer;
        } 
    } 
     
    .lista__elemento {
        width: 100%;
        padding: 1rem;
        background-color: var(--primario);
        text-transform: uppercase;
        font-size: 1.5rem;
        font-weight: 600;
        text-decoration: none;
        transition: font-weight, color 0.3s ease-out;    
    }  
    @media screen and (min-width: 960px) { 
        .lista__elemento {            
            width: auto;
            font-weight: 400; 
        } 
    }     
    .lista__elemento:hover {
        color: rgb(66, 69, 223);
        background-image: linear-gradient(rgb(215, 215, 215) 30%, rgb(141, 141, 141) 100%);
        font-weight: 700;
    }
    @media screen and (min-width: 760px) { 
        .lista__elemento:hover {
            color: rgb(66, 69, 223);
            background-image: unset;
            font-weight: 700;
        }
    }    
    .lista__elemento--logo{
        display: inline-block;
        background-repeat: no-repeat;
        background-position: center;
        width: 20rem;
        height: 3rem; 
    }
    .logo-linkedin{  
        background-image: url(../assets/images/icons/linkedin.svg);    
        margin-bottom: 0.5rem;
    }     
    .logo-esp{     
       background-image: url(../assets/images/icons/ESP.png);   
       background-position: center center;
       background-size: 15%;
       margin-bottom: 1rem;
    }
    @media (min-width: 760px) { 
        .logo-linkedin{  
            margin: 1rem 0 2rem 0;  
        }
    }  
    @media (min-width: 960px) { 
        .logo-linkedin{  
            margin: 0;
            width: 5rem;  
        }
        .logo-esp{
            margin: 0; 
            width: 5rem;
            background-size: 50%;    
         }
    }  
    
    
    
    
    
    /*hero*/
    .hero-inicio {
        background-image: url(../assets/images/hero-inicio760.webp);
    }
    .hero-talento {
        background-image: url(../assets/images/hero-talento760.webp);
    }
    .hero-trabajo {
        background-image: url(../assets/images/hero-trabajo.webp);
    }
    .hero {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        height: 45rem;
        overflow: hidden;
    }    

    @media screen and (min-width: 760px) {
        .hero {
            height: 50rem;
            width: 100%;    
        } 
        .hero-inicio {
            background-image: url(../assets/images/hero-inicio.webp);           
        }
        .hero-talento {
            background-image: url(../assets/images/hero-talento.webp);    
        }
        .hero-trabajo {
            background-image: url(../assets/images/hero-trabajo760.webp);
        }
    }

    .hero__contenido {
        width: 90%;
        padding:  2rem 0 2rem 2rem;
        color: var(--primario);
        margin-left: 2rem;    
    }
    .hero__contenido--talento {
        margin: 0 auto;
        margin-top: 7rem;
        color: #000;
        position: relative;
    }
    
    @media (min-width: 760px) { 
        .hero__contenido {
            display: flex;
            flex-direction: column;
            width: 50rem;
            padding-top: 5rem;
        }
        .hero__contenido--talento {
            margin: 0 auto;
            margin-top: 7rem;
            width: 80rem;
        }
        .hero__texto br {
            display: none;
        }
        .hero__texto {
            margin: 0;
        }    
    }
    @media (min-width: 1500px) { 
        .hero__contenido {
            padding-left: 30rem;
            width: 100rem;
        } 
        .hero__contenido--talento {
            padding-left: 10rem;
            width: 110rem;
        }
    }     
    .hero__seleccion {    
        text-transform: uppercase;
        line-height: 1;
        font-size: 4rem;
        font-weight: 500;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }
    .hero__seleccion--talento {
        position: relative;
    }
    @media screen and (min-width: 860px) { 
        .hero__seleccion--talento::before {
            content:'';
            background-image: url(../assets/images/icons/cross.svg);
            background-size: 4.5rem;
            background-repeat: no-repeat;
            background-position: center center;
            height: 4.5rem;
            width:4.5rem;
            position: absolute;
            left: -5rem;
            top: 0.5rem;
        }
    }
    
    @media (min-width: 760px) { 
        .hero__seleccion { 
            font-size: 6rem;
        }
    }    
    .hero__texto {
        font-size: 3rem;
        line-height: 1;
        font-style: italic;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }
    .hero__buttons {
        padding-top: 2rem;
    }    
    @media (min-width: 760px) { 
        .hero__buttons {
            display: flex;
            gap: 2rem;
        }
    }    
    .hero__btn {   
        border: 2px solid var(--primario); 
        display: block;
        color: #FFF;
        text-transform: uppercase;
        font-weight: 400;
        padding: 0.5rem;
        margin-bottom: 1rem;
        transition: font-weight, border-color, color .3s ease-out ;
        text-align: center;
        width: 100%;
    }
    .hero__btn:hover {
       color: #57a6ff;
       border-color: #22359f;
       font-weight: 700;
    }    
    @media (min-width: 768px) { 
        .hero__btn {
            width: auto;
            padding: 1rem ;
        }
    }
    
    
    
    
    /* Section-targets*/
    
    .targets {
        background-color: #d9d9d9 ;
    }
    @media (min-width: 760px) { 
        .targets {
            height: 35rem ;
        }
    }
    .target__grid {
        display: flex;
        flex-direction: column;
        gap: 4rem;
        padding: 3rem 0;
    }
    @media (min-width: 760px) { 
        .target__grid {
            display: flex;
            flex-direction: row;
            padding: 12rem 0 0 0;
            align-items: flex-start;
            justify-content: space-around;
        }
    }
    .target__card-logo {
        height: 10rem;
        width: 10rem;
        background-color: var(--primario);
        border-radius: 50%;
        padding-top: 2rem;
        margin: 0 auto;
    }    
    .target__logo {
        margin: 0 auto;
    }    
    .target__texto {
        text-transform: uppercase;
        font-size: 1.4rem;
        letter-spacing: 3px;
        line-height: 1;
        text-align: center;
        margin:2rem 0 0 0;
    }    
    
    
    
    
    /* Main-Servicios*/
    
    .servicios {
        padding: 2rem 1rem;
    }
    @media (min-width: 1120px) { 
        .servicios__flex {
            margin: 0 auto;
            max-width: fit-content;
            display:grid      
        }
        .servicios__grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            align-items: flex-start;
            margin: 0 auto;
            max-width: 100rem;
        }
    }
    .servicios__header {
        margin-bottom: 1rem;
    }
    @media (min-width: 760px) { 
        .servicios__header {
            position: relative;
            padding-left: 5rem;
        }
    }
    .servicios__heading{
        line-height: 1;
        margin: 0;
        font-size: 4rem;
        font-family: Georgia, 'Times New Roman', Times, serif;
        text-transform: uppercase;
        font-weight: 400;
    }
    @media (min-width: 760px) { 
        .servicios__heading{
            font-size: 5.5rem;
        }
        .servicios__heading::before{
            content:'';
            background-image: url(../assets/images/icons/cross.svg);
            background-size: 4.5rem;
            background-repeat: no-repeat;
            background-position: center center;
            height: 4.5rem;
            width:4.5rem;
            position: absolute;
            left: 0.5rem;
        }
    }
    .servicios__texto{
        font-size: 2rem;
        line-height: 1.5;
        font-weight: 600;
    }
    .servicios__grid-contenido {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 45rem;
        margin: 0 auto;
    }
    .servicios__grid-grafic {
        width: 40rem;
        margin: 0 auto;
    }
    @media (min-width: 1120px) { 
        .servicios__grid-grafic {
            width: 25rem;
            margin: 0 auto;
        }
    }
    .servicios__grid-heading {
        text-align: center;
        line-height: 1;
        margin: 1rem 0;
        font-size: 1.5rem;
        font-family: Georgia, 'Times New Roman', Times, serif;
        color: rgb(66, 66, 66);
        font-style: italic;
    }
    .servicios__grid-text {
        font-weight: 400;
        font-family: Arial, Helvetica, sans-serif;
        text-align: center;
        margin: 0 3rem 2rem 3rem;
        line-height: 1.4;
        font-size: 1.4rem;
    }
    @media (min-width: 1120px) { 
        .servicios__grid-text {
            margin-bottom: 5rem;
        }
    }
    .servicios__btn {
        cursor: pointer;
        display: block;
        text-align: center;
        font-size: 1.2rem;
        font-weight: 600;
        border: 2px solid black;
        padding: 1.5rem 4rem;
        transition: background-color 0.3s ease-out, border-color 0.3s ease-out,color 0.3s ease-out;
    }
    @media (min-width: 760px) { 
        .servicios__btn {            
            display: flex;
            justify-content: center;
            width: 50rem;
            margin: 0 auto;
            padding: 1rem 5rem;
            font-size: 1.4rem;            
        }
    }
    .servicios__btn:hover {
        color: var(--primario);
        background-color: #22359f;
        border-color: #22359f ;
    }  




    /*Main-Talento*/
    .talento {
        padding: 5rem 0;
        font-family: 'Times New Roman', Times, serif;        
        line-height: 1.3;
    }
    .talento__grid {
        display: flex;
        flex-direction: column;
        gap: 10rem;
        max-width: 50rem;
        margin: 0 auto;
    }
    .trabajo__grid {
        gap: 5rem;

    }
    h2:nth-child(2) {
        padding-bottom: 1rem;
        border-bottom:  solid 3px black;
        margin-bottom: 1rem;
    }
    @media screen and (min-width: 1040px) { 
        .talento__grid {
            display: grid;
            max-width: 95rem;
            height: 60rem;        
            margin: 0 auto;
            margin-bottom: 6rem;
            grid-template-columns: repeat(2,1fr);
            grid-template-rows: repeat(2,1fr);
            gap: 5rem;
        }
        .trabajo__grid {
            grid-template-rows: none;
            height: 20rem;
        }
    }
    
    .talento__texto {
        font-size: 1.8rem;
    }
    .talento__heading {
        font-size: 2.9rem;
    }
    .talento_heading--serif {
        margin-top: 1rem;
        font-weight: 400;
    }
    .talento__btn {
        position: absolute;
        margin: 1rem 12rem;        
        background-color: #003d70;
        padding: 1.3rem 2rem;
        color: var(--primario);
        text-transform: uppercase;
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
        
    }
    .trabajo__btn {                
        background-color: gold;
        color: black;
        transition: all 0.3s;
    }
    @media screen and (min-width: 760px) { 
        .trabajo__btn {            
            margin-left: 31rem;
        }
    }
    .trabajo__btn:hover {
        border: solid 1px black;
        background-color: white;
    }
    @media screen and (min-width: 1040px) { 
        .talento__btn--top {
            margin-top: 7.5rem;
        }
    }
    
    
    
    /*Section-contacto*/
    
    .contacto {
        padding: 3rem 2rem;
        background-color: rgb(24, 24, 24);
        color: var(--primario);
    }
    .contacto__heading {
        line-height: 1;
        margin: 2rem 0;
        font-size: 4rem;
        font-family: Georgia, 'Times New Roman', Times, serif;
        text-transform: uppercase;
        font-weight: 400;
        position: relative;
    }
    .contacto__heading::before {
            content: '';
            background-image:url(../assets/images/icons/cross\ blanco.svg);
            background-repeat: no-repeat;
            width: 3.5rem;
            height: 3.5rem;
            background-size: 3.5rem;
            background-position: center center;
            position: absolute;
            left: -3.5rem;
            top: 0.2rem;
        }
    .contacto__texto,
    .formulario__texto {
        font-size: 2rem;
        margin: 3rem 0;
        line-height: 1;
        font-style: italic;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }
    .telefono,
    .email {
        color: var(--primario);
        position: relative;
        display: block;
        padding: 1rem 5rem;
    }  
    .telefono::before,
    .email::before {
        content: '';
        background-repeat: no-repeat;
        background-position: center center;
        position: absolute;
        width: 3rem;
        height: 3rem;
        background-size: 3rem;
    }
    .telefono::before {
        background-image: url(../assets/images/icons/phone-solid.svg);
        left: 1rem;
        top: 1.5rem;
    }
    .email::before {
        background-image: url(../assets/images/icons/mail.svg);
        left: 1rem;
        top: 1rem;
    }
    @media (min-width: 1220px) { 
         .contacto_grid {
            display:grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
         }
    }
    @media (min-width: 500px) { 
        .formulario__grid{
            border: none;
            margin-top: 3rem;
            display: grid;
            align-items: center;
            grid-template-columns: repeat(2, 1fr);
            max-width: 46rem;
        }
    }
    .formulario__contenido {
        border: none;
        padding: 0;
        margin: 0;
    }   
    .formulario__btn {    
        
        font-size: 1.5rem;
        color: var(--primario);
        font-weight: 700;
        padding: 1.2rem;
        line-height: 1;
        font-style: italic;
        font-family: Georgia, 'Times New Roman', Times, serif;
        background-color: #57a6ff;
    }
    @media (min-width: 500px) { 
        .formulario__btn {
            margin-left: 38rem;
        }
    }
    .formulario__btn--amarillo {
        background-color: gold;
    }
    
    
    /* footer*/
    
    .footer {
        font-size: 1.5rem;
    }
    .hero-footer {
        margin-top: 5rem;
        background-image: url(../assets/images/hero-footer-trabajo.webp);
        background-repeat: no-repeat;
        background-position: right;
        height: 22rem;
        
    }
    @media screen and (min-width: 760px) { 
        .hero-footer {
            background-size: cover;            
        }
    }
    .footer--talento {        
        border-top: 1px solid rgb(201, 201, 201);
        margin-top: 3rem;
    }
    .footer__grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }    
    @media screen and (min-width: 500px) { 
        .footer__grid {
            flex-direction: row;
        }
    }
    .footer__email {
        margin: 1rem 0;
    }