@charset "utf-8";
/* ==========================================================================
   maigaojg.com — 麦高激光科技（广州）有限公司  站点样式
   ========================================================================== */

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, pre, form,
fieldset, input, textarea, button, select, table, th, td { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.8; color: #333; background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--c1); }
img { max-width: 100%; height: auto; display: block; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.4; }
input, textarea, button, select { font-family: inherit; font-size: inherit; color: inherit; outline: none; }
table { border-collapse: collapse; width: 100%; }
svg { display: block; }

:root {
  --c1: #0b4a8f; --c1d: #083a72; --c2: #1e9fd8;
  --dark: #1c2733; --gray: #6b7684; --line: #e6ebf1;
  --bg: #f5f8fb; --bg2: #eef3f8; --radius: 4px;
  --shadow: 0 8px 26px rgba(11, 74, 143, .10);
}
.wrap { width: 1200px; max-width: 94%; margin: 0 auto; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--dark); color: #b9c4d0; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar .tb-r a { color: #b9c4d0; margin-left: 16px; }
.topbar .tb-r a:hover { color: #fff; }

/* ---------- 头部 ---------- */
.header { background: #fff; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.logo img { height: 58px; width: auto; }
.hd-right { display: flex; align-items: center; gap: 34px; }
.hd-slogan { text-align: right; line-height: 1.35; }
.hd-slogan .l1 { display: block; font-size: 15px; color: var(--c1); letter-spacing: 1px; }
.hd-slogan .l2 { display: block; font-size: 12px; color: var(--gray); letter-spacing: 3px; }
.hd-tel { display: flex; align-items: center; gap: 10px; }
.hd-tel .ico {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: flex; align-items: center; justify-content: center;
}
.hd-tel .ico svg { width: 21px; height: 21px; fill: #fff; }
.hd-tel .txt small { display: block; font-size: 12px; color: var(--gray); line-height: 1.2; }
.hd-tel .txt b { display: block; font-size: 20px; color: var(--c1); letter-spacing: .5px; line-height: 1.3; }

/* ---------- 主导航 ---------- */
.navbar { background: var(--c1); position: relative; z-index: 60; }
.navbar .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav { display: flex; flex-wrap: wrap; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 0 22px; height: 54px; line-height: 54px;
  color: #fff; font-size: 16px; position: relative; white-space: nowrap;
}
.nav > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 9px; width: 0; height: 2px;
  background: #fff; transition: width .25s; transform: translateX(-50%);
}
.nav > li:hover > a::after, .nav > li.on > a::after { width: 34px; }
.nav > li.on > a, .nav > li:hover > a { background: rgba(0, 0, 0, .14); color: #fff; }
.sub {
  display: none; position: absolute; left: 0; top: 54px; min-width: 200px;
  background: #fff; z-index: 70; box-shadow: 0 10px 26px rgba(0, 0, 0, .14);
  border-top: 3px solid var(--c2);
}
.nav > li:hover .sub { display: block; }
.sub li a {
  display: block; padding: 11px 20px; color: #444; font-size: 14px;
  border-bottom: 1px solid #f1f4f8; white-space: nowrap;
}
.sub li a:hover, .sub li.on a { background: var(--c1); color: #fff; }
.nav-search { display: flex; }
.nav-search input {
  width: 180px; height: 34px; border: none; padding: 0 12px;
  background: rgba(255, 255, 255, .18); color: #fff;
}
.nav-search input::placeholder { color: rgba(255, 255, 255, .78); }
.nav-search button {
  width: 52px; height: 34px; border: none; cursor: pointer; color: #fff;
  background: rgba(0, 0, 0, .2);
}
.nav-search button:hover { background: rgba(0, 0, 0, .34); }
.nav-toggle { display: none; width: 46px; height: 46px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 10px; }

/* ---------- 首页轮播 ---------- */
.banner { position: relative; height: 520px; overflow: hidden; background: var(--c1d); }
.banner .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
  background-size: cover; background-position: center;
}
.banner .slide.on { opacity: 1; }
.banner .slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 32, 62, .74) 0%, rgba(6, 32, 62, .36) 55%, rgba(6, 32, 62, .12) 100%);
}
.banner .cap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 3; }
.banner .cap .wrap { color: #fff; }
.banner .cap b { display: block; font-size: 40px; line-height: 1.3; letter-spacing: 2px; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.banner .cap span { display: block; margin-top: 12px; font-size: 17px; opacity: .94; max-width: 640px; }
.banner .cap .cap-btn {
  display: inline-block; margin-top: 26px; padding: 11px 32px;
  border: 1px solid rgba(255, 255, 255, .8); color: #fff; font-size: 15px;
}
.banner .cap .cap-btn:hover { background: #fff; color: var(--c1); }
.banner .dots { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; z-index: 5; }
.banner .dots i {
  display: inline-block; width: 30px; height: 4px; margin: 0 5px;
  background: rgba(255, 255, 255, .45); cursor: pointer; transition: background .25s;
}
.banner .dots i.on { background: #fff; }
.banner .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 78px;
  line-height: 78px; text-align: center; color: #fff; font-size: 26px;
  background: rgba(0, 0, 0, .22); cursor: pointer; z-index: 5; user-select: none;
}
.banner .arrow.prev { left: 0; }
.banner .arrow.next { right: 0; }
.banner .arrow:hover { background: rgba(0, 0, 0, .42); }

/* ---------- 快捷入口 ---------- */
.quickbar { background: var(--c1); }
.quickbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.quickbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px 10px; color: #fff; font-size: 16px; text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .14);
}
.quickbar a:last-child { border-right: none; }
.quickbar a:hover { background: var(--c1d); color: #fff; }
.quickbar a em { font-style: normal; font-size: 12px; opacity: .7; }

/* ---------- 通用版块 ---------- */
.section { padding: 64px 0; }
.section.gray { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 { font-size: 30px; color: #1a2431; position: relative; padding-bottom: 16px; display: inline-block; }
.sec-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 52px; height: 3px;
  background: var(--c1); transform: translateX(-50%);
}
.sec-head p { color: var(--gray); margin-top: 12px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.sec-head .more {
  display: inline-block; margin-top: 16px; padding: 8px 24px;
  border: 1px solid var(--c1); color: var(--c1); font-size: 14px;
}
.sec-head .more:hover { background: var(--c1); color: #fff; }
.btn {
  display: inline-block; padding: 11px 30px; background: var(--c1); color: #fff;
  border: 1px solid var(--c1); cursor: pointer; transition: .25s; font-size: 15px;
}
.btn:hover { background: var(--c2); border-color: var(--c2); color: #fff; }
.btn-line { background: transparent; border-color: var(--c1); color: var(--c1); }
.btn-line:hover { background: var(--c1); color: #fff; border-color: var(--c1); }
.btn-light { background: #fff; border-color: #fff; color: var(--c1); }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.sec-foot { text-align: center; margin-top: 34px; }

/* ---------- 关于我们 ---------- */
.about-box { display: flex; align-items: center; gap: 48px; }
.about-pic { width: 45%; flex: none; }
.about-pic img { width: 100%; border-radius: var(--radius); }
.about-txt { flex: 1; min-width: 0; }
.about-txt h3 { font-size: 25px; color: #1a2431; margin-bottom: 8px; }
.about-txt .en { font-size: 13px; color: var(--c2); letter-spacing: 2px; margin-bottom: 18px; }
.about-txt p { color: #4d5866; text-indent: 2em; margin-bottom: 12px; }
.about-txt .more {
  display: inline-block; margin-top: 14px; padding: 10px 28px;
  background: var(--c1); color: #fff; border: 1px solid var(--c1);
}
.about-txt .more:hover { background: var(--c2); border-color: var(--c2); color: #fff; }
.about-nums { display: flex; gap: 34px; margin-top: 28px; flex-wrap: wrap; }
.about-nums b { display: block; font-size: 32px; color: var(--c1); line-height: 1.2; }
.about-nums b i { font-style: normal; font-size: 16px; margin-left: 2px; }
.about-nums span { font-size: 13px; color: var(--gray); }

/* ---------- 优势 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat-item {
  background: #fff; border: 1px solid var(--line); padding: 32px 26px;
  transition: .3s; position: relative; overflow: hidden;
}
.feat-item::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0;
  background: var(--c2); transition: height .35s;
}
.feat-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feat-item:hover::before { height: 100%; }
.feat-item .fi {
  width: 58px; height: 58px; margin-bottom: 18px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.feat-item .fi svg { width: 28px; height: 28px; fill: #fff; }
.feat-item h4 { font-size: 17px; color: #1a2431; margin-bottom: 10px; }
.feat-item p { font-size: 13px; color: var(--gray); line-height: 1.75; }

/* ---------- 产品分类卡 ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 38px; }
.cat-card { position: relative; overflow: hidden; border-radius: var(--radius); display: block; }
.cat-card img { width: 100%; height: 186px; object-fit: cover; transition: transform .45s; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card .cn {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; color: #fff; font-size: 16px;
  background: linear-gradient(transparent, rgba(8, 30, 55, .84));
}
.cat-card .cn em { display: block; font-style: normal; font-size: 11px; opacity: .75; letter-spacing: 1px; }

/* ---------- 网格与卡片 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); transition: .3s; overflow: hidden; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card .pic { position: relative; overflow: hidden; }
.card .pic img { width: 100%; height: 200px; object-fit: cover; transition: transform .45s; }
.card:hover .pic img { transform: scale(1.06); }
.card .pic .tag {
  position: absolute; left: 0; top: 14px; background: rgba(11, 74, 143, .92);
  color: #fff; font-size: 12px; padding: 4px 12px;
}
.card .info { padding: 17px 18px 20px; }
.card .info h3 {
  font-size: 16px; color: #1a2431; margin-bottom: 8px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card .info p { font-size: 13px; color: var(--gray); height: 44px; overflow: hidden; line-height: 1.7; }
.card .info .lk { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--c1); }
.card .info .lk:hover { color: var(--c2); }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-grid a { display: block; position: relative; overflow: hidden; border-radius: var(--radius); }
.case-grid img { width: 100%; height: 210px; object-fit: cover; transition: transform .45s; }
.case-grid a:hover img { transform: scale(1.07); }
.case-grid a .cs-t {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; color: #fff;
  font-size: 14px; line-height: 1.5; background: linear-gradient(transparent, rgba(8, 30, 55, .86));
}

/* ---------- 新闻 ---------- */
.news-list { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; }
.news-main .nl-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.news-main .nl-item:first-child { padding-top: 0; }
.news-main .nl-item:last-child { border-bottom: none; }
.news-main .nl-date { width: 66px; flex: none; text-align: center; background: var(--bg2); padding: 9px 0; height: 66px; }
.news-main .nl-date b { display: block; font-size: 23px; color: var(--c1); line-height: 1.1; }
.news-main .nl-date span { font-size: 12px; color: var(--gray); }
.news-main .nl-txt { min-width: 0; }
.news-main .nl-txt h3 { font-size: 16px; color: #1a2431; margin-bottom: 6px; }
.news-main .nl-txt p { font-size: 13px; color: var(--gray); height: 44px; overflow: hidden; }
.news-side .ns-item { position: relative; margin-bottom: 16px; display: block; overflow: hidden; border-radius: var(--radius); }
.news-side .ns-item img { width: 100%; height: 150px; object-fit: cover; transition: transform .45s; }
.news-side .ns-item:hover img { transform: scale(1.06); }
.news-side .ns-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 12px; color: #fff;
  font-size: 14px; background: linear-gradient(transparent, rgba(8, 30, 55, .84));
}

/* ---------- 底部 CTA ---------- */
.foot-cta { background: linear-gradient(120deg, var(--c1d), var(--c1) 55%, var(--c2)); color: #fff; }
.foot-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 0; }
.foot-cta h3 { font-size: 22px; margin-bottom: 8px; }
.foot-cta p { font-size: 14px; opacity: .92; }
.foot-cta .fc-btn { display: flex; gap: 14px; flex: none; }

/* ---------- 页脚 ---------- */
.footer { background: #202a36; color: #98a4b2; font-size: 14px; }
.footer .fmain { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding: 52px 0 38px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--c2); }
.footer .fabout p { line-height: 1.85; }
.footer .fabout .fdesc { margin-top: 12px; font-size: 13px; color: #8b97a5; }
.footer ul li { padding: 6px 0; }
.footer ul li a:hover { color: #fff; }
.footer .fcontact b { color: #d7dee6; font-weight: 400; }
.fbottom { border-top: 1px solid #2c3846; padding: 18px 0; }
.fbottom .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.fbottom a { color: #98a4b2; }
.fbottom a:hover { color: #fff; }

/* ---------- 固定工具条 ---------- */
.fixed-tools { position: fixed; right: 14px; bottom: 70px; z-index: 90; display: none; }
.fixed-tools a {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; margin-bottom: 8px; font-size: 13px;
  background: var(--c1); color: #fff; border-radius: var(--radius); opacity: .92;
}
.fixed-tools a:hover { opacity: 1; color: #fff; }
.fixed-tools .back-top { display: none; }

/* ---------- 面包屑 ---------- */
.crumb { background: var(--bg2); border-bottom: 1px solid var(--line); }
.crumb .wrap { min-height: 52px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--gray); padding: 10px 0; }
.crumb a { color: var(--gray); }
.crumb a:hover { color: var(--c1); }

/* ---------- 内页 ---------- */
.page-main { padding: 44px 0 64px; }
.page-title { text-align: center; margin-bottom: 30px; }
.page-title h1 { font-size: 27px; color: #1a2431; }
.page-title .meta { color: var(--gray); font-size: 13px; margin-top: 10px; }
.page-title .meta span { margin: 0 8px; }
.detail { padding: 6px 0 34px; }
.detail h2 { font-size: 20px; color: #1a2431; margin: 30px 0 14px; border-left: 4px solid var(--c1); padding-left: 13px; }
.detail h3 { font-size: 17px; color: #1a2431; margin: 24px 0 12px; }
.detail p { margin-bottom: 15px; color: #46505d; text-indent: 2em; line-height: 1.95; }
.detail ul { margin: 12px 0 20px 4px; }
.detail ul li { position: relative; padding-left: 20px; color: #46505d; margin-bottom: 8px; line-height: 1.9; }
.detail ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; background: var(--c2); border-radius: 50%; }
.detail img { margin: 14px 0; border-radius: var(--radius); }
.detail table { margin: 18px 0 24px; }
.detail table td, .detail table th { border: 1px solid var(--line); padding: 11px 15px; font-size: 14px; text-align: left; }
.detail .param-table th { width: 34%; background: var(--bg); color: #24303d; font-weight: 400; }
.detail-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 16px; font-size: 14px; }
.detail-nav a { color: var(--c1); }
.detail-nav span { color: var(--gray); }

/* 产品详情 */
.prod-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.prod-detail .pd-pic { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.prod-detail .pd-pic img { width: 100%; height: auto; }
.prod-detail .pd-info h1 { font-size: 26px; color: #1a2431; margin-bottom: 14px; }
.prod-detail .pd-model { display: inline-block; background: var(--bg2); color: var(--c1); font-size: 13px; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; }
.prod-detail .pd-summary { color: #46505d; line-height: 1.9; margin-bottom: 18px; }
.prod-detail .pd-keys { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 22px; }
.prod-detail .pd-keys li { position: relative; padding-left: 20px; margin-bottom: 7px; font-size: 14px; color: #46505d; }
.prod-detail .pd-keys li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; background: var(--c2); border-radius: 50%; }
.prod-detail .pd-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* 案例详情 */
.case-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 8px; }
.case-meta .cm-box { background: var(--bg); border-left: 3px solid var(--c2); padding: 18px 20px; }
.case-meta .cm-box h4 { font-size: 15px; color: var(--c1); margin-bottom: 8px; }
.case-meta .cm-box p { margin: 0; font-size: 14px; color: #46505d; text-indent: 0; line-height: 1.85; }

/* ---------- 列表页 ---------- */
.list-wrap { display: flex; gap: 34px; align-items: flex-start; }
.list-left { flex: 1; min-width: 0; }
.list-side { width: 264px; flex: none; }
.list-title { font-size: 23px; color: #1a2431; padding-left: 14px; border-left: 4px solid var(--c1); margin-bottom: 26px; line-height: 1.4; }
.list-title small { display: block; font-size: 12px; color: var(--gray); letter-spacing: 2px; font-weight: 400; margin-top: 4px; }
.side-box { border: 1px solid var(--line); margin-bottom: 22px; border-radius: var(--radius); overflow: hidden; }
.side-box h3 { background: var(--c1); color: #fff; padding: 13px 18px; font-size: 16px; font-weight: 500; }
.side-box li a { display: block; padding: 10px 18px; font-size: 14px; color: #4d5866; border-bottom: 1px solid #f3f6f9; }
.side-box li:last-child a { border-bottom: none; }
.side-box li a:hover, .side-box li.on a { color: var(--c1); background: #f6f9fc; }
.side-box li.on a { font-weight: 600; }
.side-contact { background: var(--bg); padding: 20px; font-size: 14px; color: #4d5866; }
.side-contact p { margin-bottom: 8px; }
.side-contact b { display: block; font-size: 21px; color: var(--c1); margin: 6px 0 10px; }

/* 新闻列表行 */
.nl-row { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.nl-row:first-child { padding-top: 0; }
.nl-row .nl-pic { width: 230px; flex: none; overflow: hidden; border-radius: var(--radius); }
.nl-row .nl-pic img { width: 100%; height: 150px; object-fit: cover; transition: transform .45s; }
.nl-row:hover .nl-pic img { transform: scale(1.05); }
.nl-row .nl-body { min-width: 0; }
.nl-row .nl-body h3 { font-size: 18px; color: #1a2431; margin-bottom: 8px; }
.nl-row .nl-body .nl-meta { font-size: 13px; color: var(--gray); margin-bottom: 10px; }
.nl-row .nl-body p { font-size: 14px; color: var(--gray); line-height: 1.8; }
.nl-row .nl-body .nl-more { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--c1); }

/* 案例列表 */
.case-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; background: #fff; }
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.case-card .cc-pic { overflow: hidden; }
.case-card .cc-pic img { width: 100%; height: 210px; object-fit: cover; transition: transform .45s; }
.case-card:hover .cc-pic img { transform: scale(1.06); }
.case-card .cc-body { padding: 18px 20px 22px; }
.case-card .cc-body h3 { font-size: 17px; color: #1a2431; margin-bottom: 10px; }
.case-card .cc-body p { font-size: 13px; color: var(--gray); line-height: 1.8; }
.case-card .cc-body .lk { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--c1); }

/* ---------- 分页 ---------- */
.pages { text-align: center; margin: 36px 0 6px; }
.pages a, .pages span {
  display: inline-block; min-width: 38px; height: 38px; line-height: 36px; padding: 0 12px;
  margin: 0 4px 6px; border: 1px solid var(--line); color: #4d5866; font-size: 14px; border-radius: 2px;
}
.pages a:hover, .pages .on { background: var(--c1); border-color: var(--c1); color: #fff; }
.pages .on { cursor: default; }

/* ---------- 留言与表单 ---------- */
.msg-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.msg-form .form-row { margin-bottom: 16px; }
.msg-form label { display: block; font-size: 14px; color: #3b4653; margin-bottom: 7px; }
.msg-form label i { color: #d9534f; font-style: normal; margin-left: 3px; }
.msg-form input[type=text], .msg-form input[type=tel], .msg-form input[type=email], .msg-form textarea {
  width: 100%; border: 1px solid var(--line); padding: 11px 13px; background: #fbfcfe; border-radius: 2px;
}
.msg-form input:focus, .msg-form textarea:focus { border-color: var(--c1); background: #fff; }
.msg-form textarea { height: 118px; resize: vertical; }
.msg-form .form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.msg-form .form-code { display: flex; gap: 12px; align-items: center; }
.msg-form .form-code img { height: 44px; cursor: pointer; border: 1px solid var(--line); }
.msg-form .form-code input { flex: 1; }
.msg-form button[type=submit] { margin-top: 4px; }
.msg-tip { font-size: 13px; color: var(--gray); margin-top: 12px; }
.msg-ok { background: #eef8f0; border: 1px solid #cbe6d1; color: #2c6b3b; padding: 26px; border-radius: var(--radius); }
.msg-ok h3 { font-size: 18px; margin-bottom: 10px; }
.contact-panel { background: var(--bg); border-radius: var(--radius); padding: 28px; }
.contact-panel h3 { font-size: 19px; color: #1a2431; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-panel li { padding: 9px 0; font-size: 14px; color: #46505d; border-bottom: 1px dashed var(--line); }
.contact-panel li:last-child { border-bottom: none; }
.contact-panel li b { color: #24303d; font-weight: 600; margin-right: 8px; }

/* ---------- 搜索页 ---------- */
.search-box { background: var(--bg); padding: 30px 0; }
.search-box form { display: flex; max-width: 620px; margin: 0 auto; }
.search-box input { flex: 1; height: 46px; border: 1px solid var(--line); border-right: none; padding: 0 16px; background: #fff; border-radius: 2px 0 0 2px; }
.search-box button { width: 112px; height: 46px; border: none; background: var(--c1); color: #fff; cursor: pointer; border-radius: 0 2px 2px 0; }
.search-box button:hover { background: var(--c2); }
.search-empty { text-align: center; padding: 70px 0; color: var(--gray); }
.search-empty b { display: block; font-size: 19px; color: #1a2431; margin-bottom: 12px; }

/* ---------- 404 ---------- */
.err-wrap { text-align: center; padding: 90px 0 110px; }
.err-wrap h1 { font-size: 100px; color: var(--c1); line-height: 1; letter-spacing: 4px; }
.err-wrap h2 { font-size: 22px; color: #1a2431; margin: 16px 0 12px; }
.err-wrap p { color: var(--gray); margin-bottom: 26px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .nav > li > a { padding: 0 15px; font-size: 15px; }
  .nav-search input { width: 130px; }
  .hd-slogan { display: none; }
}
@media (max-width: 991px) {
  .header .wrap { height: 76px; }
  .logo img { height: 46px; }
  .hd-tel .txt b { font-size: 17px; }
  .nav-toggle { display: block; }
  .navbar .wrap { flex-wrap: wrap; }
  .nav { display: none; width: 100%; flex-direction: column; max-height: 72vh; overflow-y: auto; }
  .nav.show { display: flex; }
  .nav > li > a { height: 48px; line-height: 48px; padding: 0 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .nav > li > a::after { display: none; }
  .sub { position: static; display: none; box-shadow: none; border-top: none; width: 100%; background: rgba(0, 0, 0, .18); }
  .sub li a { color: #dce6f0; border-bottom-color: rgba(255, 255, 255, .08); }
  .nav > li.open .sub { display: block; }
  .nav-search { display: none; }
  .banner { height: 380px; }
  .banner .cap b { font-size: 28px; }
  .banner .cap span { font-size: 15px; }
  .quickbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .quickbar a:nth-child(2) { border-right: none; }
  .about-box { flex-direction: column; gap: 28px; }
  .about-pic { width: 100%; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list { grid-template-columns: 1fr; gap: 26px; }
  .list-wrap { flex-direction: column; }
  .list-side { width: 100%; }
  .prod-detail { grid-template-columns: 1fr; gap: 26px; }
  .case-meta { grid-template-columns: 1fr; }
  .msg-wrap { grid-template-columns: 1fr; gap: 28px; }
  .case-row { grid-template-columns: 1fr; }
  .foot-cta .wrap { flex-direction: column; align-items: flex-start; }
  .footer .fmain { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .fixed-tools { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .topbar { display: none; }
  .header .wrap { height: 66px; }
  .logo img { height: 40px; }
  .hd-tel .ico { width: 38px; height: 38px; }
  .hd-tel .txt small { display: none; }
  .hd-tel .txt b { font-size: 15px; }
  .hd-right { gap: 14px; }
  .banner { height: 260px; }
  .banner .cap b { font-size: 20px; letter-spacing: 0; }
  .banner .cap span { font-size: 13px; margin-top: 8px; }
  .banner .cap .cap-btn { margin-top: 16px; padding: 8px 22px; font-size: 13px; }
  .banner .arrow { display: none; }
  .section { padding: 40px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-head h2 { font-size: 22px; }
  .feat-grid, .grid-4, .grid-3, .grid-2, .cats, .case-grid, .quickbar .wrap { grid-template-columns: 1fr; }
  .quickbar a { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .card .pic img { height: 190px; }
  .case-grid img { height: 200px; }
  .about-nums { gap: 20px; }
  .about-nums b { font-size: 25px; }
  .nl-row { flex-direction: column; gap: 14px; }
  .nl-row .nl-pic { width: 100%; }
  .nl-row .nl-pic img { height: 190px; }
  .msg-form .form-2 { grid-template-columns: 1fr; }
  .detail p { text-indent: 0; }
  .detail .param-table th { width: 40%; }
  .footer .fmain { grid-template-columns: 1fr; gap: 24px; padding: 36px 0 26px; }
  .fbottom .wrap { justify-content: center; text-align: center; }
  .foot-cta h3 { font-size: 18px; }
  .page-main { padding: 30px 0 46px; }
  .page-title h1 { font-size: 21px; }
  .prod-detail .pd-info h1 { font-size: 21px; }
  .detail-cover img { height: 200px; }
}

/* ---------- 详情封面（随机图库） ---------- */
.detail-cover { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.detail-cover img { display: block; width: 100%; height: 320px; object-fit: cover; }
