/* ═══════════════════════════════════════════════════════════
   BENTO TESTIMONIALS - DARK THEME (Image 1 Design)
   Background: #1c1c1c dark, Accent: #aaff00 lime, Font: Inter
   ═══════════════════════════════════════════════════════════ */

.bts {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #1c1c1c;
  padding: 80px 40px 100px;
  --bts-accent: #aaff00;
}

.bts-inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* ───────────────────────────────────────────────────────────
   HEADER
   ─────────────────────────────────────────────────────────── */
.bts-head {
  margin-bottom: 56px;
  text-align: left;
}

.bts-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(42px, 5.5vw, 68px);
  color: #f0f0f0;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.bts-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: #999999;
  font-weight: 400;
  line-height: 1.65;
  max-width: 680px;
}

/* ───────────────────────────────────────────────────────────
   GRID LAYOUT
   ─────────────────────────────────────────────────────────── */
.bts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-flow: dense;
}

/* ───────────────────────────────────────────────────────────
   CARD BASE STYLES
   ─────────────────────────────────────────────────────────── */
.bts-card {
  border-radius: 24px;
  padding: 32px;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.bts-card.risen {
  opacity: 1;
  transform: translateY(0);
}

/* Elementor editor fallback */
.elementor-editor-active .bts-card {
  opacity: 1;
  transform: translateY(0);
}

/* CSS animation fallback */
.bts-card:nth-child(1) { animation: bts-fadein 0.6s ease forwards 0.1s; }
.bts-card:nth-child(2) { animation: bts-fadein 0.6s ease forwards 0.2s; }
.bts-card:nth-child(3) { animation: bts-fadein 0.6s ease forwards 0.3s; }
.bts-card:nth-child(4) { animation: bts-fadein 0.6s ease forwards 0.4s; }
.bts-card:nth-child(5) { animation: bts-fadein 0.6s ease forwards 0.5s; }
.bts-card:nth-child(6) { animation: bts-fadein 0.6s ease forwards 0.6s; }

@keyframes bts-fadein {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bts-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 16px;
}

/* ───────────────────────────────────────────────────────────
   CARD VARIANTS
   ─────────────────────────────────────────────────────────── */

/* Dark Card (Default Review Cards) */
.bts .bts-card.bts-dark:not(.bts-stat-card) {
  background-color: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bts-card.bts-stat-card.bts-dark {
  background-color: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* White Card (Stat Cards) */
.bts-card.bts-white {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Lime Card (Accent Stat Cards) */
.bts-card.bts-lime {
  background-color: var(--bts-accent, #aaff00);
  border: none;
}

/* ───────────────────────────────────────────────────────────
   REVIEW CARDS - STARS & CONTENT
   ─────────────────────────────────────────────────────────── */
.bts-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.bts-star {
  width: 18px;
  height: 18px;
  color: var(--bts-accent, #aaff00);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elementor-editor-active .bts-star {
  opacity: 1;
  transform: scale(1);
}

.bts-card.risen .bts-star:nth-child(1) { opacity: 1; transform: scale(1); transition-delay: 0.3s; }
.bts-card.risen .bts-star:nth-child(2) { opacity: 1; transform: scale(1); transition-delay: 0.4s; }
.bts-card.risen .bts-star:nth-child(3) { opacity: 1; transform: scale(1); transition-delay: 0.5s; }
.bts-card.risen .bts-star:nth-child(4) { opacity: 1; transform: scale(1); transition-delay: 0.6s; }
.bts-card.risen .bts-star:nth-child(5) { opacity: 1; transform: scale(1); transition-delay: 0.7s; }

.bts-review {
  font-size: 15px;
  color: #d4d4d4;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: auto;
  flex: 1;
}

.bts-white .bts-review {
  color: #444444;
}

.bts-lime .bts-review {
  color: rgba(0, 0, 0, 0.85);
}

/* ───────────────────────────────────────────────────────────
   AUTHOR INFO
   ─────────────────────────────────────────────────────────── */
.bts-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.bts-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #888888;
}

.bts-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bts-author-name {
  font-size: 15px;
  font-weight: 600;
  color: #f0f0f0;
  line-height: 1.3;
  margin-bottom: 2px;
}

.bts-author-role {
  font-size: 13px;
  color: #888888;
  font-weight: 400;
  line-height: 1.3;
}

.bts-white .bts-author-name {
  color: #1a1a1a;
}

.bts-white .bts-author-role {
  color: #666666;
}

.bts-lime .bts-author-name {
  color: rgba(0, 0, 0, 0.95);
}

.bts-lime .bts-author-role {
  color: rgba(0, 0, 0, 0.65);
}

/* ───────────────────────────────────────────────────────────
   STAT CARDS
   ─────────────────────────────────────────────────────────── */
.bts-stat-label {
  font-size: 14px;
  color: #999999;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.5;
}

.bts-card.bts-white .bts-stat-label {
  color: #666666;
}

.bts-card.bts-lime .bts-stat-label {
  color: rgba(0, 0, 0, 0.75);
}

.bts-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(68px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.9;
  color: #f0f0f0;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.bts-card.bts-white .bts-stat-num {
  color: #1a1a1a;
}

.bts-card.bts-lime .bts-stat-num {
  color: #ffffff;
}

.bts-stat-desc {
  font-size: 13px;
  color: #888888;
  font-weight: 400;
  text-transform: capitalize;
}

.bts-card.bts-white .bts-stat-desc {
  color: #666666;
}

.bts-card.bts-lime .bts-stat-desc {
  color: rgba(0, 0, 0, 0.7);
}

/* ───────────────────────────────────────────────────────────
   RESPONSIVE DESIGN
   ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bts {
    padding: 64px 32px 80px;
  }
  
  .bts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .bts-title {
    font-size: clamp(36px, 6vw, 56px);
  }
}

@media (max-width: 768px) {
  .bts {
    padding: 56px 24px 72px;
  }
  
  .bts-head {
    margin-bottom: 40px;
  }
  
  .bts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .bts-card {
    padding: 28px;
    min-height: 240px;
  }
  
  .bts-title {
    font-size: clamp(32px, 8vw, 48px);
    margin-bottom: 14px;
  }
  
  .bts-sub {
    font-size: 15px;
  }
  
  .bts-stat-num {
    font-size: clamp(56px, 12vw, 80px);
  }
}

@media (max-width: 480px) {
  .bts {
    padding: 48px 20px 64px;
  }
  
  .bts-card {
    padding: 24px;
    min-height: 220px;
  }
  
  .bts-avatar {
    width: 44px;
    height: 44px;
  }
}
