/* =========================================================
   谷多 GooDuo · 洗衣机官网 组件样式
   纯白底 + 湖蓝点缀 + 极简 · 电脑 1200 / 模块 padding 80·44
   ========================================================= */

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: var(--fs-body);
  border: 1px solid transparent; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: #1B3A52; color: #fff; }
.btn-primary:hover { background: #24507A; transform: translateY(-2px); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.cta-bottom { display: none; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
/* 首页（.home）：首屏 hero 不显示导航栏，第二屏起滑入。
   fixed 定位脱离文档流，避免 header 占位把 hero 下推、导致图片撑不满整屏 */
.home .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}
.home .site-header.is-visible { transform: translateY(0); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-en { color: var(--accent); margin-left: 6px; font-weight: 600; }
/* 页脚品牌文字（导航栏用 logo 图，页脚保留文字版式） */
.footer-col .brand { font-size: var(--fs-h3); font-weight: 800; letter-spacing: 0.02em; }

.primary-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 8px; align-items: center; }
.nav-list a {
  position: relative; border-radius: 8px; padding: 6px 10px;
  color: var(--text-dim); font-weight: 500; transition: var(--transition);
}
.nav-list a:hover, .nav-list a.active { color: var(--text); }
/* 底部线条：默认收起(scaleX 0)，悬浮/键盘聚焦/当前页展开动画；
   用 ::before 而非 ::after，避开 has-sub 项的下拉箭头(::after) */
.nav-list a::before {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--transition);
}
.nav-list a:hover::before,
.nav-list a:focus-visible::before,
.nav-list a.active::before { transform: scaleX(1); }

/* ===== 二级菜单（桌面 hover/键盘展开） ===== */
.nav-list li.has-sub { position: relative; }
.nav-list li.has-sub > a { display: inline-flex; align-items: center; gap: 4px; }
/* 下拉箭头（纯 CSS） */
.nav-list li.has-sub > a::after {
  content: ""; width: 6px; height: 6px; margin-left: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform var(--transition);
}
.nav-list li.has-sub:hover > a::after, .nav-list li.has-sub:focus-within > a::after {
  transform: rotate(225deg) translateY(-1px);
}
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  min-width: 132px; padding: 6px; border-radius: 10px;
  background: var(--bg-elev); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-list li.has-sub:hover .sub-menu, .nav-list li.has-sub:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.sub-menu a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--text-dim); font-size: var(--fs-small); white-space: nowrap;
  transition: var(--transition);
}
.sub-menu a:hover { background: var(--accent-soft); color: var(--accent); }
.sub-menu a.active { color: var(--accent); font-weight: 600; background: var(--accent-soft); }

.lang-toggle {
  margin-left: 28px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: transparent; color: var(--text-dim);
  font-size: var(--fs-small); transition: var(--transition);
  min-width: 72px; display: inline-flex; justify-content: center; align-items: center;   /* 锁定宽度，语言切换时按钮不伸缩，导航栏不重排 */
}
.lang-toggle:hover { color: var(--accent); border-color: var(--accent); }
.lang-toggle .lang-zh, .lang-toggle .lang-en { color: var(--text-dim); font-weight: 700; transition: var(--transition); }   /* 两态字重一致，切换不撑宽 */
.lang-toggle .lang-zh.is-active, .lang-toggle .lang-en.is-active { color: var(--accent); }   /* 仅以颜色区分激活，去掉 font-weight 切换避免按钮宽度变化 */
.lang-toggle .lang-sep { color: var(--text-dim); opacity: 0.45; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px;
  background: transparent; border: 0; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* 移动端：汉堡 + 抽屉（断点 900px，768–900 平板档也走汉堡） */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--border);
    padding: 8px 0 16px; transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: var(--transition);
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; width: 100%; align-items: stretch; gap: 0; }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block; width: 100%; padding: 15px 20px;
    border-bottom: 1px solid var(--border); transition: background-color .25s ease;
  }
  .nav-list a:hover, .nav-list a:focus-visible, .nav-list a.active {
    background: var(--bg-elev-2); color: var(--text);
  }
  .nav-list a::before { display: none; }
  /* 移动端：二级菜单默认折叠（避免默认全展开导致菜单超长），点击父项展开 */
  .nav-list li.has-sub { width: 100%; }
  .nav-list li.has-sub > a { display: flex; justify-content: space-between; align-items: center; }
  .nav-list li.has-sub > a::after {
    display: block; margin-left: 6px; transform: rotate(45deg) translateY(-2px);
    transition: transform var(--transition);
  }
  .nav-list li.has-sub.is-open > a::after { transform: rotate(225deg) translateY(-1px); }
  .sub-menu {
    position: static; transform: none; min-width: 0;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 0; background: transparent;
    transition: max-height .3s ease, opacity .3s ease, visibility .3s ease;
  }
  .nav-list li.has-sub.is-open > .sub-menu {
    max-height: 280px; opacity: 1; visibility: visible; transform: none; padding-bottom: 6px;
  }
  /* 触屏点击会触发并保持 :hover，桌面 hover 规则的 translateX(-50%) 平移
     特异性更高会覆盖移动端 transform:none，把子菜单挪出可视区 →
     必须用同特异性选择器覆盖回 none，否则点一级菜单后二级菜单显示错位/不可见 */
  .nav-list li.has-sub:hover .sub-menu,
  .nav-list li.has-sub:focus-within .sub-menu {
    transform: none;
  }
  .sub-menu a {
    padding: 10px 20px 10px 40px; border-bottom: 0;
    font-size: var(--fs-small); color: var(--text-dim);
  }
  .sub-menu a:hover { background: var(--bg-elev-2); color: var(--accent); }
  .lang-toggle { margin: 16px 0 0 20px; align-self: flex-start; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== Hero（首屏全屏） ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center;
}
.hero-carousel { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease; background-size: cover; background-position: center;
  display: flex; align-items: center;   /* 文字层（.hero-inner）随图垂直居中 */
}
.hero-slide.is-active { opacity: 1; }
/* 纯视觉 hero：无文字层，故不叠加渐变遮罩，图片全幅展现 */
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding-left: max(24px, calc((100% - 1200px) / 2)); }   /* 左对齐页面容器，移动端保底 24px */
/* 图片上可读性：白色文字 + 深色投影（浅/深底图均清晰，不叠加遮罩） */
.hero-inner .hero-title, .hero-inner .hero-sub { text-shadow: 0 1px 3px rgba(11, 15, 26, 0.45), 0 2px 14px rgba(11, 15, 26, 0.55); }
.hero-eyebrow {
  color: var(--accent); font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: var(--fs-small); margin: 0 0 18px;
}
.hero-title { font-size: var(--fs-h1); line-height: 1.1; margin: 0 0 22px; color: #fff; }
.hero-sub { font-size: var(--fs-body); max-width: 60ch; margin: 0 0 32px; color: rgba(255, 255, 255, 0.94); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* ===== Hero 底部控件组（箭头 + 指示点，组合式，避开右侧章节导航） ===== */
.hero-controls {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px;
}
/* 左右切换箭头：小号圆钮、半透明白底 */
.hero-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.65); border: 1px solid var(--border);
  color: var(--text); cursor: pointer; transition: var(--transition);
}
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow:hover { background: rgba(74, 144, 196, 0.22); border-color: var(--accent); color: var(--accent); }
.hero-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* 指示点：胶囊形，激活拉长 + 湖蓝 */
.hero-dots { display: flex; align-items: center; gap: 8px; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 4px; padding: 0; border: 0;
  background: rgba(0, 0, 0, 0.22); transition: var(--transition); cursor: pointer;
}
.hero-dot.is-active { width: 26px; background: var(--accent); }
.hero-dot:hover { background: var(--accent); }
.hero-prev, .hero-next { position: static; transform: none; }
@media (max-width: 767px) {
  .hero-controls { bottom: 22px; gap: 12px; }
  .hero-arrow { width: 32px; height: 32px; }
  .hero-arrow svg { width: 16px; height: 16px; }
}

/* 视觉隐藏（仅供屏幕阅读器 / SEO） */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===== 区块顶部分隔线（制造节奏） ===== */
.section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 58, 82, 0.06), transparent);
}

/* ===== Section head（模块标题：简洁大气） ===== */
.section-head { max-width: 100%; margin-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head-text { max-width: 680px; }
/* 标题 + 下方短装饰线（湖蓝横线，左侧对齐，简洁大气） */
.section-title {
  position: relative;
  margin: 0 0 18px; padding-bottom: 18px;
  font-weight: 700; letter-spacing: -0.01em;
}
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 3px; border-radius: 2px;
  background: var(--accent);
}
.section-desc { max-width: 560px; margin: 0; color: var(--text-dim); }

/* ===== 关于我们：左图 + 2x2 要点卡 ===== */
.about-media {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px;
  align-items: center; margin-bottom: 36px;
}
.about-media-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.about-media-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.about-media-img:hover img { transform: scale(1.03); }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-point {
  padding: 18px 18px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elev); transition: var(--transition);
}
.about-point:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.about-point-index {
  display: block; font-size: var(--fs-small); font-weight: 700;
  color: var(--accent); margin-bottom: 8px; letter-spacing: 0.08em;
}
.about-point h3 { font-size: var(--fs-h4); margin: 0 0 6px; }
.about-point p { font-size: var(--fs-small); margin: 0; }

/* ===== 关于我们：背景大图 + 标题 + 数字墙 ===== */
.about-hero {
  background-image: url('../img/about-bg.webp');
  background-size: cover; background-position: center;
}
/* 半透明冰蓝遮罩：保证数字墙可读，同时保留冰川通透感 */
.about-hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.55);
}
.about-hero-content { position: relative; z-index: 1; }
/* 标题区：居左 + 下方留白衔接数字墙 */
.about-hero-head { margin-bottom: 40px; }
.about-hero-head .section-title { color: var(--heading); }
.about-hero-head .section-desc { color: var(--text-dim); }
/* 数字墙大气化：去卡片、超大数字、细线分隔、大间距 */
.about-hero .stats-grid { gap: 48px; }
.about-hero .stat {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  padding: 0; text-align: center;
}
.about-hero .stat:hover { transform: none; box-shadow: none; border-color: transparent; }
.about-hero .stat-num {
  font-size: clamp(2.75rem, 2.2rem + 3vw, 4.25rem);
  color: var(--heading); margin-bottom: 0;
}
.about-hero .stat-suffix { font-size: 1.25rem; }
.about-hero .stat::after {
  content: ""; display: block; width: 44px; height: 2px;
  background: var(--silver); margin: 18px auto 0;
}
.about-hero .stat-label {
  margin-top: 16px; font-size: var(--fs-small);
  letter-spacing: 0.14em; color: var(--text-dim);
}

/* ===== 实力数据墙 ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 28px 16px;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  transition: var(--transition);
}
.stat:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-num {
  display: flex; align-items: baseline; justify-content: center;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.375rem); font-weight: 700;
  color: var(--accent); line-height: 1.1; margin-bottom: 8px;
}
.stat-suffix { font-size: 1rem; font-weight: 600; margin-left: 2px; }
.stat-label { color: var(--text-dim); font-size: var(--fs-small); }

/* ===== 产品卡 ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  display: block; background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
}
.product-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.product-thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-elev-2); }
.product-thumb-img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.product-card:hover .product-thumb-img { transform: scale(1.05); }
.product-body { padding: 18px 20px 20px; text-align: center; }
.product-body h3 { margin: 0 0 6px; font-size: var(--fs-h4); }
.product-body p { margin: 0 0 12px; font-size: var(--fs-small); }
.card-link { display: inline-block; color: var(--accent); font-size: var(--fs-small); font-weight: 600; }

/* ===== 产品分类卡（4 系列直接展示，无 Tab 切换） ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== 场景图墙 ===== */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.scene-card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s ease; }
.scene-card:hover .scene-card-img { transform: scale(1.05); }
.scene-card-overlay {
  position: absolute; inset: 0; padding: 0 20px 18px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 26, 0.28) 55%, rgba(11, 15, 26, 0.88) 100%);
  color: #fff;
}
.scene-card-title {
  margin: 0 0 4px; font-size: var(--fs-h3); font-weight: 700;
  color: #fff; /* 显式白色，覆盖全局 h3{color:#333}（继承的白色会被元素选择器压掉） */
  text-shadow: 0 1px 8px rgba(11, 15, 26, 0.55);
}
.scene-card-desc {
  margin: 0; color: rgba(255, 255, 255, 0.92); font-size: var(--fs-small);
  text-shadow: 0 1px 4px rgba(11, 15, 26, 0.4);
  margin-top: 6px; /* 常驻显示：简介直接可见（overlay 绝对定位，不撑高卡片，无 fullpage 溢出风险） */
}

/* ===== 技术与生产：背景底图 + 时间轴 ===== */
.tech-hero {
  position: relative;
  background-image: url('../img/news-bg.webp');
  background-size: cover; background-position: center;
}
/* 半透明白遮罩：图本身高亮干净（亮度203-225），0.55 保持背景氛围同时文字清晰 */
.tech-hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.55);
  z-index: 0;
}
.tech-hero > .container { position: relative; z-index: 1; }

/* ===== 品牌故事时间线（上升曲线 + 交互选中版） =====
   节点附近只显「年份 + 4 字标签」；点击节点在曲线下方详情区显示完整描述；
   默认选中最后一个节点（今天）。移动端（<992px）降级为左侧竖线列表。 */
.timeline { position: relative; height: 320px; }
.timeline-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.curve-list {
  position: absolute; inset: 0; list-style: none; margin: 0; padding: 0;
}
.curve-node {
  position: absolute; left: var(--x, 50%); top: var(--dot-y);
  width: 0; height: 0; /* 纯锚点：btn 与 label 都相对它定位（杜绝飞出容器） */
}
/* 上升曲线节点 y（按 viewBox 0 0 1200 320 的三段贝塞尔插值：缓→陡→缓） */
.curve-node:nth-child(1) { --dot-y: 300px; }
.curve-node:nth-child(2) { --dot-y: 245px; }
.curve-node:nth-child(3) { --dot-y: 120px; }
.curve-node:nth-child(4) { --dot-y: 42px; }
.curve-btn {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 50%;
}
.curve-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(11, 15, 26, 0.28);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.curve-btn:hover .curve-dot { transform: scale(1.2); }
.curve-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* 选中节点：放大 + 强光晕 + 无限脉冲扩散光环，明确当前对应详情区的节点 */
@keyframes curvePulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  75%  { transform: scale(2.3); opacity: 0;   }
  100% { transform: scale(2.3); opacity: 0;   }
}
.curve-node.is-active .curve-btn::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent-strong);
  animation: curvePulse 1.9s ease-out infinite;
  pointer-events: none;
}
.curve-node.is-active .curve-dot {
  background: var(--accent-strong);
  box-shadow: 0 0 0 5px rgba(74, 144, 196, 0.35), 0 0 0 2px var(--accent), 0 6px 18px rgba(11, 15, 26, 0.35);
  transform: scale(1.45);
}
/* 节点标签：年份 + 4 字，位于曲线外侧（左低在上、右高在下） */
.curve-label {
  position: absolute; left: 50%; transform: translateX(-50%);
  text-align: center; width: 150px; pointer-events: none;
}
.curve-node:nth-child(1) .curve-label,
.curve-node:nth-child(2) .curve-label { bottom: 28px; }
.curve-node:nth-child(3) .curve-label,
.curve-node:nth-child(4) .curve-label { top: 28px; }
.curve-year {
  display: block; color: var(--accent); font-weight: 700;
  font-size: 1.375rem; line-height: 1.15; letter-spacing: 0.02em;
  transition: color 0.25s ease, transform 0.25s ease;
}
.curve-tag { display: block; font-size: var(--fs-body); color: var(--text-dim); margin-top: 4px; white-space: nowrap; }
.curve-node.is-active .curve-year {
  color: var(--accent-strong);
  transform: scale(1.12);
  transform-origin: bottom;
}
.curve-node.is-active .curve-tag { color: var(--accent); }
/* 详情区：曲线下方，冰蓝浅底块，默认显示"今天"详情 */
.curve-detail {
  margin-top: 22px; min-height: 58px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.curve-detail-text {
  margin: 0; padding: 14px 32px;
  font-size: 1.0625rem; font-weight: 500;
  color: var(--heading); letter-spacing: 0.03em;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(11, 15, 26, 0.05);
  animation: fadeUp 0.35s ease both;
}

/* ===== 文字 + 箭头链接（新闻「查看更多」） ===== */
.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 600; font-size: var(--fs-body);
  padding: 6px 2px; white-space: nowrap;
  transition: color 0.25s ease;
}
.link-more svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.link-more:hover { color: var(--accent-strong); }
.link-more:hover svg { transform: translateX(4px); }
/* 桌面隐藏底部「查看更多」（section-head 右侧已有），移动端显示 */
.link-more.cta-bottom { display: none; }

/* 新闻标题区：左文字与右按钮垂直居中对齐（默认 section-head 是 flex-end 底部对齐） */
.news-head { align-items: center; }

/* ===== 新闻（标题区与其他模块一致的上下排布；日期色条 + 右侧标题） ===== */
.news-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.news-item { position: relative; padding-left: 88px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.news-item:first-child { border-top: 0; }
.news-item a {
  display: flex; align-items: center; gap: 24px;
  padding: 40px 8px 40px 24px; transition: var(--transition);
}
.news-item:hover { background: var(--bg-elev-2); }
/* 日期色条：左侧全高，上下左三边顶到（无空白间隙），内部文字四周留内边距 */
.news-date {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 88px; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px 18px;
  background: linear-gradient(165deg, var(--accent), var(--accent-strong));
  color: #fff;
  transition: background 0.25s ease;
}
.news-date-day { font-size: 1.875rem; font-weight: 800; line-height: 1; }
.news-date-day::after {
  content: ""; display: block; width: 22px; height: 1px;
  margin: 7px auto 6px; background: rgba(255, 255, 255, 0.42);
}
.news-date-month { font-size: 0.875rem; line-height: 1.1; opacity: 0.85; letter-spacing: 0.02em; }
.news-item:hover .news-date { background: linear-gradient(165deg, var(--accent-strong), #3579a8); }
.news-title { margin: 0; font-size: var(--fs-h4); font-weight: 500; transition: var(--transition); }
.news-item:hover .news-title { color: var(--accent); }
.news-go { margin-left: auto; color: var(--accent); flex-shrink: 0; }
.news-go svg { width: 18px; height: 18px; }
/* 标题 + 简介包裹，独占右侧空间把箭头推到最右；简介用冷灰蓝次级色，补信息密度 */
.news-text { flex: 1; min-width: 0; }
.news-summary {
  margin: 8px 0 0; font-size: var(--fs-small); color: var(--text-dim);
  line-height: 1.6;
}
/* 新闻分类 tab：集团资讯/媒体报道切换，屏内始终显示当前分类的 3 条 */
.news-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.news-tab {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-dim); font-size: var(--fs-small); font-weight: 500;
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  font-family: inherit; transition: var(--transition);
}
.news-tab:hover { border-color: var(--accent); color: var(--accent); }
.news-tab.is-active { background: transparent; border-color: var(--accent); color: var(--accent); font-weight: 600; }
.news-item.is-hidden { display: none; }

/* 新闻屏：暂不挂整段背景图——右下角网络节点线条会遮挡列表项末尾箭头，故回归纯净白底 */


/* ===== 品牌渠道 ===== */
.partner-bg {
  background-color: var(--bg-alt);
  background-image: url('../img/partner-bg.webp');
  background-size: cover; background-repeat: no-repeat;
  /* 网络节点几何 + 大片留白；cover 满铺，居中略偏上保留底部 LOGO/文字呼吸感
     （下方深色页脚约 270px 高，所以 position 用百分比而非 bottom 固定像素） */
  background-position: center 55%;
}
.partner-wall {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  align-items: center;
}
.partner-item {
  padding: 22px 12px; text-align: center;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-dim); font-size: var(--fs-small); transition: var(--transition);
}
.partner-item:hover { border-color: var(--accent); color: var(--accent); }

/* ===== 页脚 ===== */
.site-footer {
  background: #10242F; color: rgba(255, 255, 255, 0.72);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr;
  gap: 24px; padding-bottom: 48px;
}
.footer-col .brand { color: #fff; }
.footer-col summary {
  font-weight: 600; color: #fff; margin-bottom: 14px;
  list-style: none; cursor: default;
}
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: var(--fs-small); transition: var(--transition); }
.footer-col ul a:hover { color: var(--accent-strong); }
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: var(--fs-small); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px; padding-bottom: 20px;
  font-size: var(--fs-small); color: rgba(255, 255, 255, 0.5);
}
.footer-bottom p { color: inherit; margin: 0; }
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; border: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-strong); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* 页脚手风琴（移动端，规范 #5） */
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-col { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .footer-col summary {
    padding: 18px 0; margin: 0; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-col summary::after {
    content: "+"; font-size: 18px; transition: var(--transition);
  }
  .footer-col[open] summary::after { transform: rotate(45deg); }
  .footer-col ul { padding-bottom: 16px; }
  .footer-brand { padding-bottom: 20px; }
  /* 移动端页脚在文档流后方不遮挡，光点贴内容区右下即可 */
  .partner-bg { background-position: center bottom; }
}

/* 中等宽度（768-1199px）：6 列太挤，降为 3 列两行 */
@media (min-width: 768px) and (max-width: 1199px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
}

/* ===== 滚动揭示（渐进增强：内容默认可见，仅 .js 启用时隐藏） ===== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].in-view { opacity: 1; transform: none; }

/* ===== 右侧章节导航（仅电脑端） =====
   胶囊指示点：默认 8px 圆点，激活拉长为 26px 湖蓝胶囊（与 hero 指示点统一语言）。
   首屏（fpIndex 0）时隐藏，第 2 屏起淡入（与导航栏同逻辑） */
.side-nav {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
  z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  opacity: 1; visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.side-nav.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.side-nav-btn {
  position: relative;
  width: 8px; height: 8px; border-radius: 4px; padding: 0; border: 0;
  background: var(--border-strong); cursor: pointer;
  transition: var(--transition); flex-shrink: 0;
}
.side-nav-btn.is-active {
  width: 26px; background: var(--accent);
}
.side-nav-btn:hover:not(.is-active) { background: var(--accent); }
/* 章节名标签：hover 时从左侧淡入，带小圆点指向指示点 */
.side-nav-label {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-size: var(--fs-small); color: var(--text-dim);
  background: var(--bg-elev); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 6px;
  opacity: 0; visibility: hidden; transition: var(--transition); pointer-events: none;
}
.side-nav-label::after {
  content: ""; position: absolute; right: -4px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 7px; height: 7px; background: var(--bg-elev);
  border-right: 1px solid var(--border); border-top: 1px solid var(--border);
}
.side-nav-btn:hover .side-nav-label, .side-nav-btn:focus-visible .side-nav-label {
  opacity: 1; visibility: visible; right: 22px;
}
@media (max-width: 900px) {
  .side-nav { display: none; }
}

/* ===== Fullpage 整屏滚动模式（body.fp 时启用） =====
   每屏占满 100vh、内容垂直居中；main 作为轨道 transform 平移切屏。
   移动端/无 JS 时退化为普通滚动（panel 恢复 auto 高度）。 */
body.fp { overflow: hidden; height: 100vh; height: 100svh; }
html.fp { overflow: hidden; }
.fp-track { transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); }
body.fp .fp-track { will-change: transform; }
body.fp .panel {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 40px;
}
/* 最后一屏（品牌渠道 + 页脚同屏）：
   渠道区保持浅色背景；container flex:1 占据页脚上方区域，渠道内容在此区域内垂直居中；
   页脚留在文档流自然贴底（不脱离布局，避免渠道内容按整屏居中而视觉偏下） */
body.fp .fp-last {
  flex-direction: column;
  padding-block: 0;
}
body.fp .fp-last > .container {
  flex: 1; width: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 48px;
}
body.fp .fp-last .site-footer {
  width: 100%; /* align-items:center 继承自 panel，需强制撑满整屏宽 */
}
body.fp .section-alt { background: var(--bg-alt); }
/* fullpage 下恢复 tech-hero 背景图（body.fp .section-alt 的 shorthand 会清掉 background-image，
   同时把 background-size 重置为 auto、background-repeat 重置为 repeat → 平铺拼接感；
   故此处必须一并补回 size/position，否则 fullpage 态背景图变成小图平铺） */
body.fp .tech-hero {
  background-image: url('../img/news-bg.webp');
  background-size: cover;
  background-position: center;
}
/* 屏内容器：禁止内部滚动条（fullpage 必须整屏容纳，靠下方压缩间距保证） */
body.fp .panel > .container { width: 100%; }
/* fullpage 下压缩各屏内部间距，保证每屏内容在 100vh 内完整放下 */
body.fp .section-head { margin-bottom: 40px; }
body.fp .section-head-text { max-width: 640px; }
body.fp .section-title { margin-bottom: 12px; padding-bottom: 12px; }
body.fp .about-hero-head { margin-bottom: 28px; }
body.fp .product-thumb { aspect-ratio: 1 / 1; } /* 方形产品图完整显示 */
body.fp .product-body { padding: 12px 16px 14px; }
body.fp .product-body p { margin-bottom: 8px; }
body.fp .stat { padding: 20px 12px; }
/* fullpage 场景图墙：卡片纵向吃满整屏剩余空间 + 描述常驻
   （overlay 绝对定位零高度成本，不会撑高卡片/触发 fullpage 溢出；
     max-height 640 防止超宽视口下 3 列卡过窄过高、cover 裁切过狠） */
body.fp .scene-gallery .container {
  display: flex; flex-direction: column; height: 100%;
}
body.fp .scene-gallery .scene-grid {
  flex: 1; min-height: 0;
  grid-template-rows: minmax(0, 1fr);
  max-height: 640px;
}
body.fp .scene-card-img { height: 100%; aspect-ratio: auto; display: block; }
/* 曲线节点 y 值按 260px 高设计，fullpage 保持同一高度避免节点与曲线错位 */
body.fp .timeline { height: 320px; }
/* 新闻屏整屏态：列表项加回高度(项高 22px→项内容更舒展)，日期块保留内 padding；简介限 1 行控高防溢出 */
/* （news-head 的 margin-bottom 不再单独压窄，统一继承通用 .section-head 的 40px，与其他模块一致） */
/* 5 条时压缩：每项 padding 22→14、日期块 padding/字号略减、tab 间距收窄，确保 100vh 内不溢出 */
body.fp .news-item a { padding: 0; }   /* 新卡片结构(上配图下文字)由 .news-panel 规则控制，旧横排紧凑 padding 废弃 */
body.fp .news-date { padding: 10px 8px; }
body.fp .news-date-day { font-size: 1.25rem; }
body.fp .news-summary { -webkit-line-clamp: 1; }
body.fp .news-tabs { margin-bottom: 20px; }
body.fp .news-tab { padding: 6px 16px; }
body.fp .partner-item { padding: 16px 10px; }
/* 手机端 / 平板竖屏：退出 fullpage，恢复普通滚动。
   注意：移动端 JS 会移除 body.fp（fpSetActive(false)），因此 .fp-last 的间距规则
   不能依赖 body.fp 作用域，否则合作伙伴模块与深色页脚会紧贴无间距。 */
@media (max-width: 900px) {
  body.fp { overflow: auto; height: auto; }
  .news-item a { padding: 14px; }   /* 移动端(已退出fp)列表项上下缩小+左右一致，避免回退基础 40px 过大且左右 8/24 不等 */
  body.fp .panel { min-height: auto; display: block; padding-block: var(--section-py); }
  /* 末屏（品牌渠道 + 页脚）：移动端 footer 仍在 .fp-last 内，
     需保证「合作伙伴内容」与「深色页脚」之间有明确间距，且页脚下方不残留浅色底 */
  .fp-last { padding-block: var(--section-py) 0; }
  .fp-last > .container { padding-bottom: 44px; }
  .fp-last .site-footer { margin-top: 0; }
  .fp-track { transition: none; }
}

/* ===== 响应式 ===== */
@media (max-width: 1199px) {
  .product-grid, .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: 1fr; }
  /* 曲线时间轴降级为竖排列表（窄屏曲线收窄会导致节点文本重叠） */
  .timeline { height: auto; }
  .timeline-svg { display: none; }
  .curve-list {
    position: relative; display: flex; flex-direction: column; gap: 18px;
    padding-left: 30px; margin: 0;
  }
  .curve-list::before {
    content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px;
    width: 2px; background: var(--border); border-radius: 2px;
  }
  .curve-node {
    position: relative; left: auto; top: auto; transform: none; width: auto; height: auto;
    display: flex; align-items: flex-start; padding: 2px 0; cursor: pointer;
  }
  .curve-btn {
    position: absolute; top: 4px; left: -29px; transform: none;
    width: 20px; height: 20px; flex-shrink: 0;
  }
  .curve-dot { width: 14px; height: 14px; }
  .curve-label {
    position: static; transform: none; width: auto; text-align: left;
    display: flex; flex-direction: column; gap: 2px;
  }
  .curve-year, .curve-tag { display: block; }
  .curve-detail { margin-top: 18px; min-height: 0; text-align: left; justify-content: flex-start; }
  .partner-wall { grid-template-columns: repeat(3, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .link-more.cta-bottom { display: flex; justify-content: center; width: fit-content; margin-inline: auto; }   /* 移动端底部查看更多居中显示 */
  .news-head .link-more { display: none; } /* 移动端只保留底部查看更多，避免重复出现 */
  .about-media { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
}
@media (max-width: 767px) {
  .hero-title { font-size: var(--fs-h2); }
  .product-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner-wall { grid-template-columns: repeat(2, 1fr); }
  .news-item a { flex-wrap: wrap; gap: 8px; }
  .news-go { display: none; }
  .about-media-img img { aspect-ratio: 16 / 10; }
}

/* ===== 产品中心子页（products.html） ===== */
/* Banner 背景图：assets/img/products-hero.webp，cover 铺满，浅冰蓝兜底底色 */
.page-banner {
  position: relative; overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 5;
  background-color: var(--bg-elev-2);
  background-image: url("../img/products-hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 吸顶系列分类栏：导航栏 sticky top 68px，分类栏吸附在其下方 */
.series-nav {
  position: sticky; top: 68px; z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.series-nav-inner {
  display: flex; gap: 0; padding-block: 12px;
  overflow-x: auto; scrollbar-width: none;
}
.series-nav-inner::-webkit-scrollbar { display: none; }
.series-tab {
  position: relative; flex: 0 0 auto;
  padding: 8px 18px; border: none; border-radius: 0; background: none;
  color: var(--text-dim); font-size: var(--fs-h4); font-weight: 500;
  white-space: nowrap; cursor: pointer; transition: var(--transition);
}
.series-tab:not(:first-child)::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translate(-50%, -50%);
  width: 1px; height: 16px; background: var(--border-strong);
}
.series-tab:hover { color: var(--accent); }
.series-tab.is-active { color: var(--heading); font-weight: 700; }

/* 系列面板（tab 切换：仅 .is-active / 非 hidden 的面板可见）
   顶部 padding 收紧，紧贴吸顶分类栏，不再铺整段 section-py */
.series-panel { padding-block: 24px 56px; }
.series-panel[hidden] { display: none; }

@media (max-width: 900px) {
  .series-panel { scroll-margin-top: calc(68px + 58px); }
}

/* ===== 产品中心子页：产品卡片网格 + 分页（类名 prod-card，与首页 .product-card 隔离） ===== */
.series-products { margin-top: 12px; }
/* 卡片网格：桌面 4 列，平板 3 列，手机 2 列；每页 12 条时一行 4 张铺满 */
.series-list {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.prod-card {
  display: flex; flex-direction: column;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
  text-decoration: none; color: inherit;   /* 整卡改为 <a> 后重置链接默认样式 */
}
.prod-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
/* 产品图占位：4:3 浅冰蓝渐变块显示型号，后续把内部 <span> 换成
   <img class="prod-card-img" src="..." alt="..."> 即可（object-fit: cover 填满） */
.prod-card-media {
  position: relative; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-elev-2), #D6E8F4);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
}
.prod-card-media span { font-size: var(--fs-h4); font-weight: 700; letter-spacing: 0.03em; }
.prod-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* "全部"面板：克隆卡带系列标签，叠在图右下角 */
.prod-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; text-align: center; }
.prod-card-title { margin: 0; font-size: var(--fs-h4); line-height: 1.4; }
.prod-card-meta { margin: 0; font-size: var(--fs-small); color: var(--text-dim); line-height: 1.5; }
.prod-card-link { margin-top: auto; align-self: center; color: var(--accent); font-size: var(--fs-small); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.prod-card-link .arrow { transition: transform .2s; }
.prod-card-link:hover { color: var(--accent-strong); }
.prod-card-link:hover .arrow { transform: translateX(3px); }

/* 分页控件：胶囊页码 + 首尾箭头（页码由 main.js 按产品数动态生成） */
.pagination { display: flex; gap: 8px; align-items: center; justify-content: center; }
.page-nums { display: flex; gap: 8px; }
.page-btn, .page-num {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--bg-elev);
  color: var(--text); font-size: var(--fs-small); cursor: pointer; transition: var(--transition);
}
.page-btn:hover, .page-num:hover { border-color: var(--accent); color: var(--accent); }
.page-num.is-active {
  border-color: var(--accent); color: var(--accent);
  font-weight: 600; background: var(--bg-elev-2);
}
.page-btn:disabled { opacity: 0.4; cursor: default; pointer-events: none; }

/* ===== 内页 Banner 下方中英双语标题条（产品中心/公司简介/品牌故事/荣誉认证共用） =====
   结构：<div class="page-titlebar"><div class="container">
           <p class="page-titlebar-en">英文小标</p>
           <h1 class="page-titlebar-cn">中文标题</h1></div></div> */
.page-titlebar {
  padding-block: 48px 40px;      /* 对齐全站内容区标尺 48/36/28（桌面/平板/手机），与子页模块间距统一 */
  text-align: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-titlebar-en {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.page-titlebar-cn {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--heading);
  margin: 0;
}
/* 装饰线：56×3 圆角，冰川蓝，与全站 section-title 装饰线同规格 */
.page-titlebar::after {
  content: ""; display: block;
  width: 56px; height: 3px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: var(--accent);
}

@media (max-width: 900px) {
  .page-titlebar { padding-block: 36px 32px; }
  .series-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .page-banner { aspect-ratio: 16 / 9; }
  .page-titlebar { padding-block: 28px 24px; }
  .page-titlebar-en { font-size: 12px; letter-spacing: 0.28em; }
  .series-list { grid-template-columns: 1fr; gap: 14px; }
}

/* ===== 新闻卡片（上配图下文字）：.news-panel（首页）与 .news-section（新闻子页）共用 =====
   置于文件末尾，保证后写覆盖旧横排规则（body.fp .news-item a 等） */
.news-panel .news-list, .news-section .news-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 0;
}
.news-panel .news-item, .news-section .news-item {
  padding-left: 0; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--bg);
  transition: var(--transition);   /* 与产品卡一致：上浮/阴影/边框平滑过渡 */
}
.news-panel .news-item:hover, .news-section .news-item:hover {
  background: var(--bg);   /* 覆盖基础 hover 灰底，与产品卡一致（白底+阴影上浮） */
  border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px);
}
.news-panel .news-item:hover .news-title, .news-section .news-item:hover .news-title { color: inherit; }   /* 与产品卡一致：标题不变色（覆盖基础 hover 变色） */
.news-panel .news-item a, .news-section .news-item a { display: flex; flex-direction: column; height: 100%; padding: 0; gap: 0; }
.news-panel .news-cover, .news-section .news-cover {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  margin: 0;   /* 重置 figure 浏览器默认 margin(1em 40px)，配图四周不留白 */
  background: linear-gradient(165deg, var(--bg-elev-2), var(--bg-alt));
}
.news-panel .news-cover img, .news-section .news-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.3s ease;
}
.news-panel .news-item:hover .news-cover img, .news-section .news-item:hover .news-cover img { transform: scale(1.05); }   /* 与产品卡配图放大同款 */
.news-panel .news-text, .news-section .news-text { padding: 14px 16px 18px; }
.news-panel .news-meta, .news-section .news-meta { display: block; margin: 0 0 8px; font-size: var(--fs-small); color: var(--text-dim); }
.news-panel .news-title, .news-section .news-title { margin: 0 0 8px; font-size: var(--fs-h4); font-weight: 600; line-height: 1.45; }
.news-panel .news-summary, .news-section .news-summary { margin: 0; -webkit-line-clamp: 1; }
.news-panel .news-go, .news-section .news-go { display: none; }
@media (max-width: 900px) {
  .news-panel .news-list, .news-section .news-list { grid-template-columns: 1fr; gap: 16px; }
}
