.management-section {
  padding: 80px 0;
  display: flex;
  justify-content: center;
  height: 531px;
}

.management-wrapper {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.features {
  position: relative;
  display: grid;
  grid-template-columns: 26px 30px 220px 12px 33px 1fr;
  padding: 17px 0 36px;
}

.features::before {
  content: "";
  display: block;
  width: 780px;
  height: 1px;
  position: absolute;
  top: 0;
  left: -20%;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(204, 204, 204, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.features::after {
  content: "";
  display: block;
  width: 780px;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: -20%;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(204, 204, 204, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.features__card {
  display: flex;
  padding: 12px;
  gap: 18px;
  justify-content: center;
  align-items: center;
  max-width: 225px;
  min-width: 225px;

  border: 1px solid #ededed;
  transition: 0.3s linear;
  border-radius: 12px;
  position: relative;
  min-height: 64px;
  max-height: 78px;

  cursor: pointer;

  user-select: none;
}

.features__card:hover {
  border: 1px solid #cccccc;
  background-color: #f1f1f1;
}

.features__card:hover .features__image-wrapper {
  transform: rotateY(360deg);
  transition: transform 1s ease-in-out;
}

.features__card:nth-child(1) {
  top: 223px;

  max-height: 100px;
}

.features__card:nth-child(1)::after {
  content: "";
  position: absolute;
  top: -36px;
  left: 112px;
  width: 1px;
  height: 36px;
  background-color: #ededed;
}

.features__card:nth-child(2) {
  top: 0;
}

.features__card:nth-child(2)::after {
  content: "";
  position: absolute;
  bottom: -35px;
  left: 87px;
  width: 1px;
  height: 35px;
  background-color: #ededed;
}

.features__card:nth-child(3) {
  top: 110px;
}

.features__card:nth-child(3)::after {
  content: "";
  position: absolute;
  bottom: 6px;
  right: -41px;
  width: 41px;
  height: 1px;
  background-color: #ededed;
}

.features__card:nth-child(4) {
  top: 254px;
}

.features__card:nth-child(4)::after {
  content: "";
  position: absolute;
  top: -137px;
  left: 22px;
  width: 1px;
  height: 137px;
  background-color: #ededed;
}

.features__card:nth-child(5) {
  top: 41px;
}

.features__card:nth-child(5)::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 195px;
  width: 1px;
  height: 30px;
  background-color: #ededed;
}

.features__card:nth-child(6) {
  top: 146px;
}

.features__card:nth-child(6)::after {
  content: "";
  position: absolute;
  bottom: -31px;
  left: 162px;
  width: 1px;
  height: 31px;
  background-color: #ededed;
}

.features__image-wrapper {
  background-color: var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  padding: 8px;
}

.features__card__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
}

.management-description {
  width: 607px;
}

.management-description__title {
  font-weight: 500;
  font-size: 40px;
  line-height: 1.4;
}

.management-description__text {
  font-weight: 300;
  font-size: var(--default-font-size);
  line-height: 1.5;
  margin-top: 36px;
  position: relative;
}

.management-description__text::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 0;
  width: 40px;
  height: 4px;
  background-color: var(--main-color);
}

@media (max-width: 1239px) {
  .management-section {
    padding: 48px 0;
    height: 900px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .management-wrapper {
    gap: 31px;
    flex-direction: column-reverse;
  }

  .features {
    padding: 0;
    grid-template-columns: 14px 34px 79px 6px 7px 1fr;
  }

  .features::before {
    display: none;
  }

  .features::after {
    display: none;
  }

  .features__card {
    max-width: 221px;
    min-width: 203px;
  }

  .features__card:nth-child(1) {
    top: 0;
  }

  .features__card:nth-child(1)::after {
    top: auto;

    bottom: -108px;
    left: 88px;
    width: 1px;
    height: 108px;
  }

  .features__card:nth-child(2) {
    top: 382px;
  }

  .features__card:nth-child(2)::after {
    bottom: auto;

    top: -100px;
    left: 88px;
    width: 1px;
    height: 100px;
  }

  .features__card:nth-child(3) {
    top: 205px;
  }

  .features__card:nth-child(3)::after {
    bottom: auto;

    top: -13px;
    left: 132px;
    width: 1px;
    height: 13px;
  }

  .features__card:nth-child(4) {
    top: 294px;
  }

  .features__card:nth-child(4)::after {
    bottom: auto;

    top: -104px;
    left: 145px;
    width: 1px;
    height: 104px;
  }

  .features__card:nth-child(5) {
    top: 115px;
  }

  .features__card:nth-child(5)::after {
  }

  .features__card:nth-child(6) {
    top: 471px;
  }

  .features__card:nth-child(6)::after {
    bottom: auto;

    top: -100px;
    left: 160px;
    width: 1px;
    height: 100px;
  }

  .features__card__text {
    font-size: 14px;
  }

  .management-description {
    width: 358px;
  }

  .management-description__title {
    font-size: 24px;
    text-align: center;
  }

  .management-description__text {
    font-size: 16px;
    text-align: center;
  }

  .management-description__text::before {
    font-size: 16px;
    text-align: center;
    left: calc(50% - 20px);
  }
}
