/* ================= 新容科技官网 - 全局样式 ================= */
:root {
  --primary: #0b4da2;
  --primary-dark: #083a7d;
  --accent: #1e7bff;
  --accent-light: #e8f1ff;
  --text: #1a2537;
  --text-2: #5a6a80;
  --line: #e6ebf2;
  --bg: #f6f8fb;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(11, 77, 162, .08);
  --shadow-lg: 0 16px 48px rgba(11, 77, 162, .14);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部工具条 ---------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar a:hover { color: #fff; }

/* ---------- 导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(11, 77, 162, .1); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 20px;
  letter-spacing: -1px;
}
img.logo-mark {
  width: auto; height: 46px;
  background: none; border-radius: 0;
  display: block; flex: 0 0 auto;
  object-fit: contain;
}
.footer .fbrand img.logo-mark {
  height: 40px;
  background: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}
.logo-text { display: block; }
.logo-text .cn { font-size: 19px; font-weight: 700; letter-spacing: 1px; text-align: justify; text-align-last: justify; }
.logo-text .en { font-size: 11px; color: var(--text-2); letter-spacing: .4px; text-transform: uppercase; }

.menu { display: flex; gap: 6px; }
.menu a {
  padding: 10px 18px;
  font-size: 15.5px;
  border-radius: 8px;
  color: var(--text);
  transition: all .25s;
}
.menu a:hover { color: var(--accent); background: var(--accent-light); }
.menu a.active { color: var(--white); background: var(--primary); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all .25s;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--accent-light); }
.btn-ghost { background: var(--bg); color: var(--text); }
.btn-ghost:hover { background: var(--line); }
.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

.user-chip {
  display: none;
  align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--primary);
  font-size: 14px;
}
.user-chip .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.user-chip:hover { background: #d6e6ff; }
body.logged-in .user-chip { display: inline-flex; }
body.logged-in .login-btn-inline { display: none; }

.burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.burger span { width: 24px; height: 2.5px; background: var(--primary); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--primary-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.hero-bg.active { opacity: 1; }
.hero-bg1 { background: linear-gradient(rgba(6, 26, 56, .5), rgba(6, 26, 56, .68)), url("../images/hero-bg1.jpg") center / cover no-repeat; }
.hero-bg2 { background: linear-gradient(rgba(6, 26, 56, .5), rgba(6, 26, 56, .68)), url("../images/hero-bg2.jpg") center / cover no-repeat; }
.hero-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 2;
}
.hdot {
  width: 34px; height: 4px; border-radius: 2px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer; transition: background .3s;
}
.hdot.active, .hdot:hover { background: #fff; }
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 720px; padding: 90px 0; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: 2px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, .08);
}
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.35;
  margin-bottom: 18px;
}
.hero p.sub {
  font-size: 17px;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 36px;
  max-width: 600px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-light { background: #fff; color: var(--primary); }
.hero .btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.hero .btn-line { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); }
.hero .btn-line:hover { background: rgba(255, 255, 255, .16); }

/* ---------- 数据条 ---------- */
.stats-band { background: var(--primary); color: #fff; }
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 34px; padding-bottom: 34px;
  text-align: center;
}
.stat .num { font-size: 34px; font-weight: 800; letter-spacing: 1px; }
.stat .num small { font-size: 18px; font-weight: 600; }
.stat .label { font-size: 13.5px; color: rgba(255, 255, 255, .78); margin-top: 4px; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section.bg { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head .kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 15.5px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
/* 首页应用领域：9 项按 3 列排布，避免末行落单 */
.fields-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- 关于区块 ---------- */
.about-img { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-txt h3 { font-size: 26px; font-weight: 800; margin-bottom: 16px; letter-spacing: 1px; }
.about-txt p { color: var(--text-2); margin-bottom: 14px; font-size: 15.5px; }
.about-points { margin: 20px 0 28px; display: grid; gap: 12px; }
.about-points li { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; }
.about-points .tick { color: var(--accent); font-weight: 800; }

/* ---------- 应用领域卡片 ---------- */
.field-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.field-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.field-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.field-card:hover::before { transform: scaleX(1); }
.field-card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 25px;
  margin-bottom: 18px;
}
.field-card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 10px; }
.field-card p { color: var(--text-2); font-size: 14.5px; }

/* ---------- 产品卡片 ---------- */
.prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: #f2f5f9; }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-card:hover .thumb img { transform: scale(1.06); }
.prod-card .tag {
  display: inline-block;
  margin: 16px 16px 0;
  padding: 3px 12px;
  background: var(--accent-light);
  color: var(--primary);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  width: fit-content;
}
.prod-card h3 { font-size: 17.5px; padding: 10px 16px 6px; font-weight: 700; }
.prod-card p { font-size: 14px; color: var(--text-2); padding: 0 16px 18px; flex: 1; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card .cover { aspect-ratio: 16/9; overflow: hidden; }
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .date { color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.news-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.5; }
.news-card p { color: var(--text-2); font-size: 14px; flex: 1; }

.news-list { max-width: 860px; }
.news-item {
  display: flex; gap: 26px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .25s;
  border-radius: 10px;
}
.news-item:hover { background: var(--bg); }
.news-item .d {
  min-width: 86px;
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 22px;
}
.news-item .d .day { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.news-item .d .ym { font-size: 13px; color: var(--text-2); }
.news-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.news-item p { color: var(--text-2); font-size: 14.5px; }

/* ---------- 页面头 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.page-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: 2px; margin-bottom: 10px; }
.page-hero .crumb { font-size: 14px; color: rgba(255, 255, 255, .75); }
.page-hero .crumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(var(--accent), var(--primary));
}
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before {
  content: "";
  position: absolute; left: -38px; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 123, 255, .12);
}
.tl-item .year { font-size: 21px; font-weight: 800; color: var(--primary); }
.tl-item h3 { font-size: 17px; font-weight: 700; margin: 4px 0 6px; }
.tl-item p { color: var(--text-2); font-size: 14.5px; max-width: 700px; }

/* ---------- 荣誉 ---------- */
.honor-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  transition: all .3s;
}
.honor-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.honor-card .ico { font-size: 30px; margin-bottom: 12px; }
.honor-card h3 { font-size: 16.5px; font-weight: 700; }
.honor-card p { font-size: 13px; color: var(--text-2); margin-top: 4px; }

/* ---------- 认证 ---------- */
.cert-band { background: var(--primary-dark); color: #fff; padding: 44px 0; }
.cert-band .container { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; }
.cert-band .c {
  display: flex; align-items: center; gap: 8px;
  font-size: 15.5px; font-weight: 600; color: rgba(255, 255, 255, .9);
}
.cert-band .c::before { content: "✓"; color: #7db4ff; font-weight: 800; }

/* ---------- 合作伙伴 ---------- */
/* 客户 logo 墙 */
.client-group-title { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin: 6px 0 16px; }
.client-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 34px; }
.client-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 92px; display: flex; align-items: center; justify-content: center; padding: 16px 20px; transition: box-shadow .2s, transform .2s; }
.client-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.client-card img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- 表单 ---------- */
.form-wrap { max-width: 560px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 44px; box-shadow: var(--shadow-lg); }
.form-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.form-tabs button {
  flex: 1; padding: 13px; background: none; border: none;
  font-size: 16px; color: var(--text-2); cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
  font-family: inherit; font-weight: 600;
  transition: .25s;
}
.form-tabs button.on { color: var(--primary); border-color: var(--primary); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border .25s, box-shadow .25s;
  background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 123, 255, .1);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--text-2); text-align: center; margin-top: 16px; }
.form-msg { display: none; padding: 11px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 18px; }
.form-msg.ok { display: block; background: #e8f8ee; color: #0d7a3d; }
.form-msg.err { display: block; background: #fdecec; color: #c0392b; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info .ci {
  display: flex; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .ci .ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
}
.contact-info .ci h3 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.contact-info .ci p { color: var(--text-2); font-size: 14.5px; }

/* ---------- 账户中心 ---------- */
.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.account-side {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px; text-align: center;
}
.account-side .avatar-big {
  width: 74px; height: 74px; border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff; font-size: 28px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.account-side h3 { font-size: 18px; font-weight: 700; }
.account-side .uid { font-size: 13px; color: var(--text-2); margin-bottom: 20px; }
.account-side .mode-badge {
  display: inline-block; font-size: 12px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-light); color: var(--primary); margin-bottom: 6px;
}
.account-main { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 34px; }
.account-main h2 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.upload-zone {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 36px;
  text-align: center;
  cursor: pointer;
  transition: .25s;
  background: var(--bg);
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--accent); background: var(--accent-light); }
.upload-zone .ico { font-size: 34px; margin-bottom: 10px; }
.upload-zone p { color: var(--text-2); font-size: 14px; }
.file-list { margin-top: 18px; }
.file-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14.5px;
}
.file-item .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item .meta { color: var(--text-2); font-size: 12.5px; flex: none; }
.file-item a { color: var(--accent); font-size: 13px; flex: none; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--accent) 100%);
  color: #fff;
  padding: 66px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 27px; font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .82); }

/* ---------- 页脚 ---------- */
.footer { background: #0c1c33; color: rgba(255, 255, 255, .82); font-size: 14px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 58px 0 44px;
}
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; }
.footer .fbrand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .fbrand div.logo-mark { width: 38px; height: 38px; font-size: 17px; }

/* ---- 语言切换 ---- */
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; background: var(--white); flex: 0 0 auto;
}
.lang-btn {
  border: 0; background: transparent; cursor: pointer;
  padding: 5px 12px; font-size: 13px; line-height: 1.4;
  color: var(--text-2); font-weight: 600;
  font-family: inherit; transition: .2s;
}
.lang-btn:hover { color: var(--primary); }
.lang-btn.active {
  background: var(--primary); color: #fff;
}
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ---- 荣誉资质证书墙 ---- */
.honor-group { margin-top: 40px; }
.honor-group:first-of-type { margin-top: 0; }
.hg-title {
  font-size: 17px; font-weight: 700; color: var(--primary);
  margin: 0 0 16px; padding-left: 12px;
  border-left: 4px solid var(--accent); line-height: 1.4;
}
.honor-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.honor-photo {
  margin: 0; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; cursor: zoom-in;
  box-shadow: 0 2px 10px rgba(11, 77, 162, .06);
  transition: transform .25s, box-shadow .25s;
}
.honor-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.honor-photo img {
  width: 100%; height: 280px; object-fit: contain;
  display: block; background: var(--bg);
  padding: 10px; box-sizing: border-box;
}
.honor-photo figcaption { padding: 12px 14px 14px; }
.honor-photo h3 { font-size: 14.5px; margin: 0 0 4px; line-height: 1.45; }
.honor-photo p { font-size: 12px; color: var(--text-2); margin: 0; line-height: 1.5; }
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(8, 18, 38, .88);
  display: none; align-items: center; justify-content: center;
  padding: 30px; cursor: zoom-out;
}
.lightbox.show { display: flex; }
.lightbox img {
  max-width: min(880px, 92vw); max-height: 86vh;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  object-fit: contain;
}
.lightbox .cap {
  position: absolute; bottom: 26px; left: 0; right: 0;
  text-align: center; color: #fff; font-size: 15px; font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .6); padding: 0 20px;
}
.footer .fbrand span { font-size: 16.5px; font-weight: 700; color: #fff; }
.footer p { line-height: 1.9; font-size: 13.5px; }
.footer ul li { margin-bottom: 9px; }
.footer ul a:hover { color: #fff; }
.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 22, 44, .55);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-mask.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 16px;
  max-width: 760px; width: 100%;
  max-height: 86vh;
  overflow: auto;
  padding: 38px 40px;
  position: relative;
  animation: pop .3s;
}
@keyframes pop { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .close {
  position: absolute; top: 16px; right: 18px;
  background: var(--bg); border: none;
  width: 34px; height: 34px; border-radius: 50%;
  font-size: 17px; cursor: pointer; color: var(--text-2);
}
.modal .close:hover { background: var(--line); color: var(--text); }
.modal .m-tag { color: var(--accent); font-weight: 700; font-size: 13.5px; letter-spacing: 2px; margin-bottom: 8px; }
.modal h2 { font-size: 25px; font-weight: 800; margin-bottom: 14px; }
.modal img.m-img { border-radius: 12px; margin-bottom: 20px; }
.modal p { color: var(--text-2); font-size: 15px; margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14.5px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.spec-table th { background: var(--bg); width: 180px; font-weight: 700; color: var(--text); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 90px; left: 50%;
  transform: translateX(-50%) translateY(-12px);
  background: rgba(13, 26, 46, .92);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  opacity: 0; pointer-events: none;
  transition: all .35s;
  z-index: 300;
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu {
    position: fixed;
    top: 0; right: -290px;
    width: 280px; height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 90px 24px 30px;
    gap: 4px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .12);
    transition: right .3s;
    z-index: 150;
  }
  .menu.open { right: 0; }
  .menu a { padding: 13px 16px; font-size: 16px; }
  .burger { display: flex; z-index: 160; }
  .burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-right .login-btn-inline { display: none !important; }
  .grid-2, .grid-3, .grid-4, .fields-grid, .news-grid, .contact-grid, .account-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero { min-height: 460px; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .cta-band .container { justify-content: center; text-align: center; }
  .form-wrap { padding: 28px 22px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
}

/* 小屏：顶部工具条可换行，避免与右侧内容挤压 */
@media (max-width: 600px) {
  .topbar .container { height: auto; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; gap: 4px 10px; }
}
