/* ==========================================================================
   about-milestone.css — Trang Giới thiệu · Section 3: Cột mốc phát triển
   Figma node 1259:16420. Nền trắng; tiêu đề canh giữa; card 2 nửa:
   nửa trắng (nội dung) + nửa đỏ (thống kê + emblem).
   ========================================================================== */

.about-milestone {
  background-color: #ffffff;
  color: var(--dsh-ink);
  overflow: hidden;
}

/* -------- Tiêu đề canh giữa -------- */
.milestone-head {
  margin-bottom: var(--space-6);
}

.milestone-eyebrow {
  display: block;
  color: var(--dsh-red);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.milestone-title {
  color: var(--dsh-ink);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.1;
  margin: 0;
}

/* -------- Card lớn 2 nửa -------- */
.milestone-card {
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1.5rem 3rem rgba(13, 37, 69, .12);
}

/* Nửa trắng: nội dung */
.milestone-body {
  flex: 1 1 46%;
  background-color: #ffffff;
  padding: clamp(32px, 4vw, 64px);
}

.milestone-bar {
  display: block;
  width: 80px;
  height: 6px;
  background-color: var(--dsh-red);
  margin-bottom: var(--space-4);
}

.milestone-subtitle {
  color: var(--dsh-ink);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.milestone-text {
  color: var(--dsh-slate);
  font-size: var(--fs-body);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.milestone-text:last-child {
  margin-bottom: 0;
}

.milestone-text strong {
  color: var(--dsh-red);
  font-weight: 600;
}

/* Nửa đỏ: thống kê + emblem */
.milestone-stats {
  position: relative;
  flex: 1 1 54%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-6);
  padding: clamp(32px, 4vw, 64px);
  background-color: var(--dsh-red);
  overflow: hidden;
}

.milestone-stat .stat-num {
  display: block;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
}

.milestone-stat .stat-num .plus {
  color: rgba(255, 255, 255, .5);
  font-weight: 600;
}

.milestone-stat .stat-label {
  display: block;
  margin-top: var(--space-3);
  color: rgba(255, 255, 255, .7);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Đường kẻ mảnh ngăn 2 số liệu — ngắn, không chọc qua emblem */
.milestone-stat:first-child::after {
  content: "";
  display: block;
  width: clamp(160px, 45%, 320px);
  height: 1px;
  margin-top: var(--space-6);
  background-color: rgba(255, 255, 255, .2);
}

/* Emblem lớn (vector) neo góc phải */
.milestone-emblem {
  position: absolute;
  right: clamp(-40px, -2vw, 0px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(240px, 26vw, 419px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* -------- Responsive: xếp chồng dưới lg -------- */
@media (max-width: 991.98px) {
  .milestone-card {
    flex-direction: column;
  }
  .milestone-emblem {
    right: -30px;
    width: clamp(180px, 40vw, 280px);
  }
}
