/* ===================================================
   天翔美福橡胶官网 · 前台样式
   风格：现代工业蓝（对标 adminbuy k461 模板，现代化重塑）
   =================================================== */
:root {
  --blue: #0b5cab;
  --blue-d: #0a3d75;
  --blue-dd: #082e57;
  --orange: #f79623;
  --text: #333;
  --text-2: #666;
  --text-3: #999;
  --line: #e5e9ef;
  --bg: #f5f7fa;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 92, 171, 0.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); font-size: 15px; line-height: 1.7; background: #fff; overflow-x: hidden;
}
img { max-width: 100%; border: 0; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 14px; outline: none; }
.w { width: 1200px; max-width: 92%; margin: 0 auto; }
.c::after { content: ""; display: block; clear: both; }

/* ---------- 顶部 ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { max-height: 64px; width: auto; }
.logo-mark {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--blue-d));
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 1px;
}
.logo-txt b { display: block; font-size: 24px; color: var(--blue-d); letter-spacing: 2px; line-height: 1.2; }
.logo-txt i { display: block; font-style: normal; font-size: 12px; color: var(--text-3); letter-spacing: 2.5px; text-transform: uppercase; }
.top-contact { display: flex; align-items: center; gap: 12px; }
.tel-ico {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--orange), #ffa64d); position: relative;
}
.tel-ico::before {
  content: ""; position: absolute; inset: 12px;
  background: #fff;
  clip-path: polygon(22% 8%, 40% 8%, 46% 26%, 34% 36%, 52% 62%, 66% 56%, 84% 66%, 82% 86%, 64% 88%, 34% 60%, 22% 34%);
}
.tel-txt { font-size: 26px; font-weight: 700; color: var(--orange); line-height: 1.15; font-family: Arial, sans-serif; }
.tel-txt span { display: block; font-size: 12px; font-weight: 400; color: var(--text-3); letter-spacing: 1px; }
.nav-btn { display: none; }

/* ---------- 主导航 ---------- */
.mainnav { background: linear-gradient(90deg, var(--blue-d), var(--blue)); position: sticky; top: 0; z-index: 90; box-shadow: 0 2px 10px rgba(8, 46, 87, .25); }
.mainnav .w { display: flex; align-items: center; justify-content: space-between; }
.menu { display: flex; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 0 26px; color: #fff; font-size: 16px; line-height: 56px; position: relative;
}
.menu > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 8px; width: 0; height: 3px; border-radius: 2px;
  background: var(--orange); transform: translateX(-50%); transition: width .25s;
}
.menu > li:hover > a::after, .menu > li.on > a::after { width: 28px; }
.menu > li.on > a, .menu > li:hover > a { background: rgba(255, 255, 255, .08); }
.menu .sub {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%) translateY(8px);
  min-width: 168px; background: #fff; border-radius: 0 0 8px 8px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15); opacity: 0; visibility: hidden; transition: all .25s;
}
.menu .sub li a { display: block; padding: 10px 18px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--bg); }
.menu .sub li:last-child a { border-bottom: 0; }
.menu .sub li a:hover { background: var(--bg); color: var(--blue); padding-left: 24px; }
.menu > li:hover .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-search { display: flex; align-items: center; }
.nav-search input {
  width: 200px; height: 34px; border: 0; border-radius: 17px 0 0 17px; padding: 0 14px;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 13px; transition: background .2s;
}
.nav-search input::placeholder { color: rgba(255, 255, 255, .65); }
.nav-search input:focus { background: rgba(255, 255, 255, .95); color: var(--text); }
.nav-search button {
  width: 40px; height: 34px; border: 0; border-radius: 0 17px 17px 0; background: var(--orange); position: relative;
}
.nav-search button::before {
  content: ""; position: absolute; left: 12px; top: 9px; width: 12px; height: 12px;
  border: 2px solid #fff; border-radius: 50%;
}
.nav-search button::after {
  content: ""; position: absolute; left: 23px; top: 20px; width: 7px; height: 2px; background: #fff; transform: rotate(45deg);
}

/* 移动端菜单 */
.m-menu {
  position: fixed; left: 0; top: 0; bottom: 0; width: 78%; max-width: 340px; z-index: 200;
  background: #fff; transform: translateX(-105%); transition: transform .3s; overflow-y: auto; padding: 18px 0 80px;
}
.m-menu.open { transform: translateX(0); }
.m-menu > ul > li { border-bottom: 1px solid var(--bg); }
.m-menu > ul > li > a, .m-sub-t { display: block; padding: 14px 22px; font-size: 16px; color: var(--text); font-weight: 500; }
.m-sub ul { display: none; background: var(--bg); }
.m-sub ul li a { display: block; padding: 11px 22px 11px 36px; font-size: 14px; color: var(--text-2); }
.m-sub-t::after { content: "+"; float: right; color: var(--text-3); }
.m-sub-t.expanded::after { content: "−"; }
.m-search { display: flex; margin: 16px 22px; }
.m-search input { flex: 1; height: 40px; border: 1px solid var(--line); border-radius: 6px 0 0 6px; padding: 0 12px; }
.m-search button { width: 70px; border: 0; border-radius: 0 6px 6px 0; background: var(--blue); color: #fff; font-size: 14px; }
.m-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 190; opacity: 0; visibility: hidden; transition: opacity .3s; }
.m-mask.show { opacity: 1; visibility: visible; }

/* ---------- 首页轮播 ---------- */
.slider { position: relative; height: 520px; overflow: hidden; background: var(--blue-dd); }
.slides, .slide { width: 100%; height: 100%; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform 6s linear;
}
.slide.active { opacity: 1; transform: scale(1); }
.slide-cap { height: 100%; display: flex; align-items: flex-end; padding-bottom: 84px; }
.slide-cap h2 {
  color: #fff; font-size: 40px; font-weight: 700; letter-spacing: 3px; line-height: 1.3;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45); position: relative; padding-left: 24px;
}
.slide-cap h2::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 6px; border-radius: 3px; background: var(--orange);
}
.slider-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.slider-dots b { width: 28px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: background .3s, width .3s; }
.slider-dots b.on { background: var(--orange); width: 44px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; z-index: 5;
  background: rgba(0, 0, 0, .28); border-radius: 50%; opacity: 0; transition: opacity .3s, background .3s;
}
.slider:hover .slider-arrow { opacity: 1; }
.slider-arrow.prev { left: 26px; }
.slider-arrow.next { right: 26px; }
.slider-arrow.prev::before, .slider-arrow.next::before {
  content: ""; position: absolute; top: 17px; width: 14px; height: 14px;
  border-left: 3px solid #fff; border-bottom: 3px solid #fff;
}
.slider-arrow.prev::before { left: 19px; transform: rotate(45deg); }
.slider-arrow.next::before { right: 19px; transform: rotate(-135deg); }
.slider-arrow:hover { background: var(--blue); }

/* ---------- 关键词条 ---------- */
.kwbar { position: relative; z-index: 10; margin-top: -44px; }
.kwbar-in {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; padding: 16px 26px; gap: 18px;
}
.kw-text { font-size: 14px; color: var(--text-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.kw-text b { color: var(--blue-d); margin-right: 8px; }
.kw-text a { margin-right: 4px; color: var(--text-2); }
.kw-text a:hover { color: var(--blue); }
.kw-search { display: flex; flex: none; }
.kw-search input {
  width: 230px; height: 40px; border: 1px solid var(--line); border-right: 0; border-radius: 6px 0 0 6px; padding: 0 14px;
}
.kw-search input:focus { border-color: var(--blue); }
.kw-search button { width: 76px; height: 40px; border: 0; border-radius: 0 6px 6px 0; background: var(--blue); color: #fff; font-size: 14px; letter-spacing: 2px; }
.kw-search button:hover { background: var(--blue-d); }

/* ---------- 通用栏目 ---------- */
.sec { padding: 72px 0; }
.sec-gray { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 42px; position: relative; }
.sec-head h3 { display: inline-block; font-size: 30px; color: var(--text); letter-spacing: 2px; position: relative; padding: 0 0 14px; }
.sec-head h3::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 46px; height: 4px; border-radius: 2px; background: var(--blue);
}
.sec-head span {
  display: block; margin-top: 10px; font-size: 13px; color: #b9c2cd; letter-spacing: 4px; text-transform: uppercase;
}
.sec-head p { margin-top: 10px; color: var(--text-2); font-size: 14px; }
.sec-head-left { text-align: left; margin-bottom: 22px; }
.sec-head-left h3::after { left: 0; transform: none; }
.sec-head-left span { margin-top: 6px; }
.sec-more { text-align: center; margin-top: 40px; }
.btn-more {
  display: inline-block; padding: 12px 44px; border: 1px solid var(--blue); border-radius: 30px;
  color: var(--blue); font-size: 14px; letter-spacing: 2px; transition: all .25s;
}
.btn-more:hover { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary {
  display: inline-block; padding: 12px 32px; background: linear-gradient(90deg, var(--blue), #1373cf);
  border-radius: 8px; color: #fff; font-size: 15px; border: 0; letter-spacing: 1px; transition: all .25s;
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(11, 92, 171, .35); transform: translateY(-2px); color: #fff; }
.btn-ghost {
  display: inline-block; padding: 12px 32px; border: 1px solid var(--blue); border-radius: 8px;
  color: var(--blue); font-size: 15px; transition: all .25s;
}
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-block { display: block; text-align: center; }

/* 分类胶囊 */
.cat-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.cat-pills-left { justify-content: flex-start; }
.cat-pills a {
  padding: 9px 22px; border-radius: 20px; background: var(--bg); color: var(--text-2); font-size: 14px; transition: all .2s;
}
.cat-pills a:hover { color: var(--blue); }
.cat-pills a.on { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(11, 92, 171, .3); }

/* ---------- 产品卡片 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-grid-3 { grid-template-columns: repeat(3, 1fr); }
.prod-grid-4 { grid-template-columns: repeat(4, 1fr); }
.prod-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s; display: block;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(11, 92, 171, .35); }
.pc-img { aspect-ratio: 1/1; overflow: hidden; background: var(--bg); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-card:hover .pc-img img { transform: scale(1.06); }
.pc-name {
  display: block; padding: 14px 16px 4px; font-size: 15px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;
}
.pc-cat { display: block; padding: 0 16px 16px; text-align: center; font-size: 12px; color: var(--text-3); }

/* ---------- 首页关于 ---------- */
.about-wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 50px; align-items: center; }
.about-pic { position: relative; }
.about-pic img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.about-badge {
  position: absolute; right: -18px; bottom: -26px; width: 128px; height: 128px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(10, 61, 117, .4);
}
.about-badge b { font-size: 34px; line-height: 1; font-family: Arial, sans-serif; }
.about-badge b span { font-size: 20px; }
.about-badge i { font-style: normal; font-size: 13px; margin-top: 6px; opacity: .9; }
.about-sum { color: var(--text-2); text-align: justify; }
.about-points { margin: 20px 0 26px; }
.about-points li { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--text); font-size: 15px; }
.about-points li i {
  width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(11, 92, 171, .12); position: relative;
}
.about-points li i::after {
  content: ""; position: absolute; left: 5px; top: 4px; width: 6px; height: 8px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(40deg);
}
.about-btns { display: flex; gap: 14px; }

/* ---------- 首页案例滚动 ---------- */
.case-strip { overflow: hidden; position: relative; }
.case-track { display: flex; gap: 24px; width: max-content; }
.case-strip:hover .case-track { animation-play-state: paused; }
.case-track { animation: casescroll 40s linear infinite; }
@keyframes casescroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.case-card {
  width: 300px; flex: none; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: all .3s; display: block;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cc-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg); }
.cc-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card > span { display: block; padding: 12px 14px; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 首页新闻 ---------- */
.news-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.news-lead a { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: all .3s; height: 100%; }
.news-lead a:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.nl-img { aspect-ratio: 16/8.5; overflow: hidden; background: var(--bg); }
.nl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-lead a:hover .nl-img img { transform: scale(1.05); }
.nl-txt { padding: 20px 24px 24px; }
.nl-txt h4 { font-size: 18px; color: var(--text); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-lead a:hover .nl-txt h4 { color: var(--blue); }
.nl-txt p { margin: 10px 0 12px; color: var(--text-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nl-date { color: var(--text-3); font-size: 13px; }
.news-list li { display: flex; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.news-list li:last-child { border-bottom: 0; }
.news-list h5 { font-size: 16px; color: var(--text); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-list li:hover h5 { color: var(--blue); }
.news-list p { font-size: 13px; color: var(--text-3); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 日期块 */
.nd {
  flex: none; width: 62px; height: 62px; border-radius: 8px; background: var(--bg); text-align: center;
  display: flex; flex-direction: column; justify-content: center; color: var(--text-3); border: 1px solid var(--line);
}
.nd b { display: block; font-size: 24px; color: var(--blue); line-height: 1.1; font-family: Arial, sans-serif; }
.nd i { font-style: normal; font-size: 11px; }
li:hover .nd, .news-row:hover .nd { background: var(--blue); border-color: var(--blue); }
li:hover .nd b, .news-row:hover .nd b { color: #fff; }
li:hover .nd i, .news-row:hover .nd i { color: rgba(255, 255, 255, .8); }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(90deg, var(--blue-d), var(--blue) 55%, #1a6fc4); padding: 46px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-txt h3 { color: #fff; font-size: 24px; letter-spacing: 1px; }
.cta-txt p { color: rgba(255, 255, 255, .8); margin-top: 6px; font-size: 14px; }
.cta-acts { display: flex; align-items: center; gap: 16px; flex: none; }
.cta-tel {
  display: flex; align-items: center; gap: 12px; color: #fff; font-size: 30px; font-weight: 700; font-family: Arial, sans-serif;
}
.cta-tel i {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .15); position: relative; flex: none;
}
.cta-tel i::before {
  content: ""; position: absolute; inset: 11px; background: #fff;
  clip-path: polygon(22% 8%, 40% 8%, 46% 26%, 34% 36%, 52% 62%, 66% 56%, 84% 66%, 82% 86%, 64% 88%, 34% 60%, 22% 34%);
}
.cta-btn {
  padding: 13px 34px; background: var(--orange); color: #fff; border-radius: 8px; font-size: 15px; letter-spacing: 1px; transition: all .25s;
}
.cta-btn:hover { background: #ff8a00; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(247, 150, 35, .4); }

/* ---------- 栏目横条 ---------- */
.band {
  background: linear-gradient(90deg, var(--blue-dd), var(--blue-d) 60%, #12568f);
  padding: 40px 0 34px; color: #fff;
}
.band-t { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.band-t h1 { font-size: 30px; letter-spacing: 2px; }
.band-en { font-size: 13px; letter-spacing: 3px; color: rgba(255, 255, 255, .5); text-transform: uppercase; }
.crumb { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.crumb a { color: rgba(255, 255, 255, .75); }
.crumb a:hover { color: #fff; }
.crumb i { margin: 0 8px; font-style: normal; }

/* ---------- 列表页布局 ---------- */
.list-layout { display: grid; grid-template-columns: 262px 1fr; gap: 34px; align-items: start; }
.side-box, .side-contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-box { margin-bottom: 24px; }
.side-box h4 {
  background: linear-gradient(90deg, var(--blue-d), var(--blue)); color: #fff; font-size: 17px;
  padding: 14px 20px; letter-spacing: 1px;
}
.side-cats li a { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--bg); color: var(--text-2); font-size: 14px; transition: all .2s; }
.side-cats li:last-child a { border-bottom: 0; }
.side-cats li a i {
  width: 7px; height: 7px; border-top: 2px solid #c3ccd6; border-right: 2px solid #c3ccd6; transform: rotate(45deg); transition: all .2s;
}
.side-cats li a:hover, .side-cats li.on a { color: var(--blue); background: var(--bg); padding-left: 26px; }
.side-cats li.on a i { border-color: var(--blue); }
.side-contact { padding: 26px 22px; text-align: center; background: var(--bg); }
.side-contact p { color: var(--text-2); font-size: 14px; }
.side-contact b { display: block; color: var(--orange); font-size: 24px; font-family: Arial, sans-serif; margin: 8px 0 16px; }
.list-tip { color: var(--text-3); font-size: 13px; margin: -18px 0 18px; }
.list-tip b { color: var(--blue); font-weight: 600; }

/* ---------- 新闻列表 ---------- */
.news-rows { display: flex; flex-direction: column; gap: 14px; }
.news-row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .25s; }
.news-row:hover { border-color: rgba(11, 92, 171, .4); box-shadow: var(--shadow); transform: translateY(-3px); }
.nr-link { display: flex; gap: 18px; padding: 20px; align-items: center; }
.nr-txt { flex: 1; min-width: 0; }
.nr-txt h5 { font-size: 16px; color: var(--text); line-height: 1.5; }
.news-row:hover .nr-txt h5 { color: var(--blue); }
.nr-txt p { font-size: 13px; color: var(--text-3); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nr-meta { display: inline-block; margin-top: 8px; font-size: 12px; color: #b9c2cd; }
.nr-img { flex: none; width: 190px; aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; background: var(--bg); }
.nr-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 案例列表 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-big { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s; display: block; }
.case-big:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cb-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg); }
.cb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-big:hover .cb-img img { transform: scale(1.05); }
.cb-txt { padding: 18px 20px 20px; }
.cb-txt em { font-style: normal; font-size: 12px; color: var(--blue); background: rgba(11, 92, 171, .08); padding: 3px 12px; border-radius: 12px; }
.cb-txt h5 { font-size: 16px; color: var(--text); margin-top: 10px; line-height: 1.5; }
.case-big:hover .cb-txt h5 { color: var(--blue); }
.cb-txt p { font-size: 13px; color: var(--text-3); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 详情页 ---------- */
.detail-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.dg-main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); aspect-ratio: 1/1; }
.dg-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.dg-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.dg-thumb { width: 74px; height: 74px; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; padding: 0; background: var(--bg); transition: border-color .2s; }
.dg-thumb.on, .dg-thumb:hover { border-color: var(--blue); }
.dg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dg-tip { margin-top: 10px; font-size: 12px; color: var(--text-3); }
.d-info h1 { font-size: 26px; color: var(--text); line-height: 1.4; }
.d-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 4px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--text-3); }
.d-meta i { font-style: normal; color: var(--text-3); }
.d-meta a { color: var(--blue); }
.d-summary { margin: 16px 0; padding: 14px 18px; background: var(--bg); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; color: var(--text-2); font-size: 14px; }
.param-table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; }
.param-table caption { text-align: left; font-size: 16px; font-weight: 600; color: var(--blue-d); padding-bottom: 10px; }
.param-table tr { border-bottom: 1px solid var(--line); }
.param-table th { width: 130px; text-align: left; padding: 10px 14px; background: var(--bg); color: var(--text-2); font-weight: 500; font-size: 13px; }
.param-table td { padding: 10px 14px; color: var(--text); font-size: 14px; }
.d-acts { display: flex; gap: 14px; margin-top: 6px; }
.detail-block { margin-top: 46px; }
.db-title { font-size: 20px; color: var(--text); padding-left: 14px; border-left: 4px solid var(--blue); margin-bottom: 20px; letter-spacing: 1px; }
.d-page { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 13px; }
.d-page a, .d-page span { color: var(--text-3); max-width: 48%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-page a:hover { color: var(--blue); }

/* 图文内容排版 */
.rich { color: var(--text-2); font-size: 15px; line-height: 1.9; }
.rich p { margin: 0 0 14px; }
.rich img { max-width: 100%; height: auto; border-radius: 8px; margin: 8px 0; }
.rich strong, .rich b { color: var(--text); }
.rich ul, .rich ol { padding-left: 22px; margin: 0 0 14px; }
.rich ul li { list-style: disc; }
.rich ol li { list-style: decimal; }
.rich table { border-collapse: collapse; width: 100%; margin: 10px 0 16px; }
.rich table td, .rich table th { border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; }

/* 新闻详情 */
.detail-article { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.art-head { padding-bottom: 18px; border-bottom: 1px dashed var(--line); margin-bottom: 22px; }
.art-head h1 { font-size: 26px; line-height: 1.45; color: var(--text); }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: 13px; color: var(--text-3); }
.art-meta a { color: var(--blue); }
.art-summary { padding: 14px 18px; background: var(--bg); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; color: var(--text-2); font-size: 14px; margin-bottom: 20px; }
.side-news li { padding: 11px 0; border-bottom: 1px dashed var(--line); }
.side-news li:last-child { border-bottom: 0; }
.side-news li a { display: block; font-size: 14px; color: var(--text-2); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-news li a:hover { color: var(--blue); }
.side-news li i { font-style: normal; font-size: 12px; color: #b9c2cd; }

/* 联系我们 */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 44px; }
.c-card {
  background: var(--bg); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: all .3s;
  border: 1px solid transparent;
}
.c-card:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-5px); }
.cc-ico { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; background: rgba(11, 92, 171, .1); position: relative; }
.cc-ico::before { content: ""; position: absolute; inset: 14px; background: var(--blue); }
.cc-tel::before { clip-path: polygon(22% 8%, 40% 8%, 46% 26%, 34% 36%, 52% 62%, 66% 56%, 84% 66%, 82% 86%, 64% 88%, 34% 60%, 22% 34%); }
.cc-phone::before { border-radius: 3px; clip-path: polygon(28% 0, 72% 0, 78% 12%, 78% 100%, 62% 100%, 62% 92%, 38% 92%, 38% 100%, 22% 100%, 22% 12%); }
.cc-mail::before { clip-path: polygon(0 18%, 100% 18%, 100% 82%, 0 82%, 0 22%, 50% 55%, 100% 22%, 100% 18%); }
.cc-addr::before { clip-path: polygon(50% 0, 82% 30%, 82% 62%, 50% 100%, 18% 62%, 18% 30%); }
.c-card h5 { margin-top: 14px; font-size: 15px; color: var(--text-2); font-weight: 500; }
.c-card b { display: block; font-size: 18px; color: var(--blue-d); margin-top: 6px; word-break: break-all; }
.c-card b.addr-txt { font-size: 14px; line-height: 1.6; }
.c-card p { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.contact-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.c-form, .c-map { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.c-form h3, .c-map h3 { font-size: 20px; color: var(--text); padding-left: 12px; border-left: 4px solid var(--blue); margin-bottom: 8px; }
.c-form-tip { color: var(--text-3); font-size: 13px; margin-bottom: 18px; }
.form-ok { background: #e8f6ec; color: #1c7a3c; border: 1px solid #bfe6cc; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-item { margin-bottom: 16px; }
.f-item label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.f-item label em { color: #d9534f; font-style: normal; }
.f-item input, .f-item textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font-size: 14px; transition: border-color .2s; resize: vertical;
}
.f-item input:focus, .f-item textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 92, 171, .1); }
.hp-field { position: absolute !important; left: -9999px !important; height: 0 !important; width: 0 !important; opacity: 0 !important; }
.btn-submit { width: 100%; padding: 13px; font-size: 15px; letter-spacing: 4px; }
.map-ph {
  margin-top: 16px; border-radius: 10px; background: linear-gradient(160deg, #eaf2fb, #dbe9f8); border: 1px dashed #b8cde6;
  min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 30px;
}
.map-ph i {
  width: 34px; height: 34px; background: var(--blue); clip-path: polygon(50% 0, 82% 30%, 82% 62%, 50% 100%, 18% 62%, 18% 30%);
}
.map-ph b { font-size: 15px; color: var(--blue-d); }
.map-ph p { color: var(--text-2); font-size: 14px; }
.map-ph span { color: #8fa8c4; font-size: 12px; }

/* 搜索页 */
.search-big { display: flex; max-width: 640px; margin: 0 auto 40px; }
.search-big input { flex: 1; height: 48px; border: 2px solid var(--blue); border-right: 0; border-radius: 8px 0 0 8px; padding: 0 18px; font-size: 15px; }
.search-big button { width: 110px; height: 48px; border: 0; border-radius: 0 8px 8px 0; background: var(--blue); color: #fff; font-size: 15px; letter-spacing: 4px; }

/* 404 */
.sec-404 { padding: 90px 0; }
.nf-box { text-align: center; }
.nf-box b { display: block; font-size: 110px; color: var(--blue); opacity: .18; font-family: Arial, sans-serif; line-height: 1; }
.nf-box p { margin: 18px 0 26px; color: var(--text-2); font-size: 16px; }
.nf-acts { display: flex; gap: 14px; justify-content: center; }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pager a { min-width: 38px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; line-height: 36px; text-align: center; color: var(--text-2); font-size: 14px; transition: all .2s; }
.pager a:hover, .pager a.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.empty-tip { padding: 50px 0; text-align: center; color: var(--text-3); font-size: 14px; }

/* 关于页 */
.pic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pic-item { border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.pic-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.pic-item:hover img { transform: scale(1.05); }
.culture-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; }
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.honor-item { background: var(--bg); border-radius: var(--radius); padding: 20px; text-align: center; }
.honor-ph {
  border-radius: 8px; border: 1px dashed #b8cde6; background: linear-gradient(160deg, #eaf2fb, #dbe9f8);
  aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.honor-ph span { color: var(--blue-d); font-size: 15px; font-weight: 600; }
.honor-ph i { font-style: normal; color: #8fa8c4; font-size: 12px; }
.honor-item p { margin-top: 12px; color: var(--text-2); font-size: 14px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--blue-dd); color: #a8bdd2; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 3fr 2fr 2fr 3fr 2fr; gap: 34px; padding: 52px 0 40px; }
.f-col h4 { color: #fff; font-size: 17px; margin-bottom: 18px; letter-spacing: 1px; position: relative; padding-bottom: 10px; }
.f-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; background: var(--orange); border-radius: 2px; }
.f-about p { font-size: 13px; line-height: 1.9; }
.f-contact-line { margin-top: 14px; font-size: 14px; line-height: 2; color: #cfdff0; }
.ic { display: inline-block; width: 15px; height: 15px; margin-right: 8px; background: #7fa4c9; }
.ic-tel { clip-path: polygon(22% 8%, 40% 8%, 46% 26%, 34% 36%, 52% 62%, 66% 56%, 84% 66%, 82% 86%, 64% 88%, 34% 60%, 22% 34%); }
.ic-mail { clip-path: polygon(0 18%, 100% 18%, 100% 82%, 0 82%, 0 22%, 50% 55%, 100% 22%, 100% 18%); }
.f-col ul li { padding: 4px 0; }
.f-col ul li a { font-size: 13px; color: #a8bdd2; }
.f-col ul li a:hover { color: #fff; padding-left: 4px; }
.f-addr li { font-size: 13px; line-height: 1.9; }
.qr-box { text-align: center; }
.qr-box img, .qr-ph { width: 120px; height: 120px; margin: 0 auto; border-radius: 8px; }
.qr-ph {
  border: 1px dashed #3d6a99; background: rgba(255, 255, 255, .05);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.qr-ph span { font-size: 13px; color: #7fa4c9; }
.qr-ph i { font-style: normal; font-size: 10px; color: #4d7bab; }
.qr-box p { margin-top: 10px; font-size: 12px; color: #7fa4c9; }
.foot-bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; }
.foot-bar-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 12px; color: #6f93b8; }
.foot-bar-in a { color: #6f93b8; }
.foot-bar-in a:hover { color: #fff; }
.sitemap-link { margin-left: auto; }

/* ---------- 右侧悬浮 ---------- */
.side-fix { position: fixed; right: 14px; top: 42%; z-index: 80; display: flex; flex-direction: column; gap: 8px; }
.sf {
  width: 56px; height: 56px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; position: relative;
}
.sf i { display: block; width: 20px; height: 20px; background: var(--blue); }
.sf em { font-style: normal; font-size: 11px; color: var(--text-2); }
.sf:hover { background: var(--blue); border-color: var(--blue); }
.sf:hover i, .sf:hover em { background: transparent; color: #fff; }
.sf-tel i { clip-path: polygon(22% 8%, 40% 8%, 46% 26%, 34% 36%, 52% 62%, 66% 56%, 84% 66%, 82% 86%, 64% 88%, 34% 60%, 22% 34%); }
.sf-tel:hover em { background: transparent; }
.sf-wx i {
  clip-path: polygon(0 30%, 100% 30%, 100% 70%, 60% 70%, 30% 92%, 30% 70%, 0 70%);
  border-radius: 3px; box-shadow: 0 -8px 0 -2px var(--blue), 0 0 0 2px var(--blue); background: var(--blue);
}
.sf-top i {
  background: transparent; border: 2px solid var(--blue); border-radius: 2px; position: relative; box-sizing: border-box;
}
.sf-top i::after {
  content: ""; position: absolute; left: 4px; top: 5px; width: 8px; height: 8px;
  border-left: 2px solid var(--blue); border-top: 2px solid var(--blue); transform: rotate(45deg);
}
.sf:hover.sf-top i { border-color: #fff; }
.sf:hover.sf-top i::after { border-color: #fff; }
.sf-pop {
  position: absolute; right: 66px; top: 0; width: 150px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; text-align: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateX(8px); transition: all .25s;
}
.sf-wx:hover .sf-pop { opacity: 1; visibility: visible; transform: translateX(0); }
.sf-pop img { width: 126px; height: 126px; margin: 0 auto; border-radius: 6px; }
.sf-pop b { display: block; margin-top: 8px; font-size: 12px; color: var(--text-2); }

/* ---------- 移动端底栏 ---------- */
.m-bottombar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  background: linear-gradient(90deg, var(--blue-d), var(--blue));
}
.m-bottombar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 50%; float: left; color: #fff; font-size: 14px; padding: 12px 0;
}
.m-bottombar a + a { border-left: 1px solid rgba(255, 255, 255, .18); }
.mb-ico { width: 18px; height: 18px; background: #fff; }
.mb-tel { clip-path: polygon(22% 8%, 40% 8%, 46% 26%, 34% 36%, 52% 62%, 66% 56%, 84% 66%, 82% 86%, 64% 88%, 34% 60%, 22% 34%); }
.mb-msg { clip-path: polygon(0 12%, 100% 12%, 100% 68%, 55% 68%, 28% 88%, 28% 68%, 0 68%); }

/* ---------- 滚动浮现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .case-track { animation: none; }
}

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8, 20, 35, .88);
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .25s;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 10px 50px rgba(0, 0, 0, .5); }
.lightbox-close {
  position: absolute; right: 26px; top: 20px; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 34px; line-height: 44px;
}

/* ===================================================
   响应式
   =================================================== */
@media (max-width: 1100px) {
  .menu > li > a { padding: 0 16px; font-size: 15px; }
  .nav-search input { width: 150px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-search { display: none; }
  .menu > li > a { padding: 0 12px; font-size: 14px; }
  .prod-grid, .prod-grid-3, .prod-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .pic-grid, .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .news-wrap, .about-wrap, .detail-wrap, .contact-lower { grid-template-columns: 1fr; }
  .detail-article { grid-template-columns: 1fr; }
  .about-wrap { gap: 40px; }
  .list-layout { grid-template-columns: 1fr; }
  .side { order: 2; }
  .side-box, .side-contact { max-width: 420px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; padding: 40px 0 30px; }
  .slider { height: 400px; }
  .side-fix { display: none; }
}
@media (max-width: 768px) {
  body { padding-bottom: 52px; }
  .topbar-in { height: 70px; }
  .logo img { max-height: 44px; }
  .logo-mark { width: 42px; height: 42px; font-size: 18px; border-radius: 10px; }
  .logo-txt b { font-size: 19px; }
  .top-contact { display: none; }
  .nav-btn {
    display: block; width: 42px; height: 42px; border: 0; background: transparent; position: relative;
  }
  .nav-btn span {
    display: block; width: 24px; height: 2px; background: var(--blue-d); margin: 5px auto; border-radius: 2px; transition: all .3s;
  }
  .mainnav { display: none; }
  .sec { padding: 46px 0; }
  .slider { height: 240px; }
  .slide-cap { padding-bottom: 34px; }
  .slide-cap h2 { font-size: 20px; padding-left: 14px; letter-spacing: 1px; }
  .slider-arrow { display: none; }
  .kwbar { margin-top: -26px; }
  .kwbar-in { flex-direction: column; align-items: stretch; padding: 14px 16px; }
  .kw-text { display: none; }
  .kw-search input { flex: 1; width: auto; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h3 { font-size: 22px; }
  .prod-grid, .prod-grid-3, .prod-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pc-name { font-size: 13px; padding: 10px 10px 4px; }
  .pc-cat { display: none; }
  .cat-pills { margin-bottom: 22px; gap: 8px; }
  .cat-pills a { padding: 7px 16px; font-size: 13px; }
  .about-badge { right: 6px; bottom: -18px; width: 96px; height: 96px; }
  .about-badge b { font-size: 24px; }
  .about-badge i { font-size: 11px; }
  .about-btns { flex-wrap: wrap; }
  .band { padding: 26px 0 22px; }
  .band-t h1 { font-size: 22px; }
  .d-info h1, .art-head h1 { font-size: 20px; }
  .news-row { padding: 0; }
  .nr-link { padding: 14px; gap: 12px; }
  .nr-img { display: none; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .contact-lower { gap: 20px; }
  .c-form, .c-map { padding: 20px 16px; }
  .cta-tel { font-size: 22px; }
  .cta-txt h3 { font-size: 18px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .f-about { grid-column: 1 / -1; }
  .f-qr { grid-column: 1 / -1; }
  .m-bottombar { display: block; }
  .m-bottombar a { float: none; width: auto; display: inline-flex; width: 50%; }
  .nf-box b { font-size: 72px; }
  .dg-thumb { width: 58px; height: 58px; }
  .d-page { flex-direction: column; }
  .d-page a, .d-page span { max-width: 100%; white-space: normal; }
}
