@charset "UTF-8";
.services-carousel {
  position: relative;
  overflow: hidden;
  padding: var(--margin-medium);
  background: #141414;
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.services-carousel::before, .services-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(60px, 8vw, 140px);
  z-index: 10;
  pointer-events: none;
}
.services-carousel::before {
  left: 0;
  background: -webkit-gradient(linear, left top, right top, from(#141414), to(rgba(20, 20, 20, 0)));
  background: linear-gradient(to right, #141414 0%, rgba(20, 20, 20, 0) 100%);
}
.services-carousel::after {
  right: 0;
  background: -webkit-gradient(linear, right top, left top, from(#141414), to(rgba(20, 20, 20, 0)));
  background: linear-gradient(to left, #141414 0%, rgba(20, 20, 20, 0) 100%);
}
.services-carousel .services-carousel__topo {
  position: absolute;
  width: 400px;
  max-width: 40vw;
  height: auto;
  pointer-events: none;
  opacity: 0.35;
}
.services-carousel .services-carousel__topo--bl {
  bottom: -60px;
  left: -60px;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
.services-carousel .services-carousel__topo--tr {
  top: -60px;
  right: -60px;
  -webkit-transform: rotate(270deg);
          transform: rotate(270deg);
}
.services-carousel h1, .services-carousel h2, .services-carousel h3, .services-carousel h4, .services-carousel h5, .services-carousel h6, .services-carousel p, .services-carousel span, .services-carousel li, .services-carousel a:not(.service-slide):not(.button-solid--white):not(.button-outline--white) {
  color: white;
}
.services-carousel .button-outline--white:hover {
  color: black;
}
.services-carousel .button-outline--white {
  z-index: 10;
  margin-top: var(--margin-small);
}
.services-carousel .services-carousel-header {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  margin-bottom: var(--margin-small);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: var(--margin-medium);
}
.services-carousel .services-carousel-header .services-carousel-header-text {
  width: 50%;
}
.services-carousel .services-carousel-header .services-carousel-header-text .services-carousel-text {
  margin-top: var(--margin-mini);
}
.services-carousel .services-carousel-header .services-carousel-header-text .services-carousel-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}
.services-carousel .services-carousel-header .services-carousel-navigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 12px;
}
.services-carousel .services-carousel-header .services-carousel-navigation .carousel-arrow {
  border: 2px solid transparent;
  background: transparent;
  background-position: center;
  background-size: 62px 62px;
  background-repeat: no-repeat;
  height: 62px;
  width: 62px;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
  -webkit-filter: drop-shadow(0 0px 0px rgba(0, 0, 0, 0));
          filter: drop-shadow(0 0px 0px rgba(0, 0, 0, 0));
  -webkit-transition: background-color 0.25s ease, border-color 0.25s ease, -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
  transition: background-color 0.25s ease, border-color 0.25s ease, -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.3s ease, filter 0.3s ease;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.3s ease, filter 0.3s ease, -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
}
.services-carousel .services-carousel-header .services-carousel-navigation .carousel-arrow:hover {
  background-color: #fff;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.services-carousel .services-carousel-header .services-carousel-navigation .prev-service {
  background-image: url(../../images/graphics/arrow-left-white.svg);
}
.services-carousel .services-carousel-header .services-carousel-navigation .prev-service:hover {
  background-image: url(../../images/graphics/arrow-left-black.svg);
}
.services-carousel .services-carousel-header .services-carousel-navigation .next-service {
  background-image: url(../../images/graphics/arrow-right-white.svg);
}
.services-carousel .services-carousel-header .services-carousel-navigation .next-service:hover {
  background-image: url(../../images/graphics/arrow-right-black.svg);
}
.services-carousel .services-carousel-slider {
  width: 100vw;
  position: relative;
  left: calc(-1 * var(--margin-medium));
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}
.services-carousel .services-carousel-slider .swiper-wrapper {
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  padding-bottom: 80px;
}
.services-carousel .services-carousel-slider .swiper-slide {
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.services-carousel .services-carousel-slider {
  /* Slide card */
}
.services-carousel .services-carousel-slider .service-slide {
  position: relative;
  display: block;
  width: 100%;
  height: 50vh;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  margin-top: var(--margin-medium);
  margin-bottom: 0;
  background-size: cover;
  background-position: center;
}
.services-carousel .services-carousel-slider .service-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: -webkit-transform 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: -webkit-transform 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-transform 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.services-carousel .services-carousel-slider .service-slide:hover::before {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.services-carousel .services-carousel-slider .service-slide {
  -webkit-box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
          box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
  -webkit-transform-origin: center center;
          transform-origin: center center;
  -webkit-transition: -webkit-transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-box-shadow 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: -webkit-transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-box-shadow 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-box-shadow 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  /* black -> clear toward top */
}
.services-carousel .services-carousel-slider .service-slide .service-slide-overlay {
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.92)), color-stop(26%, rgba(0, 0, 0, 0.58)), color-stop(58%, rgba(0, 0, 0, 0.18)), color-stop(80%, rgba(0, 0, 0, 0)));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.58) 26%, rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0) 80%);
  z-index: 1;
  pointer-events: none;
}
.services-carousel .services-carousel-slider .service-slide {
  /* Bottom content: title always visible, excerpt slides up from below */
}
.services-carousel .services-carousel-slider .service-slide .service-slide-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
  color: #fff;
  padding: 20px;
  opacity: 1;
}
.services-carousel .services-carousel-slider .service-slide .service-slide-title {
  margin: 0;
  color: #fff;
  font-weight: 700;
  line-height: 1.05;
  width: 100%;
}
.services-carousel .services-carousel-slider .service-slide .service-slide-excerpt {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  -webkit-transition: max-height 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.55s ease 0.1s;
  transition: max-height 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.55s ease 0.1s;
}
@media (max-width: 1550px) {
  .services-carousel .services-carousel-slider .service-slide {
    min-height: 300px !important;
  }
}
.services-carousel .services-carousel-slider {
  /* Active (center) slide — scaled up, excerpt revealed */
}
.services-carousel .services-carousel-slider .swiper-slide-active {
  z-index: 3;
}
.services-carousel .services-carousel-slider .swiper-slide-active .service-slide {
  -webkit-transform: scale(1.12);
          transform: scale(1.12);
  -webkit-box-shadow: 0 26px 64px rgba(0, 0, 0, 0.22);
          box-shadow: 0 26px 64px rgba(0, 0, 0, 0.22);
}
.services-carousel .services-carousel-slider .swiper-slide-active .service-slide-excerpt {
  max-height: 120px;
  opacity: 0.9;
}
.services-carousel .services-carousel-slider {
  /* Hovered card — same scale + excerpt reveal as active */
}
.services-carousel .services-carousel-slider .swiper-slide:not(.swiper-slide-active) .service-slide:hover {
  -webkit-transform: scale(1.12);
          transform: scale(1.12);
  -webkit-box-shadow: 0 26px 64px rgba(0, 0, 0, 0.22);
          box-shadow: 0 26px 64px rgba(0, 0, 0, 0.22);
  z-index: 4;
}
.services-carousel .services-carousel-slider .swiper-slide:not(.swiper-slide-active) .service-slide:hover .service-slide-excerpt {
  max-height: 120px;
  opacity: 0.9;
}
.services-carousel .services-carousel-slider:has(.service-slide:hover) .swiper-slide-active .service-slide:not(:hover) {
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
          box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: -webkit-transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.services-carousel .services-carousel-slider:has(.service-slide:hover) .swiper-slide-active .service-slide:not(:hover) .service-slide-excerpt {
  max-height: 0;
  opacity: 0;
  -webkit-transition: max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.2s ease;
  transition: max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.2s ease;
}
@media (max-width: 820px) {
  .services-carousel .services-carousel-slider .service-slide {
    height: 52vh;
    min-height: 380px;
  }
}
@media (max-width: 820px) {
  .services-carousel .services-carousel-header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: var(--margin-mini);
  }
  .services-carousel .services-carousel-header .services-carousel-header-text {
    width: 100%;
  }
  .services-carousel .services-carousel-header .services-carousel-navigation {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .services-carousel {
    padding-left: var(--margin-small);
    padding-right: var(--margin-small);
  }
  .services-carousel::before, .services-carousel::after {
    display: none;
  }
  .services-carousel .services-carousel-slider {
    width: 100%;
    left: 0;
    overflow-x: hidden;
  }
  .services-carousel .services-carousel-slider .swiper-wrapper {
    padding-bottom: 20px;
  }
  .services-carousel .services-carousel-slider .service-slide {
    margin-left: 0;
    margin-right: 0;
    margin-top: var(--margin-small);
    height: 44vh;
    min-height: 300px;
  }
  .services-carousel .services-carousel-slider .swiper-slide-active .service-slide,
  .services-carousel .services-carousel-slider .swiper-slide:not(.swiper-slide-active) .service-slide:hover, .services-carousel .services-carousel-slider:has(.service-slide:hover) .swiper-slide-active .service-slide:not(:hover) {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
            box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
  }
  .services-carousel .services-carousel-slider .service-slide-excerpt,
  .services-carousel .services-carousel-slider .swiper-slide-active .service-slide-excerpt,
  .services-carousel .services-carousel-slider .swiper-slide:not(.swiper-slide-active) .service-slide:hover .service-slide-excerpt {
    max-height: 0;
    opacity: 0;
  }
}