/* ==========================================================================
   浙江亿能聚建设有限公司 · 官网设计系统
   主色 科技蓝 #0A4D8C ｜ 辅色 能源绿 #00A86B ｜ 强调 光伏橙 #FF7A00
   ========================================================================== */

:root {
  --blue: #0a4d8c;
  --blue-600: #0d5ea8;
  --blue-800: #073a6b;
  --green: #00a86b;
  --green-dark: #008a58;
  --orange: #ff7a00;
  --orange-dark: #e86a00;

  --ink: #1a1a1a;
  --muted: #666666;
  --muted-2: #8a8a8a;
  --line: #e8e8e8;
  --bg: #f7f9fc;
  --white: #ffffff;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-1: 0 2px 12px rgba(16, 38, 66, .06);
  --shadow-2: 0 12px 32px rgba(16, 38, 66, .12);
  --container: 1200px;
  --header-h: 72px;

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; letter-spacing: .5px; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; }

/* ---------- 通用排版 ---------- */
.section { padding: 56px 0; }
.section-sm { padding: 44px 0; }
.section-alt { background: var(--bg); }

/* ---------- 合作伙伴墙 ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.partner-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #27405c;
  text-align: center;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.partner-tile:hover {
  box-shadow: 0 10px 26px rgba(10, 77, 140, .12);
  transform: translateY(-3px);
  border-color: rgba(10, 77, 140, .35);
}
.partner-tile .pt-en {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: .5px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--green);
  vertical-align: middle;
  margin-right: 10px;
}

.sec-title { font-size: 34px; margin-bottom: 12px; }
.sec-sub { color: var(--muted); font-size: 16px; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .sec-title { position: relative; }
.sec-head-left { margin-bottom: 44px; }
.sec-head-left .sec-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin-top: 16px;
  border-radius: 2px;
}

.lead { font-size: 17px; color: #444; line-height: 1.9; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 8px 20px rgba(10, 77, 140, .28); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-dark); box-shadow: 0 8px 20px rgba(255, 122, 0, .3); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--blue); }
.btn-outline:hover { border-color: var(--blue); box-shadow: var(--shadow-1); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-1); border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  color: #fff; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -1px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text b { font-size: 17px; letter-spacing: 1px; }
.logo-text i { font-style: normal; font-size: 11px; color: var(--muted-2); letter-spacing: .5px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  color: #333;
  border-radius: var(--radius-sm);
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--blue); background: rgba(10, 77, 140, .06); }
.nav a.is-active { color: var(--blue); font-weight: 700; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; background: var(--blue); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius-sm); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

.header-login { font-size: 14px; color: var(--muted); }
.header-login:hover { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex; align-items: center;
  background: var(--blue-800) center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(4, 32, 60, .88) 0%, rgba(4, 32, 60, .62) 55%, rgba(4, 32, 60, .3) 100%);
}
.hero > .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: 52px; letter-spacing: 2px; margin-bottom: 18px; }
.hero .hero-en { font-size: 14px; letter-spacing: 3px; color: rgba(255, 255, 255, .7); text-transform: uppercase; margin-bottom: 26px; }
.hero .hero-sub { font-size: 19px; color: rgba(255, 255, 255, .92); max-width: 720px; line-height: 1.8; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 34px 0 38px; }
.hero-stats div { font-size: 15px; color: rgba(255, 255, 255, .85); }
.hero-stats b { color: #fff; font-size: 20px; margin-right: 6px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 内页通栏 Banner */
.page-banner {
  position: relative;
  padding: 96px 0 84px;
  background: var(--blue-800) center/cover no-repeat;
  color: #fff;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4, 32, 60, .9), rgba(4, 32, 60, .55));
}
.page-banner > .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: 34px; letter-spacing: 1px; line-height: 1.35; }
.page-banner .banner-sub { margin-top: 14px; font-size: 17px; color: rgba(255, 255, 255, .88); }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 18px 0; font-size: 13px; color: var(--muted); background: var(--bg); border-bottom: 1px solid var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 8px; color: #c2c2c2; }
.breadcrumb em { font-style: normal; color: var(--blue); }

/* ---------- 数字看板 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-cell { background: #fff; padding: 34px 20px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; color: var(--blue); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-num .unit { font-size: 16px; font-weight: 600; margin-left: 4px; color: var(--green); }
.stat-label { margin-top: 8px; font-size: 14px; color: var(--muted); }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.card-body { padding: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card-media { height: 190px; background: var(--bg) center/cover no-repeat; }

/* 业务六宫格 */
.biz-card { display: block; position: relative; }
.biz-card .card-media { height: 200px; }
.biz-card .biz-idx {
  position: absolute; top: 16px; left: 16px;
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(10, 77, 140, .9); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.biz-card .card-body h3 { display: flex; align-items: center; justify-content: space-between; }
.biz-card .arrow { color: var(--blue); font-size: 18px; transition: transform .25s ease; }
.biz-card:hover .arrow { transform: translateX(4px); }

/* ---------- 流程条 ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.flow-step { text-align: center; position: relative; padding: 0 8px; }
.flow-step::after {
  content: ""; position: absolute; top: 26px; right: -12px;
  width: 24px; height: 2px; background: var(--line);
}
.flow-step:last-child::after { display: none; }
.flow-dot {
  width: 54px; height: 54px; margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff; border: 2px solid var(--blue);
  color: var(--blue); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.flow-step:nth-child(even) .flow-dot { border-color: var(--green); color: var(--green); }
.flow-step h4 { font-size: 16px; margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--muted); }

/* ---------- 合作模式 ---------- */
.mode-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; height: 100%; position: relative; }
.mode-card.is-featured { border-color: var(--orange); box-shadow: 0 8px 28px rgba(255, 122, 0, .12); }
.mode-tag {
  position: absolute; top: -12px; right: 20px;
  background: var(--orange); color: #fff;
  font-size: 12px; padding: 4px 12px; border-radius: 20px; font-weight: 700;
}
.mode-card h3 { font-size: 22px; margin-bottom: 6px; }
.mode-card .mode-for { font-size: 14px; color: var(--green); margin-bottom: 18px; font-weight: 600; }
.mode-list li { position: relative; padding-left: 18px; font-size: 15px; color: #444; margin-bottom: 10px; }
.mode-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}

/* ---------- 对比表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th, table.compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
table.compare thead th { background: var(--blue); color: #fff; font-weight: 700; }
table.compare thead th:first-child { background: var(--blue-800); }
table.compare tbody th { font-weight: 600; background: var(--bg); width: 160px; color: #333; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- 案例 ---------- */
.filter-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-tab {
  padding: 9px 24px; border-radius: 30px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 15px; color: #444; transition: all .2s ease;
}
.filter-tab:hover { border-color: var(--blue); color: var(--blue); }
.filter-tab.is-active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.case-thumb { height: 180px; background: linear-gradient(135deg, #dbe7f3, #eef4fa) center/cover no-repeat; position: relative; }
.case-cap { position: absolute; left: 14px; bottom: 14px; background: rgba(10, 77, 140, .92); color: #fff; font-size: 13px; padding: 4px 12px; border-radius: 20px; font-weight: 700; }
.case-info { padding: 20px; }
.case-info h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.5; }
.case-meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.case-hl { margin-top: 10px; font-size: 13px; color: var(--green); }

/* 首页精选案例 */
.spotlight { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spot-card { border-radius: var(--radius); overflow: hidden; position: relative; height: 260px; color: #fff; background: var(--blue-800) center/cover no-repeat; }
.spot-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 32, 60, .15) 0%, rgba(4, 32, 60, .88) 100%); }
.spot-body { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; }
.spot-body .cap { font-size: 13px; color: var(--green); font-weight: 700; }
.spot-body h3 { font-size: 18px; margin: 6px 0 4px; }
.spot-body .loc { font-size: 13px; color: rgba(255, 255, 255, .75); }

/* ---------- 资质荣誉 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.honor-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; font-size: 14px; color: #333;
  min-height: 116px; display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.honor-item:hover { transform: scale(1.03); box-shadow: var(--shadow-2); }
.honor-item .hi-ico { display: block; font-size: 22px; color: var(--blue); margin-bottom: 8px; }

/* ---------- 新闻 ---------- */
.news-card { display: grid; grid-template-columns: 220px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.news-thumb { background: var(--bg) center/cover no-repeat; min-height: 156px; }
.news-body { padding: 22px 24px; }
.news-tag { display: inline-block; font-size: 12px; padding: 3px 12px; border-radius: 4px; background: rgba(0, 168, 107, .1); color: var(--green); font-weight: 700; }
.news-body h3 { font-size: 18px; margin: 12px 0 8px; line-height: 1.5; }
.news-body .news-sum { font-size: 14px; color: var(--muted); }
.news-date { margin-top: 12px; font-size: 13px; color: var(--muted-2); }

.news-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-mini { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.news-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.news-mini .news-thumb { height: 170px; }
.news-mini .news-body { padding: 20px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue);
}
.tl-item.is-key::before { border-color: var(--orange); }
.tl-date { font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: 1px; }
.tl-text { margin-top: 4px; color: #444; font-size: 15px; }

/* ---------- 组织架构 / 表格 ---------- */
.org-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.org-table th { background: var(--blue); color: #fff; padding: 14px 18px; text-align: left; font-size: 15px; }
.org-table td { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.org-table td:first-child { color: var(--blue); font-weight: 600; width: 200px; background: #fafcfe; }

/* ---------- 标签云 ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud span {
  padding: 8px 18px; border-radius: 24px; font-size: 14px;
  background: rgba(10, 77, 140, .07); color: var(--blue);
}

/* ---------- 特性列表 ---------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature-item h4 { font-size: 17px; margin-bottom: 8px; color: var(--blue); display: flex; gap: 10px; align-items: baseline; }
.feature-item h4 i { font-style: normal; color: var(--green); font-weight: 800; }
.feature-item p { font-size: 14px; color: var(--muted); }

.numbered-list { counter-reset: nl; }
.numbered-list li { counter-increment: nl; position: relative; padding-left: 42px; margin-bottom: 18px; }
.numbered-list li::before {
  content: counter(nl); position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(10, 77, 140, .08); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
}
.numbered-list li b { display: block; font-size: 16px; margin-bottom: 2px; }
.numbered-list li span { font-size: 14px; color: var(--muted); }

/* ---------- CTA 条 ---------- */
.cta-bar {
  background: linear-gradient(120deg, var(--blue-800), var(--blue) 60%, #0f6fb8);
  color: #fff; padding: 60px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 30px; margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, .85); font-size: 16px; }
.cta-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cta-tel { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: 1px; }

/* ---------- 联系 / 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; }
.info-block { background: var(--bg); border-radius: var(--radius); padding: 30px; }
.info-block h3 { font-size: 18px; margin-bottom: 16px; }
.info-row { display: flex; gap: 12px; margin-bottom: 18px; font-size: 15px; }
.info-row .ir-k { color: var(--muted); flex: 0 0 68px; }
.info-row .ir-v { color: #333; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: #333; }
.field label .req { color: var(--orange); margin-left: 3px; }
.field input, .field select, .field textarea {
  height: 46px; padding: 0 14px; font-size: 15px; font-family: var(--font);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 77, 140, .1);
}
.form-note { font-size: 13px; color: var(--muted-2); margin-top: 14px; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; display: none; }
.alert.show { display: block; }
.alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }
.alert-ok { background: #e8f7ef; color: var(--green-dark); border: 1px solid #bfe8d4; }
.alert-info { background: #eaf2fb; color: var(--blue); border: 1px solid #c6dcf2; }

/* ---------- 占位块 ---------- */
.placeholder {
  border: 1px dashed #c9d4e0; background: repeating-linear-gradient(45deg, #f4f7fa, #f4f7fa 10px, #eef3f8 10px, #eef3f8 20px);
  border-radius: var(--radius); color: #93a3b4; font-size: 13px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 120px; padding: 20px;
}
.placeholder.inline { min-height: auto; display: inline-flex; padding: 8px 14px; }

/* ---------- 登录 / 后台 ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h) - 320px); display: flex; align-items: center; padding: 60px 0; }
.auth-card { max-width: 420px; margin: 0 auto; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 40px; box-shadow: var(--shadow-1); }
.auth-card h1 { font-size: 26px; margin-bottom: 8px; text-align: center; }
.auth-card .auth-sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.auth-card .field { margin-bottom: 16px; }
.auth-foot { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted-2); }

.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 40px 0 80px; align-items: start; }
.admin-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 92px; }
.admin-side button {
  display: block; width: 100%; text-align: left; padding: 12px 14px;
  border: 0; background: transparent; font-size: 15px; font-family: var(--font);
  color: #333; border-radius: var(--radius-sm); cursor: pointer; margin-bottom: 4px;
}
.admin-side button:hover { background: var(--bg); color: var(--blue); }
.admin-side button.is-active { background: var(--blue); color: #fff; font-weight: 600; }
.admin-side .side-foot { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; font-size: 13px; color: var(--muted-2); }

.admin-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; min-height: 480px; }
.admin-main h2 { font-size: 22px; margin-bottom: 6px; }
.admin-main .am-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.admin-toolbar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.admin-toolbar .spacer { flex: 1; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { background: var(--bg); padding: 12px 14px; text-align: left; font-weight: 600; color: #333; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; color: #444; }
.admin-table tr:last-child td { border-bottom: 0; }
.row-actions { display: flex; gap: 8px; }
.link-btn { background: none; border: 0; color: var(--blue); cursor: pointer; font-size: 14px; font-family: var(--font); padding: 0; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: #c0392b; }

.badge { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 12px; background: var(--bg); color: var(--muted); }
.badge.on { background: rgba(0, 168, 107, .12); color: var(--green-dark); }
.badge.demo { background: #fff4e5; color: var(--orange-dark); }

.modal-mask { position: fixed; inset: 0; background: rgba(12, 24, 40, .55); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 14px; width: 640px; max-width: 100%; max-height: 86vh; overflow: auto; padding: 30px; }
.modal h3 { font-size: 20px; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

/* ---------- 悬浮工具条 ---------- */
.float-tools { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-1); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; color: var(--muted); transition: all .2s ease; gap: 2px;
}
.float-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.float-btn .fb-ico { font-size: 17px; line-height: 1; }
.float-qr { position: absolute; right: 58px; bottom: 0; width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: var(--shadow-2); display: none; text-align: center; font-size: 12px; color: var(--muted); }
.float-qr.show { display: block; }
.float-qr .qr-img { width: 100%; height: 124px; background: var(--bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: #062a4e; color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-contact p { margin-bottom: 8px; }
.footer-contact .big { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.qr-box { display: flex; gap: 12px; }
.qr-item { text-align: center; }
.qr-img-sm { width: 84px; height: 84px; background: rgba(255, 255, 255, .1); border-radius: 8px; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: rgba(255, 255, 255, .6); }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-bg-anim { animation: kenburns 22s ease-in-out infinite alternate; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav { gap: 0; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .spotlight { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 16px 18px; box-shadow: var(--shadow-2);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid #f2f4f7; font-size: 16px; }
  .nav a.is-active::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .header-inner { gap: 12px; }

  .hero { min-height: 520px; }
  .hero h1 { font-size: 34px; }
  .hero .hero-sub { font-size: 16px; }
  .page-banner { padding: 66px 0 58px; }
  .page-banner h1 { font-size: 24px; }

  .section { padding: 40px 0; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-title { font-size: 26px; }
  .grid-3, .grid-6, .case-grid, .news-grid3, .feature-list { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 26px 0; }
  .flow-step::after { display: none; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { position: static; }
  .admin-side { display: flex; flex-wrap: wrap; gap: 6px; }
  .admin-side button { width: auto; flex: 1 1 auto; }
  .cta-inner h2 { font-size: 24px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; letter-spacing: 1px; }
  .hero-stats { gap: 8px 22px; }
  .grid-3, .grid-6, .grid-2, .case-grid, .news-grid3, .feature-list, .spotlight, .honor-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .news-card { grid-template-columns: 1fr; }
  .news-thumb { min-height: 170px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .sec-title { font-size: 23px; }
  .float-tools { right: 10px; bottom: 70px; }
  .table-wrap { border-radius: 8px; }
  .org-table td:first-child { width: auto; }
}
