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

/* --- Hero --- */
.customers-hero {
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-12);
  text-align: center;
}

.customers-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.customers-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.customers-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

/* --- Featured Case Study --- */
.customers-featured {
  padding-bottom: var(--space-16);
}

.customers-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  background: var(--color-canvas);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--duration) var(--ease-default),
              transform var(--duration) var(--ease-default);
}

.customers-featured-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.customers-featured-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.customers-featured-placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.customers-featured-content {
  padding: var(--space-10) var(--space-10) var(--space-10) 0;
}

.customers-featured-logo {
  margin-bottom: var(--space-4);
}

.customers-featured-logo-img {
  height: 32px;
  width: auto;
}

.customers-featured-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}

.customers-featured-stats {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

.customers-featured-stat {
  display: flex;
  flex-direction: column;
}

.customers-featured-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}

.customers-featured-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.customers-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  font-size: var(--text-base);
  transition: gap var(--duration) var(--ease-default);
}

.customers-featured-card:hover .customers-featured-cta {
  gap: var(--space-3);
}

/* --- Grid Section --- */
.customers-grid-section {
  padding: var(--space-16) 0;
  background: var(--color-canvas);
}

.customers-grid-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
  text-align: center;
  margin-bottom: var(--space-3);
}

.customers-grid-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: var(--space-12);
}

.customers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.customers-card {
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease-default),
              transform var(--duration) var(--ease-default);
}

.customers-card:not(.customers-card--coming-soon):hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.customers-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.customers-card-logo-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}

.customers-card-logo-img {
  max-width: 180px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.customers-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customers-card-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  margin-top: var(--space-4);
}

.customers-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
  margin-top: var(--space-2);
  line-height: var(--leading-snug);
}

.customers-card-stat {
  margin-top: var(--space-3);
}

.customers-card-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}

.customers-card-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-left: var(--space-1);
}

.customers-card-stat-sep {
  color: var(--color-border);
  margin: 0 var(--space-2);
}

/* --- Bottom CTA --- */
.customers-cta {
  padding: var(--space-20) 0;
  background: var(--color-primary);
  text-align: center;
}

.customers-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.customers-cta-text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
}

.customers-cta .btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.customers-cta .btn--primary:hover {
  background: var(--color-canvas);
  box-shadow: var(--shadow-md);
}

/* --- Responsive --- */
@media (max-width: 1023px) {
  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .customers-featured-card {
    grid-template-columns: 1fr;
  }

  .customers-featured-content {
    padding: var(--space-6);
  }

  .customers-featured-stats {
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-8);
  }

  .customers-grid {
    grid-template-columns: 1fr;
  }

  .customers-hero {
    padding-top: calc(var(--nav-height) + var(--space-10));
    padding-bottom: var(--space-8);
  }
}
