/* ==========================================================================
   Sunme — Testimonials (G3; G5H: nền ảnh skyline như DIWE)
   Kicker "04 / ĐÁNH GIÁ", section ngắn (padding 64px desktop, fix đợt 1),
   H2 32px/700 CHỮ THƯỜNG (bỏ in hoa).
   G5H: bỏ nền gradient đỏ phẳng chói — nền là ảnh skyline tông đỏ
   (biến thể tối + mờ nhẹ của hero-city-red, theme assets) phủ lớp phủ
   đỏ đậm gradient; trích dẫn trắng lớn đậm trực tiếp trên nền (KHÔNG
   thẻ/box), dấu ngoặc kép lớn màu đỏ Sunme, pill vai trò trong mờ.
   G5S (Lobe 24/11): slide xếp NGANG — trích dẫn trái, tác giả phải
   (ngăn bằng vạch dọc mờ); trích dẫn về 18px/600 (token --fs-lead),
   icon quote Lucide nét mảnh 40px màu đỏ nhạt (bỏ fill đặc 56px);
   mobile xếp dọc lại (responsive.css).
   Slider Swiper DỌC: slide KHÔNG fixed height 330px (fix E1) — min-height
   280px + cao tự động (autoHeight), trích dẫn không bị cắt.
   Cột trái 300px: kicker + H2 + mở bài + nút prev/next. Cột phải: slider.
   ========================================================================== */

.sunme-testimonials {
  background-color: var(--red-deep);
  background-image: url(../../img/testimonials-office.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Lớp phủ đỏ đậm gradient (tối dần xuống dưới, không phẳng) — chữ trắng
   đọc rõ trên nền ảnh. G5H sửa sau khi soi ảnh: .78/.9 làm ảnh city
   chìm hẳn (nền gần như đỏ phẳng); .60/.75 giữ họa tiết nhà cao tầng
   thấy được mà trích dẫn 26px/700 trắng vẫn đủ tương phản. */
.sunme-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45, 0, 4, .45), rgba(25, 0, 2, .62));
}

.sunme-testimonials .sunme-container {
  position: relative;
  z-index: 1;
}

.sunme-testi-wrap {
  display: flex;
  gap: var(--space-32);
  align-items: flex-start;
}

.sunme-testi-intro {
  flex: 0 0 300px;
}

.sunme-testi-intro .sunme-section-head {
  margin-bottom: var(--space-24);
}

/* --- Nút prev/next: tròn 44px, viền trắng mờ, hover nền đỏ --- */
.sunme-testi-nav {
  display: flex;
  gap: var(--space-12);
}

.sunme-testi-nav button {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-circle);
  border: 1px solid var(--line-on-dark);
  background-color: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-base),
    border-color var(--transition-base);
}

.sunme-testi-nav button:hover {
  background-color: var(--red);
  border-color: var(--red);
}

.sunme-testi-nav .lucide {
  width: 22px;
  height: 22px;
}

/* --- Slider dọc: min-height 280px, cao tự động theo slide đang xem --- */
.sunme-testi-swiper {
  flex: 1;
  min-width: 0;
  min-height: 280px;
}

/* Swiper thêm class .swiper-horizontal mặc định — slider dọc cần chiều cao
   slide tự nhiên, không bị rule height của Swiper khóa. */
.sunme-testi-swiper .swiper-slide {
  height: auto;
}

/* G5H: bỏ thẻ/box — trích dẫn nằm trực tiếp trên nền ảnh như DIWE.
   G5S: slide xếp NGANG — cột trích dẫn trái (flex 1) + cột tác giả
   phải (280px, vạch dọc mờ ngăn cách). Căn giữa theo chiều dọc. */
.sunme-testi-slide {
  min-height: 280px;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-32);
  margin: 0;
  padding: 0;
}

.sunme-testi-quote-col {
  flex: 1;
  min-width: 0;
}

/* G5S: icon quote Lucide NÉT MẢNH (stroke currentColor), 40px, màu đỏ
   nhạt trên nền đỏ đậm — KHÔNG fill đặc (fill đỏ 56px trước đây biến
   icon thành khối đặc dày, xấu). */
.sunme-testi-slide .sunme-quote-icon {
  color: var(--red-pale);
  margin-bottom: var(--space-16);
  display: block;
}

.sunme-testi-slide .sunme-quote-icon .lucide {
  width: 40px;
  height: 40px;
}

/* G5S: trích dẫn 18px/600 = token --fs-lead (một cỡ chuẩn của site),
   không còn 27px/700 quá khổ so với toàn trang. */
.sunme-testi-slide blockquote {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--white);
  font-weight: 600;
}

/* Cột tác giả phải: vạch dọc mờ + padding trái 32px (cộng gap 32px
   thành 64px tách biệt với trích dẫn). */
.sunme-testi-who {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  flex: none;
  width: 280px;
  border-left: 1px solid var(--line-on-dark);
  padding-left: var(--space-32);
}

.sunme-testi-avatar {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius-circle);
  background-color: var(--red);
  color: var(--white);
  font-size: 21px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sunme-testi-avatar-img {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius-circle);
  object-fit: cover;
}

.sunme-testi-who-text strong {
  display: block;
  color: var(--white);
  font-size: var(--fs-body);
  margin-bottom: var(--space-8);
}

/* G5H: vai trò/công ty thành pill trong mờ (kiểu DIWE). */
.sunme-testi-role {
  display: inline-block;
  padding: var(--space-4) var(--space-12);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, .14);
  color: var(--white);
  font-size: var(--fs-small);
  line-height: 1.4;
}
