/* ============================================================
   冠听 GUANTING 官方网站 - 全局样式表
   ------------------------------------------------------------
   设计风格：安克式黑白极简 + 品牌红点缀
   零依赖：不使用任何 CSS 框架，直接引入本文件即可
   ------------------------------------------------------------
   目录：
   01. 设计令牌（颜色 / 字体 / 间距 / 阴影）
   02. 基础重置与排版
   03. 通用布局（容器 / 区块 / 标题）
   04. 按钮
   05. 头部导航
   06. 首页 Hero
   07. 通用组件（卡片 / 特性 / 分屏 / 数据 / 时间线 / 参数表）
   08. 产品中心
   09. 联系我们
   10. 页脚
   11. 图片占位
   12. 滚动动画与回到顶部
   13. 响应式断点
   ============================================================ */

/* ============================================================
   01. 设计令牌 —— 改配色只需要动这里
   ============================================================ */
:root {
  /* --- 中性色：黑 / 白 / 灰，构成安克式极简骨架 --- */
  --c-ink: #0b0b0c;          /* 最深：标题、深色区背景 */
  --c-ink-2: #17171a;        /* 深色区次级背景 */
  --c-text: #1d1d20;         /* 正文主色 */
  --c-text-2: #6e6e73;       /* 次要文字、描述 */
  --c-text-3: #9a9a9f;       /* 弱化文字、占位提示 */
  --c-line: #e7e7e4;         /* 分隔线、卡片边框 */
  --c-line-2: #d8d8d4;       /* 稍重边框 */
  --c-bg: #ffffff;           /* 页面主背景 */
  --c-bg-alt: #f7f7f5;       /* 浅灰分区背景（暖调微灰） */
  --c-bg-deep: #f1f1ee;      /* 占位图、次级填充 */

  /* --- 品牌红：CLISE VI 主色（取自官方 LOGO），用于 CTA、标签、hover、装饰线 --- */
  --c-brand: #d7261d;
  --c-brand-deep: #b01c15;   /* hover / 文字用（对比度更高） */
  --c-brand-soft: #fdf0ef;   /* 品牌红浅底块 */
  --c-brand-line: #f2c5c1;   /* 品牌红细边框 */

  /* --- 字体 --- */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-num: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;

  /* --- 布局 --- */
  --container: 1200px;       /* 内容最大宽度 */
  --gutter: 24px;            /* 左右安全边距 */
  --nav-h: 72px;             /* 导航高度（桌面） */
  --radius: 4px;             /* 统一圆角：极简风用小圆角 */
  --radius-lg: 8px;

  /* --- 阴影：克制，只在悬浮和吸顶时出现 --- */
  --shadow-sm: 0 1px 2px rgba(11, 11, 12, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 11, 12, 0.07);
  --shadow-lg: 0 16px 48px rgba(11, 11, 12, 0.1);

  /* --- 动效 --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   02. 基础重置与排版
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 锚点跳转时避开吸顶导航 */
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 兜底：任何情况下都不允许横向滚动 */
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 键盘可达性：焦点描边 */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--c-brand-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 无障碍：屏幕阅读器专用文本 */
.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;
}

/* 通用隐藏：产品筛选时隐藏不匹配的卡片 */
.is-hidden {
  display: none !important;
}

/* ============================================================
   03. 通用布局
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 区块：统一上下留白，靠留白撑起"大气"感 */
.section {
  padding: 104px 0;
}

.section--sm {
  padding: 72px 0;
}

.section--alt {
  background: var(--c-bg-alt);
}

.section--dark {
  background: var(--c-ink);
  color: #ededed;
}

/* 消除上下相邻区块的留白叠加（用于两个背景不同的区块紧接时） */
/* 用双类选择器提高优先级，确保不被媒体查询里的 .section 覆盖 */
.section.section--pb0 {
  padding-bottom: 0;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}

/* --- 区块标题组 --- */
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 小标签：品牌红 + 字距拉开，安克常用手法 */
.eyebrow {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-brand-deep);
}

.section--dark .eyebrow {
  color: var(--c-brand);
}

.section-title {
  font-size: 40px;
  line-height: 1.2;
}

.section-sub {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text-2);
}

.section--dark .section-sub {
  color: #a8a8ad;
}

/* 品牌红装饰短线 */
.rule-brand {
  width: 40px;
  height: 2px;
  margin: 24px 0 0;
  background: var(--c-brand);
}

.rule-brand--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- 栅格工具 --- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================================
   04. 按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* 点击区域高度达标（≥44px） */
  min-height: 48px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

/* 主按钮：品牌红实心 */
.btn--primary {
  background: var(--c-brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--c-brand-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(215, 38, 29, 0.25);
}

/* 次按钮：深色实心 */
.btn--dark {
  background: var(--c-ink);
  color: #fff;
}

.btn--dark:hover {
  background: #2a2a2e;
  color: #fff;
  transform: translateY(-1px);
}

/* 描边按钮：用于浅色背景 */
.btn--ghost {
  border-color: var(--c-line-2);
  color: var(--c-ink);
}

.btn--ghost:hover {
  border-color: var(--c-ink);
  background: var(--c-ink);
  color: #fff;
}

/* 描边按钮：用于深色背景 */
.btn--light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--c-ink);
}

/* 文字链接按钮：带品牌红箭头 */
.btn--link {
  min-height: 44px;
  padding: 0;
  color: var(--c-brand-deep);
  font-weight: 500;
}

.btn--link:hover {
  color: var(--c-ink);
}

.btn--link .arrow {
  transition: transform 0.25s var(--ease);
}

.btn--link:hover .arrow {
  transform: translateX(4px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ============================================================
   05. 头部导航
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  /* 毛玻璃：滚动到内容上方时依然清晰 */
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

/* 滚动后由 JS 添加 .is-scrolled */
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

/* --- Logo：内联 SVG + 文字，无需图片文件 --- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

/* 官方 LOGO 图片：原图为白底正方形 PNG（CLISE 字样居中、上下留白大），
   用固定窗口 + 负外边距裁掉多余留白。
   若显示裁切不合适，微调 .brand-logo img 的 margin-top（每次 ±4px 试） */
.brand-logo {
  display: block;
  width: 112px;
  height: 46px;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo img {
  display: block;
  width: 112px;
  height: auto;
  margin-top: -28px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-cn {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-ink);
}

.brand-en {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--c-text-3);
  text-transform: uppercase;
}

/* --- 桌面端导航 --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--nav-h);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
}

.nav-links a:hover {
  color: var(--c-brand-deep);
}

/* 当前页 / hover 的品牌红下划线 */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 100%;
  height: 2px;
  background: var(--c-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links a.is-active {
  color: var(--c-ink);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-tel {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: 0.02em;
}

.nav-tel:hover {
  color: var(--c-brand-deep);
}

/* --- 移动端汉堡按钮 --- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-right: -10px;
}

.nav-toggle span {
  display: block;
  position: relative;
  width: 20px;
  height: 1.5px;
  background: var(--c-ink);
  transition: background 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* 展开态变成叉号 */
.nav-toggle.is-open span {
  background: transparent;
}

.nav-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --- 移动端抽屉菜单 --- */
.nav-mobile {
  display: none;
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid transparent;
  background: #fff;
  transition: max-height 0.35s var(--ease), border-color 0.35s var(--ease);
}

.nav-mobile.is-open {
  max-height: 420px;
  border-top-color: var(--c-line);
}

.nav-mobile ul {
  padding: 8px 0 20px;
}

.nav-mobile li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 触摸目标 ≥44px */
  min-height: 52px;
  padding: 0 4px;
  font-size: 16px;
  border-bottom: 1px solid var(--c-line);
}

.nav-mobile li:last-child a {
  border-bottom: none;
}

.nav-mobile li a.is-active {
  color: var(--c-brand-deep);
  font-weight: 600;
}

.nav-mobile .nav-mobile-cta {
  margin-top: 20px;
  border-bottom: none;
}

.nav-mobile .nav-mobile-cta .btn {
  width: 100%;
}

/* ============================================================
   06. 首页 Hero
   ============================================================ */

/* --- 品牌大图 Banner：桌面端整图展示（图内已含主文案与代言人） --- */
.hero-banner {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/* 移动端专用结构：HTML 文案 + 人物裁剪图（默认隐藏，768px 以下启用） */
.hero-banner-mobile {
  display: none;
}

.hero-mobile-sub {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--c-text-2);
}

.hero {
  position: relative;
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 96px 0 104px;
}

.hero-title {
  font-size: 54px;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: normal;
  color: var(--c-brand-deep);
}

.hero-sub {
  max-width: 520px;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--c-text-2);
}

/* Hero 右侧产品视觉 */
.hero-visual {
  position: relative;
}

.hero-visual .ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}

/* 悬浮参数标签：增添科技感和层次 */
.hero-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink);
  white-space: nowrap;
}

.hero-tag i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-brand);
}

.hero-tag--tl {
  top: 24px;
  left: -20px;
}

.hero-tag--br {
  right: -16px;
  bottom: 32px;
}

/* --- 首页数据条 --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-line);
}

.stat {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--c-line);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-num);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

.stat-num em {
  font-style: normal;
  font-size: 20px;
  color: var(--c-brand-deep);
  margin-left: 2px;
}

.stat-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-text-2);
  letter-spacing: 0.02em;
}

/* ============================================================
   07. 通用组件
   ============================================================ */

/* --- 特性卡片（四宫格） --- */
.feature {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.feature:hover {
  border-color: var(--c-brand-line);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* 图标：内联 SVG 用品牌红描边 */
.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--c-brand-deep);
  margin-bottom: 22px;
}

.feature-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-2);
}

/* --- 品牌形象大使区块 --- */
.ambassador {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.ambassador-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.ambassador-name {
  margin-top: 20px;
  font-size: 22px;
}

.ambassador-title {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--c-brand-deep);
  font-weight: 500;
}

/* --- X20 配色展示卡 --- */
.colorway-card {
  text-align: center;
}

.colorway-media {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.colorway-card:hover .colorway-media {
  border-color: var(--c-brand-line);
  box-shadow: var(--shadow-md);
}

.colorway-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* 深色底的产品图（如红蓝配色）用深色容器融合 */
.colorway-media--dark {
  background: var(--c-ink);
  border-color: var(--c-ink);
}

.colorway-name {
  margin-top: 18px;
  font-size: 17px;
}

.colorway-note {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--c-text-2);
}

/* --- 分屏区块（左图右文 / 右图左文） --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.split--reverse .split-media {
  order: 2;
}

/* 地图 + 二维码的分栏比例：地图宽一些。
   注意：本类的列定义必须在下方 768px 媒体查询之前，
   这样窄屏时 .split 的单列规则才能正常覆盖它。 */
.split--map {
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}

.split-media .ph {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
}

.split-body .eyebrow {
  margin-bottom: 14px;
}

.split-body h3 {
  font-size: 32px;
  line-height: 1.28;
}

.split-body p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text-2);
}

/* 分屏内的要点列表 */
.check-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--c-text);
}

.check-list svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  color: var(--c-brand-deep);
}

/* --- 深色 CTA 条 --- */
.cta-band {
  padding: 88px 0;
  background: var(--c-ink);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  font-size: 36px;
  color: #fff;
}

.cta-band p {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.8;
  color: #a8a8ad;
}

.cta-band .btn-group {
  justify-content: center;
}

/* --- 数据/参数表 --- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.spec-table caption {
  text-align: left;
  font-size: 13px;
  color: var(--c-text-3);
  padding-bottom: 12px;
}

.spec-table th,
.spec-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}

.spec-table th {
  width: 34%;
  font-weight: 500;
  color: var(--c-text-2);
  background: var(--c-bg-alt);
}

.spec-table td {
  color: var(--c-text);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

/* --- 时间线（发展历程） --- */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--c-line-2);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c-brand);
}

.timeline-year {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-brand-deep);
  letter-spacing: 0.04em;
}

.timeline-title {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 600;
}

.timeline-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-2);
  max-width: 560px;
}

/* --- 价值观卡片 --- */
.value-card {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-top: 2px solid var(--c-brand);
  height: 100%;
}

.value-num {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--c-text-3);
}

.value-title {
  margin-top: 18px;
  font-size: 20px;
}

.value-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-2);
}

/* --- 荣誉资质占位卡 --- */
.cert-card {
  padding: 28px;
  text-align: center;
  border: 1px dashed var(--c-line-2);
  border-radius: var(--radius);
  background: #fff;
}

.cert-card .ph {
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  border: none;
  background: var(--c-bg-alt);
}

.cert-card h4 {
  font-size: 15px;
  font-weight: 600;
}

.cert-card p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-text-3);
}

/* --- 页面内页头（面包屑 + 大标题） --- */
.page-hero {
  padding: 72px 0 64px;
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text-3);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--c-brand-deep);
}

.breadcrumb span.sep {
  color: var(--c-line-2);
}

.page-hero h1 {
  font-size: 44px;
  line-height: 1.2;
}

.page-hero p {
  max-width: 620px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-text-2);
}

/* ============================================================
   08. 产品中心
   ============================================================ */

/* --- 筛选标签栏 --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line);
}

.filter-btn {
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-2);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  background: #fff;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--c-brand-line);
  color: var(--c-brand-deep);
}

.filter-btn.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}

/* --- 产品卡片 --- */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.product-card:hover {
  border-color: var(--c-brand-line);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-media {
  position: relative;
  background: var(--c-bg-alt);
  /* 产品图统一 4:3，保证多产品排列整齐 */
}

.product-media .ph {
  aspect-ratio: 4 / 3;
  border: none;
  background: transparent;
}

/* 角标：新品 / 旗舰 */
.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--c-brand);
  border-radius: 100px;
  z-index: 2;
}

.badge--dark {
  background: var(--c-ink);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 30px;
}

.product-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-brand-deep);
  text-transform: uppercase;
}

.product-name {
  margin-top: 10px;
  font-size: 21px;
  font-weight: 600;
}

.product-slogan {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-2);
  flex: 1;
}

/* 产品卡上的核心参数小标签 */
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.product-meta span {
  padding: 5px 12px;
  font-size: 12px;
  color: var(--c-text-2);
  background: var(--c-bg-alt);
  border-radius: 4px;
}

.product-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 600;
  color: var(--c-ink);
}

.product-price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--c-text-3);
  margin-left: 4px;
}

/* --- 预留产品位（后续加型号直接改这张卡） --- */
.product-card--pending {
  border-style: dashed;
  background: transparent;
}

.product-card--pending .product-body {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 260px;
}

.product-card--pending .product-name {
  color: var(--c-text-3);
}

.product-card--pending .product-slogan {
  flex: 0;
}

/* --- 旗舰产品深度展示区 --- */
.flagship {
  background: var(--c-ink);
  color: #fff;
}

.flagship .split-body h3 {
  color: #fff;
}

.flagship .split-body p {
  color: #a8a8ad;
}

.flagship .check-list li {
  color: #dedee1;
}

.flagship .ph {
  background: linear-gradient(135deg, #1c1c20 0%, #26262b 100%);
  border-color: #35353b;
  color: #7d7d84;
}

/* ============================================================
   09. 联系我们
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover {
  border-color: var(--c-brand-line);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 40px;
  height: 40px;
  color: var(--c-brand-deep);
  margin-bottom: 18px;
}

.contact-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-text-3);
}

.contact-value {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink);
  word-break: break-all;
}

.contact-value a:hover {
  color: var(--c-brand-deep);
}

.contact-note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-2);
}

/* --- 地图占位 --- */
.map-wrap {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.map-wrap .ph {
  aspect-ratio: 16 / 7;
  border: none;
  background: var(--c-bg-alt);
}

/* --- 二维码卡 --- */
.qr-card {
  padding: 32px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.qr-card .ph {
  width: 160px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 18px;
  border-radius: var(--radius);
}

.qr-card h4 {
  font-size: 16px;
  font-weight: 600;
}

.qr-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-2);
}

/* --- FAQ 折叠 --- */
.faq-item {
  border-bottom: 1px solid var(--c-line);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 68px;
  padding: 16px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-ink);
}

.faq-q:hover {
  color: var(--c-brand-deep);
}

.faq-q .icon {
  flex-shrink: 0;
  position: relative;
  width: 16px;
  height: 16px;
}

.faq-q .icon::before,
.faq-q .icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq-q .icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 1.5px;
}

.faq-q .icon::after {
  top: 0;
  left: 7px;
  width: 1.5px;
  height: 16px;
}

.faq-item.is-open .faq-q .icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}

.faq-item.is-open .faq-a {
  max-height: 400px;
}

.faq-a p {
  padding: 0 0 26px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text-2);
}

/* ============================================================
   10. 页脚
   ============================================================ */
.site-footer {
  background: var(--c-ink);
  color: #a8a8ad;
  font-size: 14px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 72px 0 56px;
}

.footer-brand .brand-cn {
  color: #fff;
}

.footer-brand .brand-en {
  color: #6d6d73;
}

.footer-desc {
  margin-top: 20px;
  max-width: 320px;
  line-height: 1.85;
  color: #8e8e94;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links li + li {
  margin-top: 12px;
}

.footer-links a {
  color: #a8a8ad;
}

.footer-links a:hover {
  color: var(--c-brand);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  line-height: 1.7;
}

.footer-contact li + li {
  margin-top: 12px;
}

.footer-contact svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: #6d6d73;
}

.footer-contact a:hover {
  color: var(--c-brand);
}

.footer-qr .ph {
  width: 108px;
  aspect-ratio: 1 / 1;
  border-color: #35353b;
  background: #1c1c20;
  color: #6d6d73;
  font-size: 11px;
  border-radius: var(--radius);
}

.footer-qr p {
  margin-top: 12px;
  font-size: 13px;
  color: #8e8e94;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 0;
  border-top: 1px solid #26262b;
  font-size: 13px;
  color: #6d6d73;
}

.footer-bottom a:hover {
  color: var(--c-brand);
}

/* 公安联网备案号：盾牌图标与文字垂直居中对齐 */
.beian-police {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
}

.beian-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.footer-bottom .sep {
  margin: 0 10px;
  color: #3a3a40;
}

/* ============================================================
   11. 图片占位
   ------------------------------------------------------------
   说明：所有待替换图片位置都用一个 .ph 占位块表示。
   替换方法：把 <div class="ph" data-ph="..."></div>
   换成 <img src="assets/img/xxx.jpg" alt="描述" />
   建议尺寸写在 data-ph 提示文字里。
   ============================================================ */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-3);
  background: linear-gradient(135deg, #f4f4f2 0%, #eaeae6 100%);
  border: 1px dashed var(--c-line-2);
  border-radius: var(--radius);
  /* 占位块本身不可选中，避免误复制 */
  user-select: none;
}

.ph::after {
  content: attr(data-ph);
}

/* 占位块角落的相机小标记，便于在页面上快速定位 */
.ph::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 14px;
  height: 11px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.35;
}

/* ============================================================
   12. 滚动动画与回到顶部
   ============================================================ */

/* 默认可见（避免 JS 未加载时内容消失），JS 加载后由 .js-ready 接管 */
.reveal {
  opacity: 1;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 依次延迟，形成错落感（最多支持 6 个） */
.js-ready .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js-ready .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js-ready .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js-ready .reveal[data-delay="4"] { transition-delay: 0.32s; }
.js-ready .reveal[data-delay="5"] { transition-delay: 0.4s; }
.js-ready .reveal[data-delay="6"] { transition-delay: 0.48s; }

/* 回到顶部按钮 */
#backTop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}

#backTop.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

#backTop:hover {
  color: #fff;
  background: var(--c-ink);
  border-color: var(--c-ink);
}

#backTop svg {
  width: 18px;
  height: 18px;
}

/* 尊重系统「减少动态效果」设置 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   13. 响应式断点
   ------------------------------------------------------------
   lg 1024px：平板横向 / 小笔记本
   md 768px ：平板竖向及以下 —— 导航折叠、栅格降列
   sm 560px ：手机 —— 字号收紧
   ============================================================ */

/* ---------- ≤1024px ---------- */
@media (max-width: 1024px) {
  :root {
    --gutter: 22px;
  }

  .section {
    padding: 80px 0;
  }

  .section--sm {
    padding: 60px 0;
  }

  .nav-links {
    gap: 26px;
  }

  .hero-inner {
    gap: 40px;
    padding: 72px 0 80px;
  }

  .hero-title {
    font-size: 42px;
  }

  .section-title {
    font-size: 34px;
  }

  .split {
    gap: 48px;
  }

  .split-body h3 {
    font-size: 28px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ---------- ≤768px：切移动端布局 ---------- */
@media (max-width: 768px) {
  :root {
    --nav-h: 60px;
  }

  .section {
    padding: 64px 0;
  }

  .section--sm {
    padding: 48px 0;
  }

  /* 导航：隐藏桌面菜单，显示汉堡按钮 */
  .nav-links,
  .nav-tel {
    display: none;
  }

  .nav-toggle,
  .nav-mobile {
    display: block;
  }

  /* 品牌 banner：桌面整图切换为「HTML 文案 + 人物裁剪图」，
     保证小屏上主文案依然清晰可读 */
  .hero-banner-img {
    display: none;
  }

  .hero-banner-mobile {
    display: block;
  }

  .hero-banner-mobile .container {
    padding-top: 44px;
  }

  .hero-banner-mobile .hero-mobile-title {
    font-size: 29px;
    letter-spacing: -0.01em;
  }

  .hero-banner-mobile img {
    display: block;
    width: 100%;
    height: 320px;
    margin-top: 26px;
    object-fit: cover;
    /* 聚焦代言人所在区域（图内左侧的原生文字被裁掉，文案由 HTML 呈现） */
    object-position: 68% 18%;
  }

  .ambassador {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav-cta .btn {
    display: none;
  }

  /* Hero 改为上下堆叠 */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 52px 0 60px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-sub {
    font-size: 15.5px;
    margin-top: 18px;
  }

  /* 移动端隐藏悬浮标签，避免遮挡 */
  .hero-tag {
    display: none;
  }

  /* 数据条：2×2 */
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 26px 16px;
    border-bottom: 1px solid var(--c-line);
  }

  .stat:nth-child(2n) {
    border-right: none;
  }

  .stat:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .stat-num {
    font-size: 28px;
  }

  .section-title {
    font-size: 27px;
  }

  .section-sub {
    font-size: 15px;
    margin-top: 14px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  /* 所有多列栅格降为单列 */
  .grid-2,
  .grid-3,
  .grid-4,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* 分屏统一改为「图上文下」，不再左右交替 */
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .split-body h3 {
    font-size: 24px;
  }

  .split-body p {
    font-size: 14.5px;
  }

  .page-hero {
    padding: 48px 0 44px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .cta-band {
    padding: 60px 0;
  }

  .cta-band h2 {
    font-size: 26px;
  }

  .btn-group {
    margin-top: 28px;
  }

  /* 移动端按钮撑满更易点按 */
  .btn-group .btn {
    flex: 1 1 100%;
  }

  .feature {
    padding: 28px 24px;
  }

  .value-card {
    padding: 30px 24px;
  }

  .product-body {
    padding: 22px 22px 24px;
  }

  .contact-card {
    padding: 26px 22px;
  }

  /* 产品筛选栏横向滚动，不换行挤压 */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 18px;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
  }

  /* 参数表：窄屏下改为上下结构 */
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .spec-table th {
    padding-bottom: 4px;
    background: transparent;
    font-size: 13px;
  }

  .spec-table td {
    padding-top: 0;
    border-bottom: 1px solid var(--c-line);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 40px;
  }

  .footer-bottom {
    justify-content: flex-start;
  }

  .footer-bottom .sep {
    display: none;
  }

  .footer-bottom p {
    display: block;
    width: 100%;
  }

  #backTop {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ---------- ≤560px：小屏手机微调 ---------- */
@media (max-width: 560px) {
  :root {
    --gutter: 18px;
  }

  .hero-title {
    font-size: 27px;
    letter-spacing: -0.02em;
  }

  .section-title {
    font-size: 23px;
  }

  .cta-band h2 {
    font-size: 22px;
  }

  .stat-num {
    font-size: 24px;
  }

  .btn {
    padding: 0 22px;
    font-size: 14.5px;
  }

  .product-name {
    font-size: 19px;
  }

  .product-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .product-foot .btn {
    width: 100%;
  }
}

/* ============================================================
   14. 打印样式：官网偶尔需要打印公司简介
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  #backTop,
  .cta-band {
    display: none;
  }

  .section {
    padding: 24px 0;
  }
}
