/* ============================================================
   Packagly — reviews.css  (split from style.css)
   Depends on: common.css (variables, reset, icon helpers)
   Responsive @media rules live in responsive.css
   ============================================================ */

/* ============================================================
   WHAT OUR CLIENTS SAY (reviews slider)
============================================================ */
.reviews-section {
  background: #f4f6f4;
  color: #14241b;
  padding: 64px 0;
}

.reviews-head {
  text-align: center;
  margin-bottom: 34px;
}
.reviews-overline {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #14241b;
}
.reviews-overline .accent {
  color: var(--green);
}
.reviews-overline .dash {
  width: 46px;
  height: 2px;
  background: #c7d2c9;
  display: inline-block;
}

/* ---- carousel + side arrows ---- */
.reviews-carousel {
  position: relative;
  padding: 0 62px;
}
.reviews-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px;
  margin: -6px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}

.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #d8e0db;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.2s ease;
}
.reviews-arrow.prev {
  left: 0;
}
.reviews-arrow.next {
  right: 0;
}
.reviews-arrow .icon {
  width: 18px;
  height: 18px;
}
.reviews-arrow .icon.flip {
  transform: rotate(180deg);
}
.reviews-arrow:hover:not(:disabled) {
  border-color: var(--green);
  background: var(--green);
}
.reviews-arrow:hover:not(:disabled) .icon {
  filter: brightness(0) invert(1);
}
.reviews-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ---- review card ---- */
.review-card {
  flex: 0 0 calc((100% - 48px) / 3); /* 3 per view */
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #eef1ee;
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(20, 40, 30, 0.04);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--green);
}
.review-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.review-avatar-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.5px;
}
.review-meta h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #14241b;
  line-height: 1.2;
}
.review-role {
  display: block;
  font-size: 13px;
  color: #7c8a80;
  margin-top: 2px;
}
.review-stars {
  display: inline-flex;
  gap: 3px;
  margin-top: 7px;
}
.review-stars .r-star {
  width: 16px;
  height: 16px;
  fill: var(--green);
}

.review-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.review-quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 0.9;
  font-weight: 700;
  color: var(--green);
  flex: none;
}
.review-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #46544b;
}

/* ---- dots ---- */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.reviews-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #cdd6cf;
  cursor: pointer;
  transition: all 0.2s ease;
}
.reviews-dots button.is-active {
  background: var(--green);
  transform: scale(1.25);
}

/* ---- responsive: 3 -> 2 -> 1 per view ---- */
