.testimonials {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
  padding: 60px 0 0;

  @media (min-width: 992px) {
    flex-direction: row;
  }
}

.zebra-layout {
  padding: 0;
}

.testimonials-swiper-wrapper{
   @media (min-width: 1400px) {
    padding: 40px 40px;
   }
}

 .testimonials .container-fluid {
    @media (min-width: 1400px) {
      max-width: 1248px !important;
      padding: 0 10px;
      margin-right: auto !important;
      margin-left: auto !important;
    }

    @media (min-width: 2000px) {
      max-width: 1784px !important;
    }
  }

  .testimonials-swiper {
    width: 100%;
    height: auto;
    backdrop-filter: blur(40px);
  }

  .testimonials-swiper:before {
      content: "";
      border-top: 1px solid #000;
      width: calc(100% - 40px);
      position: absolute;
      display: block;
      height: 1px;
      z-index: 10;
      top: 0px;
      left: 50%;
      transform: translateX(-50%);

      @media (min-width: 992px) {
        border-right: 1px solid #000;
        height: 100%;
        width: 1px;
        left: 100%;
        top: auto;
      }
    }

  .testimonials-swiper .swiper-slide {
      text-align: center;
      font-size: 18px;
      text-align: left;
      padding: 70px 20px 30px;
      height: auto;
      display: flex;
      align-items: self-start;
      flex-direction: column;
      justify-content: flex-start;
      visibility: hidden;

      @media (min-width: 992px) {
        padding: 55px 50px 30px 50px;
      }

      @media (min-width: 1400px) {
        padding: 30px 50px 30px 0;
        justify-content: center;
      }
    }

    .zebra-layout .testimonials-swiper .swiper-slide {
      @media (min-width: 992px) {
        padding: 55px 50px 55px 50px;
      }
    }

    .testimonials-swiper .swiper-slide .text--xl {
      color: #1f2937;
      font-weight: 300;
    }

    .testimonials-swiper .swiper-slide .testimonials__body {
      position: relative;
      margin-bottom: 20px;

      @media (min-width: 992px) {
        margin-bottom: 46px;
      }
    }

    .testimonials-swiper .swiper-slide .testimonials__body:first-letter {
      color: #2c64e7;
      float: left;
      font-family: inherit;
      font-size: 4em;
      font-weight: 600;
      line-height: 0.9;
      margin-right: 0.2em;
      margin-bottom: 0.12em;
      position: relative;
      padding-bottom: 5px;
      border-bottom: 10px solid #2c64e7;
    }

    .testimonials-swiper .swiper-slide .testimonial__description {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      margin: 0;
      padding: 12px 0;
    }

    .testimonials-swiper .swiper-slide .testimonial__description img {
        margin-right: 55px;
        display: none;

        @media (min-width: 992px) {
          display: block;
        }
      }
    }

    .testimonials-swiper .swiper-slide .testimonial__name {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: self-start;
      margin: 0;
      border-left: solid 1px black;
      padding-left: 20px;
      padding-top: 15px;
      padding-bottom: 15px;
    }

   .testimonials-swiper .swiper-slide .testimonial__name .name{
     font-weight: 700;
     line-height: 1;
  }

  .testimonials-swiper .swiper-slide-active {
    visibility: visible;
  }



  .testimonials-swiper .swiper-pagination-current {
    font-weight: 700;
    color: #1f2937;
  }

 .testimonials-swiper .testimonials-button__pagination {
      position: absolute;
      top: 30px;
      z-index: 10;
      width: auto;
      height: 35px;
      translate: -50% -50%;
      rotate: 0deg;
      left: calc(100% - 45px);
      text-align: center;
      font-size: 20px;
      display: flex;
      align-items: center;
      flex-direction: row;
      font-weight: 300;
      color: #6b7280;

      @media (min-width: 992px) {
        rotate: 270deg;
        left: calc(100% - 30px);
        top: 40px;
      }
    }

  .testimonials-swiper__thumbs {
    position: relative;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    display: flex;
    overflow: hidden;
    padding: 0 20px 20px;

    @media (min-width: 992px) {
      padding: 0 0 40px;
      padding-left: 20px;
      position: absolute;
      width: 25vw;
      flex-direction: column;
      align-items: self-start;
      justify-content: flex-end;
      right: 0;
      left: auto;
      bottom: 0;
    }

    @media (min-width: 1400px) {
      width: calc(30vw - 50px);
    }
  }

  .zebra-layout .testimonials-swiper__thumbs {
      @media (min-width: 992px) {
        padding: 0 0 2% 37px;
      }
    }

  .testimonials-swiper__title {
      text-align: center;

      @media (min-width: 992px) {
        text-align: left;
      }
    }

   .testimonials-swiper__thumbs .eyebrow {
      color: #2c64e7;
    }

   .testimonials-swiper__thumbs .title--hdr {
      margin-bottom: 48px;
      width: auto;

      @media (width > 992px) {
        margin-bottom: 24px;
        width: 240px;
      }
      @media (width > 1400px) {
        width: 280px;
      }
    }

   .testimonials-swiper__thumbs .wrap-swiper {
      width: 100%;
      height: 100%;
    }

   .zebra-layout .testimonials-swiper__thumbs .wrap-swiper {
      width: auto;
    }

   .testimonials-swiper__thumbs .swiper-wrapper {
      height: auto;
    }

   .zebra-layout .testimonials-swiper__thumbs .swiper-wrapper {
      min-height: fit-content;
    }

   .testimonials-swiper__thumbs .swiper-slide {
      width: auto;
    }

   .zebra-layout .testimonials-swiper__thumbs .swiper-slide {
      margin: 0 auto;
    }

   .testimonials-swiper__thumbs .thumb--active .testimonial-thumbnail .testimonial-thumbnail__grad {
      opacity: 1;
    }

   .testimonials-swiper__thumbs .thumb--active .testimonial-thumbnail {
      @media (min-width: 992px) {
        box-shadow: 0 8px 30px #00000057;
      }
    }

   @media (max-width: 991px) {
     .testimonials-swiper__thumbs .swiper-slide-active .testimonial-thumbnail .testimonial-thumbnail__grad {
        opacity: 1;
      }
    }

   .testimonial-thumbnail {
      align-items: center;
      background: transparent;
      cursor: pointer;
      display: flex;
      height: 80px;
      padding: 12px;
      width: 150px;

      @media (min-width: 992px) {
        width: 235px;
        height: 300px;
        border: solid 2px #b3d3ff;
        align-items: flex-end;
        transition: box-shadow 0.3s ease;
      }
    }

    .zebra-layout .testimonial-thumbnail {
      border: none;
      height: auto;
      padding: 24px 0;
    }

   .testimonial-thumbnail:hover .testimonial-thumbnail__grad {
      @media (min-width: 992px) {
        opacity: 1;
       }
   }

   .testimonial-thumbnail:hover .testimonial__name,
   .thumb--active .testimonial-thumbnail .testimonial__name {
     @media (min-width: 992px) {
       border-top: solid 1px #2c64e7;
       height: calc-size(auto, size);
     }
   }

   .zebra-layout .testimonial-thumbnail .testimonial__name {
    display: none;

    @media (min-width: 992px) {
      display: block;
      border-top: solid 1px #2c64e7;
      height: calc-size(auto, size);
    }
   }

   .testimonials-swiper .swiper-slide .testimonial__name.testimonial__name--mobile {
      display: none;
   }

   .zebra-layout .testimonials-swiper .testimonial__name.testimonial__name--mobile {
      display: flex;
      flex-direction: column;
      height: auto;
      border-left: solid 1px #2c64e7;

      .name {
        font-size: 16px;
      }

      @media screen and (min-width: 992px) {
        display: none;

      }
   }

   .zebra-layout .testimonial-thumbnail .testimonial__name {
      border-top: none;
      border-left: solid 1px #2c64e7;
      height: auto;
   }

    .testimonial-thumbnail__content {
        z-index: 1;
        display: block;
        position: relative;
        width: 100%;
        padding: 10px;
        z-index: 1;

        @media (min-width: 992px) {
          flex-direction: column;
          padding: 10px;
          display: flex;
        }
      }

      .zebra-layout .testimonial-thumbnail__content {
        padding: 0;
      }

      .testimonial-thumbnail__content img {
        width: auto;
        min-width: 100px;
        max-height: 30px;
        height: auto;
        object-fit: contain;

        @media (min-width: 992px) {
          max-width: 160px !important;
        }
      }

      .zebra-layout .testimonial-thumbnail__content img {
        width: 130px;
        max-height: 43px;
      }

     .testimonial-thumbnail__content-wrapper{
         display: flex;
         justify-content: start;
         align-items: start;
      }

      .testimonial__name {
        overflow: hidden;
        padding-top: 0;
        margin-top: 0;
        transition: height 0.3s ease-in-out;
        transition-behavior: allow-discrete;
        height: 0;

        @starting-style {
          height: 0;
        }

        @media (min-width: 992px) {
          padding-top: 10px;
          margin-top: 10px;
        }
      }

    .zebra-layout .testimonial__name {
      padding: 12px 20px;
    }

    .testimonial__name .name {
          font-weight: 700;
     }

    .testimonial-thumbnail__grad {
      backdrop-filter: blur(40px);
      background: hsla(0, 0%, 100%, 0.1);
      border: solid 1px #fff;
      display: block;
      height: 100%;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      position: absolute;
      z-index: 0;
      opacity: 0;
      transition: opacity 0.3s ease;

      @media (min-width: 992px) {
        height: calc(100% - 20px);
        width: calc(100% - 20px);
      }
    }

    .zebra-layout .testimonial-thumbnail__grad {
      display: none;
    }

  .testimonials-slider__bg {
    background: #e5f0ff;
    width:700px;
    height: 700px;
    min-height: 700px;
    min-width: 700px;
    position: absolute;
    top: 350px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    border-radius: 100%;

    @media (min-width: 768px) {
      top: 35%;
      min-width: 560px;
      min-height: 560px;
      width: 560px;
      height: 560px;
      top: 40%;
    }

    @media (min-width: 992px) {
      min-width: 480px;
      min-height: 480px;
      width: 480px;
      height: 480px;
      left: 70%;
      top: 50%;
    }
  }

/* ── Featured Layout Variant ── */

.featured-layout {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  background: #ffffff;

  @media (min-width: 768px) {
    padding: 80px 24px;
  }

  @media (min-width: 992px) {
    flex-direction: row;
    align-items: center;
    padding: 40px 24px 40px 106px;
    min-height: 400px;
  }
}

.featured-layout::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: var(--fl-bg-width, 100%);
  background: linear-gradient(to top right, #eef4ff 0%, #e0ecfb 60%, #c8dbf5 100%);
  background-size: 100% 100%;
  background-position: center;
  z-index: 0;

  @media (min-width: 768px) {
    background: linear-gradient(to right, #dfecfe 0%, #e5f0ff 50%, #86ade1 100%);
    background-size: 100vw 100%;
    background-position: right;
  }
}

.featured-layout__circle {
  position: absolute;
  width: 461px;
  height: 461px;
  border-radius: 50%;
  background: #fff;
  left: 50%;
  top: auto;
  bottom: -130px;
  right: auto;
  transform: translateX(-50%);
  z-index: 1;

  @media (min-width: 768px) {
    width: 581px;
    height: 581px;
    bottom: -200px;
  }

  @media (min-width: 992px) {
    width: 347px;
    height: 347px;
    left: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    right: 10%;
  }

  @media (min-width: 1400px) {
    right: 14%;
  }

  @media (min-width: 2000px) {
    right: 25%;
  }
}

.featured-layout .container-fluid {
  position: relative;
  z-index: 2;
}

.featured-layout__content {
  backdrop-filter: blur(40px);
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;

  @media (min-width: 768px) {
    padding: 40px;
  }

  @media (min-width: 992px) {
    padding: 60px 40px;
  }
}

.featured-layout__content .testimonials__body {
  color: #1f2937;
  font-weight: 300;
  margin-bottom: 20px;

  @media (min-width: 992px) {
    margin-bottom: 46px;
  }
}

.featured-layout__content .testimonials__body:first-letter {
  color: #2c64e7;
  float: left;
  font-family: inherit;
  font-size: 4em;
  font-weight: 600;
  line-height: 0.9;
  margin-right: 0.2em;
  margin-bottom: 0.12em;
  position: relative;
  padding-bottom: 5px;
  border-bottom: 10px solid #2c64e7;
}

.featured-layout__content .testimonial__description {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;

  @media (min-width: 768px) {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
}

.featured-layout__content .testimonial__description img {
  display: block;
  max-height: 78px;
  width: auto;
  max-width: 137px;
  object-fit: contain;
}

.featured-layout__content .testimonial__name {
  border-left: solid 1px #2c64e7;
  padding: 12px 20px;
  height: auto;
  overflow: visible;
}

/* Row no-wrap so eyebrow sits beside the col */
.featured-layout .row {
  @media (min-width: 992px) {
    flex-wrap: nowrap;
  }
}

/* Vertical eyebrow — sits outside the blur box, right of the col */
.featured-layout__eyebrow {
  display: block;
  order: -1;
  width: 100%;
  margin-bottom: 20px;
  z-index: 3;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  transform: rotate(0deg);
  text-align: right;

  @media (min-width: 992px) {
    display: flex;
    order: initial;
    width: auto;
    margin-bottom: 0;
    flex-shrink: 0;
    align-items: flex-start;
    justify-content: end;
    padding-top: 40px;
    padding-left: 16px;
    writing-mode: vertical-rl;
    transform: rotate(180deg) !important;
    z-index: 3;
    white-space: nowrap;
  }
}

.featured-layout__eyebrow .eyebrow {
  color: #2c64e7;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  white-space: nowrap;

  @media (min-width: 992px) {
    font-size: 16px;
  }
}

/* ── Featured Layout: Animation initial states ── */
/* GSAP sets opacity:0 via JS and animates to 1.
   Reduced-motion users see elements immediately. */

@media (prefers-reduced-motion: reduce) {
  .featured-layout [data-fl-anim],
  .featured-layout .featured-layout__circle {
    opacity: 1 !important;
    transform: none !important;
  }

  .featured-layout::before {
    width: 100% !important;
  }
}

/* ──────────────────────────────────────────────────────────── */
/*  v2 redesign — RAB2B-218 (round 2, featured-layout scaffold)  */
/*  Activated by module.legacy_style = false                     */
/* ──────────────────────────────────────────────────────────── */

.testimonials--v2 {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;                /* mirrors .featured-layout mobile */
  background: #fff;
}

.testimonials--v2 .swiper-slide,
.testimonials--v2__eyebrow,
.testimonials--v2__nav,
.testimonials--v2__panel {
  opacity: 1;
  visibility: visible;
}

/* Initial hidden state for GSAP-animated elements — prevents flash-of-visible
   content before the ScrollTrigger fires. GSAP tweens these to opacity:1 on
   scroll. Reduced-motion and no-GSAP fallbacks below force them visible. */
.testimonials--v2__body,
.testimonials--v2__author,
.testimonials--v2__circle {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .testimonials--v2__body,
  .testimonials--v2__author {
    opacity: 1;
  }
}

.testimonials--v2__swiper,
.testimonials--v2__swiper .swiper-wrapper {
  width: 100%;
  height: auto;
  min-height: 1px;
}

/* Measurement mode: temporarily neutralize Swiper's flex-row so slides stack
   vertically at natural content height, letting JS read each slide's true
   height before initializing the vertical swiper at ≥992px. */
.testimonials--v2__swiper.is-measuring-tallest .swiper-wrapper {
  display: block !important;
  transform: none !important;
  height: auto !important;
}
.testimonials--v2__swiper.is-measuring-tallest .swiper-slide {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  flex-shrink: 0 !important;
  transform: none !important;
}

.testimonials--v2__circle {
  position: absolute;
  width: 374px;
  height: 374px;
  border-radius: 50%;
  background: #E5F0FF;
  left: 50%;
  top: 0px;                          /* Figma: circle extends 39px above section on mobile */
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.testimonials--v2__row { position: relative; z-index: 1; }

.testimonials--v2__col { display: flex; flex-direction: column; }

.testimonials--v2__eyebrow {
  display: block;
  order: -1;
  width: 100%;
  margin-bottom: 12px;
  padding-bottom: 8px;
  z-index: 3;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}
.testimonials--v2__eyebrow .eyebrow {
  color: #2c64e7;
  margin: 0;
}

.testimonials--v2__panel {
  position: relative;
  backdrop-filter: blur(40px);
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  --timer-progress: 0;

}

.testimonials--v2__panel::before,
.testimonials--v2__panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.testimonials--v2__panel::before {
  top: 0; left: 0; right: 0; height: 1px;
  background: #1f2937;
}
.testimonials--v2__panel::after {
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: #2c64e7;
  transform-origin: left center;
  transform: scaleX(var(--timer-progress));
  transition: transform 80ms linear;
}
.testimonials--v2__panel.is-timer-reset::after,
.testimonials--v2__panel.is-timer-paused::after {
  transition: none;
}

.testimonials--v2__nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  width: 100%;                /* ensures flex-end pushes the group to the right edge */
  margin-bottom: 16px;
}

.testimonials--v2__fraction {
  /* Override Swiper's default .swiper-pagination styles (position:absolute,
     width:100%, left:0, bottom:10) so the fraction behaves as a normal
     content-sized flex item. */
  position: relative;
  width: auto;
  bottom: auto;
  left: auto;
  color: #6b7280;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1;
}
.testimonials--v2__fraction .swiper-pagination-current {
  color: #1f2937;
  font-weight: 700;
}

.testimonials--v2__arrow {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1f2937;
}
.testimonials--v2__arrow:hover { color: #2c64e7; }
.testimonials--v2__arrow:focus-visible {
  outline: 2px solid #2c64e7;
  outline-offset: 2px;
  border-radius: 2px;
}
.testimonials--v2__arrow.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}

.testimonials--v2__slide {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.testimonials--v2__body {
  color: #1f2937;
  font-weight: 300;
  font-size: 19px;
  line-height: 30px;
  margin: 0;
}
.testimonials--v2__body:first-letter {
  color: #2c64e7;
  float: left;
  font-family: 'Poppins', sans-serif;
  font-size: 94px;
  font-weight: 700;
  line-height: 0.9;
  margin-right: 0.15em;
  margin-bottom: 0.08em;
  padding-bottom: 5px;
  border-bottom: 8px solid #2c64e7;
}

.testimonials--v2__author {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 8px;
}
.testimonials--v2__logo {
  max-height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.testimonials--v2__author-meta {
  border-left: 1px solid #2c64e7;
  padding: 8px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonials--v2__author-meta .name {
  font-weight: 700;
  line-height: 1;
  margin: 0;
}
.testimonials--v2__author-meta .text--sm {
  margin: 0;
  color: #1f2937;
}

/* ── Tablet (≥768) ── */
@media (min-width: 768px) {
  .testimonials--v2 { padding: 80px 24px; }            /* mirrors .featured-layout tablet */
  .testimonials--v2__circle {
    width: 500px;
    height: 500px;
    top: 0px;                        /* Figma: circle extends 42px above section on tablet */
  }
  .testimonials--v2__panel { padding: 20px 24px 40px; }
  .testimonials--v2__body  { font-size: 22px; line-height: 30px; }
  .testimonials--v2__body:first-letter { font-size: 115px; }
  .testimonials--v2__author {
    flex-direction: row;
    gap: 55px;
    align-items: center;
  }
  .testimonials--v2__logo {
    max-height: 64px;
    max-width: 160px;
  }
}

/* ── Desktop (≥992) — mirrors .featured-layout at ≥992 ── */
@media (min-width: 992px) {
  .testimonials--v2 {
    padding: 40px 24px 40px;     /* mirrors .featured-layout desktop */
    /* padding: 40px 24px 40px 106px;      */
    min-height: 400px;
  }
  .testimonials--v2__row { flex-wrap: nowrap; align-items: center; }

  /* CRITICAL: let the flex item shrink so Swiper (autoHeight) can measure. */
  .testimonials--v2__col { min-width: 0; }

  .testimonials--v2__circle {
    width: 400px;
    height: 400px;
    left: auto;
    right: 2.6%;                       /* Figma 1440: x=1002, right-edge 38px from section right */
    top: 50%;
    transform: translateY(-50%);
  }

  .testimonials--v2__panel {
    padding: 60px 60px 60px 0px;      /* extra right-padding reserves room for the nav */
  }

  /* Vertical swiper container — height is set inline by JS to the tallest slide. */
  .testimonials--v2__swiper {
    width: 100%;
    overflow: hidden;                  /* clips non-active slides during vertical translate */
  }
  .testimonials--v2__swiper .swiper-wrapper {
    height: 100%;                      /* wrapper fills container so vertical translate works */
  }
  .testimonials--v2__slide {
    height: 100%;                      /* each slide stretches to container height */
    justify-content: center;           /* short-content slides center vertically */
  }

  .testimonials--v2__panel::before {
    top: 0; right: 0; left: auto; bottom: 0;
    width: 1px; height: auto;
  }
  .testimonials--v2__panel::after {
    top: 0; right: 0; left: auto; bottom: auto;
    width: 1px; height: 100%;
    transform-origin: top center;
    transform: scaleY(var(--timer-progress));
  }

  /* Desktop nav: vertical stack INSIDE panel, top-right, immediately LEFT of the
     border-right line. Per Figma node 10560:61648. */
  .testimonials--v2__nav {
    position: absolute;
    top: 5px;                          /* buffer: headroom for rotated fraction */
    right: -8px;                        /* inside panel, just left of the line */
    width: 65px;                        /* matches fraction's 65×49 pre-rotation slot */
    flex-direction: column;
    align-items: center;                /* center the narrower 32px arrows */
    gap: 0;                             /* per-item margins below (arrows stay flush) */
    margin-bottom: 0;
    justify-content: flex-start;
  }

  /* Gap sits ONLY between the fraction and the first arrow (prev, now on top);
     prev & next stay flush together as a single 32×64 arrows group (per Figma). */
  .testimonials--v2__nav .testimonials--v2__arrow--prev { margin-top: 24px; }

  /* Fraction stays rotated -90° (reads bottom-to-top vertically). */
  .testimonials--v2__nav .testimonials--v2__fraction {
    transform: rotate(-90deg);
    transform-origin: center center;
  }

  /* Arrows rotated +90° (clockwise) so:
       prev (CaretLeft) → ↑ up   = retreat
       next (CaretRight) → ↓ down = advance */
  .testimonials--v2__nav .testimonials--v2__arrow {
    transform: rotate(90deg);
    transform-origin: center center;
  }

  /* Stack order top-to-bottom: fraction → ↑ prev → ↓ next */
  .testimonials--v2__fraction      { order: 0; }
  .testimonials--v2__arrow--prev   { order: 1; }
  .testimonials--v2__arrow--next   { order: 2; }

  /* Explicit 65×49 pre-rotation layout slot so rotated visual (49×65) stays
     inside the panel — previously the slot was only ~49×20 so the rotated
     visual extended above the panel's top edge. */
  .testimonials--v2__fraction {
    width: 65px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
  }

  .testimonials--v2__eyebrow {
    display: flex;
    order: initial;
    width: auto;
    margin-bottom: 0;
    padding: 40px 0 0 16px;
    border-bottom: 0;
    flex-shrink: 0;
    align-self: flex-start;              /* pin eyebrow to the TOP of the row (override row's align-items:center) */
    align-items: flex-start;
    justify-content: flex-start;         /* text at top of its own flex axis */
    writing-mode: vertical-rl;
    transform: rotate(180deg) !important;
    white-space: nowrap;
  }
  .testimonials--v2__eyebrow .eyebrow {
    font-size: 16px;
    line-height: 20px;
  }

  .testimonials--v2__body  { font-size: 24px; line-height: 36px; }
  .testimonials--v2__body:first-letter {
    font-size: 120px;
    border-bottom-width: 9px;
    margin-right: 0.12em;
  }
  .testimonials--v2__author { gap: 20px; }
  .testimonials--v2__author-meta .name {
    font-size: 22px;
    line-height: 26px;
  }
}

@media (min-width: 1800px) {
  .testimonials--v2__circle {
    right: 9.5%;                       /* Figma 1440: x=1270, right-edge 38px from section right */
  }
}

/* ── Wide / 2K (≥2000) ── */
@media (min-width: 2000px) {
  .testimonials--v2 { padding: 80px 0; }
  .testimonials--v2__circle {
    width: 500px;
    height: 500px;
    right: 13.2%;                      /* Figma 2K: x=1670 in 2500 frame, right-edge 330px from section right */
  }

  .testimonials--v2__panel { padding: 80px 60px; }
  .testimonials--v2__body  { font-size: 28px; line-height: 44px; }
  .testimonials--v2__body:first-letter { font-size: 120px; }
  .testimonials--v2__author { gap: 55px; }
  .testimonials--v2__author-meta .name {
    font-size: 24px;
    line-height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials--v2__circle {
    opacity: 1 !important;
    transform: translateX(-50%) !important;
  }
  .testimonials--v2__panel::after {
    transform: scaleX(1) !important;
  }
  @media (min-width: 992px) {
    .testimonials--v2__circle {
      transform: translateY(-50%) !important;
    }
    .testimonials--v2__panel::after {
      transform: scaleY(1) !important;
    }
  }
}

/* ──────────────────────────────────────────────────────────── */
/*  v2 Gradient Variant — activated by featured_layout = true   */
/*  Single testimonial, no slider, no nav, no timer animation   */
/* ──────────────────────────────────────────────────────────── */

/* Gradient background — reuses the v1 featured-layout gradients (line 518/524)
   for visual consistency across both featured variants. */
.testimonials--v2--gradient {
  background: linear-gradient(to top right, #eef4ff 0%, #e0ecfb 60%, #c8dbf5 100%);
}

@media (min-width: 768px) {
  .testimonials--v2--gradient {
    background: linear-gradient(to right, #dfecfe 0%, #e5f0ff 50%, #86ade1 100%);
  }
}

/* Timer-as-divider is hidden — no autoplay in this variant. The black ::before
   divider stays (matches Figma's border-r on desktop / border-t on mobile). */
.testimonials--v2--gradient .testimonials--v2__panel::after {
  display: none;
}

/* Circle is white on the gradient background (vs light-blue on the white variant). */
.testimonials--v2--gradient .testimonials--v2__circle {
  background: #ffffff;
}

/* Single slide sits directly inside the panel (no swiper wrapper). Reset the
   height:100% / justify-content:center rules the slider variant applies at
   ≥992, since there's no fixed-height container to fill. */
.testimonials--v2--gradient .testimonials--v2__slide--single {
  height: auto;
  justify-content: flex-start;
}
