/* ============================================================
   清能智合官网 · 简约商务蓝
   ============================================================ */
:root {
  --blue-900: #042C53;
  --blue-800: #0C447C;
  --blue-600: #185FA5;
  --blue-500: #378ADD;
  --blue-200: #B5D4F4;
  --blue-100: #E6F1FB;
  --blue-50:  #F2F8FD;
  --green-600: #0C9B66;
  --green-500: #17B877;
  --green-100: #DFF4E9;
  --green-50:  #F1FAF6;
  --text:     #1F2937;
  --text-sub: #5B6472;
  --line:     #E4E8EE;
  --bg:       #FFFFFF;
  --bg-soft:  #F7F9FC;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
}

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 42px; width: auto; display: block; }
.logo-text { line-height: 1.25; }
.logo-text b { display: block; font-size: 18px; color: var(--blue-800); letter-spacing: 1px; }
.logo-text span { display: block; font-size: 11px; color: var(--text-sub); letter-spacing: 2px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 16px;
  font-size: 15px;
  color: var(--text);
  border-radius: 8px;
  transition: all .2s;
}
.main-nav a:hover { color: var(--blue-600); background: var(--blue-50); }
.main-nav a.active { color: var(--blue-600); font-weight: 600; background: var(--blue-100); }

/* 移动端菜单按钮 */
.nav-toggle { display: none; }

/* ---------- 内页页头 ---------- */
.page-hero {
  background:
    linear-gradient(120deg, rgba(4,44,83,.86) 0%, rgba(12,68,124,.70) 55%, rgba(24,95,165,.48) 100%),
    url("../images/scene-power.jpg") center / cover no-repeat;
  color: #fff;
  padding: 43px 0 37px;
}
.page-hero .crumb { font-size: 13px; opacity: .8; margin-bottom: 8px; letter-spacing: 1px; }
.page-hero h1 { font-size: 34px; font-weight: 600; letter-spacing: 2px; }
.page-hero p { margin-top: 10px; font-size: 16px; opacity: .9; max-width: 760px; }

/* ---------- 通用区块 ---------- */
.section { padding: 44px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head .en {
  font-size: 12px; letter-spacing: 3px; color: var(--green-600);
  text-transform: uppercase; font-weight: 600;
}
.section-head h2 { font-size: 28px; color: var(--blue-900); margin-top: 6px; letter-spacing: 1px; }
.section-head .bar {
  width: 48px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--green-500)); margin: 10px auto 0;
}
.section-head p.sub { color: var(--text-sub); margin-top: 12px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(12, 68, 124, .10); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-100) 55%, var(--green-100));
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; color: var(--blue-900); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-sub); }

/* 卡片头部：图标+标题+标签同行 */
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.card-head .icon { flex-shrink: 0; margin-bottom: 0; }
.card-head-text { min-width: 0; }
.card-head-text h3 { margin-bottom: 4px; }
.card .card-head-text .tag { margin-top: 0; }
.card .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
}

/* ---------- 首页 Hero ---------- */
.hero {
  background:
    linear-gradient(115deg, rgba(4,44,83,.84) 0%, rgba(10,56,102,.66) 45%, rgba(24,95,165,.38) 78%, rgba(12,155,102,.32) 100%),
    url("../images/scene-power.jpg") center / cover no-repeat;
  color: #fff;
  padding: 42px 0 46px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.hero::before {
  content: "";
  position: absolute;
  right: 80px; bottom: -160px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
}
.hero .en-tag { font-size: 9px; letter-spacing: 3px; opacity: .75; text-transform: uppercase; }
.hero h1 { font-size: 38px; margin: 8px 0 4px; letter-spacing: 3px; font-weight: 600; }
.hero .slogan { font-size: 16px; opacity: .92; letter-spacing: 2px; }
.hero .desc { margin-top: 10px; max-width: 680px; font-size: 12.5px; opacity: .88; }
.hero .btns { margin-top: 18px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 15px;
  transition: all .2s;
}
.btn-primary { background: #fff; color: var(--blue-800); font-weight: 600; }
.btn-primary:hover { background: var(--blue-100); }
.btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- 数据条 ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats .grid { padding: 34px 0; }
.stat { text-align: center; }
.stat b { font-size: 34px; color: var(--blue-600); font-weight: 600; }
.stat b i { font-style: normal; font-size: 16px; margin-left: 2px; color: var(--green-600); }
.stat span { display: block; font-size: 14px; color: var(--text-sub); margin-top: 4px; }

/* ---------- 列表条目 ---------- */
.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--text-sub);
  font-size: 15px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--green-500);
  transform: rotate(45deg);
}

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  position: relative;
}
.step .num {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 16.5px; color: var(--blue-900); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-sub); text-align: left; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; background: #fff; min-width: 720px; }
th {
  background: var(--blue-800);
  color: #fff;
  padding: 13px 16px;
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
td { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
tbody tr:nth-child(even) { background: var(--blue-50); }
tbody tr:hover { background: var(--blue-100); }
td.model { font-weight: 600; color: var(--blue-600); white-space: nowrap; }

/* ---------- 案例卡片 ---------- */
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(12, 68, 124, .10); }
.case-banner {
  height: 8px;
  background: linear-gradient(90deg, var(--blue-600), var(--green-500));
}
.case-body { padding: 24px 26px 26px; }
.case-body .cat {
  font-size: 12px; color: var(--blue-500);
  letter-spacing: 2px; font-weight: 600; margin-bottom: 8px;
}
.case-body h3 { font-size: 17.5px; color: var(--blue-900); margin-bottom: 10px; }
.case-body p { font-size: 14px; color: var(--text-sub); }

/* 案例分组标题 */
.case-group { margin-bottom: 52px; }
.case-group:last-child { margin-bottom: 0; }
.group-title {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-size: 20px; font-weight: 600; color: var(--blue-900); letter-spacing: 1px;
  margin: 0 0 20px; padding-left: 14px;
  border-left: 4px solid var(--green-500);
}
.group-title span { font-size: 13px; color: var(--text-sub); font-weight: 400; letter-spacing: 0; }

/* ---------- 场景卡 ---------- */
.scene-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.scene-card:hover { transform: translateY(-4px); border-color: var(--blue-200); box-shadow: 0 12px 28px rgba(12, 68, 124, .10); }
.scene-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-100) 55%, var(--green-100));
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.scene-card h3 { font-size: 17px; color: var(--blue-900); margin-bottom: 6px; }
.scene-card p { font-size: 14px; color: var(--text-sub); }

/* ---------- 使命/愿景 大卡（参考白卡+数字角标样式） ---------- */
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text-main);
  padding: 24px 24px 22px;
  box-shadow: 0 2px 12px rgba(10,56,102,.06);
}
.pillar-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pillar-num {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #E8F2FB 0%, #E6F6EF 100%);
  color: var(--blue-600);
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pillar:nth-child(2) .pillar-num { color: var(--green-600); }
.pillar:nth-child(3) .pillar-num { color: var(--blue-800); }
.pillar-txt .k { font-size: 11px; letter-spacing: 2px; color: var(--text-sub); font-weight: 600; margin-bottom: 3px; }
.pillar h3 { font-size: 17.5px; margin: 0; font-weight: 700; color: var(--blue-900); }
.pillar p { font-size: 14px; color: var(--text-sub); margin: 0; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-900) 0%, var(--blue-600) 60%, var(--green-600) 130%);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 { font-size: 28px; letter-spacing: 2px; }
.cta-band p { margin: 12px 0 26px; opacity: .85; font-size: 15.5px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.85); margin-top: 0; border-top: 3px solid var(--green-500); }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.footer-main h4 { color: #fff; font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-main p, .footer-main li { font-size: 14px; opacity: .8; margin-bottom: 9px; }
.footer-main a:hover { color: #fff; opacity: 1; }
.footer-contact li { display: flex; gap: 8px; }
.footer-contact .k { opacity: .6; flex-shrink: 0; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  font-size: 13px;
  text-align: center;
  opacity: .65;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 28px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 6px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--blue-800); border-radius: 2px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .stats .grid { padding: 14px 0; }
  .stat b { font-size: 26px; }
  .stat span { font-size: 12.5px; }
  .steps { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .hero { padding: 20px 0 24px; }
  .hero .en-tag { letter-spacing: 2px; }
  .hero h1 { font-size: 24px; letter-spacing: 1px; margin: 6px 0 4px; }
  .hero .desc { margin-top: 8px; }
  .hero .btns { margin-top: 14px; }
  .section { padding: 22px 0; }
  .section-head { margin-bottom: 20px; }
  .card { padding: 18px 16px; }
  .grid { gap: 14px; }
  .card-head { margin-bottom: 10px; }
  .case-group { margin-bottom: 34px; }
  .scene-img { height: 150px; }
  .case-img { height: 170px; }
}

/* ---------- 图片 ---------- */
.scene-img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 14px; }
.case-img { width: 100%; height: 210px; object-fit: cover; display: block; }
.wide-img { width: 100%; border-radius: 14px; display: block; }
.product-visual { text-align: center; margin-bottom: 32px; }
.product-visual img { max-width: 340px; width: 100%; border-radius: 14px; display: inline-block; }

/* ---------- v3 紧凑化：页脚导航横排 / 步骤横排 / 图标标题同行 ---------- */
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav li { margin-bottom: 0; }

/* 五步流程：左数字圆标，标题两字一行（两行），描述占余下宽度 */
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  padding: 12px 14px;
}
.step .num { width: 36px; height: 36px; margin: 0; font-size: 15px; flex-shrink: 0; }
.step h3 { margin-bottom: 0; font-size: 15px; width: 2.3em; line-height: 1.3; flex-shrink: 0; }
.step p { font-size: 13px; flex: 1; margin-left: 4px; }

/* 售前/运维卡片：图标左、标题右同行 */
.card .card-head > h3 { margin-bottom: 0; align-self: center; font-size: 18px; }

/* 合作模式：图标左、标题右同行 */
.scene-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.scene-head .icon { margin-bottom: 0; flex-shrink: 0; }
.scene-head h3 { margin-bottom: 0; }

@media (max-width: 600px) {
  .footer-nav { gap: 6px 14px; font-size: 13.5px; }
}

/* 案例卡标题行：分类+标题同一行 */
.case-title-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.case-title-row .cat { font-size: 16px; margin-bottom: 0; }
.case-title-row h3 { font-size: 16.5px; margin-bottom: 0; }

/* ---------- v4 紧凑化：图标与标题同行（价值主张 / 业务板块 / 产品体系卡） ---------- */
.card-head, .scene-head { margin-bottom: 10px; }
.card-head .icon { margin-bottom: 0; flex-shrink: 0; }
.card-head > h3 { margin-bottom: 0; align-self: center; }
.scene-card .card-head > h3 { font-size: 17px; }

/* banner 内按钮：随 banner 字号整体下调 */
.hero .btn { padding: 6px 16px; font-size: 11px; }

/* banner 标题行：主标题与标语同行 */
.hero .title-row { display: flex; align-items: baseline; gap: 62px; flex-wrap: wrap; margin: 8px 0 4px; }
.hero .title-row h1 { margin: 0; }
.hero .title-row .slogan { margin: 0; }
@media (max-width: 600px) {
  .hero .title-row { gap: 36px; margin: 6px 0 2px; }
  .hero .title-row .slogan { font-size: 13px; }
}

/* ---------- v4 移动端 CTA / 页脚 紧凑化 ---------- */
@media (max-width: 600px) {
  .cta-band { padding: 24px 18px; }
  .cta-band h2 { font-size: 19px; }
  .cta-band p { margin: 7px 0 14px; font-size: 13px; }
  .cta-band .btn { padding: 8px 20px; font-size: 12.5px; }
  .footer-main { padding: 22px 0 16px; gap: 16px; }
  .footer-main h4 { font-size: 14.5px; margin-bottom: 8px; }
  .footer-main p, .footer-main li { font-size: 13px; margin-bottom: 6px; }
  .footer-bar { padding: 10px 0; font-size: 12px; }
}
