/* =========================================================
   SERVICE DETAIL PAGE — TECHNOLOGIES SECTION
   Clean marquee inspired by the reference layout: minimal,
   white background, large brand logos, and a soft fade at the
   edges so the loop feels continuous.
   ========================================================= */

.sd-tech {
  background: #ffffff;
  color: #111111;
  padding: clamp(28px, 4vw, 52px) 0 0;
  overflow: hidden;
}

.sd-tech-head {
  max-width: 1200px;
  margin: 0 auto clamp(24px, 3.125vw, 40px);
  text-align: center;
}

.sd-tech .sd-section-title {
  margin: 0;
  color: #101010;
  font-size: clamp(24px, 3.5vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  white-space: normal;
}

.sd-tech-note {
  display: none;
}

.sd-tech-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.sd-tech-marquee::before,
.sd-tech-marquee::after {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 8%;
  content: "";
  pointer-events: none;
}

.sd-tech-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.sd-tech-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.sd-tech-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sd-tech-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(35px, 4vw, 75px);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sd-tech-item {
  display: inline-flex;
  flex: 0 0 clamp(64px, 8vw, 110px);
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.sd-tech-logo {
  display: block;
  width: auto;
  height: 32px;
  max-width: 100%;
  object-fit: contain;
  opacity: 1;
  transform: translateX(0);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.sd-tech-item.is-exiting .sd-tech-logo {
  opacity: 0;
  transform: translateX(-34px);
}

.sd-tech-item.is-entering .sd-tech-logo {
  opacity: 0;
  transform: translateX(34px);
  transition: none;
}

.sd-tech-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .sd-tech-list {
    gap: clamp(24px, 3.5vw, 45px);
  }

  .sd-tech-item:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 600px) {
  .sd-tech {
    padding-top: 52px;
  }

  .sd-tech-list {
    gap: clamp(12px, 5vw, 22px);
  }

  .sd-tech-item {
    flex-basis: clamp(44px, 14vw, 64px);
  }

  .sd-tech-logo {
    height: 32px;
  }

  .sd-tech-item:nth-child(n + 4) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sd-tech-logo {
    transition: none;
  }
}
