/* ============================================================
   Winpax 唯派国际物流 — 新版视觉样式 (winx.css)
   风格：深海蓝 + 青蓝渐变 accent，现代卡片式布局
   ============================================================ */
:root {
  --navy: #0b1f3a;
  --navy-2: #122c52;
  --blue: #1b6fd6;
  --cyan: #19b5d6;
  --amber: #f7a400;
  --ink: #1f2d3d;
  --gray: #5d6d7e;
  --line: #e6ebf1;
  --bg-soft: #f4f7fb;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 31, 58, .08);
  --shadow-hover: 0 14px 34px rgba(11, 31, 58, .16);
  --font-head: "Quicksand", "PingFang SC", "Yuanti SC", "YouYuan", "Microsoft YaHei", sans-serif;
}
/* 圆润标题字体（拉丁字符），中文回退到圆体/雅黑 */
@font-face { font-family: 'Quicksand'; font-weight: 600; font-display: swap; src: url('../fonts/quicksand-600.woff2') format('woff2'); }
@font-face { font-family: 'Quicksand'; font-weight: 700; font-display: swap; src: url('../fonts/quicksand-700.woff2') format('woff2'); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; transition: color .25s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.box { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.clearblank { clear: both; }

/* ---------- 顶部导航 ---------- */
#header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 31, 58, .92);
  backdrop-filter: blur(10px);
  transition: transform .3s;
}
#header.header-hidden { transform: translateY(-100%); }
.header-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header-top { display: flex; align-items: center; gap: 12px; }
.logo img { height: 38px; width: auto; }
.company-name { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1px; font-family: var(--font-head); }
#mnavh { display: none; }
#starlist { display: flex; align-items: center; gap: 6px; }
#starlist li a {
  display: block; padding: 8px 18px; color: rgba(255, 255, 255, .85);
  font-size: 15px; border-radius: 999px; transition: all .25s;
}
#starlist li a:hover, #starlist li.active a, #starlist a#selected {
  color: #fff; background: linear-gradient(120deg, var(--blue), var(--cyan));
}
#starlist li:last-child a { border: 1px solid rgba(255,255,255,.35); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background-color: var(--navy);
  background-image: url(../images/bg.webp); background-repeat: no-repeat;
  background-position: center center; background-size: cover;
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,31,58,.88) 15%, rgba(11,31,58,.55) 55%, rgba(11,31,58,.25) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; padding: 80px 0; }
.hero-tag {
  display: inline-block; padding: 5px 16px; margin-bottom: 22px;
  font-size: 13px; letter-spacing: 2px; color: var(--cyan);
  border: 1px solid rgba(25, 181, 214, .5); border-radius: 999px;
}
.hero h1 { font-size: 46px; font-weight: 700; line-height: 1.25; margin-bottom: 22px; letter-spacing: 1px; font-family: var(--font-head); }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--cyan), #6ee7f5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 16px; color: rgba(255, 255, 255, .88); line-height: 1.9; margin-bottom: 6px; }
.hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 36px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: all .3s; letter-spacing: 1px;
}
.btn-primary { color: #fff; background: linear-gradient(120deg, var(--blue), var(--cyan)); box-shadow: 0 8px 20px rgba(27, 111, 214, .4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(27, 111, 214, .55); color: #fff; }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- 数据带 ---------- */
.stats { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 38px 16px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .08); }
.stats li:first-child { border-left: none; }
.stats b { display: block; font-size: 38px; font-weight: 700; font-family: var(--font-head); background: linear-gradient(120deg, var(--cyan), #6ee7f5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats span { font-size: 14px; color: rgba(255, 255, 255, .7); letter-spacing: 1px; }

/* ---------- 通用区块标题 ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.h-title { text-align: center; margin-bottom: 52px; }
.h-title i { display: block; font-style: normal; font-size: 13px; letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; margin-bottom: 10px; font-family: var(--font-head); font-weight: 600; }
.h-title h2 { font-size: 32px; font-weight: 700; color: var(--navy); letter-spacing: 1px; font-family: var(--font-head); }
.h-title::after { content: ''; display: block; width: 56px; height: 4px; margin: 18px auto 0; border-radius: 4px; background: linear-gradient(120deg, var(--blue), var(--cyan)); }

/* ---------- 服务九宫格 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .35s; border: 1px solid var(--line);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.svc-card .pic { height: 200px; overflow: hidden; }
.svc-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .pic img { transform: scale(1.07); }
.svc-card .txt { padding: 22px 24px 26px; }
.svc-card .txt h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.svc-card .txt h3::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: linear-gradient(120deg, var(--blue), var(--cyan)); vertical-align: 2px; }
.svc-card .txt p { font-size: 14px; color: var(--gray); }

/* ---------- 首页关于我们 ---------- */
.about-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-pic { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); min-height: 340px; background: url(../images/about-left.jpg?v=0825) no-repeat center / cover; }
.about-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(25,181,214,.18), rgba(11,31,58,.35)); }
.about-txt h2 { font-size: 30px; color: var(--navy); margin-bottom: 20px; font-weight: 700; letter-spacing: 1px; font-family: var(--font-head); }
.about-txt p { color: var(--gray); font-size: 15px; margin-bottom: 18px; text-align: justify; }

/* ---------- 首页 CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--cyan)); color: #fff; text-align: center; padding: 64px 24px; }
.cta-band h2 { font-size: 28px; margin-bottom: 12px; letter-spacing: 1px; font-weight: 700; font-family: var(--font-head); }
.cta-band p { color: rgba(255, 255, 255, .85); margin-bottom: 26px; }
.cta-band .btn { background: #fff; color: var(--blue); }
.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

/* ---------- 内页横幅 ---------- */
.page-hero {
  position: relative; height: 300px; display: flex; align-items: center; justify-content: center;
  background-color: var(--navy);
  background-image: url(../images/list-bg.webp); background-repeat: no-repeat;
  background-position: center; background-size: cover; color: #fff; text-align: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,.55), rgba(11,31,58,.75)); }
.page-hero .inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: 36px; letter-spacing: 2px; font-weight: 700; font-family: var(--font-head); }
.page-hero .position { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.page-hero .position a:hover { color: var(--cyan); }

/* ---------- 内页主体 ---------- */
.page-body { padding: 64px 0 84px; }
.page-nav { display: none; }
.erji { margin-bottom: 36px; text-align: center; }
.erji ul { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.erji li a { display: block; padding: 9px 26px; border-radius: 999px; background: var(--bg-soft); color: var(--gray); font-size: 15px; border: 1px solid var(--line); transition: all .25s; }
.erji li.on a, .erji li a:hover { background: linear-gradient(120deg, var(--blue), var(--cyan)); color: #fff; border-color: transparent; }
.list-title { display: none; }

/* 文章/简介正文 */
.content { font-size: 16px; color: var(--ink); background: #fff; border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.content h1 { font-size: 26px; color: var(--navy); margin-bottom: 22px; font-weight: 700; font-family: var(--font-head); }
.content p { margin-bottom: 14px; text-align: justify; }
.content p.lead { font-size: 17px; font-weight: 600; color: var(--navy); }
.content h2 { font-size: 20px; color: var(--navy); margin: 30px 0 14px; font-weight: 700; font-family: var(--font-head); border-left: 4px solid var(--cyan); padding-left: 12px; }
.content ul { margin: 0 0 16px 2px; }
.content ul li { position: relative; padding-left: 18px; margin-bottom: 10px; line-height: 1.8; }
.content ul li::before { content: ''; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.content img { border-radius: 10px; margin: 10px auto; }
.page-about .content { max-width: 900px; margin: 0 auto; }

/* 服务列表页 */
.page-case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.page-case-list li { display: flex; gap: 22px; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: all .3s; }
.page-case-list li:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.page-case-list .list-img { flex: 0 0 168px; border-radius: 10px; overflow: hidden; }
.page-case-list .list-img img { width: 100%; height: 100%; object-fit: cover; }
.page-case-list h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.page-case-list h3 a:hover { color: var(--blue); }
.page-case-list .text-content p { font-size: 14px; color: var(--gray); margin-bottom: 10px; }
.page-case-list .text-content span { font-size: 13px; color: #9aa7b4; }

/* 文章详情页 */
.page-info { display: block; }
.left-box { max-width: 900px; margin: 0 auto; }
.right-box { display: none; }
.news-info { margin-top: 28px; padding: 20px 24px; background: var(--bg-soft); border-radius: var(--radius); font-size: 13px; color: var(--gray); }
.news-info i { display: block; font-style: normal; margin-bottom: 8px; color: var(--navy); font-weight: 600; }
.nextinfo { margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 16px; }
.nextinfo li { padding: 6px 0; font-size: 14px; }
.nextinfo a:hover { color: var(--blue); }

/* 联系我们卡片 */
.kefu ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kefu ul li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: all .3s;
  border-top: 4px solid transparent;
}
.kefu ul li:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-top-color: var(--cyan); }
.kefu ul li h3 { font-size: 16px; color: var(--navy); margin-bottom: 12px; font-weight: 700; }
.kefu ul li p { font-size: 13px; color: var(--gray); line-height: 1.9; }

/* 全球网络列表（contractlist） */
.page-case-list1 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.page-case-list1 li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); transition: all .3s; }
.page-case-list1 li:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.page-case-list1 h2 { font-size: 17px; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.page-case-list1 p { font-size: 14px; color: var(--gray); margin-bottom: 4px; }
/* 国内/海外分组标题 */
.page-case-list1 li.group-title { grid-column: 1 / -1; background: none; border: none; box-shadow: none; padding: 18px 4px 0; }
.page-case-list1 li.group-title:hover { transform: none; box-shadow: none; }
.page-case-list1 li.group-title h2 { font-size: 22px; color: var(--navy); font-family: var(--font-head); border-left: 4px solid var(--cyan); padding-left: 14px; margin-bottom: 0; }

/* 分页 */
.pages { margin-top: 40px; text-align: center; }
.pages a { display: inline-block; margin: 0 4px; padding: 8px 16px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; color: var(--gray); }
.pages a:hover, .pages a.pagecount { background: linear-gradient(120deg, var(--blue), var(--cyan)); color: #fff; border-color: transparent; }

/* ---------- 页脚 ---------- */
footer { background: var(--navy); color: rgba(255, 255, 255, .75); margin-top: 0; }
.footer { padding: 64px 24px 34px; }
.footer .h-title h2 { color: #fff; }
.footer .h-title::after { margin-left: 0; }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.logo-container { display: flex; align-items: center; gap: 14px; }
.logo-container .company-name { font-size: 22px; }
.end-logo { height: 44px; width: auto; }
.contact-selector .selectors { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.contact-selector select {
  padding: 9px 16px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2);
  background: var(--navy-2); color: #fff; font-size: 14px; min-width: 110px; outline: none;
}
#company-info p { font-size: 14px; margin-bottom: 6px; }
#company-info .contact-company-name { color: #fff; font-size: 16px; }
.end-nav { display: flex; justify-content: center; gap: 34px; padding: 26px 0 18px; flex-wrap: wrap; }
.end-nav li a { font-size: 14px; color: rgba(255, 255, 255, .65); }
.end-nav li a:hover { color: var(--cyan); }
.copyright { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .4); }
.copyright a:hover { color: var(--cyan); }

/* ---------- 右侧悬浮联系 ---------- */
.jinni8_kefu_style { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 99; display: flex; flex-direction: column; gap: 10px; }
.jinni8_kefu_nth {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 62px; padding: 14px 0; border-radius: 12px; color: #fff; font-size: 12px; text-align: center;
  background: linear-gradient(160deg, var(--blue), var(--cyan)); box-shadow: 0 8px 20px rgba(27, 111, 214, .35);
  transition: all .3s;
}
.jinni8_kefu_nth:hover { transform: translateX(-4px); color: #fff; }
.jinni8_kefu_nth span { margin-top: 6px; line-height: 1.3; }
.jinni8_kefu_mipimgs { width: 22px; height: 22px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.jinni8_kefu_xx .jinni8_kefu_mipimgs { background-image: url(../picture/c-postion.png); filter: brightness(0) invert(1); }
.jinni8_kefu_sj .jinni8_kefu_mipimgs { background-image: url(../picture/c-tell.png); filter: brightness(0) invert(1); }
.jinni8_kefu_nth .tips {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; background: var(--navy); color: #fff; font-size: 13px;
  padding: 8px 14px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.jinni8_kefu_nth:hover .tips { opacity: 1; }

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  .svc-grid, .kefu ul { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li { border-left: none; border-top: 1px solid rgba(255,255,255,.08); }
  .page-case-list, .page-case-list1 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .header-container { height: 60px; }
  .company-name { font-size: 17px; }
  #mnavh { display: block; width: 40px; height: 40px; position: relative; cursor: pointer; }
  #mnavh .navicon, #mnavh .navicon::before, #mnavh .navicon::after {
    content: ''; position: absolute; left: 8px; width: 24px; height: 2px; background: #fff; transition: all .3s;
  }
  #mnavh .navicon { top: 19px; }
  #mnavh .navicon::before { left: 0; top: -8px; }
  #mnavh .navicon::after { left: 0; top: 8px; }
  #mnavh.open .navicon { background: transparent; }
  #mnavh.open .navicon::before { transform: rotate(45deg); top: 0; }
  #mnavh.open .navicon::after { transform: rotate(-45deg); top: 0; }
  #starlist {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 31, 58, .98); padding: 10px 0;
  }
  #starlist li a { padding: 13px 24px; border-radius: 0; }
  .hero { min-height: 0; }
  .hero-inner { padding: 56px 0; max-width: 100%; }
  .hero h1 { font-size: 30px; }
  .section { padding: 56px 0; }
  .h-title h2 { font-size: 25px; }
  .svc-grid, .kefu ul { grid-template-columns: 1fr; }
  .content { padding: 24px 20px; }
  .page-hero { height: 200px; }
  .page-hero h1 { font-size: 26px; }
  .page-case-list li { flex-direction: column; }
  .page-case-list .list-img { flex: none; height: 180px; }
  .jinni8_kefu_style { right: 10px; }
  .jinni8_kefu_nth { width: 52px; font-size: 11px; }
  .stats b { font-size: 30px; }
}

/* ---------- 核心资质带 ---------- */
.certs { background: #fff; border-bottom: 1px solid var(--line); }
.certs ul { display: flex; justify-content: center; gap: 18px 44px; flex-wrap: wrap; padding: 26px 24px; }
.certs li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--navy); font-weight: 600; }
.certs li::before {
  content: ''; width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2l2.4 2.4 3.3-.5 1.2 3.1 3.1 1.2-.5 3.3L24 12l-2.4 2.4.5 3.3-3.1 1.2-1.2 3.1-3.3-.5L12 24l-2.4-2.4-3.3.5-1.2-3.1-3.1-1.2.5-3.3L0 12l2.4-2.4-.5-3.3 3.1-1.2 1.2-3.1 3.3.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2l2.4 2.4 3.3-.5 1.2 3.1 3.1 1.2-.5 3.3L24 12l-2.4 2.4.5 3.3-3.1 1.2-1.2 3.1-3.3-.5L12 24l-2.4-2.4-.5-3.3 3.1-1.2 1.2-3.1 3.3.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- 三大核心优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.adv-card { position: relative; background: #fff; border-radius: var(--radius); padding: 40px 30px 34px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: all .35s; overflow: hidden; }
.adv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(120deg, var(--blue), var(--cyan)); }
.adv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.adv-card .num { font-size: 15px; font-weight: 700; color: var(--cyan); letter-spacing: 1px; margin-bottom: 14px; font-family: var(--font-head); }
.adv-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 12px; font-weight: 700; font-family: var(--font-head); }
.adv-card p { font-size: 14px; color: var(--gray); margin-bottom: 14px; }
.adv-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.adv-card .tags span { font-size: 12px; color: var(--blue); background: rgba(27,111,214,.08); border-radius: 999px; padding: 4px 12px; }

/* ---------- 全球网络 ---------- */
.network-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.network-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); }
.network-map img { width: 100%; }
.network-txt h2 { font-size: 28px; color: var(--navy); margin-bottom: 18px; font-weight: 700; font-family: var(--font-head); }
.network-txt p { color: var(--gray); font-size: 15px; margin-bottom: 14px; }
.network-txt .hl { color: var(--navy); font-weight: 600; }
@media (max-width: 900px) {
  .adv-grid { grid-template-columns: 1fr; }
  .network-wrap { grid-template-columns: 1fr; }
}

/* 服务卡片可点击 */
a.svc-card { display: block; color: inherit; cursor: pointer; }
a.svc-card .txt h3::after { content: '→'; margin-left: 8px; color: var(--cyan); opacity: 0; transition: opacity .3s; font-weight: 400; }
a.svc-card:hover .txt h3::after { opacity: 1; }
