/* ==========================================================================
   Rugando Community Foundation — Impact & Counters Stylesheet
   File: assets/css/impact-section.css
   ========================================================================== */

.rcf-impact-section {
  background-color: #fbf8f3;
  color: #16221b;
}

.rcf-impact-main {
  padding: 64px 20px 68px;
}

.rcf-impact-container {
  max-width: 1180px;
  margin: 0 auto;
}

.rcf-impact-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.rcf-impact-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}

.rcf-impact-dot--green {
  background-color: #15803d;
}

.rcf-impact-dot--mint {
  background-color: #6ee7b7;
}

.rcf-impact-dot--gold {
  background-color: #f59e0b;
}

.rcf-impact-title {
  margin: 0 0 12px;
  max-width: 580px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #111c16;
}

.rcf-impact-subtitle {
  margin: 0 0 38px;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.6;
  color: #52645a;
}

.rcf-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rcf-impact-card {
  background-color: #ffffff;
  border: 1px solid #ece7df;
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 8px 24px rgba(17, 28, 22, 0.04);
  display: flex;
  flex-direction: column;
}

.rcf-impact-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.rcf-impact-tag--education {
  background-color: #dcfce7;
  color: #15803d;
}

.rcf-impact-tag--livelihoods {
  background-color: #fef3c7;
  color: #b45309;
}

.rcf-impact-tag--health {
  background-color: #e0f2fe;
  color: #0369a1;
}

.rcf-impact-number {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  color: #0b7a4b;
  font-variant-numeric: tabular-nums;
}

.rcf-impact-unit {
  margin: 0 0 24px;
  font-size: 0.96rem;
  line-height: 1.5;
  color: #52645a;
}

.rcf-impact-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.25;
  color: #111c16;
}

.rcf-impact-desc {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #4b5d53;
}

/* Bottom Counter Strip */
.rcf-counters-band {
  background-color: #f6f2ea;
  border-top: 1px solid #ece6dc;
  border-bottom: 1px solid #ece6dc;
  padding: 54px 20px;
}

.rcf-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.rcf-counter-item {
  text-align: center;
  padding: 8px 18px;
  border-right: 1px solid #e4ddd1;
}

.rcf-counter-item:last-child {
  border-right: 0;
}

.rcf-counter-value {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.5vw, 2.95rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0b7a4b;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}

.rcf-counter-label {
  display: block;
  font-size: 0.92rem;
  color: #52645a;
}

@media (max-width: 960px) {
  .rcf-impact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rcf-counters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .rcf-counter-item:nth-child(even) {
    border-right: 0;
  }
}

@media (max-width: 540px) {
  .rcf-impact-main {
    padding: 48px 16px 52px;
  }

  .rcf-impact-card {
    padding: 22px 20px;
    border-radius: 16px;
  }

  .rcf-counters-band {
    padding: 42px 16px;
  }

  .rcf-counters-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rcf-counter-item {
    border-right: 0;
    border-bottom: 1px solid #e4ddd1;
    padding-bottom: 18px;
  }

  .rcf-counter-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}