/* ═══════════════════════════════════════
   Hero Split – slider + goals side by side
═══════════════════════════════════════ */

.hero-split {
  display: grid;
  grid-template-columns: 420px 1fr;
  height: 100svh;
  min-height: 600px;
  max-height: 900px;
}

/* Slider stretches to fill its grid cell */
.hero-split .header-slider {
  height: 100%;
  min-height: unset;
  max-height: unset;
}

/* Flip overlay gradient – darker on right so right-side text stays readable */
.hero-split .overlay {
  background:
    linear-gradient(to left, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 50%);
}

/* Push slider text content to the right */
.hero-split .header-slider__content {
  align-items: flex-start;
  padding-left: 60px;
  padding-right: 72px;
  text-align: left;
}

.hero-split .header-slider__eyebrow {
  flex-direction: row-reverse;
}

.hero-split .header-slider__scroll {
  left: auto;
  right: 72px;
}

/* Goals panel fills its grid cell and scrolls internally if needed */
.hero-split .project-goals {
  height: 100%;
  overflow-y: auto;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-split .project-goals::before,
.hero-split .project-goals::after {
  display: none;
}

.hero-split .project-goals__container {
  padding: 52px 44px;
  width: 100%;
}

.hero-split .project-goals__list {
  grid-template-columns: 1fr;
}

.hero-split .project-goals__item {
  border-right: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 0;

  &:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  &:not(:first-child) {
    padding-left: 0;
  }

  &:first-child {
    padding-top: 0;
  }
}

.hero-split .project-goals__number {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.hero-split .project-goals__header {
  margin-bottom: 36px;
}

.hero-split .project-goals__heading {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  max-width: none;
}

@media (max-width: 1000px) {
  .hero-split {
    grid-template-columns: 340px 1fr;
  }
}

@media (max-width: 700px) {
  .hero-split {
    position: relative;
    display: block;
    height: 132svh;
    min-height: 980px;
    max-height: none;
  }

  .hero-split .header-slider {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: unset;
    max-height: unset;
  }

  /* Move slider headline to the top on mobile */
  .hero-split .header-slider__content {
    justify-content: flex-start;
    padding-top: 80px;
    padding-bottom: 360px;
    align-items: flex-start;
  }

  .hero-split .project-goals {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: auto;
    max-height: 45%;
    overflow-y: auto;
  }

  .hero-split .header-slider-actions {
    bottom: calc(min(45%, 420px) + 18px);
  }

  /* .hero-split .project-goals__container {
    padding: 18px 16px 28px;
  } */

  .hero-split .project-goals__header {
    margin-bottom: 12px;
  }

  .hero-split .project-goals__label {
    font-size: 9px;
    margin-bottom: 6px;
  }

  .hero-split .project-goals__heading {
    font-size: 1rem;
  }

  .hero-split .project-goals__item {
    padding: 12px 0;
  }

  .hero-split .project-goals__number {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .hero-split .project-goals__divider {
    margin-bottom: 6px;
  }

  .hero-split .project-goals__title {
    font-size: 0.82rem;
  }
}

/* ═══════════════════════════════════════
   Project Goals Section
═══════════════════════════════════════ */

.project-goals {
  background: #096542;
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative circle */
.project-goals::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(111, 190, 79, 0.15);
  pointer-events: none;
}

.project-goals::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.project-goals__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ─── Header ─── */
.project-goals__header {
  margin-bottom: 60px;
}

.project-goals__label {
  display: flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6fbe4f;
  display: flex;
  align-items: center;
  gap: 5px;
  /* margin-bottom: 14px; */

  &::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: #6fbe4f;
    /* margin-bottom: 8px; */
  }
}

.project-goals__heading {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 520px;
  margin-top: 14px;
}

/* ─── Goals list ─── */
.project-goals__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: goals;
}

.project-goals__item {
  padding: 40px 48px 40px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 48px;

  &:last-child {
    border-right: none;
    padding-right: 0;
  }

  &:not(:first-child) {
    padding-left: 48px;
  }
}

/* Large ordinal number */
.project-goals__number {
  display: block;
  font-family: 'Arial', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: #6fbe4f;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

/* Short green accent line */
.project-goals__divider {
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  margin-bottom: 20px;
}

/* Goal text */
.project-goals__title {
  font-family: 'Arial', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .project-goals__list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-goals__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 36px 0;

    &:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    &:not(:first-child) {
      padding-left: 0;
    }

    &:first-child {
      padding-top: 0;
    }
  }
}

@media (max-width: 640px) {
  .project-goals {
    padding: 60px 0 68px;
  }

  .project-goals__container {
    padding: 0 20px;
  }

  .project-goals__header {
    margin-bottom: 40px;
  }

  .project-goals__number {
    font-size: 2.75rem;
  }
}
