/* ==========================================================================
   邹平中宝能源设备厂 · Apple 风格全站样式 v2
   设计语言：磨砂吸顶导航 / 超大标题 / 黑白灰整屏分段 / 大圆角卡片 / 细发丝线
   ========================================================================== */

/* ---------- 基础 ---------- */
:root {
  --bg: #ffffff;
  --bg-grey: #f5f5f7;
  --bg-dark: #000000;
  --text: #1d1d1f;
  --text-sub: #6e6e73;
  --text-dark-sub: #a1a1a6;
  --blue: #0066cc;
  --btn-blue: #0071e3;
  --btn-blue-hover: #0077ed;
  --amber: #b64400;
  --hairline: #d2d2d7;
  --hairline-dark: rgba(255, 255, 255, 0.16);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --nav-h: 48px;
  --shell: 1024px;
  --shell-wide: 1280px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Display",
    "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #fff; color: var(--text); padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 布局容器 ---------- */
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 22px; }
.shell-wide { max-width: var(--shell-wide); margin: 0 auto; padding: 0 22px; }

/* ---------- 全局导航（磨砂吸顶） ---------- */
.global-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.global-nav.is-stuck {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.nav-inner {
  max-width: 1100px; height: 100%; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-logo img { width: 26px; height: 26px; }
.nav-logo b { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; color: var(--text); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 13px; color: rgba(29, 29, 31, 0.8); letter-spacing: 0.01em;
  transition: color 0.2s ease; text-decoration: none;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); font-weight: 600; }

.nav-cta {
  flex-shrink: 0;
  font-size: 13px; color: #fff; background: var(--btn-blue);
  padding: 6px 14px; border-radius: 980px; text-decoration: none;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--btn-blue-hover); text-decoration: none; }

.menu-toggle { display: none; width: 40px; height: 40px; position: relative; }
.menu-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--text);
  margin: 4.5px auto; border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: flex-start; padding: 48px 32px; gap: 8px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav-links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { font-size: 24px; font-weight: 600; color: var(--text); padding: 12px 0; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- 章节分段（整屏节奏） ---------- */
.chapter { padding: 110px 0; }
.chapter-tight { padding: 70px 0; }
.chapter-grey { background: var(--bg-grey); }
.chapter-dark { background: var(--bg-dark); color: #f5f5f7; }
.chapter-dark .t-sub { color: var(--text-dark-sub); }

.kicker {
  display: block; font-size: 15px; font-weight: 600; color: var(--amber);
  margin-bottom: 14px; letter-spacing: 0.02em;
}
.chapter-dark .kicker { color: #f56300; }

.display {
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.08; font-weight: 700; letter-spacing: -0.015em;
}
.display-sm { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; }
.t-sub {
  font-size: clamp(17px, 2vw, 21px); line-height: 1.5;
  color: var(--text-sub); margin-top: 18px; font-weight: 400;
}
.center { text-align: center; }
.center .t-sub { margin-left: auto; margin-right: auto; max-width: 640px; }

.section-gap { margin-top: 64px; }

/* 链接组（了解更多 ›） */
.link-row { display: flex; align-items: center; justify-content: center; gap: 32px; margin-top: 30px; flex-wrap: wrap; }
.link-row.left { justify-content: flex-start; }
.link-arrow { font-size: 17px; color: var(--blue); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow::after { content: " ›"; }
.chapter-dark .link-arrow { color: #2997ff; }

/* ---------- 胶囊按钮 ---------- */
.btn-pill {
  display: inline-block; font-size: 17px; line-height: 1.2;
  background: var(--btn-blue); color: #fff;
  padding: 12px 26px; border-radius: 980px; text-decoration: none;
  transition: background 0.2s ease;
}
.btn-pill:hover { background: var(--btn-blue-hover); text-decoration: none; }
.btn-pill.light { background: #f5f5f7; color: var(--text); }
.btn-pill.light:hover { background: #fff; }
.btn-pill.big { font-size: 19px; padding: 15px 32px; }

/* ---------- 主视觉 Hero ---------- */
.hero-apple {
  position: relative; min-height: 82vh;
  display: flex; align-items: flex-end; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
}
.hero-apple .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
}
.hero-apple::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.18) 40%, rgba(0,0,0,0.66) 100%);
}
.hero-copy { position: relative; z-index: 2; padding: 0 22px 96px; max-width: 760px; }
.hero-copy .kicker { color: #ffb86b; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
.hero-copy .display { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero-copy .t-sub { color: rgba(255, 255, 255, 0.88); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }

/* 内页页头 */
.page-hero { background: var(--bg-grey); padding: 150px 0 84px; text-align: center; }
.page-hero .t-sub { max-width: 680px; margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: 13px; color: var(--text-sub); margin-bottom: 26px; }
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--text); text-decoration: none; }
.breadcrumb ol { display: flex; justify-content: center; gap: 8px; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--hairline); }

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

.tile {
  background: var(--bg); border-radius: var(--radius-xl); overflow: hidden;
  display: flex; flex-direction: column;
}
.chapter-grey .tile { background: #fff; }
.chapter .tile-grey { background: var(--bg-grey); }
.chapter-grey .tile-grey { background: #f5f5f7; }

.tile-body { padding: 40px 36px 44px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.tile-body h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.tile-body p { font-size: 15px; color: var(--text-sub); margin-top: 12px; flex: 1; }
.tile-body .tile-link { margin-top: 22px; font-size: 15px; }
.tile-img { aspect-ratio: 16 / 10; overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover .tile-img img { transform: scale(1.04); }

/* 特性小卡（图标） */
.feature-tile { background: var(--bg-grey); border-radius: var(--radius-xl); padding: 40px 32px; }
.chapter-grey .feature-tile { background: #fff; }
.feature-tile .f-icon { font-size: 34px; line-height: 1; margin-bottom: 18px; }
.feature-tile h3 { font-size: 21px; font-weight: 700; }
.feature-tile p { font-size: 15px; color: var(--text-sub); margin-top: 10px; }

/* 徽标 pill */
.pill {
  display: inline-block; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 980px; margin-bottom: 14px;
  background: rgba(0, 113, 227, 0.1); color: var(--blue);
}
.pill.amber { background: rgba(182, 68, 0, 0.1); color: var(--amber); }
.pill.green { background: rgba(29, 128, 79, 0.12); color: #1d804f; }

/* ---------- 数字统计 ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-row b { display: block; font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.02em; }
.stat-row span { display: block; margin-top: 8px; font-size: 14px; color: var(--text-sub); }
.chapter-dark .stat-row span { color: var(--text-dark-sub); }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius-xl); overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.split-copy h2 { margin-bottom: 0; }
.split-copy .t-sub { margin-top: 16px; }
.split-copy .body-p { margin-top: 16px; color: var(--text-sub); font-size: 16px; }
.check-row { display: flex; gap: 24px; margin-top: 26px; flex-wrap: wrap; }
.check-row li { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.check-row li::before { content: "✓"; color: var(--blue); font-weight: 700; }

/* ---------- 快速选型列表（深色章） ---------- */
.guide-list { margin-top: 56px; border-top: 1px solid var(--hairline-dark); }
.guide-list li {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 20px;
  padding: 28px 6px; border-bottom: 1px solid var(--hairline-dark);
}
.guide-list .num { font-size: 15px; color: #f56300; font-weight: 700; }
.guide-list b { font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; letter-spacing: -0.01em; }
.guide-list em { font-style: normal; font-size: 14px; color: var(--text-dark-sub); margin-top: 4px; display: block; }
.guide-list .go { color: #2997ff; font-size: 20px; }

/* ---------- 时间线 ---------- */
.timeline { border-left: 2px solid var(--hairline); padding-left: 36px; margin-top: 56px; }
.timeline li { position: relative; padding-bottom: 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -43px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--text);
}
.timeline b { font-size: 15px; color: var(--amber); font-weight: 700; }
.timeline h4 { font-size: 21px; font-weight: 700; margin-top: 4px; }
.timeline p { font-size: 15px; color: var(--text-sub); margin-top: 8px; max-width: 560px; }

/* ---------- 表格（Apple 风） ---------- */
.table-card {
  background: var(--bg-grey); border-radius: var(--radius-lg);
  padding: 8px 24px; overflow-x: auto; margin-top: 48px;
}
.table-card caption {
  caption-side: top; text-align: left; font-size: 17px; font-weight: 700;
  padding: 18px 4px 14px; color: var(--text);
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--hairline); }
.spec-table thead th { font-size: 12px; color: var(--text-sub); font-weight: 600; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { font-weight: 600; white-space: nowrap; }
.table-note { font-size: 12px; color: var(--text-sub); margin-top: 12px; }

/* ---------- FAQ 手风琴 ---------- */
.acc-list { margin-top: 40px; }
.acc-item { border-bottom: 1px solid var(--hairline); }
.acc-item:first-child { border-top: 1px solid var(--hairline); }
.acc-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 44px 24px 4px; font-size: clamp(17px, 2vw, 21px); font-weight: 600;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--text-sub); transition: transform 0.3s ease;
}
.acc-item[open] summary::after { content: "−"; }
.acc-body { padding: 0 44px 28px 4px; font-size: 15px; color: var(--text-sub); }

/* ---------- CTA 章节 ---------- */
.cta-dark { background: var(--bg-dark); color: #fff; text-align: center; }
.cta-dark .t-sub { color: var(--text-dark-sub); }
.cta-info {
  display: flex; justify-content: center; gap: 36px; margin-top: 44px; flex-wrap: wrap;
  font-size: 14px; color: var(--text-dark-sub);
}

/* ---------- 表单 ---------- */
.form-card { background: var(--bg-grey); border-radius: var(--radius-xl); padding: 44px 40px; }
.form-card h3 { font-size: 24px; font-weight: 700; }
.form-note { font-size: 13px; color: var(--text-sub); margin-top: 8px; }
.field { margin-top: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px;
  border: 1px solid var(--hairline); border-radius: 12px;
  padding: 12px 14px; background: #fff; color: var(--text); outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--btn-blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}
.field textarea { min-height: 96px; resize: vertical; }
.form-card .btn-pill { margin-top: 26px; width: 100%; text-align: center; border: 0; }
.form-ok { margin-top: 14px; font-size: 14px; color: #1d804f; display: none; }
.form-ok.show { display: block; }

/* 联系卡 */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.contact-card { background: var(--bg-grey); border-radius: var(--radius-lg); padding: 28px 24px; }
.contact-card h3 { font-size: 14px; color: var(--text-sub); font-weight: 600; }
.contact-card b { display: block; font-size: 19px; margin-top: 8px; letter-spacing: -0.01em; }
.contact-card b a { color: var(--text); }
.contact-card p { font-size: 13px; color: var(--text-sub); margin-top: 8px; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }

.map-embed { margin-top: 32px; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--hairline); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }
.map-tip { padding: 20px 24px; background: var(--bg-grey); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.map-tip strong { font-size: 15px; display: block; }
.map-tip span { font-size: 13px; color: var(--text-sub); }

/* ---------- 翻页 ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 90px; }
.pager a {
  background: var(--bg-grey); border-radius: var(--radius-lg); padding: 22px 26px;
  display: block; text-decoration: none; color: var(--text); transition: background 0.2s ease;
}
.pager a:hover { background: #ebebef; }
.pager small { font-size: 12px; color: var(--text-sub); display: block; }
.pager b { font-size: 17px; }
.pager a.next { text-align: right; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-grey); font-size: 12px; color: var(--text-sub); padding: 40px 0 60px; }
.footer-inner { max-width: var(--shell-wide); margin: 0 auto; padding: 0 22px; }
.footer-note { padding-bottom: 16px; border-bottom: 1px solid var(--hairline); line-height: 1.7; }
.footer-note a { color: var(--text); }
.footer-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 28px;
  padding: 28px 0 20px; border-bottom: 1px solid var(--hairline);
}
.footer-cols h4 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer-cols a, .footer-cols span { display: block; font-size: 12px; color: var(--text-sub); padding: 4px 0; }
.footer-cols a:hover { color: var(--text); text-decoration: none; }
.footer-brand b { font-size: 15px; color: var(--text); }
.footer-slogan { margin-top: 10px; color: var(--text); font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; flex-wrap: wrap; }
.footer-bottom a { color: var(--text-sub); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .chapter { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .guide-list li { grid-template-columns: 36px 1fr; }
  .guide-list .go { display: none; }
  .pager { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-apple { min-height: 72vh; }
  .tile-body { padding: 32px 24px 36px; }
}
