/* ============================================================
   Trust Bar Section
   Figma node: 32:1265 | "BuddieSpace TRUST BAR"
   Layout: white section, centered heading + subtitle above
   4 partner logos in a centered flex row
   ============================================================ */

.bs-trust-bar {
  background: #ffffff;
  padding: clamp(60px, 6.94vw, 100px) clamp(24px, 6.67vw, 96px);
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(32px, 3.89vw, 56px);
}

/* ── Heading block — centered text, flex-col, 12px gap ── */
.bs-trust-bar__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  text-align: center;
  word-break: break-word;
}

.bs-trust-bar__heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.75vw, 54px);
  line-height: 1.3;
  color: #21254a;
  margin: 0;
  width: 100%;
  text-transform: uppercase;
}

.bs-trust-bar__subtext {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.53vw, 22px);
  line-height: 1.55;
  color: #000000;
  margin: 0;
  width: 100%;
}

/* ── Logo row — centered with gap matching Figma's 177px ── */
.bs-trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 12.29vw, 177px);
  width: 100%;
  flex-wrap: wrap;
}

/* ── Individual logo items ── */
.bs-trust-bar__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* All logos: height-driven at 80px, width natural from aspect ratio */
.bs-trust-bar__logo img {
  display: block;
  height: clamp(60px, 7.5vw, 108px);
  width: auto;
  object-fit: contain;
}

/* ── Tablet: 768px – 1023px ── */
@media (max-width: 1023px) {
  .bs-trust-bar {
    padding-left: 32px;
    padding-right: 32px;
  }

  .bs-trust-bar__logos {
    gap: clamp(20px, 4vw, 48px);
  }

  .bs-trust-bar__logo img {
    height: clamp(48px, 6vw, 80px);
  }
}

/* ── Mobile: < 600px — 2×2 grid ── */
@media (max-width: 599px) {
  .bs-trust-bar {
    padding: 40px 20px;
    gap: 28px;
  }

  .bs-trust-bar__logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 24px 16px;
  }

  .bs-trust-bar__logo {
    width: 100%;
  }

  .bs-trust-bar__logo img {
    height: clamp(44px, 11vw, 64px);
  }
}
