.section-dual:nth-of-type(even) {
  background: #fff;
  background: linear-gradient(180deg,
      rgba(202, 202, 202, 0) 0%,
      rgba(195, 195, 195, 0) 2%,
      rgba(193, 193, 193, 0.47) 22%,
      rgba(212, 212, 212, 0.57) 49%,
      rgba(206, 206, 206, 0.42) 75%,
      rgba(28, 38, 81, 0) 97%,
      rgba(106, 106, 106, 0) 100%);

  .subtitle {
    color: var(--color-text);
    /* background-color: var(--color-primary-light); */
  }

  h2 {

    /* &::after {
      left: -120%;
      background: var(--color-primary);
    } */
    & span {
      /* color: var(--color-text); */
      font-weight: bold;
      font-style: normal !important;
    }
  }

  .img-background {
    display: none !important;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;

    @media (width<=768px) {
      width: auto;
    }
  }

  .carousel {
    background: #f7f7f7;

    padding: 25px;

    .serviceCard {
      background-color: #cdcdcd;

      &:hover {
        background-color: var(--color-secondary);
      }
    }
  }

  ul.list-none {
    padding-left: 0;

    li {
      list-style: none;

      a {
        color: var(--color-secondary);
        transition: 0.4s;

        &:hover {
          color: var(--color-primary);
        }
      }
    }
  }

  .container-second-section {
    @media (width>=768px) {
      order: 3;

      .container-info {
        padding-left: 3rem;
      }

      p {
        text-align: right !important;
      }
    }
  }

  .container-info {
    @media (width>=768px) {
      order: 2;
      padding-right: 3rem;
    }
  }

  .container-second-section .container-description {
    scrollbar-color: var(--color-primary) transparent !important;
  }

  .col-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    @media (width>=768px) {
      order: 1;
    }

    .container-image {
      overflow: visible !important;
      justify-content: center;
      display: flex;

      & img {
        width: 80%;
        height: 350px;
        border-radius: 10px;
        overflow: hidden;
        object-fit: cover;
        object-position: center;
        position: relative;
      }

      &::before {
        content: "";
        position: absolute;
        width: 200px;
        height: 265px;
        background: var(--color-primary);
        top: -12px;
        left: 34px;
        z-index: -1;
        border-radius: 10px;
      }

      &::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 200px;
        opacity: 0.1;
        background: transparent;
        border: 5px solid var(--color-primary);
        bottom: -20px;

        right: 20px;
        z-index: -1;
        border-radius: 10px;
      }
    }
  }

  h3 {
    color: var(--color-primary) !important;
  }

  h2,
  h3,
  p,
  li,
  .container-button {
    @media (width>=768px) {
      text-align: left !important;
      justify-content: start !important;
    }
  }

  #services-1 {
    display: none !important;
  }

  .list-wellness li {
    @media (width>=768px) {
      text-align: start !important;
    }
  }
}

.section-dual:nth-of-type(odd) {

  /*  background: #cdcdcd;
  background: #1C2651;
  background: linear-gradient(180deg, rgba(28, 38, 81, 0) 0%, rgba(28, 38, 81, 0) 2%, rgba(28, 38, 81, 0.47) 22%, rgba(28, 38, 81, 0.57) 49%, rgba(28, 38, 81, 0.42) 75%, rgba(28, 38, 81, 0) 97%, rgba(28, 38, 81, 0) 100%); */
  .carousel {
    padding-top: 25px;
  }

  .img-background {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;

    @media (width<=768px) {
      width: auto;
    }
  }

  .subtitle {
    color: white;
    /* background-color: var(--color-secondary); */
  }

  .container-description {
    scrollbar-color: var(--color-secondary) transparent !important;
  }

  .container-second-section .container-description {
    scrollbar-color: var(--color-primary) transparent !important;
  }

  h2 {
    color: #fff;
    /* &::after {
      right: -120%;
      background: #fff;
    } */

    & span {
      /* color: var(--color-text); */
      font-weight: bold;
      font-style: normal !important;
    }
  }

  p {
    color: #fff;
  }

  h3 {
    /*   color: var(--color-text) !important; */
    color: #fff;
  }

  /* .btn-primary {
    background: var(--color-primary);
  } */

  /*   .btn-primary:hover {
    background: var(--color-secondary) !important;
  } */

  .btn-primary:active {
    background: var(--color-secondary) !important;
  }

  .container-second-section .btn-primary {
    background: var(--color-primary);
  }

  /*  .container-second-section .btn-primary:hover {
    background: var(--color-secondary) !important;
  } */

  .container-second-section .btn-primary:active {
    background: var(--color-secondary) !important;
  }

  ul.list-none {
    padding-left: 0;

    li {
      list-style: none;

      @media (width>=768px) {
        text-align: start !important;
      }

      a {
        color: var(--color-secondary);
        transition: 0.4s;

        &:hover {
          color: var(--color-primary);
        }
      }
    }
  }

  ul {
    li {
      color: #fff !important;

      @media (width>=768px) {
        text-align: start !important;
      }
    }
  }

  .container-info {
    display: none !important;

    @media (width>=768px) {
      order: 1;
      padding-left: 3rem;
    }
  }

  .col-image {
    display: none !important;

    @media (width>=768px) {
      order: 2;
    }
  }

  h2,
  h3,
  p,
  li,
  .container-button {
    @media (width>=768px) {
      text-align: start !important;
      justify-content: end !important;
    }
  }

  .list-wellness li {
    @media (width>=768px) {
      text-align: start !important;
    }
  }

  @media (width<768px) {
    #services-1 {
      border-radius: 25px;
      background-color: var(--color-primary);
      margin-bottom: 12px;
    }

    .img-background {
      display: none;
    }
  }


}

.section-introduction:nth-of-type(odd) .page-width {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)),
    url("/wp-content/uploads/2025/10/67274.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  max-width: none;
  padding: 6rem 15px;
  color: #fff !important;

  & h2 {
    font-weight: bold;
  }

  p {
    color: white;
  }
}

.section-introduction:nth-of-type(2n + 1) h2 {
  color: #fff;
}

/* .section-dual:nth-of-type(first) {
    background-color: #e9f2ff !important;
} */

.service-carousel img {
  border-radius: 25px;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.section-carousel-cards:nth-of-type(even) {
  background: #fff;
}

.section-carousel-cards:nth-of-type(odd) {
  background: #719bcd66;
}

@media (min-width: 992px) {
  .swiper-sub-services .swiper-wrapper.center-few-slides {
    justify-content: center;
    display: flex;
  }

  .swiper-sub-services .swiper-slide {
    flex: 0 0 auto;
    /* evita que las slides se expandan */
  }
}