/* ============================================================
   RatingSection.module.css — Testimoni Section (Homepage)
   ============================================================ */

.section {
  position: relative;
  background: linear-gradient(180deg, #FAFCFA 0%, #F5F8F5 100%);
  padding-top: var(--space-16, 4rem);
  padding-bottom: var(--space-16, 4rem);
  overflow: hidden;
}

.bgTopoWrap {
  position: absolute;
  top: -10px;
  right: -20px;
  width: 580px;
  height: 400px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bgTopoPattern {
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

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

/* ── Header Row ────────────────────────────────────────────── */

.headerRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-8, 2rem);
  margin-bottom: var(--space-8, 2rem);
}

.headerLeft {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-3, 0.75rem);
}

.eyebrowText {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ppt-primary, #269436);
}

.eyebrowLine {
  width: 36px;
  height: 1.5px;
  background-color: var(--ppt-primary, #269436);
  opacity: 0.75;
}

.heading {
  font-size: clamp(3.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #17232F;
  margin-bottom: var(--space-3, 0.75rem);
}

.headingAccent {
  color: var(--ppt-primary, #269436);
}

.description {
  font-size: 17px;
  line-height: 1.6;
  color: #667085;
  margin: 0;
}

.seeAllBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1.5px solid var(--ppt-primary, #269436);
  background-color: transparent;
  color: var(--ppt-primary, #269436);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 220ms ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.seeAllBtn:hover {
  background-color: var(--ppt-primary, #269436);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(38, 148, 54, 0.22);
}

.seeAllArrow {
  transition: transform 200ms ease;
}

.seeAllBtn:hover .seeAllArrow {
  transform: translateX(3px);
}

/* ── Summary & Cards ───────────────────────────────────────── */

.summaryWrap {
  margin-bottom: var(--space-8, 2rem);
}

.cardsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 1199px) {
  .heading {
    font-size: clamp(2.6rem, 3.8vw, 3.2rem);
  }
  .cardsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--space-10, 2.5rem);
    padding-bottom: var(--space-10, 2.5rem);
  }
  .headerRow {
    flex-direction: column;
    gap: var(--space-5, 1.25rem);
  }
  .heading {
    font-size: clamp(2.1rem, 6.5vw, 2.4rem);
    line-height: 1.15;
  }
  .description {
    font-size: 15.5px;
  }
  .seeAllBtn {
    width: 100%;
    justify-content: center;
  }
  .cardsGrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
