/* Trust gallery — Gallery4-style horizontal carousel */
.trust-gallery-band {
  padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.trust-gallery-band .wrap--road {
  max-width: var(--wrap, 1200px);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.trust-gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.trust-gallery__head .lead {
  max-width: 52ch;
  margin-top: 12px;
}
.trust-gallery__nav {
  display: none;
  flex-shrink: 0;
  gap: 8px;
}
@media (min-width: 768px) {
  .trust-gallery__nav { display: flex; }
}
.trust-gallery__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-800);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s;
}
.trust-gallery__btn:hover:not(:disabled) {
  background: var(--cream-2);
  border-color: rgba(14, 23, 54, 0.14);
}
.trust-gallery__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.trust-gallery__btn svg {
  width: 20px;
  height: 20px;
}

.trust-gallery__viewport {
  width: 100%;
  overflow: hidden;
}
.trust-gallery__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
  scroll-padding-left: clamp(20px, 4vw, 40px);
}
@media (min-width: 1400px) {
  .trust-gallery__track {
    padding-left: max(8rem, calc(50vw - 700px));
    padding-right: max(0rem, calc(50vw - 700px));
    scroll-padding-left: max(8rem, calc(50vw - 700px));
  }
}
.trust-gallery__track::-webkit-scrollbar { display: none; }

.trust-gallery__card {
  flex: 0 0 auto;
  width: min(320px, 78vw);
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 27rem;
  aspect-ratio: 5 / 4;
  background: var(--navy-900);
}
@media (min-width: 1024px) {
  .trust-gallery__card {
    width: 360px;
    aspect-ratio: 16 / 9;
  }
}
.trust-gallery__card img:not([src]) {
  opacity: 0;
}
.trust-gallery__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s cubic-bezier(0.23, 1, 0.32, 1);
}
.trust-gallery__card:hover img {
  transform: scale(1.05);
}
.trust-gallery__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 18, 48, 0.92) 0%,
    rgba(10, 18, 48, 0.55) 38%,
    rgba(10, 18, 48, 0.08) 72%,
    transparent 100%
  );
  pointer-events: none;
}
.trust-gallery__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: clamp(20px, 3vw, 32px);
  color: #fff;
  z-index: 1;
}
.trust-gallery__body h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.trust-gallery__body p {
  margin-top: 10px;
  font-size: clamp(14px, 1.5vw, 15.5px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trust-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  padding-inline: clamp(20px, 4vw, 40px);
}
.trust-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(14, 23, 54, 0.18);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.trust-gallery__dot.is-active {
  background: var(--navy-800);
  transform: scale(1.1);
}
.trust-gallery__dot:focus-visible {
  outline: 2px solid var(--orange-700);
  outline-offset: 2px;
}
