.product-ecosystem {
  padding: var(--section-padding-y) 0;
  background-color: var(--color-white) !important;
  overflow: visible;
}

.product-ecosystem__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.product-ecosystem__title {
  margin-bottom: 1.5rem;
}

.product-ecosystem__grid .btn {
  margin-top: 1.5rem;
}

.product-ecosystem__diagram {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow: visible;
  box-shadow: none;
  filter: none;
}

.eco-diagram {
  position: relative;
  width: min(100%, 580px);
  max-width: 100%;
  margin: 0 0 0 auto;
  box-shadow: none;
  filter: none;
}

.eco-diagram--image {
  display: block;
  margin: 0 0 0 auto;
  aspect-ratio: auto;
  box-shadow: none;
  filter: none;
}

.eco-diagram__image {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: none;
  filter: none;
}

/* Mid-section CTA */
.product-ecosystem__cta {
  background: var(--color-blue);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  box-shadow: 0 12px 40px rgba(var(--color-blue-rgb), 0.2);
}

.product-ecosystem__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.product-ecosystem__cta-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.product-ecosystem__cta-desc {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 640px;
}

@media (min-width: 1025px) {
  .industries .section-header--center .section-subtext {
    margin-top: 1.15rem;
  }
}

@media (max-width: 1024px) {
  .product-ecosystem__grid {
    grid-template-columns: 1fr;
  }

  .product-ecosystem__diagram {
    max-width: 515px;
    margin-inline: auto;
    justify-content: center;
  }

  .eco-diagram,
  .eco-diagram--image {
    width: 100%;
    margin-inline: auto;
  }

  .product-ecosystem__cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .product-ecosystem__diagram {
    max-width: min(100%, 335px);
    padding: 0;
  }

  .product-ecosystem .section-subtext {
    font-size: 15px;
  }

  .product-ecosystem__cta {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 400px) {
  .product-ecosystem__diagram {
    max-width: min(100%, 270px);
  }
}
