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

:root {
  --blue: #1c66d6;
  --blue-dark: #1450ad;
  --blue-light: #4a8af0;
  --blue-bar: #2b6fe0;
  --red: #e60012;
  --green: #2e9b46;
  --text: #2b3240;
  --muted: #8a93a3;
  --line: #e8ebf0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --shadow-sm: 0 2px 8px rgba(28, 102, 214, .06);
  --shadow-md: 0 8px 24px rgba(20, 50, 90, .10);
  --shadow-lg: 0 16px 40px rgba(20, 50, 90, .16);
  --radius: 14px;
}

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 400px at 50% -120px, rgba(28, 102, 214, .08), transparent 70%),
    var(--bg);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

/* 顶部蓝条 */
.top-bar { height: 6px; background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--blue-light)); }

/* 头部 */
.header { background: #fff; padding: 22px 0; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo img {
   height: 88px; object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(46, 155, 70, .25));
  transition: transform .35s ease;
}
.logo:hover img { transform: rotate(-6deg) scale(1.04); }
.logo-text {
  font-size: 40px; font-weight: 800; letter-spacing: 2px;
  background: linear-gradient(120deg, #2e9b46, #1c9e6a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-text em { font-style: normal; }
.hotline {
  color: var(--red); font-size: 30px; font-weight: 700;
  display: flex; align-items: baseline; gap: 6px;
}
.hotline span { font-size: 22px; color: #555; font-weight: 600; }
.hotline strong {
  font-size: 36px; letter-spacing: 1px;
  text-shadow: 0 2px 6px rgba(230, 0, 18, .18);
}

/* 导航 */
.nav { background: linear-gradient(90deg, var(--blue-dark), var(--blue)); position: sticky; top: 0; z-index: 60; box-shadow: var(--shadow-md); }
.nav-inner { display: flex; gap: 4px; }
.nav a {
  color: #fff; font-size: 19px; font-weight: 700;
  padding: 16px 26px; display: inline-block; position: relative;
  transition: background .25s, transform .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 8px; width: 0; height: 3px;
  background: #fff; border-radius: 3px; transform: translateX(-50%); transition: width .25s;
}
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav a:hover::after, .nav a.active::after { width: 40%; }
.nav a.active { background: rgba(0, 0, 0, .12); }

/* 焦点图轮播 */
.banner {
  position: relative; width: 100%; overflow: hidden;
  background: #0d2c5c; box-shadow: var(--shadow-md);
}
.banner-track { position: relative; width: 100%; aspect-ratio: 16 / 6; }
.banner-slide {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.04);
  transition: opacity .8s ease, transform 6s ease;
}
.banner-slide.active { opacity: 1; transform: scale(1); }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: none; cursor: pointer; z-index: 4;
  background: rgba(13, 44, 92, .35); color: #fff; font-size: 30px; line-height: 1;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s, background .25s;
}
.banner:hover .banner-arrow { opacity: 1; }
.banner-arrow:hover { background: var(--blue); }
.banner-prev { left: 20px; }
.banner-next { right: 20px; }
.banner-dots {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4;
  display: flex; justify-content: center; gap: 10px;
}
.banner-dot {
  width: 12px; height: 12px; border-radius: 999px; border: none; cursor: pointer; padding: 0;
  background: rgba(255, 255, 255, .55); transition: width .3s, background .3s;
}
.banner-dot.active { width: 30px; background: #fff; }

/* 主体 */
.main { padding: 32px 15px 10px; }
.main-grid { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }

/* 公司简介（单栏） */
.about-page {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 34px 38px 40px;
}
.about-page .content-head { margin-bottom: 24px; }
.about-body p { color: #444; line-height: 1.9; margin: 0 0 18px; text-align: justify; }
.about-body p:first-child::first-letter { font-size: 1.05em; }
.about-highlights {
  list-style: none; margin: 26px 0; padding: 0;
  display: grid; gap: 14px;
}
.about-highlights li {
  background: var(--bg-soft); border-left: 4px solid var(--blue);
  border-radius: 8px; padding: 14px 18px; color: #555; line-height: 1.6;
}
.about-highlights strong {
  display: inline-block; min-width: 84px; margin-right: 12px; color: var(--blue);
}
.about-contact {
  margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line);
  color: #555;
}
.about-contact strong { color: var(--red, #d62828); font-size: 1.1em; }

/* 产品详情页 */
.breadcrumb {
  font-size: 13px; color: #888; margin-bottom: 18px;
}
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--blue); }

.product-detail-top {
  display: grid; grid-template-columns: 420px 1fr; gap: 32px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 28px; margin-bottom: 24px;
}
.pd-gallery {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
}
.pd-gallery img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.pd-title {
  font-size: 24px; font-weight: 700; color: #222; margin: 0 0 8px; line-height: 1.4;
}
.pd-subtitle { color: #888; font-size: 14px; margin: 0 0 18px; }
.pd-params { list-style: none; margin: 0 0 20px; padding: 0; }
.pd-params li {
  display: flex; align-items: baseline; padding: 9px 0;
  border-bottom: 1px dashed var(--line); font-size: 14px; color: #555;
}
.pd-label {
  flex: 0 0 88px; color: #999; letter-spacing: 1px;
}
.pd-value { color: #333; font-weight: 500; }
.pd-price {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-soft); border-radius: 10px; padding: 14px 20px; margin-bottom: 18px;
}
.pd-price-label { color: #888; font-size: 14px; }
.pd-price-num { color: var(--red, #d62828); font-size: 26px; font-weight: 800; letter-spacing: 1px; }
.pd-actions { display: flex; gap: 14px; }
.pd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 30px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.pd-btn-primary { background: var(--blue); color: #fff; }
.pd-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pd-btn-ghost { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.pd-btn-ghost:hover { background: var(--blue); color: #fff; }

.product-detail-body {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 0 28px 28px; margin-bottom: 24px;
}
.pd-tabs {
  display: flex; gap: 10px; border-bottom: 2px solid var(--line);
  margin: 0 -28px 24px; padding: 0 28px;
}
.pd-tab {
  display: inline-block; padding: 16px 8px; font-size: 16px; font-weight: 600;
  color: #333; border-bottom: 3px solid var(--blue); margin-bottom: -2px;
}
.pd-desc h2 {
  font-size: 17px; color: var(--blue); margin: 26px 0 12px;
  padding-left: 12px; border-left: 4px solid var(--blue);
}
.pd-desc h2:first-child { margin-top: 0; }
.pd-desc p { color: #555; line-height: 1.9; margin: 0 0 14px; text-align: justify; }
.pd-feature-list { margin: 0 0 14px; padding-left: 22px; }
.pd-feature-list li { color: #555; line-height: 1.9; }
.pd-images {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 6px;
}
.pd-images img {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft);
}
.pd-inline-phone { color: var(--red, #d62828); font-weight: 700; }
.pd-related { margin-top: 4px; }

/* 新闻列表页 */
.more-static { color: #999; font-size: 13px; }
.news-feed { list-style: none; margin: 0; padding: 0; }
.news-item {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  margin-bottom: 16px; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-item-link { display: flex; gap: 20px; padding: 18px; align-items: stretch; }
.news-item-thumb {
  flex: 0 0 180px; border-radius: 10px; overflow: hidden; background: var(--bg-soft);
}
.news-item-thumb img {
  width: 100%; height: 100%; min-height: 120px; object-fit: cover;
  transition: transform .4s ease;
}
.news-item:hover .news-item-thumb img { transform: scale(1.06); }
.news-item-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.news-item-title {
  font-size: 17px; font-weight: 700; color: #222; margin: 2px 0 10px; line-height: 1.5;
}
.news-item:hover .news-item-title { color: var(--blue); }
.news-item-desc {
  color: #777; font-size: 14px; line-height: 1.8; margin: 0 0 auto;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item-meta {
  display: flex; align-items: center; gap: 14px; margin-top: 14px;
  font-size: 13px; color: #aaa;
}
.news-tag {
  display: inline-block; background: var(--bg-soft); color: var(--blue);
  font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 600;
}

/* 分页 */
.pager { display: flex; justify-content: center; gap: 8px; margin: 28px 0 6px; }

.pager a {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: #555; font-size: 14px;
  transition: background .2s, color .2s, border-color .2s;
}

.pager a.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.pager-btn {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: #555; font-size: 14px;
  transition: background .2s, color .2s, border-color .2s;
}
.pager-btn:hover { border-color: var(--blue); color: var(--blue); }
.pager-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager-btn.disabled { color: #ccc; pointer-events: none; }

/* 新闻详情页 */
.news-article {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 34px 38px 30px;
}
.article-head { text-align: center; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.article-title { font-size: 24px; font-weight: 700; color: #222; line-height: 1.5; margin: 0 0 16px; }
.article-meta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 16px; font-size: 13px; color: #999;
}
.article-body { padding-top: 24px; }
.article-body p { color: #444; line-height: 1.95; margin: 0 0 18px; text-align: justify; }
.article-body h2 {
  font-size: 18px; color: var(--blue); margin: 28px 0 14px;
  padding-left: 12px; border-left: 4px solid var(--blue);
}
.article-figure { margin: 22px 0; text-align: center; }
.article-figure img {
  max-width: 100%; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft);
}
.article-figure figcaption { margin-top: 10px; font-size: 13px; color: #999; }
.article-list { margin: 0 0 18px; padding-left: 22px; }
.article-list li { color: #444; line-height: 1.95; }
.article-phone { color: var(--red, #d62828); font-size: 1.05em; letter-spacing: 1px; }
.article-nav {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px;
  padding-top: 20px; border-top: 1px dashed var(--line);
}
.article-nav-item {
  flex: 1; min-width: 240px; background: var(--bg-soft); border-radius: 10px;
  padding: 14px 18px; display: flex; flex-direction: column; gap: 6px;
  transition: background .2s;
}
.article-nav-item:hover { background: #eaf1fb; }
.article-nav-item span { font-size: 12px; color: #999; }
.article-nav-item em { font-style: normal; color: #444; font-size: 14px; line-height: 1.5; }
.article-nav-item:hover em { color: var(--blue); }
.article-nav-next { text-align: right; align-items: flex-end; }

/* 标题样式 */
.section-title {
  position: relative; margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light)); border-radius: 4px;
}
.section-title h3 { font-size: 23px; color: #1d2532; font-weight: 800; }

/* 左侧分类 */
.sidebar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-sm);
}
.cat-list, .contact-list, .news-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { margin-bottom: 6px; }
.cat-list a {
  display: flex; align-items: center; font-size: 17px; color: #3a4252; font-weight: 600;
  padding: 12px 14px 12px 30px; position: relative; border-radius: 10px;
  transition: color .2s, background .25s, padding .2s;
}
.cat-list a::before {
  content: ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; background: var(--blue);
  clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .2s;
}
.cat-list a:hover {
  color: var(--blue); background: linear-gradient(90deg, rgba(28, 102, 214, .10), rgba(28, 102, 214, 0));
  padding-left: 36px;
}
.cat-list a:hover::before { transform: translateY(-50%) translateX(3px); }

/* 内容头部 */
.content-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 22px; padding-bottom: 10px; position: relative;
  border-bottom: 2px solid var(--line);
}
.content-head::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 70px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light)); border-radius: 4px;
}
.content-head h2 { font-size: 23px; color: #1d2532; font-weight: 800; }
.more {
  color: var(--muted); font-size: 14px; font-weight: 600;
  padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; transition: all .25s;
}
.more:hover { color: #fff; background: var(--blue); border-color: var(--blue); }

/* 产品网格 */
.product-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product {
  border: 1px solid var(--line); background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.product:hover { box-shadow: var(--shadow-lg); border-color: rgba(28, 102, 214, .35); transform: translateY(-6px); }
.thumb {
  background: #fff; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product:hover .thumb img { transform: scale(1.08); }
.product p {
  background: linear-gradient(180deg, #fbfcfe, var(--bg)); text-align: center; padding: 14px 8px;
  font-size: 15px; font-weight: 600; color: #36404f; border-top: 1px solid var(--line);
  transition: color .25s;
}
.product:hover p { color: var(--blue); }

/* 联系 + 新闻 */
.info-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin-top: 44px; padding-bottom: 40px; }
.contact-block, .news-block {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.contact-list li {
  font-size: 19px; font-weight: 700; color: #2b3240; margin-bottom: 14px;
  padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.contact-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.contact-list li strong { color: var(--blue); }

.news-list li { border-bottom: 1px dashed var(--line); }
.news-list li:last-child { border-bottom: none; }
.news-list a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 8px 14px 20px; position: relative; color: #4a5364;
  border-radius: 8px; transition: background .25s, color .2s;
}
.news-list a::before {
  content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue-light); transition: transform .2s;
}
.news-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.news-date { color: var(--muted); flex-shrink: 0; font-size: 13px; }
.news-list a:hover { background: rgba(28, 102, 214, .06); }
.news-list a:hover .news-title { color: var(--blue); }
.news-list a:hover::before { transform: translateY(-50%) scale(1.4); }

/* 页脚 */
.footer {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff; padding: 36px 0; margin-top: 10px;
}
.footer-inner { text-align: center; }
.footer-line { font-size: 16px; font-weight: 600; margin-bottom: 12px; opacity: .96; }
.footer-sub {
  font-size: 13px; color: #d6e4fb; border-top: 1px solid rgba(255, 255, 255, .22);
  padding-top: 18px; margin-top: 12px;
}
.footer-sub a { color: #fff; }
.footer-sub a:hover { text-decoration: underline; }

/* 左侧悬浮工具 */
.side-tools {
  position: fixed; left: 14px; top: 38%; display: flex; flex-direction: column; gap: 8px; z-index: 50;
}
.tool {
  width: 54px; height: 54px; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 13px; line-height: 1.2; border-radius: 12px;
  box-shadow: var(--shadow-md); transition: background .25s, transform .25s;
}
.tool:hover { background: var(--blue-dark); transform: translateY(-3px) scale(1.05); }
.tool-hl { background: #fff; color: var(--blue); border: 2px solid var(--blue); font-weight: 700; }
.tool-top { font-size: 18px; }

/* 在线咨询 */
.online-chat {
  position: fixed; right: 0; top: 46%; z-index: 50;
  background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; padding: 16px 11px;
  writing-mode: vertical-lr; letter-spacing: 5px; font-size: 16px; font-weight: 600;
  border-radius: 12px 0 0 12px; box-shadow: -4px 4px 16px rgba(28, 102, 214, .35);
  transition: padding-right .25s;
}
.online-chat:hover { padding-right: 16px; }

/* 留言框 */
.message-box {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  width: 260px; background: #fff; border: 1px solid rgba(28, 102, 214, .25);
  color: var(--blue); padding: 18px 22px; border-radius: 14px;
  font-size: 16px; font-weight: 600; box-shadow: var(--shadow-lg); cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.message-box::before {
  content: "✎"; margin-right: 8px; font-size: 18px;
}
.message-box:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(20, 50, 90, .22); }

/* 响应式 */
@media (max-width: 992px) {
  .main-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr; gap: 28px; }
  .logo-text { font-size: 28px; }
  .hotline { font-size: 22px; }
  .hotline strong { font-size: 28px; }
  .nav { position: static; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-inner { flex-wrap: wrap; }
  .nav a { font-size: 16px; padding: 12px 16px; }
  .logo-text { font-size: 22px; }
  .logo img {  height: 60px; }
  .contact-list li { font-size: 16px; }
  .message-box { display: none; }
  .side-tools { left: 8px; }
  .tool { width: 46px; height: 46px; }
}
