/* =========================
   SELECTED CLIENTS
========================= */

.clients-section {
  position: relative;
  overflow: hidden;

  padding: 60px 24px;

  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(35, 113, 215, 0.08) 0%,
      rgba(35, 113, 215, 0.025) 30%,
      transparent 55%
    ),
    #101215;
}


/* =========================
   HEADING
========================= */

.clients-heading {
  margin-bottom: 30px;
}

.clients-heading h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  margin-bottom: 14px;
}

.clients-intro {
  max-width: 680px;
  margin: 0 auto;

  color: #c8cbd0;

  font-size: 15px;
  line-height: 1.6;

  text-align: center;
}


/* =========================
   LOGO BANNER
========================= */

.clients-logos {
  position: relative;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;

  max-width: 1000px;
  margin: 0 auto;

  padding: 14px 20px;

  background: rgba(17, 22, 30, 0.72);

  border: 1px solid rgba(35, 113, 215, 0.28);
  border-radius: 18px;

  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}


/* =========================
   INDIVIDUAL LOGO
========================= */

.client-logo {
  position: relative;

  min-width: 0;
  height: 78px;

  padding: 10px 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}


/* Vertical separators */

.client-logo:not(:last-child)::after {
  content: "";

  position: absolute;

  top: 20%;
  right: 0;

  width: 1px;
  height: 60%;

  background: rgba(255, 255, 255, 0.07);
}


/* =========================
   LOGOS
========================= */

.client-logo img {
  display: block;

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;

  /* Always monochrome */
  filter: grayscale(1) brightness(0) invert(1);

  opacity: 0.72;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    filter 0.3s ease;
}


/* Hover */

.client-logo:hover {
  transform: translateY(-3px);
}

.client-logo:hover img {
  opacity: 1;

  transform: scale(1.04);

  filter:
    grayscale(1)
    brightness(0)
    invert(1)
    drop-shadow(0 0 12px rgba(35, 113, 215, 0.18));
}


/* =========================
   INDIVIDUAL LOGO SIZING
========================= */

/* ARTO */

.client-arto img {
  max-height: 72px;
  max-width: 72px;
}


/* AUDEO */

.client-audeo img {
  max-height: 68px;
  max-width: 165px;
}


/* COPROVOTE */

.client-coprovote img {
  max-height: 42px;
  max-width: 125px;
}


/* MAKE IT POP */

.client-makeitpop img {
  max-height: 50px;
  max-width: 175px;
}


/* WEPLAY */

.client-weplay img {
  max-height: 58px;
  max-width: 145px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .clients-section {
    padding: 55px 24px;
  }

  .clients-heading {
    margin-bottom: 28px;
  }

  .clients-logos {
    grid-template-columns: repeat(2, 1fr);

    max-width: 700px;

    padding: 16px;
  }

  .client-logo {
    height: 90px;

    padding: 12px 18px;
  }

  .client-logo::after {
    display: none;
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .clients-section {
    padding: 50px 20px;
  }

  .clients-heading {
    margin-bottom: 25px;
  }

  .clients-heading h2 {
    font-size: 30px;
  }

  .clients-intro {
    max-width: 500px;

    font-size: 15px;
    line-height: 1.6;
  }

  .clients-logos {
    grid-template-columns: 1fr;

    max-width: 400px;

    padding: 8px 20px;
  }

  .client-logo {
    height: 82px;

    padding: 10px 15px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .client-logo:last-child {
    border-bottom: none;
  }

  .client-logo::after {
    display: none;
  }


  /* Mobile logo sizing */

  .client-arto img {
    max-height: 66px;
    max-width: 66px;
  }

  .client-audeo img {
    max-height: 58px;
    max-width: 150px;
  }

  .client-coprovote img {
    max-height: 38px;
    max-width: 115px;
  }

  .client-makeitpop img {
    max-height: 44px;
    max-width: 160px;
  }

  .client-weplay img {
    max-height: 52px;
    max-width: 135px;
  }

}