/* ==========================================================================
   万通电气官网 · 全站样式（栏目结构版）
   主色 #184a8f，容器 1200px；内页为「左菜单 + 右内容」结构
   内容数据来自 assets/js/site-data.js（由 admin.html 内容后台维护）
   ========================================================================== */

/* ---------- 变量 ---------- */
:root {
  --blue-900: #0e3163;
  --blue-800: #123a72;
  --blue-700: #184a8f;
  --blue-600: #004389;
  --blue-500: #0065b1;
  --blue-100: #e6eef9;
  --blue-050: #f2f7fd;

  --ink-900: #333333;
  --ink-800: #313131;
  --ink-700: #484848;
  --ink-600: #555555;
  --ink-500: #666666;
  --ink-400: #999999;

  --line: #dddddd;
  --line-soft: #e5e5e5;
  --bg-soft: #f5f5f5;
  --bg-side: #f0f0f1;
  --foot-bg: #1b1b1b;

  --shadow: 0 10px 30px rgba(16, 42, 78, .10);
  --shadow-sm: 0 4px 14px rgba(16, 42, 78, .08);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: bold; color: var(--ink-900); line-height: 1.35; }
p { margin: 0; }
button { font: inherit; }
input, textarea, select { font: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.hidden { display: none !important; }

.section { padding: 62px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 40px 0 62px; }

/* 滚动进场 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* 通用按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 26px; border: 1px solid transparent;
  font-size: 15.5px; cursor: pointer; transition: all .22s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--blue-700); color: #fff; }
.btn--primary:hover { background: var(--blue-600); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--blue-700); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   页头
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 100px; background: rgba(0, 0, 0, .45);
  transition: background .25s ease, height .25s ease;
}
.site-header.is-scrolled { background: rgba(15, 40, 78, .96); height: 82px; }
.site-header__inner { display: flex; align-items: center; height: 100%; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__mark--img { width: auto; max-width: 210px; height: 46px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; color: #fff; }
.brand__cn { font-size: 20px; font-weight: bold; letter-spacing: .5px; }
.brand__en { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

.nav { margin-left: auto; display: flex; align-items: stretch; height: 100%; }
.nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.nav__item > a {
  display: flex; align-items: center; height: 100%; padding: 0 22px;
  color: #fff; font-size: 16.5px; white-space: nowrap;
}
.nav__item > a::after {
  content: ""; position: absolute; left: 50%; bottom: 22px; height: 2px; width: 0;
  background: #fff; transform: translateX(-50%); transition: width .25s ease;
}
.nav__item.is-active > a::after, .nav__item:hover > a::after { width: 26px; }
.nav__sub {
  position: absolute; top: 100px; left: 50%; transform: translateX(-50%);
  min-width: 158px; background: #fff; box-shadow: var(--shadow);
  padding: 6px 0; opacity: 0; visibility: hidden; transition: all .22s ease;
}
.site-header.is-scrolled .nav__sub { top: 82px; }
.nav__item:hover .nav__sub { opacity: 1; visibility: visible; }
.nav__sub a {
  display: block; padding: 0 18px; height: 42px; line-height: 42px;
  font-size: 14.5px; color: var(--ink-600); white-space: nowrap; text-align: center;
}
.nav__sub a:hover { background: var(--blue-050); color: var(--blue-700); }

.header-tel { display: inline-flex; align-items: center; gap: 8px; margin-left: 26px; color: #fff; font-size: 15.5px; white-space: nowrap; }
.header-tel svg { width: 17px; height: 17px; }
.header-tel:hover { color: #cfe0f7; }

.nav-toggle {
  display: none; width: 42px; height: 42px; margin-left: 14px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .5); background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  width: 20px; height: 2px; background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}
/* 横线用 flex 居中，不依赖按钮内容区尺寸，兼容各家手机浏览器对 button 的默认样式差异 */
.nav-toggle span { position: relative; display: block; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   首页首屏
   ========================================================================== */
.hero {
  position: relative; min-height: 620px; padding: 150px 0 64px;
  background-color: var(--blue-800);
  background-image: linear-gradient(115deg, #0d2f5e 0%, #184a8f 58%, #0a2c56 100%);
  background-size: cover; background-position: center;
  display: flex; align-items: center; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 26, 51, .90) 0%, rgba(12, 34, 66, .74) 52%, rgba(12, 34, 66, .35) 100%);
}
.hero__inner { position: relative; display: flex; align-items: center; gap: 50px; }
.hero__copy { flex: 1 1 54%; min-width: 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .38); color: #dbe8fa; font-size: 14px; margin-bottom: 22px;
}
.hero__badge i { width: 7px; height: 7px; border-radius: 50%; background: #6fb0ff; display: block; }
.hero h1 { color: #fff; font-size: 46px; line-height: 1.32; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: #7cc0ff; display: inline-block; white-space: nowrap; }
.hero__lead { margin-top: 22px; color: rgba(255, 255, 255, .82); font-size: 16.5px; line-height: 1.95; max-width: 620px; }
.hero .btn-row { margin-top: 32px; }
.hero__metrics { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 46px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .2); }
.hero__metric strong { display: block; color: #fff; font-size: 34px; line-height: 1.2; }
.hero__metric em { font-style: normal; color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.hero__art { flex: 1 1 46%; max-width: 560px; }
.hero__art svg, .hero__art img { width: 100%; height: auto; }

/* ==========================================================================
   区块标题
   ========================================================================== */
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__kicker {
  display: inline-block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; letter-spacing: .5px; }
.section-head h2::after { content: ""; display: block; width: 46px; height: 3px; background: var(--blue-700); margin-top: 16px; }
.section-head--center h2::after { margin-left: auto; margin-right: auto; }
.section-head p { margin-top: 18px; color: var(--ink-500); font-size: 16px; line-height: 1.9; }

/* ==========================================================================
   卡片 / 网格
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); padding: 32px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #cddcef; }
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { color: var(--ink-500); font-size: 15.2px; line-height: 1.85; }
.card__num { display: block; font-size: 26px; font-weight: bold; color: var(--blue-100); letter-spacing: .06em; margin-bottom: 10px; }
.card__icon { width: 52px; height: 52px; margin-bottom: 20px; color: var(--blue-700); }
.card__icon svg { width: 100%; height: 100%; }
.card__list { margin-top: 16px; display: grid; gap: 9px; }
.card__list li { position: relative; padding-left: 16px; font-size: 14.6px; color: var(--ink-500); line-height: 1.7; }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--blue-500);
}
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--photo .card__media { margin: 0; }
.card--photo .card__media img { width: 100%; height: 250px; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.card--photo .card__body { padding: 26px 28px 30px; }

/* 优势 / 图文分栏 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__copy h2 { font-size: 30px; }
.split__copy h2::after { content: ""; display: block; width: 46px; height: 3px; background: var(--blue-700); margin-top: 16px; }
.split__copy > p { margin-top: 18px; color: var(--ink-500); line-height: 1.95; }
.split__media img, .split__media svg { width: 100%; height: auto; }
.check-list { margin-top: 26px; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 12px; font-size: 15.4px; color: var(--ink-500); line-height: 1.8; }
.check-list svg { width: 21px; height: 21px; flex: none; color: var(--blue-700); margin-top: 3px; }
.check-list strong { color: var(--ink-900); }

/* 五步流程 */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process__item { position: relative; background: #fff; border: 1px solid var(--line); padding: 26px 22px; }
.process__item::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--blue-700);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.process__item:hover::before { transform: scaleX(1); }
.process__item h4 { font-size: 17.5px; margin-bottom: 10px; color: var(--blue-700); }
.process__item p { font-size: 14.6px; color: var(--ink-500); line-height: 1.8; }

/* 数字条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 30px; background: #fff; border: 1px solid var(--line); }
.stats__item { text-align: center; border-right: 1px solid var(--line-soft); }
.stats__item:last-child { border-right: 0; }
.stats__item strong { display: block; font-size: 34px; color: var(--blue-700); line-height: 1.2; }
.stats__item em { font-style: normal; color: var(--ink-500); font-size: 14.5px; }

/* CTA 横条 */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 38px 44px; color: #fff;
  background: linear-gradient(120deg, #123a72, #184a8f 60%, #0f5ea8);
}
.cta-band h2 { color: #fff; font-size: 26px; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .8); font-size: 15.5px; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .55); }

/* ==========================================================================
   内页：页头横幅
   ========================================================================== */
.page-banner {
  position: relative; padding: 152px 0 46px; color: #fff; overflow: hidden;
  background-color: var(--blue-800);
  background-image: linear-gradient(115deg, #0d2f5e, #184a8f 60%, #0e4f92);
  background-size: cover; background-position: center;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 26, 51, .80), rgba(12, 34, 66, .45));
}
.page-banner .container { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.page-banner__title { font-size: 32px; color: #fff; letter-spacing: 1px; }
.page-banner__desc { margin-top: 12px; color: rgba(255, 255, 255, .82); font-size: 15.5px; max-width: 720px; line-height: 1.85; }
.page-crumb { font-size: 14px; color: rgba(255, 255, 255, .82); white-space: nowrap; padding-bottom: 6px; }
.page-crumb a { color: rgba(255, 255, 255, .82); }
.page-crumb a:hover, .page-crumb span { color: #fff; }

/* ==========================================================================
   内页：左菜单 + 右内容
   ========================================================================== */
.col-wrap { display: flex; align-items: flex-start; gap: 3.5%; padding-top: 40px; padding-bottom: 70px; }
.side { width: 21.5%; flex: none; }
.side__title {
  height: 90px; line-height: 90px; text-align: center; background: var(--blue-700);
  color: #fff; font-size: 26px; font-weight: bold; letter-spacing: 1px;
}
.side__nav { background: var(--bg-side); padding: 14px 0 30px; }
.side__nav a {
  display: block; position: relative; margin: 0 0 1px 10px; padding: 0 16px 0 22px;
  height: 50px; line-height: 50px; font-size: 16px; color: var(--ink-900); transition: all .2s ease;
}
.side__nav a::before {
  content: ""; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 50%; background: var(--blue-700); opacity: 0; transition: opacity .2s ease;
}
.side__nav a:hover { background: #fff; color: var(--blue-700); }
.side__nav a.is-active { background: #fff; color: var(--blue-700); font-weight: bold; }
.side__nav a.is-active::before, .side__nav a:hover::before { opacity: 1; }

.side__contact { margin-top: 26px; border: 1px solid var(--line); }
.side__contact h4 { background: var(--blue-700); color: #fff; font-size: 20px; text-align: center; height: 60px; line-height: 60px; }
.side__contact ul { padding: 16px 16px 22px; }
.side__contact li {
  font-size: 14.5px; color: var(--ink-600); line-height: 1.8;
  padding: 8px 0; border-bottom: 1px dashed var(--line-soft); word-break: break-all;
}
.side__contact li:last-child { border-bottom: 0; }
.side__contact strong { color: var(--blue-700); font-size: 17px; display: block; }
.side__contact strong a { color: inherit; text-decoration: none; }
.side__contact strong a:hover { text-decoration: underline; }
.side__contact a:hover { color: var(--blue-700); }

.main { width: 75%; flex: 1 1 auto; min-width: 0; }
.main__title { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 26px; }
.main__title h3 { font-size: 24px; color: var(--ink-700); }
.main__intro { margin: 0 0 26px; padding: 14px 18px; background: var(--bg-soft); color: var(--ink-500); font-size: 15px; line-height: 1.85; }

/* ---------- 文章：列表 ---------- */
.art-list { border-top: 1px solid var(--line-soft); }
.art-list li { border-bottom: 1px solid var(--line-soft); padding: 24px 0; transition: border-color .2s ease; }
.art-list li:hover { border-bottom-color: var(--blue-700); }
.art-list__inner { display: flex; align-items: center; gap: 22px; cursor: pointer; }
.art-list__thumb { width: 200px; flex: none; overflow: hidden; border: 1px solid var(--line); }
.art-list__thumb img { width: 100%; height: 128px; object-fit: cover; transition: transform .5s ease; }
.art-list li:hover .art-list__thumb img { transform: scale(1.05); }
.art-list__info { flex: 1 1 auto; min-width: 0; }
.art-list__info h4 { font-size: 18px; color: var(--ink-600); transition: color .2s ease; }
.art-list li:hover .art-list__info h4 { color: var(--blue-700); }
.art-list__info p {
  margin-top: 10px; font-size: 15px; color: var(--ink-500); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-list__meta { margin-top: 12px; font-size: 13.5px; color: var(--ink-400); }
.art-list__btn {
  flex: none; width: 104px; height: 34px; line-height: 32px; text-align: center;
  border: 1px solid #cccccc; color: var(--ink-500); font-size: 14px; transition: all .2s ease;
}
.art-list li:hover .art-list__btn { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

/* ---------- 文章：详情 ---------- */
.article__back { margin-bottom: 20px; }
.article__back button {
  border: 1px solid var(--line); background: #fff; color: var(--ink-500);
  height: 34px; padding: 0 16px; font-size: 14px; cursor: pointer; transition: all .2s ease;
}
.article__back button:hover { border-color: var(--blue-700); color: var(--blue-700); }
.article__head { border-bottom: 1px solid var(--line-soft); padding-bottom: 16px; margin-bottom: 26px; }
.article__head h1 { font-size: 25px; line-height: 1.5; }
.article__meta { margin-top: 12px; font-size: 13.5px; color: var(--ink-400); }
.article__body { font-size: 16px; line-height: 2; color: var(--ink-900); }
.article__body p { margin: 0 0 16px; }
.article__body h4 { font-size: 18px; margin: 22px 0 12px; }
.article__figure { margin: 22px 0; }
.article__figure img { width: 100%; height: auto; cursor: zoom-in; }
.article__figure figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--ink-400); }
.article__foot { margin-top: 40px; border-top: 1px solid var(--line-soft); padding-top: 20px; }
.article__foot button {
  border: 1px solid var(--line); background: #fff; color: var(--ink-500);
  height: 38px; padding: 0 20px; font-size: 14.5px; cursor: pointer;
}
.article__foot button:hover { border-color: var(--blue-700); color: var(--blue-700); }

/* ---------- 图片列表 ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gal-card {
  border: 1px solid var(--line); background: #fff; overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.gal-card:hover { border-color: var(--blue-700); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.gal-card__img { position: relative; overflow: hidden; background: var(--bg-soft); }
.gal-card__img img { width: 100%; height: 230px; object-fit: cover; cursor: zoom-in; transition: transform .5s ease; }
.gal-card:hover .gal-card__img img { transform: scale(1.05); }
.gal-card__img img.is-placeholder { object-fit: contain; padding: 34px; cursor: default; }
.gal-card__zoom {
  position: absolute; right: 12px; bottom: 12px; padding: 5px 11px; font-size: 12px;
  color: #fff; background: rgba(10, 22, 40, .62); opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.gal-card:hover .gal-card__zoom { opacity: 1; }
.gal-card__body { padding: 18px 20px 22px; text-align: center; }
.gal-card__body h4 { font-size: 17.5px; color: var(--blue-700); }
.gal-card__body p {
  margin-top: 10px; font-size: 14.6px; color: var(--ink-500); line-height: 1.8; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.gal-empty { padding: 60px 0; text-align: center; color: var(--ink-400); font-size: 15px; border: 1px dashed var(--line); }

/* ---------- 联系方式块 ---------- */
.contact-box { background: var(--bg-soft); padding: 34px 36px; }
.contact-box__title { font-size: 22px; color: var(--ink-800); margin-bottom: 22px; }
.contact-box__desc { margin-bottom: 22px; color: var(--ink-500); font-size: 15.5px; }
.contact-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; }
.contact-row { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-600); line-height: 1.8; }
.contact-row svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--blue-700); }
.contact-row strong { display: block; color: var(--ink-900); }
.contact-row a:hover { color: var(--blue-700); }
.qr-list { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; }
.qr-list figure { width: 148px; margin: 0; text-align: center; }
.qr-list img { width: 148px; height: 148px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.qr-list figcaption { margin-top: 10px; font-size: 14.5px; color: var(--ink-500); }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: var(--foot-bg); color: rgba(255, 255, 255, .78); }
.foot-top { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.foot-nav { display: flex; flex-wrap: wrap; }
.foot-nav a { position: relative; padding-right: 26px; margin-right: 26px; height: 62px; line-height: 62px; color: #fff; font-size: 15.5px; }
.foot-nav a:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 16px;
  margin-top: -8px; background: rgba(255, 255, 255, .2);
}
.foot-nav a:hover { color: #6fb0ff; }

.foot-main { display: flex; gap: 40px; padding: 46px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.foot-brand { width: 26%; flex: none; }
.foot-brand .brand__cn { color: #fff; font-size: 19px; }
.foot-brand .brand__en { color: rgba(255, 255, 255, .55); }
.foot-words { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.foot-words span {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .1);
  color: #fff; font-size: 15px; display: grid; place-items: center;
}
.foot-contact { flex: 1 1 auto; }
.foot-contact h4, .foot-qr h4 { color: #fff; font-size: 19px; margin-bottom: 16px; }
.foot-contact li { font-size: 15px; line-height: 1.9; color: rgba(255, 255, 255, .78); margin-bottom: 8px; }
.foot-contact a:hover { color: #6fb0ff; }
.foot-qr { width: 25%; flex: none; }
.foot-qr .qr-list { margin-top: 0; gap: 18px; }
.foot-qr .qr-list figure { width: 110px; }
.foot-qr .qr-list img { width: 110px; height: 110px; border-color: rgba(255, 255, 255, .2); }
.foot-qr .qr-list figcaption { color: rgba(255, 255, 255, .7); font-size: 13.5px; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 20px 0; font-size: 14px; color: rgba(255, 255, 255, .68); }
.foot-bottom a { color: rgba(255, 255, 255, .68); }
.foot-bottom a:hover { color: #fff; }

/* 回到顶部 */
.to-top {
  position: fixed; right: 26px; bottom: 34px; z-index: 150; width: 46px; height: 46px;
  border: 0; background: var(--blue-700); color: #fff; cursor: pointer;
  opacity: 0; visibility: hidden; transition: all .25s ease; display: grid; place-items: center;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--blue-600); }

/* ==========================================================================
   图片灯箱
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 1200; display: none; }
.lightbox.is-open { display: block; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8, 15, 26, .9); cursor: zoom-out; }
.lightbox__figure {
  position: absolute; inset: 0; margin: 0; padding: 54px 84px; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.lightbox__img {
  max-width: min(88vw, 900px); max-height: 76vh; width: auto; height: auto;
  background: #fff; box-shadow: 0 24px 80px rgba(0, 0, 0, .5); pointer-events: auto;
}
.lightbox__caption { margin-top: 14px; color: rgba(255, 255, 255, .86); font-size: 15px; text-align: center; }
.lightbox__btn {
  position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .2s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1240px) {
  .nav__item > a { padding: 0 16px; font-size: 15.5px; }
  .hero h1 { font-size: 40px; }
}

@media (max-width: 1080px) {
  .header-tel { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 84vw; height: 100%;
    background: #123a72; flex-direction: column; align-items: stretch; margin-left: 0;
    padding: 78px 0 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav.is-open { transform: none; }
  .nav__item { height: auto; display: block; }
  .nav__item > a { height: 52px; line-height: 52px; padding: 0 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav__item > a::after { display: none; }
  .nav__sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; background: rgba(0, 0, 0, .22); padding: 4px 0;
  }
  .nav__sub a { color: rgba(255, 255, 255, .82); text-align: left; }
  .nav__sub a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .site-header, .site-header.is-scrolled { height: 74px; background: rgba(15, 40, 78, .95); }
  .brand__mark, .brand__mark--img { height: 40px; }
  .brand__cn { font-size: 18px; }

  .hero { min-height: 0; padding: 120px 0 56px; }
  .hero__inner { flex-direction: column; align-items: flex-start; }
  .hero__art { max-width: 460px; width: 100%; }
  .hero h1 { font-size: 34px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }

  .col-wrap { flex-direction: column; align-items: stretch; gap: 26px; padding-top: 26px; padding-bottom: 50px; }
  .side, .main { width: 100%; }
  /* 手机上把左栏拆开排序：栏目名 → 栏目菜单 → 正文内容 → 联系我们（沉底，不挡内容） */
  @supports (display: contents) {
    .side { display: contents; }
    .side__title { order: 1; }
    .side__nav { order: 2; }
    .main { order: 3; }
    .side__contact { order: 4; margin-top: 0; }
  }
  .side__title { height: 66px; line-height: 66px; font-size: 22px; }
  .side__nav { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px; }
  .side__nav a { margin-left: 0; padding: 0 14px; height: 46px; line-height: 46px; font-size: 15px; }
  .side__nav a::before { display: none; }
  .side__contact ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .contact-rows { grid-template-columns: 1fr; }
  .foot-main { flex-wrap: wrap; }
  .foot-brand, .foot-qr { width: 100%; }
}

@media (max-width: 720px) {
  .section { padding: 44px 0; }
  .section-head h2, .split__copy h2 { font-size: 25px; }
  .section-head h2::after, .split__copy h2::after { margin-top: 12px; }
  .hero { padding: 108px 0 44px; }
  .hero h1 { font-size: 27px; }
  .hero__lead { font-size: 15.5px; }
  .hero__metrics { gap: 26px; }
  .hero__metric strong { font-size: 26px; }
  .grid--2, .grid--3, .grid--4, .gal-grid, .process { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px 0; padding: 26px 16px; }
  .stats__item:nth-child(2n) { border-right: 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .page-banner { padding: 120px 0 32px; }
  .page-banner .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-banner__title { font-size: 25px; }
  .side__nav { grid-template-columns: repeat(2, 1fr); }
  .side__contact ul { grid-template-columns: 1fr; }
  .main__title h3 { font-size: 20px; }
  .art-list__inner { flex-wrap: wrap; gap: 14px; }
  .art-list__thumb { width: 100%; }
  .art-list__thumb img { height: 180px; }
  .art-list__btn { align-self: flex-start; }
  .gal-card__img img { height: 200px; }
  .lightbox__figure { padding: 48px 12px; }
  .lightbox__img { max-height: 68vh; }
  .foot-nav a { height: 48px; line-height: 48px; padding-right: 16px; margin-right: 16px; font-size: 14.5px; }
  .contact-box { padding: 24px 20px; }
}
