/* ══════════════════════════════════════════
   TESTIMONIALS — B.K. Neon
   Premium dark luxury testimonial slider
   ══════════════════════════════════════════ */

.testimonials-section {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

/* Ambient glow background */
.testimonials-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse,
    rgba(30, 143, 255, 0.05) 0%,
    transparent 70%);
  pointer-events: none;
}

.testimonials-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse,
    rgba(255, 45, 155, 0.05) 0%,
    transparent 70%);
  pointer-events: none;
}

/* ── Header ─────────────────────────────── */
.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.testimonials-title-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testi-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue);
}

.testi-title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* ── Slider Container ───────────────────── */
.testi-slider-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  touch-action: pan-y;
}

/* ── Single Testimonial Card ────────────── */
.testi-track {
  display: flex;
  will-change: transform;
}

.testi-card {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 64px;
  padding: 56px 64px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

/* Card neon border accent */
.testi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--blue) 40%,
    var(--pink) 60%,
    transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testi-card.is-active::before {
  opacity: 0.6;
}

/* Opening quote decoration */
.testi-card::after {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 48px;
  font-family: Georgia, serif;
  font-size: 160px;
  color: rgba(30, 143, 255, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── Left: Quote Content ────────────────── */
.testi-quote-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.testi-star {
  color: var(--pink);
  font-size: 16px;
  filter: drop-shadow(0 0 4px rgba(255, 45, 155, 0.5));
}

.testi-quote {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 26px);
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 36px;
}

.testi-attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testi-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}

.testi-role {
  font-size: 12px;
  color: var(--gray2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Right: Avatar / Visual ─────────────── */
.testi-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 160px;
  position: relative;
  z-index: 1;
}

.testi-avatar-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
  position: relative;
  flex-shrink: 0;
}

.testi-avatar-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
  opacity: 0.25;
  filter: blur(8px);
  z-index: -1;
}

.testi-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 36px;
  color: var(--white);
  letter-spacing: 0.05em;
  overflow: hidden;
}

.testi-city {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray2);
  text-align: center;
}

/* ── Navigation Dots ────────────────────── */
.testi-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
}

.testi-dot.is-active {
  width: 28px;
  border-radius: 4px;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(30, 143, 255, 0.5);
}

/* ── Arrow Controls ─────────────────────── */
.testi-arrows {
  display: flex;
  gap: 12px;
}

.testi-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.2s;
  flex-shrink: 0;
}

.testi-arrow:hover {
  border-color: rgba(30, 143, 255, 0.5);
  background: rgba(30, 143, 255, 0.08);
  color: var(--blue);
  transform: scale(1.06);
}

.testi-arrow svg {
  width: 18px;
  height: 18px;
}

/* ── Progress bar ───────────────────────── */
.testi-progress {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin-top: 20px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.testi-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--pink) 100%);
  box-shadow: 0 0 6px rgba(30, 143, 255, 0.4);
  width: 0%;
  transition: width 0.1s linear;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 80px 0 70px;
  }

  .testimonials-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

  .testi-card {
    flex-direction: column-reverse;
    gap: 32px;
    padding: 36px 28px;
  }

  .testi-card::after {
    font-size: 100px;
    left: 24px;
  }

  .testi-avatar-col {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-width: unset;
    gap: 14px;
  }

  .testi-avatar-ring {
    width: 64px;
    height: 64px;
  }

  .testi-avatar-inner {
    font-size: 22px;
  }

  .testi-city {
    text-align: left;
  }

  .testi-quote {
    font-size: 17px;
  }

  .testi-stars {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .testi-card {
    padding: 28px 20px;
  }

  .testi-title {
    font-size: 36px;
  }
}
