/* =====================================================
   CLIENT HERO
   ===================================================== */
.client-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(34,51,59,0.9),
    rgba(10,9,8,0.6),
    rgba(10,9,8,0.25)
  );
  z-index: 2;
}

.client-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding-left: 120px;
  padding-right: 40px;
}

.client-hero-inner h1 {
  font-size: clamp(3rem, 4.8vw, 4.2rem);
  font-weight: 800;
  color: var(--almond-cream);
  line-height: 1.15;
  margin-bottom: 20px;
  text-align: left;
}

.client-hero-inner h1 span {
  display: block;
  color: var(--khaki-beige);
}

.client-hero-inner p {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(234,224,213,0.9);
}
/* =====================================================
   HERO TEXT ANIMATION
   ===================================================== */

/* BASE STATE */
.client-hero-inner h1,
.client-hero-inner p {
  opacity: 0;
  transform: translateX(-40px);
  animation: heroTextReveal 1.1s ease forwards;
}

/* STAGGER */
.client-hero-inner h1 {
  animation-delay: 0.3s;
}

.client-hero-inner p {
  animation-delay: 0.6s;
}

/* KEYFRAMES */
@keyframes heroTextReveal {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* =====================================================
   CLIENT LOGO GRID – PREMIUM FINAL
   ===================================================== */

.client-slider-section {
  position: relative;
  padding: 120px 24px;

  /* 🔥 Background dibuat lebih tenang & elegan */
  background: linear-gradient(
    180deg,
    var(--jet-black) 0%,
    #1b262c 55%,
    var(--stone-brown) 100%
  );
}

/* ================= HEADER ================= */
.client-slider-header {
  max-width: 900px;
  margin: 0 auto 72px;
  text-align: center;
}

.client-slider-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--almond-cream);
  margin-bottom: 14px;
}

.client-slider-header p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(234,224,213,0.85);
}

/* ================= GRID ================= */
.client-track {
  max-width: 1320px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;

  position: relative;
  z-index: 2;
}

/* ================= CARD ================= */
.client-card {
  height: 150px;

  background: linear-gradient(
    180deg,
    var(--almond-cream),
    rgba(234,224,213,0.9)
  );

  border-radius: 20px;

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

  border: 1px solid rgba(94,80,63,0.18);

  box-shadow:
    0 18px 40px rgba(10,9,8,0.35),
    inset 0 1px 0 rgba(255,255,255,0.45);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

/* ================= LOGO ================= */
.client-card img {
  max-width: 120px;
  max-height: 80px;

  object-fit: contain;
  background: transparent;

  filter:
    grayscale(100%)
    opacity(0.85)
    contrast(1.05);

  transition:
    transform .35s ease,
    filter .35s ease,
    opacity .35s ease;
}

/* ================= HOVER ================= */
.client-card:hover {
  transform: translateY(-10px);

  background: linear-gradient(
    180deg,
    var(--almond-cream),
    var(--khaki-beige)
  );

  box-shadow:
    0 32px 70px rgba(10,9,8,0.55);
}

.client-card:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .client-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .client-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .client-card {
    height: 130px;
  }

  .client-card img {
    max-width: 100px;
    max-height: 70px;
  }
}
/* =====================================================
   BRAND / CLIENT CARD – STAGGER ANIMATION
   ===================================================== */

.brand-card,
.client-card {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}

/* AKTIF SAAT MUNCUL */
.brand-card.show,
.client-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* DELAY STAGGER (AMAN & HALUS) */
.brand-card:nth-child(1),
.client-card:nth-child(1) { transition-delay: 0.05s; }

.brand-card:nth-child(2),
.client-card:nth-child(2) { transition-delay: 0.10s; }

.brand-card:nth-child(3),
.client-card:nth-child(3) { transition-delay: 0.15s; }

.brand-card:nth-child(4),
.client-card:nth-child(4) { transition-delay: 0.20s; }

.brand-card:nth-child(5),
.client-card:nth-child(5) { transition-delay: 0.25s; }

.brand-card:nth-child(6),
.client-card:nth-child(6) { transition-delay: 0.30s; }

.brand-card:nth-child(7),
.client-card:nth-child(7) { transition-delay: 0.35s; }

.brand-card:nth-child(8),
.client-card:nth-child(8) { transition-delay: 0.40s; }

.brand-card:nth-child(9),
.client-card:nth-child(9) { transition-delay: 0.45s; }

.brand-card:nth-child(10),
.client-card:nth-child(10) { transition-delay: 0.50s; }

/* dst… aman walau lebih banyak */

/* =====================================================
   CLIENT TRUST – PREMIUM (FINAL)
   ===================================================== */

.client-trust {
  background: linear-gradient(
    180deg,
    var(--stone-brown),
    var(--khaki-beige)
  );
  padding: 120px 24px;
}

.client-trust-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;

  text-align: center;
}

/* ================= CARD ================= */

.trust-item {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.78),
    rgba(234,224,213,0.88)
  );

  border-radius: 22px;
  padding: 52px 32px;

  border: 1px solid rgba(94,80,63,0.25);

  box-shadow:
    0 18px 42px rgba(10,9,8,0.18),
    inset 0 1px 0 rgba(255,255,255,0.55);

  /* 🔥 ANIMATION BASE */
  opacity: 0;
  transform: translateY(42px) scale(0.96);

  transition:
    opacity .75s ease,
    transform .75s cubic-bezier(.22,.61,.36,1),
    box-shadow .35s ease;
}

/* ACTIVE */
.trust-item.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* HOVER */
.trust-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 32px 72px rgba(10,9,8,0.35);
}

/* ================= NUMBER ================= */

.trust-item h3 {
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--jet-black);
  letter-spacing: -0.02em;
}

/* TEXT VERSION (NASIONAL) */
.trust-item h3.trust-text {
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  letter-spacing: 0.04em;
}

/* ================= LABEL ================= */

.trust-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--stone-brown);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ================= STAGGER ================= */

.trust-item:nth-child(1) { transition-delay: 0.1s; }
.trust-item:nth-child(2) { transition-delay: 0.25s; }
.trust-item:nth-child(3) { transition-delay: 0.4s; }

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .client-trust-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trust-item {
    padding: 44px 28px;
  }
}


/* =====================================================
   CLIENT TESTIMONIAL – PREMIUM + ANIMATION
   ===================================================== */

.client-testimonial {
  background: linear-gradient(
    180deg,
    var(--almond-cream),
    var(--khaki-beige)
  );
  padding: 120px 0;
}

.client-testimonial-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* TITLE */
.testimonial-title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--jet-black);
  margin-bottom: 72px;
  letter-spacing: -0.02em;

  /* ANIMATION */
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}

.testimonial-title.show {
  opacity: 1;
  transform: translateY(0);
}

/* GRID */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
}

/* ITEM */
.testimonial-item {
  background: rgba(255,255,255,0.78);
  border-radius: 22px;
  overflow: hidden;

  box-shadow:
    0 18px 42px rgba(10,9,8,0.16),
    inset 0 1px 0 rgba(255,255,255,0.55);

  /* BASE ANIMATION */
  opacity: 0;
  transform: translateY(48px) scale(0.96);

  transition:
    opacity .75s ease,
    transform .75s cubic-bezier(.22,.61,.36,1),
    box-shadow .35s ease;
}

/* ACTIVE */
.testimonial-item.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* STAGGER */
.testimonial-item:nth-child(1) { transition-delay: 0.1s; }
.testimonial-item:nth-child(2) { transition-delay: 0.25s; }
.testimonial-item:nth-child(3) { transition-delay: 0.4s; }
.testimonial-item:nth-child(4) { transition-delay: 0.55s; }

/* HOVER */
.testimonial-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 32px 70px rgba(10,9,8,0.28);
}

/* IMAGE */
.testimonial-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  transition: transform .45s ease;
}

.testimonial-item:hover img {
  transform: scale(1.06);
}

/* CAPTION */
.testimonial-item figcaption {
  padding: 26px 30px;
}

.testimonial-item p {
  color: var(--jet-black);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.testimonial-item strong {
  display: block;
  color: var(--stone-brown);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   CLIENT CTA – PREMIUM
   ===================================================== */
.client-cta {
  background: linear-gradient(
    135deg,
    var(--jet-black),
    var(--black)
  );
  padding: 120px 24px;
  text-align: center;
}

.client-cta h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--almond-cream);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.client-cta p {
  max-width: 600px;
  margin: 0 auto 40px;
  color: rgba(234,224,213,0.85);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =====================================================
   CTA BUTTON
   ===================================================== */
.client-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--khaki-beige);
  color: var(--black);

  padding: 16px 40px;
  border-radius: 999px;

  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 18px 42px rgba(10,9,8,0.45);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.client-btn:hover {
  background: var(--almond-cream);
  color: var(--black);
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(10,9,8,0.55);
}

.client-btn:active {
  transform: scale(0.97);
  box-shadow: 0 14px 28px rgba(10,9,8,0.4);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .client-cta {
    padding: 96px 20px;
  }

  .client-cta h2 {
    font-size: 2rem;
  }

  .client-cta p {
    font-size: 0.95rem;
  }

  .client-btn {
    padding: 14px 32px;
    font-size: 0.95rem;
  }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .client-testimonial {
    padding: 72px 0;
  }

  .testimonial-title {
    margin-bottom: 40px;
  }

  .testimonial-item figcaption {
    padding: 20px;
  }
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
  .client-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .client-hero-inner {
    padding-left: 64px;
  }
}

@media (max-width: 600px) {
  .client-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .client-hero-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .client-hero-inner h1 {
    font-size: 2.2rem;
  }
}
