 /* =========================================================
     SWIPER TESTIMONIALS — DESIGN TOKENS
  ========================================================== */
  .swiper-testimonials {
    --breakpoint: 480px;
    --st-bg: #000;
    --st-surface: #FBFCFE;
    --st-text: #111111;
    --st-muted: #6f6f6f;
    --st-border: #3a342c;
    --st-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
    --st-radius: 1.25rem;
    --st-accent-soft: #efe7dc;

    position: relative;
    background: var(--st-bg);
  }

  .swiper-testimonials *,
  .swiper-testimonials *::before,
  .swiper-testimonials *::after {
    box-sizing: border-box;
  }

  /* =========================================================
     LAYOUT STRUCTURE
  ========================================================== */
  .swiper-testimonials .swiper-container-wrapper {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    min-height: 100vh;
  }

  .swiper-testimonials .swiper-container {
    overflow: hidden;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .swiper-testimonials .gallery-top {
    position: relative;
    width: 100%;
    height: 75vh;
  }

  .swiper-testimonials .gallery-thumbs {
    width: 100%;
    height: 25vh;
    padding-top: 10px;
  }

  .swiper-testimonials .gallery-thumbs .swiper-wrapper {
    flex-direction: row;
  }

  /* =========================================================
     SLIDE BACKDROPS
  ========================================================== */
  .swiper-testimonials .swiper-slide {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    padding: clamp(1rem, 3vw, 2rem);
    text-align: center;
    background-color: #fff;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .swiper-testimonials .gallery-top .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(20, 24, 28, 0.30),
      rgba(20, 24, 28, 0.42)
    );
    pointer-events: none;
  }

  /* =========================================================
     MAIN CARD
  ========================================================== */
  .swiper-testimonials .gallery-top .testimonial-card {
    position: relative;
    z-index: 1;
  }

  .swiper-testimonials .testimonial-card {
    width: min(100%, 54rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    text-align: left;
    color: var(--st-text);
    background: var(--st-surface);
    border: 2px solid var(--st-border);
    border-radius: var(--st-radius);
    box-shadow: var(--st-shadow);
  }

  /* =========================================================
     TYPOGRAPHY
  ========================================================== */
  .swiper-testimonials .title,
  .swiper-testimonials .reviewer_role {
    font-family: var(--heading-font);
  }

  .swiper-testimonials .title {
    margin: 0 0 0.45rem;
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.05;
    font-weight: 700;
    color: #0a0a0a;
  }

  .swiper-testimonials .reviewer_role {
    margin: 0 0 1.5rem;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.25;
    font-weight: 600;
    color: var(--st-muted);
  }

  .swiper-testimonials .testimonial-card .description,
  .swiper-testimonials .testimonial-card .description p {
    font-size: clamp(1.22rem, 2.15vw, 1.5rem) !important;
    line-height: 1.75 !important;
    color: #2b2b2b !important;
  }

  .swiper-testimonials .description p {
    margin: 0;
  }

  .swiper-testimonials .description p + p {
    margin-top: 1.25rem;
  }

  .swiper-testimonials .testimonial-brand {
    font-family: "Gloock", serif;
    font-weight: 600;
    color: #2f2b27;
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
  }

  /* =========================================================
     THUMBNAIL RAIL
  ========================================================== */
  .swiper-testimonials .gallery-thumbs .swiper-slide {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    width: 25%;
    height: 100%;
    padding: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    background: #f2f2f2;
    opacity: 0.75;
    transition: opacity 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
  }

  .swiper-testimonials .gallery-thumbs .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .swiper-testimonials .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    background: #ffffff;
  }

  .swiper-testimonials .gallery-thumbs .swiper-slide-thumb-active img {
    transform: scale(1.01);
  }

  /* =========================================================
     TRANSITION STATES
  ========================================================== */
  .swiper-testimonials .swiper-slide .title,
  .swiper-testimonials .swiper-slide .reviewer_role,
  .swiper-testimonials .swiper-slide .description {
    display: block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
  }

  .swiper-testimonials .swiper-slide-active .title,
  .swiper-testimonials .swiper-slide-active .reviewer_role,
  .swiper-testimonials .swiper-slide-active .description {
    opacity: 1;
    transform: translateY(0);
  }

  .swiper-testimonials .swiper-slide-active .title {
    transition-delay: 0.45s;
  }

  .swiper-testimonials .swiper-slide-active .reviewer_role {
    transition-delay: 0.6s;
  }

  .swiper-testimonials .swiper-slide-active .description {
    transition-delay: 0.75s;
  }

  /* =========================================================
     NAVIGATION CONTROLS
  ========================================================== */
  .swiper-testimonials .swiper-button-next,
  .swiper-testimonials .swiper-button-prev {
    position: absolute;
    top: 50%;
    bottom: auto;
    width: 3.5rem;
    height: 3.5rem;
    margin-top: 0;
    color: #000;
    background: var(--st-accent-soft);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-50%);
  }

  .swiper-testimonials .swiper-button-prev {
    left: calc(50% - min(27rem, 50%) - 7rem);
    right: auto;
  }

  .swiper-testimonials .swiper-button-next {
    right: calc(50% - min(27rem, 50%) - 7rem);
    left: auto;
  }

  .swiper-testimonials .swiper-button-next::after,
  .swiper-testimonials .swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: 800;
  }

  /* =========================================================
     RESPONSIVE ADJUSTMENTS
  ========================================================== */
  @media (min-width: 480px) {
    .swiper-testimonials .swiper-container-wrapper {
      flex-flow: row nowrap;
      height: 100vh;
    }

    .swiper-testimonials .swiper-container {
      min-height: 320px;
    }

    .swiper-testimonials .gallery-top {
      width: 80%;
      height: 100vh;
      margin-right: 10px;
    }

    .swiper-testimonials .gallery-thumbs {
      width: 20%;
      height: 100vh;
      padding: 0;
    }

    .swiper-testimonials .gallery-thumbs .swiper-wrapper {
      flex-direction: column;
    }

    .swiper-testimonials .gallery-thumbs .swiper-slide {
      width: 100%;
      flex-flow: column nowrap;
    }
  }

  @media (max-width: 991.98px) {
    .swiper-testimonials .swiper-button-prev {
      left: 1rem;
    }

    .swiper-testimonials .swiper-button-next {
      right: 1rem;
    }
  }

  @media (max-width: 767.98px) {
    .swiper-testimonials .swiper-button-next,
    .swiper-testimonials .swiper-button-prev {
      top: auto;
      bottom: 1rem;
      width: 3rem;
      height: 3rem;
      transform: none;
    }

    .swiper-testimonials .swiper-button-prev {
      left: 1rem;
    }

    .swiper-testimonials .swiper-button-next {
      right: 1rem;
    }
  }

  @media (max-width: 479.98px) {
    .swiper-testimonials .gallery-top {
      height: 72vh;
    }

    .swiper-testimonials .gallery-thumbs {
      height: 28vh;
    }

    .swiper-testimonials .gallery-thumbs .swiper-slide {
      padding: 0.35rem;
    }

    .swiper-testimonials .testimonial-card {
      padding: 1.25rem 1rem 1.1rem;
      border-radius: 1rem;
    }

    .swiper-testimonials .description {
      font-size: 0.98rem;
      line-height: 1.65;
    }
  }