/* 首页 · 首屏下方的合作企业条、合作五步、项目交付清单 */

/* —— 合作企业：紧跟首屏的一条 —— */
.customers-strip.large-section { margin-top:0; padding:26px 0 6px; }
.customers-strip .section-heading h2 { color:var(--muted); font-size:16px; font-weight:600; letter-spacing:.12em; }
.customers-strip .customer-marquee { margin-top:10px; }
.customers-strip + .solution-intro,.solution-intro.after-customers { padding-top:64px; }

/* —— 合作五步：五个阶段一次全部展示，不再轮播 —— */
.home-faq.large-section { margin-bottom:76px; }   /* 首页最后一张卡片，和下面白底的联系区拉开距离 */
.cooperation-steps { position:relative; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; margin:40px 0 0; padding:0; list-style:none; counter-reset:step; }
.cooperation-steps::before { content:""; position:absolute; top:19px; left:20px; right:20px; height:2px; background:#dfe8f5; }
.cooperation-steps::after { content:""; position:absolute; top:19px; left:20px; right:20px; height:2px; background:var(--accent); transform-origin:left center; }

.cooperation-step { position:relative; z-index:1; counter-increment:step; }
.cooperation-step::before { content:counter(step,decimal-leading-zero); display:flex; align-items:center; justify-content:center; width:40px; height:40px; border:2px solid var(--accent); border-radius:50%; background:#fff; color:var(--accent); font-size:14px; font-weight:700; }
.cooperation-step-card { height:calc(100% - 58px); margin-top:18px; padding:22px 20px 20px; border-radius:18px; background:#f3f7fd; display:flex; flex-direction:column; }
.cooperation-step-name { color:var(--accent); font-size:14px; font-weight:600; letter-spacing:.02em; }
.cooperation-step h3 { margin-top:8px; font-size:21px; font-weight:700; line-height:1.45; letter-spacing:-.4px; }
.cooperation-step p { margin-top:12px; color:var(--muted); font-size:15px; line-height:1.85; }
.cooperation-step-output { margin-top:auto; padding-top:18px; }
.cooperation-step-output span { display:block; color:#8593a6; font-size:12px; }
.cooperation-step-output strong { display:block; margin-top:4px; color:var(--ink); font-size:14px; font-weight:600; line-height:1.5; }

/* —— 项目结束时交到客户手上的三样东西 —— */
.cooperation-handover { margin-top:40px; padding-top:34px; border-top:1px solid #e3ebf5; }
.cooperation-handover > h3 { font-size:24px; font-weight:700; line-height:1.4; letter-spacing:-.5px; }
.handover-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:22px 0 0; padding:0; list-style:none; }
.handover-item { padding:24px 24px 22px; border-radius:18px; background:#f3f7fd; }
.handover-value { display:block; color:var(--navy); font-size:28px; font-weight:700; line-height:1.3; letter-spacing:-.7px; }
.handover-item h4 { margin:10px 0 0; font-size:17px; font-weight:650; line-height:1.5; }
.handover-item p { margin-top:8px; color:var(--muted); font-size:15px; line-height:1.85; }
.cooperation-handover .delivery-footer { margin-top:22px; }

/* 进入视野时：连线从左画到右，五步依次出现 */
@media (prefers-reduced-motion:no-preference) {
  .cooperation-steps.will-animate::after { transform:scaleX(0); }
  .cooperation-steps.will-animate .cooperation-step { opacity:0; transform:translateY(16px); }
  .cooperation-steps.will-animate.is-inview::after { transform:scaleX(1); transition:transform 1.6s cubic-bezier(.22,1,.36,1); }
  .cooperation-steps.will-animate.is-inview .cooperation-step { opacity:1; transform:none; transition:opacity .6s ease,transform .7s cubic-bezier(.22,1,.36,1); transition-delay:calc(var(--i) * .22s); }
}

@media (max-width:1100px) {
  .cooperation-steps { grid-template-columns:1fr; gap:0; margin-top:28px; }
  .cooperation-steps::before,.cooperation-steps::after { top:20px; bottom:20px; left:19px; right:auto; width:2px; height:auto; transform-origin:center top; }
  .cooperation-steps.will-animate::after { transform:scaleY(0); }
  .cooperation-steps.will-animate.is-inview::after { transform:scaleY(1); }
  .cooperation-step { display:grid; grid-template-columns:40px minmax(0,1fr); gap:16px; align-items:start; padding-bottom:16px; }
  .cooperation-step:last-child { padding-bottom:0; }
  .cooperation-step-card { height:auto; margin-top:0; padding:18px 20px; }
  .cooperation-step h3 br { display:none; }
  .cooperation-step-output { padding-top:14px; }
}
@media (max-width:900px) {
  .handover-list { grid-template-columns:1fr; }
  .handover-item { display:grid; grid-template-columns:96px minmax(0,1fr); column-gap:16px; padding:20px; }
  .handover-value { grid-row:1 / span 2; font-size:24px; }
  .handover-item h4 { margin-top:2px; }
}
@media (max-width:640px) {
  .customers-strip.large-section { padding-top:18px; }
  .home-faq.large-section { margin-bottom:44px; }
  .cooperation-handover { margin-top:28px; padding-top:26px; }
  .cooperation-handover > h3 { font-size:21px; }
  .handover-item { grid-template-columns:76px minmax(0,1fr); padding:16px; border-radius:15px; }
  .handover-value { font-size:20px; }
  .handover-item h4 { font-size:16px; }
  .handover-item p { font-size:14px; }
  .cooperation-step { gap:12px; }
  .cooperation-step-card { padding:16px; border-radius:15px; }
  .cooperation-step h3 { font-size:18px; }
  .cooperation-step p { margin-top:8px; font-size:14px; }
}

/* —— 首页常见问题：左边标题，右边问答 —— */
.home-faq { display:grid; grid-template-columns:minmax(0,.34fr) minmax(0,.66fr); gap:56px; align-items:start; }
.home-faq .section-heading p { margin-top:12px; color:var(--muted); font-size:17px; line-height:1.85; }
.home-faq-list details { border-bottom:1px solid #e3ebf5; }
.home-faq-list details:first-child { border-top:1px solid #e3ebf5; }
.home-faq-list summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 4px 20px 2px; font-size:18px; font-weight:650; line-height:1.5; cursor:pointer; list-style:none; }
.home-faq-list summary::-webkit-details-marker { display:none; }
.home-faq-list summary::after { content:""; flex:none; width:9px; height:9px; margin-right:6px; border-right:2px solid #8593a6; border-bottom:2px solid #8593a6; transform:translateY(-3px) rotate(45deg); transition:transform .2s ease; }
.home-faq-list details[open] summary::after { transform:translateY(2px) rotate(-135deg); }
.home-faq-list summary:hover { color:var(--accent); }
.home-faq-list summary:focus-visible { outline:3px solid #80b4ff; outline-offset:2px; border-radius:6px; }
.home-faq-list p { margin:0; padding:0 44px 22px 2px; color:var(--muted); font-size:16px; line-height:1.9; }
.home-faq-list a { color:var(--accent); text-decoration:underline; text-underline-offset:.18em; }
@media (max-width:1000px) {
  .home-faq { grid-template-columns:1fr; gap:22px; }
  .home-faq .section-heading p br { display:none; }
}
@media (max-width:640px) {
  .home-faq-list summary { padding:16px 2px; font-size:16px; }
  .home-faq-list p { padding:0 8px 18px 2px; font-size:15px; line-height:1.85; }
}
