/* ═══════════════════════════════════════════════════════════════════
   About — Closing CTA + Stats banner (Figma node 655:1745)
   ═══════════════════════════════════════════════════════════════════ */

.about-cta-stats {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding-block: 160px;
}

.about-cta-stats__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

.about-cta-stats__header {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: var(--header-max-width);
  width: 100%;
  text-align: center;
}

.about-cta-stats__title {
  font-size: var(--font-size-h2);
  font-weight: 600;
  color: var(--color-bg);
  margin: 0;
  line-height: normal;
}

.about-cta-stats__sub {
  font-size: var(--font-size-body-lg);
  font-weight: 400;
  color: var(--color-bg);
  margin: 0;
  line-height: normal;
}

/* ── Buttons ─────────────────────────────────────────────────────── */

.about-cta-stats__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.about-cta-stats__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  /* fit-content, not a fixed max-width: the .alf-btn wave animation keeps
     its label on one line at desktop widths (only wraps below 767px — see
     main.css), so a narrow cap here would shrink the text-clip below its
     content width and clip these long labels instead of wrapping them. */
  width: fit-content;
  max-width: 100%;
  padding: 14px 16px;
  font-size: var(--font-size-body-md);
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  background-color: var(--color-bg);
  border-radius: 8px;
  transition: opacity 0.2s ease;
}

.about-cta-stats__btn:hover,
.about-cta-stats__btn:focus-visible {
  opacity: 0.88;
}

.about-cta-stats__btn--primary {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.about-cta-stats__btn--secondary {
  color: var(--color-dark);
  border: 1px solid transparent;
}

/* ── Stats row ───────────────────────────────────────────────────── */

.about-cta-stats__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  width: 100%;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--color-bg);
}

.about-cta-stats__stat {
  display: flex;
  flex: 1 1 0;
  min-width: 140px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-cta-stats__stat-value {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
  line-height: normal;
}

.about-cta-stats__stat-label {
  font-size: var(--font-size-body-md);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: normal;
}

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

@media (max-width: 900px) {
  .about-cta-stats {
    padding-block: 100px;
  }
}

@media (max-width: 640px) {
  .about-cta-stats {
    padding-block: 60px;
  }

  .about-cta-stats__title {
    font-size: 32px;
  }

  .about-cta-stats__sub {
    font-weight: 300;
  }

  .about-cta-stats__btn {
    width: 100%;
    max-width: 343px;
  }

  .about-cta-stats__stats {
    gap: 16px;
  }

  .about-cta-stats__stat {
    min-width: 0;
  }
}
