@charset "utf-8";
/* ============ 基础 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font: 15px/1.8 "Microsoft YaHei", "PingFang SC", "WenQuanYi Micro Hei", sans-serif;
  color: #444; background: #fff;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 1200px; max-width: 92%; margin: 0 auto; }
.section { padding: 70px 0; }

/* ============ 按钮 ============ */
.btn {
  display: inline-block; padding: 10px 30px; background: #1c60b8; color: #fff;
  border: 1px solid #1c60b8; border-radius: 3px; letter-spacing: 2px; transition: .3s;
}
.btn:hover { background: #e87a20; border-color: #e87a20; }
.btn.outline { background: transparent; color: #1c60b8; }
.btn.outline:hover { background: #1c60b8; color: #fff; }

/* ============ 栏目标题 ============ */
.sec-head { text-align: center; margin-bottom: 45px; }
.sec-head small { color: #9aa5b4; letter-spacing: 3px; font-size: 12px; text-transform: uppercase; }
.sec-head h3 { font-size: 30px; color: #17335a; letter-spacing: 4px; margin: 4px 0 12px; font-weight: 700; }
.sec-head i { display: block; width: 50px; height: 3px; background: #e87a20; margin: 0 auto; }
.sec-head.light h3 { color: #fff; }

/* ============ 顶部栏 ============ */
.topbar { background: #0e2038; color: #a9b6c8; font-size: 13px; line-height: 38px; }
.topbar-in { display: flex; justify-content: space-between; }
.topbar-in span:first-child::before { content: "✆ "; color: #e87a20; }

/* ============ 头部导航 ============ */
.header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06); transition: box-shadow .3s;
}
.header.stuck { box-shadow: 0 4px 18px rgba(0, 0, 0, .12); }
.header-in { display: flex; align-items: center; height: 82px; }
.logo img { height: 52px; }
.logo { margin-right: auto; }
.nav { display: flex; }
.nav a {
  position: relative; padding: 0 16px; color: #22344f; font-size: 16px; line-height: 82px;
}
.nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 20px; height: 2px; background: #e87a20; transform: scaleX(0); transition: .3s; }
.sub-toggle::after { right: 26px; }
.nav a:hover, .nav a.active { color: #1c60b8; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; }
.nav-close { display: none !important; } /* 新增：确保在电脑版彻底隐藏 */

/* --- 产品中心 一级下拉 --- */
/* 下拉以父栏目定位，栏目增减时不会跟着整排导航移位 */
.has-sub { position: relative; }
/* 电脑端的悬浮下拉效果统一由这个开关控制，手机端把它关掉，避免旧样式残留 */
.sub-toggle { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.caret {
  width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 5px solid #22344f; transition: border-color .3s;
}
.has-sub:hover .caret, .has-sub.open .caret { border-top-color: #1c60b8; }

.submenu {
  position: absolute; left: 50%; top: 82px; transform: translate(-50%, 12px);
  min-width: 180px; background: #fff; padding: 8px 0;
  box-shadow: 0 12px 28px rgba(14, 32, 56, .16); border-top: 3px solid #e87a20;
  opacity: 0; visibility: hidden; transition: .28s; z-index: 120;
}
.has-sub:hover .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* 填补导航与下拉之间的空隙，鼠标移动时不会误关闭 */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }

.submenu a {
  display: block; padding: 0 22px; line-height: 42px; font-size: 15px; color: #22344f;
  border-left: 3px solid transparent;
}
.submenu a:hover, .submenu a.active { color: #e87a20; background: #fafbfd; border-left-color: #e87a20; }
.submenu a::after { display: none; }

/* ============ 轮播 ============ */
.banner { position: relative; height: 560px; overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; }
.slide {
  background-size: cover; background-position: center; display: flex; align-items: center;
  opacity: 0; transition: opacity .8s; pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide-txt { color: #fff; animation: up .9s both; }
.slide.active .slide-txt { animation: up .9s both; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.slide-txt h2 { font-size: 46px; letter-spacing: 4px; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.slide-txt p { margin: 16px 0 28px; font-size: 17px; color: #e6eef8; text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff;
  font-size: 26px; cursor: pointer; transition: .3s;
}
.arrow:hover { background: #e87a20; }
.prev { left: 3%; } .next { right: 3%; }
.dots { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; }
.dots button {
  width: 12px; height: 12px; margin: 0 6px; padding: 0; border: 2px solid #fff; border-radius: 50%;
  background: transparent; cursor: pointer; transition: .3s;
}
.dots button.active { background: #e87a20; border-color: #e87a20; }

/* ============ 关于我们 ============ */
.about { background: #f7f9fc; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.about-imgs { position: relative; padding-bottom: 30px; }
.about-imgs .big { width: 85%; border-radius: 4px; box-shadow: 0 10px 30px rgba(20, 40, 70, .18); }
.about-imgs .small {
  position: absolute; right: 0; bottom: 0; width: 48%; border: 6px solid #fff; border-radius: 4px;
  box-shadow: 0 10px 30px rgba(20, 40, 70, .18);
}
.about-txt > p { text-indent: 2em; color: #556; }
.about-adv { display: flex; gap: 24px; margin: 24px 0; }
.about-adv > div { flex: 1; border-left: 3px solid #1c60b8; padding-left: 14px; }
.about-adv h4 { color: #17335a; font-size: 17px; }
.about-adv p { font-size: 13.5px; color: #77828f; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; padding: 34px 0;
  background: #fff; border: 1px solid #e8edf4; border-radius: 6px; text-align: center;
}
.stat b { display: block; font-size: 42px; color: #1c60b8; font-family: Arial; }
.stat span { color: #77828f; font-size: 14px; }

/* ============ 实力产品 ============ */
.advantage { background: linear-gradient(120deg, #16305a, #0e2038 60%, #123f7d); }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.adv-item { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; overflow: hidden; transition: .35s; }
.adv-item:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .12); }
.adv-img { position: relative; overflow: hidden; }
.adv-img img { height: 240px; width: 100%; object-fit: cover; transition: .5s; }
.adv-item:hover .adv-img img { transform: scale(1.08); }
.adv-img .num { position: absolute; left: 18px; top: 14px; color: #fff; font: 700 34px Arial; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.adv-item h4 { color: #fff; font-size: 19px; padding: 18px 22px 8px; }
.adv-item h4::before { content: ""; display: inline-block; width: 4px; height: 16px; background: #e87a20; margin-right: 10px; vertical-align: -2px; }
.adv-item p { padding: 0 22px 24px; color: #b9c6d8; font-size: 14px; }

/* ============ 推荐产品 ============ */
.product-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.product-tabs button {
  padding: 7px 22px; border: 1px solid #d6dee9; background: #fff; color: #556; cursor: pointer;
  border-radius: 20px; transition: .3s;
}
.product-tabs button:hover, .product-tabs button.active { background: #1c60b8; border-color: #1c60b8; color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid #e8edf4; border-radius: 6px; overflow: hidden; transition: .35s; }
.card:hover { box-shadow: 0 12px 28px rgba(20, 50, 90, .14); transform: translateY(-6px); }
.card .pic { position: relative; overflow: hidden; }
.card .pic img { height: 210px; width: 100%; object-fit: cover; transition: .5s; }
.card:hover .pic img { transform: scale(1.1); }
.card .pic::after {
  content: "+"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: #fff; background: rgba(28, 96, 184, .45); opacity: 0; transition: .35s;
}
.card:hover .pic::after { opacity: 1; }
.card h4 { padding: 14px 16px 4px; color: #22344f; font-size: 16px; }
.card p { padding: 0 16px 16px; color: #e87a20; font-size: 13px; letter-spacing: 1px; }

/* ============ 发展历程（横向时间轴） ============ */
.history { background: #f7f9fc; }
.timeline { position: relative; padding-top: 34px; }
/* 横向主轴 */
.tl-track {
  display: flex; align-items: stretch; gap: 0; overflow-x: auto; overflow-y: hidden;
  border-top: 2px solid #dde5f0; padding: 0 0 4px; margin: 0 -20px;   /* 滚动条用满整行宽度 */
  scrollbar-width: thin; scrollbar-color: #b7c4d6 #eef2f7;
}
.tl-track::-webkit-scrollbar { height: 8px; }
.tl-track::-webkit-scrollbar-thumb { background: #b7c4d6; border-radius: 4px; }
.tl-track::-webkit-scrollbar-track { background: #eef2f7; }
.tl-year {
  position: relative; flex: 1 0 92px; min-width: 92px; padding: 18px 4px 12px; text-align: center;
  color: #77828f; font: 700 20px Arial; cursor: pointer; transition: .3s; white-space: nowrap;
}
/* 轴上的圆点 */
.tl-year::after {
  content: ""; position: absolute; left: 50%; top: -8px; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #b7c4d6; transition: .3s;
}
.tl-year:hover { color: #1c60b8; }
.tl-year:hover::after { border-color: #1c60b8; }
.tl-year.active { color: #1c60b8; }
.tl-year.active::after { background: #e87a20; border-color: #e87a20; box-shadow: 0 0 0 4px rgba(232,122,32,.15); }
.tl-content {
  margin-top: 24px; padding: 26px 30px; min-height: 150px; background: #fff; border-radius: 6px;
  box-shadow: 0 6px 20px rgba(20, 40, 70, .06);
}

/* 新增：控制不同年份文案的切换 */
.tl-pane { display: none; animation: fade .4s both; }
.tl-pane.active { display: block; }

.tl-content h4 { color: #17335a; font-size: 20px; margin-bottom: 12px; }
.tl-content p { color: #5a6776; }
.tl-content p.tl-empty { color: #9aa5b4; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* 手机上年份多时横向滑动，一次露出约 4 个 */
/* ============ 新闻 ============ */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.news-item {
  display: flex; background: #fff; border: 1px solid #e8edf4; border-radius: 6px; overflow: hidden;
  transition: .35s;
}
.news-item:hover { box-shadow: 0 10px 26px rgba(20, 50, 90, .12); transform: translateY(-5px); }
.news-date {
  flex: 0 0 74px; background: #1c60b8; color: #fff; text-align: center; padding: 16px 0;
}
.news-date b { display: block; font: 700 28px Arial; }
.news-date span { font-size: 12px; opacity: .85; }
.news-item img { width: 160px; height: 100%; object-fit: cover; }
.news-txt { flex: 1; padding: 14px 18px; }
.news-txt h4 { font-size: 16px; color: #22344f; }
.news-txt h4 a:hover { color: #1c60b8; }
.news-txt p {
  margin-top: 8px; font-size: 13px; color: #7a8592; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ============ 荣誉 ============ */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.honor-item { text-align: center; }
.honor-item img {
  width: 100%; height: 180px; object-fit: cover; border: 1px solid #e8edf4; border-radius: 4px;
  filter: grayscale(35%); transition: .35s;
}
.honor-item:hover img { filter: none; transform: scale(1.04); }
.honor-item p { margin-top: 10px; color: #556; font-size: 14px; }

/* ============ 下载 ============ */
.download { background: #f7f9fc; }
.dl-list li { border-bottom: 1px dashed #dde5f0; }
.dl-list a {
  display: flex; justify-content: space-between; padding: 14px 6px; color: #33455f; transition: .3s;
}
.dl-list a::before { content: "📄 "; }
.dl-list a:hover { color: #1c60b8; padding-left: 16px; background: #fff; }
.dl-list span { color: #9aa5b4; font-size: 13px; }

/* ============ 企业文化 ============ */
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.culture-item {
  padding: 34px 16px; text-align: center; background: #fff; border: 1px solid #e8edf4;
  border-top: 3px solid #1c60b8; border-radius: 4px; transition: .35s;
}
.culture-item:hover { background: #1c60b8; color: #fff; transform: translateY(-6px); }
.culture-item h4 { font-size: 18px; margin-bottom: 8px; }
.culture-item p { color: #7a8592; }
.culture-item:hover p { color: #dce7f6; }

/* ============ 联系 ============ */
.contact { background: linear-gradient(120deg, #16305a, #0e2038 60%, #123f7d); }
/* 新增：调亮标题颜色，拉开与“CONTACT US”小字的对比度 */
.contact .sec-head h3 {
  color: #ffffff;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info { color: #c9d5e6; }
.contact-info p { margin-bottom: 12px; }
.contact-info b { color: #fff; }
.contact-info .slogan { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); text-indent: 2em; color: #a9b8cc; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-bottom: 14px; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 3px; background: rgba(255, 255, 255, .08); color: #fff; font: inherit; outline: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #93a3ba; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #e87a20; }
.contact-form .btn { width: 100%; border: 0; cursor: pointer; }
.form-tip { color: #7fd6a0; min-height: 24px; }

/* ============ 页脚 ============ */
.footer { background: #0a1626; color: #7d8b9e; font-size: 13px; text-align: center; padding: 26px 0; line-height: 2; }
.footer a:hover { color: #e87a20; }

/* ============ 回顶 ============ */
.back-top {
  position: fixed; right: 24px; bottom: 30px; width: 44px; height: 44px; border-radius: 50%;
  background: #1c60b8; color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .3s; z-index: 99;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: #e87a20; }

/* ============ 滚动出现 ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: .8s; }
.reveal.in { opacity: 1; transform: none; }

/* ============ 新闻 ============ */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.news-item {
  display: flex; background: #fff; border: 1px solid #e8edf4; border-radius: 6px; overflow: hidden;
  transition: .35s;
}
.news-item:hover { box-shadow: 0 10px 26px rgba(20, 50, 90, .12); transform: translateY(-5px); }
.news-date {
  flex: 0 0 74px; background: #1c60b8; color: #fff; text-align: center; padding: 16px 0;
}
.news-date b { display: block; font: 700 28px Arial; }
.news-date span { font-size: 12px; opacity: .85; }
.news-item img { width: 160px; height: 100%; object-fit: cover; }
.news-txt { flex: 1; padding: 14px 18px; }
.news-txt h4 { font-size: 16px; color: #22344f; }
.news-txt h4 a:hover { color: #1c60b8; }
.news-txt p {
  margin-top: 8px; font-size: 13px; color: #7a8592; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ============ 荣誉 ============ */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.honor-item { text-align: center; }
.honor-item img {
  width: 100%; height: 180px; object-fit: cover; border: 1px solid #e8edf4; border-radius: 4px;
  filter: grayscale(35%); transition: .35s;
}
.honor-item:hover img { filter: none; transform: scale(1.04); }
.honor-item p { margin-top: 10px; color: #556; font-size: 14px; }

/* ============ 下载 ============ */
.download { background: #f7f9fc; }
.dl-list li { border-bottom: 1px dashed #dde5f0; }
.dl-list a {
  display: flex; justify-content: space-between; padding: 14px 6px; color: #33455f; transition: .3s;
}
.dl-list a::before { content: "📄 "; }
.dl-list a:hover { color: #1c60b8; padding-left: 16px; background: #fff; }
.dl-list span { color: #9aa5b4; font-size: 13px; }

/* ============ 企业文化 ============ */
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.culture-item {
  padding: 34px 16px; text-align: center; background: #fff; border: 1px solid #e8edf4;
  border-top: 3px solid #1c60b8; border-radius: 4px; transition: .35s;
}
.culture-item:hover { background: #1c60b8; color: #fff; transform: translateY(-6px); }
.culture-item h4 { font-size: 18px; margin-bottom: 8px; }
.culture-item p { color: #7a8592; }
.culture-item:hover p { color: #dce7f6; }

/* ============ 联系 ============ */
.contact { background: linear-gradient(120deg, #16305a, #0e2038 60%, #123f7d); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info { color: #c9d5e6; }
.contact-info p { margin-bottom: 12px; }
.contact-info b { color: #fff; }
.contact-info .slogan { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); text-indent: 2em; color: #a9b8cc; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-bottom: 14px; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 3px; background: rgba(255, 255, 255, .08); color: #fff; font: inherit; outline: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #93a3ba; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #e87a20; }
.contact-form .btn { width: 100%; border: 0; cursor: pointer; }
.form-tip { color: #7fd6a0; min-height: 24px; }

/* ============ 页脚 ============ */

/* ============ 回顶 ============ */
.back-top {
  position: fixed; right: 24px; bottom: 30px; width: 44px; height: 44px; border-radius: 50%;
  background: #1c60b8; color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .3s; z-index: 99;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: #e87a20; }

/* ============ 滚动出现 ============ */
