/* 峰华云控官网 · 浅色科技风主题 */
:root {
  --bg: #f4f7fb;
  --bg2: #eaf1f8;
  --panel: #ffffff;
  --line: #dce6f2;
  --txt: #17233a;
  --txt2: #5c6e8a;
  --acc: #0891b2;
  --acc-bright: #22d3ee;
  --acc2: #2563eb;
  --grad: linear-gradient(90deg, #06b6d4, #2563eb 60%, #7c3aed);
  --radius: 14px;
  --shadow: 0 6px 24px rgba(23, 42, 76, .08);
  --shadow-hover: 0 14px 34px rgba(23, 42, 76, .14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--txt); font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 头部 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(23, 42, 76, .05); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo span { display: flex; flex-direction: column; line-height: 1.2; }
.logo b { font-size: 19px; letter-spacing: 2px; color: var(--txt); }
.logo i { font-style: normal; font-size: 10px; color: var(--txt2); letter-spacing: 3px; }
.nav { display: flex; gap: 6px; }
.nav-link { padding: 8px 16px; border-radius: 8px; color: var(--txt2); font-size: 15px; transition: .2s; }
.nav-link:hover { color: var(--acc); background: rgba(6, 182, 212, .08); }
.nav-link.active { color: var(--acc); background: rgba(6, 182, 212, .12); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--txt); font-size: 20px; padding: 4px 12px; border-radius: 8px; cursor: pointer; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; padding: 100px 0 66px; background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(37, 99, 235, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .07) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .18), rgba(124, 58, 237, .06) 50%, transparent 68%); top: -200px; right: -140px; pointer-events: none; }
.hero-in { position: relative; }
.hero-kicker { font-family: Consolas, monospace; color: var(--acc); letter-spacing: 4px; font-size: 13px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5.5vw, 58px); line-height: 1.25; font-weight: 700; color: var(--txt); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 22px 0 30px; max-width: 720px; color: var(--txt2); font-size: 17px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 10px; font-size: 15px; cursor: pointer; border: none; transition: .2s; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 22px rgba(37, 99, 235, .3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37, 99, 235, .4); }
.btn-ghost { border: 1px solid #c3d4ea; color: var(--txt); background: #fff; }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); }
.stat b { font-size: 34px; font-family: Consolas, monospace; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.stat span { color: var(--txt2); font-size: 14px; }

/* ---------- 区块 ---------- */
.sec { padding: 72px 0; }
.sec-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-en { font-family: Consolas, monospace; color: var(--acc); letter-spacing: 5px; font-size: 12px; margin-bottom: 8px; }
.sec-head h2, .sec-head h1 { font-size: clamp(26px, 3.4vw, 36px); color: var(--txt); }
.sec-sub { color: var(--txt2); margin-top: 10px; font-size: 15px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.more { text-align: center; margin-top: 36px; }
.empty { color: var(--txt2); padding: 40px; text-align: center; grid-column: 1 / -1; }

/* ---------- 卡片 ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card:hover { transform: translateY(-4px); border-color: rgba(6, 182, 212, .45); box-shadow: var(--shadow-hover); }
.card-img { aspect-ratio: 4 / 3; background: #f8fafd; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-img.tall { aspect-ratio: 3 / 2.2; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.noimg { font-family: Consolas; color: var(--acc); font-size: 28px; opacity: .5; }
.card-bd { padding: 16px 18px 18px; flex: 1; }
.card-bd h3 { font-size: 16px; margin-bottom: 6px; color: var(--txt); }
.card-bd p { color: var(--txt2); font-size: 13px; line-height: 1.6; }
.card-tag { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--acc); border: 1px solid rgba(6, 182, 212, .35); background: rgba(6, 182, 212, .07); padding: 2px 10px; border-radius: 20px; }

/* ---------- 方案卡 ---------- */
.sol-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; overflow: hidden; transition: .25s; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.sol-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); opacity: 0; transition: .25s; }
.sol-card:hover { border-color: rgba(6, 182, 212, .4); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.sol-card:hover::before { opacity: 1; }
.sol-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--txt); }
.sol-card p { color: var(--txt2); font-size: 14px; flex: 1; }
.sol-arrow { color: var(--acc); margin-top: 14px; font-family: Consolas; }
.sol-card.big { padding: 0; }
.sol-img { aspect-ratio: 16 / 9; background: #f8fafd; border-bottom: 1px solid var(--line); }
.sol-img img { width: 100%; height: 100%; object-fit: cover; }
.sol-card.big h3, .sol-card.big p { padding: 0 22px; }
.sol-card.big h3 { margin-top: 20px; }
.sol-card.big p { margin-bottom: 10px; }
.sol-card.big .sol-arrow { display: none; }

/* ---------- 新闻 ---------- */
.news-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin: 0 auto; }
.news-item { display: flex; gap: 18px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; transition: .2s; position: relative; box-shadow: var(--shadow); }
.news-item:hover { border-color: rgba(6, 182, 212, .45); transform: translateX(4px); }
.news-date { text-align: center; min-width: 62px; border-right: 1px solid var(--line); padding-right: 16px; }
.news-date b { font-size: 24px; font-family: Consolas; color: var(--acc); display: block; }
.news-date span { font-size: 12px; color: var(--txt2); }
.news-bd { flex: 1; }
.news-bd h3 { font-size: 16px; color: var(--txt); }
.news-bd p { color: var(--txt2); font-size: 13px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-cat { font-size: 12px; color: var(--txt2); border: 1px solid var(--line); padding: 2px 10px; border-radius: 20px; white-space: nowrap; }

/* ---------- 页头 / 面包屑 ---------- */
.page-head { background: linear-gradient(180deg, rgba(34, 211, 238, .08), transparent), #fff; border-bottom: 1px solid var(--line); padding: 48px 0 28px; margin-bottom: 36px; }
.crumb { color: var(--txt2); font-size: 13px; margin-top: 10px; }
.crumb a:hover { color: var(--acc); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { padding: 7px 18px; border-radius: 20px; border: 1px solid #c3d4ea; color: var(--txt2); font-size: 14px; transition: .2s; background: #fff; }
.chip:hover { color: var(--acc); border-color: var(--acc); }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(37, 99, 235, .25); }

/* ---------- 产品详情 ---------- */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
.pd-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4/3; overflow: hidden; box-shadow: var(--shadow); }
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.pd-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.pd-thumbs img { background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; aspect-ratio: 1; object-fit: contain; padding: 4px; }
.pd-thumbs img:hover { border-color: var(--acc); }
.pd-info h2 { font-size: 26px; margin-bottom: 12px; color: var(--txt); }
.pd-points { margin: 22px 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; box-shadow: var(--shadow); }
.pd-points li { padding: 10px 0 10px 26px; color: var(--txt2); border-bottom: 1px dashed var(--line); position: relative; }
.pd-points li:last-child { border-bottom: none; }
.pd-points li::before { content: "◈"; position: absolute; left: 4px; color: var(--acc); }
.pd-cta { display: flex; gap: 12px; }
.pd-desc, .article-body { max-width: 880px; margin: 44px auto 0; padding-bottom: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow); }
.pd-desc p, .article-body p { margin-bottom: 12px; color: #33415e; }
.en-sub { font-family: Consolas; color: var(--acc); font-size: 13px; letter-spacing: 2px; margin-top: 18px; }
.blk-t { font-size: 20px; margin: 26px 0 14px; padding-left: 12px; border-left: 3px solid var(--acc); color: var(--txt); }

/* ---------- 详情通用 ---------- */
.sd-txt { max-width: 880px; margin: 0 auto 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow); }
.sd-txt p { margin-bottom: 12px; color: #33415e; }
.sd-imgs { max-width: 880px; margin: 26px auto 0; }

/* ---------- 时间线 ---------- */
.timeline { border-left: 2px solid #c3d4ea; margin: 10px 0 10px 8px; padding-left: 24px; }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--acc-bright); box-shadow: 0 0 0 4px rgba(34, 211, 238, .2); }
.tl-time { font-family: Consolas; color: var(--acc); font-size: 14px; }
.tl-bd h4 { margin: 4px 0; font-size: 16px; color: var(--txt); }
.tl-bd p { color: var(--txt2); font-size: 14px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-card.full { grid-column: 1 / -1; }
.contact-card h3 { font-size: 15px; color: var(--txt2); margin-bottom: 10px; }
.contact-big { font-size: 26px; font-family: Consolas; color: var(--acc); }
.motto { margin-top: 14px; color: var(--txt2); font-size: 14px; }
.contact-form-wrap { max-width: 680px; margin-top: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-form input, .contact-form textarea { background: #f8fafd; border: 1px solid var(--line); border-radius: 8px; color: var(--txt); padding: 12px 14px; font-size: 14px; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--acc); background: #fff; }
.contact-form .btn { align-self: flex-start; }
.tip { color: var(--acc); font-size: 13px; }

/* ---------- CTA ---------- */
.cta-band { background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(34, 211, 238, .14), transparent), var(--bg2); }

/* ---------- 品质把控 ---------- */
.qc-band { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.qc-band h3 { font-size: 21px; color: var(--txt); margin: 4px 0 6px; }
.qc-band .qc-band-txt p { color: var(--txt2); font-size: 14px; max-width: 680px; }
.qc-band .btn { white-space: nowrap; }
.qc-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; margin-top: 18px; }
.qc-chip { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; font-size: 13px; color: var(--txt2); text-align: center; transition: .2s; }
.qc-chip:hover { border-color: rgba(6, 182, 212, .4); }
.qc-chip b { color: var(--acc2); font-family: Consolas, monospace; font-size: 15px; margin-right: 6px; }
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 8px; }
.lab-card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; transition: .25s; }
.lab-card:hover { transform: translateY(-3px); border-color: rgba(6, 182, 212, .4); box-shadow: var(--shadow); background: #fff; }
.lab-ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(6, 182, 212, .08); border: 1px solid rgba(6, 182, 212, .25); display: flex; align-items: center; justify-content: center; color: var(--acc); margin-bottom: 10px; }
.lab-ic svg { width: 21px; height: 21px; }
.lab-card h4 { font-size: 15px; color: var(--txt); margin-bottom: 5px; }
.lab-card p { color: var(--txt2); font-size: 13px; line-height: 1.6; margin: 0; }
.qc-flow { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 4px; }
.qc-step { flex: 1 1 140px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 11px; text-align: center; position: relative; }
.qc-step b { display: block; color: var(--txt); font-size: 14px; }
.qc-step span { color: var(--txt2); font-size: 12px; font-family: Consolas, monospace; }
.qc-step::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--acc); font-weight: 700; z-index: 1; }
.qc-step:last-child::after { display: none; }
.qc-note { color: var(--txt2); font-size: 13px; }
@media (max-width: 760px) { .qc-chips { grid-template-columns: repeat(2, 1fr); } .lab-grid { grid-template-columns: 1fr; } .qc-step::after { display: none; } }
/* ---------- 图片缺失占位 ---------- */
.img-ph { width: 100%; height: 100%; min-height: 120px; position: relative; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 32% 22%, rgba(34, 211, 238, .16), transparent 62%), linear-gradient(135deg, #f4f9ff, #e7f0fb); }
.img-ph::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(37, 99, 235, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000, transparent 78%); mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000, transparent 78%); }
.img-ph-icon { position: relative; color: #7aa7d8; opacity: .75; }
.img-ph-icon svg { width: 58px; height: 58px; display: block; }
.pd-main .img-ph { border: 1px solid var(--line); border-radius: var(--radius); min-height: 0; background: #fff; }
@media (max-width: 560px) { .img-ph-icon svg { width: 46px; height: 46px; } }

.cta-in { text-align: center; padding: 20px 0; }
.cta-in h2 { font-size: 28px; margin-bottom: 10px; color: var(--txt); }
.cta-in p { color: var(--txt2); margin-bottom: 22px; font-family: Consolas; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding: 44px 24px 24px; }
.site-footer h4 { font-size: 15px; margin-bottom: 12px; color: var(--txt); }
.site-footer p { color: var(--txt2); font-size: 13px; }
.site-footer a:hover { color: var(--acc); }
.copyright { padding: 16px 24px 28px; color: #8a99b3; font-size: 12px; border-top: 1px solid var(--line); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; align-items: flex-start; }
  /* 手机端间距与字号优化 */
  .wrap { padding: 0 18px; }
  .header-in { height: 60px; }
  .logo b { font-size: 17px; letter-spacing: 1px; }
  .logo i { font-size: 9px; letter-spacing: 2px; }
  .nav { top: 60px; }
  .hero { padding: 58px 0 42px; }
  .hero-kicker { font-size: 11px; letter-spacing: 2px; margin-bottom: 12px; }
  .hero h1 { font-size: 29px; line-height: 1.3; }
  .hero-sub { font-size: 15px; margin: 14px 0 24px; }
  .hero-cta .btn { flex: 1 1 100%; text-align: center; }
  .stats { gap: 10px; margin-top: 34px; }
  .stat { padding: 16px 8px; }
  .stat b { font-size: 26px; }
  .stat span { font-size: 13px; }
  .sec { padding: 50px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-sub { font-size: 14px; }
  .page-head { padding: 38px 0 24px; margin-bottom: 28px; }
  .pd { gap: 26px; }
  .sol-card { padding: 20px 18px; }
  .sol-card.big h3, .sol-card.big p { padding: 0 18px; }
  .cta-in h2 { font-size: 22px; }
  .footer-grid { padding: 32px 18px 18px; gap: 22px; }
  .qc-band { padding: 24px 20px; }
  .article-body { font-size: 15px; }
}
