/* RSNV Quotes 2.1
   Testimonials plus a full-bleed logo carousel on the Figma wave.
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,400&display=swap");

.elementor-section:has(.elementor-widget-resnv-quotes),
.elementor-section:has(.elementor-widget-resnv-quotes) > .elementor-container,
.elementor-section:has(.elementor-widget-resnv-quotes) .elementor-column,
.elementor-section:has(.elementor-widget-resnv-quotes) .elementor-widget-wrap,
.elementor-widget-resnv-quotes,
.elementor-widget-resnv-quotes > .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.elementor-section.elementor-section-boxed:has(.elementor-widget-resnv-quotes) > .elementor-container {
  max-width: none !important;
  width: 100% !important;
}

.rsnv-quotes {
  container-type: inline-size;
  width: 100%;
  margin: 0;
  background: #ffffff;
  color: #091443;
  overflow: hidden;
}

.rsnv-quotes__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px clamp(20px, calc((100cqi - 1280px) / 2), 20px) 0;
}

.rsnv-quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  align-items: start;
}

.rsnv-quotes__item {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
  transition: transform 0.25s ease;
}

.rsnv-quotes__item:hover {
  transform: translateY(-4px);
}

.rsnv-quotes__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 58px;
  margin: 0 0 30px;
}

.rsnv-quotes__logo img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.rsnv-quotes__rule,
.rsnv-quotes__divider {
  display: block;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #7a23d6;
}

.rsnv-quotes__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: auto;
  margin-top: 30px;
  gap: 22px;
}

.rsnv-quotes .rsnv-quotes__quote,
.rsnv-quotes .rsnv-quotes__by,
.rsnv-quotes blockquote.rsnv-quotes__quote,
.rsnv-quotes p.rsnv-quotes__quote,
.rsnv-quotes p.rsnv-quotes__by {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #091443;
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  text-align: left;
  quotes: none;
}

.rsnv-quotes__quote {
  font-size: 24px;
  line-height: 36px;
}

.rsnv-quotes__by {
  font-size: 16px;
  line-height: 24px;
}

.rsnv-quotes__divider {
  width: 100%;
  margin-top: 60px;
}

.rsnv-quotes__logos {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 40px 0 0;
  padding: 0 0 98px;
  overflow: hidden;
  background-color: #ffffff;
 
}

.rsnv-quotes__marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  height: 122px;
  display: flex;
  align-items: center;
}

.rsnv-quotes__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: rsnv-logo-marquee 38s linear infinite;
}

.rsnv-quotes__marquee:hover .rsnv-quotes__track {
  animation-play-state: paused;
}

.rsnv-quotes__group {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px;
}

.rsnv-quotes__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 210px;
  height: 96px;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.rsnv-quotes__brand img {
  display: block;
  width: auto;
  height: 94px;
  max-width: 200px;
  max-height: 92px;
  object-fit: contain;
  object-position: center;
}

@keyframes rsnv-logo-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 1040px) {
  .rsnv-quotes__inner {
    padding: 56px 32px 0;
  }

  .rsnv-quotes__grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
    max-width: 560px;
    margin: 0 auto;
  }

  .rsnv-quotes__divider {
    margin-top: 48px;
  }

  .rsnv-quotes__logos {
    margin-top: 36px;
    padding-bottom: 120px;
    background-position: center 28px;
  }

  .rsnv-quotes__group {
    gap: 56px;
    padding-right: 56px;
  }
}

@media (max-width: 760px) {
  .rsnv-quotes__inner {
    padding: 40px 20px 0;
  }

  .rsnv-quotes__grid {
    row-gap: 40px;
  }

  .rsnv-quotes__quote {
    font-size: 22px;
    line-height: 33px;
  }

  .rsnv-quotes__by {
    font-size: 16px;
    line-height: 24px;
  }

  .rsnv-quotes__logos {
    margin-top: 28px;
    padding-bottom: 96px;
    background-position: center 20px;
  }

  .rsnv-quotes__marquee {
    height: 88px;
  }

  .rsnv-quotes__group {
    gap: 36px;
    padding-right: 36px;
  }

  .rsnv-quotes__brand {
    width: 150px;
    height: 72px;
  }

  .rsnv-quotes__brand img {
    height: 72px;
    max-width: 140px;
    max-height: 56px;
  }

  .rsnv-quotes__item:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rsnv-quotes__item,
  .rsnv-quotes__brand img,
  .rsnv-quotes__track {
    transition: none;
    animation: none;
  }

  .rsnv-quotes__item:hover {
    transform: none;
  }

  .rsnv-quotes__track {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 24px;
  }

  .rsnv-quotes__group[aria-hidden="true"] {
    display: none;
  }

  .rsnv-quotes__group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-right: 0;
  }
}
