/* ========== 关于我们页专属样式 ========== */

/* 关于我们 Hero：结构与首页 hero 保持一致（hero-slide-wrap + hero-slide-img + hero-text） */
/* 默认（平板/手机）：主图按原始比例缩放，不拉伸、不强制裁切 */
#hero.hero.about-hero {
  position: relative;
  height: auto;
  color: #fff;
  overflow: hidden;
}

.about-hero .hero-slide-wrap {
  position: relative;
  width: 100%;
  height: auto;
}

.about-hero .hero-slide-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: unset;
  object-position: center;
  vertical-align: top;
}

.about-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* PC：固定 Banner 高度，cover 铺满 */
@media (min-width: 992px) {
  #hero.hero.about-hero {
    height: 720px;
  }

  .about-hero .hero-slide-wrap {
    height: 100%;
  }

  .about-hero .hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.about-hero .hero-text {
  position: absolute;
  left: 10%;
  top: 25%;
  color: #ffffff;
  text-align: left;
}

.about-hero .hero-title-img {
  max-width: 40%;
  height: auto;
}

.about-hero .hero-subtitle {
  font-size: 2rem;
  margin-top: 1.5rem;
}

/* 关于我们页：手机横屏时，文案位置微调（主图仍为非 PC 比例自适应） */
@media (max-width: 991.98px) and (orientation: landscape) {
  .about-hero .hero-text {
    left: 10%;
    top: 18%;
  }
}

.about-tabs-wrap {
  background: #fff;
  padding-bottom: 14px;
}

.about-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0 3.5rem;
  padding: 3rem 0 0;
  margin: 0;
  list-style: none;
}

/* 英文/日文状态下，子导航间距和字号稍微缩小，避免换行 */
body.lang-en .about-tabs,
body.lang-jpn .about-tabs {
  gap: 0 2.2rem;
}

body.lang-en .about-tabs .nav-link {
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
}

.about-tabs .nav-item {
  position: relative;
}

.about-tabs .nav-link {
  display: block;
  color: #333;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border: none;
  background: transparent;
  transition: color 0.2s, background 0.2s;
  position: relative;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  margin-left: -6px;
}

.about-tabs .nav-link:first-of-type {
  margin-left: 0;
}

.about-tabs .nav-link:hover {
  color: #2280be;
}

/* 选中：蓝色平行四边形 + 白字 */
.about-tabs .nav-link.active {
  color: #fff;
  font-weight: 600;
  background: #257bae;
  z-index: 1;
}

/* 选中项下方的蓝色线条（放在 nav-item 上避免被平行四边形 clip-path 裁掉） */
.about-tabs .nav-item:has(.nav-link.active)::after {
  content: "";
  position: absolute;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  bottom: -10px;
  width: 89%;
  height: 3px;
  background: #2ea2dd;
  z-index: 2;
}

/* Tab 子页面板：仅当前选中的显示 */
.about-tab-panel {
  display: none;
}

.about-tab-panel.active {
  display: block;
}

.about-main {
  background: #fff;
}

/* 公司简介图：占满整行宽度，高度按比例，标题叠加在图上 */
.about-main-img-wrap {
  position: relative;
  width: 100%;
  padding: 0;
  margin-bottom: 1.5rem;
}

.about-building-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* 发展历程：全宽图片 + 可独立调整的文字块 */
.about-history-wrap {
  position: relative;
  width: 100%;
  padding: 1.5rem 0;
}

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

.about-history-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.history-title {
  position: absolute;
  left: 14%;
  top: 6%;
  color: #ffffff;
  text-align: left;
}

.history-title-cn {
  font-size: 1.4rem;
  font-weight: 500;
}

.history-title-en {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.history-item {
  position: absolute;
  color: #0070c0;
  font-size: 0.9rem;
  line-height: 1.6;
  pointer-events: auto;
  text-align: center;
}

.history-year {
  font-size: 1.4rem;
  font-weight: 500;
}

.history-year-unit {
  font-size: 0.6em;
  margin-left: 0.15em;
  display: inline-block;
  vertical-align: baseline;
  /* transform: translateY(0.25em); */
}

.history-text {
  margin-top: 0.25rem;
  color: #000;
}

/* 每个年份块的位置：可按需要单独微调 top/left 值 */
.history-item-2017 {
  left: 17%;
  bottom: 25%;
}

.history-item-2019 {
  left: 30%;
  top: 30%;
}

.history-item-2021 {
  left: 54.5%;
  top: 42%;
}

.history-item-2025 {
  right: 18%;
  top: 46%;
}

/* 英文状态下：可单独微调发展历程各年份块的位置 */
body.lang-en .history-item-2017 {
  left: 12.5%;
  bottom: 25%;
}

body.lang-en .history-item-2019 {
  left: 27%;
  top: 30%;
}

body.lang-en .history-item-2021 {
  left: 50.5%;
}

body.lang-en .history-item-2025 {
  right: 13%;
  /* top: 46%; */
}

/* 日文状态下：同样可以单独微调各年份块的位置 */
body.lang-jpn .history-item-2017 {
  left: 14%;
}

body.lang-jpn .history-item-2019 {
  left: 28%;
}

body.lang-jpn .history-item-2021 {
  left: 51.5%;
}

body.lang-jpn .history-item-2025 {
  right: 14%;
}

/* 组织架构：标题 + 可单独调整的节点文字 */
.structure-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.structure-overlay .structure-node {
  pointer-events: auto;
}

.structure-title {
  position: absolute;
  left: 14%;
  top: 6%;
  color: #ffffff;
  text-align: left;
}

.structure-title-cn {
  font-size: 1.4rem;
  font-weight: 500;
}

.structure-title-en {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.structure-node {
  position: absolute;
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  white-space: nowrap;
}

/* 英文状态下：限制宽度，并允许在空格处自动换行（根据宽度在空格切行） */
body.lang-en .structure-node {
  white-space: normal;
  width: 6em; /* 可按需微调，使在空格处换行 */
  font-size: 0.65rem;
}

/* 每个节点位置可单独微调 top/left/right/bottom */
.structure-node-ceo {
  left: 48%;
  top: 30%;
  transform: translateX(-50%);
  font-size: 1rem;
  letter-spacing: 0.2em;
}

.structure-node-production-dir {
  left: 27.5%;
  top: 57%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.structure-node-sales-dir {
  left: 48%;
  top: 57%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.structure-node-rd {
  left: 17.4%;
  top: 80%;
  color: #000;
}

.structure-node-production {
  left: 23%;
  top: 80%;
  color: #000;
}

.structure-node-quality {
  left: 28.5%;
  top: 80%;
  color: #000;
}

.structure-node-planning {
  left: 34%;
  top: 80%;
  color: #000;
}

.structure-node-marketing {
  left: 42.5%;
  top: 80%;
  color: #000;
}

.structure-node-intl {
  left: 49%;
  top: 80%;
  color: #000;
}

.structure-node-warehouse {
  left: 57.5%;
  top: 80%;
  color: #000;
}

.structure-node-purchase {
  left: 63%;
  top: 80%;
  color: #000;
}

.structure-node-finance {
  left: 68.5%;
  top: 80%;
  color: #000;
}

.structure-node-hr {
  left: 74%;
  top: 80%;
  color: #000;
}

.structure-node-office {
  left: 79.5%;
  top: 80%;
  color: #000;
}

/* ===== 组织架构：英文状态下可单独微调每个节点位置 ===== */
body.lang-en .structure-node-ceo {
  /* left: 48%; */
  /* top: 30%; */
}

body.lang-en .structure-node-production-dir {
  /* left: 27.5%; */
  /* top: 57%; */
}

body.lang-en .structure-node-sales-dir {
  /* left: 48%; */
  /* top: 57%; */
}

body.lang-en .structure-node-rd {
  left: 16.5%;
  /* top: 80%; */
}

body.lang-en .structure-node-production {
  left: 22.2%;
  /* top: 80%; */
}

body.lang-en .structure-node-quality {
  left: 27.85%;
  /* top: 80%; */
}

body.lang-en .structure-node-planning {
  left: 33.3%;
  /* top: 80%; */
}

body.lang-en .structure-node-marketing {
  left: 41.8%;
  /* top: 80%; */
}

body.lang-en .structure-node-intl {
  left: 49.5%;
  /* top: 80%; */
}

body.lang-en .structure-node-warehouse {
  left: 56.7%;
  /* top: 80%; */
}

body.lang-en .structure-node-purchase {
  left: 62.2%;
  /* top: 80%; */
}

body.lang-en .structure-node-finance {
  left: 67.9%;
  /* top: 80%; */
}

body.lang-en .structure-node-hr {
  left: 73.5%;
  /* top: 80%; */
}

body.lang-en .structure-node-office {
  left: 78.8%;
  font-size: 0.6rem;
}

/* ===== 组织架构：日文状态下可单独微调每个节点位置 ===== */
body.lang-jpn .structure-node-ceo {
  /* left: 48%; */
  /* top: 30%; */
}

body.lang-jpn .structure-node-production-dir {
  /* left: 27.5%; */
  /* top: 57%; */
}

body.lang-jpn .structure-node-sales-dir {
  /* left: 48%; */
  /* top: 57%; */
}

body.lang-jpn .structure-node-rd {
  left: 16.4%;
  /* top: 80%; */
}

body.lang-jpn .structure-node-production {
  /* left: 23%; */
  /* top: 80%; */
}

body.lang-jpn .structure-node-quality {
  left: 27.5%;
  /* top: 80%; */
}

body.lang-jpn .structure-node-planning {
  /* left: 34%; */
  /* top: 80%; */
}

body.lang-jpn .structure-node-marketing {
  left: 41.5%;
  /* top: 80%; */
}

body.lang-jpn .structure-node-intl {
  /* left: 49%; */
  /* top: 80%; */
}

body.lang-jpn .structure-node-warehouse {
  /* left: 57.5%; */
  /* top: 80%; */
}

body.lang-jpn .structure-node-purchase {
  /* left: 63%; */
  /* top: 80%; */
}

body.lang-jpn .structure-node-finance {
  /* left: 68.5%; */
  /* top: 80%; */
}

body.lang-jpn .structure-node-hr {
  /* left: 74%; */
  /* top: 80%; */
}

body.lang-jpn .structure-node-office {
  /* left: 79.5%; */
  /* top: 80%; */
}

/* 企业文化：标题 + 六块内容 + 底部标语，颜色与字号与图片一致 */
.culture-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.culture-overlay .culture-block,
.culture-overlay .culture-title,
.culture-overlay .culture-footer {
  pointer-events: auto;
}

.culture-title {
  position: absolute;
  left: 14%;
  top: 6%;
  color: #ffffff;
  text-align: left;
}

.culture-title-cn {
  font-size: 1.5rem;
  font-weight: 500;
}

.culture-title-en {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}

.culture-block {
  position: absolute;
  text-align: center;
  max-width: 28%;
}

.culture-block-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2280be;
  margin-bottom: 0.35rem;
}

.culture-block-desc {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #333;
}

.culture-block-1 { left: 39%;  top: 34%; }
.culture-block-2 { left: 69%; top: 34%; }
.culture-block-4 { left: 21%;  top: 58%; }
.culture-block-5 { left: 53.5%; top: 58%; }

/* 企业文化：英文状态下可单独微调四个内容块位置 */
body.lang-en .culture-block-1 {
  left: 35%;
  /* top: 34%; */
}

body.lang-en .culture-block-2 {
  left: 66.6%;
  width: 15%;
}

body.lang-en .culture-block-4 {
  left: 19.5%;
  /* top: 58%; */
}

body.lang-en .culture-block-5 {
  left: 50%;
  width: 16%;
}

body.lang-en  .culture-footer-cn{
  font-size: 1.2rem;
}

body.lang-en  .contact-footer{
  top: 80%;
}

/* 企业文化：日文状态下可单独微调四个内容块位置 */
body.lang-jpn .culture-block-1 {
  left: 37%;
  /* top: 34%; */
}

body.lang-jpn .culture-block-2 {
  left: 67%;
  width: 15%;
}

body.lang-jpn .culture-block-4 {
  /* left: 21%; */
  /* top: 58%; */
}

body.lang-jpn .culture-block-5 {
  left: 50.5%;
  /* top: 58%; */
}

.culture-footer {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  text-align: center;
}

.culture-footer-cn {
  font-size: 1.4rem;
  font-weight: 500;
  color: #2280be;
  letter-spacing: 0.25em;
}

.culture-footer-en {
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: #2280be;
  margin-top: 0.25rem;
}

/* 联系我们：左侧文字 + 底部地址，可单独调整位置 */
.contact-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-overlay .contact-title,
.contact-overlay .contact-block,
.contact-overlay .contact-footer {
  pointer-events: auto;
}

.contact-title {
  position: absolute;
  left: 14%;
  top: 6%;
  color: #ffffff;
  text-align: left;
}

.contact-title-cn {
  font-size: 1.5rem;
  font-weight: 500;
}

.contact-title-en {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}

.contact-block {
  position: absolute;
  font-size: 0.85rem;
  line-height: 1.8;
  color: #595959;
}

.contact-block-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-block-line {
  margin-left: 0;
}

/* 每个联系方式块的位置，可单独调整 top/left 值 */
.contact-block-market {
  left: 19.5%;
  top: 24%;
}

.contact-block-intl {
  left: 19.5%;
  top: 42%;
}

.contact-block-hr {
  left: 19.5%;
  top: 60%;
}

.contact-footer {
  position: absolute;
  left: 22%;
  bottom: 13%;
  color: #ffffff;
  text-align: left;
}

.contact-footer-label {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-footer-text {
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.contact-map-name {
  position: absolute;
  right: 30%;
  bottom: 18%;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a9ad6;
  text-align: center;
}

/* 企业荣誉：标题、说明、资质证书，颜色与图片一致，每块可单独调整 */
.honor-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.honor-overlay .honor-title,
.honor-overlay .honor-desc,
.honor-overlay .honor-cert-bg,
.honor-overlay .honor-cert {
  pointer-events: auto;
}

.honor-title {
  position: absolute;
  left: 14%;
  top: 6%;
  color: #ffffff;
  text-align: left;
}

.honor-title-cn {
  font-size: 1.5rem;
  font-weight: 500;
}

.honor-title-en {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}

.honor-desc {
  position: absolute;
  left: 14%;
  top: 22%;
  font-size: 0.7rem;
  line-height: 1.7;
  color: #616060;
}

.honor-desc .honor-iso {
  color: #c00;
  font-weight: 600;
}

.honor-cert-bg {
  position: absolute;
  left: 50%;
  top: 28%;
  transform: translateX(-50%);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.08);
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.honor-cert {
  position: absolute;
  left: 50%;
  top: 32%;
  transform: translateX(-50%);
  text-align: center;
}

.honor-cert-cn {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
}

.honor-cert-lines {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.honor-cert-line {
  display: block;
  width: 30px;
  height: 2px;
  background: #333;
}

.honor-cert-line-accent {
  background: #ffd755;
}

.about-main-img-overlay {
  position: absolute;
  left: 13%;
  right: 0;
  top: 83%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: 1rem;
}

.about-main-img-overlay .about-profile-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.about-main-img-overlay .about-profile-en {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.about-profile-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.25rem 0;
}

.about-profile-en {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 1rem 0;
}

/* 公司简介正文+卡片区域：可单独调整位置，不改动其他区域 */
.about-main-body {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 10.5%;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  width: 80%;
}

.about-profile-desc {
  font-size: 0.75rem;
  line-height: 1.8;
  color: #7e7979;
  margin-bottom: 1.5rem;
}

/* 五块横向排列：前两块为浅蓝数字+说明+右侧竖线，后三块为蓝色卡片 */
.about-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0 1.5rem;
  margin-top: 0.5rem;
}

/* 数字块：浅蓝大数字+单位，下方说明文字，左对齐，右侧浅灰竖线 */
.about-card-stat {
  padding: 0.5rem 1.25rem 0.5rem 0;
  text-align: left;
  flex: 0 0 auto;
}

.about-card-stat .about-card-num {
  font-size: 3rem;
  font-weight: 400;
  color: #5eb8e6;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.about-card-num-unit {
  font-size: 0.5em;
  font-weight: 400;
  vertical-align: super;
  margin-left: 0.1em;
}

.about-card-stat .about-card-label {
  font-size: 0.8rem;
  color: #5eb8e6;
  margin: 0;
}

.about-card-stat-sep {
  position: relative;
  padding-right: 1.5rem;
}

.about-card-stat-sep::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 1px;
  background: #d0d0d0;
}

/* 蓝色卡片：标题居中，列表左对齐 */
.about-card {
  padding: 1.25rem;
  min-height: 120px;
  border-radius: 6px;
  flex: 1 1 0;
  min-width: 140px;
}

.about-card-blue {
  background: #2280be;
  color: #fff;
}

.about-card-blue .about-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.about-card-blue .about-card-list {
  font-size: 0.68rem;
  margin-bottom: 0.35rem;
  opacity: 0.95;
  text-align: left;
}

/* ========== 关于我们页：手机横屏适配，仅做缩放，不改整体布局位置 ========== */
@media (max-width: 896px) and (orientation: landscape) {
  /* 首屏主图区域整体稍微缩小字体，保持版式不变 */
  .about-hero-title-img {
    width: 26%;
  }

  .about-hero-subtitle {
    font-size: 1.5rem;
  }

  /* Tab 子导航间距和字号微调，避免在横屏时换行 */
  .about-tabs {
    gap: 0 2.2rem;
    padding-top: 2rem;
  }

  .about-tabs .nav-link {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }

  /* 公司简介正文整体略收窄，避免两侧紧贴 */
  .about-main-body {
    width: 88%;
    margin-left: 6%;
  }

  /* 时间轴 / 组织架构 / 企业文化 / 联系我们等块，仅缩小字号，不改 top/left 百分比，保持原布局 */
  .history-title-cn,
  .structure-title-cn,
  .culture-title-cn,
  .contact-title-cn,
  .honor-title-cn {
    font-size: 1.2rem;
  }

  .history-item,
  .structure-node,
  .culture-block-title,
  .contact-block,
  .honor-desc {
    font-size: 0.8rem;
  }

  .about-profile-desc {
    font-size: 0.7rem;
  }

  .about-card-stat .about-card-num {
    font-size: 2.4rem;
  }

  .about-card-blue .about-card-title {
    font-size: 1.1rem;
  }

  .about-card-blue .about-card-list {
    font-size: 0.62rem;
  }
}

@media screen and (min-width: 568px) and (max-width: 932px) and (max-height: 480px) {
  /* 114-131 四句口号：居中铺满右半区，避免 left:31% 在半宽列里整体偏右 */
  .page-home .hk-navbar {
    width: 100%;
  }

  .hk-navbar-menu {
    margin-left: 20%;
    margin-top: -5%;
    flex-wrap: nowrap;
  }

  .hk-navbar-menu {
    margin-left: 20%;
    margin-top: -5%;
    flex-wrap: nowrap;
  }

  /* 246-280 页脚四列：强制生效（等同 footer-landscape 意图） */
  body.page-home .footer-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
  }

  body.page-home .footer-nav {
    margin-left: -3% !important;
    width: 64% !important;
    max-width: 100% !important;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 0.5rem;
    box-sizing: border-box;
  }

  .about-bottom-image img {
    margin-left: 47%;
    margin-top: -23.6%;;
  }

  page-homefooter-nav .footer-col,
  body.page-home .footer-nav .footer-col-1,
  body.page-home .footer-nav .footer-col-2,
  body.page-home .footer-nav .footer-col-3,
  body.page-home .footer-nav .footer-col-4 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
    min-width: 0;
    flex: 1 1 20%;
    max-width: 25%;
  }

  body.page-home .footer-col-title {
    font-size: 0.7rem !important;
    margin-bottom: 0.3% !important;
  }

  body.page-home .footer-links a {
    font-size: 0.5rem !important;
  }

  body.page-home .footer-links li {
    margin-bottom: 0.2% !important;
  }
}
