.mp-matching {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--mist) 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.mp-matching__head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 80px;
}

.mp-matching__head .mp-label {
  margin-bottom: 18px;
  display: block;
}

.mp-matching__title {
  font-size: clamp(38px, 5.2vw, 72px);
  margin-bottom: 22px;
}

.mp-matching__title em {
  font-style: normal;
  color: var(--olive);
}

.mp-matching__head p {
  font-size: 17px;
  color: var(--text-secondary);
}

.mp-matching__network {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 60px 40px;
  min-height: 500px;
  overflow: hidden;
}

.mp-matching__svg {
  width: 100%;
  height: 440px;
  display: block;
}

.mp-matching__legend {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.mp-matching__leg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}

.mp-matching__leg-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mp-matching__leg-dot--op { background: var(--pink); }
.mp-matching__leg-dot--mp {
  background: var(--lime);
  border: 2px solid var(--ink);
}
.mp-matching__leg-dot--pro { background: var(--olive); }

.mp-matching__pros {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.mp-matching__pro {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  transition: all 0.3s var(--ease-out-quart);
}

.mp-matching__pro:hover {
  border-color: var(--olive);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.mp-matching__pro-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s var(--ease-out-quart);
}
.mp-matching__pro:hover .mp-matching__pro-ico {
  background: var(--lime);
}

.mp-matching__pro h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.mp-matching__pro p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .mp-matching { padding: 100px 0; }
  .mp-matching__head { margin-bottom: 50px; }
  .mp-matching__network { padding: 40px 20px; min-height: 360px; }
  .mp-matching__svg { height: 320px; }
  .mp-matching__pros { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
}

@media (max-width: 640px) {
  .mp-matching { padding: 80px 0; }
  .mp-matching__network { padding: 30px 16px; border-radius: 22px; }
  .mp-matching__svg { height: 260px; }
  .mp-matching__legend { gap: 14px; }
  .mp-matching__leg-item { font-size: 12px; }
  .mp-matching__pros { grid-template-columns: 1fr; }
}
