.homepage-trust-badges {
  background-color: var(
    --gilliam-law-color-brand-primary-dark,
    #0d1b2a
  ); /* Or similar dark background */
  padding: clamp(60px, 8vw, 120px) 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: 2px solid #5aaaed;
}

.homepage-trust-badges__inner {
  width: min(
    var(--gilliam-law-homepage-max-width),
    calc(100% - (var(--gilliam-law-page-gutter) * 2))
  );
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Optional: Slight background glow or gradient like in the reference image */
.homepage-trust-badges::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(91, 142, 178, 0.1) 0%,
    rgba(91, 142, 178, 0) 70%
  );
  z-index: 0;
  pointer-events: none;
}

.homepage-trust-badges__header {
  margin-bottom: 40px;
  z-index: 1;
  position: relative;
}

.homepage-trust-badges__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(251, 163, 70, 0.3);
  border-radius: 100px;
  outline: 1px #fba346 solid;
  outline-offset: -1px;
  backdrop-filter: blur(3px);
  margin-bottom: 24px;
}

.homepage-trust-badges__badge-dot {
  width: 8px;
  height: 8px;
  background: #ffd5a9;
  border-radius: 50%;
}

.homepage-trust-badges__badge-text {
  color: #ffd5a9;
  font-size: 14px;
  font-family: var(--gilliam-law-font-sans, "Proxima Nova", sans-serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.17px;
  text-transform: none; /* Override any potential uppercase from eyebrow class if reused */
}

.homepage-trust-badges__title {
  font-family: var(--gilliam-law-font-serif, serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 16px;
}

.homepage-trust-badges__title-highlight {
  display: block;
  color: var(--gilliam-law-color-primary, #5b8eb2); /* Blue accent color */
  font-style: italic;
}

.homepage-trust-badges__subtitle {
  font-family: var(--gilliam-law-font-sans, sans-serif);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.homepage-trust-badges__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 100%;
  z-index: 1;
  position: relative;
}

.homepage-trust-badges__item {
  width: clamp(120px, 15vw, 150px);
  height: clamp(120px, 15vw, 150px);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    box-shadow 0.4s ease,
    filter 0.4s ease,
    transform 0.4s ease;
  will-change: transform, opacity, filter;
  text-decoration: none;
  /* filter: grayscale(1) opacity(0.5); */
}

.homepage-trust-badges__item:hover {
  transform: translateY(-8px) scale(1.1);
  /* filter: grayscale(0) opacity(1); */
  /* box-shadow: 0 15px 30px rgba(91, 142, 178, 0.2); */
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease,
    filter 0.4s ease;
}

.homepage-trust-badges__item a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.homepage-trust-badges__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
