/* =========================================================================
   Trải nghiệm khách hàng — Đánh giá carousel
   ========================================================================= */

.exp-reviews {
  padding: 72px 0;
}

@media screen and (min-width: 1025px) {
  .exp-reviews {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* --- H2 ------------------------------------------------------------------ */
.exp-reviews__title {
  margin: 0 0 40px 0;
  color: #293948;
  font-family: var(--font-hn);
  font-weight: 700;
  font-size: 30px;
  line-height: 136%;
  letter-spacing: 0.01em;
  text-align: center;
}

/* --- Carousel wrapper ---------------------------------------------------- */
.exp-reviews__carousel {
  position: relative;
  max-width: 1070px;
  margin: 0 auto;
}

.exp-reviews__swiper {
  width: 100%;
  overflow: hidden;
}

/* --- Slide / Card -------------------------------------------------------- */
.exp-reviews__slide {
  height: auto;
}

.exp-reviews__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* --- Avatar + quote icon ------------------------------------------------- */
.exp-reviews__avatar-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.exp-reviews__avatar {
  width: 150px;
  height: 150px;
  max-width: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.exp-reviews__quote-icon {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 44px;
  height: 44px;
}

/* --- Quote text ---------------------------------------------------------- */
.exp-reviews__quote {
  margin: 0;
  color: #616161;
  font-family: var(--font-hn);
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 720px;
}

/* --- Author (name + role) ------------------------------------------------ */
.exp-reviews__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.exp-reviews__name {
  color: #293948;
  font-family: var(--font-hn);
  font-weight: 500;
  font-size: 20px;
  line-height: 138%;
  letter-spacing: 0.01em;
  text-align: center;
}

.exp-reviews__role {
  color: #9E9E9E;
  font-family: var(--font-hn);
  font-weight: 300;
  font-size: 12px;
  line-height: 146%;
  letter-spacing: 0.01em;
  text-align: center;
}

/* --- Nav buttons --------------------------------------------------------- */
.exp-reviews__prev,
.exp-reviews__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 5;
  line-height: 0;
}

.exp-reviews__prev {
  left: -72px;
}

.exp-reviews__next {
  right: -72px;
}

.exp-reviews__prev:disabled,
.exp-reviews__next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* --- Dots pagination ----------------------------------------------------- */
.exp-reviews .exp-reviews__dots.swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
  gap: 8px;
  width: auto;
  margin-top: 24px;
}

.exp-reviews__dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 4px;
  background: #293948;
  opacity: 0.3;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.exp-reviews__dots .swiper-pagination-bullet-active {
  width: 24px;
  opacity: 1;
}

/* --- Responsive ---------------------------------------------------------- */
@media screen and (max-width: 1220px) {
  .exp-reviews__prev {
    left: 8px;
  }
  .exp-reviews__next {
    right: 8px;
  }
  .exp-reviews__prev svg rect,
  .exp-reviews__next svg rect {
    fill: #323F48;
    fill-opacity: 0.5;
  }
}

@media screen and (max-width: 1024px) {
  .exp-reviews {
    padding: 56px 0;
  }

  .exp-reviews__title {
    font-size: 26px;
    margin-bottom: 32px;
  }

  .exp-reviews__prev,
  .exp-reviews__next {
    width: 40px;
    height: 40px;
  }
  .exp-reviews__prev svg,
  .exp-reviews__next svg {
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 767px) {
  .exp-reviews {
    padding: 48px 0;
  }

  .exp-reviews__title {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .exp-reviews__avatar {
    width: 120px;
    height: 120px;
  }

  .exp-reviews__quote {
    font-size: 14px;
  }

  .exp-reviews__name {
    font-size: 17px;
  }

  .exp-reviews__card {
    gap: 20px;
  }

  .exp-reviews__prev,
  .exp-reviews__next {
    width: 36px;
    height: 36px;
  }
  .exp-reviews__prev svg,
  .exp-reviews__next svg {
    width: 36px;
    height: 36px;
  }

  .exp-reviews .exp-reviews__dots.swiper-pagination {
    margin-top: 16px;
  }
}
