/* ============ 05 ОТЗЫВЫ (светлый мессенджер-стиль) ============ */
.reviews {
  position: relative;
  background: #eef0f4;
  color: var(--ink);
  padding: 4.5rem 5vw 5rem;
  overflow: hidden;
}

/* шапка блока */
.rev__head {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(20,20,26,.2);
  padding-bottom: 1rem;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
}

.rev__head span:first-child { color: #3aa1ff; font-weight: 700; }
.rev__meta { margin-left: auto; opacity: .5; }

.rev__title {
  position: relative;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 20ch;
  margin-bottom: 3.5rem;
}

.rev__title em { font-style: normal; color: #3aa1ff; }

/* окно чата */
.rev-chat {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(20,20,26,.14);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(20,20,26,.12);
}

.rev-chat__bar {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .95rem 1.3rem;
  background: #f7f8fa;
  border-bottom: 1px solid rgba(20,20,26,.1);
}

.rev-chat__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), #3a3a4a);
  color: var(--light);
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.rev-chat__name { font-weight: 700; font-size: .88rem; }
.rev-chat__status { font-size: .68rem; color: rgba(20,20,26,.5); }
.rev-chat__status i { font-style: normal; color: #2fbf71; }

.rev-chat__star {
  margin-left: auto;
  color: #ffb020;
  font-size: 1rem;
  letter-spacing: .1em;
}

/* лента сообщений */
.rev-chat__body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.8rem 1.4rem 2rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(58,161,255,.045) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(58,161,255,.045) 0, transparent 40%);
}

.rev-msg { display: flex; gap: .8rem; align-items: flex-end; max-width: 88%; }
.rev-msg--out { align-self: flex-end; flex-direction: row-reverse; }

.rev-msg__avatar {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .62rem;
  font-weight: 700;
  color: #fff;
}

.rev-msg:nth-child(1) .rev-msg__avatar { background: #b76e79; }
.rev-msg:nth-child(2) .rev-msg__avatar { background: #5a7d5a; }
.rev-msg:nth-child(3) .rev-msg__avatar { background: #6a6abf; }

.rev-msg__bubble {
  position: relative;
  background: #f1f3f7;
  border: 1px solid rgba(20,20,26,.08);
  border-radius: 16px 16px 16px 4px;
  padding: 1rem 1.2rem .7rem;
}

.rev-msg--out .rev-msg__bubble {
  background: #e7f0ff;
  border-color: rgba(58,161,255,.25);
  border-radius: 16px 16px 4px 16px;
}

.rev-msg__text { font-size: .85rem; line-height: 1.7; }

.rev-msg__time {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .3rem;
  font-size: .62rem;
  color: rgba(20,20,26,.45);
  margin-top: .45rem;
}

.rev-msg__read { color: #3aa1ff; font-size: .7rem; }

/* строка ввода (декоративная) */
.rev-chat__input {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.3rem;
  border-top: 1px solid rgba(20,20,26,.1);
  background: #f7f8fa;
  font-size: .78rem;
  color: rgba(20,20,26,.45);
}

.rev-chat__send {
  margin-left: auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--light);
  display: grid;
  place-items: center;
  font-size: .9rem;
  transform: rotate(-45deg);
}

/* подпись под чатом */
.rev__cap {
  text-align: center;
  margin-top: 1.6rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .5;
}

/* адаптив */
@media (max-width: 640px) {
  .rev-msg { max-width: 100%; }
  .rev-chat__star { display: none; }
}
