
.services {
  position: relative;
}
.services__title {
  color: var(--color-white);
  font-size: var(--content-size-m);
  line-height: var(--line-height-heading) ;
  letter-spacing: var(--letter-spacing-m);
  text-transform: uppercase;
}
.services__content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: calc(100% - 32px);
  right: 16px;
  z-index: 2;
  transition: all .50s cubic-bezier(.475,.425,0,.995);
  gap: 2rem;
}
.services__cta {
  position: relative;
  width: 100%;
  max-width: 50px;
  text-indent: -150px;
  color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: start;
  transition: all .50s cubic-bezier(.475,.425,0,.995);
  text-wrap: nowrap;
  flex-direction: row-reverse;
  gap: 16px;
  background-image: url('../../images/services/arrow.svg');
  background-size: 25px 15px;
  background-position: center;
  background-color: var(--color-primary);
  padding: 16px;
  background-repeat: no-repeat;
  transition: all .50s cubic-bezier(.475,.425,0,.995);
}

.services__image {
  position: relative;
}
.services__image::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 70%, rgba(0, 0, 0, 0.750) 100%);
  transition: all .50s cubic-bezier(.475,.425,0,.995);
}
.services__image img {
  height: 400px;
  object-fit: cover;
  width: 100%;
}

@media all and (min-width: 600px) and (max-width: 999px){
  .services__title {
    font-size: var(--content-size-xl);
  }
  .services__content {
    flex-direction: row;
    gap: 0;
    bottom: 32px;
    left: 32px;
    width: calc(100% - 64px);
  }
  .services__cta {
    background-color: rgba(252, 250, 243, 0.10);
    backdrop-filter: blur(4.5px);
    padding: 32px 64px 32px 32px;
    max-width: unset;
    text-indent: unset;
    width: fit-content;
    color: var(--color-white);
    background-position: calc(100% - 32px);
  }
  .services span {
    color: var(--color-white);
    opacity: 1;
    width: 133px;
    transition: all .50s cubic-bezier(.475,.425,0,.995);
  }
  .services.services__cta {
    gap: 6px;
    transition: all .50s cubic-bezier(.475,.425,0,.995);
  }
  .services .services__cta {
    background-color: var(--color-primary);
    transition: all .50s cubic-bezier(.475,.425,0,.995);
  }
}

@media all and (min-width: 1000px) {
  .swiper-slide.services {
    all: unset ;
    position: relative;
    flex: 1 1 33.33%;
    transition: all .50s cubic-bezier(.475,.425,0,.995);
    height: 700px;
  }
  .swiper-slide.services:hover {
    flex: 1 1 100%;
    transition: all .50s cubic-bezier(.475,.425,0,.995);
  }
  .services__content {
    flex-direction: column;
    gap: 2rem;
  }
  .services__cta {
    align-self: flex-end;
  }
  .services__image {
    height: 100%;
  }
  .services__image img {
    min-width: 100%;
    object-fit: cover;
    height: 100%;
  }
  .services__title {
    font-size: var(--content-size-xl);
    align-self: flex-start;
  }
  .services__cta {
    background-color: rgba(252, 250, 243, 0.10);
    backdrop-filter: blur(4.5px);
    padding: 32px;
    max-width: 50px;
    text-indent: -150px;
    width: 100%;
  }
  .services:hover  {
    color: var(--color-white);
    opacity: 1;
    transition: all .50s cubic-bezier(.475,.425,0,.995);
  }
  .services:hover .services__cta {
    text-indent: unset;
    max-width: 237px;
    transition: all .50s cubic-bezier(.475,.425,0,.995);
    background-position: calc(100% - 32px);
    color: var(--color-white);
  }

  .services:hover .services__cta:hover {
    background-color: var(--color-primary);
    transition: all .50s cubic-bezier(.475,.425,0,.995);
    text-decoration: none;
  }
}


@media all and (min-width: 1300px){
  .services__content {
    flex-direction: row;
    gap: 0;
    bottom: 32px;
    left: 32px;
    width: calc(100% - 64px);
  }
  .services__cta,
  .services__title {
    align-self: unset;
  }
}

