/*------------------------------------*\
 carga de fuentes tipográficas
\*------------------------------------*/

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Noto Sans Light"), url(../fonts/NotoSans-Light.ttf) format("ttf");
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Noto Sans Regular"), url(../fonts/NotoSans-Regular.ttf) format("ttf");
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 500;
  src: local("Noto Sans Medium"), url(../fonts/NotoSans-Medium.ttf) format("ttf");
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Noto Sans Bold"), url(../fonts/NotoSans-Bold.ttf) format("ttf");
}

/*--------------------------------------------*\
estilos globlaes
\*--------------------------------------------*/

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  background-color: #fff;
  font-family: "Noto Sans", sans-serif;
}

.bg-grey {
  background-color: #cbd5e1;
}

.text-gradient-dark {
  background: linear-gradient(to right, #33406a, #7db0ea, #33406a);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
}

.text-gradient-light {
  background: linear-gradient(to right, #7db0ea, #eae2b7, #7db0ea, #7db0ea);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
}

.text-gradient-white {
  background: linear-gradient(to right, #fff, #eae2b7, #fff, #7db0ea);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
}

code {
  background-color: #93c5fd;
  border-radius: 8px;
  color: #334155;
  font-weight: 700;
  padding: 0.1rem 0.4rem 0.1rem 0.4rem;
}

.bg-code {
  background-color: #eae2b7;
}

::marker {
  color: #cbd5e1;
}

/*--------------------------------------------*\
menú navegación
\*--------------------------------------------*/

.navbar {
  background-color: #e2e8f0 !important;
  border: 1px solid #cbd5e1;
  position: fixed;
  width: 100%;
  z-index: 101;
}

.navbar-dark .navbar-toggler {
  border-color: transparent !important;
  color: #334155;
}

.navbar-collapse .navbar-nav {
  display: flex;
  font-size: 1rem;
  min-height: 100vh;
}

.navbar-toggler-icon {
  height: 1.2em;
  width: 1.2em;
}

.navbar-collapse h3 {
  font-weight: 700;
}

.navbar-collapse .navbar-nav img {
  display: inline-block;
  margin-bottom: 0;
  margin-right: 0.4rem;
  width: 40px;
}

.navbar-collapse .navbar-nav a {
  color: #334155 !important;
  font-weight: 500;
  margin-top: 0;
  padding: 0.4em 0 0.4em;
  transition: all ease 0.1s;
}

.navbar-collapse .navbar-nav .nav-link:hover {
  color: #1e293b !important;
  font-weight: 500;
  /* transform: scale(1.04); */
  transform: translateX(10px);
}

.nav-link {
  padding-bottom: 0;
}

.navbar-collapse .navbar-nav li {
  border-bottom: 1px solid #cbd5e1;
  padding: 0.4em 0.6em;
}

.navbar-collapse .navbar-nav li:last-child {
  border-bottom: none;
}

.nav-item .nav-link img {
  width: 28px;
}

.nav-logo {
  display: block;
  padding: 0 8em 0 0;
}

.logo-mobile {
  display: none;
}

@media only screen and (max-width: 400px) {
  .nav-logo {
    display: none;
  }

  .logo-mobile {
    display: block;
    margin-left: 1em;
  }
}

.navbar {
  justify-content: space-between;
}

/*--------------------------------------------*\
contenedores y retículas
\*--------------------------------------------*/

.contenedor {
  margin: 0 auto 0;
  max-width: 1200px;
  padding: 8rem 1rem;
}

@media only screen and (max-width: 920px) {
  .contenedor {
    padding: 4rem 1rem;
  }
}

.intro-reticula {
  display: grid;
  gap: 5rem;
  grid-template-columns: 1fr 400px;
}

@media only screen and (max-width: 940px) {
  .intro-reticula {
    grid-template-columns: 1fr;
  }
}

.reticula {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 400px;
  padding-inline: 1rem;
  position: relative;
}

@media only screen and (max-width: 940px) {
  .reticula {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------*\
secciones
\*--------------------------------------------*/

.portada {
  background-image: url("../img/portafolio_2.jpg");
  background-position: right center;
  background-size: cover;
  height: 800px;
}

.portada::before {
  background: #33406a;
  background: linear-gradient(180deg, rgba(23, 37, 84, 0.5) 0%, rgba(51, 64, 106, 0.85) 30%, rgba(51, 64, 106, 1) 75%);
  bottom: 0px;
  content: "";
  height: 800px;
  left: 0px;
  opacity: 1;
  position: absolute;
  right: 0px;
  top: 0px;
}

@media only screen and (max-width: 920px) {
  .portada::before {
    background: linear-gradient(
      180deg,
      rgba(23, 37, 84, 0.5) 0%,
      rgba(51, 64, 106, 0.85) 30%,
      rgba(51, 64, 106, 1) 75%
    );
    height: 640px;
  }

  .portada {
    height: 640px;
  }
}

.portada-header-box {
  align-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  justify-items: center;
  margin: auto;
  max-width: 1280px;
  padding: 0 2em;
}

.portada_title {
  color: rgba(255, 255, 255, 1);
  flex: 1;
  font-size: clamp(3rem, 1.7087rem + 5.7391vw, 6.3rem);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 0;
  margin-top: 5rem;
  padding-bottom: 0;
  text-align: center;
  z-index: 1;
}

.portada_description {
  display: inline-block;
}

.portada-header-box > div {
  flex: 0 0 100%;
  z-index: 100;
}

@-webkit-keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}

@keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}

.btn-portada {
  background-color: #93c5fd;
  border-radius: 50px;
  color: #1e293b;
  display: block;
  font-size: 1.4em;
  font-weight: 500;
  margin: 2em auto;
  overflow: hidden;
  padding: 0.6em 1.6em;
  position: relative;
  text-align: center;
  transition: all ease 0.2s;
  width: fit-content;
  z-index: 0;
}

.btn-portada:hover {
  background-color: #649fe2;
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.1);
  color: #1e293b;
  font-weight: 500;
  text-decoration: none;
  transform: scale(1.03);
}

.btn-portada::before {
  animation: bgRotate 4s linear infinite;
  background-image: conic-gradient(rgba(234, 226, 183, 1) 0deg, transparent 320deg);
  border-radius: inherit;
  content: "";
  height: 200%;
  left: -50%;
  position: absolute;
  top: -50%;
  transform: translate(-50%, -50%) rotate(0deg);
  width: 200%;
  z-index: -2;
}

.btn-portada::after {
  background: #7db0ea;
  border-radius: 50px;
  content: "";
  height: calc(100% - 2px);
  left: 1px;
  position: absolute;
  top: 1px;
  width: calc(100% - 2px);
  z-index: -1;
}

@keyframes bgRotate {
  100% {
    transform: rotate(1turn);
  }
}

.intro-bg {
  background-color: #33406a;
}

.intro {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.9rem, 0.822rem + 0.3902vw, 1rem);
  font-weight: 400;
  line-height: 1.8;
}

.intro-sidebar {
  background-color: #eae2b7;
  border-radius: 8px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  color: #334155;
  font-weight: 400;
  padding: 2rem;
}

.intro-lista {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.intro-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

.intro-lista li {
  align-items: center;
  border-radius: 8px;
  display: flex;
  font-size: clamp(0.9rem, 0.822rem + 0.3902vw, 1rem);
  gap: 1rem;
  line-height: 1.8;
}

.intro-lista img {
  display: block;
  margin: 0 1rem 0 0;
  width: 60px;
}

@media only screen and (max-width: 1240px) {
  .intro {
    padding: 0rem;
  }

  .intro-sidebar {
    padding: 1.4rem;
  }
}

.secciones-container {
  display: grid;
  gap: 1.6em;
  grid-template-columns: 1fr 1fr;
  padding: 0 0 6rem;
}

.secciones-item {
  background-color: #e2e8f0;
  border-radius: 8px;
  position: relative;
  transition: all ease 0.15s;
}

.secciones-item img {
  border-radius: 8px 8px 0 0;
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  z-index: 0;
}

.secciones-text {
  color: #334155;
  display: block;
  font-size: clamp(0.9rem, 0.822rem + 0.3902vw, 1rem);
  font-weight: 500;
  padding: 2em 1em 2em;
  text-align: center;
  transition: all ease 0.06s;
  width: 100%;
}

.secciones-text span {
  line-height: 1.3;
}

.secciones-item:hover {
  background-color: #eae2b7;
  box-shadow: rgba(149, 157, 165, 0.3) 0px 8px 24px;
  color: #1e293b;
  /* filter: saturate(140%); */
  text-decoration: underline;
  transform: scale(1.02);
}

.secciones-item:hover img {
  filter: saturate(150%);
}

@media only screen and (min-width: 640px) {
  .secciones-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media only screen and (min-width: 920px) {
  .secciones-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contenido {
  border-right: 1px solid #cbd5e1;
  color: #334155;
  font-size: clamp(0.9rem, 0.8667rem + 0.1667vw, 1rem);
  line-height: 1.8;
  padding-bottom: 4rem;
  padding-right: 5rem;
  z-index: 100;
}

.contenido-title {
  color: #77d2fc;
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 1em;
}

.contenido-subtitle {
  font-size: clamp(1.5rem, 1.3043rem + 0.8696vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  text-align: left;
}

.contenido ul {
  font-weight: 400;
  margin: 0 0 0.6rem 0;
  padding: 0;
}

.contenido ul li {
  color: #334155;
  line-height: 1.8;
  list-style-position: inside;
  margin-bottom: 1rem;
  padding: 0;
  position: relative;
}

.contenido ul li img {
  margin-top: 0.2rem;
}

@media only screen and (max-width: 940px) {
  .contenido {
    border-right: none;
    padding-bottom: 0;
    padding-right: 0;
  }
}

.list-bullets {
  list-style: none;
  margin-left: 1rem !important;
}

.list-bullets li {
  padding-left: 30px !important;
}

.list-bullets li::before {
  background: url(../img/check.png) no-repeat center center;
  content: "";
  height: 50px;
  left: 0;
  position: absolute;
  top: 15px;
  transform: translateY(-50%);
  width: 24px;
}

.side-img-box {
  background-color: #e2e8f0;
  border-radius: 0 8px 8px 0;
  margin-top: 3rem;
}

.side-img {
  border-radius: 0 8px 0 0;
  display: block;
  width: 100%;
  z-index: 1;
}

.side-caption {
  border-left-style: none;
  border-radius: 0 0 8px 0;
  border-top-style: none;
  color: #334155;
  display: block;
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 1rem 2rem;
}

@media only screen and (max-width: 940px) {
  .side-img-box {
    margin-bottom: 3rem;
    margin-top: 0;
  }
}

.contenido.ventajas-reticula {
  border-right: none !important;
  padding-right: 0;
}

.ventajas-reticula {
  display: grid;
  gap: 4rem 2rem;
  grid-template-columns: 1fr 1fr;
}

@media only screen and (max-width: 940px) {
  .ventajas-reticula {
    grid-template-columns: 1fr;
  }
}

.ventajas .contenido ul {
  font-weight: 400;
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0;
}

.ventajas .contenido ul li {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  color: #334155;
  display: flex;
  gap: 1rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  padding: 1.6rem;
}

.ventajas .contenido ul li img {
  align-self: flex-start;
  display: block;
  margin-bottom: 1rem;
  padding: 0.3rem;
  width: 52px;
}

.ventajas-body {
  background-image: url("../img/bg_ventajas.png");
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 600px;
}

.section-bg-degradado {
  background: linear-gradient(140deg, rgba(226, 232, 240, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

@media only screen and (max-width: 920px) {
  .section-bg-degradado {
    background: linear-gradient(
      180deg,
      rgba(203, 213, 225, 0.75) 0%,
      rgba(226, 232, 240, 1) 600px,
      rgba(241, 245, 249, 1) 100%
    );
  }

  .ventajas .contenido ul li {
    flex-direction: column;
  }
}

.certificacion-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
}

.certificacion-grid ul li {
  list-style: none;
}

.certificacion-grid ul li {
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/*------------------------------------*\
 Footer
\*------------------------------------*/

footer {
  background: #33406a;
  background: linear-gradient(0deg, rgba(23, 37, 84, 1) 0%, rgba(51, 64, 106, 1) 30%, rgba(51, 64, 106, 1) 75%);
  border-radius: 24px 24px 0 0;
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.8;
  padding-bottom: 7rem;
  padding-top: 2rem;
  text-align: center;
}

footer a {
  color: #87b8f0;
  text-decoration: underline;
}

footer a:hover {
  color: #92c7f1;
}

.footer-logo {
  width: 400px;
}

@media only screen and (max-width: 800px) {
  .footer-logo {
    width: 90%;
  }

  footer {
    border-radius: 0 0 0 0;
    font-size: 0.9rem;
  }
}
