html{
    scroll-behavior: smooth;
}

body{
    background-color: #FAFCFE;
    overflow-x: hidden;
}

main {
    max-width: 1600px;
    margin: auto;
}

:root{
    --navy:      #021942;
      --navy-dark: #091428;
      --cyan:      #00AFEF;
      --cyan-dark: #0D67A5;
      --white:     #ffffff;
      --grey: #828181;
      --grey-tit: #3D3D3D;
}

/* HERO */

header{
    background-image: url("../images/nosotros-hero.webp");
    background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 420px;
  position: relative;
}

.hero{
    margin: 0px 10px;
    padding: 140px 10px 180px 10px;
}

.hero-content{
  max-width: 720px;
  margin: auto;
}

.hero-content h1{
    color: var(--white);
    font-size: 16px;
    font-variant: small-caps;
    left: 2px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
}

.hero-content div p:first-of-type{
    color: var(--white);
    font-size: 36px;
    letter-spacing: 2px;
    font-weight: bolder;
    text-align: center;
    margin-bottom: 34px;
    line-height: 1;
}

.hero-content div p:first-of-type span{
    background: linear-gradient(135deg, #00AFEF 70%, #78CFEA 100%);
    -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p:first-of-type{
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--white);
    line-height: 1.5;
    text-align: center;
    margin-bottom: 34px;
}



.btn-relleno,
.btn-banner-cta{
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 12px 30px;
  border-radius: 16px;
  color: white;
  font-variant: small-caps;
  align-items: center;
    justify-content: center;
    max-width: 280px;
    transition: transform 0.25s ease;
    cursor: pointer;
    background: linear-gradient(135deg, #0D67A5 70%, #00AFEF 100%);
}

.btn-relleno:hover,
.btn-banner-cta:hover{
  transform: translate(2px, -2px);
}

.ctas-hero{
      display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 74px;
}

.btn-transparente{
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 8px 26px;
  border: 1px solid var(--cyan);
  border-radius: 16px;
  color: white;
  font-variant: small-caps;
  align-items: center;
    justify-content: center;
    max-width: 320px;
    transition: transform 0.25s ease;
    cursor: pointer;
}

.btn-transparente:hover{
  transform: translate(2px, -2px);
}

/* CAJA VALORES */

.secc-caja-valores{
  position: relative;
  z-index: 20;
  margin-top: -60px;
  display: flex;
    justify-content: center;
}

.caja-valores{
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: var(--white);
  border-radius: 40px;
  padding: 36px 26px;
  box-shadow: 0 8px 24px rgba(110, 130, 145, 0.25);
  margin: 0 16px;
}

.caja-valores div{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.caja-valores div img{
  width: 54px;
  height: auto;
}

.caja-valores div p{
  color: var(--navy-dark);
  font-size: 34px;
  font-weight: bolder;
  line-height: 16px;
}

.caja-valores div p span{
  color: var(--grey);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 400;
  line-height: 0;
}

/* MISION */

 .servicios-secc{
      margin: 84px 16px;
    }

    .servicios-secc div{
      max-width: 1200px;
    }

.servicios-tit{
      color: var(--grey-tit);
      font-size: 46px;
      letter-spacing: 1px;
      font-weight: bold;
      padding-bottom: 18px;
      position: relative;
    display: inline-block;
    margin-bottom: 64px;
    line-height: 1;
    max-width: 680px;
    }

    .servicios-tit::after{
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 76px;
      height: 4px;
      background-color: var(--cyan-dark);
    }

     .servicios-tit span{
       background: linear-gradient(135deg, #115A91 0%, #00AFEF 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .servicios-txt{
    color: var(--grey-tit);
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1.5;
    max-width: 720px;
    }

    /* TARJETAS MISION */

    .tarjetas-div{
        margin: 84px 10px;
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .tarjeta{
        border-radius: 40px;
        box-shadow: 0 8px 24px rgba(110, 130, 145, 0.25);
        background-color: white;
        max-width: 348px !important;
        padding: 40px;
    }

    .tarjeta-content img{
        margin-bottom: 10px;
    }


    .tarjeta-content h3{
        color: var(--navy);
        font-size: 18px;
        letter-spacing: 3px;
        font-variant: small-caps;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .tarjeta-content p{
        color: var(--grey-tit);
        font-size: 22px;
        letter-spacing: 1px;
        font-weight: bold;
        position: relative;
    }

    .tarjeta-content p::after{
      content: "";
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 36px;
      height: 4px;
      background-color: var(--cyan-dark);
    }

    .tarjeta-txt{
        color: var(--grey-tit);
        font-size: 16px;
        letter-spacing: 1px;
        line-height: 1.5;
        margin-top: 36px;
    }


    /* TARJETA EQUIPO */

    .tarjetas-equipo-div{
        margin: 34px 0 84px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .tarjeta-equipo{
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-radius: 40px;
        max-width: 346px !important;
        width: 100%;
    }

    .tarjeta-equipo img{
        border-radius: 40px 40px 0 0;
        max-width: 346px;
        width: 100%;
        height: auto;
        display: block;
    }

    .tarjeta-equipo-content{
        padding: 40px;
    }

    .tarjeta-equipo-content h3{
        font-size: 22px;
        color: var(--grey-tit);
        letter-spacing: 1px;
        font-weight: bold;
        margin-bottom: 4px;
    }

    .tarjeta-equipo-content p:nth-of-type(1){
        color: var(--navy);
        font-size: 16px;
        letter-spacing: 1px;
        font-weight: bold;
        margin-bottom: 22px;
    }

    .tarjeta-equipo-content p:nth-of-type(2){
        color: var(--grey-tit);
        font-size: 16px;
        letter-spacing: 1px;
        line-height: 1.5;
    }

    .tarjeta-equipo-content a{
        display: flex;
    justify-content: center;
    }

    .tarjeta-equipo-content a i{
        font-size: 24px;
        color: var(--navy);
        margin-top: 34px;
    }

    .tarjeta-equipo-content a i:hover{
        color: var(--cyan-dark);
    }

/* ALIANZAS */

.alianzas-h2{
    text-align: center;
    color: var(--grey-tit);
  font-size: 36px;
  letter-spacing: 1px;
  font-weight: bold;
  padding-bottom: 18px;
  position: relative;
  margin-bottom: 64px;
  line-height: 1;
}

.alianzas-h2 span{
    background: linear-gradient(135deg, #00AFEF 70%, #78CFEA 100%);
    -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.alianzas-h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 76px;
  height: 4px;
  background-color: var(--cyan-dark);
}

.alianzas-logos{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 34px;
}

.alianzas-logos li img{
    height: 44px;
    width: auto;
}

.alianzas-logos li p{
  font-size: 12px;
  color: gray;
  font-style: italic;
  text-align: center;
  margin-top: 12px;
}

/* EMPRESAS */

.empresas-logos{
    max-width: 980px !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: auto;
}

.empresas-logos img{
    height: 44px;
    width: auto;
}




@media (min-width: 768px) {

  /* HERO */

  .header {
    min-height: 520px;
  }


  .ctas-hero{
    flex-direction: row;
    justify-content: center;
    margin-top: 64px;
  }

/* CAJA DE VALORES */

.caja-valores{
  flex-direction: row;
    padding: 26px 64px;
    max-width: 800px;
}

/* MISION */

.servicios-secc{
      margin: 84px 60px;
    }

/* ALIANZAS */

.alianzas-logos li img{
    height: 54px;
}
}

@media (min-width: 1024px) {

  /* HERO */

  .header {
    min-height: 620px;
  }

  .hero{
    padding: 200px 10px 180px 0px;
        max-width: 800px;
        margin: auto;
}

  .hero-content h1,
  .hero-content p:first-of-type,
  .hero-content div p:first-of-type{
    text-align: left;
  }

  .ctas-hero{
    justify-content: left;
    padding-bottom: 80px;
  }

  .hero-content {
    margin: 0;
  }

  /* MISION */

  .servicios-secc{
      margin: 84px 84px;
    }
}


@media (min-width: 1240px) {

   /* MISION */

    .servicios-secc{
      margin: 160px auto;
        max-width: 1200px;
        justify-content: flex-start;
    }


}


@media (min-width: 1440px) {

  /* HERO */

  .header {
    min-height: 720px;
  }

}

