.testimonials-section {
  background: #f3f3f3;
  border-radius: 60px;
}

.tst-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
}

.tst-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  cursor: pointer;
  /* user-select: none; */
}

.tst-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tst-company {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}

.tst-company-line {
  width: 32px;
  height: 1px;
  background: rgba(0, 0, 0, 0.25);
}

.tst-quote {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-black);
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.tst-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tst-author-line {
  width: 40px;
  height: 1px;
  background: rgba(0, 0, 0, 0.18);
}

.tst-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-black);
}

.tst-role {
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.55);
}

.tst-right {
  position: relative;
  width: 200px;
  height: 280px;
}

.tst-image-card {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f5f5f5;
  transform: translateZ(0);
}

.tst-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.tst-split:hover .tst-image {
  transform: scale(1.04);
}

.tst-next-indicator {
  position: absolute;
  left: 50%;
  bottom: -44px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tst-split:hover .tst-next-indicator {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Dots */
.tst-dots {
  position: absolute;
  left: 0;
  bottom: -40px;
  display: flex;
  align-items: center;
  /* gap: 10px; */
}

.tst-dot-btn {
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.tst-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  transition: transform 0.2s ease, background 0.2s ease;
}

.tst-dot-btn:hover .tst-dot {
  background: rgba(0, 0, 0, 0.45);
  transform: scale(1);
}

.tst-dot.is-active {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1);
}

.tst-fade .tst-left,
.tst-fade .tst-image-card {
  animation: tstFadeUp 0.35s ease;
}
@keyframes tstFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Layout responsive */
@media (max-width: 991.98px) {
  .tst-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tst-right {
    width: 100%;
    max-width: 340px;
    height: 260px;
  }

  .tst-dots {
    position: static;
    margin-top: 1.25rem;
  }

  .tst-next-indicator {
    position: static;
    transform: none;
    margin-top: 0.75rem;
    opacity: 1;
  }
}

/* Smooth blur+fade transitions (Framer-like) */
#tstRoot .tst-left,
#tstRoot .tst-image-card,
#tstRoot .tst-next-indicator {
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

/* Default visible */
#tstRoot .tst-left,
#tstRoot .tst-image-card {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}

/* Leaving state (fade+blur out) */
#tstRoot.tst-leave .tst-left,
#tstRoot.tst-leave .tst-image-card {
  opacity: 0;
  filter: blur(18px);
  transform: translateY(10px);
}

/* Entering state (start blurred, then JS removes class to settle) */
#tstRoot.tst-enter .tst-left,
#tstRoot.tst-enter .tst-image-card {
  opacity: 0;
  filter: blur(18px);
  transform: translateY(14px);
}

/* Prevent hover zoom from fighting transitions */
#tstRoot.tst-leave .tst-image,
#tstRoot.tst-enter .tst-image {
  transform: scale(1);
  transition: none;
}

/* Disable clicking while animating */
#tstRoot.tst-busy {
  pointer-events: none;
}

.video-testimonials-section {
  background: transparent;
}

.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 991.98px) {
  .video-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .video-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.vt-card {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.vt-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: #f4f4f4;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  aspect-ratio: 9 / 16;
}

.vt-card:focus-visible .vt-media {
  outline: 3px solid rgba(212, 175, 55, 0.35);
  outline-offset: 4px;
}

.vt-card:hover .vt-media {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.14);
}

.vt-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.vt-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.0) 55%);
  pointer-events: none;
}

.vt-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
  z-index: 2;
}

.vt-name {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 1rem;
  line-height: 1.2;
}

.vt-sub {
  margin-top: 4px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.vt-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}

.vt-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
  transition: transform 0.25s ease;
}

.vt-card:hover .vt-play-icon {
  transform: scale(1.06);
}

/* Modal */
.vt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.68);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 2000;
}

.vt-modal-backdrop.active {
  display: flex;
}

.vt-modal {
  width: min(980px, 100%);
  background: #fff;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.vt-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.96);
  font-weight: 900;
  line-height: 1;
}

.vt-modal-header {
  padding: 18px 18px 0 18px;
}

.vt-modal-title {
  font-weight: 900;
  font-size: 1.05rem;
  color: #111;
}

.vt-modal-sub {
  margin-top: 4px;
  color: rgba(0,0,0,0.6);
  font-size: 0.9rem;
}

.vt-player-wrap {
  padding: 18px;
}

.vt-video {
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #000;
  aspect-ratio: 9 / 16;
  max-height: 75vh;
}

.video-testimonials-section {
  background: transparent;
}

/* Carousel layout */
.vt-carousel {
  position: relative;
}

.vt-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px;
}

.vt-viewport::-webkit-scrollbar {
  height: 0;
}

.vt-track {
  display: flex;
  gap: 1.5rem;
  padding: 0.25rem 0.25rem 0.75rem;
}

/* 3 visible on desktop, scroll by 1 card */
.vt-card {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  width: 100%;
  flex: 0 0 calc((100% - (1.5rem * 2)) / 3);
  scroll-snap-align: start;
}

/* 2 visible on tablet */
@media (max-width: 991.98px) {
  .vt-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

/* 1 visible on mobile */
@media (max-width: 575.98px) {
  .vt-card {
    flex: 0 0 100%;
  }
}

.vt-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: #f4f4f4;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  aspect-ratio: 9 / 16;
}

.vt-card:focus-visible .vt-media {
  outline: 3px solid rgba(212, 175, 55, 0.35);
  outline-offset: 4px;
}

.vt-card:hover .vt-media {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.14);
}

.vt-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.vt-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.0) 55%);
  pointer-events: none;
}

.vt-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
  z-index: 2;
}

.vt-name {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 1rem;
  line-height: 1.2;
}

.vt-sub {
  margin-top: 4px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.vt-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}

.vt-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
  transition: transform 0.25s ease;
}

.vt-card:hover .vt-play-icon {
  transform: scale(1.06);
}

/* Nav arrows centered below */
/* Nav arrows centered below */
.vt-nav {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  margin-top: 22px;
}

.vt-nav-btn {
  width: 88px;
  padding: 5px 0px 5px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vt-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.18);
}

.vt-nav-btn:active {
  transform: translateY(0);
}

.vt-nav-icon {
  /* width: 46px; */
  /* height: 46px; */
  border-radius: 999px;
  display: grid;
  place-items: center;
  /* background: rgba(0,0,0,0.06); */
  color: var(--color-black);
  font-size: 30px;
  /* font-weight: 900; */
  line-height: 0.5;
}

.vt-nav-label {
  font-size: 1rem;
  /* font-weight: 800; */
  /* letter-spacing: 0.12em; */
  /* text-transform: uppercase; */
  color: rgba(0,0,0,0.6);
}

/* Modal */
.vt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.68);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 2000;
}

.vt-modal-backdrop.active {
  display: flex;
}

.vt-modal {
  width: min(980px, 100%);
  background: #fff;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.vt-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.96);
  font-weight: 900;
  line-height: 1;
}

.vt-modal-header {
  padding: 18px 18px 0 18px;
}

.vt-modal-title {
  font-weight: 900;
  font-size: 1.05rem;
  color: #111;
}

.vt-modal-sub {
  margin-top: 4px;
  color: rgba(0,0,0,0.6);
  font-size: 0.9rem;
}

.vt-player-wrap {
  padding: 18px;
}

.vt-video {
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #000;
  aspect-ratio: 9 / 16;
  max-height: 75vh;
}