/* ══════════════════════════════════════════════════
   Client Testimonials — Video Reel + Vertical Slider
   ══════════════════════════════════════════════════ */

.bh-ct {
  background: #000;
  padding: clamp(60px, 8vw, 100px) 0;
  overflow: hidden;
}

.bh-ct .bh-layout-container {
  max-width: clamp(320px, 83.33vw, 1600px);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px);
}

/* ── Header ── */
.bh-ct-head {
  margin-bottom: clamp(28px, 3.5vw, 48px);
}

.bh-ct-title {
  font-size: clamp(1.5rem, 1.5rem + 1.5vw, 3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

/* ── Layout ── */
.bh-ct-wrapper {
  display: flex;
  gap: 20px;
  height: 480px;
}

/* ── Left: Video Reel ── */
.bh-ct-reel-side {
  width: 42%;
  flex-shrink: 0;
}

.bh-ct-reel-main {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
}

/* Reel slides — crossfade */
.bh-ct-reel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.bh-ct-reel-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.bh-ct-reel-slide video,
.bh-ct-reel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bh-ct-reel-slide.is-playing video {
  object-fit: contain;
  background: #000;
}

.bh-ct-reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.bh-ct-reel-slide.is-playing .bh-ct-reel-overlay {
  opacity: 0;
}

/* Watch Reel button */
.bh-ct-watch-btn {
  position: absolute;
  bottom: 80px;
  left: 28px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0;
  transition: opacity 0.3s ease;
}

.bh-ct-watch-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.bh-ct-watch-btn svg {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  padding: 4px;
}

.bh-ct-watch-btn:hover svg {
  border-color: #fff;
}

/* Client thumbnail stack */
.bh-ct-client-stack {
  position: absolute;
  bottom: 20px;
  left: 28px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.bh-ct-client-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease;
  opacity: 0.5;
}

.bh-ct-client-thumb.is-active {
  border-color: #fff;
  opacity: 1;
  transform: scale(1.1);
}

.bh-ct-client-thumb:hover {
  opacity: 0.9;
}

.bh-ct-client-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ── Right: Vertical Quote Slider ── */
.bh-ct-slider {
  flex: 1;
  min-width: 0;
}

.bh-ct-slider-col {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  cursor: none;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 40%, #1a3a5c 70%, #0f2744 100%);
}

/* Mouse follower */
.bh-ct-mouse-follower {
  position: absolute;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.25s ease;
  will-change: left, top, transform;
}

.bh-ct-mouse-follower.is-visible {
  opacity: 1;
}

/* Slider */
.bh-ct-slider-list {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.bh-ct-slide {
  position: absolute;
  inset: 0;
  padding: 28px 40px 28px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(80px);
  pointer-events: none;
}

.bh-ct-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

/* Quote card */
.bh-ct-quote-card {
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 32px 36px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.bh-ct-quote-icon {
  color: #1a69fd;
  margin-bottom: 16px;
  display: block;
}

.bh-ct-quote-text {
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.7;
  margin: 0 0 24px;
}

.bh-ct-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bh-ct-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.bh-ct-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-ct-author-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.bh-ct-author-info p {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  margin: 2px 0 0;
}

/* Nav dots */
.bh-ct-nav {
  position: absolute;
  top: 50%;
  right: 16px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  transform: translateY(-50%);
}

.bh-ct-nav-dot {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 22px;
}

.bh-ct-nav-line {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  transition: background 0.4s ease, transform 0.4s ease;
}

.bh-ct-nav-dot.is-active .bh-ct-nav-line {
  background: rgba(255,255,255,0.7);
  transform: scaleX(1.5);
  transform-origin: right;
}

/* Click zones */
.bh-ct-btn-zones {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.bh-ct-zone {
  flex: 1;
  background: none;
  border: none;
  cursor: none;
  width: 100%;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media (max-width: 1200px) {
  .bh-ct-wrapper { height: 420px; }
  .bh-ct-slide { padding: 28px 40px 28px 28px; }
}

@media (max-width: 1024px) {
  .bh-ct-wrapper { flex-direction: column; height: auto; gap: 16px; }
  .bh-ct-reel-side { width: 100%; height: 360px; }
  .bh-ct-slider { width: 100%; }
  .bh-ct-slider-col { min-height: 380px; height: 380px; }
}

@media (max-width: 768px) {
  .bh-ct .bh-layout-container { padding: 0 16px; }
  .bh-ct-reel-side { height: 340px; }
  .bh-ct-slider-col { min-height: 340px; height: 340px; cursor: auto; }
  .bh-ct-slide { padding: 20px; }
  .bh-ct-quote-card { padding: 24px; }
  .bh-ct-quote-text { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
  .bh-ct-quote-icon { width: 24px; height: 18px; margin-bottom: 12px; }
  .bh-ct-client-thumb { width: 36px; height: 36px; }
  .bh-ct-watch-btn { bottom: 64px; left: 16px; font-size: 11px; }
  .bh-ct-client-stack { bottom: 16px; left: 16px; }
  .bh-ct-nav { right: 8px; gap: 10px; }
  .bh-ct-mouse-follower { display: none; }
  .bh-ct-zone { cursor: pointer; }
}

@media (prefers-reduced-motion: reduce) {
  .bh-ct-slide { transition: none !important; }
  .bh-ct-reel-slide { transition: none !important; }
  .bh-ct-mouse-follower { display: none; }
}
