/* Hot-side brand marquee */

.ssi-brand-marquee {
  padding: clamp(32px, 5vw, 64px) 20px;
  background: #ffffff;
  overflow: hidden;
}

.ssi-brand-inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.ssi-eyebrow {
  margin: 0 0 14px;
  color: #7fb3d8;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ssi-brand-marquee h2 {
  margin: 0;
  color: var(--navy, #16385f);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ssi-brand-copy {
  max-width: 980px;
  margin: 22px auto 42px;
  color: #5f6770;
  font-size: 1.15rem;
  line-height: 1.65;
}

.ssi-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.ssi-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ssiBrandScroll 42s linear infinite;
}

.ssi-marquee:hover .ssi-marquee-track {
  animation-play-state: paused;
}

.ssi-brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 176px;
  height: 74px;
  padding: 14px 22px;
  background: #f5f7fa;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  text-decoration: none;
  color: #4d5359;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(22, 56, 95, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ssi-brand-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(22, 56, 95, 0.12);
}

.ssi-brand-card img {
  max-width: 110px;
  max-height: 38px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
}

.ssi-brand-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.ssi-brand-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  color: #4d5359;
  font-size: 15px;
  text-align: center;
  white-space: nowrap;
}

@keyframes ssiBrandScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 700px) {
  .ssi-brand-marquee {
    padding: 36px 16px;
  }

  .ssi-eyebrow {
    font-size: 0.78rem;
  }

  .ssi-brand-marquee h2 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .ssi-brand-copy {
    font-size: 1rem;
    margin: 16px auto 30px;
  }

  .ssi-brand-card {
    min-width: 148px;
    height: 64px;
    padding: 12px 16px;
  }

  .ssi-brand-card img {
    max-width: 92px;
    max-height: 30px;
  }
}