/* ============ 精锐五金官网 - 明亮现代风 ============ */
:root {
  --bg: #f5f7fa;
  --bg-2: #eef2f7;
  --panel: #ffffff;
  --panel-2: #f2f5f9;
  --line: #e3e9f0;
  --line-2: #d3dce6;
  --txt: #1a2733;
  --txt-2: #4a5a6a;
  --txt-3: #7c8a99;
  --acc: #1567d3;
  --acc-2: #3d82e8;
  --acc-dark: #0e4fa8;
  --teal: #0e9488;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(22,40,70,.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航（site.js 注入） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; align-items: center; gap: 36px;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, var(--acc), var(--acc-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px; color: #fff;
  letter-spacing: -1px;
  box-shadow: 0 4px 12px rgba(21,103,211,.28);
}
.logo .name { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.logo .en { font-size: 10px; color: var(--txt-3); letter-spacing: 2.5px; display: block; margin-top: -3px; }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 16px; border-radius: 6px;
  color: var(--txt-2); font-size: 15px; transition: .2s;
}
.nav a:hover { color: var(--txt); background: var(--panel-2); }
.nav a.active { color: var(--acc); font-weight: 600; }
.btn-quote-nav {
  padding: 9px 22px; border-radius: 6px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--acc), var(--acc-dark));
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 1px;
  transition: .2s; box-shadow: 0 4px 14px rgba(21,103,211,.30);
}
.btn-quote-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(21,103,211,.42); }

/* ---------- 页头横幅 ---------- */
.page-banner {
  padding: 88px 0 60px;
  background:
    radial-gradient(ellipse 80% 100% at 70% 0%, rgba(21,103,211,.06), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg));
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--acc), transparent);
}
.page-banner .crumb { color: var(--txt-3); font-size: 13px; letter-spacing: 1px; margin-bottom: 10px; }
.page-banner h1 { font-size: 34px; letter-spacing: 2px; font-weight: 800; }
.page-banner p { color: var(--txt-2); margin-top: 10px; max-width: 640px; }

/* ---------- 通用区块 ---------- */
section { padding: 72px 0; }
.sec-title { text-align: center; margin-bottom: 48px; }
.sec-title .en { color: var(--acc); font-size: 12px; letter-spacing: 4px; font-weight: 700; text-transform: uppercase; }
.sec-title h2 { font-size: 30px; letter-spacing: 2px; margin: 6px 0 10px; font-weight: 800; }
.sec-title p { color: var(--txt-3); font-size: 14px; }
.sec-title .bar {
  width: 44px; height: 3px; margin: 14px auto 0;
  background: linear-gradient(90deg, var(--acc), transparent);
}

/* ---------- 首页 Hero（保留深色压暗，白字可读） ---------- */
.hero {
  position: relative; min-height: 620px;
  display: flex; align-items: center;
  overflow: hidden;
  background: #10161f;
}
.hero .bg {
  position: absolute; inset: 0;
  background: url(../images/hero.jpg) center 35%/cover no-repeat;
}
.hero .mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,20,31,.93) 0%, rgba(13,20,31,.72) 45%, rgba(13,20,31,.28) 100%),
    linear-gradient(0deg, rgba(13,20,31,.55) 0%, transparent 30%);
}
.hero .content { position: relative; padding: 110px 0 130px; }
.hero .tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.10);
  padding: 6px 16px; border-radius: 999px;
  font-size: 13px; color: rgba(255,255,255,.85); letter-spacing: 2px; margin-bottom: 26px;
}
.hero .tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc-2); display: inline-block; }
.hero h1 {
  color: #fff;
  font-size: 56px; font-weight: 900; letter-spacing: 6px; line-height: 1.3;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero h1 .hl { color: #7db4ff; }
.hero .sub {
  margin-top: 18px; color: rgba(255,255,255,.82); font-size: 17px; letter-spacing: 2px;
}
.hero .btns { margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn-main {
  padding: 14px 38px; border-radius: 8px; cursor: pointer; border: none;
  background: linear-gradient(135deg, var(--acc), var(--acc-dark));
  color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 3px;
  box-shadow: 0 8px 26px rgba(21,103,211,.45); transition: .2s;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(21,103,211,.58); }
.btn-ghost {
  padding: 14px 38px; border-radius: 8px; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.4);
  color: #fff; font-size: 16px; letter-spacing: 3px; transition: .2s;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.16); }

/* 数据条 */
.stats-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #ffffff;
}
.stats-band .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
}
.stats-band .cell { background: #ffffff; text-align: center; padding: 34px 10px; }
.stats-band .num { font-size: 40px; font-weight: 900; color: var(--acc); letter-spacing: 1px; font-family: "DIN Alternate", "Bahnschrift", sans-serif; }
.stats-band .num small { font-size: 16px; font-weight: 600; margin-left: 2px; }
.stats-band .lbl { color: var(--txt-2); font-size: 14px; margin-top: 4px; letter-spacing: 2px; }

/* ---------- 产品线卡片 ---------- */
.pl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pl-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s; display: flex; flex-direction: column;
  box-shadow: 0 2px 8px rgba(22,40,70,.05);
}
.pl-card:hover { transform: translateY(-6px); border-color: var(--acc-2); box-shadow: var(--shadow); }
.pl-card .pic { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.pl-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.pl-card:hover .pic img { transform: scale(1.06); }
.pl-card .pic .no {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.92); border: 1px solid var(--line-2);
  color: var(--acc); font-weight: 800; font-size: 12px; letter-spacing: 2px;
  padding: 3px 10px; border-radius: 4px;
}
.pl-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pl-card h3 { font-size: 20px; letter-spacing: 1px; margin-bottom: 6px; }
.pl-card .en-t { color: var(--txt-3); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.pl-card p { color: var(--txt-2); font-size: 14px; flex: 1; }
.pl-card .specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pl-card .specs span {
  font-size: 12px; color: var(--acc);
  background: rgba(21,103,211,.07); border: 1px solid rgba(21,103,211,.22);
  padding: 3px 10px; border-radius: 4px; letter-spacing: 1px;
}
.pl-card .go {
  color: var(--acc); font-size: 14px; font-weight: 600; letter-spacing: 1px;
  display: inline-flex; align-items: center; gap: 6px;
}
.pl-card .go::after { content: '→'; transition: .2s; }
.pl-card .go:hover::after { transform: translateX(4px); }

/* ---------- 优势 / 特性 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: .2s;
  box-shadow: 0 2px 8px rgba(22,40,70,.05);
}
.feat:hover { border-color: var(--acc-2); }
.feat .ico {
  width: 46px; height: 46px; border-radius: 10px; font-size: 22px;
  background: rgba(21,103,211,.08);
  border: 1px solid rgba(21,103,211,.2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feat h4 { font-size: 16px; margin-bottom: 8px; letter-spacing: 1px; }
.feat p { color: var(--txt-3); font-size: 13px; }

/* 双图区 */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.split .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split .imgs img { border-radius: var(--radius); border: 1px solid var(--line); height: 100%; object-fit: cover; }
.split .imgs img:first-child { grid-column: 1 / -1; height: 240px; }
.split h2 { font-size: 28px; letter-spacing: 2px; margin-bottom: 18px; }
.split h2 .hl { color: var(--acc); }
.split .points { list-style: none; margin-top: 20px; }
.split .points li {
  display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line);
  color: var(--txt-2); font-size: 14.5px;
}
.split .points li::before { content: '✓'; color: var(--acc); font-weight: 800; flex-shrink: 0; }
.split .btn-main { margin-top: 28px; }

/* CTA 横带 */
.cta-band {
  background:
    radial-gradient(ellipse 60% 120% at 85% 50%, rgba(21,103,211,.10), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg-2));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center; padding: 64px 24px;
}
.cta-band h2 { font-size: 28px; letter-spacing: 3px; }
.cta-band p { color: var(--txt-2); margin: 12px 0 30px; }

/* ---------- 产品中心 ---------- */
.line-block { margin-bottom: 76px; }
.line-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-bottom: 2px solid var(--line); padding-bottom: 16px; margin-bottom: 30px;
}
.line-head h2 { font-size: 24px; letter-spacing: 2px; }
.line-head h2 .idx { color: var(--acc); font-family: "DIN Alternate", sans-serif; margin-right: 10px; }
.line-head .en-t { color: var(--txt-3); font-size: 12px; letter-spacing: 2px; }
.line-head .btn-mini {
  padding: 8px 20px; border-radius: 6px; cursor: pointer; border: none;
  background: linear-gradient(135deg, var(--acc), var(--acc-dark));
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 1px;
}
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s;
  box-shadow: 0 2px 8px rgba(22,40,70,.05);
}
.prod-card:hover { transform: translateY(-5px); border-color: var(--acc-2); box-shadow: var(--shadow); }
.prod-card .pic { aspect-ratio: 1/1; overflow: hidden; }
.prod-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.prod-card:hover .pic img { transform: scale(1.05); }
.prod-card .body { padding: 20px 22px 22px; }
.prod-card h3 { font-size: 17px; margin-bottom: 12px; }
.spec-row { display: flex; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.spec-row .k { color: var(--txt-3); width: 72px; flex-shrink: 0; }
.spec-row .v { color: var(--txt-2); }
.ind-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ind-tags span {
  font-size: 11.5px; color: var(--teal);
  background: rgba(14,148,136,.08); border: 1px solid rgba(14,148,136,.25);
  padding: 2px 9px; border-radius: 4px;
}

/* ---------- 实力页 ---------- */
.equip-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.equip-table th {
  text-align: left; padding: 14px 16px; background: var(--panel-2);
  color: var(--acc-dark); letter-spacing: 1px; font-weight: 600;
  border-bottom: 2px solid var(--line-2);
}
.equip-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--txt-2); background: #fff; }
.equip-table tr:hover td { background: rgba(21,103,211,.04); color: var(--txt); }
.equip-table .qty { color: var(--acc); font-weight: 800; font-size: 15px; }

.qc-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 10px; }
.qc-step { position: relative; padding: 0 18px; text-align: center; }
.qc-step .n {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  background: #fff; border: 2px solid var(--acc-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: var(--acc);
  font-family: "DIN Alternate", sans-serif; position: relative; z-index: 2;
  box-shadow: 0 4px 12px rgba(21,103,211,.12);
}
.qc-step:not(:last-child)::before {
  content: ''; position: absolute; top: 26px; left: calc(50% + 26px); right: calc(-50% + 26px);
  height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px);
}
.qc-step h4 { font-size: 15px; margin-bottom: 8px; letter-spacing: 1px; }
.qc-step p { font-size: 12.5px; color: var(--txt-3); line-height: 1.6; }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; text-align: center; transition: .2s;
  box-shadow: 0 2px 8px rgba(22,40,70,.05);
}
.cert:hover { border-color: var(--acc-2); }
.cert .badge {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
  border: 2px solid var(--acc); color: var(--acc);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; letter-spacing: 1px;
  background: radial-gradient(circle, rgba(21,103,211,.08), transparent 70%);
}
.cert h4 { font-size: 17px; margin-bottom: 8px; }
.cert p { color: var(--txt-3); font-size: 13px; }

.photo-band { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-band figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.photo-band img { width: 100%; height: 300px; object-fit: cover; transition: .4s; }
.photo-band figure:hover img { transform: scale(1.04); }
.photo-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px;
  background: linear-gradient(0deg, rgba(13,20,31,.85), transparent);
  font-size: 14px; letter-spacing: 1px; color: #fff;
}

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.news-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; cursor: pointer; transition: .2s;
  box-shadow: 0 2px 8px rgba(22,40,70,.05);
}
.news-card:hover { border-color: var(--acc-2); transform: translateY(-3px); }
.news-card .meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-card .cat {
  font-size: 12px; color: var(--acc); letter-spacing: 1px;
  border: 1px solid rgba(21,103,211,.3); background: rgba(21,103,211,.06);
  padding: 2px 10px; border-radius: 4px;
}
.news-card .date { color: var(--txt-3); font-size: 13px; }
.news-card h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.5; }
.news-card:hover h3 { color: var(--acc); }
.news-card p { color: var(--txt-3); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-empty { text-align: center; color: var(--txt-3); padding: 70px 0; }

.news-article { max-width: 820px; margin: 0 auto; }
.news-article .back { color: var(--acc); cursor: pointer; font-size: 14px; margin-bottom: 26px; display: inline-block; }
.news-article .back:hover { color: var(--acc-dark); }
.news-article h1 { font-size: 28px; line-height: 1.5; margin-bottom: 14px; }
.news-article .meta { color: var(--txt-3); font-size: 13.5px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.news-article .content p { color: var(--txt-2); margin-bottom: 18px; font-size: 15.5px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: start; }
.contact-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(22,40,70,.05);
}
.contact-card .row { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.contact-card .row:last-child { border-bottom: none; }
.contact-card .ico { font-size: 20px; width: 30px; text-align: center; flex-shrink: 0; }
.contact-card .k { color: var(--txt-3); font-size: 13px; }
.contact-card .v { font-size: 15px; margin-top: 2px; }
.contact-card .v a { color: var(--acc); }
.map-box {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.map-box iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.15); }
.map-box .bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 10px;
}
.map-box .bar .addr { color: var(--txt-2); font-size: 14px; }
.map-box .bar a {
  color: #fff; font-size: 13px; padding: 7px 16px; border-radius: 6px;
  background: linear-gradient(135deg, var(--acc), var(--acc-dark));
}

/* ---------- 询价表单（弹窗 & 内嵌） ---------- */
.quote-modal {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(16,22,31,.45); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.quote-modal.open { display: flex; }
.quote-modal .box {
  width: 100%; max-width: 520px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 24px 70px rgba(22,40,70,.30); max-height: 92vh; overflow-y: auto;
  animation: pop .25s ease;
}
@keyframes pop { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.quote-modal .head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px 18px; border-bottom: 1px solid var(--line);
}
.quote-modal .head h3 { font-size: 19px; letter-spacing: 1px; }
.quote-modal .head h3 em { color: var(--acc); font-style: normal; }
.quote-modal .close { background: none; border: none; color: var(--txt-3); font-size: 24px; cursor: pointer; line-height: 1; }
.quote-modal .close:hover { color: var(--txt); }
.quote-modal .form { padding: 22px 28px 28px; }
.quote-modal .note { color: var(--txt-3); font-size: 13px; margin-bottom: 18px; }

.quote-form-embed .note { color: var(--txt-3); font-size: 13px; margin-bottom: 18px; }
.quote-form-embed {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px;
  box-shadow: 0 2px 8px rgba(22,40,70,.05);
}
.quote-form-embed h3 { font-size: 19px; margin-bottom: 6px; }
.quote-form-embed .sub { color: var(--txt-3); font-size: 13px; margin-bottom: 16px; }

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13.5px; color: var(--txt-2); margin-bottom: 7px; letter-spacing: 1px; }
.form-row label .req { color: var(--acc); margin-left: 2px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 11px 14px; border-radius: 8px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  color: var(--txt); font-size: 14.5px; font-family: inherit; outline: none; transition: .2s;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(21,103,211,.14); background: #fff; }
.form-row textarea { min-height: 96px; resize: vertical; }
.form-row-half { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; padding: 13px; border-radius: 8px; border: none; cursor: pointer; margin-top: 6px;
  background: linear-gradient(135deg, var(--acc), var(--acc-dark));
  color: #fff; font-size: 15.5px; font-weight: 700; letter-spacing: 3px;
  box-shadow: 0 6px 20px rgba(21,103,211,.30); transition: .2s;
}
.form-submit:hover { transform: translateY(-1px); }
.form-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.form-ok { text-align: center; padding: 30px 10px; }
.form-ok .tick { font-size: 46px; color: var(--acc); }
.form-ok h4 { font-size: 18px; margin: 12px 0 8px; }
.form-ok p { color: var(--txt-3); font-size: 13.5px; }
.form-err { color: #e5484d; font-size: 13px; margin-top: 10px; min-height: 18px; }

/* toast */
.toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-16px);
  background: #fff; border: 1px solid var(--line-2); color: var(--txt);
  padding: 11px 24px; border-radius: 8px; font-size: 14px; z-index: 1001;
  opacity: 0; pointer-events: none; transition: .3s; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { border-color: rgba(21,103,211,.4); color: var(--acc-dark); }
.toast.err { border-color: rgba(229,72,77,.45); color: #e5484d; }

/* ---------- 页脚（site.js 注入） ---------- */
.site-footer { border-top: 1px solid var(--line); background: #ffffff; margin-top: 40px; }
.site-footer .inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 52px 0 40px;
}
.site-footer h4 { font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; color: var(--txt); }
.site-footer p, .site-footer li { color: var(--txt-3); font-size: 13.5px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.site-footer li a:hover { color: var(--acc); }
.site-footer .slogan { color: var(--acc); font-size: 17px; letter-spacing: 3px; font-weight: 700; margin: 10px 0 14px; }
.site-footer .copy {
  border-top: 1px solid var(--line); padding: 20px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  color: var(--txt-3); font-size: 12.5px;
}
.site-footer .copy a { color: var(--txt-3); }
.site-footer .copy a:hover { color: var(--acc); }

/* ---------- 后台 ---------- */
.admin-body { background: var(--bg); min-height: 100vh; }
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 36px 24px 60px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-head h1 { font-size: 24px; letter-spacing: 2px; }
.admin-head h1 i { color: var(--acc); font-style: normal; }
.admin-head .acts { display: flex; gap: 10px; align-items: center; }
.admin-tabs { display: flex; gap: 6px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.admin-tabs button {
  background: none; border: none; color: var(--txt-2); font-size: 15px;
  padding: 11px 22px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.admin-tabs button.active { color: var(--acc); border-bottom-color: var(--acc); font-weight: 600; }
.login-box {
  max-width: 400px; margin: 12vh auto 0; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 44px 40px;
  box-shadow: var(--shadow);
}
.login-box .mark {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 12px;
  background: linear-gradient(135deg, var(--acc), var(--acc-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 24px; color: #fff;
  box-shadow: 0 6px 18px rgba(21,103,211,.28);
}
.login-box h2 { font-size: 20px; letter-spacing: 2px; margin-bottom: 6px; }
.login-box .sub { color: var(--txt-3); font-size: 13px; margin-bottom: 26px; }
.login-box input {
  width: 100%; padding: 12px 14px; border-radius: 8px; margin-bottom: 14px;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--txt); font-size: 15px; outline: none;
}
.login-box input:focus { border-color: var(--acc); }
.inq-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.inq-table th {
  text-align: left; padding: 12px 14px; background: var(--panel-2); color: var(--acc-dark);
  border-bottom: 2px solid var(--line-2); white-space: nowrap; letter-spacing: 1px;
}
.inq-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--txt-2); vertical-align: top; background: #fff; }
.inq-table .name { color: var(--txt); font-weight: 600; }
.inq-table .phone a { color: var(--acc); white-space: nowrap; }
.pill {
  display: inline-block; font-size: 12px; padding: 2px 11px; border-radius: 999px; white-space: nowrap;
}
.pill.new { color: #b44a00; background: #fff3e8; border: 1px solid #ffd9b3; }
.pill.done { color: #0a7a43; background: #e9f8ef; border: 1px solid #bfe8cf; }
.btn-sm {
  padding: 6px 14px; border-radius: 6px; border: none; cursor: pointer; font-size: 12.5px;
  background: var(--panel-2); border: 1px solid var(--line-2); color: var(--txt-2); transition: .2s;
}
.btn-sm:hover { border-color: var(--acc); color: var(--acc); }
.btn-sm.danger:hover { border-color: #e5484d; color: #e5484d; }
.btn-sm.primary { background: linear-gradient(135deg, var(--acc), var(--acc-dark)); border: none; color: #fff; }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 2px 8px rgba(22,40,70,.05); }
.admin-panel + .admin-panel { margin-top: 22px; }
.admin-panel h3 { font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; }
.news-manage-item {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.news-manage-item .t { font-size: 15px; font-weight: 600; }
.news-manage-item .m { color: var(--txt-3); font-size: 12.5px; margin-top: 4px; }
.empty-tip { color: var(--txt-3); text-align: center; padding: 46px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .pl-grid, .prod-grid, .cert-grid, .feat-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .qc-steps { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .qc-step:not(:last-child)::before { display: none; }
  .split, .contact-grid, .photo-band { grid-template-columns: 1fr; }
  .stats-band .grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
  .site-header .inner { flex-wrap: wrap; height: auto; padding: 12px 0; row-gap: 8px; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
}
@media (max-width: 620px) {
  .pl-grid, .prod-grid, .cert-grid, .feat-grid, .news-grid { grid-template-columns: 1fr; }
  .qc-steps { grid-template-columns: 1fr; }
  .form-row-half { grid-template-columns: 1fr; }
  .site-footer .inner { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
