@charset "utf-8";
/* ============================================================================
   上海鸿之电气集团 (HONZ) · V4.0 现代数字能源 / 国际工业科技风 设计系统
   对标：华为数字能源 (Huawei Digital Power) / 西门子 (Siemens)
   ============================================================================ */

/* ---------- 1. 重置与盒模型 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

input, button, textarea, select {
  font: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  background-color: transparent;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

textarea {
  resize: vertical;
}

/* ---------- 2. 根变量与 V4.0 科技色板 ---------- */
:root {
  color-scheme: light !important;

  /* 品牌核心色（科技深蓝 + 数字能源电光蓝） */
  --color-primary: #0454dc;
  --color-primary-hover: #0343b3;
  --color-primary-active: #02338a;
  --color-primary-light: #eff6ff;
  --color-primary-subtle: rgba(4, 84, 220, 0.08);
  --color-primary-border: rgba(4, 84, 220, 0.22);
  --color-accent: #0ea5e9;
  --gradient-brand: linear-gradient(135deg, #0454dc 0%, #1d6ff2 55%, #0ea5e9 100%);
  --gradient-navy: linear-gradient(135deg, #060f22 0%, #0b1d3d 60%, #0f2952 100%);

  /* 冷调工业灰阶（Slate Gray，比普通灰更具科技精密感） */
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;
  --color-black: #060d1b;

  /* 语义化背景与前景 */
  --bg-body: #ffffff;
  --bg-section-alt: #f4f7fb;
  --bg-navy: #071124;
  --text-body: var(--color-gray-800);
  --text-light: var(--color-gray-600);
  --border-light: #e2e8f0;
  --border-subtle: rgba(15, 23, 42, 0.07);

  /* 字体栈 */
  --font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "DIN Alternate", "Roboto Mono", Monaco, Consolas, monospace;

  /* 间距阶梯（8pt 模数） */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-48: 48px;
  --sp-64: 64px;
  --sp-96: 96px;
  --sp-120: 120px;

  /* 语义间距 */
  --section-py: 96px;
  --section-py-sm: 64px;
  --card-pad: 28px;
  --grid-gap: 24px;
  --container-max: 1480px;
  --header-height: 80px;

  /* 字号阶梯 */
  --fs-xs: 0.75rem;      /* 12px */
  --fs-sm: 0.875rem;     /* 14px */
  --fs-base: 1rem;       /* 16px */
  --fs-lg: 1.125rem;     /* 18px */
  --fs-xl: 1.25rem;      /* 20px */
  --fs-2xl: 1.5rem;      /* 24px */
  --fs-3xl: 1.75rem;     /* 28px */
  --fs-4xl: 2.125rem;    /* 34px */
  --fs-5xl: 2.5rem;      /* 40px */
  --fs-6xl: 3rem;        /* 48px */
  --fs-7xl: 3.5rem;      /* 56px */
  --fs-8xl: 4rem;        /* 64px */
  --fs-section-title: 2.375rem; /* 38px */

  /* 行高与字距 */
  --lh-heading: 1.22;
  --lh-body: 1.7;
  --ls-tight: -0.02em;
  --ls-heading: -0.01em;
  --ls-wide: 0.08em;
  --line-height-tight: 1.22;
  --line-height-normal: 1.55;
  --line-height-relaxed: 1.75;

  /* 圆角阶梯 */
  --radius-xs: 0.25rem;   /* 4px */
  --radius-sm: 0.5rem;    /* 8px */
  --radius-md: 0.75rem;   /* 12px */
  --radius-lg: 1rem;      /* 16px */
  --radius-card: 1.25rem; /* 20px */
  --radius-xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* 弥散多层阴影（带极轻微冷蓝调科技感） */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-base: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 32px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 48px -10px rgba(4, 84, 220, 0.12), 0 8px 20px -4px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 28px 64px -12px rgba(15, 23, 42, 0.18), 0 12px 28px -6px rgba(15, 23, 42, 0.08);

  /* 动效曲线 */
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur: 360ms;
  --dur-slow: 640ms;
  --transition-fast: var(--dur-fast) var(--ease-apple);
  --transition-normal: var(--dur) var(--ease-apple);
  --lift: -5px;
  --zoom: 1.04;
}

@media (max-width: 1024px) {
  :root {
    --section-py: 64px;
    --section-py-sm: 48px;
    --fs-section-title: 2rem;
    --header-height: 64px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 48px;
    --section-py-sm: 36px;
    --fs-section-title: 1.75rem;
    --card-pad: 20px;
    --grid-gap: 16px;
    --header-height: 60px;
  }
}

@media (min-width: 1600px) {
  :root {
    --section-py: 112px;
    --section-py-sm: 80px;
    --card-pad: 32px;
    --grid-gap: 28px;
    --container-max: 1520px;
    --fs-section-title: 2.625rem;
  }
}

@media (prefers-color-scheme: dark) {
  html, body {
    background-color: #ffffff !important;
    color: #1e293b !important;
  }
}

/* ---------- 3. 全局基础样式 ---------- */
html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-family);
  line-height: var(--line-height-normal);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: var(--lh-heading);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-top: 0;
  margin-bottom: 0.45em;
  letter-spacing: var(--ls-heading);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-base); }

p {
  margin-bottom: var(--sp-16);
}

a {
  color: inherit;
  transition: color var(--transition-fast);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* 表单元素 */
input, textarea, select {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(4, 84, 220, 0.14);
}

/* 全局表格优化（同时彻底修复原站行内 table-layout:fixed;height:0 导致手机端空白的 Bug） */
table {
  width: 100% !important;
  table-layout: auto !important;
  height: auto !important;
  border-collapse: collapse;
  margin: var(--sp-24) 0;
  font-size: var(--fs-sm);
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--color-gray-200);
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--color-gray-200) !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

th {
  font-weight: 600;
  color: var(--color-gray-900);
  background-color: #f1f5f9;
}

tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

tbody tr:hover {
  background-color: #eff6ff;
}

/* 阿里 Iconfont */
@font-face {
  font-family: 'iconfont';
  src: url('../fontclass/iconfont.eot');
  src: url('../fontclass/iconfont.eot?#iefix') format('embedded-opentype'),
       url('../fontclass/iconfont.woff2') format('woff2'),
       url('../fontclass/iconfont.woff') format('woff'),
       url('../fontclass/iconfont.ttf') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: inherit;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-xiangyou:empty::before {
  content: "\e65b";
}

.icon-xiangyou-copy:empty::before {
  content: "\e849";
}

/* ---------- 4. 通用大厂板块标题组件 ---------- */
.v4-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(4, 84, 220, 0.07);
  border: 1px solid rgba(4, 84, 220, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  width: fit-content;
}

.v4-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(4, 84, 220, 0.2);
}

.tyys_h_ico_title_1_box {
  margin-bottom: 32px;
}

.tyys_h_ico_title_1 {
  font-size: var(--fs-section-title);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--color-gray-900);
  margin-bottom: 0;
  position: relative;
  padding-left: 22px;
}

.tyys_h_ico_title_1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.16em;
  bottom: 0.16em;
  width: 5px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
}

.tyys_h_ico_subtitle_1,
.tyys_p_ico_title_1 {
  font-size: var(--fs-base);
  color: var(--color-gray-500);
  margin-top: 12px;
  margin-left: 22px;
  margin-bottom: 0;
  font-weight: 400;
  max-width: 720px;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.tyys_h_ico_title_2 {
  font-size: var(--fs-section-title);
  font-weight: 800;
  color: var(--color-gray-900);
  letter-spacing: 0.03em;
  padding-bottom: 20px;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  line-height: 1.35;
}

.tyys_h_ico_title_2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
}

.tyys_h_ico_subtitle_2 {
  font-size: var(--fs-base);
  color: var(--color-gray-500);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* ---------- 5. 通用面包屑导航（自动隐藏空面包屑，内页精致化） ---------- */
.mbx_box {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--border-subtle);
}

.mbx_box:has(.mbx_nav_list:empty) {
  display: none !important;
}

.mbx_box_con {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px var(--sp-24);
}

.mbx_nav_wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
}

.mbx_nav_label {
  color: var(--color-gray-400);
  margin-right: 4px;
}

.mbx_nav_list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.mbx_nav_item {
  display: inline-flex;
  align-items: center;
}

.mbx_nav_item + .mbx_nav_item::before {
  content: "/";
  color: var(--color-gray-300);
  margin: 0 8px;
  font-size: 12px;
}

.mbx_nav_link {
  color: var(--color-gray-600);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.mbx_nav_link:hover {
  color: var(--color-primary);
}

.mbx_nav_item:last-child .mbx_nav_link,
.mbx_nav_list > a:last-of-type {
  color: var(--color-primary);
  font-weight: 600;
}

.mbx_nav_list > a {
  color: var(--color-gray-600);
  font-weight: 500;
  transition: color var(--transition-fast);
   margin: 0 4px;
}

.mbx_nav_list > a:first-of-type {
  margin-left: 0;
}

.mbx_nav_list > a:hover {
  color: var(--color-primary);
}

/* ---------- 6. 通用分页组件（修复竖排 Bug，全站统一水平胶囊分页） ---------- */
.tyys_fy_mk_bigbox {
  width: 100%;
  margin: var(--sp-32) 0;
}

.tyys_fy_mk {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: var(--sp-48) 0 var(--sp-64);
}

.tyys_fy_mk_pc { display: flex; }
.tyys_fy_mk_yd { display: none !important; }
.tyys_fy_mk_box.tyys_fy_mk_ymsz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tyys_fy_mk_box a,
.tyys_fy_mk_box span.page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-gray-700);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.tyys_fy_mk_box .tyys_fy_mk_box_a_sy,
.tyys_fy_mk_box .tyys_fy_mk_box_a_wy,
.tyys_fy_mk_box .tyys_fy_mk_box_a_pre,
.tyys_fy_mk_box .tyys_fy_mk_box_a_next {
  padding: 0 18px;
}

.tyys_fy_mk_box a:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-base);
}

.tyys_fy_mk_box a.active,
.tyys_fy_mk_box a.page-num-current {
  background: var(--gradient-brand);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 6px 16px -4px rgba(4, 84, 220, 0.4);
  pointer-events: none;
}

.tyys_fy_mk_box a.disabled,
.tyys_fy_mk_box a[href="javascript:;"] {
  opacity: 0.45;
  pointer-events: none;
  background-color: var(--color-gray-50);
  color: var(--color-gray-400);
  border-color: var(--color-gray-200);
  box-shadow: none;
}

@media (max-width: 768px) {
  .tyys_fy_mk_ymsz { display: none !important; }
  .tyys_fy_mk_pc { display: none !important; }
  .tyys_fy_mk_yd { display: flex !important; margin-bottom: 0; }
}

/* 锚点滚动留白 */
section[id], div[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* 清除浮动 */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
}

/* 自定义现代细滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gray-300);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-400);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
