/* фикс: каруселът да не разширява грид-колоната (why-us) */
.why-us-grid > .reveal { min-width: 0; }

/* Home отзиви — swipe карусел (21.08.2026, извън Vite билда, зарежда се от home.blade) */
.testimonial-carousel { position: relative; }
.testimonial-viewport { overflow: hidden; }
.testimonial-track {
  display: flex;
  align-items: flex-start;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
}
.testimonial-track.is-dragging { transition: none; cursor: grabbing; }
.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 12px;
  -webkit-user-select: none;
  user-select: none;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}
.testimonial-arrow {
  width: 42px; height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.testimonial-arrow:hover {
  background: var(--secondary-text);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.testimonial-arrow:active { transform: translateY(0); }
.testimonial-dots { display: flex; align-items: center; gap: 8px; }
.testimonial-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: width .25s, background .25s, border-radius .25s;
}
.testimonial-dot:hover { background: var(--text-light); }
.testimonial-dot.is-active {
  width: 24px;
  border-radius: 5px;
  background: var(--secondary-text);
}
.testimonial-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
  margin: 0 0 14px;
}
/* компактен изглед: клампва текста до няколко реда, пълният се разгъва с бутон */
.testimonial-text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  margin-bottom: 12px;
}
.testimonial-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 26px;
  color: var(--secondary-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.testimonial-more:hover { text-decoration: underline; }
.testimonial-more svg { transition: transform .2s; }
.testimonial-more.is-open svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .testimonial-track { transition: none; }
}
