/*.brands-list--with-text .brands-list__items-wrapper {
  margin-top: 64px;
}*/

.brands-list--wide .grid-list--items-5 {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.brands-list__items-wrapper--offset {
  position: relative;
  overflow: hidden;
}
.brands-list__items-wrapper--items-offset {
  padding: 0 32px;
}
.brands-list__items-wrapper--offset::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -1px;
  left: 0;
  background: #fff;
  background: var(--black_bg_black);
  z-index: 1;
  width: 2px;
}
.brands-list__items-wrapper--offset::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: -1px;
  right: 0;
  background: #fff;
  background: var(--black_bg_black);
  width: 2px;
}
.index-block--fon .brands-list__items-wrapper--offset::before,
.index-block--fon .brands-list__items-wrapper--offset::after {
  background: #fafafa;
  background: var(--light_bg_black);
}

.brands-list__item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25%;
  border-radius: 4px;
  position: relative;
}
.brands-list__item--padding-SMALL {
  padding: 15%;
}
.brands-list__item--bg-white {
  background: #fff;
  background: var(--black_bg_black);
}
.brands-list__item--no-offset-y {
  padding-top: 0;
  padding-bottom: 0;
}
.brands-list--items-close .brands-list__item.bordered {
  margin: 0 -1px -1px 0;
  border-radius: 0px;
}
.brands-list--items-close .brands-list__items-wrapper--offset .brands-list__item.bordered {
  margin: 0 -1px -2px 0;
  border-top: none;
}

.brands-list__image-wrapper {
  width: 150px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
    opacity: 0.5;

    transition: all 0.3s ease-in-out; */
}
/* .brands-list__item:hover .brands-list__image-wrapper {opacity: 1;-webkit-filter: grayscale(0);-moz-filter: grayscale(0);filter: grayscale(0);filter: none;} */
.brands-list__image {
  max-width: 100%;
  max-height: 100%;
}

/* @DEPRECATED
   owl-gallery 
*/
.brands-list .owl-stage {
  display: flex;
}
.brands-list .owl-item {
  flex-shrink: 0;
}
.brands-list .owl-carousel .owl-item .brands-list__image {
  width: auto;
}
.brands-list .owl-carousel:not(.owl-loaded) {
  min-height: 200px;
}
/**/

/* SLIDER */
.brands-list__slider-wrap{
  position: relative;
}

.brand-list__items--centered {
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .brands-list__slider-wrap .grid-list__item {
    width: auto;
  }
}

@media (max-width: 991px) {
  .brands-list__items-wrapper--items-offset {
    padding: 0 24px;
  }
}
@media (max-width: 767px) {
  .brands-list--with-text .brands-list__items-wrapper {
    margin-top: 32px;
  }

  .brands-list__item--left-side-adaptive {
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-start;
  }
  .brands-list__item--left-side-adaptive .brands-list__image-wrapper {
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .brands-list__item {
    padding: 40px 0;
  }
}

/* IE */
html.bx-ie .brands-list__item {
  padding: 5%;
}
html.bx-ie .brands-list__item--padding-SMALL {
  padding: 2%;
}











.works-slider {
    padding: 120px 0;
    background: #050505;
    color: #fff;
}

.works-slider__head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.works-slider__head h2 {
    font-size: 54px;
    margin-bottom: 20px;
}

.works-slider__head p {
    max-width: 760px;
    color: #b0b0b0;
    line-height: 1.7;
}

.works-slider__all {
    color: #d7a857;
    text-decoration: none;
}

.works-main-slider {
    border: 1px solid rgba(215,168,87,.2);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
}

.work-slide {
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: 700px;
}

.work-slide__content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-slide__counter {
    color: #d7a857;
    margin-bottom: 30px;
}

.work-slide__content h3 {
    font-size: 64px;
    margin-bottom: 30px;
}

.work-slide__content p {
    color: #b8b8b8;
    line-height: 1.8;
    margin-bottom: 40px;
}

.work-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 64px;

    border: 1px solid #d7a857;
    color: #d7a857;
    text-decoration: none;
}

.works-prev,
.works-next {
    position: absolute;
    top: 50%;
    width: 64px;
    height: 64px;

    border: 1px solid #d7a857;
    border-radius: 50%;
    z-index: 20;
    cursor: pointer;

    transform: translateY(-50%);
}

.works-prev {
    left: 30px;
}

.works-next {
    right: 30px;
}

.works-thumbs .swiper-slide {
    opacity: .5;
    cursor: pointer;
    transition: .3s;
}

.works-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.works-thumbs img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border: 1px solid rgba(215,168,87,.3);
}




.best-work-slider {
    margin-top: 64px;
    position: relative;
    width: 100%;
    overflow: hidden;
}


.best-work-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
}


.work-card {
    flex: 0 0 calc((100% - 40px) / 3);
    padding: 20px;
    box-sizing: border-box;

    background: #121212;
    border: 1px solid #1f2430;
    border-radius: 16px;

    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}


@media (max-width: 1024px) {

    .work-card {
        flex-basis: calc((100% - 20px) / 2);
    }

}


@media (max-width: 768px) {

    .work-card {
        flex-basis: 100%;
    }

}



.work-card__image {
    display: flex;
    align-items: center;
    justify-content: center;

    height: clamp(260px, 45vw, 460px);
}


.work-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}



.work-card__content {
    padding: 18px 18px 22px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}


.work-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #e6e9ef;
}



.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    z-index: 10;
    cursor: pointer;
}


@media(max-width: 550px) {
  .slider-btn {
    top: 45%;
  }
}


.slider-btn--prev {
    left: 15px;
}


.slider-btn--next {
    right: 15px;
    transform: translateY(-50%) rotate(180deg);
}
