#clients #pinContainer {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

#clients #pinContainer svg {
  z-index: 0;
}

#clients #pinContainer .panel {
  width: calc(100% - 4rem);
  max-width: 1720px;
  margin: 0 auto;
  position: absolute;
  height: 75vh;
  max-height: 720px;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 30px;
  overflow: hidden;
  transform-origin: center center;
  will-change: transform;
}

#clients #pinContainer .panel .container-inner {
  max-width: 1430px;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: solid 1px #fff;
  position: absolute;
  bottom: 4.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

#clients #pinContainer .panel .container-inner p {
  color: #fff;
}

#clients #pinContainer .panel .container-inner .left {
  background: linear-gradient(105deg, #C48E51 17.6%, #FFD9A1 92.59%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}

#clients #pinContainer .panel .container-inner .right {
  max-width: 711px;
}

#clients #pinContainer .panel::after {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 300px;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent 52.87%, rgba(0, 0, 0, 0.6) 82.56%);
  pointer-events: none;
}

#clients #pinContainer .card-1 {
  background: url(/i/clients-bg1.jpg) no-repeat center/cover;
  z-index: 1;
  top: 50%;
}

#clients #pinContainer .card-2 {
  background: url(/i/clients-bg2.jpg) no-repeat center/cover;
  z-index: 2;
  top: 150%;
}

#clients #pinContainer .card-3 {
  background: url(/i/clients-bg3.jpg) no-repeat center/cover;
  z-index: 3;
  top: 150%;
}

#clients #pinContainer .card-4 {
  background: url(/i/clients-bg4.jpg) no-repeat center/cover;
  z-index: 4;
  top: 150%;
}

#clients #pinContainer .card-5 {
  background: url(/i/clients-bg5.jpg) no-repeat center/cover;
  z-index: 5;
  top: 150%;
}

#clients .spacer {
  height: 8.5rem;
}

#clients .s3 {
  padding: 8.5rem 0;
  background: #F8F8F9;
}

#clients .s3 .container-inner {
  max-width: 1140px;
}

#clients .s3 #stickyWrapper {
  position: relative;
}

#clients .s3 .wrapper {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  position: relative;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  gap: 15px;
  align-items: flex-start;
}

#clients .s3 .wrapper h3 {
  font-size: 2.3rem;
}

#clients .s3 .wrapper .sticky {
  position: absolute;
  top: 2.5rem;
  left: 0;
  width: 72px;
}

#clients .s3 .wrapper .sticky h3 {
  background: linear-gradient(105deg, #C48E51 17.6%, #FFD9A1 92.59%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#clients .s3 .wrapper .scrolling-sentences {
  margin-left: 85px;
}

#clients .s3 .wrapper .sentence {
  margin-bottom: 2.5rem;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

#clients .s3 .wrapper .sentence h3 span {
  display: none;
}

#clients .s3 .wrapper .sentence.active {
  opacity: 1;
}

#clients .s3 .wrapper .sentence:last-of-type {
  margin-bottom: 0;
}

#clients .s3 .wrapper::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(105deg, #C48E51 17.6%, #FFD9A1 92.59%), #000;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1399px) {
  #clients #pinContainer .panel {
    width: calc(100% - 2rem);
  }
}

@media screen and (max-height: 960px) {
  #clients .s3 h3 {
    font-size: 2.4rem;
  }
  #clients .s3 .wrapper {
    margin-top: 2.5rem;
  }
  #clients .s3 .wrapper .sentence {
    margin-bottom: 1.7rem;
  }
  #clients .s3 .wrapper h3 {
    font-size: 2rem;
  }
}

@media screen and (max-height: 850px) {
  #clients .s3 .wrapper .sticky {
    display: none;
  }
  #clients .s3 .wrapper .scrolling-sentences {
    margin-left: 0;
  }
  #clients .s3 .wrapper .sentence {
    opacity: 1;
  }
  #clients .s3 .wrapper .sentence h3 span {
    display: inline-block;
    color: #787D85;
    background: none;
    -webkit-text-fill-color: #787D85;
  }
}

@media screen and (max-width: 1100px) {
  #clients #pinContainer {
    height: auto;
    overflow: visible;
    padding: 8.5rem 0;
  }
  #clients #pinContainer .panel {
    max-height: 650px;
    top: auto !important;
    left: auto;
    position: relative;
    transform: none;
    margin-bottom: 2rem;
  }
  #clients #pinContainer .panel:last-of-type {
    margin-bottom: 0;
  }
  #clients .spacer {
    display: none;
  }
  #clients .s3 .wrapper .sticky {
    display: none;
  }
  #clients .s3 .wrapper .scrolling-sentences {
    margin-left: 0;
  }
  #clients .s3 .wrapper .sentence {
    opacity: 1;
  }
  #clients .s3 .wrapper .sentence h3 span {
    display: inline-block;
    color: #787D85;
    background: none;
    -webkit-text-fill-color: #787D85;
  }
  #clients .s3 .wrapper h3 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 980px) {
  #clients #pinContainer .panel {
    max-height: 500px;
  }
  #clients #pinContainer .panel p.lg {
    font-size: 1.3rem;
  }
  #clients #pinContainer .panel .container-inner .left {
    min-width: 250px;
  }
}

@media screen and (max-width: 767px) {
  #clients .s1 {
    background-position: 35% 50%;
  }
  #clients #pinContainer {
    padding: 5rem 0;
  }
  #clients #pinContainer .panel {
    height: 450px;
  }
  #clients #pinContainer .panel .container-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #clients #pinContainer .panel .container-inner .left {
    min-width: none;
  }
  #clients #pinContainer .panel .container-inner .right {
    font-size: 1.1rem;
  }
  #clients #pinContainer .panel::after {
    height: 350px;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.7) 60%);
  }
  #clients #pinContainer .card-1 {
    background-position: 27%;
  }
  #clients #pinContainer .card-2 {
    background-position: 74%;
  }
  #clients #pinContainer .card-3 {
    background-position: 55%;
  }
  #clients #pinContainer .card-4 {
    background-position: 80%;
  }
  #clients #pinContainer .card-5 {
    background-position: 71%;
  }
  #clients .s3 {
    padding: 5rem 0;
  }
  #clients .s3 h3 {
    font-size: 1.6rem;
  }
  #clients .s3 .wrapper {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }
  #clients .s3 .wrapper h3 {
    font-size: 1.3rem;
  }
  #clients .s3 .wrapper .sentence {
    margin-bottom: 1.5rem;
  }
}
