/* ============================================================
 * 重庆顺联官网 · 样式表
 * ------------------------------------------------------------
 * 品牌色板来自《世椿画册设计风格摘要.md》：
 *   主亮绿 #51BE60 / 深绿 #357D40 / 中绿 #3C9148 / 浅绿 #CBECCF
 *   白底 #FEFEFE / 灰字 #5A5A62 / 近黑 #121216
 * 改配色只需修改下方 :root 变量。
 * ============================================================ */

/* ---------- 色板与基础变量 ---------- */
:root {
  --green-500: #51BE60;   /* 品牌亮绿：logo、按钮、强调 */
  --green-600: #3C9148;   /* 中绿：渐变过渡 */
  --green-700: #357D40;   /* 深绿：导航、页脚、标题底 */
  --green-800: #2A6633;   /* 更深绿：hover 加深 */
  --green-100: #CBECCF;   /* 浅绿：区块背景、hover */
  --green-50:  #EAF7EC;   /* 极浅绿：表格隔行 */

  --white:  #FEFEFE;
  --gray-50:  #F7F8F8;
  --gray-100: #E3E9EB;
  --gray-300: #AEAEB2;
  --gray-600: #5A5A62;
  --ink:    #121216;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(18, 18, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 18, 22, 0.10);
  --shadow-lg: 0 16px 48px rgba(18, 18, 22, 0.18);

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", sans-serif;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-500); }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ic { width: 20px; height: 20px; vertical-align: -4px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 2px solid transparent; transition: all 0.25s ease; text-align: center;
}
.btn-primary { background: var(--green-500); color: #fff; }
.btn-primary:hover { background: var(--green-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(254, 254, 254, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--gray-100); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-badge {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: #fff; font-weight: 800; font-size: 20px; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; color: var(--ink); }
.brand-text small { font-size: 11px; color: var(--green-700); letter-spacing: 0.5px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--green-600); background: var(--green-50); }
.nav-link.active { color: var(--green-700); font-weight: 700; background: var(--green-50); }
.nav-link.nav-cta {
  margin-left: 8px; color: #fff; background: var(--green-500); font-weight: 600;
}
.nav-link.nav-cta:hover { background: var(--green-600); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 64px) 0 72px;
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 45%, var(--green-700) 100%);
  color: #fff; overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 255, 255, 0.10), transparent 40%),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(255, 255, 255, 0.05) 42px 43px);
}
.hero-inner { position: relative; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14px; letter-spacing: 1px; margin-bottom: 20px;
}
.hero-title { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: 1px; }
.hero-sub { margin-top: 14px; font-size: clamp(16px, 2vw, 20px); opacity: 0.92; max-width: 640px; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 860px;
}
.hero-stat {
  padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(4px);
}
.hero-stat-num { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.hero-stat-label { font-size: 13px; opacity: 0.88; }

/* ---------- Section 通用 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-50); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 3px;
  color: var(--green-600); background: var(--green-50); padding: 5px 14px; border-radius: 999px;
}
.section-title { margin-top: 12px; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.section-desc { margin-top: 10px; color: var(--gray-600); font-size: 15px; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.about-story h3 { font-size: 24px; margin-bottom: 14px; }
.about-story > p { color: var(--gray-600); }
.about-points { margin-top: 22px; display: grid; gap: 12px; }
.about-points li {
  padding: 12px 16px; background: var(--green-50); border-left: 4px solid var(--green-500);
  border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px;
}
.about-points strong { color: var(--green-700); }

.about-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.about-card h4 { font-size: 18px; margin-bottom: 18px; color: var(--green-700); }
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--green-100); }
.timeline li { position: relative; padding-bottom: 18px; }
.timeline li::before {
  content: ""; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--green-500); border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--green-100);
}
.tl-year { font-weight: 800; color: var(--green-700); font-size: 15px; display: block; }
.timeline p { color: var(--gray-600); font-size: 14px; margin-top: 2px; }

.honors { margin-top: 48px; }
.honors-title { font-size: 20px; margin-bottom: 18px; text-align: center; }
.honor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.honor-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
  font-size: 14px; transition: all 0.25s;
}
.honor-item:hover { border-color: var(--green-500); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.honor-year {
  flex-shrink: 0; min-width: 46px; text-align: center; padding: 4px 8px; border-radius: 6px;
  background: var(--green-700); color: #fff; font-weight: 700; font-size: 13px;
}
/* 高含金量荣誉：重点卡片 */
.honor-item.honor-high {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  border: 0; padding: 18px 20px; color: #fff;
}
.honor-item.honor-high:hover { border: 0; box-shadow: var(--shadow-md); }
.honor-high .honor-year { background: rgba(255, 255, 255, 0.22); color: #fff; }
.honor-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.honor-body strong { font-size: 15px; line-height: 1.4; }
.honor-body small { font-size: 12px; opacity: 0.85; }
/* 其他资质：简洁罗列 */
.honor-item.honor-normal { font-size: 13.5px; }
.honor-check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-50);
  color: var(--green-600); font-size: 12px; font-weight: 800;
}
@media (max-width: 640px) { .honor-list { grid-template-columns: 1fr; } }

/* ---------- 产品中心 ---------- */
.filter-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--gray-100);
  background: var(--white); color: var(--gray-600); font-size: 15px; font-weight: 600;
  transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--green-500); color: var(--green-700); }
.filter-btn.active { background: var(--green-500); border-color: var(--green-500); color: #fff; box-shadow: var(--shadow-sm); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; transition: opacity 0.15s; }
.product-grid.fading { opacity: 0.3; }
.product-empty { text-align: center; color: var(--gray-600); padding: 40px 0; }

/* 加载更多按钮 */
.load-more {
  display: block; margin: 36px auto 0; padding: 12px 36px;
  border-radius: 999px; border: 1.5px solid var(--green-500);
  background: var(--white); color: var(--green-700);
  font-size: 15px; font-weight: 600; transition: all 0.25s;
}
.load-more:hover { background: var(--green-500); color: #fff; box-shadow: var(--shadow-sm); }
.load-more[hidden] { display: none; }

.product-card {
  position: relative;
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; transition: all 0.3s ease; display: flex; flex-direction: column;
}
.product-card:hover, .product-card:focus-visible {
  transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-500); outline: none;
}
/* 产品资料 PDF 徽标（有 pdf 字段才渲染） */
.p-pdf {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 9px;
  display: grid; place-items: center; color: var(--green-700);
  background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.p-pdf:hover { background: var(--green-500); color: #fff; transform: scale(1.08); }
.p-pdf .ic { width: 20px; height: 20px; }
.p-img { height: 170px; width: 100%; object-fit: cover; background: var(--green-50); }
.p-placeholder {
  display: grid; place-items: center; color: var(--green-600);
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
}
.p-placeholder .ic { width: 56px; height: 56px; opacity: 0.55; }
.p-placeholder-tip { font-size: 12px; color: var(--gray-600); margin-top: 6px; }
.p-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.p-group {
  align-self: flex-start; font-size: 12px; color: var(--green-700); font-weight: 700;
  background: var(--green-50); padding: 3px 10px; border-radius: 999px;
}
.p-name { margin-top: 10px; font-size: 18px; font-weight: 700; }
.p-intro { margin-top: 8px; color: var(--gray-600); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-more { margin-top: auto; padding-top: 14px; color: var(--green-600); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.p-more .ic { transition: transform 0.25s; }
.product-card:hover .p-more .ic { transform: translateX(4px); }

/* ---------- 产品详情弹层 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18, 18, 22, 0.55); backdrop-filter: blur(3px); animation: fadeIn 0.2s; }
.modal-dialog {
  position: relative; width: min(680px, 100%); max-height: 86vh; overflow: auto;
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-lg); animation: slideUp 0.28s ease; outline: none;
}
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--gray-50); font-size: 20px; color: var(--gray-600); transition: 0.2s;
}
.modal-close:hover { background: var(--green-100); color: var(--green-700); }
.modal-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.modal-title { font-size: 24px; font-weight: 800; }
.modal-intro { margin-top: 14px; color: var(--gray-600); }
.modal-sub { margin: 24px 0 12px; font-size: 16px; color: var(--green-700); }
.modal-features { display: grid; gap: 8px; }
.modal-features li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink); }
.modal-features li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 800; }
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-100); border-radius: var(--radius); }
.param-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.param-table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); }
.param-table tr:last-child td { border-bottom: 0; }
.param-table td:first-child { background: var(--green-50); color: var(--green-800); font-weight: 600; white-space: nowrap; width: 130px; }
.modal-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn-outline { color: var(--green-700); border-color: var(--green-100); }
.modal-actions .btn-outline:hover { background: var(--green-50); }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } }
body.modal-open { overflow: hidden; }

/* ---------- 应用领域 ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card {
  position: relative; background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 26px; cursor: pointer;
  transition: all 0.3s ease; overflow: hidden;
}
.app-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--green-700));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.app-card:hover, .app-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-md); outline: none; }
.app-card:hover::before, .app-card.open::before { transform: scaleX(1); }
.app-card h3 { font-size: 19px; margin-bottom: 10px; }
.app-card > p { color: var(--gray-600); font-size: 14px; }
.app-points {
  display: grid; gap: 8px; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease; margin-top: 0;
}
.app-card.open .app-points { max-height: 200px; opacity: 1; margin-top: 16px; }
.app-points li {
  padding: 8px 12px; font-size: 13.5px; background: var(--green-50);
  border-radius: 8px; color: var(--green-800);
}
.app-points li::before { content: "▸ "; color: var(--green-500); font-weight: 800; }
.app-more { position: absolute; top: 22px; right: 22px; color: var(--green-500); transition: transform 0.3s; }
.app-card.open .app-more { transform: rotate(90deg); }
.app-more .ic { width: 22px; height: 22px; }
.app-detail-btn {
  margin-top: 16px; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--green-500);
  background: var(--white); color: var(--green-700); font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; transition: all 0.25s;
}
.app-detail-btn:hover, .app-detail-btn:focus-visible { background: var(--green-500); color: #fff; outline: none; }
.app-detail-btn .ic { width: 16px; height: 16px; transition: transform 0.25s; }
.app-detail-btn:hover .ic { transform: translateX(3px); }

/* 弹层内：应用领域详细说明与关联产品 */
.modal-detail { color: var(--gray-600); font-size: 14.5px; }
.related-list { display: grid; gap: 10px; }
.related-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  padding: 12px 16px; border: 1px solid var(--gray-100); border-radius: var(--radius);
  background: var(--white); transition: all 0.25s;
}
.related-item:hover, .related-item:focus-visible { border-color: var(--green-500); background: var(--green-50); outline: none; }
.related-name { font-size: 15px; font-weight: 700; color: var(--ink); flex: 1; }
.related-group { font-size: 12px; color: var(--green-700); background: var(--green-50); padding: 2px 8px; border-radius: 999px; flex-shrink: 0; }
.related-go { font-size: 13px; color: var(--green-600); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.related-go .ic { width: 15px; height: 15px; transition: transform 0.25s; }
.related-item:hover .related-go .ic { transform: translateX(3px); }

/* ---------- 服务支持 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  position: relative; background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: all 0.3s ease;
}
.service-card:hover, .service-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-500); outline: none; }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-700)); color: #fff;
}
.service-icon .ic { width: 28px; height: 28px; }
.service-tag {
  position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700;
  color: var(--green-700); background: var(--green-50); padding: 3px 10px; border-radius: 999px;
}
.service-card h3 { margin-top: 18px; font-size: 18px; }
.service-card p { margin-top: 10px; color: var(--gray-600); font-size: 14px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; }
.service-link .ic { transition: transform 0.25s; }
.service-card:hover .service-link .ic { transform: translateX(4px); }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info h3 { font-size: 22px; margin-bottom: 22px; }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 26px; height: 26px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { display: block; font-size: 13px; color: var(--gray-600); }
.contact-list a, .contact-list span { font-size: 16px; color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--green-600); }
.contact-note {
  margin-top: 24px; padding: 16px 18px; background: var(--green-50);
  border-radius: var(--radius); border-left: 4px solid var(--green-500);
}
.contact-note strong { color: var(--green-800); font-size: 14px; }
.contact-note p { margin-top: 4px; font-size: 14px; color: var(--gray-600); }

.contact-form {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 20px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-100); border-radius: 8px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100);
}
.form-field input.invalid, .form-field textarea.invalid { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.15); }
.field-error { min-height: 18px; font-size: 12.5px; color: #d9534f; margin-top: 4px; }
.form-status { min-height: 22px; margin-top: 12px; font-size: 14px; text-align: center; color: var(--gray-600); }
.form-status.ok { color: var(--green-700); font-weight: 700; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--green-800); color: #fff; }
.footer-inner {
  display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 40px; padding-top: 56px; padding-bottom: 40px;
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand strong { font-size: 17px; display: block; }
.footer-brand p { font-size: 13px; opacity: 0.75; margin-top: 4px; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links a { color: rgba(255, 255, 255, 0.85); font-size: 14px; transition: 0.2s; }
.footer-links a:hover { color: var(--green-100); padding-left: 4px; }
.footer-contact { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.footer-contact p { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.85); }
.footer-contact .ic { color: var(--green-100); }
.footer-contact a { color: rgba(255, 255, 255, 0.85); }
.footer-contact a:hover { color: var(--green-100); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 16px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--green-500); color: #fff; font-size: 20px;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--green-600); }

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .product-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--white); padding: 16px 24px 24px;
    box-shadow: var(--shadow-md); transform: translateY(-12px); opacity: 0;
    visibility: hidden; transition: all 0.28s ease; border-bottom: 1px solid var(--gray-100);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 12px 14px; font-size: 16px; }
  .nav-link.nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  /* 产品卡片移动端改双列（缩短纵向长度），应用/服务保持单列 */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .app-grid, .service-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-stats { margin-top: 36px; }
  .modal-dialog { padding: 24px 20px; }
}

/* 手机端：产品卡片紧凑化 */
@media (max-width: 640px) {
  .product-card .p-img, .product-card .p-placeholder { height: 100px; }
  .p-body { padding: 12px 12px 14px; }
  .p-group { font-size: 11px; padding: 2px 8px; }
  .p-name { margin-top: 8px; font-size: 15px; }
  .p-intro { margin-top: 6px; font-size: 12.5px; -webkit-line-clamp: 2; }
  .p-more { font-size: 12px; padding-top: 8px; }
  .p-pdf { width: 30px; height: 30px; top: 8px; right: 8px; border-radius: 8px; }
  .p-pdf .ic { width: 16px; height: 16px; }
  .load-more { margin-top: 26px; padding: 11px 28px; font-size: 14px; }
}

/* 超窄屏（<360px）产品卡退回单列，保证可读性 */
@media (max-width: 359px) {
  .product-grid { grid-template-columns: 1fr; }
}
