/* 页头对齐：公司名与导航垂直居中 */
.main-header .header-upper .auto-container > .clearfix {
  display: flex;
  align-items: center;
  min-height: 92px;
}

.main-header .header-upper .logo-box,
.pull-left.logo-box {
  float: none !important;
  flex: 0 0 auto;
  padding: 0 !important;
  display: flex;
  align-items: center;
  z-index: 12;
}

.main-header .header-upper .logo-box .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-header .header-upper .logo-box .logo img {
  flex: 0 0 auto;
  display: block;
}

.main-header .header-upper .logo-box .logo .text {
  font-size: 22px !important;
  line-height: 1.25 !important;
  margin-left: 0 !important;
  color: #fff;
  white-space: nowrap;
}

.main-header .nav-outer,
.pull-right.nav-outer {
  float: none !important;
  flex: 1 1 auto;
  margin-left: auto;
  padding-top: 0 !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.main-menu {
  float: none !important;
}

.main-menu .navbar-collapse {
  float: none !important;
}

.main-menu .navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.main-menu .navigation > li > a {
  padding: 0 !important;
  line-height: 1.5 !important;
  font-size: 15px !important;
}

.main-header .header-upper .outer-box {
  float: none !important;
  padding-top: 0 !important;
  padding-left: 20px !important;
  display: flex;
  align-items: center;
}

.main-header .header-upper .outer-box .btn-box {
  float: none !important;
}

.main-header.fixed-header .header-upper .logo-box {
  padding: 0 !important;
}

.main-header.fixed-header .main-menu .navigation > li > a {
  padding: 0 !important;
}

@media only screen and (max-width: 991px) {
  .main-header .header-upper .auto-container > .clearfix {
    display: block;
    min-height: 0;
  }

  .main-header .header-upper .logo-box {
    display: flex;
    padding: 0 !important;
  }

  .main-header .header-upper .logo-box .logo .text {
    font-size: 18px !important;
    white-space: normal;
  }

  .main-header .nav-outer {
    display: block;
    margin-left: 0;
    width: 100%;
  }

  .main-header .header-upper .outer-box {
    display: block;
    padding-left: 0 !important;
    padding-top: 10px !important;
  }
}
/* 取消首页服务卡片错位，改为对齐网格 */
.choose-section .featured-block {
  transform: none !important;
}

.choose-section .featured-block:nth-child(2n+0) {
  transform: none !important;
}

.choose-section .featured-block .inner-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.choose-section .row.clearfix {
  display: flex;
  flex-wrap: wrap;
}

.choose-section .featured-block {
  display: flex;
}

@media only screen and (max-width: 991px) {
  .choose-section .featured-block {
    transform: none !important;
  }
}
/* 服务卡片：图标与标题同一行 */
.choose-section .featured-block .inner-box {
  display: block;
}

.choose-section .featured-block .inner-box .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 0;
  float: none;
}

.choose-section .featured-block .inner-box h5 {
  display: inline-block;
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 55px;
}

.choose-section .featured-block .inner-box .text {
  display: block;
  clear: both;
  padding-top: 4px;
}

/* 清除 float 带来的塌陷 */
.choose-section .featured-block .inner-box::after {
  content: '';
  display: table;
  clear: both;
}
/* 客户/伙伴 logo 区：全站隐藏 */
.clients-section,
.clients-section-two {
  display: none !important;
}
.main-footer .widgets-section {
  position: relative;
  padding: 40px 0 40px;
}
/* ===== 页脚美化 ===== */
.main-footer {
  background: #f7f9fc;
  border-top: 1px solid #e8edf5;
  padding-bottom: 0;
}

.main-footer .pattern-layer {
  display: none;
}

.main-footer .footer-logos {
  padding: 28px 0 8px;
  border-bottom: 1px solid #eef2f7;
}

.main-footer .footer-logos img {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-footer .footer-logos img:hover {
  opacity: 0.9 !important;
  filter: none !important;
  transform: translateY(-2px);
}

.main-footer .widgets-section {
  position: relative;
  padding: 36px 0 28px;
}

.main-footer .footer-widget h5 {
  color: #2b3558;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.main-footer .logo-widget .logo h5 {
  font-size: 18px;
  color: #1f2a48;
  font-weight: 700;
}

.main-footer .logo-widget .language,
.main-footer .logo-widget .social-box span {
  color: #5b6478;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.main-footer .logo-widget .social-box a {
  display: inline-block;
  width: auto;
  height: auto;
  line-height: 1.5;
  border-radius: 6px;
  padding: 6px 12px;
  background: #eef3fb;
  color: #2b3558 !important;
  font-size: 13px;
}

.main-footer .logo-widget .social-box a:hover {
  background: #dce7fb;
}

.main-footer .list-link li {
  margin-bottom: 10px;
}

.main-footer .list-link li a {
  color: #5b6478;
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.main-footer .list-link li a:hover {
  color: #3b5bdb;
  padding-left: 4px;
}

.main-footer .support-widget ul li {
  color: #5b6478;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.main-footer .support-widget ul li a {
  color: #5b6478;
}

.main-footer .support-widget ul li a:hover {
  color: #3b5bdb;
}

.main-footer .copyright {
  border-top: 1px solid #e8edf5;
  padding: 18px 0 22px;
  color: #6b7288;
  font-size: 13px;
  text-align: center;
}

.main-footer .copyright a {
  color: #3b5bdb;
}

.main-footer .copyright a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .main-footer .widgets-section {
    padding: 28px 0 12px;
  }
}
/* 服务卡片：图标与标题同排 */
.agency-section .agency-block .inner-box .icon-outer {
  display: inline-flex;
  vertical-align: middle;
  margin-bottom: 0;
  margin-right: 16px;
}

.agency-section .agency-block .inner-box h4 {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.3;
}

.agency-section .agency-block .inner-box .text {
  display: block;
  clear: both;
  margin-top: 14px;
}