@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #002c5f;
    --accent: #1d4f9c;
    --light-blue: #ecf2f8;
    --text-gray: #6d6d6d;
    --border-gray: #d4d4d4;
    --maxw: 1600px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: #1a1a1a; line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }
@media (min-width: 1280px) { .container { padding: 0 80px; } }
.container.narrow { max-width: 900px; }

.section { padding: 80px 0; }
@media (min-width: 1024px) { .section { padding: 120px 0; } }
.bg-primary { background: var(--primary); }
.bg-light { background: var(--light-blue); }
.muted { color: var(--text-gray); }

.section-title { font-size: 24px; font-weight: 700; color: #000; margin: 0 0 32px; display: inline-block; }
@media (min-width: 1024px) { .section-title { font-size: 28px; } }
.section-title::after { content: ''; display: block; width: 50px; height: 3px; background: var(--accent); margin-top: 16px; }
.section-title.center { display: block; text-align: center; }
.section-title.center::after { margin-left: auto; margin-right: auto; }

.btn-more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; font-size: 14px; transition: gap .3s; }
.btn-more:hover { gap: 12px; }
.btn { display: inline-block; padding: 12px 26px; background: var(--accent); color: #fff; border: 0; border-radius: 6px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: .2s; }
.btn:hover { background: var(--primary); }

/* ---------- Navbar ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 2000; transition: .3s; }
.nav.scrolled { background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; flex-direction: row; align-items: center; gap: 10px; line-height: 1.1; }
.brand .logo-w, .brand .logo-b, .brand .logo-img { height: 40px; width: auto; }
@media (min-width: 1024px) { .brand .logo-w, .brand .logo-b, .brand .logo-img { height: 44px; } }
.brand .logo-b { display: none; }
.nav.scrolled .brand .logo-w, .nav.solid .brand .logo-w { display: none; }
.nav.scrolled .brand .logo-b, .nav.solid .brand .logo-b { display: block; }
.brand-tt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-tt .en { font-size: 10px; letter-spacing: 1px; color: rgba(255, 255, 255, .7); }
.brand-tt .cn { font-size: 20px; font-weight: 700; letter-spacing: 1px; color: #fff; }
.nav.scrolled .brand-tt .en, .nav.solid .brand-tt .en { color: var(--text-gray); }
.nav.scrolled .brand-tt .cn, .nav.solid .brand-tt .cn { color: var(--primary); }
.nav-links { display: flex; gap: 28px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .85); position: relative; padding: 4px 0; transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav.scrolled .nav-links a { color: #222; }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { color: var(--accent); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: currentColor; }
.nav-right { display: flex; align-items: center; gap: 16px; color: #fff; }
.nav.scrolled .nav-right { color: #222; }
.nav-phone { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.nav-phone svg { width: 15px; height: 15px; flex: 0 0 15px; }
.nav-lang a { font-size: 13px; opacity: .8; margin-left: 8px; }
.nav-lang a.active { color: var(--accent); font-weight: 600; opacity: 1; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; color: inherit; line-height: 0; padding: 4px; }
.nav-burger svg { width: 24px; height: 24px; display: block; }
.mmenu { position: fixed; inset: 0; z-index: 1999; background: var(--primary); display: none; flex-direction: column; align-items: stretch; padding: 84px 28px 32px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mmenu.open { display: flex; }
.mmenu > a { color: #fff; font-size: 18px; font-weight: 500; padding: 16px 2px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
/* 移动端菜单：可折叠子菜单 */
.mm-group { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mm-row { display: flex; align-items: center; justify-content: space-between; }
.mm-row > a { flex: 1; color: #fff; font-size: 18px; font-weight: 500; padding: 16px 2px; }
.mm-toggle { background: none; border: 0; color: #fff; padding: 14px 6px; margin: 0; cursor: pointer; line-height: 0; }
.mm-toggle svg { width: 20px; height: 20px; display: block; transition: transform .25s; }
.mm-group.open .mm-toggle svg { transform: rotate(180deg); }
.mm-sub { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.mm-group.open .mm-sub { max-height: 480px; }
.mm-sub a { display: block; color: #fff; font-size: 16px; opacity: .7; padding: 13px 2px 13px 18px; }
.mm-sub a:last-child { padding-bottom: 18px; }
@media (max-width: 1023px) { .nav-links, .nav-phone { display: none; } .nav-burger { display: block; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: var(--primary); }
.hero video, .hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .overlay { position: absolute; inset: 0; background: rgba(0, 44, 95, .6); }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.hero-side { font-size: 48px; font-weight: 800; color: #fff; writing-mode: vertical-rl; letter-spacing: 6px; }
@media (min-width: 1024px) { .hero-side { font-size: 72px; } }
@media (max-width: 767px) { .hero-side { display: none; } }
.hero-center { text-align: center; flex: 1; }
.hero-eyebrow { font-size: 11px; letter-spacing: 6px; color: rgba(255, 255, 255, .7); margin-bottom: 10px; }
.hero-title { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: 2px; margin: 0 0 28px; }
@media (min-width: 1024px) { .hero-title { font-size: 38px; } }
.hero-lines p { color: #fff; letter-spacing: 2px; margin: 5px 0; font-size: 15px; }

/* ---------- Stats ---------- */
.stats { background: var(--primary); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.stat { text-align: center; color: #fff; }
.stat .n { font-size: 46px; font-weight: 800; line-height: 1; display: inline-block; }
@media (min-width: 1024px) { .stat .n { font-size: 58px; } }
.stat .u { font-size: 22px; margin-left: 3px; }
.stat .d { font-size: 13px; color: rgba(255, 255, 255, .7); margin-top: 12px; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .intro-grid { grid-template-columns: 2fr 3fr; gap: 64px; } }
.intro-text p { margin: 0 0 16px; color: rgba(0, 0, 0, .8); }
.intro-img img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; }
@media (min-width: 1024px) { .intro-img img { height: 400px; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); transition: .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, .1); }
.card .img { height: 220px; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.card:hover .img img { transform: scale(1.04); }
.card .body { padding: 24px; }
.card .body h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.card .body p { font-size: 14px; color: var(--text-gray); margin: 0; }

/* ---------- Logo carousel ---------- */
.logos { overflow: hidden; }
.logos-track { display: flex; gap: 64px; align-items: center; width: max-content; animation: scroll-logos 28s linear infinite; }
.logos-track img { height: 46px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: .3s; }
.logos-track img:hover { filter: none; opacity: 1; }
@keyframes scroll-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-logos-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- 我们的客户 / 合作伙伴（卡片双行滚动） ---------- */
.section.clients { padding-bottom: 40px; }
.clients .section-title { margin-bottom: 14px; }
.clients .section-title .ac { color: var(--accent); }
.clients-intro { color: var(--text-gray); font-size: 14px; max-width: 640px; margin: 0; line-height: 1.8; }
.clients-rows { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
/* 用 margin-right 而非 gap：复制一份后 translateX(-50%) 正好等于一份宽度，循环完全连贯无跳变 */
.clients-row { display: flex; width: max-content; }
.clients-row.r1 { animation: scroll-logos 44s linear infinite; }
.clients-row.r2 { animation: scroll-logos-rev 44s linear infinite; margin-left: -80px; }
.clients-rows:hover .clients-row { animation-play-state: paused; }
.client-card { flex-shrink: 0; width: 160px; height: 80px; margin-right: 16px; background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; box-shadow: 0 1px 4px rgba(0, 0, 0, .05); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; transition: box-shadow .3s, transform .3s; }
.client-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.client-card .ab { font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--accent); line-height: 1; }
.client-card .nm { font-size: 11px; color: var(--text-gray); letter-spacing: .5px; }

/* ---------- News preview ---------- */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-item .img { height: 200px; border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.news-item .img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.news-item:hover .img img { transform: scale(1.04); }
.news-item .date { font-size: 12px; color: var(--text-gray); margin-bottom: 8px; }
.news-item h3 { font-size: 16px; font-weight: 600; margin: 0; transition: .2s; }
.news-item:hover h3 { color: var(--accent); }

/* ---------- Page banner ---------- */
.banner { position: relative; height: 300px; overflow: hidden; }
@media (min-width: 1024px) { .banner { height: 400px; } }
.banner .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.banner .overlay { position: absolute; inset: 0; background: rgba(0, 44, 95, .6); }
.banner h1 { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; font-weight: 700; margin: 0; }
@media (min-width: 1024px) { .banner h1 { font-size: 38px; } }

/* ---------- Content list / detail ---------- */
.grid-list { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .grid-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-list { grid-template-columns: repeat(3, 1fr); } }
.crumb { font-size: 14px; color: var(--text-gray); margin-bottom: 24px; }
.crumb a:hover { color: var(--accent); }
.article-body { font-size: 16px; line-height: 1.9; color: #2b3038; }
.article-body p { margin: 0 0 1em; }
.article-body :is(h2, h3) { margin: 1.5em 0 .6em; }
.article-body img { border-radius: 8px; margin: 1em 0; }
.article-body a { color: var(--accent); text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-info .ci { padding: 16px 0; border-bottom: 1px solid #eee; }
.contact-info .ci strong { display: block; font-size: 13px; color: var(--text-gray); margin-bottom: 4px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form .frow { display: flex; gap: 14px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border-gray); border-radius: 6px; font: inherit; font-size: 15px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--primary); color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
/* 窄屏（<768px）隐藏页脚导航列，仅保留品牌与联系方式 */
@media (max-width: 767px) { .foot-nav-col { display: none; } }
.footer .brand-cn { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.footer .brand-en { font-size: 12px; color: rgba(255, 255, 255, .6); }
.footer h4 { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 12px 0; }
.footer a, .footer li, .footer p { color: rgba(255, 255, 255, .7); font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .ci { display: flex; gap: 9px; align-items: flex-start; }
.footer .ci svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; opacity: .7; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; padding: 16px 0; }
.footer-bottom p { font-size: 12px; color: rgba(255, 255, 255, .4); margin: 0; }

/* ---------- Flash + reveal + misc ---------- */
.flash { margin: 18px 0; padding: 12px 16px; border-radius: 8px; font-size: 14.5px; }
.flash-success { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.flash-error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a { padding: 8px 14px; border: 1px solid var(--border-gray); border-radius: 6px; font-size: 14px; color: var(--text-gray); }
.pager a.active, .pager a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* 语言下拉 */
.nav-lang { position: relative; }
.nav-lang-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.nav-lang-btn .caret-sm { width: 11px; height: 11px; opacity: .85; }
.nav-lang-menu { position: absolute; right: 0; top: 150%; background: #fff; border: 1px solid var(--border-gray); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); min-width: 120px; padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; }
.nav-lang.open .nav-lang-menu { opacity: 1; visibility: visible; transform: none; }
.nav-lang-menu a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px; color: #222; }
.nav-lang-menu a:hover { background: var(--light-blue); }
.nav-lang-menu a.active { color: var(--accent); font-weight: 600; }

/* 关于页：标语徽章 / 三列 / 时间线 / 证书 */
.badge { display: inline-block; background: var(--accent); color: #fff; font-size: 13px; padding: 6px 16px; border-radius: 4px; margin-bottom: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: rgba(29, 79, 156, .3); }
.tl-item { position: relative; margin-bottom: 24px; }
.tl-dot { position: absolute; left: -25px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.tl-card { background: #fff; border-radius: 8px; padding: 18px 22px; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.tl-tag { color: var(--accent); font-weight: 700; font-size: 16px; }
.tl-card p { margin: 4px 0 0; color: rgba(0, 0, 0, .8); }
.cert { text-align: center; }
.cert-img { background: var(--light-blue); border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.cert-img img { width: 100%; height: 300px; object-fit: contain; }
.cert p { font-size: 14px; margin: 0; }
.cert-img img.lightbox-trigger { cursor: zoom-in; }

/* 企业资质：资质对勾标签 */
.qual-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.qual-tag { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border-gray); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: rgba(0, 0, 0, .8); }
.qual-tag svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* 二维码（联系页 + 页脚） */
.ci-qr { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.ci-qr-item { text-align: center; }
.ci-qr-item img { width: 120px; height: 120px; border: 1px solid var(--border-gray); border-radius: 8px; padding: 6px; background: #fff; display: block; }
.ci-qr-item span { display: block; font-size: 13px; color: var(--text-gray); margin-top: 8px; }
.foot-qr { display: flex; gap: 16px; margin-top: 18px; }
.foot-qr-item { text-align: center; }
.foot-qr-item img { width: 84px; height: 84px; border-radius: 6px; background: #fff; padding: 4px; display: block; }
.foot-qr-item span { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 6px; }

/* 关于页·组织架构（SVG 树） */
.section.org-section { padding-bottom: 40px; }
.org-wrap { overflow-x: auto; margin-top: 48px; -webkit-overflow-scrolling: touch; }
.org-svg { display: block; margin: 0 auto; width: 100%; min-width: 720px; max-width: 1080px; height: auto; }

/* 海外公司：公司卡片 */
.ov-card { display: block; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); transition: transform .3s, box-shadow .3s; }
.ov-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0, 44, 95, .12); }
.ov-card-img { height: 220px; overflow: hidden; background: var(--light-blue); }
.ov-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ov-card:hover .ov-card-img img { transform: scale(1.04); }
.ov-card-body { padding: 22px 24px; }
.ov-card-body h3 { font-size: 19px; font-weight: 700; color: var(--primary); margin: 0 0 8px; }
.ov-card-more { font-size: 14px; color: var(--accent); font-weight: 500; }
/* 公司页：图文左右结构（竖图完整显示，不裁切） */
.company-intro { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .company-intro { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; } }
.ci-photo img { width: 100%; height: auto; border-radius: 12px; display: block; }
@media (min-width: 1024px) { .ci-photo { position: sticky; top: 90px; } }
.ci-text { max-width: 860px; }

/* ---------- 移动端 Hero / 头部优化 ---------- */
@media (max-width: 640px) {
  /* 头部：隐藏英文小字、品牌不换行、语言只留图标，避免拥挤换行 */
  .brand-tt .en { display: none; }
  .brand-tt .cn { font-size: 16px; letter-spacing: 0; white-space: nowrap; }
  .brand { gap: 8px; }
  .brand .logo-w, .brand .logo-b, .brand .logo-img { height: 32px; }
  .nav-right { gap: 10px; }
  .nav-lang-btn span { display: none; }
  /* Hero：缩小字号 + 收紧字距，确保不溢出右边 */
  .hero-inner { padding-left: 18px; padding-right: 18px; }
  .hero-logo { height: 48px; margin-bottom: 16px; }
  .hero-eyebrow { letter-spacing: 2px; font-size: 10px; }
  .hero-title { font-size: 19px; letter-spacing: .5px; margin-bottom: 18px; line-height: 1.4; }
  .hero-lines p { font-size: 12.5px; letter-spacing: .5px; }
}

/* 锚点跳转：留出固定导航高度，避免分区标题被遮 */
section[id] { scroll-margin-top: 88px; }

/* 产品 Tab */
.tab-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.tab-btn { padding: 10px 22px; border: 1px solid var(--border-gray); background: #fff; border-radius: 6px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: .2s; }
.tab-btn:hover { border-color: var(--accent); }
.tab-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* 海外公司：子公司图文档案 */
.ov-sub { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .ov-sub { grid-template-columns: 1fr 1fr; gap: 56px; } .ov-sub.rev .ov-sub-img { order: 2; } }
.ov-sub-img { overflow: hidden; border-radius: 8px; }
.ov-sub-img img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform .5s; }
@media (min-width: 1024px) { .ov-sub-img img { height: 400px; } }
.ov-sub-img:hover img { transform: scale(1.02); }
.ov-flag { font-size: 1.4em; vertical-align: -2px; }
.ov-fields { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.ov-field dt { font-weight: 600; color: #000; font-size: 14px; margin-bottom: 2px; }
.ov-field dd { margin: 0; color: var(--text-gray); font-size: 15px; line-height: 1.8; }

/* 海外服务优势四宫格 */
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.ov-adv { background: #fff; border: 1px solid var(--border-gray); border-radius: 8px; padding: 28px 24px; height: 100%; transition: transform .3s, box-shadow .3s; }
.ov-adv:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 44, 95, .1); }
.ov-adv-ic { width: 48px; height: 48px; border-radius: 50%; background: rgba(29, 79, 156, .1); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ov-adv-ic svg { width: 24px; height: 24px; color: var(--accent); }
.ov-adv h3 { font-size: 17px; font-weight: 600; color: #000; margin: 0 0 10px; }
.ov-adv p { font-size: 14px; color: var(--text-gray); line-height: 1.7; margin: 0; }

/* 关于页·公司全景大图 */
.about-pano { margin-top: 36px; border-radius: 8px; overflow: hidden; }
.about-pano img { width: 100%; height: 300px; object-fit: cover; display: block; }
@media (min-width: 1024px) { .about-pano img { height: 450px; } }

/* 列表卡片增强：新闻阅读更多、案例地点 */
.read-more { display: inline-block; margin-top: 12px; color: var(--accent); font-size: 14px; font-weight: 500; }
.news-card:hover h3 { color: var(--accent); }
.card .body p.loc { font-size: 13px; color: var(--accent); margin: 0 0 6px; }

/* 联系页：图标信息行 + 在线留言表单 + 线上平台 */
.contact-info .ci-list { margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.ci-row { display: flex; align-items: flex-start; gap: 16px; }
.ci-ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: rgba(29, 79, 156, .1); display: flex; align-items: center; justify-content: center; }
.ci-ic svg { width: 20px; height: 20px; color: var(--accent); }
.ci-row strong { display: block; font-size: 15px; color: #000; margin-bottom: 3px; font-weight: 600; }
.ci-row span:not(.ci-ic) { font-size: 14px; color: var(--text-gray); }
.ci-online { margin-top: 36px; }
.ci-online p { font-weight: 600; color: #000; margin: 0 0 12px; }
.ci-online a { display: inline-block; padding: 9px 16px; border: 1px solid var(--border-gray); border-radius: 6px; font-size: 14px; color: var(--text-gray); transition: .2s; }
.ci-online a:hover { border-color: var(--accent); color: var(--accent); }
.contact-form-wrap { background: var(--light-blue); border-radius: 8px; padding: 32px; }
.cf-title { font-size: 20px; font-weight: 700; margin: 0 0 24px; }
.contact-form label { display: block; }
.contact-form label > span { display: block; font-size: 14px; font-weight: 500; color: #000; margin-bottom: 8px; }
.contact-form label > span em { color: #d93636; font-style: normal; }
.contact-form input, .contact-form textarea { background: #fff; }

/* 导航搜索图标 + 搜索页 */
.nav-search-ico { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; transition: background .2s; }
.nav-search-ico:hover { background: rgba(255, 255, 255, .12); }
.nav.scrolled .nav-search-ico { color: var(--primary); }
.nav.scrolled .nav-search-ico:hover { background: rgba(0, 44, 95, .08); }
.search-box { display: flex; gap: 10px; max-width: 640px; }
.search-box input { flex: 1; min-width: 0; padding: 13px 18px; border: 1px solid var(--border-gray); border-radius: 8px; font: inherit; font-size: 15px; }
.search-box input:focus { outline: none; border-color: var(--accent); }
.search-box button { flex: 0 0 auto; padding: 0 28px; background: var(--accent); color: #fff; border: 0; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s; }
.search-box button:hover { background: var(--primary); }

/* FAQ 常见问题手风琴 */
.faq { max-width: 820px; }
.faq-item { border: 1px solid var(--border-gray); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: #fff; border: 0; font: inherit; font-size: 16px; font-weight: 600; color: #000; text-align: left; cursor: pointer; }
.faq-q:hover { color: var(--accent); }
.faq-ic { flex: 0 0 auto; transition: transform .3s; color: var(--text-gray); }
.faq-item.open .faq-ic { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 800px; }
.faq-a p { padding: 0 20px 18px; margin: 0; color: var(--text-gray); line-height: 1.85; }

/* 相册画廊 */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- 导航：实底态（内页无深色横幅：详情/搜索/404） ---------- */
.nav.solid { background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.nav.solid .nav-links a { color: #222; }
.nav.solid .nav-links a:hover, .nav.solid .nav-links a.active { color: var(--accent); }
.nav.solid .nav-right { color: #222; }
.nav.solid .nav-search-ico { color: var(--primary); }
.nav.solid .nav-search-ico:hover { background: rgba(0, 44, 95, .08); }

/* ---------- 顶部下拉子菜单 ---------- */
.nav-links .caret { display: inline-flex; align-items: center; width: 11px; height: 11px; margin-left: 5px; opacity: .85; transition: transform .2s; }
.nav-links .caret svg { width: 100%; height: 100%; }
.nav-item.has-sub:hover .caret { transform: rotate(180deg); }
.nav-item.has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.subnav { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px); min-width: 184px; background: #fff; border-radius: 10px; box-shadow: 0 12px 34px rgba(0, 0, 0, .14); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; z-index: 60; }
.nav-item.has-sub:hover .subnav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.subnav a { display: block; padding: 9px 16px; border-radius: 6px; font-size: 14px; white-space: nowrap; color: #222 !important; transition: background .18s, color .18s; }
.subnav a:hover { background: var(--light-blue); color: var(--accent) !important; }
@media (max-width: 1023px) { .subnav { display: none; } }

/* ---------- 详情页：主内容 + 侧栏 ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px; } }
.detail-main .article-body { max-width: 860px; }
.detail-title { font-size: 26px; font-weight: 700; margin: 0 0 12px; line-height: 1.4; color: #000; }
@media (min-width: 1024px) { .detail-title { font-size: 34px; } }
.detail-meta { font-size: 13px; color: var(--text-gray); margin-bottom: 24px; }
.detail-cover { width: 100%; border-radius: 8px; margin-bottom: 28px; }
.aside-card { background: #fff; border: 1px solid #ededed; border-radius: 12px; padding: 22px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.aside-back { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; padding: 12px 16px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 500; transition: background .25s ease; margin-bottom: 24px; }
.aside-back:hover { background: var(--accent); }
.aside-title { font-size: 16px; font-weight: 700; color: var(--primary); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; }
.aside-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.aside-item:last-child { border-bottom: 0; padding-bottom: 0; }
.aside-item:first-of-type { padding-top: 0; }
.aside-item img { width: 76px; height: 58px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.aside-item .ai-date { font-size: 11px; color: #9a9a9a; margin-bottom: 3px; }
.aside-item .ai-title { font-size: 13px; line-height: 1.5; color: #222; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.aside-item:hover .ai-title { color: var(--accent); }

/* 上一篇 / 下一篇 */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid #ededed; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }
.post-nav .pn { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid #ededed; border-radius: 12px; background: #fff; transition: all .3s ease; min-width: 0; }
.post-nav .pn:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.post-nav .pn-next { flex-direction: row-reverse; text-align: right; }
.post-nav .pn-thumb { width: 84px; height: 62px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.post-nav .pn-meta { min-width: 0; display: block; }
.post-nav .pn-label { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 4px; display: block; }
.post-nav .pn-title { font-size: 14px; font-weight: 600; color: #111; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-nav .pn:hover .pn-title { color: var(--accent); }

/* ---------- 图片 Lightbox ---------- */
.lightbox-trigger { cursor: zoom-in; }
button.gallery-item { border: 0; padding: 0; background: none; font: inherit; display: block; width: 100%; }
#lightbox { position: fixed; inset: 0; z-index: 5000; display: none; align-items: center; justify-content: center; background: rgba(0, 20, 46, .88); padding: 24px; cursor: zoom-out; }
#lightbox.open { display: flex; }
#lightbox img { max-width: min(1100px, 92vw); max-height: 88vh; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 80px rgba(0, 0, 0, .5); background: #fff; }
#lightbox .lb-close { position: absolute; top: 20px; right: 28px; color: #fff; line-height: 0; cursor: pointer; opacity: .8; }
#lightbox .lb-close svg { width: 30px; height: 30px; display: block; }
#lightbox .lb-close:hover { opacity: 1; }

/* ---------- 页脚品牌区（4 栏） ---------- */
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-logo { height: 46px; width: auto; }
.footer .foot-brand .brand-cn, .footer .foot-brand .brand-en { display: block; }
.foot-beian { display: inline-block; margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, .45) !important; }
.foot-beian:hover { color: rgba(255, 255, 255, .8) !important; }

/* ---------- 首页 Hero 入场动画 + 下滑指示 ---------- */
@keyframes sws-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sws-slide-l { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: none; } }
@keyframes sws-slide-r { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } }
@keyframes sws-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.anim-hero-left { animation: sws-slide-l .8s cubic-bezier(.65, 0, .35, 1) .3s both; }
.anim-hero-right { animation: sws-slide-r .8s cubic-bezier(.65, 0, .35, 1) .7s both; }
.anim-hero-center { animation: sws-fade-in .8s ease .5s both; }
.anim-hero-line-1 { animation: sws-fade-in .6s ease .7s both; }
.anim-hero-line-2 { animation: sws-fade-in .6s ease .9s both; }
.anim-hero-line-3 { animation: sws-fade-in .6s ease 1.1s both; }
.anim-hero-scroll { animation: sws-fade-in .6s ease 1.3s both; }
.hero-logo { display: block; height: 64px; width: auto; margin: 0 auto 24px; }
@media (min-width: 1024px) { .hero-logo { height: 84px; } }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 3; }
.hero-scroll-ring { width: 40px; height: 40px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .75); animation: sws-float 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .anim-hero-left, .anim-hero-right, .anim-hero-center, .anim-hero-line-1, .anim-hero-line-2, .anim-hero-line-3, .anim-hero-scroll, .hero-scroll-ring { animation: none; opacity: 1; }
}

/* ---------- 首页·全球工程网络（世界地图） ---------- */
.wmap { position: relative; background: var(--primary); overflow: hidden; }
.wmap-grid-bg { position: absolute; inset: 0; opacity: .04; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px); background-size: 60px 60px; }
.wmap .section { position: relative; z-index: 1; }
.wmap-head { text-align: center; margin-bottom: 40px; }
.wmap-head h2 { font-size: 28px; font-weight: 700; color: #fff; margin: 0; }
@media (min-width: 1024px) { .wmap-head h2 { font-size: 36px; } }
.wmap-head h2 .ac { color: var(--accent); margin-left: 8px; }
.wmap-head h2 .lt { color: rgba(255, 255, 255, .5); margin-left: 8px; font-weight: 300; font-size: .8em; }
.wmap-rule { width: 50px; height: 3px; background: var(--accent); margin: 16px auto 18px; }
.wmap-head p { color: rgba(255, 255, 255, .6); font-size: 14px; max-width: 640px; margin: 0 auto; line-height: 1.8; }
.wmap-body { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
@media (min-width: 1024px) { .wmap-body { grid-template-columns: 1fr 3fr; gap: 32px; } }
.wmap-stats { display: flex; flex-direction: column; gap: 16px; order: 2; }
@media (min-width: 1024px) { .wmap-stats { order: 1; } }
.wmap-stat { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 20px; transition: background .25s; }
.wmap-stat:hover { background: rgba(255, 255, 255, .09); }
.wmap-stat .n { font-size: 28px; font-weight: 700; color: #fff; line-height: 1; }
@media (min-width: 1024px) { .wmap-stat .n { font-size: 32px; } }
.wmap-stat .n .ac { color: var(--accent); }
.wmap-stat .t { font-size: 14px; color: rgba(255, 255, 255, .7); margin-top: 8px; }
.wmap-stat .s { font-size: 11px; color: rgba(255, 255, 255, .35); margin-top: 4px; }
.wmap-canvas { order: 1; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 40px rgba(0, 0, 0, .3); }
@media (min-width: 1024px) { .wmap-canvas { order: 2; } }
.wmap-canvas svg { width: 100%; height: 100%; display: block; }
.wmap-foot { color: rgba(255, 255, 255, .45); font-size: 14px; text-align: center; margin: 40px auto 0; max-width: 760px; line-height: 1.8; }
.wm-marker .wm-tip { opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.wm-marker:hover .wm-tip { opacity: 1; }
