/* Who We Serve — Figma hub diagram */
.who-we-serve {
  padding: 70px clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  overflow: hidden;
  background: var(--bg-section);
  background-image: none;
}

.who-we-serve__copy {
  flex: 1 1 42%;
  min-width: 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.who-we-serve__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.who-we-serve__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.45;
}

.who-we-serve__check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.who-we-serve__check i {
  font-size: 14px;
  color: #fff;
}

.who-we-serve__visual {
  flex: 1 1 52%;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.who-we-serve__panel {
  width: min(100%, 500px);
  padding: 22px 18px 16px;
  border-radius: 22px;
  background: var(--bg-muted);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.07);
}

/* Figma: 2×5 grid + lines + hub as one diagram */
.who-we-serve__diagram {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.who-we-serve__brands {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 8px;
  padding: 0 2px;
  margin-bottom: 4px;
}

.who-we-serve__brand {
  justify-self: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.who-we-serve__brand img {
  width: 26px;
  height: 26px;
  max-width: 26px;
  max-height: 26px;
  object-fit: contain;
  display: block;
}

.who-we-serve__flow {
  position: relative;
  width: 100%;
  margin-top: -6px;
  padding-bottom: 48px;
}

.who-we-serve__lines {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.who-we-serve__hub {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1a8080 0%, #0a3d3d 100%);
  box-shadow: 0 0 0 2px rgba(42, 205, 205, 0.45), 0 10px 28px rgba(20, 94, 94, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 2;
}

.who-we-serve__hub img {
  width: 100%;
  height: 100%;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .who-we-serve {
    flex-direction: column;
    padding: 48px 24px;
  }

  .who-we-serve__copy {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .who-we-serve__list li {
    text-align: left;
  }

  .who-we-serve__visual {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 520px) {
  .who-we-serve__panel {
    padding: 16px 12px 12px;
  }

  .who-we-serve__brand {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    padding: 6px;
  }

  .who-we-serve__brand img {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
  }

  .who-we-serve__hub {
    width: 72px;
    height: 72px;
    padding: 10px;
  }

  .who-we-serve__hub img {
    max-width: 40px;
    max-height: 40px;
  }

  .who-we-serve__flow {
    padding-bottom: 44px;
  }
}
