@charset "utf-8";
/* ===================================================
   site.css - 合并自 ultra.css + main.css
   全站统一样式，按功能区块组织
   已清理：全部多余 !important，仅保留必须的4处
   =================================================== */

/* ===================================================
   1. 全站基础 - :root variables, reset, html/body, tag reset, a, tools, fonts, grid, tab/accordion, animations, section-wrap, padding-box
   =================================================== */

/* 全站响应式断点（统一）：
   小屏≤1400px | 中1401–2560px | 大≥2561px
   横向版心：100% = var(--gutter-x) + 中间内容 + var(--gutter-x)，不设 max-width 像素上限 */
:root {
  --bp-small-max: 1400px;
  --bp-medium-min: 1401px;
  --bp-medium-max: 2560px;
  --bp-large-min: 2561px;
  --gutter-x: 2.5%;
  --header-height: 50px; /* 固定顶栏高度，body padding-top 与 header 共用，避免重复定义 */
  --primary-color: #03F;
  --primary-color-alpha: rgba(0, 51, 255, 0.05);
  --gray-color: #999;
  --text-color: #666;
  --dark-color: #333;
  /* 链接 / 深色按钮：A 正常与悬停(未选中)#666，选中 brandcolor；B 正常#999 或深色区#fff，悬停(未选中)#666，选中 brandcolor */
  --interactive-a: #666;
  --interactive-a-hover: #666;
  --interactive-b-muted: #999;
  --interactive-b-on-dark: #fff;
  --interactive-b-hover: #666;
  --interactive-current: var(--primary-color);
  --light-bg: #fff;
  --transition-base: all 0.3s ease-in-out;
  --font-main: Helvetica, Tahoma, Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
  /* 全站默认行距（body、标题、表单、按钮等） */
  --line-height-base: 2;
  /* 全站圆角与阴影（按钮、弹层等） */
  --site-radius: 0;
  --site-radius-lg: 0;
  --site-shadow: 0 1px 3px rgba(0,0,0,.08);
  --site-shadow-lg: 0 4px 12px rgba(0,0,0,.1);
  --mfp-z-base: 1250;
  --mfp-bg-opacity: 0.8;
  --mfp-close-size: 44px;
  --mfp-arrow-size: 90px;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1.4rem;
  line-height: var(--line-height-base);
  color: var(--text-color);
  outline: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, blockquote, pre, dl, dd, ol, ul,
form, fieldset, legend, figure, table, th, td, caption, hr,
input, button {
  margin: 0;
  padding: 0;
  line-height: inherit;
  font-weight: 100;
  text-indent: 0;
}


h1, h2, h3, h4, h5, h6 { line-height: var(--line-height-base); }
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }


ul, ol { margin: 0; padding: 0; list-style: none; }
img, video {
  max-width: 100%;
  height: auto;
  border: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.page-video {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: var(--interactive-a);
  outline: none;
  transition: color .2s ease-in-out;
  -webkit-transition: color .2s ease-in-out;
}

a:visited {
  color: var(--interactive-a);
}

a:hover,
a:focus-visible {
  color: var(--interactive-a-hover);
}

a.active,
li.active > a,
li.active > a:hover,
li.active > a:focus-visible {
  color: var(--interactive-current);
}
:focus { outline: none; }

::-moz-selection, ::-webkit-selection, ::selection {
  color: #fff;
  background: var(--primary-color);
}

strong { font-weight:700; }

/* Tools */
.oh { overflow: hidden; }
.relative { position: relative; }
.static { position: static; }
.clearfix { *zoom: 1; }
.clearfix:before, .clearfix:after {
  display: table;
  content: "";
}
.clearfix:after { clear: both; }
.clear { clear: both; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.left { float: left; }
.right { float: right; }
.inline-block { display: inline-block; }

.color-white { color: #fff; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: #333; }
.brandcolor,
.brandcolor strong,
strong.brandcolor { color: var(--primary-color); }
.dark-link { color: var(--interactive-a); }
.dark-link:hover,
.dark-link:focus-visible { color: var(--interactive-a-hover); }
.active { color: var(--interactive-current); }
.hotcolor { color: var(--primary-color); }
a.hotcolor,
a.hotcolor:visited,
a.brandcolor,
a.brandcolor:visited {
  color: var(--primary-color);
}
a.hotcolor:hover,
a.hotcolor:focus-visible,
a.brandcolor:hover,
a.brandcolor:focus-visible {
  color: var(--primary-color);
}
.muted { color: var(--gray-color); }

.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-50 { padding-top: 50px; }
.pt-100 { padding-top: 100px; }
.pb-0 { padding-bottom: 0; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-50 { padding-bottom: 50px; }
.mt-20 { margin-top: 20px; }
.mt-50 { margin-top: 50px; }
.mt-100 { margin-top: 100px; }
.mb-10 { margin-bottom: 10px; }
.mb-50 { margin-bottom: 50px; }

.no-padding { padding-left: 0; padding-right: 0; }
.main-container { padding: 0; margin: 0; }
.color-b3 { background-color: #CCC; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.uppercase { text-transform: uppercase; letter-spacing: 0.05em; }
.last { margin-bottom: 0; }
.tlinks { text-indent: -9999px; height: 0; font-size: 0; overflow: hidden; }
.wow { visibility: hidden; }

.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: var(--line-height-base);
  border-radius: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn:hover, .btn:focus {
  color: #333;
  text-decoration: none;
}

.bg-btn {
  padding: 2px 4px;
  text-decoration: none;
  text-align: center;
  border: 1px solid #ccc;
}

/* Fonts */
@font-face {
  font-family: 'FontAwesome';
  src: url('/assets/fonts/fontawesome-webfont.eot?v=4.5.0');
  src: url('/assets/fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'),
       url('/assets/fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'),
       url('/assets/fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'),
       url('/assets/fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-angle-up:before { content: "\f106"; }

@font-face {
  font-family: themify;
  src: url(/assets/fonts/themify.eot?-fvbane);
  src: url(/assets/fonts/themify.eot?#iefix-fvbane) format('embedded-opentype'),
      url(/assets/fonts/themify.woff?-fvbane) format('woff'),
      url(/assets/fonts/themify.ttf?-fvbane) format('truetype');
  font-weight: 400;
  font-style: normal;
}
[class*=" ti-"],[class^=ti-] {
  font-family: themify;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@font-face {
  font-family: Pe-icon-7-stroke;
  src: url(/assets/fonts/Pe-icon-7-stroke.eot?-2irksn);
  src: url(/assets/fonts/Pe-icon-7-stroke.eot?#iefix-2irksn) format('embedded-opentype'),
       url(/assets/fonts/Pe-icon-7-stroke.woff?-2irksn) format('woff'),
       url(/assets/fonts/Pe-icon-7-stroke.ttf?-2irksn) format('truetype');
  font-weight: 400;
  font-style: normal;
}
[class*=" pe-7s-"], [class^=pe-7s-] {
  display: inline-block;
  font-family: Pe-icon-7-stroke;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.pe-7s-anchor:before { content: "\e67c"; }
.pe-7s-box2:before { content: "\e673"; }
.pe-7s-edit:before { content: "\e659"; }
.pe-7s-loop:before { content: "\e63d"; }

@font-face {
  font-family: 'revicons';
  src: url('/assets/fonts/revicons/revicons.eot?5510888');
  src: url('/assets/fonts/revicons/revicons.eot?5510888#iefix') format('embedded-opentype'),
       url('/assets/fonts/revicons/revicons.woff?5510888') format('woff'),
       url('/assets/fonts/revicons/revicons.ttf?5510888') format('truetype'),
       url('/assets/fonts/revicons/revicons.svg?5510888#revicons') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* Grid — 全站版心：100% 宽 + 左右 2.5%，宽度不设 px 上限 */
.container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-x);
  padding-right: var(--gutter-x);
  box-sizing: border-box;
}

.row {
  margin-left: -15px;
  margin-right: -15px;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7,
.col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7,
.col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7,
.col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7,
.col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  float: left;
}

.col-xs-12 { width: 100%; }
.col-xs-6 { width: 50%; }
.col-xs-4 { width: 33.33333333%; }

@media (min-width: 1401px) {
  .col-sm-4 { width: 33.33333333%; }
  .col-sm-6 { width: 50%; }
  .col-sm-12 { width: 100%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.33333333%; }
  .col-md-6 { width: 50%; }
  .col-md-12 { width: 100%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.33333333%; }
}

/* Tab / Accordion */
.collapse { display: none; }
.collapse.in { display: block; }
.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition-property: height, visibility;
  -o-transition-property: height, visibility;
  transition-property: height, visibility;
  -webkit-transition-duration: 0.35s;
  -o-transition-duration: 0.35s;
  transition-duration: 0.35s;
  -webkit-transition-timing-function: ease;
  -o-transition-timing-function: ease;
  transition-timing-function: ease;
}

.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; }

.nav-tabs {
  border: none;
  border-bottom: 1px solid #CCC;
  margin-bottom: -1px;
}
.nav.nav-tabs > li { margin-bottom: -2px; }
.nav.nav-tabs > li > a {
  padding: 10px 20px 10px 2px;
  background-color: transparent;
  border-top: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  border-radius: 0;
  color: var(--text-color);
  font-size: 18px;
}
.nav.nav-tabs > li.active > a,
.nav.nav-tabs > li.active > a:hover,
.nav.nav-tabs > li.active > a:focus {
  border-top: 1px solid var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  background-color: var(--light-bg);
  color: var(--primary-color);
}
.tab-content { padding: 10px 0; }
.tab-pane { color: var(--text-color); }

.accordion .panel-default > .panel-heading {
  position: relative;
  background-color: transparent;
  border-top: 1px solid var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  padding: 0;
  border-radius: 0;
  transition: var(--transition-base);
}
.accordion.panel-group .panel {
  border: none;
  box-shadow: none;
  margin-top: 7px;
}
.accordion .panel-default > .panel-heading > a {
  display: block;
  padding: 5px 0;
  color: var(--text-color);
  font-size: 18px;
  font-weight: bold;
  transition: var(--transition-base);
}
.accordion .panel-heading > a > span {
  display: block;
  width: 13px;
  height: 1px;
  background-color: #333;
  position: absolute;
  right: 38px;
  top: 24px;
}
.accordion .panel-heading > a.plus > span {
  background-color: var(--text-color);
}
.accordion .panel-heading > a.plus > span:after {
  content: "";
  display: block;
  width: 13px;
  height: 1px;
  position: absolute;
  top: 0;
  background-color: var(--text-color);
  transform: rotate(-90deg);
}
.accordion .panel-default > .panel-heading + .panel-collapse > .panel-body {
  padding: 10px 0;
  border: none;
}
.accordion .panel-default > .panel-heading > a:hover,
.accordion .panel-default > .panel-heading:hover a {
  color: var(--primary-color);
}

/* Growth grid */
.growth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-left: 0;
  margin-right: 0;
}
.growth-grid [class*="col-"] {
  padding: 0;
  width: auto;
  max-width: none;
  float: none;
  display: flex;
}
/* 列间距与首页 blog-carousel-gutter 轮播分列一致（cell 左右各 0.5% → 缝 1%） */
@media (min-width: 1401px) and (max-width: 2560px) {
  .growth-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1%;
    row-gap: 24px;
  }
}
@media (min-width: 2561px) {
  .growth-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1%;
    row-gap: 24px;
  }
}
.growth-card {
  flex: 1;
  width: 100%;
  background-color: #f5f5f5;
  border: 1px solid #e8e8e8;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.growth-card-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--dark-color);
  margin: 0 0 12px;
  line-height: var(--line-height-base);
}
.growth-card-text {
  font-size: 14px;
  line-height: var(--line-height-base);
  color: var(--text-color);
  margin: 0;
}

/* Animations */
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes fadeInUp {
  0% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); }
  100% { opacity: 1; -webkit-transform: none; transform: none; }
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translate3d(0, 100%, 0); }
  100% { opacity: 1; transform: none; }
}
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

@-webkit-keyframes slideInUp {
  0% { -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); visibility: visible; }
  100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}
@keyframes slideInUp {
  0% { transform: translate3d(0, 100%, 0); visibility: visible; }
  100% { transform: translate3d(0, 0, 0); }
}
.slideInUp {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
}

@-webkit-keyframes heroCaptionIn {
  0% { opacity: 0; -webkit-transform: translate(-50%, -50%) translateY(200px); transform: translate(-50%, -50%) translateY(200px); }
  100% { opacity: 1; -webkit-transform: translate(-50%, -50%) translateY(0); transform: translate(-50%, -50%) translateY(0); }
}
@keyframes heroCaptionIn {
  0% { opacity: 0; transform: translate(-50%, -50%) translateY(200px); }
  100% { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
}

@keyframes scroll-down-icon {
  0%, 100% { top: 5px; }
  50% { top: 9px; }
}

@keyframes sonarEffect {
  0% { opacity: 0.3; }
  40% {
    opacity: 0.5;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);
    transform: scale(1.3);
    opacity: 0;
  }
}

/* section */
section {
  background-color: var(--light-bg);
  z-index: 1;
  position: relative;
}

.section-wrap {
  overflow: hidden;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.mobile section { background-attachment: scroll; }

.padding-box { padding: 0; }
.padding-box .container {
  width: 100%;
  padding-top: 0px;
  padding-bottom: 0;
}

body:has(.main-container.portfolio-inner) {
  padding-top: var(--header-height);
}
body:has(.main-container.portfolio-inner) .container.text-center.pt-20.pb-10 {
  padding-top: 20px;
  padding-bottom: 0;
}
body:has(.main-container.portfolio-inner) .container.text-center.pt-20.pb-10::before,
body:has(.main-container.portfolio-inner) .container.text-center.pt-20.pb-10::after {
  display: table; content: "";
}
body:has(.main-container.portfolio-inner) .container.text-center.pt-20.pb-10::after {
  clear: both;
}

.top-space, .bottom-space {
  position: fixed;
  width: 100%;
  display: block;
  height: 0;
  top: 0;
  left: 0;
}
.bottom-space { top: auto; bottom: 0; }

.box-label {
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 17px;
  margin: 2.4em 0 .8em;
}

/* ===================================================
   2. header
   =================================================== */
.navbar-fixed-top {
  height: var(--header-height);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.container-fluid.semi-fluid {
  padding: 200px;
  text-align: center;
}

.logo-container {
  position: relative;
  float: left;
  top: 0;
}
.logo-wrap { display: table; }
.logo-wrap > a {
  display: table-cell;
  vertical-align: middle;
  height: var(--header-height);
}
/* 仅作用于 header logo，避免与瀑布流 .masonry_item.logo 冲突 */
.logo-wrap .logo img { height: 20px; }
.logo2 img { height: 16px; }

.headerbox {
  position: relative;
  top: 0;
  float: right;
  text-align: right;
  line-height: 0.8;
}

.headerlitt { display: table; }
.headerlitt a {
  display: block;
  float: right;
  height: var(--header-height);
  color: #fff;
  margin-left: 8px;
  padding-top: 20px;
}
.headerlitt a:hover { color: var(--primary-color); }

.navigation-overlay, .navbar, .nav-type-1 .overlay-menu ul li,
.fs-nav, #nav-icon, #nav-icon span, .overlay-menu ul li a {
  transition: var(--transition-base);
}
.navigation-overlay { width: 100%; }
.navbar {
  margin-bottom: 0;
  border: none;
  min-height: 10px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 1200;
}
.navigation-overlay > .container-fluid { padding: 0 var(--gutter-x); }

.yaaak-header .navbar,
.yaaak-header .navigation-overlay {
  background-color: #fff;
  border-bottom: 1px solid #CCC;
}
.yaaak-header .headerlitt a { color: var(--interactive-a); }
.yaaak-header .headerlitt a:not(.active):hover,
.yaaak-header .headerlitt a:not(.active):focus-visible { color: var(--dark-color); }
.yaaak-header .headerlitt a.active,
.yaaak-header .headerlitt a.active:visited { color: var(--interactive-current); }
.yaaak-header #nav-icon span { background: #333; }
.yaaak-header #nav-icon:hover span,
.yaaak-header #nav-icon.open span { background: #fff; }
.yaaak-header .logo img { filter: brightness(0); }

.nav-type-1 #nav-icon {
  width: var(--header-height);
  height: var(--header-height);
  background-color: transparent;
  top: 0;
  float: right;
  position: relative;
  right: -10px;
  z-index: 300;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 1px;
  width: 60%;
  left: 20%;
  background: #fff;
  opacity: 1;
  transform: rotate(0deg);
}
.nav-type-1 #nav-icon span:nth-child(1) { top: 17px; }
.nav-type-1 #nav-icon span:nth-child(2),
.nav-type-1 #nav-icon span:nth-child(3) { top: 25px; }
.nav-type-1 #nav-icon span:nth-child(4) { top: 33px; }

.nav-type-1 #nav-icon.open span:nth-child(1),
.nav-type-1 #nav-icon.open span:nth-child(4) {
  top: 24px;
  width: 0%;
  left: 50%;
}
#nav-icon.open span:nth-child(3) { transform: rotate(-45deg); }
#nav-icon.open span:nth-child(2) { transform: rotate(45deg); }

.fs-nav {
  position: fixed;
  background-color: #333;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: var(--transition-base);
}
.fs-nav.open {
  opacity: 1;
  visibility: visible;
  z-index: 200;
}
.fs-nav.open li {
  animation: fadeInUp .35s ease forwards;
  animation-delay: .10s;
}

.overlay-quicklinks {
  text-align: center;
  position: absolute;
  bottom: 5%;
  width: 100%;
  font-size: 18px;
  box-sizing: border-box;
}
.overlay-quicklinks a,
.overlay-quicklinks a:visited { color: var(--interactive-b-muted); margin: 0 5px; }
.overlay-quicklinks a:hover,
.overlay-quicklinks a:focus-visible { color: var(--interactive-b-hover); }
.overlay-quicklinks a.active { color: var(--interactive-current); }
.overlay-quicklinks .sep { color: #000; margin: 0 5px; }

.overlay-menu {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}
.overlay-menu ul li {
  display: block;
  position: relative;
  opacity: 0;
  width: 100%;
}
.overlay-menu ul li a,
.overlay-menu ul li a:visited {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0 5px 0 0;
  font-size: 18px;
  color: var(--interactive-b-on-dark);
  font-weight: 300;
  text-transform: uppercase;
}
.overlay-menu ul li:not(.active):hover a { color: var(--interactive-b-hover); }
.overlay-menu ul li.active > a,
.overlay-menu ul li.active:hover > a,
.overlay-menu ul li.active > a:focus-visible {
  color: var(--interactive-current);
}

/* ===================================================
   3. slider / carousel
   =================================================== */
.rev_slider_wrapper {
  position: relative;
  cursor: w-resize;
  z-index: 0;
  width: 100%;
}
.rev_slider { position: relative; overflow: visible; }

.rev_slider_wrapper .tp-video-controls,
.rev_slider_wrapper .tp-pause,
.rev_slider_wrapper .tp-unmute {
  display: none !important;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.tp-simpleresponsive img,
.rev_slider img {
  max-width: none;
  transition: none;
  margin: 0;
  padding: 0;
  border: none;
  user-select: none;
}
.rev_slider > ul,
.rev_slider_wrapper > ul,
.tp-revslider-mainul > li,
.tp-simpleresponsive > ul > li {
  list-style: none;
  position: absolute;
  margin: 0;
  padding: 0;
  overflow: visible;
  top: 0;
  left: 0;
  visibility: hidden;
}

.tp-caption {
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
  display: block;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
.tp-caption.line { content: ""; background-color: #e0b571; }
.tp-caption a { color: #fff; }
.tp-caption a:hover { color: #fff; }

.main-wrapper { overflow-x: hidden; }
.main-wrapper > section:first-child {
  width: 100vw;
  max-width: none;
  padding: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 100vh;
  min-height: 400px;
  overflow: hidden;
}
.main-wrapper > section:first-child .rev_slider_wrapper {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}
.rev_slider_wrapper,
#slider1.rev_slider {
  width: 100%;
  max-width: none;
}

#slider1.rev_slider {
  width: 100% !important;
  height: 100vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
#slider1.rev_slider > ul {
  visibility: visible;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}
#slider1.rev_slider > ul > li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #333;
  overflow: hidden;
}
#slider1.rev_slider img.rev-slidebg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
#slider1.rev_slider > ul > li:not(:first-child) {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
#slider1.rev_slider > ul > li.slide-active .tp-caption {
  visibility: visible;
}

.rev_slider .hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  z-index: 1001;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--gray-color);
  font-size: 24px;
  line-height: 1;
  padding: 0;
  font-family: themify, sans-serif;
  transition: color .2s;
}
.rev_slider .hero-arrow:hover { background: transparent; color: var(--primary-color); }
.rev_slider .hero-arrow-left { left: 15px; }
.rev_slider .hero-arrow-right { right: 15px; }
.rev_slider .hero-arrow-left::before {
  content: "\e629";
  display: block;
  text-align: center;
  line-height: 48px;
}
.rev_slider .hero-arrow-right::before {
  content: "\e628";
  display: block;
  text-align: center;
  line-height: 48px;
}
.rev_slider .hero-dots {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.rev_slider .hero-dots { display: none !important; }

.rev_slider .hero-dot {
  pointer-events: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.4);
  background: rgba(255,255,255,.6);
  cursor: pointer;
  padding: 0;
  transition: background .2s, border-color .2s;
}
.rev_slider .hero-dot:hover {
  background: rgba(255,255,255,.9);
  border-color: rgba(0,0,0,.3);
}
.rev_slider .hero-dot.active {
  background: #333;
  border-color: #333;
}

#slider1.rev_slider .tp-caption { z-index: 10; }
#slider1.rev_slider .tp-caption.hero-text,
#slider1.rev_slider .hero-caption-text {
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 95%;
  max-width: 95%;
  white-space: normal;
  box-sizing: border-box;
  font-size: clamp(28px, 6.5vw, 70px);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: var(--line-height-base);
  margin-left: 0;
  margin-right: 0;
}
#slider1.rev_slider .tp-caption.hero-text strong,
#slider1.rev_slider .hero-caption-text strong { font-weight: 700; }
#slider1.rev_slider .hero-slide1-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}
#slider1.rev_slider .hero-slide1-wrap .tp-caption.hero-caption-text {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  margin: 0;
  text-align: center;
  width: 95%;
  max-width: 95%;
  box-sizing: border-box;
}
#slider1.rev_slider .hero-slide1-wrap .tp-caption.hero-caption-play {
  position: absolute;
  top: 75%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  margin: 0;
  text-align: center;
  width: 95%;
  max-width: 95%;
  box-sizing: border-box;
}
#slider1.rev_slider .hero-slide1-wrap .hero-caption-play .icon-effect-8,
#slider1.rev_slider .hero-slide1-wrap .hero-caption-play .play-btn {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
#slider1.rev_slider .hero-caption-play a.play-btn { cursor: pointer; }

@media (max-width: 1400px) {
  .rev_slider .hero-arrow { width: 40px; height: 40px; }
  .rev_slider .hero-arrow-left::before,
  .rev_slider .hero-arrow-right::before { line-height: 40px; }
}
#slider1.rev_slider {
  width: 100%;
  max-width: none;
  margin: 0;
}
#slider1.rev_slider img.rev-slidebg { width: 100%; }
.main-wrapper > section:first-child { padding: 0; }

/* Flickity */
.blog-slider.flickity-enabled .flickity-prev-next-button {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  left: auto;
  right: auto;
  opacity: 0.9;
  width: 44px;
  height: 44px;
  z-index: 20;
  border-radius: 0;
  background: transparent;
  color: var(--gray-color);
}
.blog-slider.flickity-enabled .flickity-prev-next-button.previous {
  left: 12px;
  right: auto;
}
.blog-slider.flickity-enabled .flickity-prev-next-button.next {
  right: 12px;
  left: auto;
}
.blog-slider.flickity-enabled:hover .flickity-prev-next-button.previous {
  left: 12px;
  opacity: 1;
}
.blog-slider.flickity-enabled:hover .flickity-prev-next-button.next {
  right: 12px;
  opacity: 1;
}
.blog-slider.flickity-enabled .flickity-prev-next-button:hover {
  background: transparent;
  color: var(--primary-color);
}

.custom.tparrows {
  background-color: transparent;
  cursor: pointer;
}
.custom.tparrows:before { font-family: "Themify"; font-size: 20px; }
.custom.tparrows.tp-leftarrow:before { content: '\e629'; }
.custom.tparrows.tp-rightarrow:before { content: '\e628'; }

.tparrows {
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  position: absolute;
  display: block;
  z-index: 1000;
}
.tparrows:hover { background: #000; }
.tparrows:before {
  font-family: "revicons";
  font-size: 15px;
  color: #fff;
  display: block;
  line-height: 40px;
  text-align: center;
}
.tparrows.tp-leftarrow:before { content: '\e824'; }
.tparrows.tp-rightarrow:before { content: '\e825'; }

.tp-bannertimer {
  visibility: hidden;
  width: 100%;
  height: 5px;
  background: rgba(0, 0, 0, 0.15);
  position: absolute;
  z-index: 200;
  top: 0;
}
.tp-bannertimer.tp-bottom { top: auto; bottom: 0; }

.flickity-enabled { position: relative; }
.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}
.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.flickity-prev-next-button {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;

  height: 90px;
  opacity: 0;
  padding: 0;
  transition: var(--transition-base);
  background-color: transparent;
  font-family: 'FontAwesome', themify, sans-serif;
  font-size: 20px;
  color: var(--primary-color);
  border: none;
  cursor: pointer;
}
.flickity-prev-next-button.previous { left: -90px; }
.flickity-prev-next-button.next { right: -90px; }
.blog-slider:hover .flickity-prev-next-button.previous {
  opacity: 1;
  left: 0;
}
.blog-slider:hover .flickity-prev-next-button.next {
  opacity: 1;
  right: 0;
}
.flickity-prev-next-button.previous:after { content: "\f104"; display: inline-block; }
.flickity-prev-next-button.next:after { content: "\f105"; display: inline-block; }
.flickity-prev-next-button svg { display: none; }

.flickity-page-dots {
  position: relative;
  bottom: 0;
  margin-top: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 20;
}
.flickity-page-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  opacity: .7;
  border-radius: 50%;
  background: transparent;
  z-index: 100;
  border: none;
  cursor: pointer;
  transition: all .2s ease-in-out;
  position: relative;
}
.flickity-page-dots .dot:after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--text-color);
  transform: scale(0.5);
  border-radius: 50%;
  pointer-events: none;
}
.flickity-page-dots .dot.is-selected {
  opacity: 1;
  box-shadow: 0 0 0 1px var(--primary-color);
}
.flickity-page-dots .dot.is-selected:after { background-color: var(--primary-color); }
.flickity-page-dots .dot:hover { opacity: 1; }

/* #maxbox */
#maxbox {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 280px;
  margin: 60px 0 0;
  overflow: hidden;
}
#maxbox #example4, #maxbox .slider-pro2, #maxbox .sp-slides-container, #maxbox .sp-mask {
  width: 100%;
  height: 100%;
  margin: 0;
  max-width: none;
}
#maxbox .sp-slides, #maxbox .sp-slide { position: relative; height: 100%; }
#maxbox .sp-slide { position: absolute; width: 100%; overflow: hidden; }
#maxbox .sp-back2 { position: absolute; inset: 0; width: 100%; height: 100%; }
#maxbox .sp-back2 img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
#maxbox .sp-box { position: absolute; bottom: 5%; left: 2%; width: 96%; text-align: center; }
#maxbox .sp-box p, #maxbox .sp-box p a { color: #fff; }
#maxbox .sp-box p a:hover { color: var(--primary-color); }
#maxbox .carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 10;
}
#maxbox .carousel-dots .dot {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(circle 1px at center, var(--gray-color) 100%, transparent 100%);
}
#maxbox .carousel-dots .dot.active {
  background: radial-gradient(circle 1px at center, var(--primary-color) 100%, transparent 100%);
}

#maxbox .sp-buttons { display: none !important; }

#maxbox .sp-slide img { animation: zoomin 9s ease-in-out infinite alternate; }
@keyframes zoomin { 0% { transform: scale(1); } 100% { transform: scale(1.2); } }

.section-wrap.from-blog {
  border-bottom: none;
  background-color: #fff;
  margin-bottom: 0;
  padding-bottom: 0;
}
/* 仅首屏 hero：轮播紧贴 header；首页等中段 from-blog 通栏仍保留自身 pt-* */
.section-wrap.from-blog.blog-carousel-fullwidth#hero { padding-top: 0; }
.section-wrap.from-blog .container { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

/* 通栏轮播：默认贴齐视口左右（无版心 padding）；仅首页 #blog / #results 加 .blog-carousel-gutter */
.blog-carousel-fullwidth .container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  text-align: center;
}
/* 首页：与全站 .container 相同，仅左右 --gutter-x；slide 不再额外 padding，避免比下方版块更窄 */
.blog-carousel-fullwidth.blog-carousel-gutter .container {
  padding-left: var(--gutter-x);
  padding-right: var(--gutter-x);
}
.blog-carousel-fullwidth .blog-slider { text-align: center; }
.blog-carousel-fullwidth .gallery-cell { text-align: center; }
.blog-carousel-fullwidth .entry-img img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===================================================
   4. intro / cta
   =================================================== */
.intro { padding: 20px 0; }
.intro .intro-desc {
  margin-top: 12px;
  color: #666;
  font-size: 15px;
  line-height: var(--line-height-base);
}
.intro .intro-phone { font-size: 1.2em; margin: 0.5em 0; font-weight: 500; }
.intro .intro-phone a { color: inherit; }

.service-tabs,
.section-wrap.intro { background: var(--light-bg); }

/* 联系页 h1 副行（勿与 .service-tabs 逗号合并，否则会整区 0.58em 缩小） */
#intro .contact-hero-subline {
  display: block;
  margin-top: 0.4em;
  font-size: 0.58em;
  font-weight: normal;
  color: var(--text-color);
  line-height: var(--line-height-base);
}
.service-tabs .tabs-wrap,
.section-wrap.intro .container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin: 10px 0 6px; }
.service-tabs .tabs-wrap {
  text-align: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.service-tabs .tablist { grid-row: 1; }
.service-tabs .tabpanel {
  grid-area: 2 / 1 / 3 / 2;
  align-self: start;
  margin: 0;
  padding: 12px 0;
  visibility: hidden;
  pointer-events: none;
}
.service-tabs .tabpanel.active {
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  animation: slideInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  justify-content: center;
}
.tablist button {
  cursor: pointer;
  border: 1px solid var(--interactive-a);
  background: var(--interactive-a);
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2em;
  height: 4.2em;
  min-width: 4.2em;
  min-height: 4.2em;
  padding: 0;
  border-radius: 50%;
  box-sizing: border-box;
}
.tablist button:hover:not([aria-selected="true"]),
.tablist button:focus-visible:not([aria-selected="true"]) {
  background: var(--dark-color);
  border-color: var(--dark-color);
}
.tablist button[aria-selected="true"] {
  background: var(--interactive-current);
  border-color: var(--interactive-current);
}

/* 深色圆钮方案 B：常态 #999，悬停(未选中) #666，选中 brandcolor */
.tablist--tone-b button {
  border-color: var(--interactive-b-muted);
  background: var(--interactive-b-muted);
  color: #fff;
}
.tablist--tone-b button:hover:not([aria-selected="true"]),
.tablist--tone-b button:focus-visible:not([aria-selected="true"]) {
  background: var(--interactive-b-hover);
  border-color: var(--interactive-b-hover);
}
.tablist--tone-b button[aria-selected="true"] {
  background: var(--interactive-current);
  border-color: var(--interactive-current);
}

.service-tabs .tabpanel h2 { font-size: 18px; margin: 0 0 12px; color: var(--dark-color); }
.service-tabs .tabpanel p { margin: 6px 0; }
.service-tabs .tabpanel p:last-child { margin-bottom: 0; }

.panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5%;
}
@media (min-width: 1401px) { .panel-grid { grid-template-columns: repeat(2, 1fr); } }
.panel-card {
  border-top: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
}
.panel-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--dark-color); }
.panel-card ul { margin: 0; color: #333; }
.panel-card li { margin: 4px 0; }

.faq-grid {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  margin: 0 -1%;
}
.faq-item {
  width: 98%;
  margin: 0 1% 10px;
  box-sizing: border-box;
}
@media (min-width: 1401px) {
  .faq-item { width: 48%; }
}

.btn-primary, .btn-ghost {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 0;
  margin-right: 3px;
  line-height: var(--line-height-base);
  transition: all .3s ease;
}
.btn-primary {
  background: var(--primary-color);
  color: var(--light-bg);
  border: 1px solid var(--primary-color);
  box-shadow: var(--site-shadow);
}
.btn-primary:hover { filter: brightness(1.1); box-shadow: var(--site-shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid rgba(0,51,255,.35);
}
.btn-ghost:hover { background: rgba(0,51,255,.06); }
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:focus-visible {
  color: var(--light-bg);
}
a.btn-ghost:visited,
a.btn-ghost:hover,
a.btn-ghost:focus-visible {
  color: var(--primary-color);
}
.btn-primary:last-child, .btn-ghost:last-child { margin-right: 0; }

/* ===================================================
   5. 通用瀑布流 - .masonry_item, .box, .img_holder, .portfolio, .categories-grid
   =================================================== */

.masonry_item { overflow: hidden;}
.masonry_item h3 { padding: 12px 0 0; margin: 0; }
.masonry_item p { padding: 0 0 0; margin: 0; }
.portfolio_container .masonry_item.main1x { padding: 20px var(--gutter-x) 0; width: 100%; box-sizing: border-box; }

/* 案例列表等（无 --casedetail）：原 .box 双列/三列宽度，避免仅有 main1x 时被拉成单列全宽 */
.portfolio_container:not(.portfolio_container--casedetail) .masonry_item.main1x {
  float: left;
  width: 95%;
  margin-left: 2.5%;
  margin-top: 40px;
  position: relative;
  box-sizing: border-box;
}
@media (min-width: 1401px) and (max-width: 2560px) {
  .portfolio_container:not(.portfolio_container--casedetail) .masonry_item.main1x {
    width: 46.25%;
  }
}
@media (min-width: 2561px) {
  .portfolio_container:not(.portfolio_container--casedetail) .masonry_item.main1x {
    width: 30%;
  }
}

.portfolio_container:not(.portfolio_container--casedetail) .masonry_item.main1x > a:first-child {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 5px 0;
}
.portfolio_container:not(.portfolio_container--casedetail) .masonry_item.main1x > a:first-child img {
  width: 100%;
  transition: all 0.7s ease-in-out;
}
.portfolio_container:not(.portfolio_container--casedetail) .masonry_item.main1x > a:first-child:hover img {
  transform: scale(1.2);
}

.portfolio_container:not(.portfolio_container--casedetail) .masonry_item.main1x > img {
  width: 100%;
  display: block;
  padding: 5px 0;
  box-sizing: border-box;
  transition: transform 0.7s ease-in-out;
}
.portfolio_container:not(.portfolio_container--casedetail) .masonry_item.main1x:hover > img {
  transform: scale(1.2);
}

/* 案例详情页瀑布流：窄屏+中屏 1 列，宽屏 2 列（Isotope + grid-sizer） */
/* 后半部分没有自动排上去 ← 此步骤的状态 */
.portfolio_container--casedetail .grid-sizer {
  width: 95%;
  margin-left: 2.5%;
  position: absolute;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}
@media (min-width: 1401px) {
  .portfolio_container--casedetail .grid-sizer {
    width: 46.25%;
  }
}
.portfolio_container--casedetail .masonry_item.main1x {
  width: 95%;
  margin-left: 2.5%;
  margin-top: 10px;
  padding: 20px 0 0;
  float: left;
  position: relative;
}
@media (min-width: 1401px) {
  .portfolio_container--casedetail .masonry_item.main1x {
    width: 46.25%;
  }
}

.box {
  float: left;
  width: 95%;
  margin-left: 2.5%;
  margin-top: 40px;
  position: relative;
}
@media (min-width: 1401px) and (max-width: 2560px) { .box { width: 46.25%; } }
@media (min-width: 2561px) { .box { width: 30%; } }

.img_holder { position: relative; overflow: hidden; padding: 5px 0; }
.img_holder img { width: 100%; transition: all 0.7s ease-in-out; }
.img_holder:hover img { transform: scale(1.2); }

.section-divider {
  width: 100%;
  height: 1px;
  background: var(--gray-color);
  margin: 12px 0;
  clear: both;
}

/* 联系页：办公室区块内含浮动瀑布，避免 section-wrap 默认 overflow:hidden 与 margin 折叠导致分割线/留白异常 */
#contact-offices.section-wrap {
  overflow: visible;
  padding-bottom: 40px;
}
.line1 { width: 100%; height: 1px; display: block; background: var(--gray-color); margin-top: 10px; }
.portfolio-inner { padding-bottom: 0; padding-top: 0; }
/* .portfolio-inner 写在本文件后段，会把前面的 .pt-* 顶掉；补组合选择器恢复工具类 */
.portfolio-inner.pt-10 { padding-top: 10px; }
.portfolio-inner.pt-20 { padding-top: 20px; }
.portfolio-inner.pt-50 { padding-top: 50px; }
.portfolio-inner.pt-100 { padding-top: 100px; }

.categories-grid {
  margin-left: 0;
  width: 100%;
  padding-left: var(--gutter-x);
  padding-right: var(--gutter-x);
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}
.no-padding.portfolio_container { padding-top:0px; }
.portfolio .categories-grid .categories br { display: none; }
.portfolio .categories-grid .categories ul.portfolio_filter {
  overflow: hidden;
  margin-bottom: 5px;
}
.portfolio .categories-grid .categories ul.portfolio_filter .color-b3,
.portfolio .categories-grid .categories ul.portfolio_filter .color-b1,
.portfolio .categories-grid .categories ul.portfolio_filter .color-b2 {
  background-color: transparent;
}
.portfolio .categories-grid .categories ul.portfolio_filter:last-child { margin-bottom: 0; }
.portfolio .categories-grid .categories ul li {
  float: left;
  margin-top: 4px;
}
.portfolio .categories-grid .categories ul li a,
.portfolio .categories-grid .categories ul li a:visited {
  padding: 3px 6px;
  border: 1px solid var(--interactive-b-muted);
  color: var(--interactive-b-muted);
  border-radius: 0;
  margin-right: 2px;
  display: inline-block;
}
.portfolio .categories-grid .categories ul li a:hover:not(.active),
.portfolio .categories-grid .categories ul li a:focus-visible:not(.active) {
  color: var(--interactive-b-hover);
  border-color: var(--interactive-b-hover);
}
.portfolio .categories-grid .categories ul.portfolio_filter li:first-child a {
  background: var(--primary-color-alpha);
}
.portfolio .categories-grid .categories ul.portfolio_filter li:first-child a.active {
  background: var(--primary-color);
  color: var(--light-bg);
}
.portfolio .categories-grid .categories ul li:not(:first-child) a.active {
  background: var(--primary-color);
  color: var(--light-bg);
}

.main1 { width: 100%; display: block; padding: 20px var(--gutter-x) 0; overflow: hidden; background: none; box-sizing: border-box; }
.main1x { width: 100%; float: left; padding: 20px var(--gutter-x) 0; box-sizing: border-box; display: block; overflow: hidden; }
.main1x:first-child { padding-top: 0; }
.main1x img { width: 100%; }

.portfolio_container .box h3 {
  font-weight: 700;
}



/* ===================================================
   6. 通用方案区 - .benefits, .benefits-box, .service-item-box, .statistic
   =================================================== */

.benefits .benefits-box span {
  font-size: 60px;
  color: var(--primary-color);
  font-weight: 100;
}
.benefits .benefits-box h3 { margin: 10px 0; }

.statistic span.timer,
.statistic a span {
  color: var(--primary-color);
  font-size: 20px;
}

.service-item-box {
  position: relative;
  margin-top: 20px;
}
.service-item-box a {
  color: var(--primary-color);
  display: inline-block;
}
.service-item-box a:hover { color: var(--text-color); }
.service-item-box i { font-size: 42px; }

/* ===================================================
   7. 通用交互版块 - .consult-modal, .consult-dialog, .consult-float
   =================================================== */

.consult-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.consult-modal[aria-hidden="false"] { display: flex; }

.consult-dialog {
  width: 100%;
  max-width: 720px;
  background: var(--light-bg);
  border-radius: var(--site-radius-lg);
  overflow: hidden;
  box-shadow: var(--site-shadow-lg);
}
.consult-head {
  padding: 14px 16px;
  border-bottom: 1px solid #CCC;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.consult-body { padding: 14px 16px; }
.consult-dialog,
.consult-dialog .consult-head h3,
.consult-dialog .consult-box,
.consult-dialog .consult-box strong,
.consult-dialog .consult-box p,
.consult-dialog .consult-box .muted,
.consult-dialog .consult-form label,
.consult-dialog .consult-char-hint,
.consult-dialog .btn-primary,
.consult-dialog .btn-ghost,
.consult-dialog input,
.consult-dialog textarea,
.consult-dialog .consult-close,
.consult-dialog .consult-tip-full { font-size: 14px; }

.consult-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 520px) { .consult-grid { grid-template-columns: 1fr 1fr; } }

.consult-box {
  border: 1px solid #CCC;
  border-radius: var(--site-radius-lg);
  padding: 12px;
  background: #fafafa;
  box-shadow: var(--site-shadow);
}
.consult-box strong { color: #333; }
.consult-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consult-actions .consult-tip-full { width: 100%; order: 10; }
.consult-close { border: 0; background: transparent; line-height: 1; padding: 8px; margin-right: 3px; cursor: pointer; border-radius: 0; }
.consult-actions .btn-primary, .consult-actions .btn-ghost { margin-right: 3px; }
.consult-actions .btn-ghost:last-child, .consult-actions .btn-primary:last-child { margin-right: 0; }

.consult-form label { display: block; color: #666; margin: 8px 0 4px; }
.consult-form .consult-char-hint {
  display: block;
  color: #666;
  margin-top: 4px;
  text-align: left;
}
.consult-form .consult-char-hint.near-limit { color: #c00; }
.consult-form input, .consult-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #CCC;
  border-radius: var(--site-radius-lg);
  background: #fff;
  font-family: inherit;
  line-height: var(--line-height-base);
}
.consult-form textarea { min-height: 88px; resize: vertical; }

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 14px; top: 14px; width: auto; height: auto; padding: 10px 12px; background: #fff; z-index: 10001; border-radius: 0; border: 1px solid #CCC; }

.consult-float {
  position: fixed;
  right: 20px;
  bottom: 95px;
  z-index: 9999;
  background: var(--primary-color);
  padding: 15px 20px;
  border-radius: 0;
  box-shadow: var(--site-shadow-lg);
  color: var(--light-bg);
}
.consult-float .tel { font-size: 20px; font-weight: bold; margin: 10px 0; }
.consult-float .btn {
  display: inline-block;
  background: var(--light-bg);
  color: var(--primary-color);
  padding: 8px 15px;
  border-radius: 0;
  text-decoration: none;
  margin-top: 10px;
  border: 1px solid currentColor;
}
.consult-float .btn:hover { filter: brightness(0.97); }

/* ===================================================
   8. 通用快捷信息版 - #cases, #cases-heading, .icon-boxes, .heading.r
   =================================================== */

#cases .main1 { text-align: center; }

.heading { margin: 20px 0; }
.heading.r { line-height: var(--line-height-base); }
.subheading {
  color: var(--text-color);
  font-size: 18px;
  font-style: italic;
}
/* 正文段落默认跟随父级/body 字号，避免误用 em 链或误合并选择器导致整区缩放 */
p { color: var(--text-color); font-size: inherit; }

/* blog-slider 每个 cell 宽度由 JS 按屏宽分段写入；不在这里写死列宽 */
.gallery-cell { margin: 0; box-sizing: border-box; }
/* 非通栏 from-blog 轮播：slide 之间留左右间隙 */
.blog-slider.flickity-enabled .flickity-slider > .gallery-cell {
  padding-left: 1.25%;
  padding-right: 1.25%;
}
/* 通栏轮播：slide 在版心内贴齐无侧缝 */
.blog-carousel-fullwidth .blog-slider.flickity-enabled .flickity-slider > .gallery-cell {
  padding-left: 0;
  padding-right: 0;
}
/* 首页 #blog / #results：版心外仍是 --gutter-x；slide 之间用小内边距挤出缝（不改 JS 列宽） */
.blog-carousel-fullwidth.blog-carousel-gutter .blog-slider.flickity-enabled .flickity-slider > .gallery-cell {
  padding-left: 0.5%;
  padding-right: 0.5%;
}
/* 轮播图下方说明：与正文一致字号，仅保留辅色 */
.gallery-cell .entry-img + p {
  margin: 10px 0 0;
  font-size: inherit;
  color: var(--gray-color);
}
.entry-img {
  position: relative;
  overflow: hidden;
  display: block;
  isolation: isolate;
}
.entry-img a { display: block; overflow: hidden; }
.entry-img img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  transition: transform 0.7s ease-in-out;
  transform-origin: center center;
}
.hover-scale:hover img { transform: scale(1.2); }

.breadcrumb-section { padding: 15px var(--gutter-x); font-size: 14px; color: var(--text-color); border-bottom: 1px solid #CCC; margin-bottom: 20px; box-sizing: border-box; }
.breadcrumb-section a { color: var(--dark-color); }
.breadcrumb-section a:hover { color: var(--primary-color); }
.breadcrumb { padding: 10px var(--gutter-x); width: 100%; max-width: 100%; margin: 0 auto 20px; font-size: 14px; color: var(--text-color); box-sizing: border-box; }
.breadcrumb a { color: var(--text-color); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-color); }
audio { margin: 10px 0; width: 100%; max-width: 400px; outline: none; }
.audio-text { font-size: 14px; color: var(--gray-color); }

/* ===================================================
   9. 影视页首屏标题：与首页 #slider1 .hero-text 同阶（clamp + 字重）
   =================================================== */

#hero .video-hero-heading {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  margin: 0;
  width: 95%;
  max-width: 95%;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
  white-space: normal;
  font-size: clamp(28px, 6.5vw, 70px);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: var(--line-height-base);
}
#hero .video-hero-heading strong { font-weight: 700; }


/* ===================================================
   10. 通用 footer - 简化结构
   =================================================== */

#footers {
  width: 100%;
  padding: 50px var(--gutter-x);
  margin-top: 20px;
  background: #333;
  color: var(--gray-color);
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 1400px) {
  .footer1 { width: 100%; }
}

@media (min-width: 1401px) {
  .footer1 { width: 33.3%; }
}

.footer2 {
  width: 100%;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footers a,
#footers a:visited { color: var(--interactive-b-on-dark); }
#footers a:hover,
#footers a:focus-visible { color: var(--interactive-b-hover); }
#footers a.active,
#footers li.active > a { color: var(--interactive-current); }
#footers p { color: var(--gray-color); margin: 8px 0; }

/* ===================================================
   Plus: #back-to-top, .scroll-down, .play-btn
   =================================================== */

#back-to-top {
  display: block;
  z-index: 1000;
  width: 40px;
  height: 40px; margin-right: 10px;
  text-align: center;
  font-size: 20px;
  position: fixed;
  bottom: -40px;
  right: 2.5%;
  border-radius: 50%;
  transition: var(--transition-base);
  background-color: var(--primary-color);
}
#back-to-top a {
  width: 100%;
  height: 100%;
  display: block;
  color: #fff;
}
#back-to-top.show { bottom: 40px; }
#back-to-top:hover { background-color: #666; }

.cd-top {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: 20px;
  right: 2.5%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  box-shadow: var(--site-shadow);
}
.cd-top.cd-is-visible { opacity: 1; visibility: visible; }
.cd-top:hover { background: var(--primary-color); }

.scroll-down {
  font-size: 16px;
  width: 23px;
  height: 34px;
  border: 2px solid #fff;
  background-color: transparent;
  border-radius: 11px;
  text-align: center;
  z-index: 50 !important;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-down span {
  background-color: #fff;
  display: block;
  width: 3px;
  height: 7px;
  animation: scroll-down-icon 1s infinite;
  position: absolute;
  left: 8px;
}

.play-btn {
  display: inline-block;
  width: 100px;
  height: 100px;
  background-color: rgba(0,0,0,.2);
  border-radius: 50%;
  position: relative;
  border: 10px solid rgba(255,255,255,.2);
  background-clip: padding-box;
  transition: transform 1s linear;
}
.play-btn:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}

.icon-effect-8 .hi-icon {
  transition: transform ease-out 0.1s, background 0.2s;
  position: relative;
  border-radius: 0;
}
.icon-effect-8 .hi-icon:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,1);
  pointer-events: none;
}
.icon-effect-8 .play-btn.hi-icon { border-radius: 50%; }
.icon-effect-8 .play-btn.hi-icon:after { border-radius: 50%; }
.icon-effect-8 .hi-icon:hover { transform: scale(0.93); }
.icon-effect-8 .hi-icon:hover:after {
  animation: sonarEffect 1.3s ease-out infinite;
}

/* ===================================================
   Magnific Popup
   =================================================== */

.mfp-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--mfp-z-base);
  background: #000;
  opacity: var(--mfp-bg-opacity);
}

.mfp-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: calc(var(--mfp-z-base) + 1);
  outline: none;
  backface-visibility: hidden;
}

.mfp-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 8px;
  box-sizing: border-box;
  text-align: center;
}

.mfp-container::before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container::before { display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: calc(var(--mfp-z-base) + 5);
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur { cursor: progress; }
.mfp-zoom { cursor: zoom-in; }
.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close { cursor: zoom-out; }
.mfp-auto-cursor .mfp-content { cursor: auto; }

.mfp-preloader {
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  z-index: calc(var(--mfp-z-base) + 4);
  color: #ccc;
  text-align: center;
  margin-top: -0.8em;
}
.mfp-preloader a { color: #ccc; text-decoration: none; }
.mfp-preloader a:hover { color: #fff; }
.mfp-s-ready .mfp-preloader { display: none; }
.mfp-s-error .mfp-content { display: none; }

button.mfp-close,
button.mfp-arrow {
  position: absolute;
  z-index: calc(var(--mfp-z-base) + 6);
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  box-shadow: none;
  appearance: none;
}
button::-moz-focus-inner { border: none; padding: 0; }

.mfp-close {
  top: 0;
  right: 0;
  width: var(--mfp-close-size);
  height: var(--mfp-close-size);
  line-height: var(--mfp-close-size);
  color: #fff;
  font-size: 28px;
  font-family: Arial, monospace;
  text-align: center;
  opacity: 0.65;
}
.mfp-close:hover, .mfp-close:focus { opacity: 1; }
.mfp-close-btn-in .mfp-close { color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  right: -6px;
  width: 100%;
  text-align: right;
  padding-right: 6px;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #ccc;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  top: 50%;
  width: var(--mfp-arrow-size);
  height: 110px;
  margin-top: -55px;
  opacity: 0.65;
  tap-highlight-color: transparent;
}
.mfp-arrow:hover, .mfp-arrow:focus { opacity: 1; }
.mfp-arrow::before, .mfp-arrow::after {
  content: '';
  position: absolute;
  top: 35px;
  left: 35px;
  width: 0;
  height: 0;
  border: medium inset transparent;
}
.mfp-arrow::after {
  top: 43px;
  border-top-width: 13px;
  border-bottom-width: 13px;
}
.mfp-arrow::before {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}
.mfp-arrow-left { left: 0; }
.mfp-arrow-left::after {
  left: 31px;
  border-right: 17px solid #fff;
}
.mfp-arrow-left::before {
  left: 25px;
  border-right: 27px solid #333;
}
.mfp-arrow-right { right: 0; }
.mfp-arrow-right::after {
  left: 39px;
  border-left: 17px solid #fff;
}
.mfp-arrow-right::before {
  border-left: 27px solid #333;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 2400px;
}
.mfp-iframe-holder .mfp-close {
  top: -40px;
  right: 14px;
  background: transparent;
  width: 66px;
  height: 66px;
  line-height: 66px;
  font-size: 42px;
}
.mfp-iframe-scaler {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}
.mfp-iframe-scaler iframe,
.mfp-iframe-scaler video.mfp-video-player {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}
.mfp-iframe-scaler video.mfp-video-player { object-fit: cover; }

img.mfp-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
  line-height: 0;
}
.mfp-figure {
  position: relative;
  line-height: 0;
  margin: 0;
}
.mfp-figure::after {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: -1;
  background: #333;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.mfp-figure small {
  display: block;
  color: var(--gray-color);
  font-size: 12px;
  line-height: 14px;
}
.mfp-bottom-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: -36px;
  cursor: auto;
}
.mfp-title {
  color: #CCC;
  line-height: 18px;
  text-align: left;
  word-wrap: break-word;
  padding-right: 36px;
}
.mfp-image-holder .mfp-content { max-width: 100%; }
.mfp-gallery .mfp-image-holder .mfp-figure { cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape),
screen and (max-height: 300px) {
  .mfp-img-mobile .mfp-image-holder { padding: 0; }
  .mfp-img-mobile img.mfp-img { padding: 0; }
  .mfp-img-mobile .mfp-figure::after { top: 0; bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    position: fixed;
    bottom: 0;
    top: auto;
    margin: 0;
    padding: 3px 5px;
    background: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty { padding: 0; }
  .mfp-img-mobile .mfp-counter {
    top: 3px;
    right: 5px;
  }
  .mfp-img-mobile .mfp-close {
    position: fixed;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    padding: 0;
  }
}

@media all and (max-width: 900px) {
  .mfp-arrow { transform: scale(0.75); }
  .mfp-arrow-left { transform-origin: 0; }
  .mfp-arrow-right { transform-origin: 100%; }
  .mfp-container { padding: 0 6px; }
}

.mfp-ie7 .mfp-img { padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  margin: 5px 0 0 -300px;
  padding-bottom: 5px;
  left: 50%;
}
.mfp-ie7 .mfp-container { padding: 0; }
.mfp-ie7 .mfp-content { padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0;
}