/* Trusted-by / brands carousel — brand palette (2026-05-08).
   Only the heading carries a color; brand logos are images and stay
   grayscale-on-default with full color on hover (existing behavior). */

.trusted-by {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}

.trusted-by h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.brands-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 100px;
}

.brands-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding-left: 0;
}

.brands-carousel__item {
  flex: 0 0 auto;
  width: 160px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: grayscale(1);
  opacity: .6;
  transition: filter .3s, opacity .3s;
}

.brands-carousel__item:hover {
  filter: grayscale(0);
  opacity: 1;
}

.brands-carousel__figure {
  margin: 0;
  width: 100%;
  height: 100%;
}

.brands-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
  touch-action: manipulation;
}

@media (prefers-reduced-motion: reduce) {
  .brands-carousel__item {
    transition: none;
  }
}

@media (max-width: 768px) {
  .trusted-by h2 {
    font-size: 1.5rem;
    text-align: left;
  }
  .brands-carousel {
    height: 80px;
  }
  .brands-carousel__item {
    width: 100px;
    height: 80px;
  }
  .brands-carousel__track {
    gap: 15px;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .brands-carousel {
    height: 70px;
  }

  .brands-carousel__item {
    width: 80px;
    height: 70px;
  }

  .brands-carousel__track {
    gap: 10px;
    padding-left: 0;
  }

  .trusted-by h2 {
    font-size: 1.2rem;
    text-align: left;
  }
}
