/* ===== 变量 & 字体 ===== */
:root{
  --c-primary:#0f1b2e;        /* 深海蓝 */
  --c-accent:#d4a656;         /* 国风金 */
  --c-glass:rgba(255,255,255,.25);
  --c-line:rgba(212,166,86,.6);
  --font-en:"DIN",sans-serif;
  --font-cn:"AlibabaPuHuiTi","思源黑体",sans-serif;
}
@font-face{font-family:"DIN";src:url(assets/font/DIN.woff2) format("woff2")}
@font-face{font-family:"AlibabaPuHuiTi";src:url(assets/font/AlibabaPuHuiTi.woff2) format("woff2")}

/* ===== 全局动效 ===== */
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideUp{from{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes typewriter{from{width:0}to{width:100%}}
@keyframes ripple{0%{transform:scale(0);opacity:1}100%{transform:scale(4);opacity:0}}

/* ===== Hero 全屏轮播 ===== */
.hero{position:relative;height:100vh;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero__overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(15,27,46,.76) 0%,rgba(15,27,46,.46) 100%);z-index:-1}
.hero__text{text-align:center;color:#fff;animation:fadeIn 1.2s ease}
.hero__text h1{font-family:var(--font-cn);font-size:clamp(2.4rem,5vw,4rem);letter-spacing:.1em}
.typewriter{overflow:hidden;white-space:nowrap;margin:0 auto;border-right:2px solid var(--c-accent);animation:typewriter 3s steps(30,end),blink .7s step-end infinite}
@keyframes blink{50%{border-color:transparent}}

/* ===== 总部时间轴 ===== */
.hq{padding:100px 6vw;background:#fafafa url(assets/img/xiangyun.png) repeat-x bottom;background-size:400px}
.hq h2{text-align:center;font-size:2rem;margin-bottom:60px;color:var(--c-primary)}
.timeline{position:relative;padding-left:30px}
.timeline::before{content:"";position:absolute;left:15px;top:0;bottom:0;width:2px;background:var(--c-line)}
.timeline__item{position:relative;margin-bottom:40px;animation:slideUp .8s ease both}
.timeline__item .dot{position:absolute;left:-9px;top:6px;width:16px;height:16px;background:var(--c-accent);border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 3px var(--c-line)}
.timeline__item .content{background:var(--c-glass);backdrop-filter:blur(12px);border-left:4px solid var(--c-accent);padding:20px 24px;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.08)}
.timeline__item h3{font-size:1.2rem;margin-bottom:8px;color:var(--c-primary)}
.timeline__item p{margin:4px 0;font-size:.95rem;color:#444}

/* ===== 业务支持悬浮卡片 ===== */
.support{padding:100px 6vw;background:#fff}
.support h2{text-align:center;font-size:2rem;margin-bottom:60px;color:var(--c-primary)}
.support__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:32px}
.support__card{background:var(--c-glass);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.5);border-radius:20px;padding:40px 24px;text-align:center;transition:transform .3s,box-shadow .3s;cursor:pointer}
.support__card:hover{transform:translateY(-8px);box-shadow:0 12px 36px rgba(0,0,0,.12)}
.support__card .icon{width:48px;height:48px;fill:var(--c-accent);margin-bottom:16px}
.support__card h3{font-size:1.1rem;margin-bottom:10px;color:var(--c-primary)}
.support__card p{font-size:.9rem;color:#555}

/* ===== 微信扫码滑入 ===== */
.wechat{padding:100px 6vw;background:#fafafa}
.wechat h2{text-align:center;font-size:2rem;margin-bottom:40px;color:var(--c-primary)}
.wechat__wrap{display:flex;align-items:center;justify-content:center;gap:60px;flex-wrap:wrap}
.wechat__info{font-size:1.1rem;color:#555}
.wechat__qr{position:relative;overflow:hidden;border-radius:16px;background:var(--c-glass);backdrop-filter:blur(12px);padding:12px;box-shadow:0 6px 24px rgba(0,0,0,.1);animation:slideUp 1s ease}
.wechat__qr img{display:block;width:160px;height:160px;object-fit:cover}

/* ===== 全球办事处横滑卡片 ===== */
.global{padding:100px 6vw;background:#fff}
.global h2{text-align:center;font-size:2rem;margin-bottom:40px;color:var(--c-primary)}
.office-horizontal{display:flex;gap:16px;padding:12px 6vw;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.office-horizontal::-webkit-scrollbar{height:0}
.office-horizontal .office-card{flex:0 0 160px;height:160px;scroll-snap-align:start;background:var(--c-glass);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.5);border-radius:16px;box-shadow:0 6px 24px rgba(0,0,0,.1);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:transform .25s}
.office-horizontal .office-card:hover{transform:translateY(-6px)}
.office-horizontal .flag{font-size:40px;margin-bottom:8px}
.office-horizontal .text strong{font-size:15px;color:var(--c-primary)}
.office-horizontal .text small{font-size:12px;color:#555;margin-top:4px}

/* ===== 留言表单 ===== */
.form-section{padding:100px 6vw;background:#fafafa}
.form-section h2{text-align:center;font-size:2rem;margin-bottom:40px;color:var(--c-primary)}
.form{display:flex;flex-direction:column;gap:20px;max-width:600px;margin:0 auto}
.form input,.form textarea{width:100%;padding:14px 18px;border:1px solid #d0d0d0;border-radius:8px;font-size:1rem;font-family:var(--font-cn);transition:border .3s,box-shadow .3s}
.form input:focus,.form textarea:focus{outline:none;border-color:var(--c-accent);box-shadow:0 0 0 3px rgba(212,166,86,.2)}
.form button{align-self:center;padding:14px 40px;background:var(--c-primary);color:#fff;border:none;border-radius:30px;font-size:1rem;cursor:pointer;position:relative;overflow:hidden;transition:background .3s}
.form button:hover{background:#1a2b46}
.form button span{position:relative;z-index:2}
.ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,.6);width:20px;height:20px;animation:ripple .6s ease-out}

/* ===== 页脚 ===== */
.footer{padding:40px 6vw;background:#0f1b2e url(assets/img/industrial-texture.png) center/cover;color:#fff;text-align:center;font-size:.9rem}

/* ===== 响应式 ===== */
@media (max-width:768px){
  .hq,.support,.wechat,.global,.form-section{padding:60px 6vw}
  .wechat__wrap{flex-direction:column;gap:30px}
  .office-horizontal .office-card{flex:0 0 28vw;height:28vw}
}
/* 强制全站使用 AlibabaPuHuiTi-3-55-Regular */
@font-face{
  font-family:'AlibabaPuHuiTi';
  src:url('assets/font/AlibabaPuHuiTi-3-55-Regular.woff2') format('woff2'),
      url('assets/font/AlibabaPuHuiTi-3-55-Regular.ttf') format('truetype');
  font-weight:normal;
  font-style:normal;
  font-display:swap;
}

/* 全局覆盖 */
*,
*::before,
*::after{
  font-family:'AlibabaPuHuiTi',sans-serif !important;
  font-weight:normal !important;
}