.sab-showcase {
  width: 100%;
  max-width: 100%;
  padding: var(--sab-showcase-pt, 80rem) 0 var(--sab-showcase-pb, 80rem);
  background: #fff;
  color: #4a4a5a;
  font-family: "Gilroy", Arial, sans-serif;
}

.sab-showcase,
.sab-showcase *,
.sab-showcase *::before,
.sab-showcase *::after {
  box-sizing: border-box;
}

.sab-showcase__inner {
  width: min(calc(100% - 64rem), 1580rem);
  margin-inline: auto;
}

.sab-showcase__head {
  margin: 0 0 28rem;
  text-align: center;
}

.sab-showcase__title {
  max-width: 100%;
  width: 100%;
  margin: 0;
  color: #4a4a5a;
  font: inherit;
  font-size: var(--sab-showcase-title-size, 54rem);
  font-weight: 800;
  line-height: 1.08;
}

.sab-showcase__subtitle {
  margin: 14rem 0 0;
  color: #4a4a5a;
  font-size: 36rem;
  line-height: 1.45;
}

.sab-showcase__controls {
  display: flex;
  justify-content: flex-end;
  gap: 18rem;
  margin-bottom: 26rem;
}

.sab-showcase__arrow {
  position: relative;
  width: 74rem;
  height: 74rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: #f44145;
  opacity: 1;
  transition: transform 220ms ease, opacity 220ms ease, background-color 220ms ease;
}

.sab-showcase__arrow:hover:not(:disabled) {
  transform: scale(1.04);
}

.sab-showcase__arrow:disabled {
  background: #d9d9dc;
  opacity: .55;
  cursor: default;
}

.sab-showcase__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16rem;
  height: 16rem;
  border-top: 4rem solid #fff;
  border-right: 4rem solid #fff;
}

.sab-showcase__arrow--prev {
  background: #f44145;
}

.sab-showcase__arrow--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.sab-showcase__arrow--next {
  background: #f44145;
}

.sab-showcase__arrow--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.sab-showcase__carousel {
  position: relative;
}

.sab-showcase__viewport {
  width: 100%;
  overflow: hidden;
}

.sab-showcase__track {
  display: flex;
  gap: 30rem;
  will-change: transform;
  transition: transform 650ms cubic-bezier(.22, .7, .25, 1);
}

.sab-showcase__card {
  position: relative;
  flex: 0 0 calc((100% - 90rem) / 4);
  min-width: 0;
  min-height: 598rem;
  overflow: hidden;
  border-radius: 20rem;
  background: #070917;
}

.sab-showcase__image,
.sab-showcase__overlay {
  position: absolute;
  inset: 0;
}

.sab-showcase__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Original Selenara/Elementor slide gradient: keep these values 1:1. */
.sab-showcase__overlay {
  z-index: 0;
  background: linear-gradient(
    to top,
    rgba(9, 0, 16, 0.8) 0%,
    rgba(9, 0, 16, 0.6) 40%,
    transparent 80%,
    transparent 100%
  );
  pointer-events: none;
}

.sab-showcase__play {
  position: absolute;
  z-index: 3;
  top: 36rem;
  left: 46rem;
  display: grid;
  width: 62rem;
  height: 62rem;
  place-items: center;
  border-radius: 50%;
  background: #f44145;
  color: #fff;
  box-shadow: 0 0 0 0 rgba(244,65,69,.6), 0 10rem 25rem rgba(0,0,0,.58);
  text-decoration: none;
  isolation: isolate;
  animation: sab-play-pulse-main 3s infinite;
}
.sab-showcase__play::before,
.sab-showcase__play::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(244,65,69,.6);
  animation: sab-play-pulse-wave 3s infinite;
  pointer-events: none;
}
.sab-showcase__play::after { animation-delay: .3s; }
.sab-showcase__play::before { animation-delay: .9s; }
.sab-showcase__play-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 13rem;
  height: 14rem;
  margin-left: 3rem;
}

/*
 * Hover mechanics copied from the old Selenara Elementor/EAEL slide-up idea:
 * 0.6s ease, content moves as one unit. The hidden CTA lives below the clipped
 * card; on hover the whole gradient/content panel rises and reveals it.
 */
.sab-showcase__content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 25rem;
  padding: 170rem 50rem 34rem;
  color: #fff;
  background: transparent;
  transform: translateY(0);
  transition: transform .65s cubic-bezier(.22, .7, .25, 1);
  will-change: transform;
}

.sab-showcase__card.has-cta .sab-showcase__content {
  transform: translateY(110rem);
}

/* Hide the CTA completely in the resting state so even a 1–2px edge cannot
 * peek out below the clipped card. It becomes visible as the whole content
 * layer slides upward on hover/focus. */
.sab-showcase__card.has-cta .sab-showcase__button {
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .65s, box-shadow .3s ease;
}

.sab-showcase__card.has-cta:hover .sab-showcase__content,
.sab-showcase__card.has-cta:focus-within .sab-showcase__content {
  transform: translateY(0);
}

.sab-showcase__card.has-cta:hover .sab-showcase__button,
.sab-showcase__card.has-cta:focus-within .sab-showcase__button {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s, box-shadow .3s ease;
}

.sab-showcase__copy h3 {
  margin: 0;
  color: #fff;
  font-size: 31rem;
  font-weight: 800;
  line-height: 1.29;
}

.sab-showcase__copy ul {
  display: grid;
  gap: 0;
  margin: 20rem 0 0;
  padding: 0;
  list-style: none;
}

.sab-showcase__copy li {
  position: relative;
  padding-left: 19rem;
  color: rgba(255, 255, 255, .96);
  font-size: 18rem;
  font-weight: 400;
  line-height: 1.5;
}

.sab-showcase__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7rem;
  width: 11rem;
  height: 11rem;
  border: 3.5rem solid #f44145;
  border-radius: 50%;
}

.sab-showcase__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 68rem;
  margin: 10rem 0 0;
  padding: 0 24rem;
  border-radius: 10rem;
  background: #f44145;
  color: #fff;
  font-size: 18rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

.sab-showcase__button span {
  position: relative;
  z-index: 2;
}

.sab-showcase__dots {
  display: flex;
  justify-content: center;
  gap: 12rem;
  margin-top: 40rem;
}

.sab-showcase__dot {
  width: 10rem;
  height: 10rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #efcdd0;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.sab-showcase__dot.is-active {
  background: #f44145;
  transform: scale(1.12);
}

@media (max-width: 767px) {
  .sab-showcase {
    padding-top: var(--sab-showcase-pt-m, 40rem);
    padding-bottom: var(--sab-showcase-pb-m, 40rem);
  }

  .sab-showcase__inner {
    width: calc(100% - 40rem);
  }

  .sab-showcase__head {
    margin-bottom: 18rem;
    text-align: left;
  }

  .sab-showcase__title {
    font-size: var(--sab-showcase-title-size-m, 30rem);
    line-height: 1.25;
  }

  .sab-showcase__subtitle {
    font-size: 15rem;
    line-height: 1.45;
  }

  .sab-showcase__controls {
    display: none;
  }

  .sab-showcase__viewport {
    overflow: hidden;
    touch-action: pan-y;
  }

  .sab-showcase__track {
    gap: 14rem;
  }

  .sab-showcase__card {
    flex-basis: min(292rem, calc(100% - 58rem));
    min-height: 446rem;
    border-radius: 20rem;
  }

  .sab-showcase__content {
    gap: 16rem;
    padding: 112rem 18rem 18rem;
    background: transparent;
    transform: translateY(0) !important;
  }

  .sab-showcase__card.has-cta .sab-showcase__button {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .sab-showcase__play {
    top: 22rem;
    left: 18rem;
    width: 48rem;
    height: 48rem;
  }

  .sab-showcase__copy h3 {
    font-size: 20rem;
    line-height: 1.23;
  }

  .sab-showcase__copy ul {
    margin-top: 16rem;
    gap: 5rem;
  }

  .sab-showcase__copy li {
    font-size: 14rem;
    line-height: 1.35;
    padding-left: 18rem;
  }

  .sab-showcase__copy li::before {
    top: 7rem;
    width: 8rem;
    height: 8rem;
  }

  .sab-showcase__button {
    width: 100%;
    min-height: 56rem;
    font-size: 16rem;
  }

  .sab-showcase__dots {
    gap: 10rem;
    margin-top: 18rem;
  }

  .sab-showcase__dot {
    width: 10rem;
    height: 10rem;
  }
}

/* Keep carousel/content movement smooth even when Android reports reduced motion.
 * Only the decorative pulse is suppressed in that accessibility mode. */


.sab-showcase-modal {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40rem;
  background: rgba(5, 3, 11, .9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.sab-showcase-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.sab-showcase-modal__stage {
  position: relative;
  width: min(1200rem, calc(100vw - 120rem));
  aspect-ratio: 16 / 9;
  background: #000;
}

.sab-showcase-modal__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.sab-showcase-modal__media iframe,
.sab-showcase-modal__media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.sab-showcase-modal__close {
  position: absolute;
  top: -48rem;
  right: 0;
  width: 40rem;
  height: 40rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 38rem;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
}

html.sab-showcase-modal-open,
html.sab-showcase-modal-open body {
  overflow: hidden;
}

@media (max-width: 767px) {
  .sab-showcase-modal { padding: 20rem; }
  .sab-showcase-modal__stage { width: calc(100vw - 40rem); }
  .sab-showcase-modal__close { top: -42rem; }
}
.sab-showcase__title span { color: #f44145; }

