.testimonials-section.testimonials-static {
  overflow: hidden;
  background: transparent !important;
}

.testimonials-section.testimonials-static .testimonial-card {
  z-index: 2;
  border: 1px solid rgba(196, 192, 232, .5) !important;
  box-shadow: 0 14px 28px rgba(22, 22, 55, .11);
}

.testimonials-section.testimonials-static .testimonial-card::after {
  position: absolute;
  inset: 7px;
  border: 1.5px dashed #c4c0e8;
  border-radius: 18px;
  content: "";
  pointer-events: none;
}

@media (min-width: 1024px) {
  .testimonials-section.testimonials-static .testimonials-pin-wrap {
    width: min(100%, 1600px);
    height: 880px !important;
    min-height: 880px;
    margin: 0 auto;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(2) {
    top: 0 !important;
    left: 2% !important;
    transform: scale(.72) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(3) {
    top: 0 !important;
    left: 33% !important;
    transform: scale(.76) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(4) {
    top: 2% !important;
    right: 2% !important;
    transform: scale(.72) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(5) {
    top: 24% !important;
    left: 4% !important;
    transform: scale(.68) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(6) {
    top: 20% !important;
    left: 42% !important;
    transform: scale(.52) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(7) {
    top: 24% !important;
    right: 4% !important;
    transform: scale(.68) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(8) {
    top: 54% !important;
    left: 2% !important;
    transform: scale(.68) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(9) {
    top: 57% !important;
    left: 27% !important;
    transform: scale(.52) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(10) {
    right: 4% !important;
    bottom: 25% !important;
    transform: scale(.56) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(11) {
    bottom: 0 !important;
    left: 3% !important;
    transform: scale(.68) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(12) {
    right: 33% !important;
    bottom: 0 !important;
    transform: scale(.72) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(13) {
    right: 2% !important;
    bottom: 0 !important;
    transform: scale(.68) !important;
  }

  .testimonials-section.testimonials-static .testimonial-card:nth-child(14) {
    right: 18% !important;
    bottom: 17% !important;
    transform: scale(.52) !important;
  }
}

@media (max-width: 1023px) {
  .testimonials-section.testimonials-static .testimonial-card::after {
    inset: 6px;
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  .testimonials-section.testimonials-static .testimonials-pin-wrap {
    display: block;
    width: 100%;
  }

  .testimonials-section.testimonials-static .testimonials-pin-wrap > .absolute.inset-0 {
    width: calc(100% - 32px);
    margin: 0 auto 28px;
  }

  .testimonials-section.testimonials-static .testimonials-slider {
    display: flex;
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 16px 24px;
    scroll-behavior: smooth;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .testimonials-section.testimonials-static .testimonials-slider::-webkit-scrollbar {
    display: none;
  }

  .testimonials-section.testimonials-static .testimonials-slider .testimonial-card {
    flex: 0 0 min(86vw, 360px);
    width: min(86vw, 360px) !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
}

/* Specialists uses a native sticky track; GSAP only reveals scene items. */
.page_wrapper.home .specialists-native-track {
  position: relative;
  height: 400vh !important;
  overflow: visible !important;
}

.page_wrapper.home .specialists-native-sticky {
  position: sticky !important;
  top: 0 !important;
  display: flex !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100svh !important;
  min-height: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.page_wrapper.home .specialists-native-sticky .specialists-scene-wrap {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.page_wrapper.home .specialists-native-scene {
  position: relative !important;
  width: min(100%, 960px) !important;
  height: min(100svh, 720px) !important;
  margin: 0 auto !important;
  transform: none !important;
  transform-origin: center center !important;
}

.page_wrapper.home .specialists-native-item {
  position: absolute !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
}

/* Exact Figma composition sizing. These values pair with the center offsets
   in custom.js, preventing older breakpoint rules from resizing the cards. */
.page_wrapper.home .specialists-native-scene .specialists-globe { width: 700px !important; }
.page_wrapper.home .specialists-native-scene .specialists-phone { width: 350px !important; }
.page_wrapper.home .specialists-native-scene .card-s1 { width: 249px !important; max-width: none !important; }
.page_wrapper.home .specialists-native-scene .card-s2 { width: 183px !important; max-width: none !important; }
.page_wrapper.home .specialists-native-scene .card-s3 { width: 299px !important; max-width: none !important; }
.page_wrapper.home .specialists-native-scene .card-s4 { width: 220px !important; max-width: none !important; }
.page_wrapper.home .specialists-native-scene .card-s5 { width: 196px !important; max-width: none !important; }
.page_wrapper.home .specialists-native-scene .card-s6 { width: 296px !important; max-width: none !important; }
.page_wrapper.home .specialists-native-scene .specialists-card img {
  display: block;
  width: 100% !important;
  height: auto !important;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .page_wrapper.home .specialists-native-scene .specialists-globe { width: 590px !important; }
  .page_wrapper.home .specialists-native-scene .specialists-phone { width: 280px !important; }
  .page_wrapper.home .specialists-native-scene .card-s1 { width: 187px !important; }
  .page_wrapper.home .specialists-native-scene .card-s2 { width: 137px !important; }
  .page_wrapper.home .specialists-native-scene .card-s3 { width: 224px !important; }
  .page_wrapper.home .specialists-native-scene .card-s4 { width: 165px !important; }
  .page_wrapper.home .specialists-native-scene .card-s5 { width: 147px !important; }
  .page_wrapper.home .specialists-native-scene .card-s6 { width: 222px !important; }
}

@media (max-width: 767px) {
  .page_wrapper.home .specialists-native-scene {
    width: min(calc(100vw - 24px), 430px) !important;
    height: min(100svh, 540px) !important;
  }
  .page_wrapper.home .specialists-native-scene .specialists-globe { width: 290px !important; }
  .page_wrapper.home .specialists-native-scene .specialists-phone { width: 145px !important; }
  .page_wrapper.home .specialists-native-scene .card-s1 { width: 100px !important; }
  .page_wrapper.home .specialists-native-scene .card-s2 { width: 73px !important; }
  .page_wrapper.home .specialists-native-scene .card-s3 { width: 120px !important; }
  .page_wrapper.home .specialists-native-scene .card-s4 { width: 88px !important; }
  .page_wrapper.home .specialists-native-scene .card-s5 { width: 78px !important; }
  .page_wrapper.home .specialists-native-scene .card-s6 { width: 118px !important; }
}
