/* ═══════════════════════════════════════════════════════════════════
   CLIENT REVIEWS — new card-based design (replaces Swiper feedbacks)
═══════════════════════════════════════════════════════════════════ */
.feedbacks {
  padding: 56px 20px 72px;
  margin: 0;
  background: linear-gradient(180deg, #faf8ff 0%, #f3eeff 100%);
  position: relative;
  overflow: hidden;
}
.feedbacks::before, .feedbacks::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.feedbacks::before {
  width: 380px; height: 380px; top: -120px; right: -100px;
  background: radial-gradient(circle, rgba(107,33,168,.07) 0%, transparent 70%);
}
.feedbacks::after {
  width: 280px; height: 280px; bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(6,182,212,.06) 0%, transparent 70%);
}

.fbr__wrapper { position: relative; z-index: 1; }

.fbr__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #06b6d4; margin-bottom: 10px;
}

.fbr__title {
  font-size: 24px; font-weight: 800; color: #1a0533;
  letter-spacing: -0.5px; line-height: 1.08; margin-bottom: 32px;
}
@media (min-width: 768px)  { .fbr__title { font-size: 36px; margin-bottom: 48px; } }
@media (min-width: 1280px) { .fbr__title { font-size: 42px; } }
@media (min-width: 1920px) { .fbr__title { font-size: 56px; } }

/* ── Track ──────────────────────────────────────────────────────── */
.fbr__track {
  display: flex; align-items: center;
  overflow-x: scroll; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  gap: 16px; padding: 12px 10% 28px; margin: 0 -20px;
}
.fbr__track::-webkit-scrollbar { display: none; }

/* ── Card ───────────────────────────────────────────────────────── */
.fbr__card {
  flex: 0 0 80%; scroll-snap-align: center;
  border-radius: 20px; padding: 32px 24px 28px;
  position: relative; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer;
  opacity: 0; transform: translateY(48px);
  transition: opacity .68s cubic-bezier(.22,1,.36,1), transform .68s cubic-bezier(.22,1,.36,1),
              box-shadow .35s ease, background .35s ease;
}
.fbr__card--side   { background: linear-gradient(148deg,#3a2278 0%,#2d1b69 55%,#1d1150 100%); }
.fbr__card--center { background: linear-gradient(148deg,#4c2b8f 0%,#3c2272 55%,#2d1b69 100%); }
.fbr__card::after {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit; border: 1px solid rgba(255,255,255,.07); pointer-events: none;
}
.fbr__card--center::after { border: 1.5px solid rgba(6,182,212,.4); }

.fbr__card.is-visible {
  opacity: 1; transform: translateY(0) scale(1);
  box-shadow: 0 10px 36px rgba(0,0,0,.35);
}

/* ── Avatar ─────────────────────────────────────────────────────── */
.fbr__avatar-wrap {
  position: relative; width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.fbr__dstar {
  position: absolute; color: #f59e0b; font-size: 14px; line-height: 1;
  filter: drop-shadow(0 0 4px rgba(245,158,11,.5));
}
.fbr__dstar--1 { top: 0px;  left: 2px;  font-size: 13px; }
.fbr__dstar--2 { top: -4px; right: 8px; font-size: 16px; }
.fbr__dstar--3 { top: 14px; right: -2px; font-size: 11px; }

.fbr__avatar {
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(6,182,212,.5); overflow: hidden;
  box-shadow: 0 0 0 4px rgba(6,182,212,.1), 0 0 20px rgba(6,182,212,.2);
}
.fbr__avatar--1 { background: linear-gradient(135deg,#2a1a5e 0%,#1d1252 100%); }
.fbr__avatar--2 { background: linear-gradient(135deg,#1a2a5e 0%,#0f1d4a 100%); }
.fbr__avatar--3 { background: linear-gradient(135deg,#1e1a5e 0%,#140f52 100%); }

.fbr__avatar-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.fbr__avatar-icon  { width: 42px; height: 42px; color: #06b6d4; flex-shrink: 0; }
.fbr__avatar-initials { display: none; font-size: 14px; font-weight: 800; color: #fff; }

/* ── Person ─────────────────────────────────────────────────────── */
.fbr__person { margin-bottom: 4px; }
.fbr__name    { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 4px; }
.fbr__company { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 500; }

/* ── Stars ──────────────────────────────────────────────────────── */
.fbr__stars { display: flex; justify-content: center; gap: 3px; margin: 14px 0 16px; }
.fbr__star  { font-size: 16px; color: #f59e0b; line-height: 1; }

/* ── Quote ──────────────────────────────────────────────────────── */
.fbr__quote {
  font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,.85); font-style: italic; flex: 1;
}
.fbr__quote::before { content: '"'; font-style: normal; }
.fbr__quote::after  { content: '"'; font-style: normal; }

/* ── LinkedIn ───────────────────────────────────────────────────── */
.fbr__linkedin {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(6,182,212,.12); border: 1.5px solid rgba(6,182,212,.35);
  color: #06b6d4; text-decoration: none; margin-top: 24px; flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
@media (hover: hover) and (pointer: fine) {
  .fbr__linkedin:hover { background: rgba(6,182,212,.26); border-color: rgba(6,182,212,.6); }
}

/* ── Dots ───────────────────────────────────────────────────────── */
.fbr__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.fbr__dot  {
  height: 8px; width: 8px; border-radius: 4px;
  background: rgba(107,33,168,.22); cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.fbr__dot--active { width: 24px; background: #6b21a8; }

/* ── 375px ──────────────────────────────────────────────────────── */
@media (min-width: 375px) {
  .feedbacks { padding: 60px 22px 76px; }
  .fbr__track { margin: 0 -22px; padding: 12px 11% 28px; }
  .fbr__card  { flex: 0 0 78%; }
}
@media (min-width: 390px) { .fbr__card { flex: 0 0 76%; padding: 34px 26px 30px; } }
@media (min-width: 430px) {
  .feedbacks { padding: 64px 24px 80px; }
  .fbr__track { margin: 0 -24px; padding: 12px 12% 28px; }
  .fbr__card  { flex: 0 0 74%; padding: 36px 28px 32px; }
  .fbr__avatar { width: 80px; height: 80px; }
  .fbr__avatar-icon { width: 44px; height: 44px; }
  .fbr__avatar-wrap { width: 100px; height: 100px; }
}
@media (min-width: 560px) {
  .fbr__card  { flex: 0 0 60%; }
  .fbr__track { padding: 12px 14% 28px; }
}

/* ── 768px: static 3-col, desktop card layout ───────────────────── */
@media (min-width: 768px) {
  .feedbacks { padding: 72px 28px 90px; overflow: visible; }
  .feedbacks::before { width: 420px; height: 420px; }
  .fbr__track {
    overflow-x: visible; scroll-snap-type: unset;
    gap: 16px; padding: 20px 4px 32px; margin: 0; align-items: center;
  }
  .fbr__card {
    flex: 1; min-width: 0; scroll-snap-align: unset;
    border-radius: 18px; padding: 24px 20px 22px;
    text-align: left; flex-direction: column; align-items: flex-start;
  }
  .fbr__dstar { display: none; }
  .fbr__avatar-wrap { width: auto; height: auto; margin-bottom: 0; position: static; }
  .fbr__avatar { width: 46px; height: 46px; border: 2px solid rgba(255,255,255,.15); box-shadow: none; }
  .fbr__avatar--1 { background: linear-gradient(135deg,#7c3aed 0%,#06b6d4 100%); }
  .fbr__avatar--2 { background: linear-gradient(135deg,#0891b2 0%,#6b21a8 100%); }
  .fbr__avatar--3 { background: linear-gradient(135deg,#4f46e5 0%,#a855f7 100%); }
  .fbr__avatar-icon { display: none; }
  .fbr__avatar-initials { display: block; }

  .fbr__header { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 14px; }
  .fbr__person { flex: 1; min-width: 0; margin-bottom: 0; }
  .fbr__name   { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
  .fbr__company { font-size: 11px; }
  .fbr__stars  { justify-content: flex-start; margin: 0 0 12px; }
  .fbr__star   { font-size: 14px; }
  .fbr__quote  { text-align: left; font-style: normal; font-size: 13px; }
  .fbr__quote::before { content: '\201C'; font-size: 40px; line-height: 0; vertical-align: -14px;
    margin-right: 2px; color: rgba(6,182,212,.7); font-family: Georgia, serif; font-style: normal; }
  .fbr__quote::after  { content: ''; }
  .fbr__linkedin { width: 28px; height: 28px; border-radius: 7px; margin-top: 0; position: absolute; top: 20px; right: 18px; }
  .fbr__card.is-visible { opacity: 1; transform: translateY(0) scale(1); box-shadow: 0 10px 32px rgba(0,0,0,.3); }
  .fbr__dots { display: none; }
}
@media (min-width: 820px)  {
  .feedbacks { padding: 76px 32px 96px; }
  .fbr__track { gap: 18px; }
  .fbr__card  { padding: 26px 22px 24px; }
  .fbr__quote { font-size: 13.5px; }
}

/* ── 1024px: depth effect ───────────────────────────────────────── */
@media (min-width: 1024px) {
  .feedbacks { padding: 84px 36px 104px; overflow: hidden; }
  .feedbacks::before { width: 480px; height: 480px; }
  .fbr__track { gap: 20px; padding: 26px 6px 42px; }
  .fbr__card  { border-radius: 20px; padding: 28px 24px 26px; }
  .fbr__linkedin { top: 24px; right: 20px; }
  .fbr__card--side.is-visible   { opacity: .72; transform: translateY(0) scale(.935); box-shadow: 0 10px 32px rgba(0,0,0,.28); }
  .fbr__card--center.is-visible {
    opacity: 1; transform: translateY(0) scale(1.04);
    box-shadow: 0 0 0 1.5px rgba(6,182,212,.45), 0 28px 64px rgba(0,0,0,.46), 0 0 44px rgba(107,33,168,.22);
  }
  .fbr__avatar { width: 48px; height: 48px; }
  .fbr__name  { font-size: 15px; }
  .fbr__quote { font-size: 13.5px; }
}
@media (min-width: 1280px) {
  .feedbacks { padding: 90px 40px 110px; }
  .fbr__track { gap: 22px; padding: 28px 8px 44px; }
  .fbr__card  { padding: 30px 26px 28px; }
  .fbr__avatar { width: 50px; height: 50px; }
  .fbr__name  { font-size: 15px; }
  .fbr__quote { font-size: 14px; }
  .fbr__star  { font-size: 15px; }
  .fbr__linkedin { width: 30px; height: 30px; top: 26px; right: 22px; }
}
@media (min-width: 1440px) {
  .feedbacks { padding: 100px 48px 120px; }
  .fbr__track { gap: 24px; padding: 32px 10px 48px; }
  .fbr__card  { padding: 34px 30px 30px; }
  .fbr__avatar { width: 54px; height: 54px; }
  .fbr__name  { font-size: 16px; }
  .fbr__quote { font-size: 14.5px; line-height: 1.72; }
  .fbr__linkedin { width: 32px; height: 32px; top: 28px; right: 24px; }
  .fbr__card--side.is-visible   { opacity: .70; transform: translateY(0) scale(.925); }
  .fbr__card--center.is-visible {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 0 0 1.5px rgba(6,182,212,.5), 0 32px 72px rgba(0,0,0,.5), 0 0 52px rgba(107,33,168,.25);
  }
}
@media (min-width: 1920px) {
  .feedbacks { padding: 120px 60px 140px; }
  .fbr__track { gap: 28px; }
  .fbr__card  { padding: 38px 34px 34px; border-radius: 24px; }
  .fbr__avatar { width: 58px; height: 58px; }
  .fbr__name  { font-size: 17px; }
  .fbr__quote { font-size: 15.5px; }
  .fbr__star  { font-size: 17px; }
}

