/* ============================
   Customers Page
   ============================ */

.cust-hero {
  padding: 240px 24px 120px;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  text-align: center;
}
.cust-hero-title,
.cust-hero-sub,
.cust-hero .logo-grid {
  opacity: 0;
  filter: blur(8px);
  animation: custBlurIn 0.6s ease forwards;
}
@keyframes custBlurIn {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: blur(0); }
}
.cust-hero-title { animation-delay: 0s; }
.cust-hero-sub { animation-delay: 0.1s; }
.cust-hero .logo-grid {
  margin-top: 100px;
  grid-template-columns: repeat(6, 1fr);
  animation-delay: 0.25s;
}
.cust-hero-title {
  font-size: clamp(32px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.cust-hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Case Studies Section */
.cust-studies {
  padding: 0 24px 100px;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  opacity: 0;
  filter: blur(8px);
  animation: custBlurIn 0.6s ease forwards;
  animation-delay: 0.4s;
}
.cust-studies-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 90px;
  justify-content: center;
}
.cust-study-card {
  width: calc((100% - 180px) / 3);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.cust-study-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.cust-study-card:hover .cust-study-img-wrap {
  transform: scale(1.03);
}
.cust-study-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
}
.cust-study-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.cust-study-desc {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  margin-top: 20px;
  max-width: 380px;
  text-wrap: pretty;
}
.cust-study-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: auto;
  padding-top: 40px;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.cust-study-card:hover .cust-study-link {
  opacity: 1;
}

/* Logo Grid Section */
.cust-logos {
  padding: 80px 0 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.cust-logos-heading {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  padding-bottom: 40px;
  margin-bottom: 60px;
}
.cust-logos-heading-muted {
  opacity: 0.5;
}
.cust-logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  row-gap: 32px;
  margin: 0 -40px;
}
.cust-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.cust-logo-cell img {
  width: 100%;
  height: 28px;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 1;
}
.cust-logo-cell img.logo-white {
  filter: none;
}
.cust-logo-cell img.logo-sm {
  max-width: 100px;
  height: 22px;
}
.cust-logo-cell img.logo-lg {
  max-width: 140px;
  height: 50px;
}
.cust-logo-cell img.logo-xl {
  max-width: 170px;
  height: 56px;
}

/* Responsive */
@media (max-width: 900px) {
  .cust-hero .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60px;
  }
  .cust-studies-grid {
    gap: 40px;
  }
  .cust-study-card {
    width: calc((100% - 40px) / 2);
  }
  .cust-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .cust-study-card {
    width: 100%;
  }
  .cust-hero {
    padding: 140px 16px 80px;
  }
  .cust-hero .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 40px;
  }
  .cust-hero .logo-grid .cl-logo:nth-last-child(-n+2) {
    display: block;
  }
  .cust-hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }
  .cust-hero-sub {
    font-size: 15px;
  }
  .cust-studies {
    padding: 0 20px 60px;
  }
  .cust-logos {
    padding: 60px 20px 0;
  }
  .cust-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cust-logo-cell {
    padding: 28px 16px;
  }
  .cust-logo-cell img {
    height: 22px;
    max-width: 90px;
  }
}

