/* Trusted Section Component Styles */
/* ===================================
   HOMEPAGE LEGACY LAYOUT
   =================================== */
.trusted .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid #eee;
  overflow: hidden;
  height: 724px;
  position: relative;
}

.section.trusted .container {
  padding: 0;
}

.trusted .media {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 360px;
  position: relative;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trusted .media .copy {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.trusted .media h3 {
  font-size: 54px;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text-default-primary);
  font-family: var(--font-family-title);
}

.trusted .media h3.heading-two-line {
  color: var(--text-default-primary);
}

.trusted .media h3.heading-two-line br {
  display: none;
}

.trusted .media h3.heading-two-line .gold-text {
  background: var(--gradient-on-brand-gold, linear-gradient(315deg, #DBB172 20.73%, #F5E0BA 73.39%, #EBCC96 87.72%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trusted .media p {
  margin-bottom: 40px;
  line-height: 24px;
  font-weight: 400;
  font-size: 18px;
  width: 80%;
}

.trusted .media .btn {
  margin-top: 0;
}

.trusted .media .button-group {
  display: flex;
  gap: 12px;
}

.trusted .media .btn.secondary {
  flex: 1;
}

.logo-circle {
  width: 280px;
  height: 280px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 49;
  top: 50%;
  overflow: hidden;
}

.logo-circle img {
  width: 106px;
  height: 106px;
  object-fit: contain;
}

.logo-circle svg {
  width: 106px;
  height: 106px;
}

.gold-g img {
  width: 106px;
}

.trusted .stats {
  background: #f8f7fa;
  padding: 40px 32px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 24px;
  height: 100%;
}

.kpi {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-direction: column;
}

.kpi .num {
  font-size: 54px;
  font-weight: 600;
  color: #a67d2b;
  font-family: var(--font-family-title);
}

.kpi .label {
  font-size: 18px;
  font-weight: 400;
}

.trusted .media h3.heading-two-line .white-text {
  color: #fff;
}

@media (max-width: 1040px) {
  .trusted .wrap {
    flex-direction: column;
    height: auto;
    display: flex;
  }

  .trusted .media h3 {
    font-size: 34px;
    margin-bottom: 20px;
    max-width: 398px;
  }

  .trusted .media p {
    margin: 0 0 36px 0;
    font-size: 15px;
    width: 423px;
  }

  .trusted .media,
  .trusted .stats {
    width: 100%;
  }

  .trusted .media,
  .trusted .stats-container {
    padding: 48px 40px;
  }

  .trusted .stats-container {
    background: var(--background-default-secondary);
    position: relative;
  }

  .trusted .media .copy {
    max-width: unset;
  }

  .trusted .stats {
    grid-template-rows: unset;
    grid-template-columns: 1fr 1fr;
    width: 50%;
    gap: 40px 20px;
    padding: 0;
  }

  .kpi .num {
    font-size: 34px;
    line-height: 56px;
  }

  .kpi {
    align-items: flex-start;
  }

  .kpi .label {
    font-size: 15px;
  }

  .logo-circle {
    width: 180px;
    height: 180px;
    left: 50%;
    bottom: -42px;
    top: 0;
  }

  .trusted .media {
    padding-bottom: 130px;
    justify-content: center;
    text-align: center;
  }

  .trusted .stats {
    padding-top: 90px;
    margin: auto;
  }

  .logo-circle img,
  .logo-circle svg {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 640px) {
  .trusted .wrap {
    flex-direction: column;
    height: auto;
    position: relative;
    padding-bottom: 0;
  }

  .trusted .media {
    width: 100%;
    padding: 40px 20px 120px 20px;
    min-height: unset;
    text-align: left;
    position: relative;
  }

  .trusted .media .copy {
    max-width: 100%;
    height: auto;
  }

  .trusted .media h3 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .trusted .media h3.heading-two-line br {
    display: block;
  }

  .trusted .media p {
    font-size: 15px;
    line-height: 1.6;
    width: 100%;
    margin-bottom: 24px;
  }

  .trusted .media .btn {
    text-align: center;
    padding: 14px 24px;
  }

  .trusted .media .button-group {
    display: flex;
    gap: 12px;
  }

  .trusted .media .btn.secondary {
    flex: 1;
  }

  .trusted .media .btn.primary {
    width: 100%;
  }

  .logo-circle {
    width: 160px;
    height: 160px;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo-circle img,
  .logo-circle svg {
    width: 57px;
    height: 57px;
  }

  .gold-g img {
    width: 66px;
  }

  .trusted .stats {
    width: 100%;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
  }

  .trusted .stats-container {
    padding: 120px 20px 40px;
  }

  .kpi {
    gap: 12px;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .kpi .num {
    font-size: 34px;
    font-weight: 800;
    text-align: left;
  }

  .kpi .label {
    font-size: 13px;
    text-align: left;
  }

  .brands-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}