.brands{
    padding: 60px 130px;
    background-color: #212121;
    display: flex;
   

}

.brands-title-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    justify-content: center;
    gap: 35px;

    min-width: 450px;
}
.brands-title{
    font-size: 45px;
    font-weight: normal;
    font-family: "abril fatface", sans-serif;
    color: #ffffff
}
.brands-text{
    font-size: 18px;
    font-family: "inter", sans-serif;
    font-weight: normal;
    color: #ffffff;
}
.brands-line {
    width: 2px;
    background-color: #E9C664;
    min-height: 450px;
    margin: 0 100px;
}




.brands-list-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    justify-content: center;
    gap: 50px;
}
.brands-list{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;

    justify-content: center;
}

.brand-item{
    max-width: 150px;
    max-height: 150px;
    width: 100%;
}

.brand-item img{
    width: 100%;
}

/* До 1200px */
@media (max-width: 1300px) {
  .brands {
    padding: 50px 50px;
  }

  .brands-line {
    min-height: 380px;
    margin: 0 80px;
  }

  .brands-title {
    font-size: 40px;
  }

  .brands-text {
    font-size: 17px;
  }

  .brand-item {
    max-width: 130px;
  }
}

/* До 1024px — колонка і горизонтальна лінія */
@media (max-width: 1024px) {
  .brands {
    flex-direction: column;
    align-items: center;
    padding: 40px 60px;
  }

  .brands-title-wrapper {
    align-items: center;
    text-align: center;
    min-width: unset;
  }

  .brands-line {
    width: 80px;
    height: 2px;
    min-height: unset;
    margin: 30px 0;
  }

  .brands-list-wrapper {
    align-items: center;
  }

  .brands-title {
    font-size: 36px;
  }

  .brands-text {
    font-size: 16px;
  }

  .brand-item {
    max-width: 120px;
  }
}

/* До 768px — зменшення всіх розмірів */
@media (max-width: 768px) {
  .brands {
    padding: 30px 30px;
  }

  .brands-title {
    font-size: 30px;
  }

  .brands-text {
    font-size: 15px;
  }

  .brands-line {
    width: 60px;
    margin: 25px 0;
  }

  .brands-list {
    gap: 24px;
  }

  .brand-item {
    max-width: 100px;
  }
}

/* До 480px — мінімізація всього */
@media (max-width: 480px) {
  .brands {
    padding: 20px 20px;
  }

  .brands-title {
    font-size: 24px;
  }

  .brands-text {
    font-size: 14px;
  }

  .brands-line {
    width: 50px;
    margin: 20px 0;
  }

  .brands-list {
    gap: 16px;
  }

  .brand-item {
    max-width: 85px;
  }
}
