.customer-slider-v2 {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.customer-slider-v2.swiper {
  width: 100%;
  overflow: visible;
}

.customer-slider-v2 .swiper-wrapper {
  align-items: stretch;
}

.customer-slider-v2 .swiper-slide {
  width: 100%;
  height: auto;
}

.customer-slider-v2__slide {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
}

@media (min-width: 992px) {
  .customer-slider-v2__slide {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.customer-slider-v2__media {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.customer-slider-v2__media.is-visible-media {
  opacity: 1;
  transform: none;
}

.customer-slider-v2__card {
  position: relative;
  background: rgba(212, 212, 212, 0.10); /* Direct value instead of var(--Glass) */
  backdrop-filter: blur(17.5px);
  -webkit-backdrop-filter: blur(17.5px);
  border-radius: 15px;
  padding: clamp(2rem, 4vw, 3rem);
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.15));
  z-index: 2;
  opacity: 1 !important;
  will-change: transform, backdrop-filter;
  transform: translateZ(0);
}

.customer-slider-v2__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, rgba(189, 189, 189, 0.25) 0%, rgba(255, 255, 255, 0.05) 50%); /* Direct gradient */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@media (min-width: 992px) {
  .customer-slider-v2__card {
    flex: 0 0 clamp(360px, 55%, 560px);
    margin-right: clamp(-6rem, -8vw, -3rem);
  }
}

.customer-slider-v2__logo {
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .customer-slider-v2__logo {
    margin-bottom: 32px;
  }
}

.customer-slider-v2__logo-img {
  max-height: 42px;
  width: auto;
}

.customer-slider-v2__company {
  margin: 0;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(13, 34, 53, 0.65);
}

.customer-slider-v2__headline {
  margin: clamp(0.75rem, 2vw, 1rem) 0 clamp(1rem, 2.5vw, 1.5rem);
  font-family: Inter, sans-serif;
  font-size: 16px !important;
  font-style: normal;
  font-weight: 400;
  line-height: 24px !important; /* 150% */
  color: #051344;
}

@media (min-width: 992px) {
  .customer-slider-v2__headline {
    margin: 20px 0 32px !important;
  }
}

.customer-slider-v2__description {
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  color: rgba(13, 34, 53, 0.75);
  line-height: 1.55;
  font-size: clamp(1rem, 1.7vw, 1.05rem);
}

.customer-slider-v2__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  padding-left: 0 !important;
  list-style: none;
}

.customer-slider-v2__metric-value {
  display: block;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 20px */
  letter-spacing: 0;
  color: #051344;
}

.customer-slider-v2__metric-value small,
.customer-slider-v2__metric-value .small {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 18px */
  letter-spacing: 0;
}

.customer-slider-v2__metric-label {
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 15.6px */
  color: #505862;
  margin-top: 0.25rem;
}

.customer-slider-v2__cta-wrap {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 992px) {
  .customer-slider-v2__cta-wrap {
    margin-top: 32px;
  }
}

.customer-slider-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: none;
  background: none;
  color: #006D6F !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  transition: color 0.25s ease;
}

.customer-slider-v2__cta:hover,
.customer-slider-v2__cta:focus-visible {
  background: none;
  color: #00585A !important;
}

.customer-slider-v2__cta-icon {
  font-size: 24px;
  line-height: 1;
}

.customer-slider-v2__cta:hover .customer-slider-v2__cta-icon,
.customer-slider-v2__cta:focus-visible .customer-slider-v2__cta-icon {
  /* No transform on hover */
}

.customer-slider-v2__media {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(10, 32, 54, 0.18);
}

.customer-slider-v2__media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .customer-slider-v2__media {
    flex: 0 0 clamp(320px, 50%, 520px);
  }
}

.customer-slider-v2__nav {
  display: flex !important;
  gap: 0.9rem;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  width: auto;
  max-width: 200px;
  flex-wrap: nowrap;
  position: relative;
}

@media (min-width: 992px) {
  .customer-slider-v2__nav {
    margin-top: -2rem;
  }
}

.customer-slider-v2__nav-btn,
.customer-slider-v2 .swiper-button-prev,
.customer-slider-v2 .swiper-button-next {
  width: 41px !important;
  height: 41px !important;
  border-radius: 50% !important;
  border: 2px solid #E5E7EB !important;
  background: #FFFFFF !important;
  color: #006D6F !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  position: relative !important;
  cursor: pointer;
  padding: 0 !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
}

.customer-slider-v2__nav-btn::after,
.customer-slider-v2 .swiper-button-prev::after,
.customer-slider-v2 .swiper-button-next::after {
  display: none !important;
}

.customer-slider-v2__nav-btn svg {
  pointer-events: none;
  width: 24px;
  height: 24px;
  padding: 3.5px 1px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.customer-slider-v2__nav-btn--next,
.customer-slider-v2 .swiper-button-next {
  background: #006D6F !important;
  border-color: #006D6F !important;
  color: #FFFFFF !important;
}

.customer-slider-v2__nav-btn--prev:hover,
.customer-slider-v2__nav-btn--prev:focus-visible,
.customer-slider-v2 .swiper-button-prev:hover,
.customer-slider-v2 .swiper-button-prev:focus-visible {
  background: #F9FAFB !important;
  border-color: #D1D5DB !important;
}

.customer-slider-v2__nav-btn--next:hover,
.customer-slider-v2__nav-btn--next:focus-visible,
.customer-slider-v2 .swiper-button-next:hover,
.customer-slider-v2 .swiper-button-next:focus-visible {
  background: #005658 !important;
  border-color: #005658 !important;
}

.customer-slider-v2__nav-btn--next:active,
.customer-slider-v2 .swiper-button-next:active {
  background: #003536 !important;
  border-color: #003536 !important;
}

.customer-slider-v2__nav-btn.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.customer-slider-v2__nav-btn.swiper-button-disabled:hover {
  background: #FFFFFF;
  border-color: #E5E7EB;
}

@media (prefers-reduced-motion: reduce) {
  .customer-slider-v2__card,
  .customer-slider-v2__media,
  .customer-slider-v2__cta,
  .customer-slider-v2__nav-btn {
    transition: none !important;
    transform: none !important;
  }
}

/* MP-FF-GLASS-DEBLOAT: Firefox slider card optimizations */
body.ua-firefox .customer-slider-v2__card {
  /* Remove expensive will-change and avoid translateZ layer promotion */
  will-change: auto;
  transform: none;
  /* Disable/reduce backdrop-filter */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  /* Use solid background fallback */
  background: rgba(212, 212, 212, 0.95);
}

body.ua-firefox .customer-slider-v2__card::before {
  /* Hide masked gradient border */
  display: none;
}

body.ua-firefox .customer-slider-v2__card {
  /* Add simple solid border fallback */
  border: 2px solid rgba(174, 181, 182, 0.3);
}

@media (max-width: 991px) {
  .customer-slider-v2 {
    position: relative;
    padding-bottom: 5rem;
  }

  .customer-slider-v2__slide {
    gap: 0;
  }

  .customer-slider-v2__card {
    margin-right: 0;
    width: 100%;
    margin-bottom: 0;
  }

  .customer-slider-v2__media {
    width: 69%;
    margin-left: auto;
    margin-right: 0;
    position: relative;
    top: -6rem;
    margin-bottom: -4rem;
  }

  .customer-slider-v2__nav {
    justify-content: flex-start;
    margin-top: 0;
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    z-index: 10;
  }
}
