/* ═══════════════════════════════════════════════════════
   SCALE / STATS SECTION  — Figma 1:218 — 1440×441
   ═══════════════════════════════════════════════════════ */
.scale {
  position: relative;
  width: 100%;
  background: transparent;
  overflow: visible;
  padding: 64px 0 64px;
}

@media (max-width: 770px) {
  .scale {
    padding: 16px 0 48px;
  }

  .scale__title {
    margin-bottom: 32px;
  }

  .scale__grid {
    padding: 24px 20px;
    gap: 32px 20px;
  }

  .scale__stat {
    font-size: clamp(20px, 5vw, 24px);
  }
}

/* Ellipse 25: 719×168, #4D30FF 70%, Layer blur 400, left=0 */
.scale__e25 {
  position: absolute;
  left: 0;
  top: -84px;
  width: 719px;
  height: 168px;
  background: rgba(77, 48, 255, 0.70);
  border-radius: 9999px;
  filter: blur(200px);
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────
   Ellipse 26 — 1042×209, #4D30FF 70%, blur 200
   index-test.html: left=914, top=357
   ───────────────────────────────────────────────────── */
.scale__e26 {
  position: absolute;
  left: calc(50% + 194px);
  top: 357px;
  width: 1042px;
  height: 209px;
  background: rgba(77, 48, 255, 0.70);
  border-radius: 9999px;
  filter: blur(200px);
  pointer-events: none;
  z-index: 0;
}

/* ── dot decoration — Ellipse 31: 40×40, #047EFE, Layer blur 20 ── */
/* Figma: left=1297/1440=88.7% top=365 */
.scale__dot {
  position: absolute;
  left: 88.7%;
  top: min(365px, calc(100% - 60px));
  pointer-events: none;
  z-index: 1;
}

/* ── inner container ── */
.scale__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 128px;
  box-sizing: border-box;
}

@media (max-width: 1439px) {
  .scale__inner {
    padding: 0 clamp(20px, 6.67vw, 128px);
  }
}

/* ── title ── */
.scale__title {
  margin: 0 0 48px;
  max-width: 786px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 110%;
  letter-spacing: -0.01em;
  color: #fff;
}

/* ── stats grid — Frame 104: W=1184px, padding=32px all sides ── */
.scale__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  max-width: 1184px;
  width: 100%;
  padding: 32px;
  box-sizing: border-box;
  margin: 0;
  list-style: none;
}

@media (max-width: 1099px) {
  .scale__grid {
    flex-wrap: wrap;
    gap: 40px 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .scale__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 375px) {
  /* Уменьшаем шрифт, чтобы «Всероссийский научно-» умещалось в строку */
  .scale__title {
    font-size: clamp(1rem, 5.5vw, 1.2rem);
    line-height: 1.2;
    overflow-wrap: normal;
    hyphens: none;
    word-break: normal;
  }
}

/* ── separator ── */
.scale__sep {
  flex: 0 0 1px;
  width: 1px;
  align-self: stretch;
  min-height: 100px;
  background: #232a6d;
  border-radius: 10px;
}

@media (max-width: 1099px) {
  .scale__sep {
    display: none;
  }
}

/* ── single stat card — Frame 101: Vertical, W=200px Fixed, Gap=20px ── */
.scale__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex: 0 0 200px;
  width: 200px;
  min-width: 0;
  padding: 0;
}

@media (max-width: 1099px) {
  .scale__card {
    flex: 1 1 140px;
    width: auto;
  }
}

/* ── icon ── */
.scale__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent-pill);
}

.scale__icon img,
.scale__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* ── copy wrapper ── */
.scale__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

/* ── text ── */
.scale__stat {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -0.01em;
  color: #fff;
}

.scale__text {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.01em;
  color: #c4c5cc;
}
