/* ==========================================================================
   Highlights (key figures band)
   .highlights__list   <ul> of stats; dividers are drawn between items in CSS
   .stat               one figure: __value + __label
   ========================================================================== */

.highlights {
  --highlights-gap: clamp(24px, 3.993vw, 77px); /* 76.67px at 1920 */

  position: relative;
  overflow: hidden;
  padding-block: 36px 29px;
  background: var(--color-bg-band);
}

/* Large decorative ellipse (Figma "Ellipse 2") */
.highlights::before {
  position: absolute;
  top: -861.75px;
  left: 46.84vw;
  width: 363.195px;
  height: 1845.51px;
  border-radius: 50%;
  opacity: 0.08;
  background: linear-gradient(90deg, var(--teal-300), rgb(113 164 189 / 22%));
  content: "";
  pointer-events: none;
  transform: rotate(107.22deg) scaleY(-1);
}

/* Bottom rule */
.highlights::after {
  position: absolute;
  bottom: 0;
  left: calc(50% + 3.5px);
  width: min(89.583vw, 1720px);
  height: 1px;
  background: var(--color-rule);
  content: "";
  transform: translateX(-50%);
}

.highlights__list {
  position: relative;
  z-index: 1;
  left: 3.151vw; /* Figma: row starts at x=430.5, 60.5px right of centre */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--highlights-gap);
}

.highlights__item {
  position: relative;
}

/* Vertical divider centred in the gap */
.highlights__item + .highlights__item::before {
  position: absolute;
  top: 50%;
  left: calc(var(--highlights-gap) / -2);
  width: 1px;
  height: 48px;
  background: var(--color-divider);
  content: "";
  transform: translateY(-50%);
}

.stat {
  display: flex;
  height: 64px;
  align-items: center;
  gap: 20px;
  padding-inline: 25px;
}

.stat__value {
  color: var(--color-stat);
  font-size: var(--font-size-stat);
  font-weight: var(--font-weight-light);
  letter-spacing: var(--letter-spacing-tight);
  line-height: 64px;
}

.stat__label {
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  letter-spacing: var(--letter-spacing-tight);
  line-height: 24px;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .highlights {
    padding-block: 40px;
  }

  .highlights__list {
    left: 0;
  }

  .stat {
    gap: 12px;
    padding-inline: 10px;
  }

  .stat__value {
    font-size: 38px;
  }

  .stat__label {
    font-size: var(--font-size-sm);
    line-height: 20px;
  }
}

@media (max-width: 700px) {
  .highlights {
    padding-block: 22px;
  }

  .highlights::before {
    left: 15%;
  }

  .highlights::after {
    width: calc(100% - 2 * var(--page-padding));
  }

  .highlights__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-inline: var(--page-padding);
  }

  .highlights__item {
    border-bottom: 1px solid rgb(116 144 177 / 18%);
  }

  .highlights__item:nth-child(odd) {
    border-right: 1px solid rgb(116 144 177 / 18%);
  }

  .highlights__item + .highlights__item::before {
    display: none;
  }

  .stat {
    height: auto;
    min-height: 96px;
    gap: 10px;
    padding: 12px 8px;
  }

  .stat__value {
    font-size: 34px;
    line-height: 1;
  }

  .stat__label {
    font-size: 13px;
    line-height: 18px;
  }
}
