/* =========================================================
   华盛泽润滑油 企业官网 通用样式
   ========================================================= */
:root {
  --primary: #0b63c4;
  --primary-dark: #0a2a52;
  --primary-deep: #071d3a;
  --accent: #f39c12;
  --text: #333;
  --text-light: #777;
  --bg-gray: #f5f7fa;
  --white: #fff;
  --shadow: 0 4px 18px rgba(10, 42, 82, .10);
  --radius: 8px;
  --transition: all .3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { width: 88%; max-width: 1200px; margin: 0 auto; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar .welcome span { margin-right: 18px; }
.topbar .top-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar .top-contact .hotline { color: var(--accent); font-weight: bold; }
.topbar .icon-phone {
  width: 14px; height: 14px;
  fill: var(--accent);
}

/* ---------- 主导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 54px; width: auto; }
.logo .logo-text .cn {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-dark);
  letter-spacing: 2px;
  line-height: 1.2;
}
.logo .logo-text .en {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 3px;
}

.nav { display: flex; align-items: center; height: 100%; }
.nav > li { position: relative; height: 100%; }
.nav > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-dark);
}
.nav > li > a:hover,
.nav > li.active > a { color: var(--primary); }
.nav > li.active > a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 22px; right: 22px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

/* 二级菜单 */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 176px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  overflow: hidden;
  border-top: 3px solid var(--primary);
}
.nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  color: var(--text);
  text-align: center;
  border-bottom: 1px solid #f0f2f5;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover {
  background: var(--bg-gray);
  color: var(--primary);
  padding-left: 26px;
}

/* 顶部导航电话按钮 */
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), #e67e22);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(243, 156, 18, .35);
  white-space: nowrap;
}
.header-phone:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(243, 156, 18, .45); }
.header-phone svg { width: 16px; height: 16px; fill: #fff; }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 3px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- 内页 Banner ---------- */
.page-banner {
  position: relative;
  height: 260px;
  background: linear-gradient(rgba(7, 29, 58, .72), rgba(7, 29, 58, .72)),
    url("../images/banner1.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-banner h1 {
  color: #fff;
  font-size: 34px;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.page-banner .crumbs { color: rgba(255, 255, 255, .8); font-size: 14px; }
.page-banner .crumbs a:hover { color: var(--accent); }

/* ---------- 首页轮播 ---------- */
.banner {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.banner .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.banner .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 29, 58, .78) 0%, rgba(7, 29, 58, .35) 60%, rgba(7, 29, 58, .1) 100%);
}
.banner .slide.on { opacity: 1; z-index: 1; }
.banner .slide-text {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
  padding-left: 6%;
}
.banner .slide-text h2 {
  font-size: 42px;
  letter-spacing: 3px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.banner .slide-text p {
  font-size: 17px;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 28px;
}
.btn {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 30px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #09519f; transform: translateY(-2px); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .8); color: #fff; margin-left: 14px; }
.btn-ghost:hover { background: #fff; color: var(--primary-dark); }

.banner .dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.banner .dots span {
  width: 34px; height: 5px;
  background: rgba(255, 255, 255, .4);
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}
.banner .dots span.on { background: var(--accent); }
.banner .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition);
}
.banner .arrow:hover { background: var(--primary); }
.banner .arrow.prev { left: 24px; }
.banner .arrow.next { right: 24px; }

/* ---------- 通用 Section ---------- */
.section { padding: 70px 0; }
.section.gray { background: var(--bg-gray); }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .sub {
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-head h2 {
  font-size: 30px;
  color: var(--primary-dark);
  letter-spacing: 2px;
}
.section-head .line {
  width: 56px; height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ---------- 优势条 ---------- */
.features {
  background: var(--primary-dark);
  padding: 34px 0;
}
.features .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.feature-item .fi-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.feature-item h4 { font-size: 16px; margin-bottom: 2px; }
.feature-item p { font-size: 12px; color: rgba(255, 255, 255, .65); }

/* ---------- 关于我们 ---------- */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 380px; object-fit: cover; }
.about-img .exp-badge {
  position: absolute;
  right: -18px; bottom: -18px;
  background: var(--primary);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-img .exp-badge strong { display: block; font-size: 30px; line-height: 1.2; }
.about-img .exp-badge span { font-size: 13px; }
.about-text h3 { font-size: 26px; color: var(--primary-dark); margin-bottom: 18px; }
.about-text p { color: var(--text-light); margin-bottom: 14px; text-align: justify; }
.about-stats {
  display: flex;
  gap: 36px;
  margin: 24px 0;
}
.about-stats strong { font-size: 28px; color: var(--primary); display: block; }
.about-stats span { font-size: 13px; color: var(--text-light); }

/* ---------- 产品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .p-img {
  height: 220px;
  overflow: hidden;
  background: #eef2f7;
}
.product-card .p-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .p-img img { transform: scale(1.08); }
.product-card .p-info { padding: 16px 18px 20px; text-align: center; }
.product-card .p-info .p-brand {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  background: rgba(11, 99, 196, .08);
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.product-card .p-info h3 {
  font-size: 16px;
  color: var(--primary-dark);
  line-height: 1.4;
}
.center-btn { text-align: center; margin-top: 40px; }

/* 产品筛选 */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.filter-bar button {
  padding: 9px 26px;
  border: 1px solid #d6dde6;
  background: #fff;
  border-radius: 30px;
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}
.filter-bar a{display:block;}
.filter-bar button.on,
.filter-bar button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- 案例 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 260px;
  box-shadow: var(--shadow);
}
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover img { transform: scale(1.08); }
.case-card .c-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(7, 29, 58, .88));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
}
.case-card .c-mask h3 { font-size: 17px; margin-bottom: 4px; }
.case-card .c-mask p { font-size: 13px; color: rgba(255, 255, 255, .78); }

/* ---------- 新闻 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card .n-img { height: 180px; overflow: hidden; }
.news-card .n-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .n-img img { transform: scale(1.08); }
.news-card .n-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .n-date { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.news-card h3 {
  font-size: 16px;
  color: var(--primary-dark);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  font-size: 13px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-card .more { color: var(--primary); font-size: 13px; margin-top: 12px; }

/* ---------- 联系浮层（页脚上方 CTA） ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary) 0%, #0a4f9e 100%);
  color: #fff;
  padding: 46px 0;
}
.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h3 { font-size: 24px; letter-spacing: 1px; margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, .85); }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, .72);
  padding: 56px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--accent);
}
.footer .f-about p { margin-bottom: 8px; }
.footer .f-about img { height: 52px; margin-bottom: 14px; background: #fff; padding: 4px; border-radius: 6px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a:hover { color: var(--accent); padding-left: 4px; }
.footer .f-contact li { display: flex; gap: 10px; margin-bottom: 14px; }
.footer .f-contact .ico { color: var(--accent); }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

/* 返回顶部 */
.back-top {
  position: fixed;
  right: 26px; bottom: 90px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 998;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--accent); }

/* 侧边悬浮电话 */
.float-phone {
  position: fixed;
  right: 26px; bottom: 30px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 6px 16px rgba(243, 156, 18, .4);
}
.float-phone svg { width: 16px; height: 16px; fill: #fff; }

/* ---------- 联系页 ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h3 { font-size: 22px; margin-bottom: 24px; }
.contact-info-card ul li {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-info-card .ci-icon {
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-card .ci-icon svg { width: 18px; height: 18px; fill: var(--accent); }
.contact-info-card h5 { font-size: 15px; margin-bottom: 2px; }
.contact-info-card p { color: rgba(255, 255, 255, .75); font-size: 14px; }
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 22px; color: var(--primary-dark); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dde3ea;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 16px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary); }
.contact-form textarea { height: 120px; resize: vertical; }
.map-box {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 360px;
}
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 关于页时间轴/文化 ---------- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.culture-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  transition: var(--transition);
}
.culture-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.culture-card .cu-icon {
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  background: rgba(11, 99, 196, .09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.culture-card h3 { font-size: 19px; color: var(--primary-dark); margin-bottom: 10px; }
.culture-card p { font-size: 14px; color: var(--text-light); }

.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.honor-card {
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}
.honor-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.honor-card .h-icon { font-size: 40px; margin-bottom: 14px; }
.honor-card h4 { font-size: 15px; color: var(--primary-dark); }

/* ---------- 产品详情弹窗 ---------- */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(7, 29, 58, .66);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  position: relative;
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { transform: scale(.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal .m-img { height: 100%; min-height: 340px; }
.modal .m-img img { width: 100%; height: 100%; object-fit: cover; }
.modal .m-body { padding: 32px 30px; }
.modal .m-body .p-brand {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  background: rgba(11, 99, 196, .08);
  padding: 2px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.modal .m-body h3 { font-size: 21px; color: var(--primary-dark); margin-bottom: 14px; }
.modal .m-body p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.modal .m-body .m-specs {
  background: var(--bg-gray);
  border-radius: 6px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 13px;
  color: var(--text);
  line-height: 2;
}
.modal .m-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 34px; height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.modal .m-close:hover { background: var(--accent); }

/* ---------- 新闻列表页 ---------- */
.news-list { max-width: 900px; margin: 0 auto; }
.news-item {
  display: flex;
  gap: 24px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  margin-bottom: 22px;
  transition: var(--transition);
}
.news-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.news-item .n-img { width: 260px; flex-shrink: 0; }
.news-item .n-img img { width: 100%; height: 170px; object-fit: cover; }
.news-item .n-body { padding: 20px 24px 20px 0; }
.news-item .n-meta { font-size: 12px; color: var(--text-light); margin-bottom: 8px; display: flex; gap: 16px; }
.news-item .n-meta .cat { color: var(--primary); }
.news-item h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 8px; }
.news-item:hover h3 { color: var(--primary); }
.news-item p { font-size: 13px; color: var(--text-light); }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pagination button {
  width: 38px; height: 38px;
  border: 1px solid #d6dde6;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}
.pagination button.on,
.pagination button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination a{
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #d6dde6;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}
.pagination .active a{
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
/* ---------- 详情页通用 ---------- */
.detail-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  margin-bottom: 50px;
}
.detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef2f7;
  height: 460px;
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 {
  font-size: 28px;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}
.detail-info .d-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-light);
}
.detail-info .d-meta .p-brand {
  color: var(--primary);
  background: rgba(11, 99, 196, .08);
  padding: 2px 12px;
  border-radius: 10px;
  font-weight: bold;
}
.detail-info .d-spec {
  background: var(--bg-gray);
  border-left: 3px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--text);
}
.detail-info .d-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 24px;
}
.detail-info .d-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-info .d-actions .btn { display: inline-flex; align-items: center; gap: 6px; }

.detail-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  margin-bottom: 40px;
}
.detail-content h2 {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 22px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.detail-content .d-para {
  font-size: 15px;
  color: var(--text);
  line-height: 2;
  margin-bottom: 18px;
  text-indent: 2em;
}

/* 上下篇 */
.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.prev-next a {
  flex: 1;
  background: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 14px;
}
.prev-next a:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--primary); }
.prev-next a.next { text-align: right; flex-direction: row-reverse; }
.prev-next a strong {
  display: block;
  color: var(--primary-dark);
  font-size: 15px;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}
.prev-next .pn-disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- 产品详情 —— 规格参数表 ---------- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}
.specs-table th, .specs-table td {
  padding: 12px 16px;
  border: 1px solid #e8edf2;
  text-align: left;
}
.specs-table thead th {
  background: var(--primary-dark);
  color: #fff;
  font-weight: bold;
}
.specs-table tbody tr:nth-child(even) { background: var(--bg-gray); }

/* ---------- 新闻详情 ---------- */
.news-detail-head {
  text-align: center;
  margin-bottom: 30px;
}
.news-detail-head h1 {
  font-size: 30px;
  color: var(--primary-dark);
  margin-bottom: 14px;
  line-height: 1.4;
}
.news-detail-head .n-meta {
  color: var(--text-light);
  font-size: 13px;
  display: flex;
  justify-content: center;
  gap: 18px;
}
.news-detail-head .n-meta .cat { color: var(--primary); }

/* ---------- 案例详情 ---------- */
.case-detail-banner {
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
}
.case-detail-banner img { width: 100%; height: 100%; object-fit: cover; }

/* 详情页响应式 */
@media (max-width: 860px) {
  .detail-wrap { grid-template-columns: 1fr; gap: 26px; }
  .detail-img { height: 320px; }
  .detail-content { padding: 26px 22px; }
  .news-detail-head h1 { font-size: 22px; }
  .case-detail-banner { height: 220px; }
  .prev-next { flex-direction: column; }
  .prev-next a { flex-direction: row !important; text-align: left !important; }
  .prev-next a.next { flex-direction: row !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features .container { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header .container { position: relative; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    max-height: 0;
    overflow: auto;
    transition: max-height .35s ease;
    box-shadow: 0 12px 20px rgba(0, 0, 0, .1);
  }
  .nav.open { max-height: 70vh; border-top: 1px solid #eef1f5; }
  .nav > li { height: auto; border-bottom: 1px solid #f0f2f5; }
  .nav > li > a { padding: 14px 22px; }
  .nav > li.active > a::after { display: none; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    border-top: none;
    background: var(--bg-gray);
    box-shadow: none;
    min-width: 0;
  }
  .nav li:hover .dropdown{transform: translateX(-30%) translateY(0);}
  .nav li.dropdown-open .dropdown { display: block; }
  .header-phone { display: none; }
  .banner { height: 400px; }
  .banner .slide-text h2 { font-size: 28px; }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .case-grid, .news-grid, .culture-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .modal { grid-template-columns: 1fr; }
  .modal .m-img { min-height: 240px; max-height: 260px; }
  .news-item { flex-direction: column; }
  .news-item .n-img { width: 100%; }
  .news-item .n-body { padding: 0 20px 20px; }
  .topbar .welcome { display: none; }
  .topbar .container { justify-content: center; }
  .cta-band .container { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .features .container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .banner .slide-text h2 { font-size: 23px; }
  .banner .arrow { display: none; }
  .page-banner h1 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
}
