/**
 * 主样式 - 语义化类名，Flex 布局，IE11 兼容
 * 避免：gap、clamp、Grid、backdrop-filter、position:sticky
 */
html {
  font-size: 16px;
  background: #fff;
}

/* 页面容器：max-width + padding，用媒体查询替代 clamp */
.page-container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 40px;
}

@media (max-width: 1000px) {
  .page-container {
    padding: 0 16px;
  }
}

@media (max-width: 640px) {
  .page-container {
    padding: 0 12px;
    max-width: 640px;
    overflow: hidden;
  }
}

/* ========== 页头 ========== */
.page-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.page-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.page-header-left {
  display: flex;
  align-items: center;
  height: 100%;
}
.page-header-logo {
  margin-right: 80px;
  height: auto;
  width: 146px;
}
.page-header-nav-list {
  display: flex;
  align-items: center;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-header-nav-list li {
  height: 100%;
}
.page-header-nav-list li + li {
  margin-left: 0;
}
.nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 24px;
  text-decoration: none;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.65);
  border-bottom: 4px solid transparent;
  transition: color 0.2s;
}
.nav-link:hover {
  color: #0053e1;
}
.nav-link.active {
  color: rgba(0, 0, 0, 0.88);
  border-bottom-color: #0053e1;
  font-weight: 500;
}
.lang-toggle {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 15px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
  cursor: pointer;
  transition: color 0.2s;
}
.lang-toggle:hover {
  color: rgba(0, 0, 0, 0.88);
}
.lang-toggle-icon {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

@media (max-width: 1000px) {
  .page-header-left {
    padding-left: 4px;
  }

  .page-header-logo {
    width: 117px;
    margin-right: 0;
  }



  .page-header-nav {
    height: 44px;
  }

 .page-header-nav-list, .lang-toggle {
    display: none;
 }
}

/* 下拉菜单 */
.services-dropdown {
  position: fixed;
  left: 0;
  right: 0;
  top: 72px;
  z-index: 400000000;
  height: 312px;
  background: #fff;
  box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.25);
}
.services-dropdown-inner {
  position: relative;
  height: 100%;
}
.services-dropdown-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
}
.service-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s;
}
.service-dropdown-item:hover .service-dropdown-title {
  color: #0053e1;
}
.service-dropdown-title {
  text-align: center;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.65);
}

/* ========== 滚动区域 ========== */
.scroll-container {
  margin-top: 72px;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  background: #fff;
}

@media (max-width: 1000px) {
  .scroll-container {
    margin-top: 44px;
  }
}

/* ========== 页脚 ========== */
.page-footer {
  position: relative;
  z-index: 40;
}
.footer-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 498px;
  background-image: url('../images/footer/footer_bg.png');
  background-size: cover;
  background-position: center;
}
.footer-contact-card {
  width: 100%;
  border-radius: 16px;
  background: #fff;
  padding: 32px 56px;
}

.footer-contact-title {
  margin-bottom: 24px;
  text-align: center;
  font-size: 30px;
  line-height: 42px;
  font-weight: 500;
  color: #000;
}
.footer-form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}
.footer-form-field {
  flex: 1;
  min-width: 200px;
  margin: 0 12px 24px;
}
.footer-form-field-full {
  flex: 1 1 100%;
  margin: 0 12px 24px;
}
.footer-form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.88);
}
.footer-form-label.required::before {
  content: '* ';
  color: #FF4D4F;
}
.footer-form-input,
.footer-form-select,
.footer-form-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #fff;
}
.footer-form-input:focus,
.footer-form-select:focus,
.footer-form-textarea:focus {
  border-color: #0053e1;
  outline: none;
}
/* 原生 select：被 custom-select 包裹后隐藏，此处仅保留基础样式（兜底或表单提交用） */
.footer-form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 32px;
  min-height: 32px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.footer-form-select option {
  color: rgba(0, 0, 0, 0.88);
  padding: 6px 12px;
  font-size: 14px;
}
.footer-form-select option[value=''] {
  color: rgba(0, 0, 0, 0.45);
}

@media (max-width: 1000px) {
  .footer-contact-card {
    padding: 24px 12px;
  }

  .footer-contact-title {
    font-size: 24px;
    line-height: 34px;
  }

  .footer-form-field {
    margin-bottom: 12px;
  }

}

/* 页脚官方账号（仅中文显示，位于 footer-dark 右侧） */
.footer-official-accounts {
  display: flex;
  align-items: center;
}
.footer-official-accounts-inner {
  display: flex;
  align-items: flex-start;
}
.footer-official-account-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-official-account-item:first-child {
  margin-right: 40px;
}
.footer-official-account-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: #fff;
}
.footer-official-account-item:last-child .footer-official-account-qr {
  background: transparent;
}
.footer-official-account-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.footer-official-account-img--weixin {
  width: 120px;
  height: 120px;
}
.footer-official-account-label {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1000px) {
  .footer-official-accounts {
    margin-top: 24px;
  }
}



/* ========== 自定义下拉 custom-select（样式与原项目 USelect 一致） ========== */
.custom-select-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 0;
}
.custom-select-native {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  padding: 0;
}
.custom-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 32px;
  padding: 8px 12px;
  padding-right: 32px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}
.custom-select-trigger:focus {
  border-color: #0053e1;
  outline: none;
}
.custom-select-trigger.custom-select--placeholder {
  color: rgba(0, 0, 0, 0.45);
}
.custom-select-trigger:not(.custom-select--placeholder) {
  color: rgba(0, 0, 0, 0.88);
}
.custom-select-wrap.custom-select--open .custom-select-trigger {
  border-color: #0053e1;
}
.custom-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 12px;
  height: 12px;
  display: block;
  flex-shrink: 0;
  background: url('../images/footer/down.png') no-repeat center;
  background-size: 12px 12px;
  transition: transform 0.2s;
}
.custom-select-wrap.custom-select--open .custom-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}
.custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  overflow-y: auto;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #fff;
  z-index: 1000;
  display: none;
}
.custom-select-wrap.custom-select--open .custom-select-dropdown {
  display: block;
}
.custom-select-option {
  padding: 6px 12px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.88);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.custom-select-option:hover {
  background: rgba(0, 83, 225, 0.08);
  color: #0053e1;
}
.custom-select-option.custom-select-option--selected {
  background: rgba(0, 83, 225, 0.12);
  color: #0053e1;
}

.footer-form-textarea {
  min-height: 100px;
  resize: vertical;
}
#footer-remark {
  resize: none;
}
.footer-form-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.footer-form-submit {
  padding: 6px 15px;
  border: none;
  border-radius: 6px;
  background: #0053e1;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.footer-form-submit:hover:not(:disabled) {
  opacity: 0.9;
}
.footer-form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer-dark {
  background: #181c28;
  padding: 56px 0 32px;
}
.footer-dark-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-dark-columns {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -16px;
}
.footer-dark-column {
  width: 210px;
  margin: 0 16px;
}
/* 英文环境下「公司服务」列更宽，与 Vue 一致 */
.footer-dark-inner--en .footer-dark-columns .footer-dark-column:first-child {
  width: 474px;
}
.footer-dark-title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}
.footer-dark-links {
  margin-top: 24px;
}
.footer-dark-link {
  display: block;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  text-decoration: none;
}
.footer-dark-link:hover {
  color: rgba(255, 255, 255, 0.88);
}
@media (max-width: 1000px) {
  .footer-dark {
    padding: 24px 12px;
  }
  .footer-dark-inner {
    padding: 0;
  }

  .footer-bg {
    height: 588px;
    background-image: url('../images/footer/footer_bg_mobile.png');
  }
  .footer-dark-columns, .footer-dark-column {
    width: 100%;
  }

  .footer-dark-inner--en .footer-dark-columns .footer-dark-column:first-child {
    width: 100%;
  }

  .footer-dark-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    line-height: 52px;
    width: 100%;

  }
  .footer-dark-title-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
  }
  .footer-dark-column.is-open .footer-dark-title-arrow {
    transform: rotate(135deg);
  }
  .footer-dark-column .footer-dark-links {
    display: none;
    margin-top: 0;
  }
  .footer-dark-column.is-open .footer-dark-links {
    display: block;
  }
  .footer-dark-link {
    line-height: 22px;
    margin-bottom: 0;
    padding: 8px 0;
  }
  .footer-form-submit-wrap {
    margin-top: 12px;
  }
}
.footer-bottom {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
}
.footer-bottom-text {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-bottom-text a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}
.footer-bottom-text + .footer-bottom-text {
  margin-left: 16px;
}
.footer-bottom--en .footer-bottom-text:last-of-type {
  margin-left: 0;
}

@media (max-width: 1000px) {
  .footer-bottom {
    margin-top: 24px;
    padding: 0;
    display: block;
  }

  .footer-bottom-text:last-child {
    margin: 8px 0 0;
  }
}

/* ========== 客户弹窗 ========== */
.customer-service-modal {
  position: fixed;
  top: 200px;
  left: 32px;
  z-index: 100;
}
.customer-service-modal-inner {
  display: flex;
  flex-direction: column;
  width: 410px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}
.customer-service-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #0053e1;
  padding: 16px 24px;
}
.customer-service-modal-title {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
.customer-service-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.customer-service-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.customer-service-modal-body {
  padding: 24px 16px;
}
.customer-service-modal .footer-form-field {
  margin-bottom: 16px;
}
@media (max-width: 1000px) {
  /* 移动端：蒙层 top 44px、bottom 0；inner 居中，最大高度为蒙版高度减 24px，超出滚动 */
  .customer-service-modal {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.25);
  }
  .customer-service-modal-inner {
    width: 100%;
    max-height: calc(100vh - 44px - 24px);
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
  .customer-service-modal-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }
}

/* ========== 悬浮按钮 ========== */
.floating-actions {
  position: fixed;
  right: 0;
  bottom: 300px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  border-radius: 8px 0 0 8px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}
.float-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.float-action-btn:hover {
  background: #0053e1;
  color: #fff;
}
.float-action-icon {
  display: block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.float-action-btn--phone .float-action-icon {
  background-image: url("../images/float-action/phone_inactive_icn.png");
}
.float-action-btn--phone:hover .float-action-icon {
  background-image: url("../images/float-action/phone_active_icn.png");
}
/* 电话按钮：PC 与移动端分开，避免 hover/click 冲突 */
.float-phone-pc {
  display: flex;
}
.float-phone-mobile {
  display: none;
}

.float-action-btn--customer .float-action-icon {
  background-image: url("../images/float-action/customer_inactive_icn.png");
}
.float-action-btn--customer:hover .float-action-icon {
  background-image: url("../images/float-action/customer_active_icn.png");
}
.float-action-btn--scrolltop .float-action-icon {
  background-image: url("../images/float-action/scrolltop_inactive_icn.png");
}
.float-action-btn--scrolltop:hover .float-action-icon {
  background-image: url("../images/float-action/scrolltop_active_icn.png");
}
.float-action-btn--rounded-bl {
  border-radius: 0 0 0 8px;
}
.float-action-btn--rounded-bottom {
  border-radius: 0 0 8px 8px;
}
.float-action-divider {
  flex-shrink: 0;
  align-self: center;
  width: 24px;
  height: 1px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 1px;
}
.phone-popover {
  position: absolute;
  top: 0;
  right: 100%;
  margin-right: 14px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.phone-popover-arrow {
  position: absolute;
  top: 19px;
  right: 0;
  transform: translateX(100%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid rgba(255, 255, 255, 0.85);
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.25));
}
.phone-popover-title {
  font-size: 16px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.65);
}
.phone-popover-number {
  margin-top: 4px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: #0053e1;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .float-phone-pc {
    display: none !important;
  }
  .float-phone-mobile {
    display: flex;
  }
  /* 移动端取消电话按钮的 hover 效果，避免触摸后粘住蓝色 */
  .float-phone-mobile:hover {
    background: transparent;
    color: inherit;
  }
  .float-phone-mobile:hover .float-action-icon {
    background-image: url("../images/float-action/phone_inactive_icn.png");
  }
  /* 移动端取消回到顶部按钮的 hover 效果，避免触摸后粘住高亮 */
  .float-action-btn--scrolltop:hover {
    background: transparent;
    color: inherit;
  }
  .float-action-btn--scrolltop:hover .float-action-icon {
    background-image: url("../images/float-action/scrolltop_inactive_icn.png");
  }
  .float-action-btn--phone.is-phone-open,
  .float-phone-mobile.is-phone-open {
    background: #0053e1;
    color: #fff;
  }
  .float-action-btn--phone.is-phone-open .float-action-icon,
  .float-phone-mobile.is-phone-open .float-action-icon {
    background-image: url("../images/float-action/phone_active_icn.png");
  }
}

/* ========== Toast ========== */
.toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast-item {
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  max-width: min(360px, 90vw);
  animation: toast-fade-in 0.18s ease-out;
}
.toast-item.error {
  background: #fff;
  color: #c00;
}

@keyframes toast-fade-in {
  from {
    opacity: 0;
    transform: translateX(8px) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

/* 移动端语言下拉：蒙版 + 全宽菜单 */

.mobile-menu-trigger {
  display: none;
}

@media (max-width: 1000px) {
  .mobile-menu-trigger {
    display: flex;
  }
}

.mobile-change-lang-icon, .mobile-menu-trigger-icon-img {
  width: 20px;
  height: 20px;
}

.mobile-menu-trigger-icon-img {
  margin-left: 16px;
}


.mobile-lang-dropdown .mobile-lang-overlay,
.mobile-lang-dropdown .mobile-lang-menu {
  display: none;
}
.mobile-lang-dropdown.is-open .mobile-lang-overlay,
.mobile-lang-dropdown.is-open .mobile-lang-menu {
  display: block;
}
.mobile-lang-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 44px;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 200;
}
.mobile-lang-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: 44px;
  width: 100%;
  background: #ffffff;
  z-index: 201;
}
.mobile-lang-item {
  display: flex;
  align-items: center;
  width: 100%;
  height: 54px;
  padding: 0 12px;
  background: #ffffff;
  border: none;
  font-size: 16px;
  color: #000000;
  cursor: pointer;
  text-align: left;
}

.mobile-lang-item.active {
  color: #0053e1;
}

/* 移动端主导航下拉：与语言下拉样式一致 */
.mobile-nav-dropdown .mobile-nav-overlay,
.mobile-nav-dropdown .mobile-nav-menu {
  display: none;
}
.mobile-nav-dropdown.is-open .mobile-nav-overlay,
.mobile-nav-dropdown.is-open .mobile-nav-menu {
  display: block;
}
.mobile-nav-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 44px;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 200;
}
.mobile-nav-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: 44px;
  width: 100%;
  background: #ffffff;
  z-index: 201;
}
.mobile-nav-menu .mobile-lang-item {
  display: flex;
  align-items: center;
  width: 100%;
  height: 54px;
  padding: 0 16px;
  background: #ffffff;
  border: none;
  font-size: 16px;
  color: #000000;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  box-sizing: border-box;
}

.mobile-nav-menu .mobile-lang-item.active {
  color: #0053e1;
}

.mobile-nav-services-trigger {
  justify-content: space-between;
}
.mobile-nav-services-arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.mobile-nav-services-trigger.is-open .mobile-nav-services-arrow {
  transform: rotate(90deg);
}
.mobile-nav-services-sub {
  display: none;
  background: #f7f8fa;
}
.mobile-nav-services-sub.is-open {
  display: block;
}
.mobile-nav-service-sub-item {
  background: #f7f8fa !important;
  padding-left: 32px;
}





@media (min-width: 1280px) {
  .page-container {
    padding: 0;
  }
}





