/* =====================================================
   qing-tech-optics  —  自研光学成像技术（深色整幅背景图 + 能力项）
   前缀: qto-
   对应源码 .tech-optics
   ===================================================== */

.qto-wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #071a33;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 72px 0;
  overflow: hidden;
}

/* 左侧加深渐变，保证文字可读 */
.qto-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 15, 33, 0.92) 0%,
    rgba(6, 22, 46, 0.72) 40%,
    rgba(7, 26, 54, 0.25) 70%,
    rgba(7, 26, 54, 0) 100%
  );
  pointer-events: none;
}

.qto-no-overlay::before {
  display: none;
}

/* ---------- 内容层 ---------- */
.qto-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

.qto-text {
  max-width: 620px;
}

/* ---------- 版块编号 ---------- */
.qto-section-no {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-accent-light, #4a90ff);
  line-height: 1.2;
  margin: 0 0 14px;
}

.qto-section-no-num {
  margin-right: 2px;
}

/* ---------- 标题 ---------- */
.qto-title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 12px;
}

/* ---------- 引导语 ---------- */
.qto-lead {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 26px;
}

/* ---------- 正文段落 ---------- */
.qto-para {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 14px;
  max-width: 560px;
}

.qto-para:last-of-type {
  margin-bottom: 0;
}

/* ---------- 能力项列表 ---------- */
.qto-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  gap: 48px;
}

.qto-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.qto-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(74, 144, 255, 0.16);
  border: 1px solid rgba(74, 144, 255, 0.45);
  color: var(--color-accent-light, #4a90ff);
}

.qto-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qto-icon i {
  font-size: 24px;
  line-height: 1;
}

.qto-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.qto-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- 进入视口动画 ---------- */
@keyframes qto-enter-up {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.qing-motion-js .qto-wrap:not(.is-motion-visible) .qto-section-no,
.qing-motion-js .qto-wrap:not(.is-motion-visible) .qto-title,
.qing-motion-js .qto-wrap:not(.is-motion-visible) .qto-lead,
.qing-motion-js .qto-wrap:not(.is-motion-visible) .qto-para,
.qing-motion-js .qto-wrap:not(.is-motion-visible) .qto-item {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
}

.qto-wrap.is-motion-visible .qto-section-no,
.qto-wrap.is-motion-visible .qto-title,
.qto-wrap.is-motion-visible .qto-lead,
.qto-wrap.is-motion-visible .qto-para,
.qto-wrap.is-motion-visible .qto-item {
  animation: qto-enter-up 1.15s cubic-bezier(.22,1,.36,1) backwards;
}

.qto-wrap.is-motion-visible .qto-section-no { animation-delay: 60ms; }
.qto-wrap.is-motion-visible .qto-title { animation-delay: 160ms; }
.qto-wrap.is-motion-visible .qto-lead { animation-delay: 260ms; }
.qto-wrap.is-motion-visible .qto-para { animation-delay: calc(400ms + var(--motion-i, 0) * 180ms); }
.qto-wrap.is-motion-visible .qto-item { animation-delay: calc(700ms + var(--motion-i, 0) * 240ms); }

@media (prefers-reduced-motion: reduce) {
  .qing-motion-js .qto-wrap .qto-section-no,
  .qing-motion-js .qto-wrap .qto-title,
  .qing-motion-js .qto-wrap .qto-lead,
  .qing-motion-js .qto-wrap .qto-para,
  .qing-motion-js .qto-wrap .qto-item {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---------- 响应式 ≤960px ---------- */
@media (max-width: 960px) {
  .qto-text {
    max-width: 100%;
  }

  .qto-para {
    max-width: none;
  }
}

/* ---------- 响应式 ≤640px ---------- */
@media (max-width: 640px) {
  .qto-wrap {
    min-height: 0;
    padding: 52px 0;
  }

  .qto-inner {
    padding: 0 24px;
  }

  .qto-title {
    font-size: 25px;
  }

  .qto-list {
    flex-wrap: wrap;
    gap: 28px 36px;
  }
}
