/* ---------------- Customer support ---------------- */
.support { background: var(--white); }

/* left cards */
.sup-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; margin-bottom: 1rem; transition: .2s ease;
}
.sup-card:hover { border-color: var(--brand-border); box-shadow: var(--shadow-sm); }
.sup-card--hl { background: var(--brand-tint); border-color: var(--brand-border); }
.sup-card__icon {
  flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); border-radius: 13px; font-size: 1.35rem;
}
.sup-card--hl .sup-card__icon { background: var(--brand); color: #fff; }
.sup-card__body { flex: 1; }
.sup-card__body h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 .3rem; }
.sup-card__body p { color: var(--muted); font-size: .92rem; margin: 0; }
.sup-card__body p strong { color: var(--ink); }
.sup-card__top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.always-on {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .25rem .6rem; border-radius: 999px;
}
.always-on__dot { width: 7px; height: 7px; border-radius: 50%; background: #25b574; animation: pulse 2s infinite; }

.sup-help { list-style: none; padding: 0; margin: .7rem 0 0; display: grid; gap: .5rem; }
.sup-help li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: var(--body); }
.sup-help i { color: var(--brand); font-size: 1rem; }

.sup-card--stat { align-items: center; }
.sup-stat__num { font-family: var(--font-mono); font-size: 2.6rem; font-weight: 700; color: var(--brand); line-height: 1; }
.sup-stat__text h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 .2rem; }
.sup-stat__text p { color: var(--muted); font-size: .88rem; margin: 0; }

/* right: chat mockup */
.chat {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-md); overflow: hidden;
}
.chat__head {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff; padding: 1rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.chat__brand { display: flex; align-items: center; gap: .7rem; }
.chat__logo { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 1.1rem; }
.chat__brand strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.chat__brand small { display: flex; align-items: center; gap: .35rem; font-size: .74rem; color: #cdeedd; }
.chat__dot { width: 7px; height: 7px; border-radius: 50%; background: #6fe0ac; animation: pulse 2s infinite; }
.chat__btns { display: flex; gap: .55rem; font-size: .8rem; opacity: .85; }
.chat__btns i { width: 24px; height: 24px; display: grid; place-items: center; background: rgba(255,255,255,.14); border-radius: 7px; }

.chat__body { padding: 1.2rem 1.1rem; display: grid; gap: 1rem; background: var(--brand-tint); }
.msg { display: flex; gap: .6rem; align-items: flex-end; }
.msg--out { justify-content: flex-end; }
.msg__avatar {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
  font-weight: 700; font-size: .85rem; font-family: var(--font-display);
}
.msg__avatar--you { background: var(--brand); color: #fff; }
.msg__meta { font-size: .76rem; color: var(--muted); font-weight: 600; margin-bottom: .25rem; }
.msg__tag { background: var(--brand-soft); color: var(--brand); font-size: .62rem; font-weight: 700; padding: .08rem .4rem; border-radius: 99px; margin-left: .2rem; }
.msg__bubble {
  background: #fff; border: 1px solid var(--line); color: var(--body);
  padding: .65rem .85rem; border-radius: 14px; font-size: .9rem; line-height: 1.5; max-width: 18rem;
}
.msg__bubble strong { color: var(--ink); }
.msg--out .msg__bubble { background: var(--brand); border-color: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg--in .msg__bubble { border-bottom-left-radius: 4px; }

.chat__input { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-top: 1px solid var(--line); }
.chat__input input { flex: 1; border: 0; outline: 0; font-size: .92rem; color: var(--ink); background: transparent; }
.chat__send { flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 11px; background: var(--brand); color: #fff; cursor: pointer; transition: .2s; }
.chat__send:hover { background: var(--brand-dark); }

.chat-ratings { display: flex; gap: .8rem; margin-top: 1rem; flex-wrap: wrap; }
.rating-chip {
  flex: 1; min-width: 200px;
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem;
  font-size: .82rem; color: var(--body); font-weight: 500;
}
.rating-chip > i:first-child { font-size: 1.05rem; color: var(--brand); }
.rating-chip__stars { color: #f6b73c; font-size: .8rem; white-space: nowrap; }
.rating-chip__txt { color: var(--muted); }
