/* 金昌汉星能源有限公司 · 绿色能源主题 */
:root {
  --c-text: #333333;
  --c-sub: #1E7A45;
  --c-main: #2FA35C;
  --c-blue: #66C18A;
  --c-bg: #FFFFFF;
  --c-line: #D2E8D9;
  --c-dark: #123320;
  --c-soft: #EFF8F1;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text); background: var(--c-bg); line-height: 1.8; font-size: 15px;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: #333; text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-sub); }
ul, ol { list-style: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.topbar { background: var(--c-dark); color: #BFD9DE; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a { color: #BFD9DE; }
.topbar a:hover { color: #fff; }
.header { background: #fff; border-bottom: 1px solid var(--c-line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.logo { display: flex; align-items: center; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 6px; background: linear-gradient(135deg, #2FA35C, #66C18A);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; margin-right: 12px;
}
.logo-txt strong { display: block; font-size: 19px; color: var(--c-text); }
.logo-txt span { display: block; font-size: 12px; color: var(--c-sub); letter-spacing: 1px; }
.nav { display: flex; }
.nav > li > a { display: block; padding: 0 15px; line-height: 82px; font-size: 15px; color: var(--c-text); border-bottom: 2px solid transparent; }
.nav > li > a:hover, .nav > li > a.on { color: var(--c-sub); border-bottom-color: var(--c-main); }
.menu-btn { display: none; background: linear-gradient(135deg, #2FA35C, #66C18A); color: #fff; border: none; padding: 8px 14px; border-radius: 4px; cursor: pointer; font-size: 14px; }

.banner { position: relative; overflow: hidden; background: var(--c-dark); }
.banner .slides { position: relative; height: 430px; }
.banner .slides img { width: 100%; height: 430px; object-fit: cover; position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .8s; }
.banner .slides img.on { opacity: 1; }
.banner .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 0; background: linear-gradient(transparent, rgba(34,54,95,.78)); color: #fff; z-index: 3; }
.banner .cap h1 { font-size: 30px; font-weight: 600; margin-bottom: 8px; }
.banner .cap p { font-size: 15px; opacity: .92; }
.banner .dots { position: absolute; right: 20px; bottom: 20px; z-index: 4; }
.banner .dots i { display: inline-block; width: 20px; height: 4px; border-radius: 2px; background: #fff; opacity: .5; margin-left: 6px; cursor: pointer; }
.banner .dots i.on { opacity: 1; }
.sub-banner { height: 220px; background: var(--c-dark); position: relative; overflow: hidden; }
.sub-banner img { width: 100%; height: 220px; object-fit: cover; opacity: .45; }
.sub-banner .cap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #fff; }
.sub-banner .cap h1 { font-size: 28px; font-weight: 600; }
.sub-banner .cap p { font-size: 13px; letter-spacing: 2px; opacity: .85; }

.section { padding: 60px 0; }
.section.soft { background: var(--c-soft); }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 { font-size: 26px; font-weight: 600; color: var(--c-text); position: relative; padding-bottom: 14px; }
.sec-head h2::after { content: ""; width: 58px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #2FA35C, #66C18A); position: absolute; left: 50%; margin-left: -29px; bottom: 0; }
.sec-head p { color: var(--c-sub); font-size: 14px; margin-top: 8px; }
.more { text-align: center; margin-top: 34px; }
.btn { display: inline-block; padding: 10px 30px; border: 1px solid var(--c-main); color: var(--c-sub); border-radius: 4px; font-size: 14px; }
.btn:hover { background: var(--c-main); border-color: var(--c-main); color: #fff; }
.btn.solid { background: linear-gradient(135deg, #2FA35C, #66C18A); border: none; color: #fff; }
.btn.solid:hover { opacity: .9; color: #fff; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--c-line); background: #fff; display: block; border-radius: 6px; overflow: hidden; }
.card .pic { overflow: hidden; background: var(--c-soft); }
.card .pic img { width: 100%; height: 190px; object-fit: cover; transition: transform .4s; }
.card:hover .pic img { transform: scale(1.06); }
.card .txt { padding: 14px 16px 18px; border-top: 3px solid var(--c-main); }
.card .txt h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--c-text); line-height: 1.5; }
.card .txt p { font-size: 13px; color: #666; height: 44px; overflow: hidden; }
.card .txt .meta { font-size: 12px; color: #999; margin-top: 8px; }

.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-row p { color: #555; margin-bottom: 14px; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.nums div { background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 12px; text-align: center; }
.nums b { display: block; font-size: 26px; color: var(--c-sub); }
.nums span { font-size: 13px; color: #666; }

.list-row { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.list-row img { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; }
.list-row h3 { font-size: 17px; margin-bottom: 8px; color: var(--c-text); }
.list-row p { color: #666; font-size: 14px; }
.list-row .meta { font-size: 12px; color: #999; margin-top: 10px; }

.crumb { background: var(--c-soft); border-bottom: 1px solid var(--c-line); font-size: 13px; color: var(--c-sub); }
.crumb .wrap { height: 44px; display: flex; align-items: center; }
.crumb a { color: var(--c-sub); }
.detail { display: grid; grid-template-columns: 420px 1fr; gap: 40px; padding: 50px 0; }
.detail .pic { border: 1px solid var(--c-line); border-radius: 6px; overflow: hidden; }
.detail .pic img { width: 100%; }
.detail h1 { font-size: 24px; color: var(--c-text); margin-bottom: 12px; line-height: 1.5; }
.detail .lead { color: #666; margin-bottom: 20px; }
.detail .body h2, .art-body h2 { font-size: 18px; margin: 26px 0 12px; padding-left: 10px; border-left: 4px solid var(--c-main); color: var(--c-text); }
.detail .body p, .art-body p { margin-bottom: 12px; color: #444; }
.detail .body ul li, .art-body ul li { padding-left: 18px; position: relative; margin-bottom: 8px; color: #444; }
.detail .body ul li::before, .art-body ul li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c-main); position: absolute; left: 0; top: 11px; }
table.spec { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
table.spec td, table.spec th { border: 1px solid var(--c-line); padding: 9px 12px; }
table.spec th { background: var(--c-soft); width: 130px; color: var(--c-text); font-weight: normal; text-align: left; }
.art-body { max-width: 900px; margin: 0 auto; padding: 50px 0; }
.art-body h1 { font-size: 26px; text-align: center; color: var(--c-text); margin: 10px 0; }
.art-meta { text-align: center; color: #999; font-size: 13px; margin-bottom: 30px; }
.art-body .cover { margin-bottom: 26px; border-radius: 6px; }
.art-body ul { margin: 10px 0 18px; }

.ab-block { padding: 50px 0; }
.ab-block h2 { font-size: 22px; color: var(--c-text); margin-bottom: 16px; padding-left: 10px; border-left: 4px solid var(--c-main); }
.ab-block p { color: #444; margin-bottom: 12px; }
.timeline { border-left: 2px solid var(--c-line); padding-left: 24px; }
.timeline li { position: relative; margin-bottom: 20px; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--c-sub); position: absolute; left: -31px; top: 8px; }
.timeline b { color: var(--c-text); margin-right: 10px; }

.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 50px 0; }
.contact-row li { margin-bottom: 12px; color: #444; }
.contact-row li b { color: var(--c-text); margin-right: 6px; }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--c-line); padding: 10px 12px; margin-bottom: 14px; font-size: 14px;
  font-family: inherit; background: #fff; color: #333; border-radius: 4px;
}
.form textarea { height: 110px; resize: vertical; }
.form button { border: none; cursor: pointer; }

.footer { background: var(--c-dark); color: #C3D8DC; font-size: 13px; padding: 40px 0 0; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.footer h4 { color: #5FD0DE; font-size: 15px; margin-bottom: 14px; font-weight: 600; }
.footer li { margin-bottom: 8px; }
.footer a { color: #C3D8DC; }
.footer a:hover { color: #5FD0DE; }
.footer p { margin-bottom: 8px; }
.footer .copy { border-top: 1px solid rgba(255,255,255,.15); padding: 16px 0; text-align: center; color: #93AFB4; }

@media (max-width: 900px) {
  .grid, .grid3 { grid-template-columns: repeat(2, 1fr); }
  .about-row, .detail, .contact-row { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .nums { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header .wrap { height: 62px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 62px; background: #fff; z-index: 99; border-bottom: 1px solid var(--c-line); flex-direction: column; }
  .nav.show { display: flex; }
  .nav > li > a { line-height: 46px; border-bottom: 1px solid #E7F4F6; }
  .banner .slides, .banner .slides img { height: 260px; }
  .banner .cap h1 { font-size: 20px; }
  .list-row { grid-template-columns: 1fr; }
  .grid, .grid3 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card .pic img { height: 140px; }
  .section { padding: 36px 0; }
  .sub-banner { height: 150px; }
  .sub-banner img { height: 150px; }
  .topbar { display: none; }
}
