/* ── Features Section ────────────────────────────── */

.featuresSection {
  background: #fff;
  padding: 100px max(50px, calc((100% - 1440px) / 2));
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.featuresSection .header {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  width: 100%;
}

.featuresSection .title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
}

.featuresSection .sectionTag {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #2865BA;
}

.featuresSection .heading {
  display: flex;
  flex-direction: column;
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: #201e1f;
}

.featuresSection .headingOrange {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #397de3;
}

.featuresSection .anchor {
  width: 31px;
  height: 38px;
  object-fit: cover;
}

.featuresSection .headerText {
  width: 417px;
  flex-shrink: 0;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #60666b;
}

/* ── Cards ───────────────────────────────────────── */

.featuresSection .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.featuresSection .card {
  position: relative;
  flex-shrink: 0;
  width: 215px;
  height: 220px;
  padding: 20px;
  border-radius: 20px;
  overflow: hidden;
  --num-color: #201e1f;
  --label-color: #60666b;
  --plus-color: #dd0020;
}

.featuresSection .cardLime {
  background: #397de3;
  --num-color: #fff;
  --label-color: #fff;
}

.featuresSection .cardOrange {
  background: #dd0020;
  --num-color: #fff;
  --label-color: #efefef;
  --plus-color: #fff;
}

.featuresSection .cardBlue {
  background: #002b68;
  --num-color: #fff;
  --label-color: #efefef;
}

.featuresSection .cardOutline {
  background: #fff;
  border: 1px solid #d6dce0;
}

.featuresSection .cardBeige {
  background: #edf0f4;
}

.featuresSection .cardDark {
  background: #201e1f;
  --num-color: #fff;
  --label-color: #efefef;
  --plus-color: #dd0020;
}

.featuresSection .cardText {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 177px;
}

.featuresSection .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.featuresSection .stat + .stat {
  margin-top: 4px;
}

.featuresSection .statNum {
  display: flex;
  align-items: baseline;
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--num-color);
}

.featuresSection .statPlus {
  font-size: 24px;
  color: var(--plus-color);
}

.featuresSection .statLabel {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--label-color);
  white-space: pre-line;
}

.featuresSection .cardIcon {
  position: absolute;
  right: -10px;
  bottom: -12px;
  width: 142px;
  height: 142px;
  object-fit: contain;
  pointer-events: none;
}

/* ── CTA ─────────────────────────────────────────── */

.featuresSection .cta {
  display: flex;
  align-items: center;
  gap: 89px;
}

.featuresSection .ctaText {
  width: 417px;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #60666b;
}

.featuresSection .ctaButton {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 6px 6px 6px 28px;
  border-radius: 100px;
  background: #201e1f;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.2s;
}

.featuresSection .ctaButton:hover {
  opacity: 0.88;
}

.featuresSection .ctaArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 100%;
  background: #397DE3;
  color: #fff;
  flex-shrink: 0;
}

/* ── Adaptive ────────────────────────────────────── */

@media (max-width: 885px) {
  .featuresSection {
    padding: 60px 16px;
    gap: 30px;
  }

  .featuresSection .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .featuresSection .title {
    flex: none;
    width: 100%;
  }

  .featuresSection .headerText {
    width: 100%;
  }

  .featuresSection .heading {
    font-size: 24px;
    line-height: 26px;
  }

  .featuresSection .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .featuresSection .card {
    width: auto;
    height: auto;
    min-height: 180px;
    padding: 20px 10px;
  }

  .featuresSection .cardText {
    width: 100%;
  }

  .featuresSection .cardIcon {
    width: 96px;
    height: 96px;
    bottom: 0;
    right: 0;
  }

  .featuresSection .cta {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .featuresSection .ctaText {
    width: 100%;
  }

  .featuresSection .ctaButton {
    width: 100%;
    max-width: 366px;
    justify-content: space-between;
  }
}
