@charset "UTF-8";
/* ==========================================================================
   Techoel™ 静态站 · 新 CSS（手写，非原站 CSS 的拷贝）
   --------------------------------------------------------------------------
   取值来源（只读实测，逐条对齐，不改写、不"差不多"）：
     · 设计规格.md            §1 字体表 / §2 色值表 / §3 尺寸表
     · 设计规格-页面级.md      字体族频次 / 字号频次 / 字重频次 / 行高频次 /
                            颜色频次 / 圆角频次 / 版心频次 / 内间距频次
     · 原站 spcookieconsent style.css（Cookie 条：16px/500、padding 20px、
       按钮 7px 15px / 90% / bold / .25rem / .15s）
     · 原站 Font Awesome 6 CSS（只读码位，见文件末尾图标表）
   不引任何框架；不引任何外部域名；字体只走 assets/fonts/。
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 自托管 Font Awesome 6（原站 templates/flex/fonts 的同名 woff2）
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url(fonts/fa/fa-solid-900-6.woff2) format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(fonts/fa/fa-regular-400-6.woff2) format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(fonts/fa/fa-brands-400-6.woff2) format('woff2');
}

/* --------------------------------------------------------------------------
   1. Token（色值 / 字体 / 尺寸）
   -------------------------------------------------------------------------- */
:root {
  /* —— 主色（preset5，全站 CSS 出现最多：146 次）—— */
  --brand: #16b99a;
  --brand-dark: #009d6f;      /* 表单提交按钮底 */
  --brand-light: #1ee4be;     /* hover / 高亮变体 */

  /* —— 文字 —— */
  --text: #212529;            /* 原站实测（浏览器计算值：模板 bootstrap 的 body 色）
                                 复核：原站 techoel-5220 页的 body/段落 color = rgb(33,37,41) */
  --text-soft: #757575;
  --text-mute: #8f8f8f;
  --placeholder: #999999;
  --navy: #0f3259;
  --danger: #ff0000;

  /* —— 背景 / 线条 —— */
  --white: #ffffff;
  --gray-1: #f5f5f5;
  --gray-2: #f0f0f0;
  --gray-3: #ededed;
  --gray-4: #e5e5e5;
  --line: #cccccc;
  --line-2: #d4d4d4;
  --line-3: #d1d1d1;
  --line-4: #dddddd;
  --line-5: #eeeeee;
  --focus: #66afe9;

  /* —— 共用部件固定配色（逐字照抄）—— */
  --header-bg: #303030;
  --header-text: #f0f0f0;
  --header-link: #ededed;
  --header-link-hover: #ffffff;
  --footer-bg: #363839;
  --footer-text: #b0b0b0;
  --footer-link: #d6d6d6;
  --footer-link-hover: #f0f0f0;
  --mega-bg: rgba(40, 40, 40, 0.8);
  --mega-text: #f7f7f7;

  /* —— 版心 / 栅格 —— */
  --container: 1140px;        /* Helix .container */
  --container-wide: 1320px;   /* SP Page Builder .sppb-row-container */
  --gutter: 30px;             /* 12 列栅格 gutter（左右各 15px） */

  /* —— 页头高度 —— */
  --header-h: 90px;
  --header-h-sticky: 70px;

  /* —— 圆角 —— */
  --radius: 4px;              /* .btn */
  --radius-input: 3px;
  --radius-sm: 2px;
  --radius-panel: 5px;

  /* —— 阴影 / 过渡 —— */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.35);
  --t-btn: color 400ms, background-color 400ms, border-color 400ms;
  --t-input: all .3s ease-in-out;
  --t-offcanvas: 300ms;

  /* —— 字体 —— */
  --font-body: 'Open Sans', sans-serif;
  --font-hero: 'Roboto', 'Open Sans', sans-serif;
  --font-fa: 'Font Awesome 6 Free';
  --font-fa-brands: 'Font Awesome 6 Brands';
}

/* --------------------------------------------------------------------------
   2. 基础 / 排版（字号、字重、行高照实测频次）
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;            /* 实测：正文 16px（84 次） */
  font-weight: 300;           /* 实测：body 300（127 次） */
  line-height: 25px;          /* 原站实测：正文行高 25px（1.5625，不是 1.5 → 24px） */
  color: var(--text);         /* 原站实测：#212529（浏览器计算值） */
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; line-height: 1.1; }
h1 { font-weight: 800; font-size: 40px; }   /* 实测：h1 800；大标题 40px（8 次） */
h2 { font-weight: 600; font-size: 30px; }   /* 实测：h2 600；区块大标题 30px（30 次） */
h3 { font-weight: 400; font-size: 20px; }   /* 实测：h3 normal；addon 标题 ≈20px */
h4 { font-weight: 400; font-size: 18px; }   /* 实测：h4 normal；卡片小标题 18px（34 次） */
h5 { font-weight: 600; font-size: 16px; }   /* 实测：h5 600 */
h6 { font-weight: 600; font-size: 14px; }   /* 实测：h6 600；次级小字 14px */

p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; transition: var(--t-btn); }
a:hover { color: var(--brand-light); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin-top: 0; }
hr { border: 0; border-top: 1px solid var(--line-4); margin: 20px 0; }

.text-13 { font-size: 13px; }   /* 辅助文字 13px（18 次） */
.text-15 { font-size: 15px; }   /* 次级正文 15px（45 次） */
.text-18 { font-size: 18px; }   /* 卡片小标题 18px（34 次） */
.text-30 { font-size: 30px; }
.text-32 { font-size: 32px; }   /* 页面标题 32px（8 次） */
.text-40 { font-size: 40px; }
.text-muted { color: var(--text-soft); }
.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   3. 版心 / 12 列栅格（gutter 30px：左右各 15px）
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}
.container-wide { max-width: var(--container-wide); }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
[class*="col-"] { padding: 0 15px; min-width: 0; }
.col { flex: 1 0 0; }
.col-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
.col-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3  { flex: 0 0 25%;        max-width: 25%; }
.col-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6  { flex: 0 0 50%;        max-width: 50%; }
.col-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9  { flex: 0 0 75%;        max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-12 { flex: 0 0 100%;       max-width: 100%; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* 断点照实测：576 / 768 / 992 / 1200 / 1400 */
@media (max-width: 991.98px) {
  .col-md-4, .col-md-6, .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
  .col-md-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-6  { flex: 0 0 50%;        max-width: 50%; }
  .col-md-12 { flex: 0 0 100%;       max-width: 100%; }
}
@media (min-width: 1200px) {
  .col-lg-3  { flex: 0 0 25%;        max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-9  { flex: 0 0 75%;        max-width: 75%; }
  .col-lg-12 { flex: 0 0 100%;       max-width: 100%; }
}

/* --------------------------------------------------------------------------
   4. 通用区块 / 标题
   -------------------------------------------------------------------------- */
.section { padding: 40px 0; }
.section-alt { background-color: var(--gray-1); }

.section-title {
  font-size: 30px;            /* 区块大标题 30px */
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}
.section-title.centered { text-align: center; }
.section-subtitle { font-size: 15px; color: var(--text-soft); }

/* 页面标题区（标题 32px） */
.page-title { font-size: 36px; font-weight: 300; line-height: 43.2px; }   /* 原站内页 h1 实测：36px/300 */
.page-header { padding: 30px 0 10px; }

/* 产品详情页主标题（阶段4）：原站实测 h3 = 24px / 400 / 行高 28.8px
   （来源：验收报告-阶段3.md §7 与 阶段4任务书 §2；只补这一条实测几何量） */
.product-title { font-size: 24px; font-weight: 400; line-height: 28.8px; }

/* SP Page Builder addon 标题（相对字号 130% ≈ 20.8px） */
.addon-title { font-size: 130%; font-weight: 400; line-height: 1.3; }
.addon-title-sm { font-size: 18px; font-weight: 600; }

/* 卡片 / 面板 */
.card {
  background: var(--white);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-body { padding: 20px; }

/* 图片 hover 放大（原站 intro-zoom-in 效果） */
.zoom-media { overflow: hidden; }
.zoom-media img { transition: transform 400ms ease; }
.zoom-media:hover img { transform: scale(1.06); }

/* --------------------------------------------------------------------------
   6. 页头 / 导航（高 90px，吸顶 70px，链接 #ededed → #ffffff）
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  background-color: var(--header-bg);
  color: var(--header-text);
  z-index: 1000;
}
.header-bar { height: var(--header-h); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header a { color: var(--header-link); }
.site-header a:hover { color: var(--header-link-hover); }

.logo { flex: 0 0 auto; display: flex; align-items: center; }
.logo img { width: 150px; height: 50px; }   /* Logo 150×50（1x） */

.main-nav { flex: 1 1 auto; }
.megamenu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;   /* 原站菜单组是**右对齐**的（1366px 实测 553–1012，紧接汉堡） */
  align-items: stretch;
}
.megamenu > li { position: relative; }
.megamenu > li > a,
.megamenu > li > .nav-toggle {
  display: block;
  height: var(--header-h);
  line-height: var(--header-h);
  padding: 0 12px;            /* 导航项内边距 0 12px */
  font-family: inherit;       /* ⚠️ button 默认不继承字体 → Products 曾因此显得"加粗" */
  font-size: 16px;
  font-weight: 300;          /* 原站实测：顶部导航 16px / weight 300 / #ededed / 行高 90px */
  color: var(--header-link);
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
/* 有子菜单的项加提示符号。
   原站：.sp-megamenu-parent >li.sp-has-child>a::after { font-family:"peIcon7";
   content:"\e688"; padding:0 3px; vertical-align:middle; font-size:90%; opacity:.9 }
   → peIcon7 是**细线**图标；FA6 实心箭头过粗过大（Danny 退回），
     改用同比例的细线 SVG（宽 7px 高 4px、描边约 0.9px），随字色变化 */
.megamenu > li.has-panel > a::after,
.megamenu > li.has-panel > .nav-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 4px;
  margin-left: 3px;                       /* 原站 padding: 0 3px */
  vertical-align: middle;
  opacity: .9;                            /* 原站 opacity: .9 */
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2014%209'%3E%3Cpath%20d='M1.6%201.6L7%207L12.4%201.6'%20fill='none'%20stroke='%23000'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2014%209'%3E%3Cpath%20d='M1.6%201.6L7%207L12.4%201.6'%20fill='none'%20stroke='%23000'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.megamenu > li > a:hover,
.megamenu > li > .nav-toggle:hover { color: var(--header-link-hover); }
/* 当前栏目 = 绿色（原站：#sp-header #sp-menu .sp-megamenu-parent
   >li.current-item.active>a, >li.sp-has-child.active>a { color:#1ee4be }）
   放在 hover 之后：停在当前栏目上时保持绿色 */
.megamenu > li.active > a,
.megamenu > li.active > .nav-toggle { color: #1ee4be; }

/* mega 下拉面板：rgba(40,40,40,.8)、下圆角 3px、项色 #f7f7f7、宽 900px 居中 */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: calc(100vw - 30px);
  background-color: var(--mega-bg);
  border-radius: 0 0 3px 3px;
  padding: 10px;                      /* 实测 .sp-dropdown-inner padding:10px */
  display: none;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);   /* 实测 .sp-dropdown-inner */
}
.megamenu > li.open > .mega-panel { display: block; }
.mega-panel .mega-cols { display: flex; flex-wrap: wrap; }
.mega-col { flex: 0 0 25%; max-width: 25%; padding: 0 10px; }
.mega-col-title {
  display: block;
  font-size: 14.4px;                  /* 原站实测：分组标题 14.4px / 700 / 行高 25px / margin-bottom 2px */
  font-weight: 700;
  line-height: 25px;
  text-transform: uppercase;          /* 实测：.sp-group-title { text-transform: uppercase } */
  color: var(--mega-text);
  padding: 0 5px;
  margin-bottom: 2px;                 /* 原站实测 margin-bottom 2px */
  cursor: default;
}
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list li { line-height: normal; }
.mega-list a {
  display: block;
  padding: 5px 10px;                  /* 原站实测：项内边距 5px 10px → 行盒 35px */
  font-size: 14.4px;                  /* 原站实测 14.4px / 行高 25px */
  line-height: 25px;
  font-weight: 300;
  color: var(--mega-text);
}
.mega-list a:hover { color: var(--brand-light); }
/* 面板内的"当前项"（原站 li.sp-menu-item.current-item>a：白字 + rgba(22,185,154,.8) 底、圆角 3px） */
.mega-panel a.active {
  color: #fff;
  background-color: rgba(22, 185, 154, .8);
  border-radius: 3px;
}

/* ---------------------------------------------------------------------------
   Applications 下拉（原站是"小下拉"，不是 Products 那种 mega 面板）
   原站实测：面板宽 300px、内边距 0；每项 font-size 14.4px、line-height 25px、
   padding 5px 10px（行盒 35px）、单行不折。两处下拉宽度不同，不能共用 900px。
   --------------------------------------------------------------------------- */
.mega-panel-simple {
  width: 300px;
  max-width: calc(100vw - 30px);
  left: 0;                    /* 原站：面板与 Applications 菜单项**左对齐**（inline style 只有 width，无 left 偏移） */
  right: auto;
  transform: none;
  padding: 0;
}
.mega-panel-simple .mega-cols { display: block; }
.mega-panel-simple .mega-col { flex: 0 0 100%; max-width: 100%; padding: 0; }
.mega-panel-simple .mega-list li { line-height: normal; }
.mega-panel-simple .mega-list a {
  font-size: 14.4px;
  line-height: 25px;
  padding: 5px 10px;
  white-space: nowrap;
}


/* 页头工具区：搜索 / 语言 / 汉堡 */
.header-tools { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; }
.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: var(--header-h);
  background: none;
  border: 0;
  color: var(--header-link);
  font-size: 16px;
  cursor: pointer;
}
.tool-btn:hover { color: var(--header-link-hover); }

.lang-switch { display: flex; align-items: center; gap: 4px; height: var(--header-h); }
.lang-switch a {
  font-size: 13px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.lang-switch a.current { color: var(--brand); }

/* 汉堡（线宽实测：桌面 20px / ≤768px 25px）
   原站桌面上也显示这个按钮（1366px 时 44×90，紧跟 Contact 之后），打开的正是右侧抽屉，
   所以这里不再只在移动端显示。 */
.hamburger { display: inline-flex; }
.hamburger .lines,
.hamburger .lines::before,
.hamburger .lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: currentColor;
  content: "";
  position: relative;
}
.hamburger .lines::before { position: absolute; top: -6px; }
.hamburger .lines::after { position: absolute; top: 6px; }

/* 搜索面板（原站是页头内下拉，高度 90px） */
.search-panel {
  display: none;
  background-color: var(--header-bg);
  border-top: 1px solid #3d3d3d;
  padding: 15px 0;
}
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 10px; }
.search-panel input[type="search"] {
  flex: 1 1 auto;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  color: #555555;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: var(--t-input);
}
.search-panel input[type="search"]:focus {
  outline: 0;
  border-color: var(--focus);
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}
.search-results {
  display: none;
  background: var(--white);
  border-radius: var(--radius-input);
  margin-top: 8px;
  max-height: 320px;
  overflow: auto;
  box-shadow: var(--shadow-sm);
}
.search-results.open { display: block; }
.search-results a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line-5);
}
.search-results a:hover { background: var(--gray-1); color: var(--brand); }

/* 吸顶：滚动 250px 后 → 70px 高 + fade-in-down */
.site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: fade-in-down 400ms ease both;
  box-shadow: var(--shadow-sm);
}
.site-header.sticky .header-bar,
.site-header.sticky .header-inner { height: var(--header-h-sticky); }
.site-header.sticky .megamenu > li > a,
.site-header.sticky .megamenu > li > .nav-toggle,
.site-header.sticky .tool-btn,
.site-header.sticky .lang-switch { height: var(--header-h-sticky); line-height: var(--header-h-sticky); }
@keyframes fade-in-down {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* --------------------------------------------------------------------------
   7. 移动抽屉（左侧滑出 300ms、项 padding 4px 20px、line-height 2、
      内层缩进 10px、offcanvas 内边距 30px 20px 20px）
   -------------------------------------------------------------------------- */
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;                       /* 实测：原站 offcanvas 从右侧滑出 */
  bottom: 0;
  width: 320px;                   /* 实测：.offcanvas-menu width 320px */
  max-width: 85%;
  background-color: var(--white); /* 实测：background #fff */
  color: #777777;                 /* 实测：color #777 */
  padding: 30px 20px 20px;
  overflow-y: auto;
  transform: translateX(320px);
  transition: transform .5s cubic-bezier(0.5, 0, 0.3, 1);   /* 实测过渡曲线 */
  box-shadow: -1px 0 10px rgba(0, 0, 0, 0.15);             /* 实测阴影 */
  z-index: 1010;                  /* ⚠️ 必须 > 遮罩（原站：遮罩 999 / 抽屉 9999） */
}
.offcanvas.open { transform: translateX(0); }
.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-offcanvas) ease, visibility var(--t-offcanvas) ease;
  z-index: 1005;                  /* ⚠️ 必须 < 抽屉。原站 999 < 9999。
                                     曾误写成 1100 > 抽屉 1007：手机上遮罩压在抽屉上面，
                                     点任何菜单项都被遮罩吃掉（= 手机菜单完全不能用）。 */
}
.offcanvas-backdrop.open { opacity: 1; visibility: visible; }
.offcanvas-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: 0;
  color: #777777;
  font-size: 20px;
  cursor: pointer;
}
.offcanvas-title {
  /* 实测 .sp-module-title：margin 0 0 20px / font-size 140% / line-height 1.2 /
     box-shadow inset 0 -1px 0 #ddd，下划线条 background #1ee4be（preset5） */
  font-size: 140%;
  font-weight: 400;
  line-height: 1.2;
  color: #333333;
  margin: 0 0 20px;
  padding-right: 30px;
  box-shadow: inset 0 -1px 0 #dddddd;
}
.offcanvas-title::after {
  content: "";
  display: block;
  height: 2px;
  width: 70%;
  margin: 10px 30% 0 0;
  border-radius: 2px;
  background: var(--brand-light);
}
.offcanvas ul { list-style: none; margin: 0; padding: 0; }
.offcanvas ul.accordion-menu { margin: 0 -18px; }        /* 实测：ul margin 0 -18px */
.offcanvas li { position: relative; line-height: 28px; } /* 实测：行高 28px */
.offcanvas a,
.offcanvas .acc-label {
  display: block;
  padding: 10px 20px;                               /* 实测：10px 20px */
  font-size: 16px;                                  /* 实测：16px（各级一致） */
  line-height: 28px;
  color: #1a1a1a;                                   /* 实测：rgb(26,26,26) */
  transition: color 300ms ease;
}
.offcanvas a:hover { color: var(--brand); }
.offcanvas li.current > a { color: var(--brand); }   /* 实测：当前页项 rgb(22,185,154) */
.offcanvas .acc-label { cursor: default; }           /* 分组名：原站不可点（Joomla 里指向 "/" 的占位） */
/* 折叠把手（原站 li.deeper > .accordion-menu-toggler：absolute、104×41、fas fa-chevron-down） */
.acc-toggle {
  position: absolute;
  top: 4px;
  right: 0;
  width: 104px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777777;
  cursor: pointer;
}
.acc-toggle i { font-size: 14px; transition: transform 300ms ease; }
.acc-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.acc-toggle:hover { color: var(--brand); }
.collapse { height: 0; overflow: hidden; transition: height 350ms ease; }

/* --------------------------------------------------------------------------
   8. 按钮（圆角 4px、过渡 400ms、字号 100%、line-height 1.4）
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 8px 22px 10px 22px;   /* 实测：页面内联 8px 22px 10px 22px（8 次） */
  font-family: var(--font-body);
  font-size: 100%;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--t-btn);
}
.btn-primary {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white);
}
.btn-primary:hover { background-color: var(--brand); border-color: var(--brand); color: var(--white); }
.btn-outline {
  background-color: transparent;
  border-color: var(--brand);
  color: var(--brand);
  padding: 8px 30px;
}
.btn-outline:hover { background-color: var(--brand); color: var(--white); }
.btn-light { background-color: var(--white); color: var(--text); }
.btn-light:hover { background-color: var(--gray-2); color: var(--text); }
.btn-sm { padding: 6px 22px; font-size: 87%; }
.btn-xs { padding: 5px 16px; font-size: 80%; line-height: 1.1; }
.btn-lg { padding: 9px 30px; font-size: 125%; line-height: 1.7; }
.btn-round { padding: 8px 26px 9px; line-height: 1.5; border-radius: 50px; }
/* ConvertForms 提交按钮（实测：底 #009d6f / 字 #fff / 圆角 3px / 13px 20px / 16px） */
.cf-btn {
  display: inline-block;
  padding: 13px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
  background-color: var(--brand-dark);
  border: 1px solid transparent;
  border-radius: var(--radius-input);
  cursor: pointer;
  transition: var(--t-btn);
}
.cf-btn:hover { color: var(--white); background-color: var(--brand); }

/* --------------------------------------------------------------------------
   9. 表单（控件 34px / padding 6px 12px / 14px / 1.428571429 / #555 /
      边框 #cccccc / 内阴影 / 聚焦 #66afe9）
   -------------------------------------------------------------------------- */
.form-group { margin-bottom: 15px; }
.form-label {
  display: block;
  font-size: 12px;            /* ConvertForms 字段标签 12px / 400 */
  font-weight: 400;
  color: var(--text);
  margin-bottom: 5px;
}
.form-label .required { color: var(--danger); }
.form-control {
  display: block;
  width: 100%;
  /* ConvertForms 实测（页面内联）：--input-size:12px / --input-padding:8px 10px /
     --input-border-radius:3px / 边框 #cccccc / 底 #ffffff；模板默认控件是 34px 高、14px，见 设计规格.md §3.6 */
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.428571429;
  color: var(--text-soft);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: var(--t-input);
}
textarea.form-control { height: auto; min-height: 90px; resize: vertical; }
.form-control::placeholder { color: var(--placeholder); }
.form-control:focus {
  outline: 0;
  border-color: var(--focus);
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}
.form-hint { font-size: 12px; color: var(--text-mute); margin-top: 4px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-soft); }
.form-check input { width: 14px; height: 14px; }
.form-status { margin-top: 12px; font-size: 14px; }
.form-status.ok { color: var(--brand-dark); }
.form-status.err { color: var(--danger); }
/* 蜜罐（机器人看不见，人也不该看见） */
.honey-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   10. 页脚（原站实测 1366px：整块 540px；#363839 底、正文 16px/300 #ffffff、
       链接 16px/300 #d6d6d6 行高 36px（每行 46px）、h3 28px/400 #ffffff、
       LOGO 180×42、列内顶部留白 40+40=80px、无分隔线）
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 20px 0;
  font-size: 16px;
}
.site-footer .footer-row { padding-top: 20px; }
.site-footer .footer-col { padding-top: 80px; }          /* 原站：每列 40px + 40px 空高 */
.site-footer h3 {
  font-size: 28px;                                       /* 原站实测：28px / 400 / #ffffff */
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
  margin: 20px 0;
  padding-right: 30px;
}
.site-footer a { color: var(--footer-link); }
.site-footer a:hover { color: var(--footer-link-hover); }
.site-footer p { margin: 0 0 16px; line-height: 25px; }
.site-footer .footer-logo {
  display: block;
  width: 180px;                                          /* 原站实测显示尺寸 180×42（原图 416×97） */
  height: 42px;
  margin: 20px auto 0;
}
.site-footer .footer-links { list-style: none; margin: 10px 0 0; padding: 0; }
.site-footer .footer-links li { line-height: 36px; }   /* 原站实测：页脚链接行高 36px（每行 46px） */
.site-footer .footer-links a { font-size: 16px; display: block; padding: 5px 15px; text-align: center; }
.site-footer .keep-touch strong { color: var(--white); font-weight: 600; }
.site-footer .copyright { text-align: center; font-size: 16px; margin: 41px 0 24px; line-height: 25px; }
/* 二维码（Danny 2026-10：中文站 logo 下方放一个二维码） */
.site-footer .footer-qr { margin: 16px auto 0; text-align: center; }
/* 小尺寸时不强制最近邻（小图平滑更好看）；放大后的灯箱里再用最近邻保证模块清晰可扫 */
.site-footer .footer-qr img { display: block; width: 140px; height: 140px; margin: 0 auto;
  background: #fff; padding: 4px; border-radius: 4px;
  /* 尺寸照原站（Danny 2026-10-05 给的截图里量到约 146px：白底方框 146×146） */ }
.site-footer .footer-qr a { display: inline-block; cursor: zoom-in; }
/* 注意：二维码**不要**用 image-rendering:crisp-edges（最近邻）——实测最近邻缩放会把模块切坏，
   平滑缩放反而能解码。页脚 67px 与灯箱放大两处都用默认平滑。 */
.site-footer .footer-qr .qr-cap { font-size: 13px; color: #9aa4ad; margin-top: 6px; }
/* ICP 备案行：只有 techoel.cn 那套会渲染（build.py 的 {{BEIAN}}），居中在版权行下面 */
.site-footer .beian { text-align: center; font-size: 14px; color: #8a9096; margin: 0 0 24px; }
.site-footer .beian a { color: #8a9096; text-decoration: none; }
.site-footer .beian a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   11. Cookie 条（原站：fixed bottom、#16b99a、白字、16px/500、padding 20px、
       按钮白底 #333 字、7px 15px / 90% / bold / .25rem / .15s、≥992px 75%/25%）
   -------------------------------------------------------------------------- */
.cookie-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--brand);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  z-index: 10001;
}
.cookie-bar > div { padding: 20px; display: flex; flex-wrap: wrap; align-items: center; }
.cookie-content { flex: 0 0 100%; max-width: 100%; }
.cookie-action { flex: 0 0 100%; max-width: 100%; margin-top: 15px; }
.cookie-bar a { color: var(--gray-1); text-decoration: underline; }
.cookie-bar .cookie-accept,
.cookie-bar a.cookie-accept {
  display: inline-block;
  padding: 7px 15px;
  font-size: 90%;              /* 16px × 90% = 14.4px（原站实测） */
  font-weight: bold;           /* 700 */
  line-height: 1.5;
  border-radius: .25rem;       /* 4px */
  background-color: var(--white);
  color: #333333;              /* 原站实测：白底 #333333 字（不是灰底白字） */
  text-decoration: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out,
              border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.cookie-bar .cookie-accept:hover { color: #333333; }
@media (min-width: 992px) {
  .cookie-content { flex: 0 0 75%; max-width: 75%; }
  .cookie-action { flex: 0 0 25%; max-width: 25%; margin-top: 0; text-align: right; }
}

/* --------------------------------------------------------------------------
   12. 弹窗（询价）/ 灯箱
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  overflow-y: auto;
}
.modal.open { display: block; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  /* 原站 EngageBox 实测 --eb-overlay-enabled:0（没有遮罩）→ 这里保持透明，只用于点击关闭 */
  background: transparent;
}
.modal-dialog {
  position: relative;
  width: 600px;                    /* 实测 .eb-1 .eb-dialog --eb-max-width:600px */
  max-width: calc(100% - 30px);
  margin: 60px auto 40px;
  background: var(--white);
  border: 1px solid transparent;   /* 实测：1px solid rgba(0,0,0,0) */
  box-shadow: 0 0 2px 2px rgba(0, 0, 1, 0.3);   /* 实测 --eb-shadow-1 */
  padding: 20px;                   /* 实测 --eb-padding:20px */
}
.modal-body { padding: 0; }
.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  background: none;
  border: 0;
  font-size: 24px;                 /* 实测 .eb-close：font-size 24px */
  font-weight: normal;
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1;
  color: #aeaeae;                  /* 实测 .eb-close：rgb(174,174,174) */
  cursor: pointer;
}
.modal-close:hover { color: var(--text); }
.modal-title { font-size: 130%; font-weight: 400; color: var(--navy); margin-bottom: 10px; }
.modal-lead { font-size: 15px; color: var(--text-soft); }

/* ---------------------------------------------------------------------------
   产品页询价弹窗：照原站 ConvertForms 复刻（全部为 1366px 真浏览器实测值）
   容器 558 宽 / 白底 / 圆角 0；顶部图 150×150；Kind Reminder 区 padding 20px；
   字段区左右 padding 20px → 字段宽 518；输入框 32px 高 / 12px 字 / 圆角 3px / 边框 #ccc；
   两列宽 159 + 339（+20 间距 = 518）；Math Captcha 一行；提交按钮 518×44 / #009d6f / 白字 16px
   --------------------------------------------------------------------------- */
#quoteModal .modal-dialog { width: 600px; max-width: calc(100vw - 20px); padding: 20px; }
#quoteModal .modal-body { background: #fff; border-radius: 0; padding: 0; }
.quote-form { width: 558px; max-width: 100%; background: #fff; color: #333333; }
.quote-form .cf-img-wrap { padding: 0; flex: 0 0 150px; }
.quote-form .cf-img-wrap img { width: 150px; height: 150px; display: block; }
/* 原站是"图左、文字右"（cf-img-left）：两列并排，不是上下堆 */
.quote-form .cf-head { display: flex; align-items: flex-start; gap: 20px; padding: 20px; }
.quote-form .cf-head .cf-note { flex: 1 1 auto; padding: 0; }
.quote-form .cf-note { font-size: 16px; font-weight: 300; line-height: 22px; color: #333333; }
.quote-form .cf-note strong { display: block; font-weight: 400; color: #8f8f8f; margin-bottom: 4px; }
.quote-form .cf-fields { padding: 0 20px 20px; }
.quote-form .row { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
/* 栅格列的左右 padding 归零：否则输入框会比原站窄 30px（159→129、518→488） */
.quote-form .row > [class^="col-"], .quote-form .row > [class*=" col-"] { padding-left: 0; padding-right: 0; }
.quote-form .col-1of3 { flex: 0 0 159px; max-width: 159px; }
.quote-form .col-2of3 { flex: 0 0 339px; max-width: 339px; }
.quote-form .form-group { margin-bottom: 6px; }
.quote-form .form-control {
  height: 32px; padding: 8px 10px; font-size: 12px; color: #757575;
  border: 1px solid #cccccc; border-radius: 3px; background-color: #fff;
}
.quote-form .form-control:focus { border-color: var(--brand); box-shadow: none; }
.quote-form .form-label { font-size: 12px; color: #757575; margin-bottom: 2px; }
/* 原站：4 个选项在**同一行**（标题一行 + 选项一行 = 两行） */
.quote-form .form-check { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #333333; margin-right: 12px; white-space: nowrap; }
.quote-form .cf-btn {
  width: 518px; max-width: 100%; height: 44px; padding: 13px 20px;
  font-size: 16px; font-weight: 400; color: #fff; background-color: #009d6f; border-radius: 3px;
}
.quote-form .cf-btn:hover { background-color: #00875f; color: #fff; }
.captcha-container { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.captcha-equation { font-size: 12px; color: #333333; white-space: nowrap; }
.captcha-container .form-control { width: 452px; }
@media (max-width: 600px) {
  .quote-form .cf-head { padding: 12px; }
  .quote-form .cf-img-wrap { display: none; }        /* 原站：顶部图 class="cf-hide-mobile" */
  .quote-form .col-1of3, .quote-form .col-2of3 { flex: 0 0 100%; max-width: 100%; }
  .captcha-container .form-control { width: 100%; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 11, 11, 0.8);   /* 实测 magnific-popup：background #0b0b0b + opacity .8 */
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; }
.lightbox-close {
  /* 实测 magnific-popup .mfp-close：44×44 / line-height 44 / 28px / #fff / opacity .65 */
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  opacity: .65;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   13. 首页 hero 轮播（SmartSlider 3 三屏；文案 Roboto 400）
       原站实测（1366px）：整块高 600px；文字三层 = 22px/33px + 48px/72px + 22px/39.6px，
       均为 #ffffff、Roboto、带 text-shadow（这是"糊在图上"要复刻的关键）
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; height: 600px; }   /* 原站 #sp-slider 无底色 */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
}
.hero-slide.active { opacity: 1; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 600px; object-fit: cover; display: block; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);   /* 实测：rgb(0,0,0,0.2) */
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}
.hero-kicker {
  font-family: var(--font-hero); font-size: 22px; font-weight: 400; line-height: 33px;
  margin: 0 0 30px; text-shadow: 2px 2px 4px #000000;      /* 实测 text-shadow: rgb(0,0,0) 2px 2px 4px */
}
.hero-title {
  font-family: var(--font-hero); font-size: 48px; font-weight: 400; line-height: 72px;
  margin: 0 0 30px; text-shadow: 3px 3px 5px #000000;      /* 实测 text-shadow: rgb(0,0,0) 3px 3px 5px */
}
.hero-text {
  font-family: var(--font-hero); font-size: 22px; font-weight: 400; line-height: 39.6px;
  margin: 0; text-shadow: 2px 2px 4px #000000;
}
.hero-dots { position: absolute; left: 0; right: 0; bottom: 15px; z-index: 3; text-align: center; }
.hero-dots button {
  width: 12px; height: 12px; margin: 0 5px; padding: 0;
  border: 1px solid var(--white); border-radius: 50%;
  background: transparent; cursor: pointer;
}
.hero-dots button.active { background: var(--white); }

/* --------------------------------------------------------------------------
   13b. 首页区块（2026-10-05 返工：完全照原站渲染结果复刻；数值为 1366px 实测量）
        区块顺序与高度：Who is Techoel(891) → 金句带(327) → Main Industrial Fields 引言(279)
        → 9 图网格(916) → Main Product Applications(837) → 尾部留白(151)
   -------------------------------------------------------------------------- */
/* —— 区块 1：Who is Techoel™（左图轮播 + 右文字，原站 padding 100px 0 80px） —— */
.home-who { padding: 100px 0 80px; }
.hm-row { display: flex; flex-wrap: wrap; margin: 0 -20px; }
.hm-media { flex: 0 0 41.666667%; max-width: 41.666667%; padding: 0 20px; }
.hm-text { flex: 0 0 58.333333%; max-width: 58.333333%; padding: 0 20px; }
.hm-media-carousel { position: relative; height: 700px; }   /* 原站 data-height-xl="700" */
.hm-media-carousel img {
  position: absolute; inset: 0; width: 100%; height: 700px;
  object-fit: cover; opacity: 0; transition: opacity 1200ms ease;
}
.hm-media-carousel img.active { opacity: 1; }
.hm-title {
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 25px; font-weight: 400; line-height: 32.5px; color: #1a1a1a;
  margin: 10px 0 30px; padding-right: 30px;
}
.hm-lead { margin: 0 0 16px; line-height: 25px; }
.hm-features { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.hm-feature { flex: 0 0 50%; max-width: 50%; padding: 0 15px; margin-bottom: 40px; }
.hm-feature h3 {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700; line-height: 32px; color: #1a1a1a;
  margin: 20px 0; padding-right: 30px;
}
.hm-feature p { font-size: 12px; line-height: 25px; margin: 0; }

/* —— 区块 2：金句带（独立深色图片带，高 327px；36px/800 #f9d625 Tahoma） —— */
.home-quote {
  background-image: url(images/images/Sliders/slider03.webp);   /* 原站该块背景图（不新造图；相对 style.css） */
  background-size: cover;
  background-position: center;
  padding: 100px 0 70px;
  text-align: center;
}
.home-quote .home-quote-inner { padding-bottom: 60px; }   /* 原站该块内容高 157px */
.home-quote h1 {
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 36px; font-weight: 800; line-height: 46.8px; color: #f9d625;
  margin: 20px 0 30px;
}

/* —— 区块 3：Main Industrial Fields 引言（#f5f5f5，高 279px，标题/正文居中） —— */
.home-fields-intro { background-color: var(--gray-1); padding: 70px 0 80px; text-align: center; }
.hm-title-lg {
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 28px; font-weight: 400; line-height: 48px; color: #000000;
  margin: 20px 0;
}
.home-fields-intro p { font-size: 16px; font-weight: 300; line-height: 25px; color: #000000; margin: 0 0 16px; }

/* —— 区块 4：9 个行业格（#f5f5f5，高 916px；图 334×184 + 18px/700 居中标题） —— */
.home-fields { background-color: var(--gray-1); padding: 0 0 50px; }
.hm-grid3 { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.hm-field { flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 15px; margin-bottom: 50px; text-align: center; }
.hm-field-img { display: block; padding-left: 16px; margin-bottom: 16px; }   /* 原站图宽 = 列宽 350 − 16 */
.hm-field-img img { display: block; width: 100%; height: auto; }
.hm-field h3 {
  font-family: var(--font-body);
  font-size: 18px; font-weight: 700; line-height: 34px; color: #101010;
  margin: 0;
}

/* —— 区块 5：Main Product Applications（高 837px；标题/正文居中 + 3 张可见卡） —— */
.home-apps { padding: 80px 0 120px; text-align: center; }
.home-apps .hm-textblock { max-width: 75%; margin: 0 auto 60px; }
.home-apps p { font-size: 20px; font-weight: 300; line-height: 25px; color: #000000; margin: 0 0 16px; }
.hm-articles-viewport { overflow: hidden; margin: 0 -15px; }
.hm-articles { display: flex; flex-wrap: nowrap; transition: transform 600ms ease; margin-bottom: 60px; }
.hm-article { flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 15px; text-align: left; }
.hm-article-img { display: block; }
.hm-article-img img { display: block; width: 100%; height: auto; }
.hm-article-body { background: #ffffff; padding: 20px 20px 25px; margin-bottom: 15px;
  box-shadow: rgba(49, 41, 41, 0.1) 0px 6px 12px -3px; }   /* 原站卡片：白底 + 这层阴影就是"卡片效果" */
.hm-article-date { display: block; font-size: 14px; font-weight: 300; line-height: 19px; color: rgba(0, 0, 0, 0.6); }
.hm-article-link { display: block; font-size: 16px; font-weight: 300; line-height: 16px; color: #000000; margin: 12px 0; }
.hm-article-cat { display: block; font-size: 16px; font-weight: 300; line-height: 22px; color: #212529; }
.hm-article-cat a { color: inherit; }

/* ---------------------------------------------------------------------------
   标题下方的下划线：原站由**两段**组成 ——
   ① 标题 ::after：宽 60%、高 2px、绿 #1ee4be、margin-top 10px（左端与标题文字对齐）
   ② 整行一条 1px 浅灰线 #cccccc（原站是 .sppb-divider，宽 = 容器宽）
   这里用两层背景叠出同样的效果：左 60% 绿 2px + 整行灰 1px
   --------------------------------------------------------------------------- */
.hm-title::after, .hm-title-lg::after, .hm-feature h3::after, .hm-field h3::after,
.section-title::after, .addon-title::after, .page-title::after, .product-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 10px;
  background-image: linear-gradient(#1ee4be, #1ee4be), linear-gradient(#cccccc, #cccccc);
  background-size: 60% 2px, 100% 1px;
  background-position: left center, left center;
  background-repeat: no-repeat;
}

/* —— 区块 6：尾部留白（原站空块 151px） —— */
.home-tail { height: 151px; }

@media (max-width: 991.98px) {
  .hm-media, .hm-text { flex: 0 0 100%; max-width: 100%; }
  .hm-media-carousel { height: 500px; }
  .hm-media-carousel img { height: 500px; }
  .hm-media { margin-bottom: 40px; }
  .hm-field { flex: 0 0 50%; max-width: 50%; }
  .hm-article { flex: 0 0 50%; max-width: 50%; }
  .home-who { padding: 60px 0; }
  .home-apps .hm-textblock { max-width: 100%; }
}
@media (max-width: 767.98px) {
  .hm-media-carousel { height: 400px; }
  .hm-media-carousel img { height: 400px; }
  .hm-field { flex: 0 0 100%; max-width: 100%; }
  .hm-article { flex: 0 0 100%; max-width: 100%; }
  .hm-feature { flex: 0 0 100%; max-width: 100%; }
  .home-quote { padding: 60px 0 40px; }
  .home-fields-intro { padding: 40px 0 50px; }
  .home-apps { padding: 50px 0 60px; }
  .hm-title-lg { font-size: 24px; line-height: 36px; }
  .home-quote h1 { font-size: 28px; line-height: 38px; }
}

/* --------------------------------------------------------------------------
   14. 网格卡片（行业 / 产品 / 应用）
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }

.feature-box { text-align: center; padding: 20px; }
.feature-box .feature-icon { font-size: 40px; color: var(--brand); margin-bottom: 12px; }
.feature-box h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-box p { font-size: 15px; color: var(--text-soft); }

.product-card { background: var(--white); border-radius: var(--radius-panel); box-shadow: var(--shadow-sm); }
.product-card .product-name { font-size: 18px; font-weight: 600; padding: 15px; margin: 0; }
.product-card .product-desc { font-size: 13px; color: var(--text-soft); padding: 0 15px 15px; }

/* 产品总览（原站 /index.php/products 实测：3 列纯型号名链接、18px/400/#212529、
   行高 25.2px、无图无卡片；上下各一条 #eeeeee 细线） */
.product-name-grid { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.product-name {
  flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 15px; margin: 0 0 28px;
  font-size: 18px; font-weight: 400; line-height: 25.2px; color: var(--text);
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--brand); }

.app-card { padding: 0 15px; }
.app-card img { display: block; width: 100%; height: 195px; object-fit: cover; }
.app-card-body { background: #ffffff; padding: 20px 20px 25px; margin: 0 0 15px;
  box-shadow: rgba(49, 41, 41, 0.1) 0px 6px 12px -3px; }
.app-card-date { display: block; font-size: 14px; font-weight: 300; color: rgba(0, 0, 0, 0.6); }
.app-card-link { display: block; font-size: 16px; font-weight: 300; color: #000000; margin: 12px 0; }
.app-card-cat { display: block; font-size: 16px; font-weight: 300; color: #212529; }

/* 产品侧栏手风琴（分类页右侧） */
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a {
  display: block;
  padding: 7px 10px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line-5);
}
.side-list a:hover, .side-list a.active { color: var(--brand); background: var(--gray-1); }
.side-title { font-size: 18px; font-weight: 400; color: var(--text); margin: 0 0 10px; }

/* Prev / Next 分页 */
.pager { display: flex; justify-content: space-between; margin: 20px 0; }
.pager a { font-size: 14px; color: var(--brand); }

/* --------------------------------------------------------------------------
   15. 图标（Font Awesome 6 Free，码位只读原站 CSS，此处手写）
   -------------------------------------------------------------------------- */
.fa-solid, .fas, .fa {
  font-family: var(--font-fa);
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.fa-regular, .far { font-family: var(--font-fa); font-weight: 400; font-style: normal; display: inline-block; line-height: 1; }
.fa-brands, .fab { font-family: var(--font-fa-brands); font-weight: 400; font-style: normal; display: inline-block; line-height: 1; }
.fa-magnifying-glass::before { content: "\f002"; }
.fa-xmark::before { content: "\f00d"; }
.fa-chevron-down::before { content: "\f078"; }
.fa-chevron-right::before { content: "\f054"; }
.fa-bars::before { content: "\f0c9"; }
.fa-bars-staggered::before { content: "\f550"; }
.fa-phone::before { content: "\f095"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-arrow-up::before { content: "\f062"; }
.fa-angle-left::before { content: "\f104"; }
.fa-angle-right::before { content: "\f105"; }
.fa-check::before { content: "\f00c"; }
.fa-minus::before { content: "\f068"; }
.fa-plus::before { content: "\2b"; }
.fa-location-dot::before { content: "\f3c5"; }
.fa-globe::before { content: "\f0ac"; }
.fa-circle-info::before { content: "\f05a"; }
.fa-paper-plane::before { content: "\f1d8"; }

/* --------------------------------------------------------------------------
   16. 无障碍 / 通用工具
   -------------------------------------------------------------------------- */
.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;
}
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 10px; top: 10px; background: var(--white); padding: 8px 12px; z-index: 2000; }
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 40px; height: 40px; line-height: 40px; text-align: center;
  border: 0; border-radius: var(--radius); background: var(--brand); color: var(--white);
  cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 300ms ease;
}
.back-to-top.show { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   17. 响应式（断点照实测 576 / 768 / 992 / 1200 / 1400）
   -------------------------------------------------------------------------- */
@media (max-width: 1399.98px) {
  .container { max-width: var(--container); }
}
@media (max-width: 1199.98px) {
  .mega-panel { width: 720px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .main-nav { display: none; }          /* 桌面导航在 <992px 收起 */
  .hamburger { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .megamenu > li > a, .megamenu > li > .nav-toggle { padding: 0 8px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero, .hero-img { height: 480px; }
  .hero-title { font-size: 36px; line-height: 52px; margin-bottom: 20px; }
  .hero-kicker { font-size: 18px; line-height: 27px; margin-bottom: 20px; }
  .hero-text { font-size: 18px; line-height: 32px; }
}
@media (max-width: 767.98px) {
  .hamburger .lines, .hamburger .lines::before, .hamburger .lines::after { width: 25px; }
  .logo img { width: 120px; height: 40px; }
  .page-title { font-size: 30px; }     /* 实测字号表里的 30px */
  .section-title { font-size: 20px; }  /* 实测字号表里的 20px */
  .hero, .hero-img { height: 360px; }
  .hero-title { font-size: 26px; line-height: 38px; }
  .hero-kicker, .hero-text { font-size: 16px; line-height: 26px; }
  .product-name { flex: 0 0 100%; max-width: 100%; }
  .modal-dialog { margin: 30px auto; }
}
@media (max-width: 575.98px) {
  .hero-slide.active { min-height: 260px; }
  .hero-kicker { font-size: 15px; }
  .hero-title { font-size: 20px; }     /* 实测字号表里的 20px */
  .hero-text { font-size: 14px; }
  .cookie-bar > div { padding: 15px; }
}

/* 打印：去掉交互层 */
@media print {
  .site-header, .offcanvas, .offcanvas-backdrop, .cookie-bar, .modal, .lightbox, .back-to-top { display: none !important; }
}

/* --------------------------------------------------------------------------
   15. 中文页（html[lang="zh-CN"]）：CJK 字体栈 + 中文行高
   --------------------------------------------------------------------------
   Open Sans / Roboto 没有中文字形 → 之前中文会掉到浏览器兜底字体。
   这里补本地系统 CJK 字体栈（零外部域名，硬约束 §4.2）；西文/数字仍走 Open Sans。
   行高：英文正文实测 25px（1.5625）→ 中文按中文习惯取 1.75（16px × 1.75 = 28px），
   先用真浏览器量过英文卡片高度，再定这个值（见 scripts/32_长度与版面体检.py）。
   -------------------------------------------------------------------------- */
html[lang="zh-CN"] {
  --font-body: 'Open Sans', "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
               "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  --font-hero: 'Roboto', 'Open Sans', "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
               "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
}
html[lang="zh-CN"] body {
  line-height: 28px;                    /* 16px × 1.75 */
  letter-spacing: 0.01em;               /* 中文正文轻微加宽，避免过密 */
}
html[lang="zh-CN"] .hero-title { line-height: 1.5; }   /* = 72px，与英文首页同高 */
html[lang="zh-CN"] .hero-kicker { line-height: 1.5; }
html[lang="zh-CN"] .hero-text { line-height: 1.75; }
html[lang="zh-CN"] .product-card .product-desc { line-height: 1.7; }
html[lang="zh-CN"] .mega-list a,
html[lang="zh-CN"] .footer-links a,
html[lang="zh-CN"] .side-list a { line-height: 1.7; }
html[lang="zh-CN"] .mega-col-title { letter-spacing: 0; }

/* ---------------------------------------------------------------------------
   文章上/下篇导航（pager）：照原站 .cd-pagination 实测
   原站：ul list-style:disc（圆点）→ li.button > a 为 #fafafa 药丸、品牌绿字 16px、
        96×50、padding 0 32px、圆角 4px
   --------------------------------------------------------------------------- */
.pager { display: inline-block; margin: 24px 0 0; padding: 0; list-style: none; }
.pager > a, .pager > span { display: inline-block; }
.pager > span { display: none; }
.pager-prev, .pager-next {
  color: var(--brand); background-color: #fafafa; font-size: 16px; font-weight: 300;
  height: 50px; line-height: 50px; padding: 0 32px; border-radius: 0;
  text-decoration: none; margin: 0;
}
.pager .pager-prev { border-radius: 4px 0 0 4px; }
.pager .pager-next { border-radius: 0 4px 4px 0; }
.pager > a:only-of-type { border-radius: 4px; }
.pager-prev:hover, .pager-next:hover { color: #fff; background-color: var(--brand); }
