/* ===========================================================================
   基础重置（Reset）—— 与 Tailwind CDN 内置的 preflight 保持一致
   ---------------------------------------------------------------------------
   背景：index / about / services / contact 四个页面引用了 Tailwind Play CDN，
   行业资讯（news、news-detail）没有引用，于是后者缺少这层重置：
     · img 是 inline 元素 → 行盒多出 descender 空隙，导航 LOGO 被顶高 6.6px、
       垂直居中被迫上移 3.3px；
     · body 保留浏览器默认 8px 外边距 → 整页内容下移 8px。
   两处叠加，切换页面时表现为「导航 LOGO 上下浮动 + 内容整体位移」。

   做法：把这层重置落到本站自己的样式表里，页面渲染不再依赖 CDN 是否加载。
   等价性：以下规则与 Tailwind preflight 一致，对已加载 Tailwind 的页面是幂等的
   （不改变其渲染结果），只把未加载 Tailwind 的页面拉到同一基准线上。
   =========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: currentColor;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
}

body {
  margin: 0;
  line-height: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong { font-weight: bolder; }

small { font-size: 80%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }

table { text-indent: 0; border-color: inherit; border-collapse: collapse; }

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, select { text-transform: none; }

button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

progress { vertical-align: baseline; }

[type='search'] { -webkit-appearance: textfield; outline-offset: -2px; }

summary { display: list-item; }

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; }

fieldset { margin: 0; padding: 0; }

legend { padding: 0; }

ol, ul, menu { list-style: none; margin: 0; padding: 0; }

textarea { resize: vertical; }

button, [role="button"] { cursor: pointer; }

:disabled { cursor: default; }

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video { max-width: 100%; height: auto; }

[hidden] { display: none; }

/* ---------------------------------------------------------------------------
   以下为本站原有样式
   --------------------------------------------------------------------------- */

/* 品牌色：绿色 #7ed321，橙色 #f5a623 */

:root {
  --brand-green: #7ed321;
  --brand-green-dark: #5cb85c;
  --brand-orange: #f5a623;
  --brand-orange-dark: #f76b1c;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-light: #f8faf5;
  --bg-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-main);
  /* 与 Tailwind preflight（html{line-height:1.5}）对齐：四个引用 Tailwind 的页面
     实际行高即 1.5，此前这里写 1.6 只在未引用 Tailwind 的行业资讯页生效，
     造成页面间文字疏密不一致。 */
  line-height: 1.5;
  background-color: var(--bg-white);
}

/* 导航栏 */
.navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-green-dark);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-orange));
  border-radius: 2px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* 按钮 */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  color: white;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(126, 211, 33, 0.3);
}

.btn-secondary {
  display: inline-block;
  background: white;
  color: var(--brand-green-dark);
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  border: 2px solid var(--brand-green);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--brand-green);
  color: white;
}

/* Hero 区域 */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8faf5 0%, #fff 50%, #fff9f0 100%);
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(126, 211, 33, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-title span {
  color: var(--brand-green-dark);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  width: 400px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.hero-image svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 子页面英雄区变体 —— 复用主页双栏结构，缩小高度避免空旷 */
.hero--page {
  min-height: 60vh;
}

/* 子页面 HERO 文字与内部元素居中，平衡左右重心（参照首页观感，避免靠边显重心不稳） */
.hero--page .hero-content {
  text-align: center;
}
.hero--page .hero-btns {
  justify-content: center;
}
.hero--page .hero-content .intro-stats,
.hero--page .hero-content .intro-tags {
  justify-content: center;
}

.hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-green-dark);
  letter-spacing: 0.12em;
  padding: 4px 16px;
  background: rgba(126, 211, 33, 0.1);
  border-radius: 20px;
  margin-bottom: 20px;
}

/* 本页特有元素在双栏左栏中改为左对齐 */
.hero-content .intro-stats,
.hero-content .intro-tags {
  justify-content: flex-start;
}

.hero-content .intro-stats {
  gap: 36px;
  margin-top: 32px;
}

.hero-content .intro-tags {
  margin-top: 28px;
}

.hero-content .intro-count {
  text-align: left;
  margin-top: 22px;
}

/* 区块标题 */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.section-title p {
  color: var(--text-muted);
  font-size: 16px;
}

.section-title .line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-orange));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* 特色服务卡片 */
.services-section {
  padding: 100px 20px;
  background: var(--bg-white);
}

/* 首页核心服务：五大业务版块并排一行 */
.services-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 16px;
  padding: 26px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(126, 211, 33, 0.12);
  border-color: rgba(126, 211, 33, 0.2);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(126, 211, 33, 0.1), rgba(245, 166, 35, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--brand-green-dark);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}

/* 数据统计 */
.stats-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  color: white;
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 16px;
  opacity: 0.9;
}

/* 关于我们 */
.about-section {
  padding: 100px 20px;
  background: var(--bg-light);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* 价值观 */
.values-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.value-item {
  background: white;
  padding: 32px 20px;
  border-radius: 12px;
  text-align: center;
  border-top: 4px solid var(--brand-green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(126, 211, 33, 0.12);
}

.value-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--brand-green-dark);
}

.value-item p {
  font-size: 14px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 我们的客户 */
.clients-section {
  padding: 100px 20px;
  background: var(--bg-white);
}

/* ===== 我们的客户（自适应客户墙）===== */
.clients-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

/* 客户数量徽章 */
.clients-summary {
  text-align: center;
  margin: -14px 0 42px;
}

.clients-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-green-dark);
  background: rgba(126, 211, 33, 0.1);
  border: 1px solid rgba(126, 211, 33, 0.28);
  border-radius: 999px;
  padding: 7px 20px;
}

.clients-count b {
  font-size: 17px;
  line-height: 1;
}

/* ===== 客户跑马灯（无缝横向滚动）=====
   统一卡片形态：有 logo 只展示 logo，无 logo 展示首字标 + 名称，
   两者等高，可任意混排。数量多时双排反向滚动，数量少时静态居中。 */
.clients-marquee {
  --mq-gap: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mq-row {
  overflow: hidden;
}

/* 两端柔化淡出，避免卡片被生硬切断 */
.clients-marquee:not(.is-static) .mq-row {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.mq-track {
  display: flex;
  align-items: center;
  gap: var(--mq-gap);
  /* padding-right 让「内容 + 一份副本」的总宽正好是 2 倍，
     translateX(-50%) 才能精确回到起点，实现无缝衔接 */
  padding-right: var(--mq-gap);
  width: max-content;
  animation: mq-scroll-left var(--mq-dur, 36s) linear infinite;
}

.mq-row--reverse .mq-track {
  animation-name: mq-scroll-right;
}

@keyframes mq-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes mq-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* 鼠标悬停（或键盘聚焦）暂停，方便看清客户名称 */
.clients-marquee:hover .mq-track,
.clients-marquee:focus-within .mq-track {
  animation-play-state: paused;
}

/* 客户较少：不滚动，直接居中平铺 */
.clients-marquee.is-static .mq-row {
  -webkit-mask-image: none;
  mask-image: none;
}

.clients-marquee.is-static .mq-track {
  animation: none;
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
  padding-right: 0;
  gap: 16px;
}

.mq-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 76px;
  min-width: 148px;
  padding: 0 24px;
  background: #fff;
  border: 1px solid #eef0ea;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(31, 45, 20, 0.03);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.mq-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 211, 33, 0.5);
  box-shadow: 0 12px 28px rgba(126, 211, 33, 0.15);
}

.mq-card img {
  max-height: 42px;
  max-width: 132px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.82;
  transition: filter 0.3s, opacity 0.3s;
}

.mq-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.mq-card.has-logo .mq-name {
  display: none;
}

/* 无 logo 客户：首字标，6 组品牌邻近色，按位置轮转分配 */
.mq-monogram {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5a8a2a, #7ed321);
  box-shadow: 0 6px 16px rgba(90, 138, 42, 0.2);
}

.mq-monogram[data-tone="1"] {
  background: linear-gradient(135deg, #d9821a, #f5a623);
  box-shadow: 0 6px 16px rgba(217, 130, 26, 0.2);
}

.mq-monogram[data-tone="2"] {
  background: linear-gradient(135deg, #2b8a7a, #48c4a8);
  box-shadow: 0 6px 16px rgba(43, 138, 122, 0.2);
}

.mq-monogram[data-tone="3"] {
  background: linear-gradient(135deg, #3f7d3f, #6aa84f);
  box-shadow: 0 6px 16px rgba(63, 125, 63, 0.2);
}

.mq-monogram[data-tone="4"] {
  background: linear-gradient(135deg, #b8871f, #e0b352);
  box-shadow: 0 6px 16px rgba(184, 135, 31, 0.2);
}

.mq-monogram[data-tone="5"] {
  background: linear-gradient(135deg, #4a7a8c, #6fa8bd);
  box-shadow: 0 6px 16px rgba(74, 122, 140, 0.2);
}

.mq-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .clients-section {
    padding: 72px 16px;
  }

  .clients-marquee {
    --mq-gap: 14px;
    gap: 14px;
  }

  .mq-card {
    height: 66px;
    min-width: 124px;
    padding: 0 18px;
    gap: 10px;
    border-radius: 12px;
  }

  .mq-card img {
    max-height: 34px;
    max-width: 104px;
  }

  .mq-monogram {
    width: 34px;
    height: 34px;
    font-size: 15px;
    border-radius: 10px;
  }

  .mq-name {
    font-size: 14px;
  }

  .clients-summary {
    margin-bottom: 30px;
  }
}

/* 用户开启「减少动态效果」时不滚动，平铺展示 */
@media (prefers-reduced-motion: reduce) {
  .mq-track {
    animation: none !important;
  }

  .clients-marquee .mq-row {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* 产品服务页面 */
.page-header {
  padding: 160px 20px 80px;
  background: linear-gradient(135deg, #f8faf5 0%, #fff 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* 内页通用头部 */
.page-intro {
  padding: 130px 20px 56px;
  background: linear-gradient(180deg, #f8faf5 0%, #fff 100%);
  text-align: center;
}

.page-intro-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-green-dark);
  letter-spacing: 0.12em;
  padding: 4px 16px;
  background: rgba(126, 211, 33, 0.1);
  border-radius: 20px;
  margin-bottom: 20px;
}

.page-intro h1 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
  color: var(--text-main);
}

.page-intro > .container > p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* About页 - 统计徽章 */
.intro-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.intro-stat {
  text-align: center;
}

.intro-stat .num {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-green-dark);
  line-height: 1;
}

.intro-stat .label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Services页 - 快捷标签 */
.intro-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.intro-tag {
  padding: 8px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  background: white;
}

.intro-tag:hover {
  border-color: var(--brand-green);
  color: var(--brand-green-dark);
  background: rgba(126, 211, 33, 0.05);
}

/* 资讯页 - 文章计数 */
.intro-count {
  margin-top: 20px;
  font-size: 14px;
  color: #999;
}

.intro-count strong {
  color: var(--brand-green-dark);
  font-size: 20px;
}

/* 产品服务：五大版块并排一行 */
.services-list {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-card {
  background: white;
  border-radius: 16px;
  padding: 26px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--brand-green);
}

.service-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.service-detail-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.service-detail-card > p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.7;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
}

.service-detail-card li {
  padding: 7px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  border-bottom: 1px solid #f0f0f0;
}

.service-detail-card li:last-child {
  border-bottom: none;
}

.service-detail-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-green);
  font-weight: bold;
}

/* 联系我们 */
.contact-section {
  padding: 80px 20px;
  background: var(--bg-white);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(126, 211, 33, 0.1), rgba(245, 166, 35, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green-dark);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-muted);
  margin: 0;
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(126, 211, 33, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* 页脚 - 专业优化版 */
.footer {
  background: linear-gradient(180deg, #1c2a1e 0%, #141414 100%);
  color: #aaa;
  position: relative;
}

/* 顶部品牌色装饰条 */
.footer-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-orange));
}

.footer-main {
  padding: 56px 20px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
}

.footer-col h4 {
  color: white;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--brand-green);
  border-radius: 1px;
}

/* 品牌列 */
.footer-col-brand {
  padding-right: 16px;
}

.footer-brand-title {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.footer-slogan {
  color: #888;
  font-size: 14px;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* 二维码区 */
.footer-qrcode-row {
  display: flex;
  gap: 16px;
}

/* 链接列 */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--brand-green);
  padding-left: 6px;
}

/* 联系列表（带图标） */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #bbb;
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(126, 211, 33, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
}

/* 二维码样式 */
.qrcode-item {
  text-align: center;
}

.qrcode-item img {
  width: 110px;
  height: 110px;
  border-radius: 10px;
  background: white;
  padding: 5px;
  display: block;
  transition: transform 0.25s;
}

.qrcode-item:hover img {
  transform: translateY(-3px);
}

.qrcode-item span {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

.qrcode-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 12px;
  transition: transform 0.25s;
}

.qrcode-item:hover .qrcode-placeholder {
  transform: translateY(-3px);
}

/* 底栏 */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #777;
}

.footer-bottom p {
  margin: 0;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}

.footer-beian {
  margin: 0;
  font-size: 12px;
  color: #6b7178;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-beian a {
  color: #6b7178;
  text-decoration: none;
}

.footer-beian a:hover {
  color: #9aa0a6;
  text-decoration: underline;
}

.footer-backtop {
  color: #888;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-backtop:hover {
  color: var(--brand-green);
}

/* 地图区域 */
.map-section {
  padding: 80px 20px;
  background: var(--bg-white);
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

/* 后台管理 */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: #1a1a1a;
  color: white;
  padding: 24px;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
  color: white;
}

.admin-sidebar nav ul {
  list-style: none;
  padding: 0;
}

.admin-sidebar nav li {
  margin-bottom: 8px;
}

.admin-sidebar nav a {
  color: #aaa;
  text-decoration: none;
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  background: rgba(126, 211, 33, 0.2);
  color: var(--brand-green);
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  padding: 32px;
  background: #f5f7f5;
  min-height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-header h1 {
  font-size: 28px;
  font-weight: 700;
}

.admin-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.admin-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.admin-form .form-group {
  margin-bottom: 16px;
}

.admin-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 14px;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.admin-form textarea {
  min-height: 80px;
  resize: vertical;
}

.admin-form .btn-primary {
  padding: 10px 24px;
  font-size: 14px;
}

/* ===== 行业资讯：列表 / 编辑 两个视图 ===== */
.admin-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.admin-header-left h1 {
  font-size: 28px;
  font-weight: 700;
}

.admin-header .btn-secondary {
  padding: 9px 20px;
  font-size: 14px;
  flex: 0 0 auto;
}

/* 列表工具条 */
.news-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.news-toolbar input[type="search"] {
  flex: 1;
  min-width: 220px;
  padding: 10px 16px;
  border: 1px solid #e2e5df;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.news-toolbar input[type="search"]:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(126, 211, 33, 0.14);
}

.news-toolbar select {
  padding: 10px 14px;
  border: 1px solid #e2e5df;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text-main);
  cursor: pointer;
  outline: none;
}

.news-toolbar select:focus {
  border-color: var(--brand-green);
}

.news-toolbar-count {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
}

/* 列表条目 */
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  margin-bottom: 14px;
}

.news-item-thumb {
  flex: 0 0 108px;
  width: 108px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: #f4f6f2;
}

.news-item-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #c6d3b6;
  background: linear-gradient(135deg, #f4f8ee, #eaf2e0);
}

.news-item-main {
  flex: 1;
  min-width: 0;
}

.news-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.news-item-cat {
  background: rgba(126, 211, 33, 0.14);
  color: var(--brand-green-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
}

.news-item-date {
  font-size: 12px;
  color: #9aa0a6;
}

.news-item-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 8px;
  color: var(--text-main);
  word-break: break-word;
}

.news-item-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-meta {
  font-size: 12px;
  color: #9aa0a6;
  margin: 4px 0 0;
  line-height: 1.6;
}

.news-item-meta--ok {
  color: var(--brand-green-dark);
}

.news-item-meta--warn {
  color: #e08a3c;
}

.news-item-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

.news-btn {
  padding: 7px 18px;
  font-size: 13px;
  text-align: center;
  min-width: 76px;
  border-radius: 8px;
}

.news-btn--danger {
  color: #e74c3c;
  border-color: #f0c4bf;
}

.news-btn--danger:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  color: #fff;
}

@media (max-width: 768px) {
  .news-item {
    flex-wrap: wrap;
    padding: 18px;
  }

  .news-item-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 54px;
  }

  .news-item-actions {
    flex-direction: row;
    width: 100%;
    margin-top: 8px;
  }

  .news-toolbar-count {
    margin-left: 0;
  }
}

/* 登录 */
.login-box {
  max-width: 400px;
  margin: 100px auto;
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
  text-align: center;
  margin-bottom: 28px;
  font-weight: 700;
}

/* 表格 */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.admin-table th {
  font-weight: 600;
  color: var(--text-muted);
  background: #f8faf8;
}

.admin-table tr:hover {
  background: #f8faf8;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 14px 24px;
  border-radius: 10px;
  color: white;
  font-weight: 500;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background: var(--brand-green-dark);
}

.toast.error {
  background: #e74c3c;
}

/* 行业资讯 - 列表页 */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-banner {
  background: linear-gradient(135deg, #7ed321 0%, #5cb85c 100%);
  color: white;
  text-align: center;
  padding: 80px 20px 60px;
}

.page-banner h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 16px;
  opacity: 0.9;
}

.news-section {
  padding: 56px 20px 80px;
  background: #f9f9f9;
}

.news-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.news-tab {
  padding: 10px 28px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 30px;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  transition: all 0.25s;
  font-weight: 500;
}

.news-tab:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.news-tab.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: white;
}

/* 精选文章大卡 */
.news-featured {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 6px 30px rgba(0,0,0,0.06);
  margin-bottom: 40px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  border: 1px solid #f0f0f0;
}

.news-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.news-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--brand-orange);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
}

.news-featured-cover {
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f5e0 0%, #fff5e6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured-cover-placeholder {
  font-size: 28px;
  font-weight: 700;
  color: #7ed321;
}

/* 精选无封面图时的文字版式 */
.news-featured--text {
  grid-template-columns: 1fr;
  border-left: 5px solid var(--brand-green);
}

.news-featured--text .news-featured-body {
  padding: 40px 44px;
}

.news-featured-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured-body .news-card-tag {
  background: #7ed321;
  color: white;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  display: inline-block;
  align-self: flex-start;
}

.news-featured-body h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
  color: #222;
}

.news-featured-body p {
  font-size: 15px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured-body .news-card-meta {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* 普通文章网格 */
.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border-top: 3px solid var(--brand-green);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.news-card-cover {
  height: 200px;
  overflow: hidden;
  background: #e8f5e0;
}

.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #7ed321;
  background: linear-gradient(135deg, #e8f5e0 0%, #fff5e6 100%);
}

.news-card-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-tag {
  display: inline-block;
  align-self: flex-start;
  background: #e8f5e0;
  color: #5a8a2a;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.news-card-tag.cat-trade { background: #e8f5e0; color: #5a8a2a; }
.news-card-tag.cat-tax { background: #fdf0db; color: #c77c10; }
.news-card-tag.cat-gov { background: #e3f0fb; color: #2a7ab8; }
.news-card-tag.cat-company { background: #f0e6fb; color: #8a4ad1; }

.news-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body p {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #bbb;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

/* 空状态 */
.news-empty {
  text-align: center;
  color: #bbb;
  font-size: 16px;
  padding: 80px 0;
}

/* 行业资讯 - 详情页 */
.news-detail-section {
  padding: 100px 20px 60px;
  background: white;
}

.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #999;
  margin-bottom: 32px;
}

.news-breadcrumb a {
  color: #7ed321;
  text-decoration: none;
}

.news-breadcrumb a:hover {
  text-decoration: underline;
}

.news-article {
  max-width: 800px;
  margin: 0 auto;
}

.news-article-header {
  text-align: center;
  margin-bottom: 32px;
}

.news-category {
  display: inline-block;
  background: #e8f5e0;
  color: #5a8a2a;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.news-article-header h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}

.news-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: #999;
}

.news-article-cover {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
}

.news-article-cover img {
  width: 100%;
  display: block;
}

.news-article-summary {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  background: #f9f9f9;
  border-left: 4px solid #7ed321;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 32px;
}

.news-article-body {
  font-size: 16px;
  color: #333;
  line-height: 2;
}

.news-article-body p {
  margin-bottom: 20px;
}

.news-article-footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #f0f0f0;
}

/* 资讯详情内链 CTA（SEO 方案：引向服务/联系页） */
.article-cta {
  margin-top: 32px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #eef6e6 0%, #f6fbf0 100%);
  border: 1px solid #d8e8c4;
  border-radius: 12px;
}
.article-cta-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: #2f5d1f;
}
.article-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.article-cta-links a {
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  transition: opacity .2s;
}
.article-cta-links a:hover { opacity: .88; }
.article-cta-links .btn-primary { background: #5a8a2a; color: #fff; }
.article-cta-links .btn-secondary { background: #fff; color: #5a8a2a; border: 1px solid #5a8a2a; }

/* 首页最新资讯区块 */
.home-news-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.home-news-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.home-news-more {
  text-align: center;
  margin-top: 40px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .services-grid,
  .services-list,
  .values-grid,
  .news-list,
  .home-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-featured {
    grid-template-columns: 1fr;
  }

  .news-featured-cover {
    height: 220px;
  }
}

/* 页脚：>900px 保持桌面 4 栏一行（品牌 / 快速链接 / 服务项目 / 联系方式）；
   ≤900px 收成 2×2 网格。原来断点在 1024px，导致 980px 左右（手机桌面版宽度）
   只能看到「品牌独占一行 + 两个链接列 + 联系方式掉行」的三行错乱版式。 */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .footer-col-brand {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .hero-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 32px;
  }

  .page-intro h1 {
    font-size: 26px;
  }

  .intro-stats {
    gap: 24px;
  }

  .intro-stat .num {
    font-size: 26px;
  }

  /* 注：.footer-inner 不在此列 —— 页脚在 768 以下为 2×2 网格，
     由文件末尾「页脚移动端自适应优化」统一接管，避免同断点两条规则互相覆盖。 */
  .services-grid,
  .services-list,
  .stats-grid,
  .values-grid,
  .news-list,
  .news-featured,
  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    position: relative;
    width: 100%;
    height: auto;
  }

  .admin-main {
    margin-left: 0;
  }
}

/* ===== 文章页：相关关键词标签 ===== */
.article-keywords {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed #e2e2e2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.article-keywords-label {
  font-size: 13px;
  color: #999;
  letter-spacing: .5px;
}

.article-kw-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-kw-chip {
  display: inline-block;
  padding: 5px 12px;
  font-size: 13px;
  color: #4a7a1f;
  background: #f1f8e8;
  border: 1px solid #d8e8c4;
  border-radius: 999px;
  line-height: 1.4;
}

/* ===== 文章页：来源备注 ===== */
.article-source {
  margin-top: 22px;
  padding: 18px 22px;
  background: #fafbf8;
  border-left: 4px solid #9cc55f;
  border-radius: 6px;
}

.article-source-head {
  margin-bottom: 8px;
}

.article-source-badge {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12px;
  color: #fff;
  background: #5a8a2a;
  border-radius: 4px;
  letter-spacing: 1px;
}

.article-source-body {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  word-break: break-all;
}

.article-source-body a {
  color: #4a7a1f;
  text-decoration: none;
  border-bottom: 1px solid #cfe3b4;
  transition: color .2s;
}

.article-source-body a:hover {
  color: #2f5d1f;
  border-bottom-color: #5a8a2a;
}

.article-source-ext {
  font-size: 12px;
  opacity: .75;
}

.article-source-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: #999;
  line-height: 1.75;
}

/* ===== 后台：资讯设置面板 ===== */
.cfg-hint {
  font-size: 12.5px;
  color: #999;
  line-height: 1.7;
  margin: 4px 0 0;
}

.cfg-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.cfg-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #5a8a2a;
}

.cfg-checkbox-row label {
  margin: 0;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.cfg-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 6px;
}

.cfg-cat-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.cfg-cat-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #5a8a2a;
}

.cfg-sub-title {
  margin: 22px 0 10px;
  font-size: 15px;
  color: #2f5d1f;
  border-left: 3px solid #9cc55f;
  padding-left: 9px;
}

@media (max-width: 640px) {
  .article-source { padding: 14px 16px; }
  .article-kw-chip { font-size: 12px; padding: 4px 10px; }
}

/* ===== 关于我们 · 公司简介版块（两段字号统一、卡片式居中） ===== */
.about-intro-section {
  padding: 90px 20px;
}

.about-intro-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 48px 56px;
  box-shadow: 0 12px 40px rgba(31, 45, 20, 0.06);
  border: 1px solid #eef1ea;
}

.about-intro-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.about-intro-divider {
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-green), #f5a623);
  margin: 0 auto 28px;
}

.about-intro-body p {
  font-size: 16px;
  line-height: 1.95;
  text-align: center;
  margin: 0 0 18px;
}

.about-intro-lead {
  color: var(--text-main);
  font-weight: 500;
}

.about-intro-text {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about-intro-section { padding: 60px 16px; }
  .about-intro-card { padding: 30px 20px; border-radius: 16px; }
  .about-intro-title { font-size: 23px; }
  .about-intro-body p { font-size: 15px; text-align: left; }
}

/* ===== 我们的客户 · 容器（内容由 JS 渲染为双行跑马灯） =====
   ⚠️ 容器不能再声明 display:grid。
   grid 的 1fr 列 = minmax(auto, 1fr)，其最小尺寸是内容最小宽度，
   会被子元素 .clients-marquee 的 max-width:1180px 顶成 1180px 宽的列，
   直接把整页撑宽（body 变 1196px）→ 手机端整站横向溢出、媒体查询错位到桌面版。
   历史遗留的静态客户墙（.client-card）已弃用，样式保留不删。 */
.clients-grid {
  max-width: 1180px;
  margin: 0 auto;
  min-width: 0;
}

.client-card {
  position: relative;
  background: #fff;
  border: 1px solid #eef0ea;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 4px 18px rgba(31, 45, 20, 0.04);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}

/* 顶部品牌渐变细线，悬停点亮 */
.client-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #7ed321, #f5a623);
  opacity: 0.35;
  transition: opacity 0.3s;
}

.client-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 211, 33, 0.45);
  box-shadow: 0 18px 40px rgba(126, 211, 33, 0.16);
}

.client-card:hover::before {
  opacity: 1;
}

.client-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.client-card-head img {
  max-height: 40px;
  max-width: 118px;
  object-fit: contain;
}

.client-monogram {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5a8a2a, #7ed321);
  box-shadow: 0 8px 18px rgba(90, 138, 42, 0.22);
  flex-shrink: 0;
}

.client-monogram[data-tone="1"] {
  background: linear-gradient(135deg, #d9821a, #f5a623);
  box-shadow: 0 8px 18px rgba(217, 130, 26, 0.22);
}

.client-monogram[data-tone="2"] {
  background: linear-gradient(135deg, #2b8a7a, #48c4a8);
  box-shadow: 0 8px 18px rgba(43, 138, 122, 0.22);
}

.client-monogram[data-tone="3"] {
  background: linear-gradient(135deg, #3f7d3f, #6aa84f);
  box-shadow: 0 8px 18px rgba(63, 125, 63, 0.22);
}

.client-monogram[data-tone="4"] {
  background: linear-gradient(135deg, #b8871f, #e0b352);
  box-shadow: 0 8px 18px rgba(184, 135, 31, 0.22);
}

.client-monogram[data-tone="5"] {
  background: linear-gradient(135deg, #4a7a8c, #6fa8bd);
  box-shadow: 0 8px 18px rgba(74, 122, 140, 0.22);
}

.client-industry {
  font-size: 12px;
  color: var(--brand-green-dark);
  background: rgba(126, 211, 33, 0.1);
  border: 1px solid rgba(126, 211, 33, 0.28);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

.client-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  word-break: break-all;
}

/* 客户墙容器已不是 grid，无需列数降级；留 min-width:0 防御被内容撑开 */
@media (max-width: 900px) {
  .clients-grid { min-width: 0; }
}

@media (max-width: 560px) {
  .clients-grid { min-width: 0; }
}

/* ===== 联系我们 · 电话高亮 ===== */
.contact-info-item--phone {
  background: linear-gradient(135deg, rgba(126, 211, 33, 0.08), rgba(245, 166, 35, 0.08));
  border: 1px solid rgba(126, 211, 33, 0.25);
  border-radius: 16px;
  padding: 20px 22px;
  align-items: center;
}

.contact-info-item--phone .contact-info-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #5a8a2a, #7ed321);
  color: #fff;
}

.contact-phone-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 2px 0 6px !important;
}

.contact-tel-link {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--brand-green-dark);
  text-decoration: none;
  line-height: 1.15;
}

.contact-tel-link:hover {
  color: #4a7a1f;
}

.contact-tel-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #5a8a2a, #7ed321);
  border-radius: 999px;
  padding: 7px 16px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(90, 138, 42, 0.25);
}

.contact-tel-btn:hover {
  filter: brightness(1.06);
}

.contact-phone-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.footer-tel {
  color: inherit;
  text-decoration: none;
}

.footer-tel:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-info-item--phone { padding: 16px; }
  .contact-tel-link { font-size: 24px; }
}

/* ===== 服务网格响应式降级 ===== */
@media (max-width: 1100px) {
  .services-grid,
  .services-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .services-grid,
  .services-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

@media (max-width: 480px) {
  .services-grid,
  .services-list { grid-template-columns: 1fr; }
}

/* ===== Hero 二维码：普通 <img> 重叠层覆盖 SVG 白卡 =====
   直连独立接口 /api/qrcode?t=wechat：src 写在 HTML 里，浏览器解析时即并行拉取，
   不依赖整包 /api/site 返回后再由 JS 赋值，彻底消除"卡顿/延迟出现"。
   因此这里默认即可见（不再用 opacity:0 + JS 加 class 的延迟显示）。 */
.hero-qr-img {
  position: absolute;
  /* 白卡在 400×400 容器中占 100~300px（即 25%~75%） */
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}


/* ===== 首页最新资讯：桌面3条，手机4条2×2 ===== */
.home-news-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 769px) {
  .home-news-grid .news-card:nth-child(4) {
    display: none;
  }
}

@media (max-width: 768px) {
  .home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .home-news-grid .news-card:nth-child(4) {
    display: flex;
  }
}

/* ===== 我们的客户 · 双行反向滚动 ===== */
.clients-marquee {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 auto;
  max-width: 1180px;
}

.clients-row {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* 两侧渐变遮罩，弱化循环拼接处 */
.clients-row::before,
.clients-row::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.clients-row::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.clients-row::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.clients-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}

.clients-track--left {
  animation: clients-scroll-left 45s linear infinite;
}

.clients-track--right {
  animation: clients-scroll-right 45s linear infinite;
}

.clients-row:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clients-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes clients-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.client-marquee-card {
  flex: 0 0 auto;
  width: 260px;
  background: #fff;
  border: 1px solid #eef0ea;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 4px 18px rgba(31, 45, 20, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.client-marquee-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #7ed321, #f5a623);
  opacity: 0.35;
  transition: opacity 0.25s;
}

.client-marquee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(126, 211, 33, 0.14);
}

.client-marquee-card:hover::before { opacity: 1; }

.client-marquee-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.client-marquee-head img {
  max-height: 36px;
  max-width: 110px;
  object-fit: contain;
}

.client-marquee-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
  .clients-track--left,
  .clients-track--right {
    animation: none;
  }
}

@media (max-width: 768px) {
  .client-marquee-card { width: 220px; }
  .clients-track--left { animation-duration: 30s; }
  .clients-track--right { animation-duration: 30s; }
}

/* ===== 联系我们 · 电话号码展示优化 ===== */
.contact-tel-btn { display: none !important; }

/* ===== 页脚移动端自适应优化 ===== */
@media (max-width: 768px) {
  .footer-main {
    padding: 40px 16px 32px;
  }

  /* 四个版块整齐排成 2×2 网格（品牌含二维码、快速链接、服务项目、联系方式各占一格） */
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .footer-col-brand {
    grid-column: auto;
    padding-right: 0;
    margin-bottom: 0;
  }

  .footer-brand-title {
    font-size: 17px;
  }

  .footer-slogan {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .footer-qrcode-row {
    gap: 12px;
  }

  .qrcode-item img,
  .qrcode-placeholder {
    width: 88px;
    height: 88px;
  }

  .qrcode-item span {
    font-size: 11px;
  }

  .footer-col h4 {
    font-size: 13px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-contact-list li {
    gap: 6px;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .footer-contact-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
  }

  .footer-contact-icon svg {
    width: 14px;
    height: 14px;
  }

  .footer-contact-list li span:not(.footer-contact-icon) {
    overflow-wrap: anywhere;
  }

  .footer-tel {
    white-space: nowrap;
  }

  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px;
    text-align: center;
  }

  .footer-copyright {
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    line-height: 1.5;
  }

  .footer-beian {
    gap: 8px;
    font-size: 12px;
  }

  .footer-backtop {
    white-space: nowrap;
    font-size: 12px;
  }
}

@media (max-width: 560px) {
  .footer-bottom {
    gap: 8px;
  }

  .footer-copyright,
  .footer-beian {
    min-width: 100%;
  }

  .footer-copyright p {
    width: 100%;
  }

  /* 极窄屏：继续压缩三个并排版块，保证联系方式不溢出 */
  .footer-inner {
    gap: 10px;
  }

  .footer-col h4 {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .footer-links a {
    font-size: 11px;
  }

  .footer-contact-list li {
    gap: 4px;
    font-size: 11px;
  }

  .footer-contact-icon {
    width: 22px;
    height: 22px;
  }

  .footer-contact-icon svg {
    width: 12px;
    height: 12px;
  }
}
