/* A centred trust chapter, followed by two rising rows of original client marks. */
.boutique-home .home-trust-strip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: clamp(48px, 6vw, 88px) clamp(24px, 4.5vw, 72px);
  background: var(--paper);
}

.home-trust-strip .trust-rating-row {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding-bottom: 0;
  text-align: center;
}

.home-trust-strip .trust-heading h2 {
  font-size: clamp(42px, 5.7vw, 80px);
  line-height: 1.06;
  letter-spacing: -.055em;
}

.home-trust-strip .google-reviews-block {
  max-width: 100%;
  min-height: 36px;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.home-trust-strip .google-reviews-score strong {
  font-size: 30px;
}

.home-trust-strip .google-reviews-details {
  flex-direction: row-reverse;
  align-items: center;
  gap: 18px;
}

.home-trust-strip .google-reviews-brand {
  padding-left: 18px;
  border-left: 1px solid #41483f26;
}

.home-trust-strip .trust-review-arrow {
  align-self: center;
  margin: 0;
}

.home-trust-strip .client-marquee {
  width: 100%;
  max-width: 1140px;
  padding-top: clamp(28px, 3vw, 44px);
}

.home-trust-strip .client-marquee-window {
  overflow: visible;
}

.home-trust-strip .client-logo-group {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-trust-strip .client-logo-group > li {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: none;
}

/* Keep pointer tracking on the flat list item and tilt only the inner surface. */
.home-trust-strip .client-brand-card {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: clamp(148px, 13.5vw, 200px);
  padding: clamp(24px, 3vw, 44px);
  border-radius: 12px;
  background: #fff;
}

.home-trust-strip .client-logo-group img,
.home-trust-strip .client-name {
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}

.home-trust-strip .client-logo-group img {
  display: block;
  width: 72%;
  max-width: 216px;
  height: auto;
  max-height: 96px;
  object-fit: contain;
}

.home-trust-strip .client-logo-group .client-logo--standard-bank {
  max-width: 230.4px;
}

/* Crop only the white margins of the square Elmandi source. */
.home-trust-strip .client-logo-group .client-logo--elmandi {
  height: 51.2px;
  object-fit: cover;
  object-position: center 47%;
}

.home-trust-strip .client-brand--seeff .client-brand-card {
  background: #17214b;
}

.home-trust-strip .client-logo-group .client-logo--seeff {
  height: 96px;
  object-fit: cover;
}

.home-trust-strip .client-name {
  max-width: none;
  color: var(--ink);
  font-size: clamp(16.8px, 1.6vw, 22.4px);
  line-height: 1.15;
}

.home-trust-strip .client-name small {
  margin-top: 6.4px;
  font-size: clamp(8px, .72vw, 9.6px);
  line-height: 1.4;
}

@media (max-width: 767px) {
  .home-trust-strip .client-logo-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-trust-strip .client-brand-card {
    min-height: clamp(108px, 22vw, 148px);
    padding: clamp(14px, 3vw, 24px);
    border-radius: 8px;
  }

  .home-trust-strip .client-logo-group .client-logo--elmandi {
    height: clamp(22.4px, 5.76vw, 40px);
  }

  .home-trust-strip .client-logo-group .client-logo--seeff {
    height: clamp(51.2px, 11.6vw, 81.6px);
  }

  .home-trust-strip .client-name {
    font-size: clamp(12.8px, 2.24vw, 16.8px);
  }

  .home-trust-strip .client-name small {
    margin-top: 4.8px;
    font-size: 9px;
  }
}

@media (max-width: 599px) {
  .home-trust-strip .trust-rating-row {
    gap: 22px;
  }

  .home-trust-strip .google-reviews-block {
    gap: 14px;
  }

  .home-trust-strip .google-reviews-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .home-trust-strip .google-reviews-brand {
    padding-left: 0;
    border-left: 0;
  }
}

/* Pin only when a complete chapter fits comfortably inside the viewport. */
@media (min-width: 1024px) and (min-height: 580px) and (prefers-reduced-motion: no-preference) {
  .boutique-home .home-trust-strip {
    min-height: calc(100svh - 32px);
    padding-block: 32px;
  }

  .home-trust-strip .client-brand-card {
    min-height: clamp(128px, 17svh, 176px);
    padding-block: 20px;
  }
}

/* Keyboard users can read and follow the review link at any scroll position. */
.home-trust-strip:focus-within .google-reviews-block,
.home-trust-strip:focus-within .client-logo-group > li {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .home-trust-strip .client-brand-card {
    transform: none !important;
  }
}
