/* ESTILOS SERVICIOS */
.layout__services {
  position: relative;
  margin: 14rem 10rem;
  margin-bottom: 8rem;
  z-index: 1;
}

.services__grid {
  max-width: var(--max-width);
  margin: 0 auto;
}

.services__header {
  margin-bottom: 2rem;
  text-align: left;
}

.services__subtitles {
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-subtitle);
  margin-bottom: 1.5rem;
}

.services__title {
  color: var(--color-title);
  font-size: 6.4rem;
  font-weight: 500;
  line-height: 6.2rem;
  margin-top: 3rem;
}

.services__list {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.services__service {
  width: 33%;
  height: 100%;
  padding: 5rem 4rem;
  margin-bottom: 4rem;
  border-radius: 3rem;
  background: linear-gradient(
    180deg,
    var(--color-bg-services),
    rgba(255, 255, 255, 0)
  );
  background-color: var(--color-secondary);
  border: 1px solid;
  border-image-source: linear-gradient(
    90deg,
    var(--color-bg-services),
    rgba(255, 255, 255, 0)
  );
  transition: all 300ms ease-in-out;

  display: flex;
  flex-direction: row;
}

.services__service:hover {
  background-color: var(--color-bg-services);
}

.service__container-img {
  margin-right: 2.5rem;
  max-width: 8.5rem;
}

.service__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service__title {
  color: var(--color-title);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 3rem;
  transition: all 300ms ease-in-out;
}

.service__description {
  overflow: hidden;
  font-size: 1.6rem;
  margin-bottom: 4rem;
}

.service__more {
  position: relative;
  display: inline-block;
  font-weight: 500;
  padding-left: 5rem;
  transition: all 300ms ease-in-out;
}

.service__more::before {
  content: "";
  width: 3.4rem;
  height: 1.5px;
  background-color: var(--color-text-body);
  position: absolute;
  top: 50%;
  left: 0;
  transition: all 300ms ease-in-out;
}

.service__title:hover,
.service__more:hover {
  color: var(--color-primary);
}
.service__more:hover::before {
  background-color: var(--color-primary);
}
/* Escalonado de las Tarjetas de Servicio */
.services__service--bottom {
  margin-top: 20rem;
}
.services__service--middle {
  margin-top: 10rem;
}
.services__service--top {
  margin-top: 0rem;
}
/* =================================*/
/* Formas atrás de los servicios */
.service-shapes__item {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.service-shapes--shape1 {
  top: -85px;
  right: 135px;
}
.service-shapes--shape2 {
  top: 63px;
  left: 50%;
}

.service-shapes--shape3 {
  top: 33%;
  left: 125px;
}

/* =================================*/
/* =================================*/
