/* ==========================================================
   上海尹西成化工有限公司 官网样式
   简洁大方 · 化工行业模板 · 全端自适应
   ========================================================== */

:root {
  --primary: #0d5bb5;
  --primary-dark: #0a3d78;
  --navy: #0b2c54;
  --accent: #e8930c;
  --text: #2c3a4b;
  --text-light: #6b7a8c;
  --bg-light: #f5f7fa;
  --line: #e4e9f0;
  --shadow: 0 6px 24px rgba(11, 44, 84, .08);
  --radius: 12px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.75;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(11, 44, 84, .12); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-text { line-height: 1.25; }
.logo-text .cn {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  white-space: nowrap;
}
.logo-text .en {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: .6px;
  white-space: nowrap;
}

.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
  display: block;
  padding: 8px 18px;
  font-size: 16px;
  color: var(--text);
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--navy) url("../images/banner-hero.jpg") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(9, 37, 72, .93) 0%, rgba(9, 37, 72, .72) 46%, rgba(9, 37, 72, .22) 100%);
}
.hero-content { position: relative; z-index: 1; color: #fff; padding: 90px 0; max-width: 640px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, .08);
}
.hero h1 {
  font-size: 44px;
  line-height: 1.32;
  letter-spacing: 2px;
  margin-bottom: 18px;
  font-weight: 700;
}
.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 34px;
  letter-spacing: .5px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 8px;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .25s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #0b4c99; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13, 91, 181, .35); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-light); }

.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 32px;
  color: var(--navy);
  letter-spacing: 2px;
  font-weight: 700;
}
.section-head .sub {
  margin-top: 14px;
  color: var(--text-light);
  font-size: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .bar {
  width: 56px; height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 18px auto 0;
}
.section-head.left { text-align: left; }
.section-head.left .bar { margin-left: 0; }

/* ---------------- 数据亮点 ---------------- */
.stats { background: var(--navy); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item .num { font-size: 34px; font-weight: 700; color: #fff; }
.stat-item .num small { font-size: 16px; font-weight: 400; margin-left: 2px; }
.stat-item .label { font-size: 14px; color: rgba(255, 255, 255, .72); letter-spacing: 1px; margin-top: 2px; }

/* ---------------- 公司简介 ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.about-text p { margin-bottom: 16px; color: var(--text); text-align: justify; }
.about-text p.lead { font-size: 17px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 22px; }
.about-points li {
  position: relative;
  padding-left: 26px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  background-color: var(--primary);
  -webkit-mask-size: contain;
}
.about-figure { position: relative; }
.about-figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.about-figure .badge {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(11, 44, 84, .88);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: 1px;
}

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

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { position: relative; background: #f8fafc; overflow: hidden; }
.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .5s;
}
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 1px;
}
.product-badge.blue { background: var(--primary); }
.product-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.product-body .formula {
  font-size: 13px;
  color: var(--primary);
  background: #eef4fc;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.product-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}

.product-series-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 56px 0 26px;
}
.product-series-title:first-of-type { margin-top: 0; }
.product-series-title .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: #eef4fc;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex: none;
}
.product-series-title h3 { font-size: 22px; color: var(--navy); letter-spacing: 1px; }
.product-series-title .desc { font-size: 14px; color: var(--text-light); }
.product-series-title .line { flex: 1; height: 1px; background: var(--line); }

/* 询价卡片 */
.product-card.inquiry-card {
  background: linear-gradient(160deg, #eef4fc, #f8fbff);
  border: 1px dashed #b9d2ef;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.product-card.inquiry-card .product-body { align-items: center; padding: 30px 22px; }
.product-card.inquiry-card h3 { color: var(--primary); }
.inquiry-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d5e4f7;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(13, 91, 181, .12);
}

.more-wrap { text-align: center; margin-top: 44px; }

/* ---------------- 企业优势 ---------------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-grid.five { grid-template-columns: repeat(6, 1fr); }
.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.adv-grid .span-2 { grid-column: span 2; }
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.adv-card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: #eef4fc;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.adv-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--text-light); }

/* ---------------- 资质 ---------------- */
.qual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.qual-grid.three { grid-template-columns: repeat(3, 1fr); }

/* 证照信息 */
.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.info-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 24px;
}
.info-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #eef4fc;
}
.info-block h3 svg { color: var(--primary); flex: none; }
.info-list li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.info-list li:last-child { border-bottom: none; }
.info-list li span {
  flex: none;
  width: 118px;
  color: var(--text-light);
}
.info-list li b { color: var(--text); font-weight: 600; line-height: 1.7; }
.qual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.qual-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.qual-card .img-wrap { display: block; background: #f8fafc; }
.qual-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.qual-card .info { padding: 22px 24px 26px; }
.qual-card .info h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.qual-card .info p { font-size: 14px; color: var(--text-light); margin-bottom: 4px; }
.qual-card .info .cert-no { color: var(--primary); font-weight: 600; }
.qual-note {
  margin-top: 26px;
  background: #eef4fc;
  border: 1px solid #d5e4f7;
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.9;
}
.qual-note strong { color: var(--primary); }

/* ---------------- 页内横幅 ---------------- */
.page-banner {
  background: linear-gradient(100deg, #0b2c54 0%, #0d5bb5 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .10) 0, transparent 42%),
    radial-gradient(circle at 70% 90%, rgba(255, 255, 255, .07) 0, transparent 38%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 32px; letter-spacing: 3px; margin-bottom: 8px; }
.page-banner .crumbs { font-size: 14px; color: rgba(255, 255, 255, .75); letter-spacing: 1px; }
.page-banner .crumbs a:hover { color: #fff; }

/* ---------------- 联系页 ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .icon {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 12px;
  background: #eef4fc;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.contact-card p { font-size: 15px; color: var(--text); word-break: break-all; }
.contact-card p.tip { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.contact-card a.tel { color: var(--primary); font-weight: 700; font-size: 20px; letter-spacing: 1px; }
.contact-card a.tel:hover { text-decoration: underline; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid transparent;
  transition: all .3s;
}
.service-card:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.service-card .icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #eef4fc;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--text-light); }

/* ---------------- 关于页 ---------------- */
.rich-text p { margin-bottom: 16px; text-align: justify; }
.motto {
  background: linear-gradient(100deg, var(--navy), var(--primary));
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 40px;
  text-align: center;
  font-size: 20px;
  letter-spacing: 4px;
  margin-top: 40px;
}
.motto small { display: block; font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,.7); margin-top: 8px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .82); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 60px 0 44px;
}
.footer-col h4 {
  color: #fff;
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.footer-col p { font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, .68); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255, 255, 255, .68); }
.footer-col ul a:hover { color: #fff; padding-left: 4px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
  margin-bottom: 12px;
  line-height: 1.7;
}
.footer-contact .fi { color: #6ea8e0; flex: none; margin-top: 3px; display: inline-flex; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: 1px;
}
.footer-bottom a { color: rgba(255, 255, 255, .5); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .icp { display: inline-block; }
@media (max-width: 600px) {
  .footer-bottom .icp { display: block; margin: 6px 0 0; }
}
@media (max-width: 700px) {
  .footer-bottom .container { padding-right: 78px; }
}

/* ---------------- 返回顶部 ---------------- */
.back-top {
  position: fixed;
  right: 22px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(13, 91, 181, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s;
  z-index: 90;
  display: flex; align-items: center; justify-content: center;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary-dark); }

/* ---------------- 图片放大灯箱 ---------------- */
img.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(9, 30, 56, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage { max-width: 94vw; text-align: center; }
.lightbox img {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  background: #fff;
  cursor: zoom-out;
}
.lb-caption { color: #fff; margin-top: 14px; font-size: 15px; letter-spacing: 1px; }
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s;
}
.lb-close:hover { background: rgba(255, 255, 255, .28); }

/* ==========================================================
   在线留言表单
   ========================================================== */
.msg-form-wrap { max-width: 920px; }
.msg-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 14.5px; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.form-field label i { color: #d64545; font-style: normal; }
.form-field input, .form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 91, 181, .12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-privacy { font-size: 13px; color: var(--text-light); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-tip {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 14.5px;
  margin-bottom: 26px;
}
.form-tip.ok { background: #e8f7ee; border: 1px solid #bfe6cc; color: #1e7a43; }
.form-tip.err { background: #fdeeee; border: 1px solid #f3c9c9; color: #b3373b; }

@media (max-width: 700px) {
  .msg-form-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================================
   产品卡片链接化 + 产品详情页
   ========================================================== */
.product-link { text-decoration: none; color: inherit; display: block; }
.product-link .product-card { cursor: pointer; }
.product-more {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .5px;
  transition: letter-spacing .25s;
}
.product-link:hover .product-more { letter-spacing: 1.5px; }

.pd-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 44px;
  align-items: start;
}
.pd-media {
  position: relative;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.pd-media img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .4s;
}
.pd-media img:hover { transform: scale(1.03); }
.pd-name {
  font-size: 26px;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.pd-tag {
  display: inline-block;
  background: #eef4fc;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  margin-top: 10px;
  letter-spacing: 1px;
}
.pd-params {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 14px;
}
.pd-params th, .pd-params td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.pd-params th {
  background: #f5f8fb;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  width: 120px;
}
.pd-params td { overflow-wrap: anywhere; word-break: break-word; line-height: 1.8; }
.pd-params code {
  background: #eef4fc;
  color: var(--primary-dark);
  padding: 2px 10px;
  border-radius: 6px;
  font-family: Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
}
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.pd-btn-consult { margin-right: 0; }
.pd-btn-back { padding: 10px 20px; font-size: 14px; }
.pd-tip {
  margin-top: 22px;
  padding: 12px 16px;
  background: #f8fafd;
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.8;
}
.pd-form-wrap { max-width: 760px; }
.pd-form-grid2 .form-field { grid-column: 1 / -1; margin-bottom: 20px; }
.pd-form-grid2 input { background: #f6f9fc; color: var(--navy); font-weight: 600; }

@media (max-width: 960px) {
  .pd-grid { grid-template-columns: 1fr; gap: 30px; }
  .pd-media { max-width: 440px; }
  .pd-name { font-size: 22px; }
  .pd-params th { width: 104px; }
}


/* ==========================================================
   响应式适配
   ========================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid.three { grid-template-columns: repeat(2, 1fr); }
  .adv-grid.five { grid-template-columns: repeat(3, 1fr); }
  .adv-grid.five .span-2 { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero h1 { font-size: 34px; }
  .hero { min-height: 520px; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .qual-grid { grid-template-columns: 1fr; }
  .qual-grid.three { grid-template-columns: 1fr 1fr; }
  .info-cols { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(11, 44, 84, .12);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 18px; }
  .main-nav a { padding: 13px 6px; border-bottom: 1px solid var(--bg-light); border-radius: 0; font-size: 16px; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { font-weight: 700; }
}

@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 25px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .stat-item .num { font-size: 27px; }
  .product-grid, .product-grid.three { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-body { padding: 13px 13px 16px; }
  .product-body h3 { font-size: 16px; }
  .product-body p { display: none; }
  .product-body .formula { font-size: 12px; }
  .qual-grid.three { grid-template-columns: 1fr; }
  .info-list li { flex-direction: column; gap: 2px; }
  .info-list li span { width: auto; }
  .adv-grid, .adv-grid.five { grid-template-columns: 1fr 1fr; gap: 14px; }
  .adv-card { padding: 22px 18px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero { min-height: 470px; }
  .hero-content { padding: 64px 0; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15.5px; }
  .btn { padding: 11px 26px; font-size: 15px; }
  .page-banner { padding: 44px 0; }
  .page-banner h1 { font-size: 25px; }
  .motto { font-size: 16px; padding: 26px 22px; letter-spacing: 2px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .logo-text .cn { font-size: 17px; }
  .logo-text .en { display: none; }
  .logo-mark { width: 38px; height: 38px; }
  .product-grid, .product-grid.three { grid-template-columns: repeat(2, 1fr); }
  .adv-grid, .adv-grid.five { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 34px; }
  .about-points { grid-template-columns: 1fr; }
  .hero h1 { font-size: 25px; }
  .hero-actions .btn { flex: 1; text-align: center; }
}
