/* ═══════════════════════════════════════════════════════════════════
   18. TESTIMONI SECTION
   ═══════════════════════════════════════════════════════════════════ */
.testimonials {
  padding: 5rem 1.5rem;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.testi-carousel {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  box-sizing: border-box;
}
.testi-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  width: 100%;
}
.testi-track {
  display: flex;
  gap: 1.3rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.testi-card {
  flex: 0 0 calc((100% - 2.6rem) / 3);
  min-width: 0;
  box-sizing: border-box;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.testi-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.testi-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testi-text {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.4rem;
  font-style: italic;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px var(--primary-glow);
}
.testi-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}
.testi-role {
  font-size: 0.75rem;
  color: var(--text-mute);
}
.testi-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10;
  box-shadow: var(--shadow-md);
  padding: 0;
}
.testi-nav:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 24px var(--primary-glow);
}
.testi-nav.prev { left: 0; }
.testi-nav.next { right: 0; }
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.testi-dot.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  width: 28px;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--primary-glow);
}
