/**
 * 鹏飞广告 — 商业化主题
 * 覆盖原 DedeCMS 灰旧皮肤，内容结构不变
 */
:root {
  --pf-ink: #12161d;
  --pf-ink-soft: #1e2530;
  --pf-muted: #667085;
  --pf-line: #d8dde6;
  --pf-paper: #eef1f5;
  --pf-surface: #ffffff;
  --pf-accent: #c3922e;
  --pf-accent-deep: #9a711c;
  --pf-navy: #1a2740;
  --pf-wrap: 1120px;
  --pf-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --pf-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* 盖掉旧站全局 */
body.pf-site {
  margin: 0;
  color: var(--pf-ink);
  font-family: var(--pf-sans);
  font-size: 15px;
  line-height: 1.65;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(195, 146, 46, 0.12), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(26, 39, 64, 0.08), transparent 50%),
    linear-gradient(180deg, #f5f7fa 0%, var(--pf-paper) 40%, #e9edf3 100%);
  overflow-x: hidden;
  min-width: 0 !important;
}
body.pf-site * {
  transition: none;
}
body.pf-site a {
  color: inherit;
  text-decoration: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-wrap {
  width: min(100% - 32px, var(--pf-wrap));
  margin: 0 auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 22, 29, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.site-header-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}
/* 已取消 Logo 图片显示 */
.site-brand img,
.site-logo {
  display: none !important;
}
.site-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #fff;
}
.site-brand-text strong {
  font-family: var(--pf-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.site-brand-text em {
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
/* 电话靠前、更醒目：紧跟品牌右侧 */
.site-header-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 8px;
  margin-right: auto;
  padding: 8px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  flex-shrink: 0;
}
.site-header-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--pf-accent);
  font-weight: 600;
  margin-bottom: 2px;
}
.site-header-phone {
  font-family: var(--pf-serif);
  font-size: 22px;
  font-weight: 700;
  color: #ffe08a !important;
  white-space: nowrap;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.site-header-phone:hover {
  color: #fff !important;
}
.site-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--pf-navy);
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav li {
  float: none !important;
  width: auto !important;
}
.site-nav a {
  display: block;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}
.site-nav a:hover,
.site-nav a.on {
  color: #fff !important;
}
.site-nav a.on::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: var(--pf-accent);
}

/* 隐藏旧 header/menu 残留类名时的冲突（新模板已不用） */
body.pf-site > .header,
body.pf-site > .menu {
  display: none !important;
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
}

/* —— Hero —— */
.pf-hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.pf-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pf-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  animation: pf-kenburns 18s ease-out forwards;
}
.pf-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 14, 22, 0.82) 0%, rgba(10, 14, 22, 0.45) 55%, rgba(10, 14, 22, 0.25) 100%),
    linear-gradient(0deg, rgba(10, 14, 22, 0.7) 0%, transparent 55%);
}
.pf-hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 0 64px;
  max-width: 720px;
  margin-left: max(16px, calc((100% - var(--pf-wrap)) / 2));
  margin-right: auto;
  width: min(100% - 32px, 720px);
  animation: pf-rise 0.9s ease both;
}
.pf-hero-brand {
  margin: 0 0 14px;
  font-family: var(--pf-serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
}
.pf-hero-title {
  margin: 0 0 14px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}
.pf-hero-desc {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}
.pf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
}
.pf-btn-primary {
  background: var(--pf-accent);
  color: #111 !important;
  border-color: var(--pf-accent);
}
.pf-btn-primary:hover {
  background: var(--pf-accent-deep);
  border-color: var(--pf-accent-deep);
  color: #fff !important;
}
.pf-btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
}
.pf-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

@keyframes pf-kenburns {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}
@keyframes pf-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Sections —— */
.pf-section {
  padding: 56px 0 48px;
}
.pf-section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid rgba(216, 221, 230, 0.7);
}
.pf-section-head {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pf-line);
}
.pf-section-head h2 {
  margin: 0;
  font-family: var(--pf-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--pf-ink);
  letter-spacing: 0.04em;
}
.pf-section-head p {
  margin: 6px 0 0;
  color: var(--pf-muted);
  font-size: 14px;
}
.pf-more {
  position: absolute;
  right: 0;
  top: 8px;
  font-size: 13px;
  color: var(--pf-accent-deep) !important;
  font-weight: 600;
}
.pf-more:hover {
  color: var(--pf-ink) !important;
}

/* 首页网格卡片 */
.home-showcase,
.product.home-showcase {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding-bottom: 0 !important;
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-grid > li {
  margin: 0;
  float: none;
  width: auto;
}
.home-card {
  display: block;
  background: var(--pf-surface);
  border: 1px solid var(--pf-line);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.25s ease, box-shadow 0.35s ease;
}
.home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(195, 146, 46, 0.45);
  box-shadow: 0 12px 28px rgba(18, 22, 29, 0.08);
}
.home-card-img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e5e8ee;
}
.home-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.home-card:hover .home-card-img img {
  transform: scale(1.05);
}
.home-card-name {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--pf-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
  background: #fff;
  white-space: normal;
  text-align: left;
}

/* 新闻 + 联系 */
.pf-split {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 32px;
  align-items: start;
}
.pf-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--pf-surface);
  border: 1px solid var(--pf-line);
}
.pf-news-list li + li {
  border-top: 1px solid var(--pf-line);
}
.pf-news-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  align-items: baseline;
}
.pf-news-list a:hover .pf-news-title {
  color: var(--pf-accent-deep);
}
.pf-news-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.pf-news-date {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--pf-muted);
  font-variant-numeric: tabular-nums;
}
.pf-contact-block {
  background: var(--pf-ink);
  color: #fff;
  padding: 28px 26px 32px;
}
.pf-contact-block .pf-section-head {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.pf-contact-block .pf-section-head h2,
.pf-contact-block .pf-section-head p {
  color: #fff;
}
.pf-contact-block .pf-section-head p {
  color: rgba(255, 255, 255, 0.65);
}
.pf-contact-body p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
}
.pf-contact-body span {
  display: inline-block;
  min-width: 2.5em;
  margin-right: 8px;
  color: var(--pf-accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.pf-contact-body .pf-btn {
  margin-top: 10px;
}

/* 合作伙伴 */
.pf-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pf-partners li {
  background: #fff;
  border: 1px solid var(--pf-line);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-partners img {
  max-height: 56px;
  width: auto;
  display: block;
  filter: grayscale(0.2);
  opacity: 0.9;
}

/* —— Footer —— */
.site-footer {
  background: var(--pf-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 40px 0 36px;
  margin-top: 0;
}
.site-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}
.site-footer-brand strong {
  display: block;
  font-family: var(--pf-serif);
  font-size: 20px;
  color: #fff;
  margin-bottom: 6px;
}
.site-footer-brand p,
.site-footer-meta p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
}
.site-footer-search form {
  display: flex;
  gap: 0;
}
.site-search-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
}
.site-search-btn {
  height: 40px;
  padding: 0 16px;
  border: 0;
  background: var(--pf-accent);
  color: #111;
  font-weight: 600;
  cursor: pointer;
}

/* 返回顶部（无微信浮层） */
.site-backtop {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 90;
  width: 42px;
  height: 42px;
  border: 1px solid var(--pf-line);
  background: rgba(255, 255, 255, 0.95);
  color: var(--pf-ink);
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.site-backtop.is-show {
  opacity: 1;
  pointer-events: auto;
}

/* 彻底隐藏旧浮动微信工具 */
#common-tool,
.common-sweep-box,
.flink {
  display: none !important;
}

/* —— 内页：无侧栏，内容居中全宽 —— */
body.pf-site .fyMain,
body.pf-site .main,
body.pf-site .pf-content {
  width: min(100% - 32px, var(--pf-wrap)) !important;
  max-width: var(--pf-wrap) !important;
  margin: 28px auto 40px !important;
  float: none !important;
  clear: both;
  overflow: visible;
  display: block;
}
body.pf-site .fyLeft {
  display: none !important;
}
body.pf-site .fyRight {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  background: #fff;
  border: 1px solid var(--pf-line);
  box-sizing: border-box;
  min-height: 360px;
  display: block;
}
body.pf-site .title_view {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  background: transparent !important;
  border-bottom: 1px solid var(--pf-line);
  padding: 18px 24px !important;
  height: auto !important;
  line-height: 1.4 !important;
}
body.pf-site .title_view .fl {
  float: none !important;
  font-family: var(--pf-serif);
  font-size: 22px !important;
  color: var(--pf-ink) !important;
  font-weight: 700;
}
body.pf-site .title_view .fr {
  float: none !important;
  display: block;
  margin-top: 0;
  font-size: 12px;
  color: var(--pf-muted);
}
body.pf-site .mainRightMain {
  width: 100% !important;
  float: none !important;
  overflow: hidden;
}
body.pf-site .pf-list {
  list-style: none;
  margin: 0;
  padding: 8px 8px 20px !important;
}
body.pf-site .pf-list li {
  border-bottom: 1px solid var(--pf-line);
  line-height: 1.5 !important;
  overflow: hidden;
}
body.pf-site .pf-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 14px 16px;
}
body.pf-site .pf-list a:hover .pf-list-title {
  color: var(--pf-accent-deep);
}
body.pf-site .pf-list-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.pf-site .pf-list-date {
  flex-shrink: 0;
  color: var(--pf-muted);
  font-size: 13px;
}
body.pf-site .pro_list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  padding: 24px !important;
  overflow: hidden;
  width: auto !important;
  float: none !important;
}
body.pf-site .pro_list li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  height: auto !important;
}
body.pf-site .pro_list li img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
body.pf-site .pro_list .proname {
  width: auto !important;
  float: none !important;
  background: #fff !important;
  padding: 10px 8px !important;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.pf-site .padding25 {
  padding: 28px 32px 36px !important;
  max-width: 860px;
  margin: 0 auto;
  box-sizing: border-box;
}
body.pf-site h2.center {
  font-family: var(--pf-serif);
  font-size: 26px !important;
  color: var(--pf-ink);
  border: 0 !important;
  padding-bottom: 12px;
  text-align: center;
}
body.pf-site .title_s {
  color: var(--pf-muted);
  border-bottom: 1px solid var(--pf-line);
  padding-bottom: 12px;
  margin-bottom: 20px;
  text-align: center;
}
body.pf-site .pagebox,
body.pf-site .newsview {
  font-size: 15px;
  line-height: 1.85;
  color: #2a3140;
  text-align: left;
}
body.pf-site .main_r_nav {
  border-top: 1px solid var(--pf-line);
  padding-top: 16px;
  margin-top: 24px;
}
body.pf-site .returnlist {
  display: inline-block;
  margin-top: 16px;
  color: var(--pf-accent-deep) !important;
  font-weight: 600;
}
body.pf-site .foot {
  display: none !important;
}
body.pf-site .pf-message-box {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--pf-line);
}
body.pf-site .pf-message-box h3 {
  margin: 0 0 12px;
}
body.pf-site .pf-search-form {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  max-width: 420px;
}
body.pf-site .pf-search-form input {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--pf-line);
}
body.pf-site .pf-search-form button {
  height: 40px;
  padding: 0 18px;
  border: 0;
  background: var(--pf-accent);
  font-weight: 600;
  cursor: pointer;
}

/* 留言表单 */
body.pf-site form[action="/message"] input,
body.pf-site form[action="/message"] textarea {
  border: 1px solid var(--pf-line);
  background: #fff;
  padding: 8px 10px !important;
  font-family: inherit;
  width: min(100%, 420px);
  box-sizing: border-box;
}
body.pf-site form[action="/message"] textarea {
  width: min(100%, 560px);
}
body.pf-site form[action="/message"] button {
  background: var(--pf-accent);
  border: 0;
  color: #111;
  font-weight: 600;
  padding: 10px 22px !important;
  cursor: pointer;
}

/* 平板 / 手机细调见 site-responsive.css（按屏宽自动切换） */
