/*
Theme Name: EcoPack 环保填料
Theme URI: https://example.com/ecopack
Author: EcoPack
Author URI: https://example.com
Description: 专为环保填料生产企业设计的 WordPress 企业主题。适用于 PP空心球、拉西环、鲍尔环、蜂窝斜管、组合填料等水处理/废气处理填料产品展示。内置产品自定义文章类型、产品分类、参数表、悬浮联系栏，全部资源本地加载，国内访问无障碍。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecopack
Tags: two-columns, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   设计变量 —— 取自"水处理"意象：墨青 / 水青 / 苇绿
   ========================================================================== */
:root {
  --ink: #0b3b47;        /* 墨青：深色区块、页脚 */
  --ink-2: #0e4a58;      /* 墨青亮一档 */
  --teal: #0f7e8c;       /* 水青：主色 */
  --teal-deep: #0a5b66;  /* 水青深 */
  --teal-soft: #e3f1f3;  /* 水青浅底 */
  --green: #55a630;      /* 苇绿：强调 */
  --green-deep: #468a25;
  --paper: #f5f9fa;      /* 云白页面底 */
  --white: #ffffff;
  --text: #23343b;       /* 正文 */
  --muted: #5d7078;      /* 次级文字 */
  --line: #dce8eb;       /* 分隔线 */
  --shadow: 0 8px 28px rgba(11, 59, 71, .10);
  --shadow-sm: 0 3px 12px rgba(11, 59, 71, .08);
  --radius: 10px;
  --radius-lg: 16px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑",
          -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Segoe UI", Arial, sans-serif;
  --w: 1200px;
}

/* ==========================================================================
   基础
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
ul, ol { padding-left: 1.4em; }
h1, h2, h3, h4, h5 { line-height: 1.35; color: var(--ink); margin: 0 0 .5em; font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 3px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
.container { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: all .25s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(85,166,48,.35); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: #fff; }
.btn-outline:hover { background: var(--teal); color: #fff; }

/* 栏目眉题：环形符号 + 中英双语（行业惯例） */
.section-head { text-align: center; margin-bottom: 44px; }
.section-head.left { text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--teal); font-weight: 600; margin-bottom: 10px;
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--green); display: inline-block;
}
.section-title { font-size: 32px; margin: 0 0 10px; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 15px; }
.section-head.left .section-sub { margin: 0; }
.on-dark .eyebrow { color: #9fd6de; }
.on-dark .section-title { color: #fff; }
.on-dark .section-sub { color: rgba(255,255,255,.75); }

section.block { padding: 84px 0; }
section.block.tight { padding: 64px 0; }
.bg-white { background: #fff; }
.bg-ink { background: var(--ink); }

/* ==========================================================================
   顶部信息条
   ========================================================================== */
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact .ico { color: var(--green); margin-right: 5px; }

/* ==========================================================================
   页头 / 导航
   ========================================================================== */
.site-header {
  background: #fff; position: sticky; top: 0; z-index: 900;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { max-height: 54px; width: auto; }
.brand-name { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.brand-name small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .28em; text-transform: uppercase; }
.brand a { color: inherit; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 30px 18px; color: var(--ink);
  font-size: 16px; font-weight: 600;
}
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 20px;
  height: 3px; border-radius: 3px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.current-menu-item > a::after,
.main-nav > ul > li.current_page_item > a::after,
.main-nav > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav a:hover { color: var(--teal); }

/* 下拉 */
.main-nav ul ul {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s; display: block; z-index: 950;
}
.main-nav li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav ul ul a { padding: 10px 20px; font-size: 14px; font-weight: 500; }
.main-nav ul ul a::after { display: none; }
.main-nav ul ul a:hover { background: var(--teal-soft); color: var(--teal); }

/* 页头热线 */
.header-hotline { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.hotline-ico {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.hotline-label { font-size: 12px; color: var(--muted); line-height: 1.3; }
.hotline-num { font-family: var(--font-num); font-size: 21px; font-weight: 700; color: var(--teal); line-height: 1.2; }

/* 移动端开关 */
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; background: var(--ink);
  border-radius: 3px; transition: all .3s; margin: 5px 0;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   首页 Hero —— 签名视觉：线描填料球 / 环
   ========================================================================== */
.hero {
  background:
    radial-gradient(720px 380px at 88% -10%, rgba(85,166,48,.22), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(15,126,140,.35), transparent 60%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 55%, #0d5462 100%);
  color: #fff; overflow: hidden; position: relative;
}
.hero-in {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: 40px; padding: 92px 0 100px; position: relative; z-index: 2;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 16px; border-radius: 999px; font-size: 13px;
  color: #d8edf1; margin-bottom: 22px; letter-spacing: .06em;
}
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.hero h1 {
  color: #fff; font-size: 46px; line-height: 1.28; margin: 0 0 18px;
  letter-spacing: .01em;
}
.hero h1 em { font-style: normal; color: #8fdb63; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.80); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 28px; margin-top: 42px; flex-wrap: wrap; }
.hero-points span { font-size: 14px; color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: 8px; }
.hero-points b { color: #fff; }
.hero-points svg { color: var(--green); }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 40px rgba(0,0,0,.28)); }

/* ==========================================================================
   产品分类卡
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; gap: 20px; align-items: flex-start;
  transition: all .3s; position: relative; overflow: hidden;
}
.cat-card::after {
  content: ""; position: absolute; right: -34px; bottom: -34px;
  width: 110px; height: 110px; border-radius: 50%;
  border: 14px solid var(--teal-soft); transition: all .35s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover::after { border-color: rgba(85,166,48,.22); transform: scale(1.15); }
.cat-ico {
  flex: none; width: 64px; height: 64px; border-radius: 14px;
  background: var(--teal-soft); display: flex; align-items: center; justify-content: center;
}
.cat-ico img, .cat-ico svg { width: 42px; height: 42px; }
.cat-card h3 { font-size: 19px; margin: 2px 0 6px; }
.cat-card h3 a { color: var(--ink); }
.cat-card h3 a:hover { color: var(--teal); }
.cat-card p { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.cat-more { font-size: 13px; font-weight: 600; color: var(--green); }
.cat-card .cat-count { position: absolute; top: 18px; right: 20px; font-size: 12px; color: #b3c4ca; font-family: var(--font-num); }

/* ==========================================================================
   产品卡片
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); transition: all .3s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-thumb {
  position: relative; background: linear-gradient(160deg, #eef6f7, #f8fbfb);
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-thumb img.is-svg { width: 68%; height: 68%; object-fit: contain; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-cat-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(11,59,71,.82); color: #fff; font-size: 12px;
  padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(2px);
}
.product-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 17px; margin: 0 0 6px; }
.product-body h3 a { color: var(--ink); }
.product-body h3 a:hover { color: var(--teal); }
.product-spec { font-size: 13px; color: var(--muted); margin: 0 0 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { display: flex; justify-content: space-between; align-items: center; }
.product-link { font-size: 13px; font-weight: 600; color: var(--teal); }
.product-link:hover { color: var(--green); }
.product-ring { width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--teal-soft); transition: all .3s; }
.product-card:hover .product-ring { border-color: var(--green); transform: rotate(90deg); }

.center-more { text-align: center; margin-top: 44px; }

/* ==========================================================================
   关于我们 + 数据
   ========================================================================== */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-art { position: relative; }
.about-art .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--teal-soft), #fff); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.about-art .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-art .frame svg { width: 72%; height: auto; }
.about-badge {
  position: absolute; left: -22px; bottom: -22px;
  background: var(--green); color: #fff; border-radius: var(--radius-lg);
  padding: 20px 26px; box-shadow: 0 12px 30px rgba(85,166,48,.4);
}
.about-badge b { font-family: var(--font-num); font-size: 38px; display: block; line-height: 1.1; }
.about-badge span { font-size: 13px; opacity: .9; }
.about-text p { color: var(--muted); margin: 0 0 14px; }
.about-list { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.about-list svg { color: var(--green); flex: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.stat {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 28px 20px; text-align: center; transition: all .3s;
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.stat-num { font-family: var(--font-num); font-size: 42px; font-weight: 700; color: var(--teal); line-height: 1.1; }
.stat-num i { font-style: normal; font-size: 22px; color: var(--green); margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ==========================================================================
   优势
   ========================================================================== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  background: #fff; border-radius: var(--radius-lg); padding: 34px 26px;
  border-top: 4px solid var(--teal); box-shadow: var(--shadow-sm); transition: all .3s;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-top-color: var(--green); }
.adv-ico {
  width: 58px; height: 58px; border-radius: 50%; margin-bottom: 18px;
  background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.adv-card:hover .adv-ico { background: #e9f5e1; color: var(--green); }
.adv-card h3 { font-size: 18px; margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ==========================================================================
   应用领域（深色带）
   ========================================================================== */
.apps { position: relative; }
.apps::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20px 20px, rgba(255,255,255,.05) 6px, transparent 7px);
  background-size: 64px 64px; pointer-events: none;
}
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.app-item {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 32px 24px; color: #fff;
  transition: all .3s;
}
.app-item:hover { background: rgba(255,255,255,.12); transform: translateY(-5px); }
.app-item .app-ico { color: #8fdb63; margin-bottom: 16px; }
.app-item h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.app-item p { font-size: 13.5px; color: rgba(255,255,255,.72); margin: 0; }

/* ==========================================================================
   新闻
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); transition: all .3s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-thumb { aspect-ratio: 16/9; background: linear-gradient(150deg, var(--teal-soft), #fff); overflow: hidden; display:flex; align-items:center; justify-content:center; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-thumb svg { width: 42%; opacity: .8; }
.news-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 12.5px; color: var(--green); font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; font-family: var(--font-num); }
.news-body h3 { font-size: 17px; line-height: 1.5; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--teal); }
.news-body p { font-size: 14px; color: var(--muted); margin: 0 0 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { font-size: 13px; font-weight: 600; color: var(--teal); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-deep) 60%, var(--ink) 100%);
  border-radius: var(--radius-lg); color: #fff; padding: 56px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 22px solid rgba(255,255,255,.08);
}
.cta::before { width: 220px; height: 220px; right: -60px; top: -80px; }
.cta::after { width: 140px; height: 140px; right: 180px; bottom: -70px; border-width: 14px; }
.cta h2 { color: #fff; font-size: 30px; margin: 0 0 8px; }
.cta p { margin: 0; color: rgba(255,255,255,.82); }
.cta-actions { display: flex; gap: 14px; flex: none; position: relative; z-index: 2; flex-wrap: wrap; }
.cta-phone { font-family: var(--font-num); font-size: 26px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 10px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.footer-col h4 {
  color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px;
  border-radius: 3px; background: var(--green);
}
.footer-about p { margin: 0 0 16px; line-height: 1.9; }
.footer-brand { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 14px; display:block; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.72); }
.footer-col a:hover { color: #8fdb63; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact svg { color: var(--green); flex: none; margin-top: 4px; }
.footer-contact b { color: #fff; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   悬浮联系栏
   ========================================================================== */
.float-bar {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  z-index: 990; display: flex; flex-direction: column; gap: 10px;
}
.float-item { position: relative; }
.float-btn {
  width: 52px; height: 52px; border-radius: 12px; background: #fff;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); cursor: pointer; transition: all .25s;
}
.float-item:hover .float-btn { background: var(--teal); color: #fff; border-color: var(--teal); }
.float-pop {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 18px; white-space: nowrap; opacity: 0; visibility: hidden;
  transition: all .25s; text-align: center;
}
.float-item:hover .float-pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.float-pop b { display: block; font-family: var(--font-num); font-size: 18px; color: var(--teal); }
.float-pop span { font-size: 12px; color: var(--muted); }
.float-pop img { width: 120px; height: 120px; display: block; }
#back-top { opacity: 0; visibility: hidden; transition: all .3s; }
#back-top.show { opacity: 1; visibility: visible; }

/* ==========================================================================
   页面通用（内页横幅 / 面包屑）
   ========================================================================== */
.page-hero {
  background: linear-gradient(120deg, var(--ink), var(--teal-deep));
  color: #fff; padding: 56px 0; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -110px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 34px solid rgba(255,255,255,.07);
}
.page-hero h1 { color: #fff; font-size: 34px; margin: 0 0 6px; }
.breadcrumbs { font-size: 13.5px; color: rgba(255,255,255,.7); }
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: #8fdb63; }
.breadcrumbs .sep { margin: 0 8px; opacity: .5; }

/* ==========================================================================
   产品归档
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-bar a {
  padding: 9px 22px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 14px; color: var(--text); font-weight: 500;
  transition: all .2s;
}
.filter-bar a:hover { border-color: var(--teal); color: var(--teal); }
.filter-bar a.active { background: var(--teal); border-color: var(--teal); color: #fff; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: var(--text); font-size: 14px;
}
.pagination .page-numbers:hover { border-color: var(--teal); color: var(--teal); }
.pagination .page-numbers.current { background: var(--teal); border-color: var(--teal); color: #fff; }
.pagination .dots { border: 0; background: none; }

/* ==========================================================================
   产品详情
   ========================================================================== */
.product-single { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: flex-start; }
.product-gallery {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden;
  position: sticky; top: 110px;
}
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery img.is-svg { width: 66%; height: 66%; object-fit: contain; }
.product-info h1 { font-size: 30px; margin-bottom: 10px; }
.product-meta-cat { margin-bottom: 18px; }
.product-meta-cat a {
  display: inline-block; background: var(--teal-soft); color: var(--teal);
  font-size: 13px; padding: 5px 14px; border-radius: 999px; margin-right: 8px;
}
.product-excerpt { color: var(--muted); border-left: 4px solid var(--green); padding: 4px 0 4px 16px; margin-bottom: 26px; }

.spec-table { margin-bottom: 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table caption {
  text-align: left; background: var(--ink); color: #fff; padding: 12px 18px;
  font-weight: 600; font-size: 15px;
}
.spec-table th, .spec-table td { padding: 12px 18px; font-size: 14.5px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 130px; background: var(--teal-soft); color: var(--ink); font-weight: 600; }
.spec-table tr:nth-child(even) td { background: #fafdfd; }

.inquiry-box {
  background: linear-gradient(120deg, var(--teal-soft), #fff);
  border: 1px dashed var(--teal); border-radius: var(--radius-lg);
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.inquiry-box .iq-label { font-size: 13px; color: var(--muted); }
.inquiry-box .iq-phone { font-family: var(--font-num); font-size: 26px; font-weight: 700; color: var(--teal); }

.product-detail-body { margin-top: 64px; }
.detail-tab-head {
  border-bottom: 2px solid var(--line); margin-bottom: 28px; display: flex; gap: 8px;
}
.detail-tab-head span {
  display: inline-block; padding: 12px 26px; font-weight: 700; font-size: 17px;
  color: var(--ink); border-bottom: 3px solid var(--green); margin-bottom: -2px;
}
.related-products { margin-top: 72px; }

/* ==========================================================================
   文章 / 页面内容
   ========================================================================== */
.content-area { padding: 64px 0 84px; }
.entry-wrap { max-width: 860px; margin: 0 auto; }
article.entry {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 48px 56px;
}
.entry-header { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.entry-title { font-size: 30px; margin: 0 0 12px; }
.entry-meta { font-size: 13.5px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.entry-meta svg { vertical-align: -2px; margin-right: 4px; color: var(--teal); }
.entry-content { font-size: 16px; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content h2 { font-size: 24px; margin-top: 1.6em; padding-left: 14px; border-left: 4px solid var(--green); }
.entry-content h3 { font-size: 20px; margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
  margin: 1.4em 0; padding: 16px 22px; background: var(--teal-soft);
  border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-2);
}
.entry-content table th, .entry-content table td { border: 1px solid var(--line); padding: 10px 14px; font-size: 14.5px; }
.entry-content table th { background: var(--teal-soft); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; font-size: 14px; }
.post-nav a { color: var(--muted); }
.post-nav a:hover { color: var(--teal); }

/* 博客列表 */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* 404 / 搜索 */
.big-404 { text-align: center; padding: 60px 0; }
.big-404 .code { font-family: var(--font-num); font-size: 120px; font-weight: 700; color: var(--teal-soft);
  text-shadow: 0 2px 0 var(--line); line-height: 1; }
.big-404 h1 { font-size: 26px; }
.search-form-inline { display: flex; max-width: 520px; margin: 24px auto 0; }
.search-form-inline input[type="search"] {
  flex: 1; border: 1px solid var(--line); border-right: 0; border-radius: 999px 0 0 999px;
  padding: 12px 22px; font-size: 15px; font-family: inherit; outline: none;
}
.search-form-inline input[type="search"]:focus { border-color: var(--teal); }
.search-form-inline button {
  border: 0; background: var(--teal); color: #fff; padding: 0 28px;
  border-radius: 0 999px 999px 0; font-size: 15px; cursor: pointer; font-family: inherit;
}
.search-form-inline button:hover { background: var(--teal-deep); }

/* 评论（基础样式） */
.comments-area { margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 40px; }
.comments-area .comments-title { font-size: 20px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--line); padding: 18px 0; }
.comment-list .comment-author { font-weight: 600; }
.comment-list .comment-metadata { font-size: 12.5px; color: var(--muted); }
.comment-form label { display: block; font-size: 14px; margin-bottom: 6px; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"],
.comment-form input[type="url"], .comment-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 14px; font-family: inherit; font-size: 14.5px; margin-bottom: 14px;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--teal); outline: none; }
.comment-form .submit { border: 0; cursor: pointer; }

/* ==========================================================================
   入场动画（尊重系统减少动态偏好）
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .adv-grid, .app-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 38px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .main-nav a { padding: 30px 12px; font-size: 15px; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding: 64px 0 72px; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .about-wrap, .product-single { grid-template-columns: 1fr; }
  .product-gallery { position: static; max-width: 520px; margin: 0 auto; }
  .cat-grid, .news-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { flex-direction: column; text-align: center; padding: 44px 28px; }
  .header-hotline { display: none; }

  /* 移动端导航 */
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; top: 0; background: rgba(11,59,71,.98);
    z-index: 950; padding: 100px 32px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: all .3s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { color: #fff; padding: 16px 4px; font-size: 19px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav ul ul {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: transparent; padding: 0 0 0 18px;
  }
  .main-nav ul ul a { color: rgba(255,255,255,.75); font-size: 16px; padding: 12px 4px; }
  .nav-toggle { position: relative; z-index: 960; }
  body.nav-open .nav-toggle span { background: #fff; }
}
@media (max-width: 600px) {
  section.block { padding: 60px 0; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .section-title { font-size: 26px; }
  .product-grid, .cat-grid, .news-grid, .blog-grid,
  .adv-grid, .app-grid, .about-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-num { font-size: 32px; }
  .topbar-welcome { display: none; }
  .topbar-in { justify-content: center; }
  article.entry { padding: 30px 22px; }
  .comments-area { padding: 26px 20px; }
  .brand-name { font-size: 20px; }
  .float-bar { right: 10px; }
  .float-btn { width: 46px; height: 46px; }
  .cta h2 { font-size: 24px; }
  .about-badge { left: 10px; bottom: -18px; padding: 14px 20px; }
  .about-badge b { font-size: 28px; }
}
