/* ============================================================
   苏州飞腾电器 — 全新官网样式
   品牌色取自 LOGO：电蓝 + 琥珀黄，工业深蓝底
   ============================================================ */

:root {
  --navy: #0b1f33;
  --navy-2: #102a44;
  --blue: #1e9fe8;
  --blue-d: #0f7ec4;
  --amber: #f7a600;
  --ink: #1c2b3a;
  --gray: #5d6b7a;
  --line: #e3e9ef;
  --bg: #f4f7fa;
  --white: #fff;
  --shadow: 0 10px 30px rgba(11, 31, 51, .10);
  --radius: 14px;
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--navy); color: #bcd2e2; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar span { margin-right: 18px; }
.topbar .hl { color: var(--amber); font-weight: 600; }

/* ---------- 导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(11, 31, 51, .10); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 46px; width: auto; }
.logo .logo-txt b { display: block; white-space: nowrap; font-size: 19px; color: var(--navy); letter-spacing: 1px; }
.logo .logo-txt i { font-style: normal; white-space: nowrap; font-size: 10px; color: #90a1b1; letter-spacing: 1.5px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 15px; border-radius: 8px; font-size: 15.5px; color: var(--ink);
  transition: all .2s; position: relative; white-space: nowrap;
}
.nav a:hover { color: var(--blue); background: rgba(30, 159, 232, .08); }
.nav a.active { color: var(--blue); font-weight: 600; }
.nav a.active::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 3px;
  border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--amber));
}
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-d)) !important;
  color: #fff !important; padding: 9px 20px !important; border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(30, 159, 232, .35); margin-left: 8px;
}
.nav-cta:hover { transform: translateY(-1px); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 560px; color: #fff; overflow: hidden;
  background: var(--navy);
}
.hero .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease; transform: scale(1.02);
  animation: kenburns 9s ease-in-out infinite alternate;
}
.hero .slide.on { opacity: 1; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 22, 38, .94) 30%, rgba(8, 22, 38, .70) 52%, rgba(8, 22, 38, .28));
}
.hero .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  background: rgba(247, 166, 0, .16); border: 1px solid rgba(247, 166, 0, .5);
  color: var(--amber); font-size: 13.5px; letter-spacing: 2px;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: 46px; line-height: 1.25; letter-spacing: 1px; max-width: 620px; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.sub { margin-top: 16px; font-size: 16.5px; color: #d4e1ec; max-width: 470px; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hero .btns { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero .dots i { width: 30px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s; }
.hero .dots i.on { background: var(--amber); }

/* 子页头 */
.pagehead {
  position: relative; padding: 96px 0 72px; color: #fff;
  background:
    linear-gradient(115deg, rgba(11, 31, 51, .92) 30%, rgba(15, 126, 196, .68)),
    url('../assets/banner-1.jpg') center/cover;
}
.pagehead h1 { font-size: 36px; letter-spacing: 2px; }
.pagehead .crumb { margin-top: 10px; color: #b8cbdb; font-size: 14px; }
.pagehead .crumb a:hover { color: var(--amber); }
.pagehead p.lead { margin-top: 14px; max-width: 720px; color: #d9e5ef; font-size: 15.5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-size: 15.5px; font-weight: 600;
  transition: .25s; cursor: pointer; border: 0;
}
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; box-shadow: 0 6px 20px rgba(30,159,232,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(30,159,232,.5); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.65); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-amber { background: var(--amber); color: #3c2a00; box-shadow: 0 6px 20px rgba(247,166,0,.4); }
.btn-amber:hover { transform: translateY(-2px); }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 64px 0; }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.sec-head .tag {
  display: inline-block; color: var(--blue); font-weight: 700; letter-spacing: 3px;
  font-size: 13.5px; text-transform: uppercase; margin-bottom: 10px;
}
.sec-head h2 { font-size: 32px; color: var(--navy); letter-spacing: 1px; }
.sec-head h2 b { color: var(--blue); }
.sec-head p { margin-top: 12px; color: var(--gray); font-size: 15.5px; }
.sec-head::after {
  content: ''; display: block; width: 56px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--amber)); margin: 18px auto 0;
}

/* ---------- 数字条 ---------- */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 200px at 15% 120%, rgba(30,159,232,.28), transparent),
    radial-gradient(500px 220px at 85% -20%, rgba(247,166,0,.18), transparent);
}
.stats .container { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 46px; padding-bottom: 42px; }
.stat { text-align: center; }
.stat b { font-size: 44px; font-weight: 800; color: var(--amber); line-height: 1.1; }
.stat b small { font-size: 20px; margin-left: 2px; }
.stat span { display: block; margin-top: 6px; color: #b9cad9; font-size: 14.5px; letter-spacing: 1px; }

/* ---------- 关于摘要 ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-grid .pic { position: relative; }
.about-grid .pic img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-grid .pic::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 3px solid rgba(30, 159, 232, .35); border-radius: var(--radius); z-index: -1;
}
.about-grid h3 { font-size: 27px; color: var(--navy); margin-bottom: 16px; }
.about-grid p { color: var(--gray); font-size: 15.5px; margin-bottom: 12px; text-align: justify; }
.about-grid .more { margin-top: 10px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badges li {
  background: #eaf5fd; color: var(--blue-d); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; border: 1px solid #cfe8f8;
}

/* ---------- 产品分类卡 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 18px rgba(11,31,51,.07); transition: .3s; display: flex; flex-direction: column;
  border: 1px solid var(--line);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe8f8; }
.cat-card .thumb { height: 210px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.cat-card:hover .thumb img { transform: scale(1.06); }
.cat-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.cat-card h3::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 9px; vertical-align: 3px; }
.cat-card p { color: var(--gray); font-size: 14px; flex: 1; }
.cat-card .link { margin-top: 14px; color: var(--blue); font-weight: 600; font-size: 14.5px; }

/* ---------- 产品卡 ---------- */
.pro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pro-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: .3s; display: flex; flex-direction: column;
}
.pro-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pro-card .thumb { height: 185px; display: flex; align-items: center; justify-content: center; background: #fff; padding: 14px; }
.pro-card .thumb img { max-height: 100%; object-fit: contain; transition: .4s; }
.pro-card:hover .thumb img { transform: scale(1.07); }
.pro-card .body { padding: 16px 18px 20px; border-top: 1px solid var(--line); }
.pro-card .cat { font-size: 12px; color: var(--blue-d); background: #eaf5fd; display: inline-block; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.pro-card h3 { font-size: 15.5px; color: var(--navy); line-height: 1.45; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter button {
  border: 1px solid var(--line); background: var(--white); color: var(--gray);
  padding: 8px 20px; border-radius: 999px; font-size: 14.5px; cursor: pointer; transition: .2s;
}
.filter button:hover { color: var(--blue); border-color: var(--blue); }
.filter button.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(30,159,232,.35); }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); transition: .3s; position: relative; overflow: hidden;
}
.adv::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--amber)); transform: scaleX(0);
  transform-origin: left; transition: .35s;
}
.adv:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.adv:hover::after { transform: scaleX(1); }
.adv .ico {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8f5fe, #d7edfb); color: var(--blue-d); font-size: 26px; margin-bottom: 16px;
}
.adv h3 { font-size: 17.5px; color: var(--navy); margin-bottom: 8px; }
.adv p { font-size: 14px; color: var(--gray); }

/* ---------- 案例 / 业绩 ---------- */
.case-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.case-wrap img { border-radius: var(--radius); box-shadow: var(--shadow); }
.case-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.case-tags li {
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
  font-size: 13.5px; padding: 7px 15px; border-radius: 999px;
}
.perf-region h3 { font-size: 22px; color: var(--navy); margin: 34px 0 6px; display: flex; align-items: center; gap: 10px; }
.perf-region h3 .n { color: var(--blue); font-size: 14px; font-weight: 600; background: #eaf5fd; padding: 2px 12px; border-radius: 999px; }
.perf-list { columns: 3; column-gap: 34px; margin-top: 14px; }
.perf-list li {
  font-size: 14.5px; color: var(--gray); padding: 7px 0 7px 18px; position: relative;
  break-inside: avoid; border-bottom: 1px dashed var(--line);
}
.perf-list li::before { content: ''; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); opacity: .55; }
.partner-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); border-radius: var(--radius); color: #fff; padding: 34px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 50px; flex-wrap: wrap; }
.partner-band h3 { font-size: 21px; }
.partner-band .ps { display: flex; gap: 16px; flex-wrap: wrap; }
.partner-band .ps span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 9px 22px; border-radius: 999px; font-size: 15px; }

/* ---------- 证书 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-grid img {
  width: 100%; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  cursor: zoom-in; transition: .3s; aspect-ratio: 1.36; object-fit: cover;
}
.cert-grid img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- 设备 ---------- */
.dev-shot { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 4px 16px rgba(11,31,51,.06); }
.dev-shot img { width: 100%; }
.dev-shot figcaption { text-align: center; color: var(--gray); font-size: 14px; padding-top: 12px; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  padding: 28px 26px; transition: .3s; display: flex; flex-direction: column; cursor: pointer;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe8f8; }
.news-card .date { display: flex; align-items: baseline; gap: 6px; color: var(--blue); font-weight: 700; }
.news-card .date b { font-size: 30px; line-height: 1; }
.news-card .date span { font-size: 13px; color: #93a5b5; font-weight: 500; }
.news-card h3 { font-size: 17px; color: var(--navy); margin: 14px 0 10px; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--gray); flex: 1; }
.news-card .more { margin-top: 16px; color: var(--blue); font-size: 14px; font-weight: 600; }
.news-full { display: none; }
.news-card.open .news-full { display: block; }
.news-card.open { grid-column: 1 / -1; }
.news-card.open p.excerpt { display: none; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 56px; }
.c-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: .3s; }
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.c-card .ico { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; font-size: 25px; display: flex; align-items: center; justify-content: center; }
.c-card h3 { font-size: 15.5px; color: #93a5b5; font-weight: 500; margin-bottom: 6px; }
.c-card b { font-size: 17.5px; color: var(--navy); word-break: break-all; }
.c-card p { font-size: 14.5px; color: var(--gray); }
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-wrap .info h3 { font-size: 24px; color: var(--navy); margin-bottom: 14px; }
.form-wrap .info p { color: var(--gray); font-size: 15px; margin-bottom: 10px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card label { display: block; font-size: 13.5px; color: var(--gray); margin: 14px 0 6px; }
.form-card input, .form-card textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px;
  font-size: 15px; font-family: inherit; outline: none; transition: .2s; background: #fbfdfe;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,159,232,.15); }
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card button { margin-top: 20px; width: 100%; justify-content: center; }
.form-note { font-size: 12.5px; color: #93a5b5; margin-top: 12px; text-align: center; }

/* ---------- 产品详情 ---------- */
.pd { display: grid; grid-template-columns: 520px 1fr; gap: 52px; align-items: start; }
.pd .main-img { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 22px; box-shadow: var(--shadow); }
.pd .main-img img { width: 100%; object-fit: contain; max-height: 420px; }
.pd .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.pd .thumbs img { border: 2px solid var(--line); border-radius: 8px; padding: 6px; background: #fff; cursor: pointer; transition: .2s; max-height: 84px; object-fit: contain; width: 100%; }
.pd .thumbs img.on, .pd .thumbs img:hover { border-color: var(--blue); }
.pd h1 { font-size: 28px; color: var(--navy); line-height: 1.35; }
.pd .meta { margin: 10px 0 18px; }
.pd .meta span { display: inline-block; background: #eaf5fd; color: var(--blue-d); font-size: 13px; padding: 3px 12px; border-radius: 999px; margin-right: 8px; }
.pd .intro { color: var(--gray); font-size: 15.5px; text-align: justify; }
.pd .feat { margin: 20px 0; }
.pd .feat li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.pd .feat li b { color: var(--blue-d); white-space: nowrap; }
.pd .feat li b::before { content: '► '; color: var(--amber); }
.pd .feat li span { color: var(--gray); }
.pd .note { background: #fff8e9; border: 1px solid #f5ddb0; border-radius: 10px; padding: 12px 16px; font-size: 14px; color: #8a6116; margin-top: 14px; }
.pd .cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.pd-sec { margin-top: 64px; }
.pd-sec h2 { font-size: 21px; color: var(--navy); margin-bottom: 8px; padding-left: 14px; border-left: 4px solid var(--blue); }
.pd-sec p.hint { color: #93a5b5; font-size: 13.5px; margin-bottom: 18px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: zoom-in; transition: .25s; }
.gallery figure:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gallery img { width: 100%; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- 页尾 CTA ---------- */
.cta-band { background: linear-gradient(115deg, var(--blue-d), var(--navy)); color: #fff; padding: 58px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 27px; }
.cta-band p { color: #c9d9e6; margin-top: 6px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: #a9bccb; padding: 64px 0 0; font-size: 14.5px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 16.5px; margin-bottom: 18px; letter-spacing: 1px; }
.footer .brand img { height: 44px; background: #fff; border-radius: 8px; padding: 6px; margin-bottom: 14px; }
.footer .brand p { line-height: 1.8; }
.footer ul li { margin-bottom: 9px; }
.footer ul a:hover { color: var(--amber); }
.footer .f-contact li { display: flex; gap: 9px; line-height: 1.7; }
.footer .f-contact .em { color: var(--amber); }
.footer .bar { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer .bar a:hover { color: var(--amber); }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(5, 14, 24, .92);
  display: none; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out;
}
.lightbox.on { display: flex; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 88vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .x { position: absolute; top: 22px; right: 30px; color: #fff; font-size: 34px; line-height: 1; opacity: .8; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .pro-grid, .adv-grid, .cert-grid, .rel-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: 1fr; gap: 30px; }
  .perf-list { columns: 2; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 860px) {
  .topbar .container { justify-content: center; }
  .topbar .container span:nth-child(n+2) { display: none; }
  .logo .logo-txt { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; top: 0; right: -280px; width: 260px; height: 100vh; z-index: 200;
    background: var(--navy); flex-direction: column; align-items: flex-start;
    padding: 90px 26px 30px; gap: 4px; transition: right .3s;
  }
  .nav.open { right: 0; box-shadow: -10px 0 40px rgba(0,0,0,.35); }
  .nav a { color: #dce8f2 !important; width: 100%; padding: 12px 14px; font-size: 16px; }
  .nav-cta { margin-left: 0; margin-top: 10px; text-align: center; justify-content: center; }
  .about-grid, .case-wrap, .form-wrap { grid-template-columns: 1fr; gap: 34px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
  .hero { height: 480px; }
  .section { padding: 60px 0; }
  .pagehead { padding: 70px 0 54px; }
}
@media (max-width: 560px) {
  .pro-grid, .adv-grid, .cert-grid, .rel-grid, .cat-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .perf-list { columns: 1; }
  .hero h1 { font-size: 30px; }
  .hero p.sub { font-size: 15px; }
  .sec-head h2 { font-size: 25px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-card .row { grid-template-columns: 1fr; }
  .pd .thumbs { grid-template-columns: repeat(4, 1fr); }
  .footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .footer .bar { justify-content: center; text-align: center; }
}

/* ---- 矢量图标（替代 emoji） ---- */
[data-icon] { display: inline-flex; align-items: center; justify-content: center; vertical-align: -0.14em; line-height: 1; flex: none; }
[data-icon] svg { width: 1em; height: 1em; display: block; }

/* ---- 动效增强层 ---- */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--blue), var(--amber)); border-radius: 0 3px 3px 0; transition: width .1s linear; pointer-events: none; }
#back-top { position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; z-index: 200; background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(11,31,51,.32); opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s; display: flex; align-items: center; justify-content: center; }
#back-top.show { opacity: 1; visibility: visible; transform: none; }
#back-top:hover { background: var(--blue-d); transform: translateY(-3px); }

@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero .kicker, .hero h1, .hero p.sub, .hero .btns { animation: heroUp .85s cubic-bezier(.2,.7,.3,1) both; }
.hero .kicker { animation-delay: .1s; }
.hero h1 { animation-delay: .22s; }
.hero p.sub { animation-delay: .38s; }
.hero .btns { animation-delay: .52s; }
.pagehead .crumb, .pagehead h1, .pagehead p.lead { animation: heroUp .7s cubic-bezier(.2,.7,.3,1) both; }
.pagehead .crumb { animation-delay: .05s; }
.pagehead h1 { animation-delay: .15s; }
.pagehead p.lead { animation-delay: .28s; }

.sec-head::after { transform: scaleX(0); transform-origin: left; transition: transform .8s .25s cubic-bezier(.2,.7,.3,1); }
.sec-head.in::after { transform: scaleX(1); }

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; top: -10%; bottom: -10%; left: -80%; width: 46%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-22deg); transition: left .55s ease; }
.btn-primary:hover::after { left: 135%; }

.lightbox img { transform: scale(.95); opacity: 0; transition: .28s ease; }
.lightbox.on img { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  #scroll-progress { display: none; }
}

/* ---- 优势卡：事实数字锚点 ---- */
.adv .adv-no { font-size: 46px; font-weight: 900; color: var(--blue-d); letter-spacing: -1px; line-height: 1.05; margin-bottom: 16px; transition: color .25s; }
.adv .adv-no i { font-style: normal; font-size: 14px; font-weight: 600; color: var(--gray); letter-spacing: 0; margin-left: 6px; }
.adv:hover .adv-no { color: var(--amber); }

/* ---- 语言切换 ---- */
.lang-switch { margin-left: 18px; }
.lang-switch a { display: inline-flex; align-items: center; padding: 3px 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #dce8f2; font-size: 12px; letter-spacing: 1px; transition: .2s; }
.lang-switch a:hover { border-color: var(--amber); color: var(--amber); }
@media (max-width: 860px) {
  .topbar .lang-switch { display: inline-flex; margin-left: 14px; }
  .topbar .container { justify-content: space-between; }
}

/* 页脚联系方式：标签不换行 */
.footer .f-contact li { align-items: flex-start; }
.footer .f-contact .em { flex: none; white-space: nowrap; }

/* 案例区：按钮与上方标签留出间距 */
.case-wrap .more { margin-top: 26px; }

/* 手机菜单：按钮置顶于抽屉，开启态变关闭按钮 */
.burger { position: relative; z-index: 210; }
.burger .ico-return { display: none; width: 22px; height: 22px; color: #fff; }
.burger.open span { display: none; }
.burger.open .ico-return { display: block; }
.burger.open { background: rgba(0,0,0,.28); border-radius: 8px; }

/* 新闻文章正文排版 */
.article-card { padding: 40px 46px; }
.article-body h2 { font-size: 20px; margin: 30px 0 12px; color: var(--navy); letter-spacing: .2px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 14px; color: #47506b; line-height: 2; text-align: justify; font-size: 16px; }
.article-body ul { margin: 0 0 16px; padding: 0; list-style: none; }
.article-body li { position: relative; padding-left: 18px; margin-bottom: 9px; color: #47506b; line-height: 1.9; font-size: 16px; }
.article-body li::before { content: ''; position: absolute; left: 0; top: .74em; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); }
.article-body b { color: var(--navy); }
.article-body p:last-child, .article-body ul:last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .article-card { padding: 26px 20px; }
  .article-body h2 { font-size: 18px; }
}
