/* 官网访客端主题 · 简约编辑风（设计令牌见 01-requirements\访客端设计方向V1.md）
   换主题 = 换本文件 + 变量值，HTML 结构与区块配置不动。 */

:root {
  --bg: #FAF8F5;
  --ink: #2B2B2B;
  --muted: #8A8580;
  --card: #FFFFFF;
  --line: #ECE7E0;
  --accent: #B5473A;            /* 每站覆盖：portal 藏青 / yey 砖红 / scg 深红 / sj 暖棕 */
  --accent-ink: #FFFFFF;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(43,43,43,.06);
  --shadow-hover: 0 10px 28px rgba(43,43,43,.12);
  --maxw: 1160px;
  --textw: 760px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--textw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-logo { font-size: 18px; font-weight: 700; letter-spacing: .5px; line-height: 1.3; max-width: 70%; }
.site-logo em { color: var(--accent); font-style: normal; }
.site-nav { display: flex; gap: 28px; font-size: 14px; }
.site-nav a { color: var(--muted); transition: color .2s; }
.site-nav a:hover, .site-nav a.on { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- 区块通用 ---------- */
.block { padding: 84px 0; }
.block.tight { padding: 48px 0; }
.block-kicker {
  text-align: center; font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.block-title { text-align: center; font-size: 32px; font-weight: 700; line-height: 1.4; margin-bottom: 40px; }

/* ---------- hero 首屏横幅 ---------- */
.block-hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  background-size: cover; background-position: center; color: #fff;
}
.block-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.42));
}
.block-hero .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.block-hero .inner { position: relative; width: 100%; text-align: center; }
.block-hero.align-left .inner { text-align: left; }
.block-hero h1 { font-size: 44px; font-weight: 700; line-height: 1.35; text-shadow: 0 2px 16px rgba(0,0,0,.35); white-space: nowrap; }
.block-hero .sub { margin-top: 14px; font-size: 18px; opacity: .92; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.block-hero .cta {
  display: inline-block; margin-top: 30px; padding: 12px 34px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 999px; font-size: 14px; transition: transform .2s, box-shadow .2s;
}
.block-hero .cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ---------- 公告条 ---------- */
.block-notice { padding: 0; }
.block-notice .bar {
  background: var(--accent); color: var(--accent-ink);
  text-align: center; padding: 10px 24px; font-size: 14px;
}

/* ---------- 红黄细节（2026-11-20 用户定调：国旗红黄两色；黄仅作细节点缀，不大面积铺色） ---------- */
/* 公告条：主色→深色渐变 + 细节描边（色值按站注入，2026-11-23） */
.block-notice .bar {
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  border-bottom: 1px solid var(--accent-line);
  letter-spacing: 1px;
}
.block-hero .cta { box-shadow: inset 0 0 0 1px var(--accent-line); }
.more-link a { border-bottom-color: var(--gold); }
.store-card::before, .news-card::before { border-top-color: var(--gold); }

/* ---------- 图文块 ---------- */
.block-imgtext .row { display: flex; gap: 56px; align-items: center; }
.block-imgtext .row.rev { flex-direction: row-reverse; }
.block-imgtext .pic { flex: 1; }
.block-imgtext .pic img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
/* 图文块嵌入宣传片（2026-11-20：公司简介左侧图位换视频） */
.block-imgtext .pic video { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: block; background: #000; aspect-ratio: 16/9; }
/* 品牌 logo 图（2026-11-16 定版：透明背景、去白底衬、无圆角防裁切、限高 306px） */
.block-imgtext .pic img[src*="brand-"] { width: auto; max-width: 100%; max-height: 306px; margin: 0 auto; display: block; box-shadow: none; border-radius: 0; }
.block-imgtext .txt { flex: 1; }
.block-imgtext .txt h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; line-height: 1.5; }
.block-imgtext .txt p { color: var(--muted); }
.block-imgtext .more {
  display: inline-block; padding: 10px 26px; border-radius: 999px;
  color: var(--accent); font-size: 14px; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--accent); transition: all .2s;
}
.block-imgtext .more:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* 小屏：首屏公司全名 12 字强制一排，缩到 22px 保证 360px 宽手机不换行（2026-11-16） */
@media (max-width: 480px) {
  .block-hero h1 { font-size: 22px; }
}

/* ---------- 富文本块 ---------- */
.block-richtext .narrow { color: var(--ink); }
.block-richtext img { border-radius: var(--radius); margin: 16px auto; }

/* ---------- 三列卖点卡片 ---------- */
.block-cards .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border-radius: var(--radius-lg);
  padding: 36px 28px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; }

/* ---------- 最新文章 ---------- */
.block-news .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--line); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 20px 22px 26px; }
.news-card time { font-size: 13px; color: var(--muted); letter-spacing: 1px; }
.news-card h4 { font-size: 18px; font-weight: 700; margin: 6px 0 8px; line-height: 1.55; }
.news-card p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more-link { display: block; text-align: center; margin-top: 36px; }
.more-link a { color: var(--accent); font-size: 14px; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

/* ---------- FAQ 问答 ---------- */
.block-faq .faq-item {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden;
}
.block-faq .faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16px;
  list-style: none; position: relative;
}
.block-faq .faq-item summary::-webkit-details-marker { display: none; }
.block-faq .faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-size: 20px; color: var(--accent); font-weight: 400;
}
.block-faq .faq-item[open] summary::after { content: "−"; }
.block-faq .faq-answer { padding: 0 22px 20px; color: var(--muted); font-size: 14px; }

/* ---------- 款式展示位 ---------- */
.block-showcase .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.show-card {
  background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.show-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.show-card .pic { aspect-ratio: 3/4; overflow: hidden; background: var(--line); }
.show-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.show-card .body { padding: 18px 20px 22px; }
.show-card .season {
  display: inline-block; font-size: 13px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; padding: 1px 10px; margin-bottom: 8px;
}
.show-card h4 { font-size: 18px; font-weight: 700; }
.show-card p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- 门店列表 ---------- */
.block-stores .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.store-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 24px 26px;
  box-shadow: var(--shadow); border-top: 3px solid var(--accent);
  transition: transform .2s, box-shadow .2s;
}
.store-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.store-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.store-card p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.store-card .addr::before { content: "📍 "; }
.store-card .tel a { color: var(--accent); text-decoration: none; font-weight: 600; }
.store-card .hours { font-size: 13px; }

/* 跨站资讯来源标签（门户聚合视图） */
.brand-tag {
  display: inline-block; font-size: 13px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; padding: 0 10px;
  margin: 0 8px 4px 0; line-height: 1.7;
}

/* ---------- 加盟分布地图 ---------- */
.block-stormap .store-map {
  border-radius: var(--radius-lg); background: var(--line); overflow: hidden;
  box-shadow: var(--shadow); z-index: 0;
}
.block-stormap .map-cities { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.block-stormap .leaflet-container { font: inherit; }
.block-stormap .leaflet-control-attribution {
  font-size: 10px; line-height: 1.4; padding: 1px 6px;
  background: rgba(255, 255, 255, 0.72); color: #B5ADA4; border-radius: 8px 0 0 0;
}
.block-stormap .leaflet-control-attribution a { color: #B5ADA4; }

/* ---------- 页脚 ---------- */
.site-footer { background: #26221F; color: #B7B0A8; margin-top: 40px; }
.site-footer .container { padding: 56px 24px 32px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer .brand { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.site-footer .col h5 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.site-footer .col a { display: block; font-size: 14px; margin-bottom: 8px; color: #B7B0A8; }
.site-footer .col a:hover { color: #fff; }
.site-footer .copy { border-top: 1px solid #3A3531; margin-top: 36px; padding-top: 20px; font-size: 13px; text-align: center; color: #7E776F; }

/* ---------- 文章页 ---------- */
.news-hero { padding: 72px 0 32px; text-align: center; }
.news-hero h1 { font-size: 38px; font-weight: 700; line-height: 1.45; }
.news-hero time { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }
.article-body { max-width: 760px; margin: 24px auto 72px; padding: 0 24px; font-size: 16px; }
.article-body img { border-radius: var(--radius); margin: 16px auto; }
.article-body .rich-import { line-height: 1.9; }
.article-cover { max-width: 900px; margin: 0 auto 8px; padding: 0 24px; }
.article-cover img { border-radius: var(--radius-lg); width: 100%; }
.news-list { padding: 56px 0; }
.news-list .item {
  display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.news-list .item .thumb { width: 240px; flex: none; border-radius: var(--radius); overflow: hidden; }
.news-list .item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.news-list .item time { font-size: 13px; color: var(--muted); }
.news-list .item p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- 响应式：手机 / 平板 ---------- */
@media (max-width: 1024px) {
  .block-news .grid, .block-cards .grid, .block-showcase .grid, .block-stores .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .block { padding: 52px 0; }
  .block-title { font-size: 24px; margin-bottom: 28px; }
  .block-hero { min-height: 62vh; }
  .block-hero h1 { font-size: 30px; white-space: nowrap; }
  .block-hero .sub { font-size: 15px; }
  .block-news .grid, .block-cards .grid, .block-showcase .grid, .block-stores .grid { grid-template-columns: 1fr; }
  .block-imgtext .row, .block-imgtext .row.rev { flex-direction: column; gap: 24px; }
  .block-imgtext .txt h3 { font-size: 22px; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--card);
    border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 24px; }
  .nav-toggle { display: block; }
  .news-hero h1 { font-size: 26px; }
  .news-list .item { flex-direction: column; align-items: flex-start; gap: 14px; }
  .news-list .item .thumb { width: 100%; }
}

/* ---------- 企业大事记 · 全景时间轴（E5 定稿 2026-11-20：同侧整卡、横拖+自动滚、点击详情） ---------- */
.tlx-scroll { overflow-x: auto; padding: 8px 2px 14px; cursor: grab; scrollbar-width: thin; }
.tlx-scroll:active { cursor: grabbing; }
.tlx-band { position: relative; width: max-content; min-width: 100%; padding: 0 8px; }
.tlx-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.tlx-nodes { display: flex; align-items: flex-start; height: 430px; }
/* 半高节点：竖杆严格止于轴线，空白半侧无线 */
.tlx-node { flex: 0 0 190px; height: 215px; display: flex; flex-direction: column; position: relative; cursor: pointer; padding: 0 6px; }
.tlx-node.down { flex-direction: column-reverse; margin-top: 215px; }
.tlx-card {
  height: 190px; flex: none; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 10px 12px;
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
/* 图片区可伸缩：文字（年份+标题）占多少，图片自动缩小让位，任何长度标题都不会顶出卡片 */
.tlx-thumb { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; background: transparent; }
/* 图片原比例完整显示：超宽合照按同高横展，透明底 logo 无底色 */
.tlx-thumb img { width: auto; max-width: 100%; height: auto; max-height: 100%; border-radius: 6px; display: block; }
.tlx-year { color: var(--accent); font-size: 14px; font-weight: 800; margin-top: 7px; flex: none; }
.tlx-year::after { content: "年"; }
.tlx-title { font-size: 13px; margin: 3px 0 2px; line-height: 1.35; text-align: center; flex: none; }
.tlx-stem { width: 1px; flex: 1; background: var(--line); min-height: 8px; align-self: center; }
.tlx-node::after {
  content: ""; position: absolute; left: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg, #fff); box-shadow: 0 0 0 1px var(--accent);
  z-index: 2; transform: translateX(-50%);
}
.tlx-node:not(.down)::after { bottom: -4px; }
.tlx-node.down::after { top: -4px; }
.tlx-node:hover .tlx-card, .tlx-node:focus-visible .tlx-card { border-color: var(--accent); }
.tlx-node.active .tlx-card { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tlx-detail {
  margin-top: 22px; display: flex; gap: 22px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px;
}
.tlx-detail .d-imgs { flex: 0 0 300px; display: flex; flex-direction: column; gap: 10px; }
.tlx-detail .d-imgs img { width: 100%; height: 160px; object-fit: contain; border-radius: 8px; cursor: zoom-in; }
.tlx-detail .d-txt .yr { font-size: 28px; font-weight: 800; color: var(--accent); }
.tlx-detail .d-txt .yr::after { content: "年"; }
.tlx-detail .d-txt h4 { font-size: 18px; margin: 6px 0; }
.tlx-detail .d-txt p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.tlx-hint { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- 企业文化（2026-11-20 用户定版：无轴两列、红点在前） ---------- */
.cul-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cul-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px 20px;
}
.cul-dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); margin-top: 8px;
  box-shadow: 0 0 0 3px rgba(222, 41, 16, .12);
}
.cul-label { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin-bottom: 4px; }
.cul-text { font-size: 14px; line-height: 1.7; color: var(--ink); margin: 0; }

/* ---------- 首页改版配套（2026-11-20：数字墙 / 荣誉精选条 / 文化标语横幅） ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-cell { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 10px; }
.stat-num { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.stat-num small { font-size: 14px; font-weight: 700; margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.honor-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.honor-strip span {
  font-size: 13px; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px;
}
.cul-banner {
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  color: #fff; border-radius: var(--radius-lg); text-align: center; padding: 28px 20px;
}
.cul-banner strong { font-size: 22px; letter-spacing: 6px; }
.cul-banner small { display: block; margin-top: 8px; font-size: 13px; opacity: .85; letter-spacing: 2px; }

/* ---------- 企业荣誉墙 ---------- */
.block-honors .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor-card {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.honor-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.honor-card figcaption { padding: 14px 16px; }
.honor-card strong { display: block; font-size: 16px; line-height: 1.5; }
.honor-card span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

@media (max-width: 1024px) {
  .block-honors .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* 手机端：时间轴节点略窄，详情图上下排列；企业文化单列 */
  .tlx-node { flex: 0 0 164px; }
  .tlx-detail { flex-direction: column; }
  .tlx-detail .d-imgs { flex: none; }
  .cul-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .block-honors .grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 动效层（2026-11-12：克制高级感，GEO 初心不动） ----------
   原则：内容全部真 HTML 文字；仅在 html.js 存在时做入场动效；
   爬虫/无 JS/省流模式内容完整可见；prefers-reduced-motion 自动关闭。 */

/* 首屏背景：极缓推镜（Ken Burns），GPU transform，24 秒一轮 */
.block-hero { overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  animation: hero-zoom 24s ease-in-out infinite alternate;
}
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

/* 区块入场：淡入上浮。仅 .js 环境生效，无 JS 内容全可见 */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
/* 区块内子元素轻微错峰（可选的 .stagger 容器） */
.js .reveal.in > .container > .grid > * { animation: rise .6s ease both; }
.js .reveal.in > .container > .grid > *:nth-child(2) { animation-delay: .08s; }
.js .reveal.in > .container > .grid > *:nth-child(3) { animation-delay: .16s; }
.js .reveal.in > .container > .grid > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 首屏文案入场后微光扫过 CTA（scg 金色描边呼应） */
.block-hero .cta { position: relative; overflow: hidden; }
.block-hero .cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80px; width: 50px;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: none;
}
.block-hero .cta:hover::after { animation: sheen 1.1s ease; }
@keyframes sheen { to { left: 130%; } }

/* SCG 公告条金色流光已移除（2026-11-16）：无限动画层与首屏视频同框触发 Edge GPU 合成文字花屏（绿块），其他浏览器正常；保留静态红金渐变 */

/* 链接与按钮微交互 */
a, .el-button { transition: color .2s, background .2s, border-color .2s, box-shadow .2s; }
.site-nav a { position: relative; }
.site-nav a.on::after, .site-nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

/* 尊重系统"减少动态效果"设置：全部关闭 */
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .block-hero .cta::after, .s-scg .block-notice .bar::after { animation: none !important; }
  .js .reveal, .js .reveal.in > .container > .grid > * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* ---------- 顶部"品牌矩阵"下拉抽屉（2026-11-12 用户要求：顶部可切换品牌） ---------- */
.nav-drop { position: relative; }
.nav-drop .drop-btn {
  background: none; border: 0; font-size: 14px; color: var(--muted);
  cursor: pointer; padding: 0; font-family: inherit;
}
.nav-drop .caret { font-size: 11px; display: inline-block; transition: transform .2s; }
.nav-drop .drop-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 50;
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu, .nav-drop.open .drop-menu {
  opacity: 1; visibility: visible; transform: none;
}
.nav-drop:hover .caret, .nav-drop:focus-within .caret, .nav-drop.open .caret { transform: rotate(180deg); }
.drop-menu a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--ink);
}
.drop-menu a:hover { background: rgba(0,0,0,.045); color: var(--accent); }
.drop-menu a.cur { color: var(--accent); font-weight: 600; }
.drop-menu a.cur::after { content: " · 当前"; font-size: 13px; color: var(--muted); font-weight: 400; }

/* ---------- 文章页返回入口 ---------- */
.back-link {
  display: inline-block; font-size: 14px; color: var(--muted); margin-bottom: 18px;
}
.back-link:hover { color: var(--accent); }
.article-foot { padding: 10px 0 70px; }

@media (max-width: 768px) {
  /* 手机端：抽屉占满导航列宽，点开内嵌展开 */
  .nav-drop { width: 100%; }
  .nav-drop .drop-btn { padding: 12px 24px; width: 100%; text-align: left; font-size: 14px; color: var(--muted); }
  .nav-drop .drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0;
    margin: 0 24px 8px; padding: 0; display: none;
  }
  .nav-drop.open .drop-menu { display: block; }
  .nav-drop:hover .drop-menu { opacity: 1; visibility: visible; } /* 触屏无 hover，点击展开 */
  .drop-menu a { padding: 10px 14px; }
}

/* 品牌矩阵抽屉触发器：与普通导航项完全同款式（2026-11-12 用户要求"看不出是单独的东西"） */
.site-nav .drop-btn {
  background: none; border: 0; padding: 0; margin: 0;
  font-family: inherit; font-size: 14px; color: var(--muted);
  cursor: pointer; line-height: inherit;
}
.site-nav .drop-btn:hover { color: var(--ink); }
.site-nav .nav-drop:focus-within > .drop-btn { color: var(--ink); }

/* ---------- 品牌矩阵抽屉定版修正（2026-11-12 用户验收：不再 CSS hover 驱动，避免卡住） ----------
   1) 仅 .open 类展开（JS 悬停/点按驱动）；撤销 :hover/:focus-within 触发，防"点了就一直显示"
   2) 菜单绝对定位悬浮，不占位、不改变顶栏任何宽度
   3) 窄屏端去掉"· 当前"文字（保留高亮） */
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 0; visibility: hidden; transform: translateY(8px); }
.nav-drop.open .drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop:hover > .caret, .nav-drop:focus-within .caret { transform: none; }
.nav-drop.open .caret { transform: rotate(180deg); }
.drop-menu a.cur::after { content: none; }
.nav-drop { width: auto; }

/* 手机端修正（2026-11-16 用户验收）：品牌矩阵整行可点——定版修正里的 width:auto 会顶掉抽屉样式，
   导致 drop-btn 收成文字宽度；这里在窄屏重新拉满，并显式 block 让 padding/宽度生效 */
@media (max-width: 768px) {
  .site-nav .nav-drop { width: 100%; }
  .site-nav .nav-drop .drop-btn { display: block; box-sizing: border-box; }
}

/* 品牌矩阵抽屉：手机端与导航项对齐（统一样式曾覆盖内边距，此处按更高优先级还原） */
@media (max-width: 768px) {
  .site-nav .nav-drop .drop-btn { padding: 12px 24px; width: 100%; text-align: left; box-sizing: border-box; }
}

/* ---------- 资讯：年份归档 + 翻页（2026-11-12 用户定：每页 8 条） ---------- */
.news-years { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 26px; }
.news-years a {
  font-size: 14px; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 16px; background: var(--card); transition: all .2s;
}
.news-years a:hover { color: var(--accent); border-color: var(--accent); }
.news-years a.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.news-pager {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 34px 0 20px;
}
.pg-btn {
  font-size: 14px; color: var(--accent); border: 1px solid var(--accent);
  border-radius: 999px; padding: 8px 22px; transition: all .2s;
}
.pg-btn:hover { background: var(--accent); color: var(--accent-ink); }
.pg-info { font-size: 14px; color: var(--muted); }

/* 文章正文图片/视频自适应（2026-11-13 补：多图文章防溢出，手机端不横向滚动） */
.article-body img { max-width: 100%; height: auto; display: block; }
.article-body figure { margin: 18px 0; }
.article-body figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.article-body video { max-width: 100%; height: auto; display: block; border-radius: var(--radius); margin: 16px auto; }

/* 段落首行空两格（2026-11-14 用户裁定：中文排版惯例，视觉对齐） */
.article-body p { text-indent: 2em; line-height: 1.9; }

/* 小编信息（2026-11-14） */
.news-hero time { display: inline-block; }
.art-author { display: inline-block; margin-left: 14px; font-size: 13px; color: var(--muted); }

/* 分享按钮（2026-11-14） */
.art-share-wrap { max-width: 760px; margin: 0 auto 28px; padding: 0 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.art-share-label { font-size: 14px; color: var(--muted); }
.art-share-btn { border: 1px solid var(--line, #e5e0d8); background: #fff; border-radius: 999px; padding: 7px 16px; font-size: 14px; cursor: pointer; color: #4a4033; transition: all .15s; }
.art-share-btn:hover { background: var(--accent, #8a1f2d); border-color: var(--accent, #8a1f2d); color: #fff; }
.art-share-tip { font-size: 13px; color: #2e7d32; }

/* 上一篇 / 下一篇（2026-11-14） */
.art-prevnext { max-width: 760px; margin: 0 auto 32px; padding: 0 24px; display: flex; gap: 16px; }
.pn-item { flex: 1; min-width: 0; border: 1px solid var(--line, #e5e0d8); border-radius: var(--radius, 10px); padding: 12px 16px; text-decoration: none; color: inherit; transition: border-color .15s; display: flex; flex-direction: column; gap: 4px; }
.pn-item:hover { border-color: var(--accent, #8a1f2d); }
.pn-right { text-align: right; }
.pn-label { font-size: 13px; color: var(--muted); }
.pn-title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-empty { border: none; }
@media (max-width: 640px) {
  .art-prevnext { flex-direction: column; gap: 10px; }
  .pn-right { text-align: left; }
}

/* 多图翻页图集（2026-11-13）：正文 figure >4 时原地左右翻图 */
.art-gallery { position: relative; margin: 24px 0; }
.ag-stage { position: relative; }
.ag-stage figure { display: none; margin: 0; }
.ag-stage figure.on { display: block; }
.ag-stage img { cursor: pointer; }
.ag-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: none; border-radius: 50%;
  background: rgba(31, 58, 95, .55); color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; z-index: 3; transition: background .2s;
}
.ag-btn:hover { background: rgba(31, 58, 95, .85); }
.ag-prev { left: 12px; }
.ag-next { right: 12px; }
.ag-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  background: rgba(0, 0, 0, .5); color: #fff; font-size: 12px;
  padding: 3px 10px; border-radius: 12px;
}
@media (max-width: 720px) {
  .ag-btn { width: 36px; height: 36px; font-size: 22px; }
  .ag-prev { left: 6px; }
  .ag-next { right: 6px; }
}

/* 注：时间轴配图样式见 .tl-photo（2026-11-13 图文交错改版） */

/* 画廊区块（2026-11-15 关于我们·公司环境） */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.gallery-grid figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== 文章时间轴（article-timeline，2026-11-16 订货会专题）===== */
.block-art-timeline .block-sub { text-align:center; color:#909399; margin:-8px 0 28px; font-size:14px }
.atl-track { max-width: 860px; margin: 0 auto; position: relative; padding-left: 28px }
.atl-track::before { content:''; position:absolute; left:7px; top:6px; bottom:6px; width:2px; background: linear-gradient(to bottom, var(--accent), color-mix(in srgb, var(--accent) 25%, transparent)); border-radius: 2px }
.atl-item { position: relative; display:flex; gap:18px; align-items:flex-start; background:#fff; border:1px solid #ececec; border-radius: 10px; padding:18px 20px; margin-bottom:16px; text-decoration:none; color:inherit; transition: box-shadow .25s, transform .25s, border-color .25s }
.atl-item::before { content:''; position:absolute; left:-27px; top:26px; width:12px; height:12px; border-radius:50%; background: var(--accent); border:2px solid #fff; box-shadow:0 0 0 2px var(--accent) }
.atl-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); border-color: var(--accent) }
.atl-photo { flex: 0 0 132px; margin:0; border-radius:6px; overflow:hidden }
.atl-photo img { width:100%; height:auto; display:block; aspect-ratio: 16/10; object-fit: cover }
.atl-body { flex:1; min-width:0 }
.atl-date { display:inline-block; font-size:12px; letter-spacing:1px; color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff); border:1px solid color-mix(in srgb, var(--accent) 25%, #fff); border-radius:999px; padding:2px 12px; margin-bottom:8px }
.atl-body h4 { margin:0 0 6px; font-size:17px; line-height:1.4 }
.atl-item:hover .atl-body h4 { color: var(--accent) }
.atl-body p { margin:0; font-size:13.5px; color:#666; line-height:1.7; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden }
.atl-arrow { flex:0 0 auto; align-self:center; color:#c0c4cc; font-size:20px; transition: transform .25s, color .25s }
.atl-item:hover .atl-arrow { transform: translateX(4px); color: var(--accent) }
@media (max-width: 720px) {
  .atl-track { padding-left: 22px }
  .atl-track::before { left:5px }
  .atl-item { flex-wrap: wrap; padding:14px 16px; gap:12px }
  .atl-item::before { left:-22px; top:20px; width:10px; height:10px }
  .atl-photo { flex: 0 0 100% }
  .atl-arrow { display:none }
}

/* ---------- 站内搜索（2026-11-16）：导航内搜索框 + 搜索结果页 ---------- */
.site-search { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.site-search input {
  width: 130px; padding: 7px 12px; font-size: 13px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: inherit;
  transition: width .2s;
}
.site-search input:focus { width: 170px; outline: none; border-color: var(--accent); }
.site-search button {
  padding: 7px 14px; font-size: 13px; border: none; border-radius: 999px;
  background: var(--accent); color: #fff; cursor: pointer;
}
.search-page-form { display: flex; gap: 10px; max-width: 560px; margin: 8px 0 20px; }
.search-page-form input {
  flex: 1; padding: 12px 18px; font-size: 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: inherit;
}
.search-page-form input:focus { outline: none; border-color: var(--accent); }
.search-page-form button {
  padding: 12px 28px; font-size: 14px; border: none; border-radius: 999px;
  background: var(--accent); color: #fff; cursor: pointer;
}
.search-meta { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
@media (max-width: 768px) {
  .site-search { margin: 8px 16px; }
  .site-search input { flex: 1; width: auto; }
  .site-search input:focus { width: auto; }
}

/* ---------- 门户首屏（2026-11-16 用户定调 v2）：公司名隐藏，介绍贴视频上沿，按钮垂直居中 ---------- */
.s-portal .block-hero .inner, .s-scg .block-hero .inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding-top: 26px; box-sizing: border-box;
}
.s-portal .block-hero .sub, .s-scg .block-hero .sub { margin-top: 0; }
.s-portal .block-hero .cta, .s-scg .block-hero .cta { margin: auto; }

/* ---------- 页脚公众号（2026-11-16）：公司栏下方，深色底白衬二维码 ---------- */
.footer-qr { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; }
.footer-qr img { width: 96px; height: 96px; flex: none; background: #fff; padding: 6px; border-radius: 8px; }
.footer-qr p { font-size: 12.5px; color: rgba(255,255,255,.72); line-height: 1.7; margin: 0; }
.footer-qr .footer-qr-t { font-size: 14px; font-weight: 600; color: #fff; }
.footer-qr .footer-qr-c { margin-top: 8px; color: rgba(255,255,255,.6); }
@media (max-width: 768px) { .footer-qr { flex-direction: row; } }

/* 跨站文章来源提示（2026-11-17 方案A：门户本地渲染品牌文章） */
.art-origin { margin-top: 8px; font-size: 13px; color: var(--muted); }
.art-origin a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.art-origin a:hover { border-bottom-color: var(--accent); }
