/* ===== HERO CLIENTS – PAKAI GAYA MIRIP INTRO / SECTION LAIN ===== */

.clients-hero {
  /* biarkan warna base dari body / section */
  background: #ffffff;
  padding-top: 72px; /* sama seperti section biasa */
}

.clients-hero-header {
  max-width: 720px;
}

.clients-hero-header h1 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 10px;
}

.clients-hero-sub {
  font-size: 14px;
  color: var(--muted);
}

/* Stats: tiru gaya intro highlight di main.css */

.clients-hero-stats {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.clients-hero-stat {
  flex: 1 1 180px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: radial-gradient(circle at top left, #fff7ed 0, #f9fafb 55%, #ffffff 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.clients-hero-number {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-dark);
}

.clients-hero-label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

/* ===== SECTION LIST KLIEN – SAMAKAN DENGAN .section / .intro ===== */

.clients-logos {
  background: #f8fafc; /* sama seperti .hero / .toc di main.css */
}

.clients-section {
  padding: 24px 0;
}

.clients-section-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clients-section-header {
  margin-bottom: 12px;
}

.clients-section-title {
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--text);
}

.clients-section-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Grid logo: mirip .intro-highlight tapi dengan logo */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.client-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.client-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
  border-color: rgba(241, 90, 41, 0.7);
}

.client-logo-wrap {
  width: 100%;
  height: 60px;
  border-radius: 12px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

/* Tooltip kecil, warna sama seperti teks utama */

.client-card[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translate(-50%, 110%);
  min-width: 160px;
  max-width: 220px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.94);
  color: #e5e7eb;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 10;
}

.client-card:hover[data-tooltip]::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ===== TESTIMONIAL – SAMAKAN NUANSANYA DENGAN INTRO ===== */

.clients-testimonial {
  background: #ffffff;
}

.clients-testimonial-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.clients-bullets {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}

.clients-bullets li + li {
  margin-top: 4px;
}

.clients-quote {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: radial-gradient(circle at top left, #fff7ed 0, #f9fafb 55%, #ffffff 100%);
  box-shadow: var(--shadow-soft);
  padding: 20px 20px 18px;
}

.clients-quote-text {
  font-size: 14px;
  color: #374151;
  margin-bottom: 10px;
}

.clients-quote-meta {
  font-size: 12px;
  color: #6b7280;
}

.clients-quote-name {
  font-weight: 600;
}

.clients-quote-company {
  display: block;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 960px) {
  .clients-testimonial-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .clients-section {
    padding: 18px 0;
  }

  .clients-hero-header h1 {
    font-size: 22px;
  }

  .client-card[data-tooltip]::after {
    display: none; /* tooltip dimatikan di mobile */
  }
}
