@import url("/site-icons.css");
header.site-legacy-header {
  display: none !important;
}
header.site-header {
  box-sizing: border-box !important;
  display: block !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 75 !important;
  width: 100% !important;
  min-height: 80px !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(255, 250, 253, 0.97) !important;
  border: 0 !important;
  border-bottom: 1px solid #f0e0eb !important;
  backdrop-filter: blur(16px);
  font-family: SiteArrowIcons, system-ui, "Microsoft YaHei", sans-serif !important;
  color: #2c2345 !important;
  text-align: left !important;
}
header.site-header * {
  box-sizing: border-box;
}
.site-header .site-header-inner {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  max-width: 1330px !important;
  min-height: 80px !important;
  padding: 14px 28px !important;
  margin: auto !important;
}
.site-header a {
  text-decoration: none !important;
}
.site-header .site-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  color: #2c2345 !important;
  font-size: 23px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px !important;
  white-space: nowrap !important;
}
.site-header .site-brand img {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.site-header .site-brand small {
  display: block !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  color: #b18a9a !important;
  margin-top: 5px !important;
}
.site-header .site-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 19px !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  order: 0 !important;
  position: static !important;
  background: none !important;
  border: 0 !important;
}
.site-header .site-nav a {
  display: block !important;
  padding: 9px 0 !important;
  white-space: nowrap !important;
  color: #2c2345 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 750 !important;
}
.site-header .site-nav a:hover,
.site-header .site-nav a[aria-current] {
  color: #cf638c !important;
}
.site-header .site-header-tools {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-shrink: 0 !important;
}
.site-header .site-consult {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #e383a5 !important;
  color: white !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 13px 22px !important;
  white-space: nowrap !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
}
.site-header .site-consult:hover {
  background: #c45f88 !important;
}
.site-header .site-menu-toggle {
  display: none !important;
}
.site-header :focus-visible {
  outline: 3px solid #8955ad !important;
  outline-offset: 4px !important;
}
@media (min-width: 1001px) and (max-width: 1180px) {
  .site-header .site-header-inner {
    gap: 15px !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .site-header .site-brand {
    font-size: 20px !important;
  }
  .site-header .site-brand small {
    font-size: 8px !important;
    letter-spacing: 1.6px !important;
  }
  .site-header .site-nav {
    gap: 14px !important;
  }
  .site-header .site-header-tools {
    gap: 12px !important;
  }
  .site-header .site-consult {
    padding: 12px 17px !important;
  }
}
@media (max-width: 1000px) {
  .site-header .site-header-inner {
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 13px 20px !important;
  }
  .site-header .site-brand {
    font-size: 20px !important;
  }
  .site-header .site-brand small {
    font-size: 8px !important;
    letter-spacing: 1.7px !important;
  }
  .site-header .site-brand img {
    width: 41px !important;
    height: 41px !important;
  }
  .site-header .site-header-tools {
    margin-left: auto !important;
    gap: 11px !important;
  }
  .site-header .site-consult {
    font-size: 12px !important;
    padding: 11px 16px !important;
  }
  .site-header .site-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 36px !important;
    height: 36px !important;
    border: 0 !important;
    padding: 7px !important;
    margin: 0 !important;
    background: none !important;
    cursor: pointer !important;
  }
  .site-header .site-menu-toggle span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #302541 !important;
  }
  .site-header .site-nav {
    display: none !important;
    flex-basis: 100% !important;
    order: 3 !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding-top: 8px !important;
    border-top: 1px solid #efdfe8 !important;
  }
  .site-header.site-menu-open .site-nav {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .site-header .site-nav a {
    text-align: center !important;
    padding: 12px 8px !important;
  }
  .site-header .site-menu-toggle[aria-expanded="true"] {
    background: #f8e7ef !important;
    border-radius: 8px !important;
  }
}
@media (max-width: 580px) {
  .site-header .site-header-inner {
    padding: 12px 16px !important;
  }
  .site-header .site-brand {
    font-size: 18px !important;
  }
  .site-header .site-brand img {
    width: 38px !important;
    height: 38px !important;
  }
  .site-header .site-brand small {
    font-size: 7px !important;
    letter-spacing: 1.3px !important;
  }
  .site-header .site-header-tools {
    gap: 7px !important;
  }
  .site-header .site-consult {
    padding: 10px 13px !important;
  }
  .site-header .site-header-tools {
    flex-wrap: wrap !important;
  }
  .site-header .site-nav a {
    font-size: 12px !important;
  }
  .site-header.site-menu-open .site-nav {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 450px) {
  .site-header .site-header-inner {
    gap: 10px !important;
  }
  .site-header .site-brand {
    flex: 1 !important;
  }
  .site-header .site-header-tools {
    margin: 0 !important;
    width: 100% !important;
    justify-content: flex-end !important;
  }
}

/* International brand and long multilingual navigation */
.site-header .site-header-inner {
  flex-wrap: wrap !important;
  gap: 12px 22px !important;
}
/* 中文名称置顶；品牌与操作区分开约束，避免长名称挤压语言控件。 */
.site-header .site-brand {
  min-width: 0 !important;
  flex: 0 1 auto !important;
  letter-spacing: 0 !important;
  color: #244137 !important;
}
.site-header .site-brand > .site-brand-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  min-width: 0 !important;
  white-space: normal !important;
}
.site-header .site-brand-copy strong {
  display: block !important;
  font:
    500 13px/1.4 SiteArrowIcons,
    system-ui,
    sans-serif !important;
  letter-spacing: 1px !important;
  color: #7b7477 !important;
  white-space: nowrap !important;
}
.site-header .site-brand-copy small {
  order: -1 !important;
  margin: 0 !important;
  font:
    600 18px/1.4 SiteArrowIcons,
    system-ui,
    "Microsoft YaHei",
    sans-serif !important;
  letter-spacing: 0.04em !important;
  color: #244137 !important;
}
.site-header .site-header-tools {
  margin-left: auto !important;
  width: auto !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
}
.site-header .site-menu-toggle:focus-visible {
  outline: 2px solid #ad7892 !important;
  outline-offset: 2px !important;
}
.site-header .site-menu-toggle {
  width: 44px !important;
  height: 44px !important;
  padding: 12px !important;
  align-items: center !important;
  gap: 6px !important;
  border: 1px solid #e5d5dd !important;
  border-radius: 12px !important;
  background: #fffdfd !important;
  box-shadow: none !important;
}
.site-header .site-menu-toggle span {
  width: 18px !important;
  height: 1px !important;
  background: #365344 !important;
}
.site-header .site-menu-toggle span:nth-child(2) {
  display: none !important;
}
.site-header .site-nav {
  flex-basis: 100% !important;
  order: 3 !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 3px 22px !important;
  margin: 0 !important;
  border-top: 1px solid #eee3e8 !important;
  padding-top: 7px !important;
}
.site-header .site-nav a {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  min-width: 0 !important;
  text-align: center !important;
  max-width: 100% !important;
}
@media (max-width: 1000px) {
  .site-header .site-nav {
    display: none !important;
    max-height: calc(100dvh - 160px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
  .site-header.site-menu-open .site-nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 3px 10px !important;
  }
  .site-header .site-nav a {
    padding: 12px 6px !important;
  }
}
@media (max-width: 600px) {
  .site-header .site-header-inner {
    padding: 12px !important;
    gap: 8px !important;
    min-height: 72px !important;
  }
  header.site-header {
    min-height: 72px !important;
  }
  .site-header .site-brand {
    flex: 1 1 0 !important;
    gap: 7px !important;
  }
  .site-header .site-brand > .site-brand-copy {
    gap: 4px !important;
  }
  .site-header .site-brand-copy strong {
    font-size: 10px !important;
    letter-spacing: 0.3px !important;
  }
  .site-header .site-brand-copy small {
    font-size: 12px !important;
    letter-spacing: 0 !important;
  }
  .site-header .site-brand img {
    width: 32px !important;
    height: 32px !important;
    flex: none !important;
  }
  .site-header .site-header-tools {
    gap: 6px !important;
    margin-left: auto !important;
  }
  .site-header.site-menu-open .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 380px) {
  .site-header .site-brand {
    flex-basis: 100% !important;
  }
  .site-header .site-brand-copy small {
    font-size: 15px !important;
  }
  .site-header .site-brand-copy strong {
    font-size: 11px !important;
  }
  .site-header .site-header-inner {
    row-gap: 10px !important;
  }
  html {
    scroll-padding-top: 140px;
  }
}

header .site-consult,
header .header-consult-entry,
header [data-header-consult],
header [data-t="consult"] {
  display: none !important;
}
.site-header .site-nav .site-icon {
  margin-left: 5px;
  font-size: 11px;
  opacity: 0.65;
}
.site-header .site-menu-toggle {
  min-width: 44px !important;
  min-height: 44px !important;
}
.ecosystem-actions .site-icon,
.ecosystem-footer .site-icon,
.custom-design-link .site-icon,
.site-consult-entry .site-icon {
  margin-left: 8px;
}
.ecosystem-close .site-icon {
  font-size: 16px;
}
@media (max-width: 580px) {
  .site-header .site-brand {
    white-space: normal !important;
  }
  .site-header .site-nav a {
    min-height: 44px !important;
  }
}

/* 首页、产品、应用、合作与实景页共享的跨尺寸约束。 */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 160px;
}
body :is(main, section, article, figure, form, fieldset) {
  min-width: 0;
}
body
  :is(
    .hero-grid,
    .detail-split,
    .contact,
    .intro,
    .office-feature,
    .capability,
    .factory-inner,
    .partner-contact,
    .v4-business-inner,
    .ops-head,
    .ops-video-block,
    .form-grid,
    .form-row,
    .partner-form-grid,
    .catalog
  )
  > * {
  min-width: 0;
  max-width: 100%;
}
body :is(main, .ecosystem-footer, .ecosystem-dialog) :is(h1, h2, h3, p, li, dd, a) {
  overflow-wrap: anywhere;
}
body :is(main, .ecosystem-dialog) :is(video, iframe, img) {
  max-width: 100%;
}
body :is(main, .ecosystem-dialog) :is(input, select, textarea) {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body :is(.btn, .button, .hub-button, .v5-btn, .partner-submit) {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  min-height: 44px;
}
/* 页脚导航不能继承顶部菜单的绝对定位与手机折叠布局。 */
body .ecosystem-footer nav {
  position: static;
  inset: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: auto;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body .ecosystem-footer nav > * {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  min-height: 44px;
  align-content: center;
}
body .ecosystem-footer-inner > * {
  min-width: 0;
}
body .ecosystem-dialog {
  box-sizing: border-box;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overscroll-behavior: contain;
}
body .ecosystem-close {
  width: 44px;
  height: 44px;
  flex: none;
}
body .floating-top {
  width: 44px;
  height: 44px;
  font:
    18px/1 SiteArrowIcons,
    system-ui;
  bottom: max(16px, env(safe-area-inset-bottom));
  right: max(16px, env(safe-area-inset-right));
}
@media screen and (min-width: 701px) and (max-width: 1100px) {
  body
    :is(.step-grid, .feature-grid, .scene-grid, .nine-grid, .hub-grid, .screens, .feeder-gallery) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 1000px) {
  html {
    scroll-padding-top: 110px;
  }
  body :is(.contact, .partner-contact) {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  body :is(.contact, .partner-contact) :is(input:not([type="checkbox"]), select, textarea) {
    font-size: 16px;
    min-height: 44px;
  }
  body .partner-contact form {
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  body .ecosystem-dialog-top {
    gap: 12px;
    align-items: flex-start;
  }
  body .ecosystem-dialog-top h2 {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  body :is(.catalog-copy, .item) {
    padding: 20px;
  }
  body .faq-content details {
    padding: 18px;
  }
}
@media screen and (max-width: 480px) {
  body .international-phone {
    flex-wrap: wrap;
  }
  body .international-phone select,
  body .international-phone input {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 16px;
  }
}
@media screen and (max-width: 380px) {
  html {
    scroll-padding-top: 140px;
  }
}
@media screen and (max-height: 500px) {
  header.site-header {
    position: relative !important;
  }
  .site-header .site-nav {
    max-height: 65vh !important;
    max-height: 65dvh !important;
  }
  html {
    scroll-padding-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  body :is(.btn, .cta, .gallery a img) {
    transition: none;
    transform: none;
  }
}

/* 内容视觉层：产品目录、服务场景与合作页共用柔和玫瑰色细节。 */
@media screen {
  :root {
    --wash-line: #eadde5;
    --wash-accent: #944365;
    --wash-shadow: 0 6px 18px #5034490a;
    --wash-radius: 20px;
  }
  body {
    --control-accent: #944365;
    --control-border: #d7bdcb;
    --control-paper: #fffafd;
    --control-ink: #483044;
    --control-muted: #796574;
    --control-disabled: #f2eaf0;
  }
  body main :is(h1, h2, h3) {
    text-wrap: wrap;
    letter-spacing: -0.02em;
  }
  body main :is(.section, .hub-hero, .feeder-section) {
    padding-block: clamp(44px, 6vw, 84px);
  }
  body main :is(.hero-grid, .detail-split, .office-feature, .capability) {
    gap: clamp(24px, 4vw, 52px);
  }
  body main :is(.product, .catalog > article, .hub, .step, .feature, .scene, .item) {
    border: 1px solid var(--wash-line);
    border-radius: var(--wash-radius);
    box-shadow: var(--wash-shadow);
  }
  body main :is(.step, .feature, .scene, .hub) {
    padding: clamp(20px, 2.5vw, 30px);
  }
  body main :is(.hero-media img, .detail-split img) {
    border-radius: 24px;
    box-shadow: 0 12px 36px #50344912;
  }
  body main .hero-floating {
    max-width: calc(100% - 16px);
    overflow-wrap: anywhere;
  }
  body
    main
    :is(.btn, .button, .hub-button, .v5-btn, .partner-submit, .details-link, .custom-design-link) {
    min-height: 46px;
    border-radius: 12px;
    line-height: 1.5;
    text-align: center;
    transition:
      background-color 0.18s ease,
      box-shadow 0.18s ease;
  }
  body main :is(.btn, .button, .hub-button, .v5-btn, .partner-submit, .custom-design-link):hover {
    transform: none;
  }
  body main :is(.partner-submit, .contact .btn, .button.secondary) {
    background: var(--wash-accent);
    color: #fff;
  }
  body main .details-link {
    background: #f8edf2;
    color: #813b5b;
  }
  body main :is(.hub-jumps a, .text-link) {
    min-height: 44px;
    align-content: center;
  }
  body main :is(.contact form, .partner-contact form) {
    border-radius: var(--wash-radius);
    box-shadow: var(--wash-shadow);
  }
  body
    main
    :is(.contact, .partner-contact)
    :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    border: 1px solid #dbcbd5;
    border-radius: 10px;
  }
  body main :is(.faq, .faq-content) details {
    border: 1px solid var(--wash-line);
    border-radius: 16px;
    background: #fff;
  }
  body main :is(.faq, .faq-content) details[open] {
    border-color: #c99bb1;
    background: #fff8fb;
  }
  body main :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 2px solid #ad7190;
    outline-offset: 3px;
  }
  body .floating-top {
    background: var(--wash-accent);
    box-shadow: 0 4px 16px #50344920;
  }
}
@media screen and (hover: hover) and (pointer: fine) {
  body main :is(.product, .catalog > article, .hub):hover {
    border-color: #c79daf;
  }
  body main :is(.btn, .button, .hub-button, .partner-submit, .details-link):hover {
    box-shadow: 0 4px 12px #50344920;
  }
}
@media screen and (max-width: 960px) {
  body main .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media screen and (max-width: 600px) {
  body main :is(.contact form, .partner-contact form) {
    padding: 22px 18px;
  }
  body main .hero-floating {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 14px 0 0;
    max-width: 100%;
  }
}
@media screen and (prefers-reduced-motion: reduce) {
  body
    main
    :is(.btn, .button, .hub-button, .v5-btn, .partner-submit, .details-link, .custom-design-link) {
    transition: none;
  }
}

/* 手机卡片轨道：覆盖首页、目录、应用、合作、实景与动态插入的图片组。 */
@media screen and (max-width: 700px) {
  body
    :is(
      .trusted,
      .step-grid,
      .cards,
      .feature-grid,
      .scene-grid,
      .nine-grid,
      .video-grid,
      .v4-grid,
      .software-gallery,
      .screens,
      .team-support-grid,
      .hub-grid,
      .gallery,
      .catalog,
      .feeder-gallery,
      .grid,
      .store-product-gallery,
      .ops-gallery,
      .ops-loop,
      .hotel-photo-grid,
      .custom-design-grid,
      .specs,
      .features,
      .other,
      .process-steps
    ) {
    --mobile-card-width: min(78vw, 340px);
    display: flex !important;
    flex-flow: row nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 4px max(0px, calc((100% - var(--mobile-card-width)) / 2)) 18px;
    scroll-padding-inline: max(0px, calc((100% - var(--mobile-card-width)) / 2));
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c293ab transparent;
  }
  body
    :is(
      .trusted,
      .step-grid,
      .cards,
      .feature-grid,
      .scene-grid,
      .nine-grid,
      .video-grid,
      .v4-grid,
      .software-gallery,
      .screens,
      .team-support-grid,
      .hub-grid,
      .gallery,
      .catalog,
      .feeder-gallery,
      .grid,
      .store-product-gallery,
      .ops-gallery,
      .ops-loop,
      .hotel-photo-grid,
      .custom-design-grid,
      .specs,
      .features,
      .other,
      .process-steps
    )
    > * {
    flex: 0 0 var(--mobile-card-width);
    width: var(--mobile-card-width);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    scroll-snap-align: center;
    overflow-wrap: anywhere;
  }
  /* 此流程在桌面本来就是纵向图文步骤，保持原阅读方向。 */
  body #v4-flow {
    display: grid !important;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
  body #v4-flow > .v4-card {
    width: auto;
    max-width: 100%;
    margin: 0;
    scroll-snap-align: none;
  }
  body .trusted {
    padding-top: 36px;
    --mobile-card-width: min(60vw, 240px);
  }
  body .catalog {
    padding-top: 40px;
    padding-bottom: 32px;
  }
  body .screens > img {
    align-self: center;
    object-fit: contain;
  }
  body .cards .product-body {
    padding: 20px;
  }
  body .cards .product h3 {
    font-size: 18px;
  }
  body .cards .product p {
    font-size: 13px;
  }
  body .partner-investment {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* 目录只有一个产品时保持完整展示，隐藏项仍遵循原页面的可见性。 */
  body .catalog:not(:has(> :nth-child(2))) {
    display: block !important;
    padding-inline: 25px;
    scroll-snap-type: none;
  }
  body .catalog > :only-child {
    width: 100%;
  }
  body
    :is(
      .trusted,
      .step-grid,
      .cards,
      .feature-grid,
      .scene-grid,
      .nine-grid,
      .video-grid,
      .v4-grid,
      .software-gallery,
      .screens,
      .team-support-grid,
      .hub-grid,
      .gallery,
      .catalog,
      .feeder-gallery,
      .grid,
      .store-product-gallery,
      .ops-gallery,
      .ops-loop,
      .hotel-photo-grid,
      .custom-design-grid,
      .specs,
      .features,
      .other,
      .process-steps
    ):is([hidden], .hide) {
    display: none !important;
  }
}
/* Keep each Chinese headline sentence intact within the two-column hero. */
html[lang="zh-CN"] .hero h1 {
  font-size: clamp(26px, 3.2vw, 54px);
  white-space: nowrap;
  letter-spacing: -.02em;
}

@media (max-width: 760px) {
  html[lang="zh-CN"] .hero h1 {
    font-size: clamp(30px, 8.5vw, 36px);
    line-height: 1.25;
  }
}
