/* Bossify Academy — homepage impact section
   Isolated refinement for the home2 impact block. */

.home2-impact {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 8vw, 108px) 0;
  background: var(--bossify-violet-deep);
  color: #fff;
}

.home2-impact::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--bossify-coral) 0 14%, rgba(255,64,92,.18) 14% 100%);
}

.home2-impact .container {
  position: relative;
  z-index: 1;
}

.home2-impact__head {
  display: block;
  max-width: 900px;
  margin-bottom: clamp(38px, 5vw, 58px);
}

.home2-impact__head .home2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--bossify-coral-soft);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home2-impact__head .home2-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--bossify-coral);
}

.home2-impact__head h2 {
  max-width: 17ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 4.2vw, 4.25rem);
  font-weight: 760;
  line-height: 1.01;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.home2-impact__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.home2-impact__stats > div {
  min-width: 0;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid rgba(255,255,255,.12);
  background: transparent;
}

.home2-impact__stats > div:last-child {
  border-right: 0;
}

.home2-impact__stats strong {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: #fff;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 760;
  line-height: .95;
  letter-spacing: -.05em;
}

/* Keep the real metric visible even before/without the count-up animation. */
.home2-impact__stats .stat-number {
  font-size: 0;
  line-height: 1;
}

.home2-impact__stats .stat-number::before {
  content: attr(data-target);
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: .95;
}

.home2-impact__stats > div > span {
  max-width: 18ch;
  color: rgba(255,255,255,.68);
  font-size: .84rem;
  font-weight: 560;
  line-height: 1.5;
}

.home2-impact__stats > div:last-child strong {
  color: var(--bossify-coral-soft);
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -.035em;
}

@media (max-width: 900px) {
  .home2-impact__head h2 {
    max-width: 19ch;
  }

  .home2-impact__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home2-impact__stats > div:nth-child(2) {
    border-right: 0;
  }

  .home2-impact__stats > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
}

@media (max-width: 520px) {
  .home2-impact {
    padding: 64px 0;
  }

  .home2-impact__head {
    margin-bottom: 32px;
  }

  .home2-impact__head h2 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .home2-impact__stats {
    border-radius: 14px;
  }

  .home2-impact__stats > div {
    min-height: 142px;
    padding: 22px 18px;
  }

  .home2-impact__stats strong,
  .home2-impact__stats .stat-number::before {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .home2-impact__stats > div > span {
    font-size: .78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home2-impact * {
    transition: none !important;
  }
}
