/* ==============================================
   SECTION TRUSTED — Home Page
   Mobile-first, fully responsive
   ============================================== */

/* ---- Section wrapper ---- */
.section_trusted {
  padding: 72px 0 0;
  background: #ffffff;
  overflow-x: hidden;
}

.trusted-section {
  padding-right: var(--lp-space-screen-x);
  padding-left: var(--lp-space-screen-x);
  padding-bottom: 2rem;
}

/* ---- Inner grid: photos | content ---- */
.trusted-section__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ========================================
   PHOTO MOSAIC
   ======================================== */
.trusted-section__photos {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 10px;
  width: 100%;
  align-items: stretch;
}

.trusted-photos__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trusted-photos__item {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #e8edf5;
  flex: 1;
  min-height: 160px;
}

.trusted-photos__item--large {
  flex: 1.7;
}

.trusted-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.trusted-photos__item:hover img {
  transform: scale(1.03);
}

/* ========================================
   CONTENT COLUMN
   ======================================== */
.trusted-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Mobile: teks dulu, mosaic foto di bawah (DOM: foto | teks) */
  order: -1;
}

/* Brand label */
.trusted-section__brand {
  width: 140px;
  height: auto;
  margin-bottom: 14px;
}

/* Heading */
.trusted-section__title {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

/* Description */
.trusted-section__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #64748b;
  line-height: 1.75;
  margin: 0 0 28px;
}

/* ---- Stats 2x2 grid ---- */
.trusted-section__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.trusted-section__stat {}

.trusted-section__stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 3px;
  line-height: 1.2;
}

.trusted-section__stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* ---- CTA Link ---- */
.trusted-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3954A4;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: gap 0.2s ease, color 0.2s ease;
}

.trusted-section__cta:hover {
  color: #2e4490;
  gap: 10px;
}

.trusted-section__cta svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.trusted-section__cta:hover svg {
  transform: translateX(2px);
}


/* ==============================================
   TABLET — 768px – 1023px
   ============================================== */
@media only screen and (min-width: 48rem) and (max-width: 63.9375rem) {

  .trusted-section__inner {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .trusted-section__content,
  .trusted-section__photos {
    order: 0;
  }

  .trusted-section {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
  }

  .trusted-section__photos {
    flex: 1;
    min-width: 0;
  }

  .trusted-photos__item {
    min-height: 140px;
  }

  .trusted-section__content {
    flex: 1;
    min-width: 0;
  }

  .trusted-section__title {
    font-size: 22px;
  }

  .trusted-section__desc {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .trusted-section__stat-num {
    font-size: 16px;
  }

  .trusted-section__stat-label {
    font-size: 11px;
  }

  .trusted-section__stat {}
}


/* ==============================================
   LAPTOP — 1024px – 1279px
   ============================================== */
@media only screen and (min-width: 64rem) and (max-width: 79.9375rem) {
  .section_trusted {
    padding: 88px 0 0;
  }

  .trusted-section__inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .trusted-section__content,
  .trusted-section__photos {
    order: 0;
  }

  .trusted-section__photos {
    flex: 1.1;
    min-width: 0;
  }

  .trusted-photos__item {
    min-height: 180px;
  }

  .trusted-photos__item--large {
    min-height: 260px;
  }

  .trusted-section__content {
    flex: 1;
    min-width: 0;
  }

  .trusted-section__title {
    font-size: 30px;
  }

  .trusted-section__desc {
    font-size: 14px;
  }

  .trusted-section__stat-num {
    font-size: 20px;
  }

}


/* ==============================================
   DESKTOP — min-width 1280px
   ============================================== */
@media only screen and (min-width: 80rem) {
  .section_trusted {
    padding: 100px 0 0;
  }

  .trusted-section__inner {
    flex-direction: row;
    align-items: center;
    gap: 72px;
  }

  .trusted-section__content,
  .trusted-section__photos {
    order: 0;
  }

  .trusted-section__photos {
    flex: 1.15;
    min-width: 0;
    gap: 14px;
  }

  .trusted-photos__col {
    gap: 14px;
  }

  .trusted-photos__item {
    min-height: 210px;
  }

  .trusted-photos__item--large {
    min-height: 300px;
  }

  .trusted-section__content {
    flex: 1;
    min-width: 0;
  }

  .trusted-section__brand img {
    width: 120px;
    height: auto;
    margin-bottom: 18px;
  }

  .trusted-section__title {
    font-size: 36px;
    margin-bottom: 18px;
  }

  .trusted-section__desc {
    font-size: 15px;
    margin-bottom: 36px;
    max-width: 520px;
  }

  .trusted-section__stats {
    margin-bottom: 36px;
  }

  .trusted-section__stat-num {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .trusted-section__stat-label {
    font-size: 13px;
  }

  .trusted-section__cta {
    font-size: 15px;
  }
}