@charset "UTF-8";
/* ==========================================================================
   大恒智能 · 官网基础样式
   files: assets/css/base.css
   内容: 设计令牌 / 重置 / 排版 / 页头 / 内页 banner / 区块标题 / 页脚 / 按钮 / 通用工具
   依据: SPEC-v2.md（1920 设计宽，内容区 1520px）
   ========================================================================== */

/* ===== 01. 设计令牌 ===== */
:root {
  /* 品牌色 */
  --c-brand: #0b4f9c;          /* 深蓝：导航高亮、标题装饰、表头 */
  --c-brand-2: #1a73c9;        /* 品牌蓝：按钮、链接 */
  --c-brand-light: #eaf2fb;    /* 浅蓝底 */
  --c-accent: #f5a623;         /* 强调橙 */
  --c-logo-red: #d7232d;       /* LOGO 红 */

  /* 文字 */
  --c-title: #1f2937;
  --c-text: #4b5563;
  --c-muted: #9ca3af;
  --c-line: #e5e7eb;
  --c-bg: #ffffff;
  --c-bg-soft: #f6f7f9;

  /* 尺寸 */
  --content-w: 1520px;         /* 1920 设计宽 - 200*2 */
  --content-pad: 24px;
  --header-h: 88px;
  --radius: 8px;
  --radius-lg: 12px;
  --sec-gap: clamp(48px, 5vw, 80px);

  /* 阴影 */
  --shadow: 0 2px 10px rgba(15, 40, 80, .06);
  --shadow-hover: 0 10px 26px rgba(15, 40, 80, .13);

  /* 动效 */
  --speed: .28s;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* 字体 */
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-en: "Arial Black", "Segoe UI", Arial, Helvetica, sans-serif;
}

/* ===== 02. 重置 ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, figcaption, blockquote, dl, dd, ol, ul {
  margin: 0;
}

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

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

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

button, input, select, textarea { font: inherit; color: inherit; }

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

table { width: 100%; border-collapse: collapse; border-spacing: 0; }

address { font-style: normal; }

strong, b { font-weight: 700; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--c-brand-2);
  outline-offset: 2px;
}

/* ===== 03. 布局与工具 ===== */
.container {
  width: 100%;
  max-width: calc(var(--content-w) + var(--content-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--content-pad);
}

/*.section { padding-block: var(--sec-gap); }
.section--soft { background: var(--c-bg-soft); }*/
.section--tight { padding-block: calc(var(--sec-gap) * .6); }

.sr-only {
  position: absolute !important;
  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;
  z-index: 9999;
  padding: 10px 18px;
  color: #fff;
  background: var(--c-brand);
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ===== 04. 区块标题（居中：英文 + 中文 + 短线） ===== */
.sec-head {
  margin-bottom: clamp(28px, 3vw, 46px);
  text-align: center;
}

.sec-head__en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--c-title);
}

/* 英文标题下的短横线（设计稿：中文下方一条短蓝线） */
.sec-head__cn {
  position: relative;
  display: inline-block;
  margin-top: 8px;
  padding-bottom: 12px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--c-text);
}

.sec-head__cn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 3px;
  margin-left: -17px;
  background: var(--c-brand-2);
  border-radius: 2px;
}

/* 页内小标题（如「行业特点」「产品推荐」） */
.block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 19px;
  font-weight: 700;
  color: var(--c-title);
}

.block-title::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 20px;
  background: var(--c-brand-2);
  border-radius: 2px;
}

/* ===== 05. 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background: var(--c-brand-2);
  border: 1px solid var(--c-brand-2);
  border-radius: 4px;
  transition: background-color var(--speed) var(--ease),
    border-color var(--speed) var(--ease), color var(--speed) var(--ease),
    transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.btn:hover {
  background: var(--c-brand);
  border-color: var(--c-brand);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(11, 79, 156, .22);
}

.btn--outline {
  color: var(--c-brand-2);
  background: transparent;
  border-color: var(--c-brand-2);
}
.btn--outline:hover {
  color: #fff;
  background: var(--c-brand-2);
  border-color: var(--c-brand-2);
}

/* 设计稿里的胶囊按钮（More） */
.btn--pill {
  min-height: 34px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 400;
  color: var(--c-text);
  background: transparent;
  border: 1px solid #cfd8e3;
  border-radius: 999px;
}
.btn--pill:hover {
  color: #fff;
  background: var(--c-brand-2);
  border-color: var(--c-brand-2);
  box-shadow: none;
}

/* 视频播放小按钮 */
.btn--play {
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  color: var(--c-brand);
  background: #fff;
  border: 1px solid var(--c-brand);
  border-radius: 50%;
}
.btn--play:hover { color: #fff; background: var(--c-brand); }

/* ===== 06. 页头 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(15, 40, 80, .08); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

/* LOGO */
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo__img {
  display: block;
  width: auto;
  height: 54px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .logo__img { height: 44px; }
}

/* 主导航 */
.nav { margin-inline: auto; }

.nav__list {
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 2.4vw, 44px);
  height: var(--header-h);
}

.nav__list > li { display: flex; align-items: center; }

.nav__list a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 16px;
  color: var(--c-title);
  transition: color var(--speed) var(--ease);
}

.nav__list a:hover { color: var(--c-brand-2); }

.nav__list a.is-active {
  font-weight: 700;
  color: var(--c-brand-2);
}

.nav__list a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 2px;
  background: var(--c-brand-2);
  border-radius: 2px;
}

/* ----- 主导航下拉子栏目 ----- */
.nav__item--sub { position: relative; }

.nav__caret {
  margin-left: 5px;
  transition: transform var(--speed) var(--ease);
}

.nav__item--sub:hover .nav__caret,
.nav__item--sub:focus-within .nav__caret { transform: rotate(180deg); }

/* 鼠标从导航项移到面板途中的桥接区，防止误收起 */
.nav__item--sub::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 16px;
}

.nav__sub {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 60;
  min-width: 168px;
  padding: 5px 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(12, 40, 78, .16), 0 2px 8px rgba(12, 40, 78, .06);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity var(--speed) var(--ease),
              transform var(--speed) var(--ease),
              visibility var(--speed) var(--ease);
}

.nav__item--sub:hover .nav__sub,
.nav__item--sub:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav__list .nav__sub a {
  display: block;
  height: auto;
  padding: 13px 22px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--c-text);
  text-align: center;
  white-space: nowrap;
  border-top: 1px solid #f1f3f6;
  transition: color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}

.nav__list .nav__sub a:first-child { border-top: 0; }
.nav__list .nav__sub a:hover { color: var(--c-brand-2); background: #f6fafe; background-clip: padding-box; }

/* 移动端抽屉：下拉改为平铺 */
@media (max-width: 1024px) {
  .nav__item--sub { position: static; }
  .nav__item--sub::after { display: none; }
  .nav__caret { display: none; }
  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    padding: 0 0 6px;
    background: transparent;
  }
  .nav__list .nav__sub a {
    height: auto;
    padding: 8px 26px;
    text-align: left;
    font-size: 14px;
    border-top: 0;
    color: var(--c-muted);
  }
}

/* 右侧操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--c-text);
}

.lang-switch a:hover { color: var(--c-brand-2); }
.lang-switch .is-active { color: var(--c-brand-2); font-weight: 600; }

.search-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--c-title);
  border-radius: 50%;
  transition: color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
.search-toggle:hover { color: #fff; background: var(--c-brand-2); }

/* 搜索面板 */
.search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  padding: 14px 0;
  background: #fff;
  border-top: 1px solid var(--c-line);
  box-shadow: 0 12px 24px rgba(15, 40, 80, .10);
}
.search-panel.is-open { display: block; }

.search-form { display: flex; gap: 10px; }

.search-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  font-size: 15px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.search-form input:focus {
  outline: none;
  border-color: var(--c-brand-2);
  box-shadow: 0 0 0 3px rgba(26, 115, 201, .14);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--c-title);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2.5px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(10, 25, 45, .45);
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}
.nav-backdrop.is-open { opacity: 1; }

/* ===== 07. 内页 banner ===== */
.page-banner {
  position: relative;
  height: clamp(400px, 14vw, 600px);
  overflow: hidden;
  background: #dbe7f2;
}

.page-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 面包屑条：位于 banner 图片下方，独立成行 */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-block: 12px;
}

/* ===== 08. 面包屑 ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 14px;
  color: var(--c-text);
}

.breadcrumb li { display: inline-flex; align-items: center; min-width: 0; }

.breadcrumb li + li::before {
  content: ">";
  margin: 0 10px;
  color: #b9c2cf;
}

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

.breadcrumb li[aria-current="page"] {
  max-width: 40em;
  overflow: hidden;
  color: var(--c-brand-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ===== 09. 页脚 ===== */
.site-footer {
  margin-top: var(--sec-gap);
  color: #6b7280;
  background: #f2f3f5;
  border-top: 1px solid var(--c-line);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.45fr) auto;
  gap: clamp(22px, 2.6vw, 44px);
  padding-block: clamp(36px, 3.4vw, 54px);
}

.footer-col { min-width: 0; }

.footer-col__title,
.footer-top h2,
.footer-top h3 {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-title);
}

.footer-list li + li { margin-top: 7px; }

.footer-list a,
.footer-contact a {
  font-size: 13.5px;
  color: #6b7280;
  transition: color var(--speed) var(--ease);
}
.footer-list a:hover,
.footer-contact a:hover { color: var(--c-brand-2); }

.footer-contact { font-size: 13.5px; line-height: 1.9; }
.footer-contact li { display: flex; gap: 6px; }
.footer-contact__label { flex: 0 0 auto; color: #9ca3af; }

/* 第五块：关注我们（三个二维码并排） */
.footer-qrs {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 20px;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-qr__img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  transition: box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.footer-qr:hover .footer-qr__img {
  box-shadow: 0 10px 24px rgba(14, 36, 64, .14);
  transform: translateY(-3px);
}

.footer-qr__caption {
  font-size: 11.5px;
  line-height: 1.4;
  color: #6b7280;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-block: 16px;
  font-size: 13px;
  border-top: 1px solid var(--c-line);
}

.footer-links__label { font-weight: 700; color: var(--c-title); }

.footer-links ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: #6b7280; }
.footer-links a:hover { color: var(--c-brand-2); }

.footer-bottom {
  padding-block: 14px 22px;
  font-size: 12.5px;
  color: #8a919c;
  border-top: 1px solid var(--c-line);
}

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

/* ===== 10. 回到顶部 ===== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--c-brand);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease),
    visibility var(--speed) var(--ease), color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: #fff; background: var(--c-brand); }

/* ===== 11. 响应式 ===== */
@media (max-width: 1600px) {
  :root { --content-w: 1400px; }
}

@media (max-width: 1366px) {
  :root { --content-w: 1240px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    width: min(84vw, 320px);
    margin: 0;
    padding: calc(var(--header-h) + 12px) 0 32px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -10px 0 30px rgba(15, 40, 80, .16);
    transform: translateX(105%);
    transition: transform .32s var(--ease);
  }
  .nav.is-open { transform: none; }

  .nav__list {
    flex-direction: column;
    height: auto;
    gap: 0;
  }
  .nav__list > li { display: block; }
  .nav__list a {
    height: auto;
    padding: 13px 24px;
    font-size: 16px;
    border-bottom: 1px solid var(--c-line);
  }
  .nav__list a.is-active::after { display: none; }
  .nav__list a.is-active { background: var(--c-brand-light); }

  .nav-toggle { display: grid; }

  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-social { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .header-actions { gap: 10px; }
  .lang-switch { display: none; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-social { grid-column: 1 / -1; }
  .footer-qr__img { width: 88px; height: 88px; }
  .page-banner { height: 180px; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-qrs { justify-content: start; }
}

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

@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .nav-backdrop { display: none !important; }
}

#about,#products,#partners,#honor{
  margin-top:  clamp(28px, 3vw, 46px);
}
