/* ============================================================
   30. 머니콜 전용 섹션  ―  옆커폰식 '표현 기법'을 블루로 재해석
   ------------------------------------------------------------
   ★ 색·크기는 전부 토큰(var(--...))만 사용합니다.
   ★ 옆커폰의 '가맹점 성장 막대그래프' 표현을 참고해
     "연도별 누적 상담 성장"으로 재구성했습니다(코드·이미지는 미사용).
   ============================================================ */

/* ─────────── 성장 타임라인 (막대그래프 + 숫자 카운트업) ─────────── */
.d-growth {
  background: var(--brand-50);
  padding-block: var(--space-20);
  text-align: center;
  overflow: hidden;
}
.d-growth__eyebrow {
  color: var(--brand-ink);
  font-weight: var(--fw-bold, 700);
  letter-spacing: .06em;
  font-size: var(--fs-sm, 15px);
  margin-bottom: var(--space-3);
}
.d-growth__title {
  color: var(--ink-900);
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.d-growth__title em { font-style: normal; color: var(--brand-ink); }
.d-growth__lead {
  color: var(--ink-500);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  margin-bottom: var(--space-12);
}

/* 차트 : 아래정렬 막대 6개 */
.d-growth__chart {
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 1.6vw, 20px);
  height: clamp(200px, 30vw, 320px);
  max-width: 760px;
  margin-inline: auto;
}
.d-growth__bar {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}
/* 막대 : 값·연도 라벨은 막대 기준 absolute 라 높이 계산에 영향을 주지 않습니다.
   처음엔 높이 0 → 화면에 들어오면 목표 높이(--h = 차트높이의 %)로 자랍니다. */
.d-growth__col {
  position: relative;
  width: min(64%, 46px);
  height: 0;
  border-radius: var(--radius-md, 8px) var(--radius-md, 8px) 0 0;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
  transition: height .9s cubic-bezier(.22, .8, .28, 1);
}
.d-growth__val {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 6px;
  color: var(--brand-ink);
  font-weight: var(--fw-bold, 700);
  font-size: clamp(13px, 1.5vw, 17px);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.d-growth__val small { font-size: .8em; font-weight: var(--fw-medium, 600); }
.d-growth.is-visible .d-growth__col { height: var(--h); }
/* 순차 등장 */
.d-growth__bar:nth-child(1) .d-growth__col { transition-delay: .00s; }
.d-growth__bar:nth-child(2) .d-growth__col { transition-delay: .08s; }
.d-growth__bar:nth-child(3) .d-growth__col { transition-delay: .16s; }
.d-growth__bar:nth-child(4) .d-growth__col { transition-delay: .24s; }
.d-growth__bar:nth-child(5) .d-growth__col { transition-delay: .32s; }
.d-growth__bar:nth-child(6) .d-growth__col { transition-delay: .40s; }
/* 마지막(현재) 막대 강조 */
.d-growth__bar--now .d-growth__col {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  box-shadow: 0 10px 24px rgba(var(--shadow-rgb), .28);
}
.d-growth__bar--now .d-growth__val { font-size: clamp(15px, 1.9vw, 21px); }
.d-growth__yr {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  color: var(--ink-500);
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: var(--fw-medium, 600);
}
.d-growth__bar--now .d-growth__yr { color: var(--brand-ink); }
.d-growth__note {
  color: var(--ink-500);
  font-size: var(--fs-xs, 13px);
  margin-top: var(--space-8);
}

@media (max-width: 768px) {
  .d-growth { padding-block: var(--space-12); }
  .d-growth__chart { gap: 6px; }
  .d-growth__col { width: min(70%, 34px); }
}

/* ─────────── 강점 피처카드 (옆커폰식 아이콘 카드 → 블루) ─────────── */
.d-feats { padding-block: var(--space-20); text-align: center; }
.d-feats__title {
  color: var(--ink-900);
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.25; letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.d-feats__title em { font-style: normal; color: var(--brand-ink); }
.d-feats__lead { color: var(--ink-500); font-size: clamp(15px, 1.6vw, 18px); margin-bottom: var(--space-12); }
.d-feats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5); max-width: 1000px; margin-inline: auto;
}
.d-feats__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl, 20px);
  padding: var(--space-8) var(--space-5);
  box-shadow: 0 6px 20px rgba(var(--shadow-rgb), .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.d-feats__card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(var(--shadow-rgb), .12); }
.d-feats__ico {
  width: 64px; height: 64px; margin: 0 auto var(--space-5);
  border-radius: 50%; background: var(--brand-50);
  display: flex; align-items: center; justify-content: center;
}
.d-feats__ico .ico { width: 30px; height: 30px; color: var(--brand-500); }
.d-feats__name { color: var(--ink-900); font-size: clamp(16px, 1.8vw, 20px); font-weight: var(--fw-bold, 700); margin-bottom: var(--space-2); }
.d-feats__desc { color: var(--ink-500); font-size: clamp(13px, 1.5vw, 15px); line-height: 1.6; }
@media (max-width: 768px) {
  .d-feats { padding-block: var(--space-12); }
  .d-feats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
}
