.carousel_item-text {
  margin: auto 0;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: end;
  min-width: 20rem;
  max-width: 100%;
  width: 40%;
  text-align: end;
}

.carousel_item-title {
  color: var(--white);
  font-weight: bold;
  font-size: 3.5rem;
  font-weight: 500;
}

.image_container {
  position: absolute;
  width: 100%;
  aspect-ratio: 21 / 9;
  z-index: -1;
  left: 0;
}

.image_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel_item-button {
  text-transform: uppercase;
}

.carousel_item-container {
  padding: 0 2rem;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 21 / 9;
}

.carousel_container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

/* About us */
.about-us__title {
  width: 100%;
  text-align: center;
}

.about-us__title h2 {
  font-size: 3rem;
  font-weight: 400;
  max-width: 30rem;
  margin: 0 auto;
}

.about-us__title-underlined {
  text-decoration: underline;
  font-weight: bolder;
}

.splide__list {
  height: auto;
}

.about-us__body {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 2rem 0;
}

.about-us__body>div {
  width: 50%;
}

.about-us__description-title {
  font-weight: 500;
  font-size: 2.5rem;
}

.about-us__description-advantajes {
  font-size: 1.5rem;
  margin: 2rem 0;
}

.about-us__description-advantajes ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-us__description-advantajes ul li {
  font-weight: initial;
}

.about-us__description-advantage--bold {
  font-weight: 700 !important;
}

.brands-section {
  background-color: var(--black);
}

.brands-carousel__image_container {
  position: relative;
  max-width: 10rem;
  aspect-ratio: 1 / 1;
  text-align: center;
  margin: auto;
}

.brands-carousel__image_container img {
  position: absolute;
  width: 80%;
  height: 80%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  object-fit: contain;
}

.services-section {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.services-section__title {
  width: 100%;
  margin-bottom: 4rem;
}

.services-section__title>* {
  width: 40rem;
  max-width: 100%;
}

.service-card {
  display: block;
  border: solid 2px var(--gray);
  color: var(--gray);
  border-radius: 50px;
  padding: 1rem 3rem 0 3rem;
  max-width: 15rem;
  width: 100%;
  height: 20rem;
  transition-duration: 0.3s;
  text-decoration: none;
}

.service-card:hover {
  border: solid 2px var(--red);
  background-color: var(--red);
  color: var(--white);
}

.service-card:hover .service-card__icon {
  filter: brightness(0) invert(1);
}

.services-section__service-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 85%;
  margin: 0 auto;
}

.service-card__icon {
  width: 65%;
  margin-bottom: 2.5rem;
  transition-duration: 0.3s;
}

.service-card__icon img {
  width: 100%;
}

.service-card__name>* {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
}

.services-section__footer {
  margin-top: 4rem;
  width: 100%;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  color: var(--gray);
}

.services-section__button {
  font-size: 3rem;
}

.reviews-carousel__container {
  border: solid 2px var(--gray);
  color: var(--gray);
  border-radius: 25px;
  padding: 2rem;
  font-size: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-right: 1rem;
}

.reviews-carousel__container>* {
  font-weight: 500;
}

/* Estilos personalizados para las flechas */
.custom-arrows {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  width: 106.5%;
  /* Extender más allá del contenedor */
  left: -5%;
  /* Posicionar más afuera del contenedor */
  transform: translateY(-50%);
  pointer-events: none;
}

.custom-arrow {
  width: 3rem;
  height: 3rem;
  pointer-events: all;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-arrow:hover {
  background-color: var(--dark-gray);
}

.custom-arrow--prev {
  left: -2rem;
  /* Ajustar posición de la flecha izquierda */
}

.custom-arrow--next {
  right: -2rem;
  /* Ajustar posición de la flecha derecha */
}

.about-us__description-advantajes ul li {
  position: relative;
  padding-left: 2rem;
}

.about-us__description-advantajes ul li::before {
  content: "\f058";
  /* Código Unicode del icono "circle-check" de Font Awesome */
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0.2rem;
  top: 0.1rem;
  color: var(--black) !important;
}

@media screen and (max-width: 768px) {
  .services-section__button {
    font-size: 1.5rem;
  }

  .service-card {
    width: 45%;
    box-sizing: border-box;
    padding: 1rem;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .services-section__service-cards {
    gap: 2rem;
  }

  .service-card__body {
    width: 90%;
  }

  .service-card__name * {
    font-size: 1.2rem;
  }

  .service-card__icon {
    margin-bottom: 1rem;
    width: 50%;
  }

  .custom-arrow--prev {
    left: -1rem;
    /* Ajustar posición de la flecha izquierda */
  }

  .custom-arrow--next {
    right: -1rem;
    /* Ajustar posición de la flecha derecha */
  }

  .reviews-carousel__container {
    margin: 0.5rem;
  }

  .services-section__service-cards {
    justify-content: center;
  }

  .about-us__body {
    flex-direction: column-reverse;
    margin-top: 4rem;
  }

  .about-us__body>div {
    width: 100%;
  }

  .about-us__media {
    aspect-ratio: 16 / 9;
    margin-bottom: 2rem;
  }

  .about-us__description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .carousel_item-title {
    font-size: 2rem;
  }

  #animated-title {
    font-size: 1.5rem;
    max-width: 80%;
  }
}