/* ==========================================================
   PRODUCT ECOSYSTEM SECTION
   Fresh produce -> dehydrated/intermediate -> finished goods ->
   ecosystem value (AONOVA + KatoNice), sitting between About Us
   and the existing Product Types section.
   ========================================================== */

.product-ecosystem {
  padding: 10rem 7% 8rem;
  background-color: #fcfcfc;
  text-align: center;
}

.product-ecosystem h2 {
  font-size: 4.2rem;
  margin-bottom: 1.5rem;
  font-family: var(--heading-font);
  color: var(--text-dark);
}

.product-ecosystem h2 span {
  color: var(--primary);
}

.product-ecosystem .subtitle {
  max-width: 62rem;
  margin: 0 auto 5rem;
  font-size: 1.7rem;
  color: #666;
  line-height: 1.6;
}

.ecosystem-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  max-width: 130rem;
  margin: 0 auto;
  flex-wrap: wrap;
}

.ecosystem-stage {
  flex: 1;
  min-width: 22rem;
  max-width: 28rem;
  background: #fff;
  border: 1px solid rgba(32, 97, 23, 0.1);
  border-radius: 1.6rem;
  padding: 3rem 2.2rem;
  position: relative;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.ecosystem-stage:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.1);
}

.ecosystem-number {
  position: absolute;
  top: 1.6rem;
  right: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(32, 97, 23, 0.3);
  font-family: var(--heading-font);
}

.ecosystem-icon {
  width: 5.6rem;
  height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(32, 97, 23, 0.08);
  margin: 0 auto 1.8rem;
}

.ecosystem-icon svg {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--primary);
}

.ecosystem-stage h3 {
  font-size: 1.9rem;
  font-family: var(--heading-font);
  color: var(--text-dark);
  margin-bottom: 1rem;
  min-height: 5.2rem;
}

.ecosystem-stage p {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.6;
}

.ecosystem-arrow {
  width: 2rem;
  height: 2rem;
  color: rgba(32, 97, 23, 0.35);
  flex-shrink: 0;
  align-self: center;
}

.ecosystem-highlight {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 90rem;
  margin: 5rem auto 0;
  flex-wrap: wrap;
  background: var(--primary);
  border-radius: 1.6rem;
  padding: 3rem 3.5rem;
}

.ecosystem-highlight-item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex: 1;
  min-width: 24rem;
  text-align: left;
}

.ecosystem-highlight-item svg {
  width: 3rem;
  height: 3rem;
  color: #fff;
  flex-shrink: 0;
}

.ecosystem-highlight-item strong {
  display: block;
  color: #fff;
  font-size: 1.7rem;
  font-family: var(--heading-font);
}

.ecosystem-highlight-item span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.3rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .ecosystem-flow {
    flex-direction: column;
    align-items: center;
  }

  .ecosystem-arrow {
    transform: rotate(90deg);
    margin: 0;
  }

  .ecosystem-stage {
    max-width: 40rem;
    width: 100%;
  }

  .ecosystem-highlight {
    padding: 2.5rem;
  }
}

@media (max-width: 576px) {
  .product-ecosystem {
    padding: 7rem 6% 5rem;
  }

  .product-ecosystem h2 {
    font-size: 3rem;
  }

  .product-ecosystem .subtitle {
    font-size: 1.5rem;
  }

  .ecosystem-highlight-item {
    min-width: 100%;
  }
}
