/* ==========================================================
   兴广设备运营中心 官网样式
   主题：工业深炭灰 + 安全橙 + 微信绿
   ========================================================== */
:root {
  --ink: #1c2b3a;          /* 主深色：钢青蓝（页头/页脚/深色区块） */
  --ink-2: #24374a;        /* 深色块次级 */
  --ink-3: #33485e;        /* 深色块边框 */
  --accent: #b08d57;       /* 香槟金铜 */
  --accent-dark: #93744a;
  --accent-soft: #f6f0e6;
  --bg: #ffffff;
  --bg-soft: #f6f4f0;
  --text: #2a3442;
  --muted: #68727f;
  --border: #e8e4dc;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(28, 43, 58, .08);
  --shadow-lg: 0 14px 40px rgba(28, 43, 58, .15);
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #e8ebef; }

/* 区块标题 */
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .kicker {
  display: inline-block; color: var(--accent); font-weight: 700;
  letter-spacing: .35em; text-transform: uppercase; font-size: 13px; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; letter-spacing: .02em; }
.section-head p { color: var(--muted); margin-top: 12px; }
.section--dark .section-head p { color: #a7b0ba; }
.head-line { width: 56px; height: 4px; background: var(--accent); border-radius: 2px; margin: 18px auto 0; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 6px; border: 2px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: .04em; transition: all .25s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(242, 140, 30, .35); }
.btn--ghost { border-color: rgba(255,255,255,.65); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn--outline:hover { background: var(--accent); color: #fff; }

/* ===================== 顶部信息条 ===================== */
.topbar { background: var(--ink); color: #b7c0c9; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; gap: 16px; }
.topbar__group { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item svg { flex: none; }
.topbar .hot { color: var(--accent); font-weight: 700; letter-spacing: .03em; }

/* ===================== 导航 ===================== */
.header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .3s ease; }
.header.is-stuck { box-shadow: 0 4px 18px rgba(16, 24, 40, .1); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo__mark { flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__cn { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: .06em; }
.logo__en { font-size: 10.5px; color: var(--muted); letter-spacing: .18em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; font-size: 15.5px; font-weight: 600; color: #33404e;
  border-radius: 6px; transition: color .2s;
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px;
  border-radius: 2px; background: var(--accent);
}
.header__cta { flex: none; }
.header__cta .btn { padding: 10px 22px; font-size: 14px; }

/* 移动端汉堡 */
.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2.5px; border-radius: 2px;
  background: var(--ink); transition: transform .3s, opacity .3s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -8px; }
.nav-toggle span::after { left: 0; top: 8px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-8px) rotate(-45deg); }

/* ===================== 首页 Hero ===================== */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13, 17, 23, .92) 0%, rgba(13, 17, 23, .78) 42%, rgba(13, 17, 23, .30) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 110px 0; max-width: 660px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .22em;
  color: var(--accent); font-weight: 700; margin-bottom: 20px; text-transform: uppercase;
}
.hero__tag::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.2; letter-spacing: .03em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { margin: 22px 0 34px; font-size: 17px; color: #c8d0d8; max-width: 560px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 数据条 */
.hero-stats {
  position: relative; z-index: 1; width: min(1200px, 92%); margin: -76px auto 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.hero-stats__item { text-align: center; padding: 30px 12px; border-right: 1px solid var(--border); }
.hero-stats__item:last-child { border-right: none; }
.hero-stats__num { font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.hero-stats__num i { font-style: normal; color: var(--accent); font-size: 22px; margin-left: 2px; }
.hero-stats__label { color: var(--muted); font-size: 14px; margin-top: 4px; letter-spacing: .06em; }

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

.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__tag {
  position: absolute; left: 14px; top: 14px; background: rgba(20, 24, 31, .82); color: #fff;
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px; letter-spacing: .08em; backdrop-filter: blur(4px);
}
.product-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 18.5px; color: var(--ink); letter-spacing: .02em; }
.product-card__body h3 a:hover { color: var(--accent); }
.product-card__body p { color: var(--muted); font-size: 14px; margin: 8px 0 14px; flex: 1; }
.product-card__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.product-card__specs span {
  font-size: 12.5px; color: #43505e; background: var(--bg-soft);
  padding: 4px 10px; border-radius: 4px; border: 1px solid var(--border);
}
.product-card__link { color: var(--accent); font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.product-card__link:hover { gap: 10px; }

/* 产品筛选 */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 46px; }
.filter button {
  padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff;
  font-size: 14.5px; font-weight: 600; color: #43505e; transition: all .25s;
}
.filter button:hover { border-color: var(--accent); color: var(--accent); }
.filter button.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===================== 图文分栏 ===================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split__media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--accent);
  border-radius: var(--radius); z-index: -1; opacity: .5;
}
.split__body .kicker { color: var(--accent); font-weight: 700; letter-spacing: .3em; font-size: 13px; }
.split__body h2 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 18px; line-height: 1.3; }
.split__body > p { color: var(--muted); margin-bottom: 16px; }
.check-list { margin: 20px 0 28px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: #33404e; font-size: 15px; }
.check-list svg { flex: none; margin-top: 4px; }

/* ===================== 优势/服务 ===================== */
.feature-card {
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius);
  padding: 34px 28px; transition: transform .3s, border-color .3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(242, 140, 30, .55); }
.feature-card__icon {
  width: 56px; height: 56px; border-radius: 12px; background: rgba(242, 140, 30, .14);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: #a7b0ba; font-size: 14.5px; }

/* 行业应用 */
.industry-card {
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius);
  padding: 30px 20px; text-align: center; transition: all .3s;
}
.industry-card:hover { background: var(--accent); border-color: var(--accent); }
.industry-card svg { margin: 0 auto 14px; }
.industry-card h3 { color: #fff; font-size: 16.5px; letter-spacing: .05em; }
.industry-card p { color: #8f99a4; font-size: 13px; margin-top: 6px; }
.industry-card:hover h3, .industry-card:hover p { color: #fff; }

/* ===================== 新闻 ===================== */
.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card__meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.news-card__meta .cat { color: var(--accent); font-weight: 700; }
.news-card__body h3 { font-size: 17px; line-height: 1.5; color: var(--ink); }
.news-card__body h3 a:hover { color: var(--accent); }
.news-card__body p { color: var(--muted); font-size: 14px; margin-top: 10px; flex: 1; }

/* 新闻列表页（横向条目） */
.news-item {
  display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.news-item + .news-item { margin-top: 26px; }
.news-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-item__media { aspect-ratio: 4 / 3; overflow: hidden; height: 100%; }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-item:hover .news-item__media img { transform: scale(1.05); }
.news-item__body { padding: 26px 30px 26px 0; }
.news-item__meta { display: flex; gap: 14px; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.news-item__meta .cat { color: var(--accent); font-weight: 700; }
.news-item__body h3 { font-size: 19px; color: var(--ink); line-height: 1.45; }
.news-item__body h3 a:hover { color: var(--accent); }
.news-item__body p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.news-item__more { color: var(--accent); font-weight: 700; font-size: 14px; display: inline-block; margin-top: 12px; }

/* ===================== CTA 横条 ===================== */
.cta-band { background: linear-gradient(105deg, #e8811a 0%, var(--accent) 55%, #f7a94f 100%); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px 0; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: .03em; }
.cta-band p { opacity: .92; margin-top: 8px; }
.cta-band .btn { background: #fff; color: var(--accent-dark); border: none; }
.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* ===================== 页脚 ===================== */
.footer { background: var(--ink); color: #9aa4af; margin-top: auto; }
.footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 64px 0 48px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; letter-spacing: .06em; }
.footer__about p { font-size: 14px; margin: 16px 0 22px; line-height: 1.8; }
.footer__links li + li, .footer__contact li + li { margin-top: 11px; }
.footer a { font-size: 14px; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer__contact li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.footer__contact svg { flex: none; margin-top: 4px; }
.footer__certs { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__certs span {
  font-size: 12px; border: 1px solid var(--ink-3); padding: 5px 12px; border-radius: 4px; color: #8f99a4;
}
.footer__bar { border-top: 1px solid var(--ink-3); padding: 20px 0; }
.footer__bar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* ===================== 子页横幅 ===================== */
.page-hero { position: relative; color: #fff; padding: 96px 0 84px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,17,23,.94) 0%, rgba(13,17,23,.72) 55%, rgba(13,17,23,.42) 100%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: .04em; }
.page-hero .crumb { margin-top: 14px; font-size: 14px; color: #b9c2cb; display: flex; gap: 10px; align-items: center; }
.page-hero .crumb a:hover { color: var(--accent); }
.page-hero .crumb .sep { color: var(--accent); }

/* ===================== 关于我们 ===================== */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline__item { position: relative; padding: 0 0 38px 26px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--accent);
}
.timeline__year { font-size: 20px; font-weight: 800; color: var(--accent); letter-spacing: .04em; }
.timeline__item h3 { font-size: 16.5px; margin: 6px 0 6px; color: var(--ink); }
.timeline__item p { color: var(--muted); font-size: 14.5px; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; transition: all .3s;
}
.cert-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cert-card__icon {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
}
.cert-card h3 { font-size: 15.5px; color: var(--ink); }
.cert-card p { font-size: 13px; color: var(--muted); margin-top: 6px; }

.value-card { text-align: center; padding: 30px 22px; }
.value-card__num {
  font-size: 15px; color: var(--accent); font-weight: 800; letter-spacing: .3em; margin-bottom: 12px;
}
.value-card h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.value-card p { color: #a7b0ba; font-size: 14px; }

.gallery { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 22px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 4/3; box-shadow: var(--shadow); transition: transform .4s; }
.gallery img:hover { transform: scale(1.02); }

/* ===================== 联系我们 ===================== */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 60px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; }
.contact-card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.contact-card h3 { font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.contact-card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.contact-card .hot { color: var(--accent); font-weight: 800; font-size: 19px; letter-spacing: .03em; }

.contact-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 21px; color: var(--ink); margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #33404e; margin-bottom: 7px; }
.form-group label i { color: #e0483e; font-style: normal; margin-left: 3px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 14.5px; color: var(--text); background: #fbfcfd; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 140, 30, .15); background: #fff;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; }

.map-card { background: var(--ink); border-radius: var(--radius); overflow: hidden; color: #fff; }
.map-card__visual { position: relative; background:
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.05) 38px 39px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.05) 38px 39px),
  radial-gradient(circle at 62% 40%, rgba(242,140,30,.25), transparent 55%), var(--ink-2);
  min-height: 300px; }
.map-pin { position: absolute; left: 62%; top: 40%; transform: translate(-50%, -100%); text-align: center; }
.map-pin svg { filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-7px);} }
.map-card__body { padding: 28px 30px 30px; }
.map-card__body h3 { font-size: 17px; margin-bottom: 12px; }
.map-card__body p { font-size: 14px; color: #a7b0ba; line-height: 1.9; }

/* 服务承诺 */
.promise-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; margin-top: 30px; }
.promise-list li { display: flex; gap: 12px; align-items: flex-start; color: #33404e; font-size: 15px; }
.promise-list svg { flex: none; margin-top: 3px; }

/* ===================== 返回顶部 / 提示 ===================== */
.back-top {
  position: fixed; right: 26px; bottom: 30px; width: 46px; height: 46px; border-radius: 10px;
  background: var(--ink); color: #fff; border: none; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; z-index: 90;
  box-shadow: var(--shadow-lg);
}
.back-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--accent); }
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); background: var(--ink); color: #fff;
  padding: 14px 26px; border-radius: 8px; font-size: 14.5px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all .35s; z-index: 120; display: flex; gap: 10px; align-items: center;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ===================== 兴广扩展组件 ===================== */
/* 五列网格（首页十大品类） */
.grid--5 { grid-template-columns: repeat(5, 1fr); gap: 22px; }
.grid--5 .product-card__body { padding: 16px 16px 18px; }
.grid--5 .product-card__body h3 { font-size: 16px; }
.grid--5 .product-card__body p { font-size: 13px; margin: 6px 0 12px; }
.product-card__count {
  display: inline-block; font-size: 12px; color: var(--accent);
  background: var(--accent-soft); border-radius: 4px; padding: 2px 8px; margin-bottom: 8px;
  font-weight: 700; letter-spacing: .05em;
}

/* WhatsApp 按钮 / 浮动按钮 */
.btn--wa { background: #22b15c; color: #fff; }
.btn--wa:hover { background: #1b9750; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34, 177, 92, .35); }
.btn--wa--ghost { background: rgba(34, 177, 92, .14); color: #35c46f; border: 1.5px solid rgba(34, 177, 92, .55); }
.btn--wa--ghost:hover { background: #22b15c; color: #fff; }
.wa-float {
  position: fixed; right: 26px; bottom: 92px; width: 54px; height: 54px; border-radius: 50%;
  background: #22b15c; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(34, 177, 92, .45); z-index: 95; transition: transform .25s, background .25s;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); background: #1b9750; }
.wa-float::after {
  content: "WhatsApp 咨询"; position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 13px; padding: 7px 13px; border-radius: 6px;
  white-space: nowrap; opacity: 0; visibility: hidden; transition: all .25s;
}
.wa-float:hover::after { opacity: 1; visibility: visible; }

/* 统计条（平铺变体） */
.hero-stats--flat { margin-top: 0; }

/* 联系页补充 */
.contact-card__big { color: var(--accent); font-weight: 800; font-size: 17px; letter-spacing: .02em; word-break: break-all; }
.form-card__tip { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.form-card__tip em, .form-card label em { color: #e0483e; font-style: normal; }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 20px; font-size: 13.5px; }
.map-card__list { margin: 14px 0 24px; display: grid; gap: 10px; font-size: 14px; color: #b9c2cb; }
.map-card__list strong { color: #fff; }
.map-card__ring {
  position: absolute; left: 50%; top: 44%; width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(34, 177, 92, .55); transform: translate(-50%, -50%) scale(.5);
  animation: ring 2.6s ease-out infinite; pointer-events: none;
}
@keyframes ring { 0% { transform: translate(-50%, -50%) scale(.45); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.map-card__wa {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: 86px; height: 86px; border-radius: 50%; background: #22b15c;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(34, 177, 92, .4);
}

/* 服务承诺条目 */
.promise-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; transition: all .3s; }
.promise-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.promise-item__num { font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1.1; letter-spacing: .02em; }
.promise-item h3 { font-size: 16.5px; color: var(--ink); margin-bottom: 6px; }
.promise-item p { color: var(--muted); font-size: 13.5px; }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 82vw); background: #fff;
    flex-direction: column; align-items: stretch; padding: 92px 26px 30px; gap: 4px;
    box-shadow: -12px 0 40px rgba(16,24,40,.18); transform: translateX(100%); transition: transform .35s ease; z-index: 99;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 10px; font-size: 17px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav a.is-active::after { display: none; }
  .nav-toggle { display: block; z-index: 110; }
  .header__cta { display: none; }
  .split { grid-template-columns: 1fr; }
  .split__media::before { display: none; }
  .split--rev .split__media { order: -1; }
  .hero { min-height: 560px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: -60px; }
  .hero-stats__item:nth-child(2) { border-right: none; }
  .hero-stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .news-item { grid-template-columns: 1fr; }
  .news-item__body { padding: 0 26px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .promise-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .topbar__group--right { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--5 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .wa-float { right: 16px; bottom: 86px; width: 48px; height: 48px; }
  .wa-float::after { display: none; }
  .hero__inner { padding: 80px 0; }
  .hero-stats__num { font-size: 26px; }
  .cert-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 30px; }
  .form-card { padding: 26px 20px; }
  .gallery { grid-template-columns: 1fr; }
  .map-card__visual { min-height: 220px; }
}

/* ==========================================================
   v2 轻奢改版：暖白 + 钢青蓝 + 香槟金（去黑升级）
   ========================================================== */
h1, h2, h3, .hero h1, .page-hero h1, .section-head h2, .cta-band h2, .news-card h3, .news-item h3 { font-family: var(--font-head); letter-spacing: .015em; }
.footer h4, .form-card h3, .map-card h3 { font-family: var(--font-head); letter-spacing: .03em; }
.kicker { color: var(--accent-dark); letter-spacing: .32em; font-weight: 600; }
.head-line { background: linear-gradient(90deg, var(--accent) 0%, rgba(176,141,87,0) 100%); }
.hot { color: var(--accent-dark); }

/* 首屏与内页横幅：钢青蓝渐变遮罩（替换原黑色遮罩） */
.hero::after, .hero__bg::after, .hero::before, .hero__bg::before {
  background: linear-gradient(100deg, rgba(28,43,58,.94) 0%, rgba(28,43,58,.82) 42%, rgba(28,43,58,.40) 100%) !important;
}
.page-hero__bg::after {
  background: linear-gradient(90deg, rgba(28,43,58,.95) 0%, rgba(28,43,58,.76) 55%, rgba(28,43,58,.46) 100%) !important;
}
.hero__tag { border: 1px solid rgba(176,141,87,.55); color: #e8dcc4; background: rgba(28,43,58,.35); }
.hero p { color: #d5dce3; }
.hero-stats { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-stats__num { color: var(--ink); }

/* 按钮 */
.btn { letter-spacing: .06em; }
.btn--primary { background: linear-gradient(135deg, #b08d57 0%, #93744a 100%); box-shadow: 0 8px 22px rgba(147,116,74,.30); }
.btn--primary:hover { filter: brightness(1.07); box-shadow: 0 10px 26px rgba(147,116,74,.38); }
.btn--outline { border-color: var(--accent); color: var(--accent-dark); }
.btn--outline:hover { background: var(--accent-soft); border-color: var(--accent-dark); }
.btn--ghost { color: var(--text); border-color: var(--border); }

/* 页头 */
.header { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header.is-stuck { box-shadow: 0 6px 24px rgba(28,43,58,.10); }
.nav a { font-weight: 500; letter-spacing: .05em; }
.nav a.is-active, .nav a:hover { color: var(--accent-dark); }

/* 卡片 */
.product-card__tag { background: rgba(28,43,58,.88); }
.product-card, .feature-card, .value-card, .cert-card, .contact-card, .news-card { transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease; }
.product-card:hover, .feature-card:hover, .value-card:hover, .cert-card:hover, .contact-card:hover, .news-card:hover { border-color: rgba(176,141,87,.55); box-shadow: 0 16px 42px rgba(28,43,58,.14); }
.feature-card__icon, .cert-card__icon, .contact-card__icon { background: var(--accent-soft); border-radius: 10px; }
.industry-card:hover { border-color: rgba(176,141,87,.55); }

/* 深色区块 */
.section--dark { background: linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 78%, #2c4258 100%); }
.footer { background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%); }
.footer h4 { color: #dcc9a4; }
.footer__certs span { border: 1px solid rgba(176,141,87,.45); color: #e4d7bd; }
.value-card, .feature-card { border-color: var(--ink-3); }
.value-card__num, .promise-item__num, .timeline__year { color: var(--accent); }

/* CTA 金带 */
.cta-band { background: linear-gradient(105deg, #93744a 0%, #b08d57 55%, #c8a76e 100%); }
.cta-band h2 { letter-spacing: .02em; }

/* 筛选与表单 */
.filter button { border-color: var(--border); color: var(--muted); }
.filter button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.form-card input, .form-card select, .form-card textarea { border-color: var(--border); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--accent); outline: none; }
.back-top { background: var(--ink); }

/* 语言切换按钮 */
.lang-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; margin-left: 10px;
  border: 1px solid var(--accent); border-radius: 999px;
  color: var(--accent-dark); font-size: 13px; font-weight: 600; letter-spacing: .14em;
  white-space: nowrap; transition: all .25s ease;
}
.lang-link:hover { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent-dark); }
.nav .lang-link { margin-left: 6px; }
@media (max-width: 860px) {
  .header { backdrop-filter: none; } /* backdrop-filter 会使内部 fixed 抽屉相对 header 定位，移动端必须关闭 */
  .nav .lang-link { margin: 8px 0 0 4px; align-self: flex-start; }
}

/* 语言切换按钮（顶部信息条） */
.topbar__lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 14px; margin-left: 16px;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent); border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  white-space: nowrap; transition: all .25s ease;
}
.topbar__lang:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.topbar__lang svg { flex: none; opacity: .95; }
