/* Testimonials — luxury customer quotes */

.bsp-testimonials {
  background: var(--bsp-ts-bg, #f9f7f4);
  padding: 64px 20px 72px;
  overflow-x: clip;
}

.bsp-testimonials__container {
  max-width: 1320px;
  margin: 0 auto;
}

.bsp-testimonials__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.bsp-testimonials__kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--bsp-ts-accent, #8a8175);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bsp-testimonials__title {
  margin: 0 0 12px;
  color: var(--bsp-ts-title, #1a1a1a);
  font-family: var(--bsp-font-heading);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.bsp-testimonials__subtitle {
  margin: 0;
  color: var(--bsp-ts-text, #6b6b6b);
  font-size: 15px;
  line-height: 1.65;
}

.bsp-testimonials__slider {
  position: relative;
}

.bsp-testimonials__slider:not(.is-slider) .bsp-testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bsp-testimonials__slider:not(.is-slider) .bsp-testimonials__card {
  flex: none;
  width: auto;
}

.bsp-testimonials__slider.is-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.bsp-testimonials__viewport {
  overflow: hidden;
}

.bsp-testimonials__track {
  display: flex;
  gap: 20px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.bsp-testimonials__card {
  flex: 0 0 var(--bsp-ts-card-width, 100%);
  margin: 0;
  background: var(--bsp-ts-card-bg, #ffffff);
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--bsp-ts-card-shadow, rgba(26, 26, 26, 0.06));
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  box-sizing: border-box;
  max-width: 100%;
}

.bsp-testimonials__quote-icon {
  display: block;
  color: var(--bsp-ts-quote, #d4cdc4);
  font-size: 64px;
  line-height: 0.8;
  font-family: var(--bsp-font-heading);
  margin-bottom: 12px;
}

.bsp-testimonials__quote {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  color: var(--bsp-ts-title, #1a1a1a);
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
}

.bsp-testimonials__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.bsp-testimonials__star {
  color: #e5e0da;
  line-height: 0;
}

.bsp-testimonials__star.is-filled {
  color: var(--bsp-ts-accent, #1a1a1a);
}

.bsp-testimonials__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 4px;
}

.bsp-testimonials__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.bsp-testimonials__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bsp-ts-icon-bg, #f0ebe4);
  color: var(--bsp-ts-accent, #1a1a1a);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
}

.bsp-testimonials__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--bsp-ts-title, #1a1a1a);
  font-size: 14px;
  font-weight: 600;
}

.bsp-testimonials__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bsp-ts-verified-bg, #f0ebe4);
  color: var(--bsp-ts-accent, #1a1a1a);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.bsp-testimonials__verified svg {
  flex-shrink: 0;
}

.bsp-testimonials__location {
  margin: 2px 0 0;
  color: var(--bsp-ts-text, #6b6b6b);
  font-size: 13px;
}

.bsp-testimonials__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--bsp-ts-arrow-border, #d4d0cb);
  background: #ffffff;
  color: var(--bsp-ts-title, #1a1a1a);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bsp-testimonials__arrow:hover:not(:disabled) {
  background: var(--bsp-ts-accent, #1a1a1a);
  border-color: var(--bsp-ts-accent, #1a1a1a);
  color: #ffffff;
}

.bsp-testimonials__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.bsp-testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.bsp-testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(26, 26, 26, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bsp-testimonials__dot.is-active {
  background: var(--bsp-ts-accent, #1a1a1a);
  transform: scale(1.15);
}

.bsp-testimonials__empty {
  margin: 0;
  padding: 20px;
  text-align: center;
  color: var(--bsp-ts-text, #6b6b6b);
  border: 1px dashed var(--bsp-ts-arrow-border, #d4d0cb);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1199px) {
  .bsp-testimonials__slider:not(.is-slider) .bsp-testimonials__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bsp-testimonials__slider.is-slider {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bsp-testimonials__arrow {
    display: none;
  }
}

@media (max-width: 991px) {
  .bsp-testimonials {
    padding: 52px 16px 60px;
  }

  .bsp-testimonials__header {
    margin-bottom: 32px;
  }
}

@media (max-width: 767px) {
  .bsp-testimonials {
    padding: 48px 16px 56px;
  }

  .bsp-testimonials__title {
    font-size: clamp(26px, 7vw, 34px);
  }

  .bsp-testimonials__slider:not(.is-slider) .bsp-testimonials__track {
    grid-template-columns: 1fr;
  }

  .bsp-testimonials__card {
    min-height: auto;
    padding: 24px 20px 20px;
  }

  .bsp-testimonials__quote-icon {
    font-size: 52px;
  }

  .bsp-testimonials__quote {
    font-size: 14px;
  }

  .bsp-testimonials__dots {
    margin-top: 20px;
  }
}
