.brands__list {
  --gap: 20px;
  gap: var(--gap);
  flex-wrap: wrap;
  display: flex;
}

@media (width >= 768px) {
  .brands__list {
    --items: 2;
    --gap: 30px;
    row-gap: 35px;
  }
}

@media (width >= 1024px) {
  .brands__list {
    --items: 3;
  }
}

@media (width >= 1280px) {
  .brands__list {
    --items: 4;
  }
}

.brands__item {
  width: calc((100% - var(--gap, 16px) * (var(--items, 1) - 1)) / var(--items, 1));
}

.brand {
  min-height: 100%;
  transition: var(--transition--100, 0.1s linear);
  background: #fff;
  border-radius: 20px;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  display: flex;
  position: relative;
}

@media (width <= 1023px) {
  .brand {
    box-shadow: 0 190px 53px #0000, 0 121px 49px #00000003, 0 68px 41px #0000000d, 0 30px 30px #00000017, 0 8px 17px #0000001a;
  }
}

@media (width >= 1024px) {
  .brand {
    cursor: pointer;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .brand:hover {
    box-shadow: 0 190px 53px #0000, 0 121px 49px #00000003, 0 68px 41px #0000000d, 0 30px 30px #00000017, 0 8px 17px #0000001a;
  }
}

.brand__img-wrap {
  background: #fdfbfb;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100px;
  display: flex;
}

.brand__img {
  object-fit: contain;
  width: 188px;
  height: auto;
  max-height: 68px;
}

.brand__name {
  font-size: 14px;
  font-weight: 800;
  line-height: 23px;
}

.brand__text {
  font-size: 13px;
  font-weight: 600;
  line-height: 23px;
}

.brand__links {
  transition: var(--transition--100, 0.1s linear);
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  display: flex;
}

@media (width >= 1024px) {
  .brand__links {
    z-index: 1;
    opacity: 0;
    background: #fff;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    width: 100%;
    padding: 0 20px 20px;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 190px 53px #0000, 0 121px 49px #00000003, 0 68px 41px #0000000d, 0 30px 30px #00000017, 0 8px 17px #0000001a;
  }

  .brand:hover .brand__links {
    opacity: 1;
  }
}

@media (width >= 1920px) {
  .brands__container,
  .section-info__container {
    max-width: 1280px;
    padding: 0;
  }
}
