/*
Theme Name: 鹏之宇 PengZhiYu
Theme URI: https://www.lvsejishu.com
Author: 山东鹏之宇新技术有限公司
Author URI: https://www.lvsejishu.com
Description: 山东鹏之宇新技术有限公司官方主题。商务稳重 / 天青色系 / 响应式，内置公司信息面板、首页文案的可视化修改与客户留言管理，所有栏目页均可后台在线编辑。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pengzhiyu
Tags: business, responsive-layout, custom-menu, custom-logo, translation-ready, blog
*/

/* ---------- CSS 变量（天青色系） ---------- */
:root {
  --c-primary: #5B8A8A;          /* 天青主色 */
  --c-primary-dark: #2E5959;     /* 深天青 */
  --c-primary-light: #A6C5C5;    /* 浅天青 */
  --c-accent: #B79870;           /* 青铜点缀 */
  --c-bg: #F7F8F8;               /* 雾白背景 */
  --c-bg-alt: #EEF1F1;           /* 岩灰背景 */
  --c-card: #FFFFFF;             /* 卡片白 */
  --c-text: #1F2A2A;             /* 墨黑正文 */
  --c-text-soft: #6B7A7A;        /* 砚灰副文 */
  --c-text-mute: #9BAAAA;        /* 弱化文字 */
  --c-border: #DDDDDD;
  --c-success: #3A6B3A;
  --c-warning: #A03C3C;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 2px 8px rgba(31, 42, 42, .05);
  --shadow-md: 0 6px 20px rgba(31, 42, 42, .08);
  --shadow-lg: 0 16px 40px rgba(31, 42, 42, .12);

  --container: 1240px;
  --header-h: 76px;

  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans CN", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Han Serif", "Noto Serif SC", "Songti SC", "SimSun", serif;
}

/* ---------- 重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary-dark); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 布局容器 ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* ---------- 排版 ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--c-text); font-weight: 600; line-height: 1.35; }
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .25em;
  color: var(--c-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 { margin-bottom: 12px; }
.section-title .lead { color: var(--c-text-soft); max-width: 720px; margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: all .25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn .arrow { margin-left: 6px; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 导航栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 248, .85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(91, 138, 138, .12);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-text);
}
.brand:hover { color: var(--c-text); }
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0;
}
.brand { min-width: 0; }
.brand-text {
  display: flex; flex-direction: column; justify-content: center;
  line-height: 1.15; min-width: 0;
}
.brand-text .name {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-text .slogan {
  font-size: .72rem; color: var(--c-text-soft); margin-top: 2px; letter-spacing: .06em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  display: block;
  padding: 10px 10px;
  color: var(--c-text);
  font-size: .88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav a:hover { color: var(--c-primary); }
.nav a.active { color: var(--c-primary); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--c-primary);
}
.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 9px 18px; font-size: .9rem; }

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(80% 60% at 80% 20%, rgba(91, 138, 138, .18), transparent 60%),
    radial-gradient(60% 50% at 20% 80%, rgba(183, 152, 112, .14), transparent 60%),
    linear-gradient(135deg, #EEF1F1 0%, #DCE3E3 100%);
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><path d='M0 50 Q25 40 50 50 T100 50' stroke='%235B8A8A' stroke-opacity='.05' fill='none' stroke-width='1'/></svg>");
  background-size: 200px 200px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  margin-bottom: 24px;
  color: var(--c-text);
}
.hero h1 .hl {
  color: var(--c-primary-dark);
  position: relative;
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 6px;
  background: rgba(183, 152, 112, .35);
  z-index: -1;
}
.hero p.lead {
  font-size: 1.05rem;
  color: var(--c-text-soft);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  border-top: 1px solid rgba(91, 138, 138, .2);
  padding-top: 32px;
}
.hero-stats .stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--c-primary-dark);
  line-height: 1;
}
.hero-stats .stat-label { color: var(--c-text-soft); font-size: .85rem; margin-top: 6px; }

.hero-visual {
  position: relative;
  height: 460px;
}
.hv-card {
  position: absolute;
  background: var(--c-card);
  border-radius: var(--c-lg, 14px);
  box-shadow: var(--shadow-md);
  padding: 18px 22px;
}
.hv-card-1 { top: 30px; left: 10%; width: 240px; }
.hv-card-2 { top: 130px; right: 0; width: 220px; }
.hv-card-3 { bottom: 30px; left: 0; width: 280px; }
.hv-card-4 { bottom: 110px; right: 12%; width: 200px; }
.hv-card .label { font-size: .8rem; color: var(--c-text-soft); }
.hv-card .val { font-family: var(--font-serif); font-size: 1.4rem; color: var(--c-primary-dark); margin-top: 4px; }
.hv-card .trend { font-size: .75rem; color: var(--c-success); margin-top: 4px; }
.hv-card .trend.down { color: var(--c-warning); }
.hv-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--c-bg-alt));
  border: 2px dashed rgba(91, 138, 138, .25);
}
.hv-ring::before {
  content: '';
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-serif);
}
.hv-ring span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  z-index: 2;
  text-align: center;
  width: 140px;
}

/* ---------- 通用区段 ---------- */
.bg-alt { background: var(--c-bg-alt); }

/* 卡片 */
.card {
  background: var(--c-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  border: 1px solid transparent;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(91, 138, 138, .25);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(91, 138, 138, .12);
  color: var(--c-primary-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--c-text-soft); font-size: .95rem; }

/* 服务卡（横向） */
.service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 案例网格 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-card);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  cursor: pointer;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-cover {
  height: 200px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-serif);
}
.case-cover.v2 { background: linear-gradient(135deg, #B79870, #8C6F4A); }
.case-cover.v3 { background: linear-gradient(135deg, #4E7B7B, #2E5959); }
.case-cover.v4 { background: linear-gradient(135deg, #6B7A7A, #3D4848); }
.case-cover.v5 { background: linear-gradient(135deg, #7B9E8E, #4E6E5E); }
.case-cover.v6 { background: linear-gradient(135deg, #9DAFAB, #5C6E70); }
.case-cover .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  padding: 4px 10px;
  font-size: .75rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.case-body { padding: 22px 24px; }
.case-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.case-body p { color: var(--c-text-soft); font-size: .9rem; margin-bottom: 14px; }
.case-body .meta { display: flex; gap: 14px; color: var(--c-text-mute); font-size: .8rem; }

/* 时间线 */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--c-primary-light);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-card);
  border: 3px solid var(--c-primary);
}
.timeline-item .year {
  font-family: var(--font-serif);
  color: var(--c-primary-dark);
  font-weight: 600;
  margin-bottom: 4px;
}

/* 团队 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { text-align: center; }
.avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  position: relative;
}
.avatar::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(91, 138, 138, .4);
}
.team-card h3 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.team-card .role { color: var(--c-primary); font-size: .85rem; margin-bottom: 12px; }
.team-card .bio { color: var(--c-text-soft); font-size: .85rem; }

/* 新闻列表 */
.news-list { display: grid; gap: 20px; }
.news-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  transition: all .25s;
  border-left: 4px solid transparent;
}
.news-item:hover {
  border-left-color: var(--c-primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.news-thumb {
  height: 130px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.6rem;
}
.news-meta {
  display: flex;
  gap: 16px;
  font-size: .8rem;
  color: var(--c-text-mute);
  margin-bottom: 8px;
}
.news-meta .tag {
  background: rgba(91, 138, 138, .12);
  color: var(--c-primary-dark);
  padding: 2px 10px;
  border-radius: 999px;
}
.news-item h3 { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.news-item p { color: var(--c-text-soft); font-size: .9rem; margin-bottom: 12px; }
.news-item .more { color: var(--c-primary); font-size: .85rem; font-weight: 500; }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  color: var(--c-text-soft);
  font-size: .9rem;
}
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* 表单 */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--c-text-soft); margin-bottom: 28px; }
.contact-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--c-border);
}
.contact-list .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(91, 138, 138, .1);
  color: var(--c-primary-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-list .label { font-size: .8rem; color: var(--c-text-mute); }
.contact-list .value { color: var(--c-text); margin-top: 2px; font-size: 1rem; }

.form-card {
  background: var(--c-card);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .85rem;
  color: var(--c-text);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group label .req { color: var(--c-warning); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-bg);
  font-size: .95rem;
  font-family: inherit;
  color: var(--c-text);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(91, 138, 138, .12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-msg { display: none; padding: 14px; border-radius: var(--radius-md); margin-bottom: 16px; font-size: .9rem; }
.form-msg.success { display: block; background: rgba(58, 107, 58, .1); color: var(--c-success); border: 1px solid rgba(58, 107, 58, .2); }
.form-msg.error { display: block; background: rgba(160, 60, 60, .08); color: var(--c-warning); border: 1px solid rgba(160, 60, 60, .2); }

/* 平台介绍 (能碳管理平台) */
.platform-hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 60%, #6B9A99 100%);
  color: #fff;
  padding: 110px 0 90px;
  overflow: hidden;
}
.platform-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'><circle cx='700' cy='80' r='240' fill='%23ffffff' fill-opacity='.04'/><circle cx='80' cy='320' r='200' fill='%23ffffff' fill-opacity='.04'/></svg>");
  background-size: cover;
}
.platform-hero h1, .platform-hero p { color: #fff; }
.platform-hero h1 { margin-bottom: 18px; }
.platform-hero .lead { color: rgba(255, 255, 255, .85); max-width: 720px; }
.platform-hero .eyebrow { color: var(--c-primary-light); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  text-align: left;
  padding: 28px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(91, 138, 138, .15);
}
.feature .num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--c-primary);
  font-weight: 600;
  line-height: 1;
}
.feature h3 { font-family: var(--font-sans); font-size: 1.1rem; margin: 12px 0 10px; }
.feature p { color: var(--c-text-soft); font-size: .9rem; }

/* 流程 */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-step {
  text-align: center;
  padding: 24px 16px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  position: relative;
}
.process-step .step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 0 auto 14px;
}
.process-step h4 { font-family: var(--font-sans); font-size: 1rem; margin-bottom: 8px; }
.process-step p { color: var(--c-text-soft); font-size: .85rem; }

/* CTA 条 */
.cta-band {
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-bottom: 28px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.cta-band .btn-primary:hover {
  background: #A38258;
  border-color: #A38258;
}

/* 页脚 */
.site-footer {
  background: #1F2A2A;
  color: #A6C5C5;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; margin-bottom: 18px; letter-spacing: .04em; }
.site-footer ul li { padding: 6px 0; }
.site-footer a { color: #A6C5C5; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #A6C5C5; font-size: .9rem; line-height: 1.8; }
.footer-contact { margin-top: 14px; font-size: .85rem; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  text-align: center;
  font-size: .82rem;
  color: #6B7A7A;
}
.copyright a { color: #A6C5C5; }

/* 内页头部 */
.page-hero {
  background: linear-gradient(135deg, #EEF1F1 0%, #DCE3E3 100%);
  padding: 70px 0 50px;
  border-bottom: 1px solid rgba(91, 138, 138, .15);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><circle cx='20' cy='20' r='1.2' fill='%235B8A8A' fill-opacity='.15'/></svg>");
  background-size: 40px 40px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-size: .85rem;
  color: var(--c-text-soft);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--c-primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--c-text-mute); }
.page-hero h1 { color: var(--c-text); margin-bottom: 12px; }
.page-hero .lead { color: var(--c-text-soft); max-width: 760px; }

/* 数据块 */
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric {
  text-align: center;
  padding: 32px 16px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
}
.metric-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--c-primary-dark);
  font-weight: 600;
  line-height: 1;
}
.metric-label { color: var(--c-text-soft); font-size: .9rem; margin-top: 8px; }

/* 二列布局 */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col .visual {
  height: 360px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.6rem;
}
.two-col .visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><path d='M0 30 Q15 24 30 30 T60 30' stroke='%23ffffff' stroke-opacity='.1' fill='none'/></svg>");
}

/* 资质荣誉 */
.honors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.honor-card {
  padding: 24px 20px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--c-border);
  transition: all .25s;
}
.honor-card:hover { border-color: var(--c-primary); transform: translateY(-2px); }
.honor-card .ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(183, 152, 112, .15);
  color: var(--c-accent);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}
.honor-card h4 { font-family: var(--font-sans); font-size: .95rem; margin-bottom: 6px; }
.honor-card p { color: var(--c-text-soft); font-size: .82rem; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--c-card);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.faq-q {
  padding: 18px 24px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after {
  content: '+';
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--c-primary);
  transition: transform .3s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 24px;
  color: var(--c-text-soft);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* 新闻详情 */
.article { max-width: 820px; margin: 0 auto; }
.article h1 { margin-bottom: 16px; }
.article .meta { color: var(--c-text-soft); margin-bottom: 28px; font-size: .9rem; }
.article .body { font-size: 1rem; line-height: 1.85; color: var(--c-text); }
.article .body p { margin-bottom: 18px; }
.article .body h3 { font-family: var(--font-serif); margin: 28px 0 14px; }
.article .body blockquote {
  border-left: 4px solid var(--c-primary);
  background: var(--c-bg-alt);
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--c-text-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .feature-grid, .service-row, .case-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .metric-row, .honors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav, .nav-cta { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--c-card);
    padding: 16px;
    box-shadow: var(--shadow-md);
    align-items: stretch;
  }
  .nav.open a { padding: 12px 16px; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .service-row, .case-grid, .team-grid, .metric-row, .honors, .footer-grid, .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-thumb { height: 180px; }
  .form-card { padding: 24px; }
  .page-hero, .platform-hero { padding: 50px 0 40px; }
  .hv-card { display: none; }
  /* 手机端：品牌名收窄，避免与菜单按钮重叠 */
  .header-inner { gap: 10px; }
  .brand { flex: 1 1 auto; gap: 9px; }
  .brand-logo { width: 34px; height: 34px; font-size: 1rem; }
  .brand-text .name { font-size: .95rem; }
  .brand-text .slogan { font-size: .66rem; letter-spacing: .02em; }
  .menu-toggle { flex: 0 0 auto; }
}


/* ==========================================================================
   WordPress 主题适配样式
   ========================================================================== */

/* 屏幕阅读器专用 */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* 后台编辑器内容区：恢复被全局重置掉的列表符号与间距 */

/* 页面正文：
   若内容自带 <section>（如导入的原有页面），则整幅宽度输出，由各 section 自带的 .container 控制边距；
   若只是普通段落（后台新写的页面），自动补一层居中容器，避免文字贴边。 */
.entry-content:not(:has(> section)) {
  max-width: var(--container, 1240px);
  margin: 0 auto;
  padding: 56px 24px;
}

.entry-thumb { max-width: var(--container, 1240px); margin: 40px auto; padding: 0 24px; }
.entry-thumb img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* 注意：这里全部限定为「直接子元素」，避免覆盖导入页面里卡片内部的同标签样式 */
.entry-content > ul,
.entry-content > ol { padding-left: 1.4em; margin: 0 0 20px; }
.entry-content > ul { list-style: disc; }
.entry-content > ol { list-style: decimal; }
.entry-content > ul ul { list-style: circle; }
.entry-content > ul > li,
.entry-content > ol > li { margin-bottom: 8px; line-height: 1.8; }
.entry-content > ul > li > ul,
.entry-content > ol > li > ol { margin: 8px 0 0; }
.entry-content > p { margin: 0 0 18px; }
.entry-content > h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 40px 0 16px; }
.entry-content > h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.entry-content > h4 { font-size: 1.05rem; margin: 26px 0 10px; }
.entry-content > blockquote {
  margin: 24px 0; padding: 18px 24px; border-left: 4px solid var(--c-primary);
  background: var(--c-bg-alt); color: var(--c-text-soft); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.entry-content > p > strong,
.entry-content > li > strong { color: var(--c-text); font-weight: 600; }
.entry-content > p > a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content > hr { border: 0; border-top: 1px solid var(--c-border); margin: 36px 0; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }

/* 图片与图注 */
.alignleft { float: left; margin: 6px 24px 18px 0; }
.alignright { float: right; margin: 6px 0 18px 24px; }
.aligncenter { display: block; margin: 24px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption { font-size: .85rem; color: var(--c-text-mute); text-align: center; margin-top: 8px; }
.size-full { max-width: 100%; height: auto; }

/* Gutenberg 区块基础 */
.wp-block-image figcaption { font-size: .85rem; color: var(--c-text-mute); text-align: center; margin-top: 8px; }
.wp-block-quote { margin: 24px 0; padding: 18px 24px; border-left: 4px solid var(--c-primary); background: var(--c-bg-alt); }
.wp-block-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.wp-block-table th, .wp-block-table td { border: 1px solid var(--c-border); padding: 10px 14px; text-align: left; }
.wp-block-table th { background: var(--c-bg-alt); font-weight: 600; }
.wp-block-button__link { display: inline-block; background: var(--c-primary); color: #fff !important; padding: 12px 26px; border-radius: var(--radius-sm); }
.wp-block-file a { text-decoration: underline; }
.wp-block-separator { border: 0; border-top: 1px solid var(--c-border); margin: 36px 0; }

/* 文章列表 / 分页 */
.posts-list { display: grid; gap: 24px; }

/* 通用分页条：数字方块居中排列；较长的「下一页 →」自动变宽，不再溢出方块 */
.pagination {
  display: flex; gap: 8px; justify-content: center; align-items: center;
  margin-top: 48px; flex-wrap: wrap;
}
.pagination a, .pagination span { width: auto; min-width: 38px; padding: 0 12px; }

/* WordPress 分页输出结构：<div class="pagination"><ul class="page-numbers"><li>...
   只针对 WP 生成的结构，避免影响页面正文里自带的示例分页。 */
.pagination:has(ul.page-numbers) { margin-top: 48px; }
.pagination ul.page-numbers {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.pagination ul.page-numbers li { margin: 0; padding: 0; }
.pagination ul.page-numbers li > a,
.pagination ul.page-numbers li > span {
  min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  background: var(--c-card); color: var(--c-text-soft); font-size: .9rem;
}
.pagination ul.page-numbers li > a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination ul.page-numbers li > span.current {
  background: var(--c-primary); color: #fff; border-color: var(--c-primary); font-weight: 600;
}
.pagination ul.page-numbers li > span.dots { border: 0; background: transparent; min-width: 20px; }

/* 文章详情 */
.entry-meta-bar {
  display: flex; gap: 20px; flex-wrap: wrap; align-items: center;
  color: var(--c-text-mute); font-size: .88rem; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid var(--c-border);
}
.entry-tags { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.entry-tags a {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--c-bg-alt); border: 1px solid var(--c-border);
  color: var(--c-text-soft); font-size: .82rem;
}
.entry-nav {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--c-border); font-size: .92rem;
}

/* 客户留言后台列表 */
.wp-list-table .column-pzy_phone,
.wp-list-table .column-pzy_company,
.wp-list-table .column-pzy_service { width: 14%; }

/* 表单提示 */
.form-msg { display: none; margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .92rem; }
.form-msg.show { display: block; }
.form-msg.error { background: #FDF2F2; border: 1px solid #E8B4B4; color: #8C2E2E; }
.form-msg.success { background: #F0F7F2; border: 1px solid #B9D6C1; color: #2F5C3A; }
.pzy-form-note { text-align: center; font-size: .8rem; color: var(--c-text-mute); margin-top: 14px; }

/* 搜索结果 */
.search-form-inline { display: flex; gap: 10px; max-width: 480px; margin: 32px auto 0; }
.search-form-inline input[type="search"] {
  flex: 1; padding: 12px 16px; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); font-size: .95rem; font-family: inherit;
}
.search-form-inline button {
  padding: 12px 24px; background: var(--c-primary); color: #fff;
  border: 0; border-radius: var(--radius-sm); font-family: inherit; font-size: .95rem;
}

/* 404 */
.notfound-wrap { text-align: center; padding: 40px 0 20px; }
.notfound-code {
  font-family: var(--font-serif); font-size: clamp(4rem, 12vw, 8rem);
  color: var(--c-primary-light); line-height: 1; margin-bottom: 8px;
}


/* ---------- WordPress 菜单结构适配 ---------- */
/* WP 输出的是 nav > ul.nav-menu > li > a，需让 ul 继承原 .nav 的横向排布 */
.nav > ul.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav > ul.nav-menu > li { margin: 0; padding: 0; }

/* 当前页面自动高亮（后台菜单维护后无需手工标记） */
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_item > a {
  color: var(--c-primary);
}
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%); width: 16px; height: 2px; background: var(--c-primary);
}

/* 二级下拉菜单 */
.nav > ul.nav-menu > li { position: relative; }
.nav > ul.nav-menu .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 180px;
  background: var(--c-card); border: 1px solid var(--c-border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 8px; z-index: 50;
  list-style: none; margin: 0;
}
.nav > ul.nav-menu li:hover > .sub-menu { display: block; }
.nav > ul.nav-menu .sub-menu a { padding: 8px 12px; font-size: .9rem; white-space: nowrap; }
.nav > ul.nav-menu .sub-menu a::after { display: none; }

@media (max-width: 768px) {
  .nav.open > ul.nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open > ul.nav-menu > li { border-bottom: 1px solid var(--c-border); }
  .nav.open > ul.nav-menu .sub-menu {
    position: static; display: block; box-shadow: none;
    border: 0; padding: 0 0 0 12px; background: transparent;
  }
}

/* ---------- 页头自适应 ----------
   公司全称较长、栏目有十个时，需要按宽度分档收窄，避免挤在一起：
   >1250        正常
   1151 - 1250  字号与内边距收一档
   <=1150       折叠为汉堡菜单
   实测（默认十个栏目）：基础档约需 1184px，紧凑档约需 1069px。 */
.brand { flex: 0 0 auto; }
.nav { flex: 0 0 auto; min-width: 0; }
.nav a { white-space: nowrap; }
.nav-cta { flex: 0 0 auto; white-space: nowrap; margin-left: 16px; }
.menu-toggle { flex: 0 0 auto; }

@media (max-width: 1250px) {
  .nav a { padding: 9px 8px; font-size: .84rem; }
  .brand-text .name { font-size: .96rem; }
}

/* 平板及以下：导航折叠为汉堡菜单（与手机端一致） */
@media (max-width: 1150px) {
  .nav, .nav-cta { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--c-card);
    padding: 16px;
    box-shadow: var(--shadow-md);
    align-items: stretch;
  }
  .nav.open > ul.nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open > ul.nav-menu > li { border-bottom: 1px solid var(--c-border); }
  .nav.open a { padding: 12px 16px; font-size: .95rem; }
  .nav.open > ul.nav-menu .sub-menu {
    position: static; display: block; box-shadow: none;
    border: 0; padding: 0 0 0 12px; background: transparent;
  }
  .menu-toggle { display: grid; place-items: center; }
}

/* 后台工具栏显示时修正固定头部的偏移 */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
