/* ── LUP Testimonials Slider — public stylesheet ── */

:root {
  --lup-accent: #8cb83f; /* overridden inline per instance */
}

.lup-testimonials {
  width: 100%;
  padding: 40px 20px;
  font-family: 'DM Sans', sans-serif;
  color: #404040;
}

.lup-testimonials *,
.lup-testimonials *::before,
.lup-testimonials *::after {
  box-sizing: border-box;
}

.lup-slider-outer {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
}

.lup-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.lup-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(.65, 0, .35, 1);
}

/* ── Card ── */
.lup-card {
  min-width: calc(50% - 12px);
  max-width: calc(50% - 12px);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(64, 64, 64, 0.10);
  padding: 38px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

/* Override for 1-per-view */
.lup-slider-track[data-per-view="1"] .lup-card {
  min-width: 100%;
  max-width: 100%;
}

/* Override for 3-per-view */
.lup-slider-track[data-per-view="3"] .lup-card {
  min-width: calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
}

.lup-quote-icon {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 72px;
  line-height: 0.6;
  color: var(--lup-accent);
  user-select: none;
  letter-spacing: -2px;
}

.lup-feedback {
  font-size: 14px;
  font-weight: 200;
  line-height: 1.75;
  color: #404040;
  flex: 1;
  margin: 0;
}

/* ── Person row ── */
.lup-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.lup-avatar-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2.5px solid var(--lup-accent);
  flex-shrink: 0;
  overflow: hidden;
  background: var(--lup-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lup-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  border: none;
  margin: 0;
  padding: 0;
}

.lup-avatar-wrap span {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
}

.lup-person-name {
  font-size: 15px;
  font-weight: 400;
  color: #404040;
}

/* ── Navigation ── */
.lup-nav {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
  align-items: center;
}

.lup-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #d8d8d8;
  background: #ffffff;
  color: #404040;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.18s;
  outline: none;
  padding: 0;
}

.lup-nav-btn:hover {
  background: var(--lup-accent);
  border-color: var(--lup-accent);
  color: #fff;
  transform: scale(1.08);
}

.lup-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lup-dots {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 6px;
}

.lup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.lup-dot.active {
  background: var(--lup-accent);
  transform: scale(1.3);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .lup-card,
  .lup-slider-track[data-per-view="3"] .lup-card {
    min-width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .lup-card {
    padding: 28px 22px 24px;
  }

  .lup-avatar-wrap {
    width: 72px;
    height: 72px;
  }

  .lup-quote-icon {
    font-size: 56px;
  }
}
