@charset "UTF-8";
/*
@include displays.fullDesktop {

}*/
/*test*/
/*VARIABLE COLORES*/
header {
  position: relative;
}

.services-items {
  display: flex;
  flex-wrap: wrap; /* Para que los ítems puedan bajar de línea si no entran */
  height: calc(100vh - 130px); /* Altura total menos la del header */
  /* Los 3 primeros */
  /* Los últimos 2 */
}
@media only screen and (max-width: 1024px) {
  .services-items {
    height: auto;
  }
}
.services-items .item:nth-child(-n+3) {
  flex: 0 0 33.33%; /* Ocupan 33% cada uno */
}
@media only screen and (max-width: 1024px) {
  .services-items .item:nth-child(-n+3) {
    flex: 0 0 100%;
  }
}
.services-items .item:nth-child(n+4) {
  flex: 0 0 50%; /* Ocupan 50% cada uno */
}
@media only screen and (max-width: 1024px) {
  .services-items .item:nth-child(n+4) {
    flex: 0 0 100%;
  }
}
.services-items .item:nth-child(n+4) .animation-title {
  margin-left: 70%;
}
@media only screen and (max-width: 1024px) {
  .services-items .item:nth-child(n+4) .animation-title {
    margin-left: 0;
  }
}
.services-items .item {
  padding: 20px;
  height: 50%;
  position: relative;
}
.services-items .item img {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  height: 80%;
  transition: 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
@media only screen and (max-width: 640px) {
  .services-items .item img {
    opacity: 0.5;
  }
}
.services-items .item .animation-title {
  width: 50%;
  margin-left: 55%;
  transition: 0.5s 0.2s;
  margin-top: 10px;
  width: 260px;
}
@media only screen and (max-width: 1024px) {
  .services-items .item .animation-title {
    margin-left: 0;
    transition: 0.5s 0.2s;
    margin-top: 10px;
    width: 100%;
  }
}
.services-items .item h2 {
  font-weight: 800;
  font-size: 28px;
  color: rgb(255, 255, 255);
  line-height: 35px;
  transform: translateZ(0px);
  margin: 0 0 15px;
  transition: all;
  display: inline-block;
  border-bottom: 1px solid rgb(255, 255, 255);
  width: min-content;
}
.services-items .item .text-service {
  visibility: hidden;
  opacity: 0;
  will-change: opacity, transform;
  transform: translateY(30px);
  position: absolute;
  top: 50%;
  left: 0px;
  transition: 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
@media only screen and (max-width: 1024px) {
  .services-items .item .text-service {
    opacity: 1;
    visibility: inherit;
    width: 100%;
    position: relative;
    right: 0;
    transform: none;
    left: unset;
    padding-right: 40px;
    text-align: justify;
    top: 0;
    padding-left: 35%;
  }
}
@media only screen and (max-width: 640px) {
  .services-items .item .text-service {
    padding: 0;
  }
}
.services-items .item p {
  font-size: 16px;
  color: rgb(255, 255, 255);
  line-height: 24px;
  transform: translateZ(0px);
  margin: 0px 0px 15px;
  opacity: 0;
  transition: 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
@media only screen and (max-width: 1024px) {
  .services-items .item p {
    opacity: 1;
    font-size: 20px;
    line-height: 35px;
  }
}
.services-items .item:hover img {
  opacity: 0;
}
.services-items .item:hover h2 {
  font-size: 20px;
  line-height: 24px;
  transform-origin: 50% 50%;
  border: none;
  animation: 1s linear 0s 1 normal forwards running showCarreras;
  width: auto;
}
.services-items .item:hover .animation-title {
  margin-left: 50px;
  transition-delay: 0s;
  margin-top: 35px;
  width: auto;
}
.services-items .item:hover .text-service {
  visibility: visible;
  opacity: 1;
  transform: translateY(0px);
  transition-delay: 0.5s;
  top: 33%;
  padding: 0 70px;
  text-align: justify;
  max-width: 500px;
}
.services-items .item:hover p {
  font-size: 16px;
  color: rgb(255, 255, 255);
  line-height: 24px;
  transform: translateZ(0px);
  margin: 0px 0px 15px;
  opacity: 1;
  transition: 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.services-items .item {
  opacity: 0;
  transform: translateY(40px);
}

.services-items.animate .item {
  animation: fadeInUp 0.9s ease forwards;
}

/* Animación escalonada */
.services-items.animate .item:nth-child(1) {
  animation-delay: 0.2s;
}

.services-items.animate .item:nth-child(2) {
  animation-delay: 0.4s;
}

.services-items.animate .item:nth-child(3) {
  animation-delay: 0.6s;
}

.services-items.animate .item:nth-child(4) {
  animation-delay: 0.8s;
}

.services-items.animate .item:nth-child(5) {
  animation-delay: 1s;
}

/*# sourceMappingURL=servicenew.css.map */
