/* css/webflow.css sets body { font-family: Arial, sans-serif } as a base
   reset; anything that doesn't carry its own Zalando Sans font-family
   (mostly hand-added elements) was falling back to Arial through
   inheritance. Override it site-wide here since this stylesheet loads
   last. */
body {
  font-family: 'Zalando Sans SemiExpanded', sans-serif;
}

/* Right-side padding for buttons that no longer have a lightning bolt icon */
.button.no-thunder {
  padding-right: 1.5rem;
}

.button.secondary.smaller.no-thunder {
  padding-right: 1rem;
}

/* Testimonial layout: review text on the left, project photos on the right */
.testimonial-layout {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.testimonial-text {
  flex: 1 1 60%;
  min-width: 0;
}

.testimonial-photos {
  flex: 0 0 260px;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-photos img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .testimonial-layout {
    flex-direction: column;
  }

  .testimonial-photos {
    flex: 0 0 auto;
    width: 100%;
    flex-direction: row;
  }

  .testimonial-photos img {
    height: 160px;
  }
}

/* Breathing room between the phone/email links and the CTA button in the
   sub-page "Get In Touch" sidebar, which otherwise touch on mobile */
.sub-page-side-panel .service-bullet.panelcta {
  margin-bottom: 1.25rem;
}

.sub-page-side-panel .sublinks-footer.panel-linkss .button {
  margin-top: .5rem;
}

/* Infinite logo carousel ("Trusted By" strip) */
.logo-carousel-wrap {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 2rem;
  animation: logo-carousel-scroll 30s linear infinite;
}

.logo-carousel-wrap:hover .logo-carousel-track {
  animation-play-state: paused;
}

.logo-carousel-item {
  flex: 0 0 auto;
  width: 180px;
  height: 86px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
}

.logo-carousel-item img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes logo-carousel-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-carousel-track {
    animation: none;
  }
}

@media (max-width: 767px) {
  .logo-carousel-track {
    animation-duration: 16s;
  }

  .logo-carousel-item {
    width: 220px;
    height: 104px;
    padding: 1.1rem 1.75rem;
  }

  .logo-carousel-item img {
    max-height: 56px;
  }
}

/* Shared "featured section" padding — matches .why-choose-spark exactly so
   the SDVOSB and testimonial sections use the site's real second padding
   tier instead of one-off inline values */
.section-padding-feature {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media screen and (max-width: 991px) {
  .section-padding-feature {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* White section background, for sections that intentionally break the
   .who-we-work-with.what-we-do default gray to alternate bands */
.section-bg-white {
  background-color: #fff;
  background-image: none;
}

/* SDVOSB trust-badge labels and testimonial quote text: shared micro-copy
   styles so both sections use one definition instead of hand-tuned inline
   values that were each slightly different */
.trust-badge-label {
  font-size: .95rem;
  font-weight: 600;
  color: #1f1f1f;
  line-height: 1.4;
}

.review-quote {
  color: #333;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1.75rem;
}

/* Standalone yellow CTA button with no right margin (used outside a
   button row where .rm's margin-right isn't needed) */
.button.rm.yellow.no-margin {
  margin-right: 0;
}

/* Testimonial slider ("spk-reviews" section) */
.spk-reviews .spk-track {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.spk-reviews .spk-track::-webkit-scrollbar {
  display: none;
}

.spk-reviews .spk-slide {
  flex: 0 0 58%;
}

@media (max-width: 767px) {
  .spk-reviews .spk-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .spk-reviews .spk-slide {
    flex: 0 0 85%;
  }
}

/* SDVOSB section heading: narrower measure on desktop, smaller type on mobile */
.sdvosb-heading {
  width: 60%;
}

@media (max-width: 767px) {
  .sdvosb-heading {
    width: 100%;
    font-size: 2rem;
  }
}
