/* =============================================================================
 *  style.css —— 颢蓝汽配企业官网 全站样式
 * -----------------------------------------------------------------------------
 *  结构：1 设计变量  2 基础重置  3 布局与通用组件  4 页头/页脚
 *        5 首页版块  6 产品中心与详情  7 关于/新闻/联系/询价  8 响应式
 *  改整站配色：只改 1. 里的变量即可。
 * ========================================================================== */

/* ============================== 1. 设计变量 ================================ */
:root {
  /* 品牌色（沿用店铺视觉：深蓝 + 动能橙） */
  --brand:        #0A3D91;
  --brand-dark:   #10233F;
  --brand-light:  #EEF3FA;
  --accent:       #FF6A00;
  --accent-dark:  #E85D00;

  /* 中性色 */
  --bg:        #FFFFFF;
  --bg-soft:   #F5F7FA;
  --card:      #FFFFFF;
  --text:      #1F2937;
  --text-2:    #4B5563;
  --muted:     #8A94A6;
  --border:    #E5E7EB;
  --success:   #16A34A;
  --danger:    #DC2626;

  --r-sm: 6px;  --r: 10px;  --r-lg: 16px;  --r-full: 999px;
  --sh:    0 1px 3px rgba(16, 35, 63, .07);
  --sh-md: 0 6px 18px rgba(16, 35, 63, .10);
  --sh-lg: 0 14px 40px rgba(16, 35, 63, .16);

  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;

  --header-h: 116px;
  --maxw: 1240px;
}

/* ============================== 2. 基础重置 ================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
               "Hiragino Sans GB", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.4; }
p { margin: 0 0 var(--s4); }
button { font-family: inherit; cursor: pointer; }
.icon { vertical-align: -3px; flex: none; }

/* =========================== 3. 布局与通用组件 ============================= */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s5); }
.section { padding: var(--s8) 0; }
.section-sm { padding: var(--s7) 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--brand-dark); color: #fff; }
.center { text-align: center; }
.mb { margin-bottom: var(--s4); }
.mt { margin-top: var(--s6); }
.empty { padding: var(--s8) 0; text-align: center; color: var(--muted); }

.sec-head { text-align: center; margin-bottom: var(--s7); }
.sec-head h2 { font-size: 30px; position: relative; padding-bottom: var(--s3); }
.sec-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 48px; height: 3px; background: var(--accent); border-radius: 2px;
}
.sec-head p { color: var(--text-2); margin: var(--s3) 0 0; }
.sec-head.light { color: #fff; }
.sec-head.light p { color: rgba(255, 255, 255, .75); }
.sec-title { font-size: 24px; margin: var(--s7) 0 var(--s5); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border: 1px solid transparent; border-radius: var(--r);
  font-size: 15px; font-weight: 600; transition: .2s; white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.btn.block { width: 100%; }
.btn-link { background: none; border: 0; color: var(--muted); font-size: 14px; padding: 0; }
.btn-link:hover { color: var(--danger); }

/* 网格 */
.grid { display: grid; gap: var(--s5); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* 面包屑 + 内页页头 */
.crumb { color: var(--muted); font-size: 13px; margin-bottom: var(--s5); }
.crumb a:hover { color: var(--brand); }
.crumb span { color: var(--text-2); }
.page-head {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; padding: var(--s7) 0 var(--s6);
}
.page-head h1 { font-size: 32px; }
.page-head .crumb { color: rgba(255, 255, 255, .7); margin-bottom: var(--s2); }
.page-head .crumb a:hover { color: #fff; }
.page-head .crumb span { color: #fff; }

/* 轻提示 */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  background: rgba(16, 35, 63, .92); color: #fff; padding: 12px 22px; border-radius: var(--r-full);
  font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 999;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================== 4. 页头 / 页脚 ============================= */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--sh); }
.header-top { background: var(--brand-dark); color: rgba(255, 255, 255, .8); font-size: 13px; }
.header-top-inner { display: flex; align-items: center; gap: var(--s5); height: 38px; }
.ht-item { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
a.ht-item:hover { color: #fff; }
.ht-spacer { flex: 1; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25); color: #fff; padding: 4px 12px;
  border-radius: var(--r-full); font-size: 13px;
}
.lang-switch:hover { background: rgba(255, 255, 255, .2); }
.lang-switch.wide { width: 100%; justify-content: center; padding: 10px; margin-top: var(--s4); }

.header-main-inner { display: flex; align-items: center; gap: var(--s5); height: 78px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 8px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 17px; letter-spacing: 1px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text b { font-size: 19px; color: var(--brand-dark); }
.logo-text i { font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: .5px; }
.nav { display: flex; gap: var(--s5); margin-left: auto; }
.nav a { font-size: 15px; font-weight: 600; color: var(--text); padding: 6px 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: .2s;
}
.nav a:hover, .nav a.on { color: var(--brand); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: var(--s4); margin-left: var(--s5); }
.inq-btn { position: relative; color: var(--brand-dark); display: flex; align-items: center; }
.badge {
  position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 9px; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}
.burger { display: none; background: none; border: 0; color: var(--brand-dark); padding: 4px; }

.drawer {
  position: fixed; inset: 0; background: rgba(16, 35, 63, .45); z-index: 200;
  opacity: 0; pointer-events: none; transition: .25s;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-inner {
  position: absolute; right: 0; top: 0; bottom: 0; width: 260px; background: #fff;
  padding: var(--s6) var(--s5); display: flex; flex-direction: column; gap: var(--s4);
  transform: translateX(100%); transition: .25s;
}
.drawer.open .drawer-inner { transform: none; }
.drawer-inner a { font-size: 16px; font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--border); }

.site-footer { background: var(--brand-dark); color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: var(--s6);
  padding: var(--s8) var(--s5) var(--s6);
}
.f-logo { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: var(--s2); }
.f-slogan { margin-bottom: var(--s4); }
.f-line { display: flex; align-items: center; gap: 8px; margin-bottom: var(--s2); color: inherit; text-decoration: none; }
a.f-line:hover { color: #fff; }
.f-scope { margin-top: var(--s3); color: rgba(255, 255, 255, .55); font-size: 13px; }
.fcol h4 { color: #fff; font-size: 15px; margin-bottom: var(--s3); }
.fcol li { margin-bottom: 6px; }
.fcol a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: var(--s4) 0; font-size: 13px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }

/* ================================ 5. 首页 ================================== */
.hero { position: relative; height: 560px; overflow: hidden; background: var(--brand-dark); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* 无图时的纯设计背景：深浅蓝渐变 + 细斜纹 + 右侧淡圆环
   以后有了干净产品照，把 data.js 里的 image 填回路径即可自动铺图 */
.hero-s1 {
  background:
    radial-gradient(1200px 660px at 74% 38%, rgba(52, 116, 206, .55), rgba(52, 116, 206, 0) 62%),
    radial-gradient(820px 520px at 98% 96%, rgba(255, 106, 0, .12), rgba(255, 106, 0, 0) 68%),
    linear-gradient(135deg, #0A1B33 0%, #113A68 58%, #0A3D91 100%);
}
.hero-s2 {
  background:
    radial-gradient(1000px 600px at 84% 26%, rgba(30, 134, 172, .40), rgba(30, 134, 172, 0) 60%),
    linear-gradient(200deg, #08172C 0%, #0D2A4C 52%, #0A3D91 100%);
}
.hero-s3 {
  background:
    radial-gradient(900px 620px at 90% 62%, rgba(255, 106, 0, .17), rgba(255, 106, 0, 0) 62%),
    radial-gradient(1050px 640px at 58% 8%, rgba(58, 122, 214, .38), rgba(58, 122, 214, 0) 64%),
    linear-gradient(160deg, #0A1B33 0%, #0E2C51 50%, #0A3D91 100%);
}
.hero-s1::before, .hero-s2::before, .hero-s3::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg,
    rgba(255, 255, 255, .05) 0 1px,
    rgba(255, 255, 255, 0) 1px 28px);
}
.hero-s1::after, .hero-s2::after, .hero-s3::after {
  content: ""; position: absolute; top: 50%; right: -130px; pointer-events: none;
  width: 660px; height: 660px; margin-top: -330px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 0 0 80px rgba(255, 255, 255, .022), 0 0 0 168px rgba(255, 255, 255, .013);
}
.hero-mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(11, 30, 60, .95) 0%,
    rgba(11, 30, 60, .88) 28%,
    rgba(11, 30, 60, .52) 50%,
    rgba(11, 30, 60, .10) 72%,
    rgba(11, 30, 60, 0) 100%);
}
.hero-content { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); color: #fff; z-index: 2; }
.hero-content h1 { font-size: 46px; margin-bottom: var(--s4); max-width: 720px; }
.hero-content p { font-size: 18px; color: rgba(255, 255, 255, .85); margin-bottom: var(--s6); }
.hero-dots { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 30px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(255, 255, 255, .4); }
.hero-dots button.on { background: var(--accent); }

.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.adv {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: var(--s6) var(--s5); transition: .2s;
}
.adv:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.adv-ico {
  width: 52px; height: 52px; border-radius: 12px; background: var(--brand-light);
  color: var(--brand); display: grid; place-items: center; margin-bottom: var(--s4);
}
.adv h3 { font-size: 17px; margin-bottom: var(--s2); }
.adv p { color: var(--text-2); font-size: 14px; margin: 0; }

.series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.series-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: var(--s6) var(--s5); text-align: center; transition: .2s;
}
.series-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--sh-md); }
.series-en { font-size: 22px; font-weight: 700; color: var(--brand); letter-spacing: 2px; }
.series-cn { font-size: 16px; font-weight: 600; margin-top: 4px; }
.series-num { color: var(--muted); font-size: 13px; margin-top: 6px; }

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s4); }
.cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: var(--s5) var(--s3); text-align: center; transition: .2s; font-weight: 600;
}
.cat-card img { width: 56px; margin: 0 auto var(--s3); }
.cat-card:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }

.about-brief { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.ab-img img { border-radius: var(--r-lg); width: 100%; }
.ab-text h2 { font-size: 28px; margin-bottom: var(--s4); }
.ab-text p { color: var(--text-2); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5);
  margin-top: var(--s7); padding-top: var(--s6); border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat b { display: block; font-size: 34px; color: var(--brand); line-height: 1.2; }
.stat span { color: var(--muted); font-size: 14px; }

.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.fcard { position: relative; border-radius: var(--r); overflow: hidden; background: #0d2444; }
.fcard img { width: 100%; height: 260px; object-fit: cover; transition: .4s; }
.fcard:hover img { transform: scale(1.05); }
.fcap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s4);
  background: linear-gradient(transparent, rgba(16, 35, 63, .9)); color: #fff; font-weight: 600;
}
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.cert { text-align: center; }
.cert img {
  width: 100%; border: 1px solid var(--border); border-radius: var(--r);
  background: #fff; margin-bottom: var(--s3); box-shadow: var(--sh);
}
.cert div { font-size: 14px; color: var(--text-2); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); }
.market-tags { display: flex; flex-wrap: wrap; gap: var(--s3); }
.mtag { background: #fff; border: 1px solid var(--border); border-radius: var(--r-full); padding: 8px 18px; font-size: 14px; }
.mtag.big { padding: 10px 22px; font-size: 15px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  background: none; border: 0; padding: var(--s4) 0; text-align: left;
  font-size: 15px; font-weight: 600; color: var(--text);
}
.faq-q .icon { transition: .2s; color: var(--muted); }
.faq-item.open .faq-q { color: var(--brand); }
.faq-item.open .faq-q .icon { transform: rotate(180deg); color: var(--brand); }
.faq-a { display: none; padding: 0 0 var(--s4); color: var(--text-2); font-size: 14px; }
.faq-item.open .faq-a { display: block; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; transition: .2s; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.n-img img { width: 100%; height: 190px; object-fit: cover; }
.n-body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.n-date { color: var(--muted); font-size: 13px; }
.n-body h3 { font-size: 17px; margin: var(--s2) 0; }
.n-body p { color: var(--text-2); font-size: 14px; flex: 1; }
.n-more { color: var(--brand); font-weight: 600; font-size: 14px; }

.cta { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; padding: var(--s7) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; }
.cta h2 { font-size: 26px; margin-bottom: var(--s2); }
.cta p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-btns { display: flex; gap: var(--s3); }

/* ========================= 6. 产品卡片 / 列表 / 详情 ======================= */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s;
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.card-media { position: relative; background: var(--bg-soft); overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-tags { position: absolute; left: var(--s3); top: var(--s3); display: flex; gap: 6px; }
.tag { background: var(--accent); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.card-body { padding: var(--s4); display: flex; flex-direction: column; flex: 1; }
.card-cat { color: var(--muted); font-size: 12px; }
.card-title { font-size: 15px; margin: 6px 0; line-height: 1.5; }
.card-sub { color: var(--text-2); font-size: 13px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--s3); gap: var(--s2); }
.price { color: var(--accent); font-weight: 700; font-size: 17px; }
.price-big { font-size: 26px; }
.price-origin { color: var(--muted); font-size: 13px; text-decoration: line-through; margin-left: 6px; }
.price-inquiry { color: var(--brand); font-weight: 700; font-size: 15px; }
.card-more { color: var(--brand); font-size: 13px; font-weight: 600; }

.filters { background: var(--bg-soft); border-radius: var(--r); padding: var(--s5); margin-bottom: var(--s5); }
.frow { display: flex; gap: var(--s4); padding: var(--s2) 0; align-items: flex-start; }
.flabel { color: var(--text-2); font-weight: 600; flex: none; width: 64px; padding-top: 4px; }
.fopts { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  padding: 5px 14px; border-radius: var(--r-full); border: 1px solid var(--border);
  background: #fff; font-size: 14px; color: var(--text-2);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.frow-end { justify-content: space-between; align-items: center; }
.fsearch { display: flex; align-items: center; gap: var(--s2); background: #fff; border: 1px solid var(--border); border-radius: var(--r-full); padding: 4px 4px 4px 14px; }
.fsearch input { border: 0; outline: none; padding: 6px; min-width: 220px; font-size: 14px; }
.fsearch button { background: var(--brand); color: #fff; border: 0; border-radius: var(--r-full); padding: 7px 18px; font-size: 14px; }
.list-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s5); }
.count { color: var(--text-2); font-size: 14px; }
.sorts { display: flex; gap: var(--s2); }
.pager { display: flex; justify-content: center; gap: var(--s2); margin-top: var(--s7); }
.pager a {
  min-width: 36px; height: 36px; padding: 0 10px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; color: var(--text-2);
}
.pager a.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.detail { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); }
.d-main { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--bg-soft); }
.d-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.d-thumbs { display: flex; gap: var(--s2); margin-top: var(--s3); }
.d-thumbs button { width: 72px; height: 72px; padding: 2px; border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.d-thumbs button.on { border-color: var(--brand); }
.d-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.d-info h1 { font-size: 26px; margin-bottom: var(--s2); }
.d-sub { color: var(--text-2); }
.d-meta { display: flex; gap: var(--s5); color: var(--muted); font-size: 13px; margin-bottom: var(--s4); }
.d-price { padding: var(--s4) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.d-tip {
  display: flex; align-items: center; gap: 6px; margin: var(--s4) 0;
  color: var(--success); font-size: 14px; background: #F0FDF4; padding: 10px 14px; border-radius: var(--r-sm);
}
.d-buy { display: flex; gap: var(--s3); align-items: stretch; flex-wrap: wrap; }
.qty { display: flex; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.qty button { width: 40px; background: #fff; border: 0; color: var(--text); }
.qty button:hover { background: var(--bg-soft); }
.qty input { width: 56px; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 15px; outline: none; }
.d-highlights { margin-top: var(--s6); }
.d-highlights h3 { font-size: 17px; margin-bottom: var(--s3); }
.d-highlights li { display: flex; gap: var(--s2); margin-bottom: 6px; color: var(--text-2); font-size: 14px; }
.d-highlights .icon { color: var(--success); margin-top: 4px; }
.d-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); margin-top: var(--s7); }
.d-block h2 { font-size: 20px; margin-bottom: var(--s4); }
.d-block p { color: var(--text-2); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.spec-table th { background: var(--bg-soft); width: 34%; color: var(--text-2); font-weight: 600; }
.pack-list li { color: var(--text-2); margin-bottom: 6px; padding-left: 18px; position: relative; }
.pack-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ====================== 7. 关于 / 新闻 / 联系 / 询价 ====================== */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: var(--s6); }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand);
}
.tl-year { color: var(--accent); font-weight: 700; font-size: 16px; }
.tl-body h3 { font-size: 17px; margin: 4px 0; }
.tl-body p { color: var(--text-2); font-size: 14px; margin: 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.value { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: var(--s6) var(--s5); }
.v-num { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; margin-bottom: var(--s4); }
.value h3 { font-size: 17px; margin-bottom: var(--s2); }
.value p { color: var(--text-2); font-size: 14px; margin: 0; }

.news-list { display: flex; flex-direction: column; gap: var(--s5); }
.news-row {
  display: grid; grid-template-columns: 280px 1fr; gap: var(--s5);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: var(--s4);
}
.news-row .n-img img { height: 170px; border-radius: var(--r-sm); }
.news-row h2 { font-size: 19px; margin: var(--s2) 0; }
.news-row p { color: var(--text-2); margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
.c-info h2 { font-size: 26px; margin-bottom: var(--s2); }
.c-sub { color: var(--text-2); margin-bottom: var(--s5); }
.c-line { display: flex; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--border); }
.c-line .icon { color: var(--brand); margin-top: 4px; }
.c-line span { display: block; color: var(--muted); font-size: 13px; }
.c-line b { font-size: 15px; }
.c-line b a { color: inherit; text-decoration: none; }
.c-line b a:hover { color: var(--brand); }
.c-form { background: var(--bg-soft); border-radius: var(--r-lg); padding: var(--s6); }
.c-form h2 { font-size: 22px; margin-bottom: var(--s5); }
.fl { display: block; margin-bottom: var(--s4); }
.fl span { display: block; font-size: 14px; margin-bottom: 6px; font-weight: 600; }
.fl i { font-style: normal; color: var(--danger); font-size: 12px; font-weight: 400; }
.fl input, .fl textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 10px 12px; font-size: 14px; font-family: inherit; background: #fff; outline: none;
}
.fl input:focus, .fl textarea:focus { border-color: var(--brand); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); }
.form-tip { color: var(--muted); font-size: 12px; margin: var(--s3) 0 0; }

.inq-sub { color: var(--text-2); margin-bottom: var(--s5); }
.inq-item {
  display: grid; grid-template-columns: 72px 1fr 130px 1fr 40px; gap: var(--s4);
  align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--border);
}
.ii-img { border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.ii-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ii-info a { font-weight: 600; }
.ii-info a:hover { color: var(--brand); }
.ii-meta { color: var(--muted); font-size: 13px; }
.ii-qty { display: flex; border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.ii-qty button { width: 30px; background: #fff; border: 0; }
.ii-qty .q-input { width: 46px; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; outline: none; }
.ii-remark {
  border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 10px;
  font-size: 13px; font-family: inherit; outline: none; width: 100%;
}
.ii-del { background: none; border: 0; color: var(--muted); }
.ii-del:hover { color: var(--danger); }
.inq-bar { display: flex; justify-content: space-between; align-items: center; padding: var(--s4) 0; }
.inq-form { background: var(--bg-soft); border-radius: var(--r-lg); padding: var(--s6); margin-top: var(--s5); }
.inq-form h2 { font-size: 20px; margin-bottom: var(--s4); }

.success-page { max-width: 760px; text-align: center; }
.success-icon {
  width: 76px; height: 76px; margin: 0 auto var(--s5); border-radius: 50%;
  background: #F0FDF4; color: var(--success); display: grid; place-items: center;
}
.success-page h1 { font-size: 28px; }
.success-page > p { color: var(--text-2); }
.success-no { font-size: 15px; margin: var(--s4) 0 var(--s5); }
.success-no b { color: var(--accent); font-size: 18px; }
.success-btns { display: flex; justify-content: center; gap: var(--s3); margin-top: var(--s6); flex-wrap: wrap; }

/* ================================ 8. 响应式 ================================ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .adv-grid, .factory-grid, .news-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid, .series-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 460px; }
  .hero-slide img { object-position: 58% 50%; }
  .hero-mask {
    background: linear-gradient(90deg,
      rgba(11, 30, 60, .96) 0%,
      rgba(11, 30, 60, .90) 42%,
      rgba(11, 30, 60, .55) 72%,
      rgba(11, 30, 60, .18) 100%);
  }
  .hero-content h1 { font-size: 36px; }
}
@media (max-width: 860px) {
  .ht-hide-sm { display: none; }
  .detail, .d-blocks, .about-brief, .two-col, .contact-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .news-row { grid-template-columns: 1fr; }
  .inq-item { grid-template-columns: 60px 1fr; row-gap: var(--s3); }
  .inq-item .ii-qty { grid-column: 1 / 2; }
  .inq-item .ii-remark { grid-column: 2 / 3; }
  .inq-item .ii-del { grid-column: 2 / 3; justify-self: end; }
  .hero { height: 400px; }
  .hero-slide img { object-position: 100% 50%; }
  .hero-mask {
    background: linear-gradient(90deg,
      rgba(11, 30, 60, .96) 0%,
      rgba(11, 30, 60, .93) 52%,
      rgba(11, 30, 60, .74) 80%,
      rgba(11, 30, 60, .40) 100%);
  }
  .hero-s1::after, .hero-s2::after, .hero-s3::after {
    right: -220px; width: 480px; height: 480px; margin-top: -240px;
  }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 15px; }
  .section { padding: var(--s7) 0; }
  .sec-head h2 { font-size: 24px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 var(--s4); }
  .grid-4, .adv-grid, .factory-grid, .news-grid, .value-grid, .series-grid, .cert-grid {
    grid-template-columns: 1fr;
  }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .frow { flex-direction: column; gap: var(--s2); }
  .fsearch { flex: 1; }
  .fsearch input { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .cta-inner { flex-direction: column; text-align: center; }
  .logo-text i { display: none; }
  .stats { gap: var(--s4); }
}
