.official-logo{width:250px;height:48px;background:url('./media/brand/jyd-logo.png') left center/contain no-repeat}.official-logo>b,.official-logo>span{visibility:hidden}
.carousel{position:relative;height:min(66vh,650px);min-height:430px;overflow:hidden;border-bottom:1px solid var(--line);background:#eef3f8}
.slides,.slide{position:absolute;inset:0}
.slide{overflow:hidden}
.slide-media{position:absolute;inset:-1px;background-position:center;background-size:cover;transform:scale(1)}
/* 图片始终只有一张；独立遮罩仅用于保证左下角文字清晰。 */
.slide-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,35,60,.6) 0%,rgba(14,35,60,.3) 40%,transparent 68%),linear-gradient(0deg,rgba(14,35,60,.45) 0%,transparent 38%)}
.slide-content{position:relative;z-index:1;display:grid;align-content:center;justify-items:start;height:100%;max-width:1160px;padding-top:18%;padding-bottom:0}
.slide-content h2{max-width:680px;margin:0;font-size:clamp(22px,2.8vw,38px);line-height:1.3;color:#fff;font-weight:800}
/* 副标题（有内容时才显示）：放大、加左侧竖线分隔 */
.slide-content p{position:relative;max-width:600px;margin:18px 0 0;padding-left:18px;color:#eef4fb;font-size:clamp(14px,1.6vw,18px);font-weight:600;line-height:1.7}
.slide-content p::before{content:'';position:absolute;left:0;top:0.3em;bottom:0.3em;width:3px;border-radius:2px;background:linear-gradient(180deg,var(--blue),var(--cyan))}
.slide-content a{justify-self:start;margin-top:22px;padding:9px 16px;border-radius:4px;background:var(--blue);color:#fff;font-size:11px;font-weight:800;transition:.2s}
.slide-content a:hover{background:var(--cyan)}
.carousel-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:46px;height:72px;border:1px solid rgba(255,255,255,.25);background:rgba(14,35,60,.25);color:#fff;font-size:35px}
.carousel-arrow.prev{left:20px}
.carousel-arrow.next{right:20px}
.carousel-dots{position:absolute;z-index:3;left:50%;bottom:20px;display:flex;gap:8px;transform:translateX(-50%)}
.carousel-dots button{width:22px;height:2px;padding:0;border:0;background:rgba(255,255,255,.45)}
.carousel-dots button.active{background:#7fc0ff}
.carousel-pause{position:absolute;z-index:3;right:25px;bottom:16px;border:1px solid rgba(255,255,255,.25);background:rgba(14,35,60,.25);color:#fff;font-size:10px}
.scroll-reveal{opacity:0;transform:translateY(25px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1)}
.scroll-reveal.visible{opacity:1;transform:none}
.testing-center{padding:58px 0;border-top:1px solid var(--line);background:#eef3f8}
.testing-center>.wrap{display:grid;grid-template-columns:.75fr 1.25fr;gap:40px}
.testing-center h2{font-size:28px;color:#16283b}
.testing-center p{color:var(--muted);line-height:1.8}
.test-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.test-grid span{display:grid;place-items:end start;min-height:115px;padding:12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#4a6175;font-size:9px}
@media(max-width:800px){.official-logo{width:150px}.carousel{height:64vh;min-height:480px}.carousel-arrow{width:34px;height:55px}.carousel-arrow.prev{left:7px}.carousel-arrow.next{right:7px}.slide-content{padding:0 35px}.testing-center>.wrap{grid-template-columns:1fr}.test-grid{grid-template-columns:repeat(2,1fr)}}
