/* 外贸 B2B 平台 - 用户端公共样式 */
:root {
  --brand: #f07c3d;
  --brand-hover: #e8692a;
  --brand-dark: #c55a1f;
  --brand-soft: rgba(240, 124, 61, 0.13);
  --brand-ghost: rgba(240, 124, 61, 0.08);
  --brand-line: rgba(240, 124, 61, 0.36);
  --primary: #f07c3d;
  --primary-light: #ff9a5a;
  --accent: #f07c3d;
  --accent-hover: #e8692a;
  --ink: #1a1f2e;
  --text: #1a1f2e;
  --text-secondary: #4a5568;
  --muted: #7a8499;
  --border: #e2e5eb;
  --white: #fff;
  --success: #2d8a54;
  --footer-bg: #5a5a5a;
  --footer-bg2: #505050;
  --radius: 4px;
  --shadow: 0 10px 32px rgba(17, 36, 64, 0.1);
  --shadow-sm: 0 5px 18px rgba(17, 36, 64, 0.08);
  --shadow-card: 0 1px 8px rgba(17, 36, 64, 0.06);
  --header-h: 64px;
  --max-w: 1360px;
  --link: #b85520;
  --modal-scrim: rgba(28, 30, 36, 0.52);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  background-color: #f1f3f7;
  background-image: linear-gradient(180deg, #f5f6f9 0%, #eceff4 100%);
  background-attachment: fixed;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand);
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 229, 235, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 24px rgba(28, 32, 44, 0.04);
}

.site-header .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-rows: auto;
  grid-template-areas: "logo nav lang actions";
  align-items: center;
  column-gap: 16px;
}

.site-header .logo {
  grid-area: logo;
  justify-self: start;
  min-width: 0;
}

.site-header .main-nav {
  grid-area: nav;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px 10px;
  padding: 6px 4px;
  margin: 0;
  border: none;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.site-header .main-nav::-webkit-scrollbar {
  height: 4px;
}

.site-header .main-nav::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.site-header .lang-switch {
  grid-area: lang;
  flex-shrink: 0;
}

.site-header .header-actions {
  grid-area: actions;
  flex-shrink: 0;
}

/* 移动端菜单按钮（由 mobile-nav.js 插入，桌面端隐藏） */
.nav-toggle {
  display: none;
  grid-area: toggle;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.nav-toggle:hover {
  background: var(--brand-ghost);
  border-color: var(--brand-line);
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.is-nav-open .nav-toggle .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-nav-open .nav-toggle .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-header.is-nav-open .nav-toggle .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-actions {
  display: none;
}

/* 已取消顶栏菜单蒙层；保留 body 锁滚动（由 JS 切换） */
body.nav-menu-open {
  overflow: hidden;
  touch-action: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  white-space: normal;
  line-height: 1.25;
  max-width: min(100%, 380px);
  flex-shrink: 1;
}

.logo .logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  align-self: center;
  background: linear-gradient(145deg, #f58a4e 0%, #e85d22 48%, #d14e12 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(240, 100, 45, 0.35);
}

.logo .sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  display: block;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav a {
  padding: 8px 12px;
  color: var(--text-secondary);
  font-size: 14px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
  color: var(--brand-dark);
  background: var(--brand-ghost);
}

.main-nav a.active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

/* 关于我们：下拉子菜单 */
.main-nav > .nav-item--has-sub {
  position: relative;
  align-self: center;
  flex-shrink: 0;
}
.main-nav > .nav-item--has-sub > .nav-item__main {
  padding: 8px 12px;
  color: var(--text-secondary);
  font-size: 14px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  display: inline-block;
}
.main-nav > .nav-item--has-sub:hover > .nav-item__main,
.main-nav > .nav-item--has-sub:focus-within > .nav-item__main {
  color: var(--brand-dark);
  background: var(--brand-ghost);
}
.main-nav > .nav-item--has-sub > .nav-item__main.active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}
.nav-item__sub {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  min-width: 168px;
  padding: 8px 0;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(28, 32, 44, 0.12);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
.nav-item--has-sub:hover .nav-item__sub,
.nav-item--has-sub:focus-within .nav-item__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-item__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
}
.nav-item__sub a:hover {
  background: var(--brand-ghost);
  color: var(--brand-dark);
}
.nav-item__sub a.active {
  color: var(--brand);
  font-weight: 600;
  background: rgba(240, 124, 61, 0.08);
}

/* 桌面端：不得 clip 下拉；父级下缘透明“桥”承接鼠标，避免移入子菜单时丢 hover；子项盖住桥与 ::after 以便点击 */
@media (min-width: 769px) {
  .site-header,
  .site-header .inner {
    overflow: visible;
  }
  .site-header .main-nav {
    overflow: visible;
  }
  .main-nav > .nav-item--has-sub::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 20px;
    z-index: 0;
  }
  .main-nav > .nav-item--has-sub:hover,
  .main-nav > .nav-item--has-sub:focus-within {
    z-index: 5000;
  }
  .nav-item__sub {
    z-index: 5001;
  }
  /* 子菜单顶边再向上加一层命中带，与父级桥一起消除一级→二级的裂缝 */
  .nav-item__sub::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 12px;
    bottom: 100%;
  }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.lang-switch span {
  color: var(--muted);
}

.lang-switch a {
  padding: 4px 8px;
  color: var(--text-secondary);
}

.lang-switch a.current {
  color: var(--brand);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.btn-outline {
  background: var(--white);
  color: var(--brand);
  border: 1px solid var(--brand-line);
  box-shadow: 0 1px 2px rgba(28, 32, 44, 0.04);
}

.btn-outline:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}

.btn-primary {
  background: linear-gradient(145deg, #f5884e 0%, #e86a22 45%, #d95712 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(240, 100, 45, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 20px rgba(240, 100, 45, 0.42);
}

.btn-accent {
  background: linear-gradient(145deg, #f9a855 0%, #f07c3d 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(240, 130, 60, 0.35);
}

.btn-accent:hover {
  filter: brightness(1.05);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 500;
}

.badge-cert {
  background: rgba(45, 138, 84, 0.12);
  color: var(--success);
}

.site-footer {
  background: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg2) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 20px 24px;
  margin-top: 48px;
  border-top: 3px solid var(--brand);
}

.site-footer .inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 移动端顶栏：单行 logo + 语言 + 菜单 + 登录区；导航下拉 */
@media (max-width: 768px) {
  .site-header .inner {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas: "logo lang toggle actions";
    column-gap: 8px;
    row-gap: 0;
  }

  .site-header .logo {
    grid-area: logo;
    max-width: none;
    gap: 0;
  }

  /* H5：仅展示角标，隐藏公司全称与副标题 */
  .logo > span:not(.logo-mark) {
    display: none !important;
  }

  .logo .logo-mark {
    width: 40px;
    height: 40px;
    font-size: 13px;
    border-radius: 10px;
  }

  .site-header .lang-switch {
    grid-area: lang;
    font-size: 12px;
  }

  .lang-switch a {
    padding: 4px 6px;
  }

  .nav-toggle {
    display: inline-flex !important;
  }

  .site-header .header-actions {
    grid-area: actions;
  }

  .site-header .header-actions .btn-sm {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* 主导航移出栅格，改为固定下拉层 */
  .site-header .main-nav {
    grid-area: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 1001;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 8px 12px 16px;
    margin: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(28, 32, 44, 0.12);
    overflow: visible;
    display: none;
  }

  .site-header.is-nav-open .main-nav {
    display: flex !important;
  }

  .site-header .main-nav a {
    padding: 14px 14px;
    font-size: 15px;
    border-radius: 10px;
    white-space: normal;
  }

  .site-header .main-nav a + a {
    margin-top: 2px;
  }

  .site-header .main-nav .nav-item--has-sub {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-top: 2px;
  }
  .site-header .main-nav > .nav-item--has-sub > .nav-item__main {
    padding: 14px 14px;
    font-size: 15px;
    border-radius: 10px;
  }
  .site-header .main-nav .nav-item__sub {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 6px 8px;
    background: transparent;
    min-width: 0;
  }
  .site-header .main-nav .nav-item__sub a {
    padding: 10px 12px 10px 22px;
    font-size: 14px;
    color: var(--muted);
    border-radius: 8px;
  }
  .site-header .main-nav .nav-item__sub a:hover {
    color: var(--brand-dark);
    background: var(--brand-ghost);
  }

  .mobile-nav-actions {
    display: flex;
    gap: 10px;
    padding: 12px 14px 4px;
  }

  .mobile-nav-actions .btn {
    flex: 1;
    justify-content: center;
    min-height: 40px;
  }
}

@media (min-width: 769px) {
  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h4 {
  color: var(--white);
  font-size: 15px;
  margin: 0 0 12px;
}

.site-footer p,
.site-footer li {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover {
  color: #ffb896;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.page-hero {
  background: linear-gradient(145deg, #f5884e 0%, #e86a22 42%, #cf4e0c 100%);
  color: var(--white);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.08), transparent 40%);
  pointer-events: none;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  position: relative;
}

.page-hero p {
  margin: 0;
  opacity: 0.95;
  font-size: 15px;
  position: relative;
}

.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 8px;
  text-align: center;
  letter-spacing: 0.02em;
}

.section-desc {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.placeholder-img {
  background: linear-gradient(145deg, #e8ecf1, #d4dae3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 4px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--brand);
}

/* 产品 / 工厂 页：与顶栏 Banner 同色（.page-hero）+ 标签切换 + 圆角搜索条 */
.page-hero.page-hero--search {
  padding: 0;
  margin: 0;
  text-align: center;
  min-height: 220px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero.page-hero--search .site-search-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 20px 40px;
  position: relative;
  z-index: 1;
  width: 100%;
}
.site-search-hero__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}
.site-search-hero__tab {
  display: inline-block;
  padding: 6px 6px;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  opacity: 0.82;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.site-search-hero__tab:hover {
  opacity: 1;
  color: #fff;
}
.site-search-hero__tab.is-active {
  opacity: 1;
  border-bottom-color: #fff;
  cursor: default;
}
a.site-search-hero__tab:not(.is-active) {
  cursor: pointer;
}
.site-search-hero__tab-sep {
  color: rgba(255, 255, 255, 0.45);
  user-select: none;
  font-weight: 400;
}
.site-search-hero__form {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.site-search-hero__input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  min-width: 0;
}
.site-search-hero__input {
  width: 100%;
  border: none;
  font-size: 15px;
  padding: 4px 0;
  outline: none;
  font-family: inherit;
  color: var(--text);
  background: transparent;
}
.site-search-hero__input::placeholder {
  color: #9aa3b2;
}
.site-search-hero__submit {
  flex-shrink: 0;
  padding: 0 26px;
  min-width: 120px;
  border: none;
  background: linear-gradient(135deg, #ff9a3c 0%, #f07c3d 42%, #e05a1f 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter 0.15s ease;
}
.site-search-hero__submit:hover {
  filter: brightness(1.05);
}
.site-search-hero__submit svg {
  flex-shrink: 0;
}
.site-search-hero__hint {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin: 14px 0 0;
}
.site-search-hero__empty {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin: 14px 0 0;
}
@media (max-width: 560px) {
  .site-search-hero__form {
    flex-direction: column;
    border-radius: 16px;
  }
  .site-search-hero__submit {
    min-height: 48px;
    width: 100%;
    border-radius: 0;
  }
}

/* ---------- 全站右侧固定快捷条（联系邮箱 / 电话 / 询盘 / 成为OPC / 回顶）---------- */
.site-float-dock {
  position: fixed;
  z-index: 9990;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  -webkit-tap-highlight-color: transparent;
}
.site-float-dock__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.site-float-dock__item {
  position: relative;
  margin: 0;
  padding: 0;
}
.site-float-dock__item--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.site-float-dock__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(165deg, #ff9a52 0%, var(--brand) 48%, #e05a1f 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(240, 100, 45, 0.38);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  font: inherit;
}
.site-float-dock__btn:hover,
.site-float-dock__item--link:hover .site-float-dock__btn {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 6px 22px rgba(240, 100, 45, 0.32);
}
.site-float-dock__btn:focus-visible,
.site-float-dock__item--link:focus-visible .site-float-dock__btn {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.site-float-dock__btn svg {
  flex-shrink: 0;
}
.site-float-dock__pop {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  min-width: 200px;
  max-width: min(320px, 88vw);
  width: max-content;
  padding: 14px 18px;
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  border: 1px solid rgba(240, 124, 61, 0.14);
  box-shadow: 0 8px 28px rgba(28, 32, 44, 0.12);
  font-size: 14px;
  line-height: 1.5;
  writing-mode: horizontal-tb;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  text-align: left;
}
.site-float-dock__pop-h {
  margin: 0 0 8px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.site-float-dock__pop-c {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  word-break: break-all;
  overflow-wrap: anywhere;
  white-space: normal;
}
.site-float-dock__pop-c--tel {
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/* 左侧三角指向按钮 */
.site-float-dock__pop::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  margin-top: -6px;
  border: 6px solid transparent;
  border-left-color: #fff;
  filter: drop-shadow(2px 0 1px rgba(0, 0, 0, 0.04));
}
@media (max-width: 420px) {
  .site-float-dock__pop {
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
  }
  .site-float-dock__pop::after {
    left: 50%;
    top: 100%;
    margin-left: -6px;
    margin-top: 0;
    border: 6px solid transparent;
    border-top-color: #fff;
    border-left-color: transparent;
  }
}
.site-float-dock__item:hover .site-float-dock__pop,
.site-float-dock__item:focus-within .site-float-dock__pop,
.site-float-dock__item.is-open .site-float-dock__pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.site-float-dock__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .site-float-dock {
    top: auto;
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
    transform: none;
  }
}
@media print {
  .site-float-dock {
    display: none !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header .inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo lang toggle";
    padding: 0 16px;
  }

  .site-header .header-actions {
    display: none;
  }

  .site-header .lang-switch {
    justify-self: end;
  }

  .site-float-dock {
    left: 50%;
    right: auto;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
  }

  .site-float-dock__inner {
    flex-direction: row;
    gap: 6px;
    padding: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(17, 36, 64, 0.16);
  }

  .site-float-dock__btn {
    width: 40px;
    height: 40px;
  }
}

/* 世贸通参考风格：深色影像首屏 + 橙色强调 + 白灰内容分段 */
.site-header {
  background: rgba(8, 22, 34, 0.94) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.site-header .inner {
  max-width: 1360px !important;
  min-height: 66px !important;
}

.logo,
.main-nav a,
.main-nav > .nav-item--has-sub > .nav-item__main,
.lang-switch a {
  color: rgba(255, 255, 255, 0.92) !important;
}

.logo .sub,
.lang-switch span {
  color: rgba(255, 255, 255, 0.62) !important;
}

.logo .logo-mark {
  background: #fff !important;
  color: var(--brand) !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

.main-nav a,
.main-nav > .nav-item--has-sub > .nav-item__main {
  border-radius: 0 !important;
  background: transparent !important;
  border-bottom: 3px solid transparent !important;
  padding: 20px 10px 17px !important;
}

.main-nav a:hover,
.main-nav > .nav-item--has-sub:hover > .nav-item__main,
.main-nav > .nav-item--has-sub:focus-within > .nav-item__main {
  color: #fff !important;
  background: transparent !important;
  border-bottom-color: rgba(240, 124, 61, 0.55) !important;
}

.main-nav a.active,
.main-nav > .nav-item--has-sub > .nav-item__main.active {
  color: #fff !important;
  background: transparent !important;
  border-bottom-color: var(--brand) !important;
  font-weight: 600 !important;
}

.nav-item__sub {
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18) !important;
}

.nav-item__sub a,
.nav-item__sub a.active {
  color: #344054 !important;
  border-bottom: 0 !important;
  padding: 10px 16px !important;
}

.nav-item__sub a:hover,
.nav-item__sub a.active {
  color: var(--brand) !important;
  background: #f3f6ff !important;
}

.main-nav .nav-item__sub {
  min-width: 178px !important;
  padding: 8px !important;
  border: 1px solid rgba(229, 232, 239, 0.96) !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(17, 36, 64, 0.16) !important;
}

.main-nav .nav-item__sub a,
.page-home .main-nav .nav-item__sub a,
.page-has-hero .main-nav .nav-item__sub a,
.page-auth .main-nav .nav-item__sub a {
  display: block !important;
  padding: 11px 14px !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: transparent !important;
  color: #344054 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
}

.main-nav .nav-item__sub a:hover,
.main-nav .nav-item__sub a.active,
.page-home .main-nav .nav-item__sub a:hover,
.page-home .main-nav .nav-item__sub a.active,
.page-has-hero .main-nav .nav-item__sub a:hover,
.page-has-hero .main-nav .nav-item__sub a.active,
.page-auth .main-nav .nav-item__sub a:hover,
.page-auth .main-nav .nav-item__sub a.active {
  background: #fff3ec !important;
  color: var(--brand) !important;
}

.btn-primary,
.btn-accent,
.site-search-hero__submit {
  background: var(--brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-primary:hover,
.btn-accent:hover,
.site-search-hero__submit:hover {
  background: var(--brand-hover) !important;
}

.btn-outline {
  background: #fff !important;
  color: var(--brand) !important;
  border-color: #fff !important;
  box-shadow: none !important;
}

.badge {
  background: #eef3ff !important;
  color: var(--brand-dark) !important;
}

.hero-banner {
  min-height: 620px !important;
  background: #061827 !important;
}

.hero-banner::before,
.page-hero::before {
  background: linear-gradient(90deg, rgba(2, 15, 25, 0.12), rgba(4, 20, 32, 0.02)) !important;
}

.hero-banner [data-cms-carousel-root] {
  min-height: 620px !important;
}

.banner-slide {
  min-height: 620px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
  padding: 128px max(36px, calc((100vw - 1360px) / 2 + 36px)) 92px !important;
  background-position: center !important;
}

.banner-slide-inner {
  max-width: 1360px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.banner-slide .cms-banner-title,
.banner-slide .cms-banner-sub {
  text-align: left !important;
}

.banner-slide h2,
.banner-slide .cms-banner-title {
  max-width: 720px !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: 1.18 !important;
  font-weight: 600 !important;
  margin: 0 0 18px !important;
  white-space: pre-line !important;
}

.banner-slide .en,
.banner-slide .cms-banner-sub {
  max-width: 760px !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  opacity: 0.94 !important;
}

.banner-stats {
  justify-content: flex-start !important;
  gap: 18px !important;
  margin-top: 34px !important;
}

.banner-stats div {
  min-width: 152px !important;
  padding: 16px 18px !important;
  text-align: left !important;
  border-left: 3px solid var(--brand) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px) !important;
}

.banner-stats strong {
  color: #fff !important;
  font-size: 30px !important;
}

.banner-ctrl .dot.on {
  background: var(--brand) !important;
}

.page-hero,
.page-hero.page-hero--search,
.svc-hero {
  min-height: 360px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #071827 !important;
  text-align: left !important;
}

.page-hero.page-hero--search {
  background:
    linear-gradient(90deg, rgba(3, 18, 30, 0.9), rgba(3, 18, 30, 0.72), rgba(3, 18, 30, 0.58)),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1800&auto=format&fit=crop&q=80") center / cover no-repeat !important;
}

.page-hero [data-cms-carousel-root],
.svc-hero [data-cms-carousel-root] {
  min-height: 360px !important;
}

.cms-inner-slide {
  min-height: 360px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
  padding: 128px max(36px, calc((100vw - 1360px) / 2 + 36px)) 76px !important;
  background-position: center !important;
}

.cms-inner-slide .cms-banner-title {
  max-width: 760px !important;
  margin: 0 0 14px !important;
  font-size: clamp(32px, 3.2vw, 44px) !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  text-align: left !important;
}

.cms-inner-slide .cms-banner-sub {
  max-width: 760px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
  text-align: left !important;
  opacity: 0.95 !important;
}

.page-hero.page-hero--search .site-search-hero__inner {
  max-width: 1040px !important;
  padding: 124px 20px 74px !important;
}

.site-search-hero__tabs {
  justify-content: flex-start !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.site-search-hero__form {
  border-radius: 3px !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24) !important;
}

.site-search-hero__submit {
  border-radius: 0 !important;
}

.section,
.layout-pc,
.svc-shell,
.about-wrap {
  max-width: 1360px !important;
}

.section {
  padding-top: 54px !important;
  padding-bottom: 56px !important;
}

.section-gray,
.home-basic,
.page-services,
body {
  background-color: #f0f2f6 !important;
}

.home-band--features::after {
  background: rgba(245, 247, 251, 0.94) !important;
}

.section-title,
.svc-h2,
.about-contact-panel h2 {
  color: #111827 !important;
  text-align: left !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.section-desc {
  text-align: left !important;
  max-width: 720px !important;
}

.page-home .home-section-head {
  max-width: 1360px !important;
  margin: 0 auto 24px !important;
}

.page-home .home-section-head .section-title,
.home-basic .section-title {
  color: #111827 !important;
  border-left: 0 !important;
  padding-left: 0 !important;
}

.feature-grid--home,
.home-triple-grid,
.basic-svc,
.factory-list-grid,
.pl-grid {
  max-width: 1360px !important;
}

.feature-card--home,
.basic-svc-item,
.fl-card,
.pl-card,
.svc-module,
.about-doc,
.about-contact-panel,
.pcat-mega,
.pcat-mega__flyout {
  border-radius: 3px !important;
  border: 1px solid #e5e8ef !important;
  box-shadow: none !important;
  background: #fff !important;
}

.feature-card--home:hover,
.basic-svc-item:hover,
.fl-card:hover,
.pl-card:hover {
  border-color: rgba(240, 124, 61, 0.28) !important;
  box-shadow: 0 10px 26px rgba(17, 36, 64, 0.1) !important;
}

.feature-card--home .ph,
.fl-card .cover,
.pl-card .pic,
.home-triple-grid .fl-card .cover,
.home-triple-grid .pl-card .pic {
  border-radius: 0 !important;
  background-size: cover !important;
  background-position: center !important;
}

.feature-card--home h3,
.feature-card--home .feat-link a,
.svc-detail h3,
.svc-tile strong,
.pl-card .price,
.pcat-mega__l2:hover,
.pcat-mega__l2.is-active,
.pcat-mega__link:hover,
.pcat-mega__link.is-active {
  color: var(--brand) !important;
}

.feature-card--home--buyer .ph {
  background-image: url("https://images.unsplash.com/photo-1566576721346-d4a3b4eaeb55?w=900&auto=format&fit=crop&q=75") !important;
}

.feature-card--home--sell .ph {
  background-image: url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=900&auto=format&fit=crop&q=75") !important;
}

.feature-card--home--opc .ph {
  background-image: url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=900&auto=format&fit=crop&q=75") !important;
}

.feature-card--home--park .ph {
  background-image: url("https://images.unsplash.com/photo-1553413077-190dd305871c?w=900&auto=format&fit=crop&q=75") !important;
}

.basic-svc-item::before {
  background: var(--brand) !important;
}

.basic-svc-item__n,
.fl-logo,
.home-triple-grid .fl-logo {
  background: var(--brand) !important;
  box-shadow: none !important;
  border-radius: 2px !important;
}

.fl-card .cover,
.home-triple-grid .fl-card .cover {
  background-image: url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=900&auto=format&fit=crop&q=75") !important;
}

.fl-card:nth-child(6n+2) .cover,
.home-triple-grid .fl-card:nth-child(6n+2) .cover {
  background-image: url("https://images.unsplash.com/photo-1553413077-190dd305871c?w=900&auto=format&fit=crop&q=75") !important;
}

.fl-card:nth-child(6n+3) .cover,
.home-triple-grid .fl-card:nth-child(6n+3) .cover {
  background-image: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=900&auto=format&fit=crop&q=75") !important;
}

.fl-card:nth-child(6n+4) .cover,
.home-triple-grid .fl-card:nth-child(6n+4) .cover {
  background-image: url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?w=900&auto=format&fit=crop&q=75") !important;
}

.fl-card:nth-child(6n+5) .cover,
.home-triple-grid .fl-card:nth-child(6n+5) .cover {
  background-image: url("https://images.unsplash.com/photo-1566576721346-d4a3b4eaeb55?w=900&auto=format&fit=crop&q=75") !important;
}

.fl-card:nth-child(6n+6) .cover,
.home-triple-grid .fl-card:nth-child(6n+6) .cover {
  background-image: url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?w=900&auto=format&fit=crop&q=75") !important;
}

.svc-shell {
  padding-top: 48px !important;
}

.svc-module {
  margin-top: 28px !important;
  padding: 34px 36px 38px !important;
}

.svc-module:first-of-type::before,
.svc-module:nth-of-type(2)::before {
  content: "";
  display: block;
  height: 220px;
  margin: 0 0 30px;
  border-radius: 3px;
  background: url("https://images.unsplash.com/photo-1566576721346-d4a3b4eaeb55?w=1300&auto=format&fit=crop&q=78") center / cover no-repeat;
}

.svc-module:nth-of-type(2)::before {
  background-image: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1300&auto=format&fit=crop&q=78");
}

.svc-detail-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1px !important;
  background: #e5e8ef !important;
  border: 1px solid #e5e8ef !important;
}

.svc-detail {
  padding: 22px 24px !important;
  border: 0 !important;
  background: #fff !important;
}

.about-wrap {
  padding-top: 48px !important;
}

.about-visual-hero {
  height: min(38vw, 300px) !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: linear-gradient(90deg, rgba(4, 20, 34, 0.52), rgba(4, 20, 34, 0.08)),
    url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?w=1400&auto=format&fit=crop&q=78") center / cover no-repeat !important;
}

.about-visual-hero::before,
.about-visual-hero span {
  display: none !important;
}

.about-doc {
  padding: 38px 42px 42px !important;
}

.about-doc h2 {
  color: var(--brand) !important;
  border-bottom-color: #e5e8ef !important;
}

.about-side-visual {
  border-radius: 3px !important;
  border-color: #e5e8ef !important;
}

.about-side-visual .about-ph {
  background: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=900&auto=format&fit=crop&q=78") center / cover no-repeat !important;
  color: transparent !important;
}

.about-stats .stat {
  border-radius: 3px !important;
  background: #f6f8fc !important;
}

.about-stats .stat strong {
  color: var(--brand) !important;
}

.pcat-mega__all.is-active,
.pcat-mega__l1:hover,
.pcat-mega__l1.is-hover-panel,
.pcat-mega__l1.is-active {
  background: #eef3ff !important;
  color: var(--brand-dark) !important;
}

.site-float-dock__btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 3px !important;
  background: var(--brand) !important;
  box-shadow: none !important;
}

.site-float-dock__btn:hover,
.site-float-dock__item--link:hover .site-float-dock__btn {
  background: #fff !important;
  color: var(--brand) !important;
}

.site-footer {
  background: #fff !important;
  color: #333 !important;
  border-top: 0 !important;
  padding: 58px 20px 0 !important;
  margin-top: 0 !important;
}

.site-footer .inner {
  max-width: 1360px !important;
}

.site-footer h4 {
  color: #111827 !important;
  font-weight: 600 !important;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #5f6674 !important;
}

.site-footer a:hover {
  color: var(--brand) !important;
}

.footer-bottom {
  width: 100vw !important;
  margin: 42px 0 0 calc(50% - 50vw) !important;
  padding: 18px 20px !important;
  border-top: 0 !important;
  background: #5c5c5c !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

@media (min-width: 769px) {
  .page-home .site-header {
    position: absolute !important;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(9, 20, 32, 0.18), rgba(9, 20, 32, 0)) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .page-home .site-header .inner {
    max-width: none !important;
    min-height: 82px !important;
    padding: 0 42px !important;
    grid-template-columns: minmax(360px, auto) minmax(0, 1fr) auto auto;
    column-gap: 34px !important;
  }

  .page-home .logo {
    max-width: 520px !important;
    font-size: 20px !important;
    gap: 14px !important;
  }

  .page-home .logo .logo-mark {
    width: 52px !important;
    height: 52px !important;
  }

  .page-home .logo .sub {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.86) !important;
  }

  .page-home .site-header .main-nav {
    justify-content: flex-end !important;
    gap: 42px !important;
    overflow: visible !important;
  }

  .page-home .main-nav a,
  .page-home .main-nav > .nav-item--has-sub > .nav-item__main {
    padding: 28px 0 24px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-bottom: 3px solid transparent !important;
  }

  .page-home .main-nav a.active,
  .page-home .main-nav > .nav-item--has-sub > .nav-item__main.active,
  .page-home .main-nav a:hover,
  .page-home .main-nav > .nav-item--has-sub:hover > .nav-item__main,
  .page-home .main-nav > .nav-item--has-sub:focus-within > .nav-item__main {
    color: #fff !important;
    border-bottom-color: var(--brand) !important;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.22);
  }

  .page-home .lang-switch {
    font-size: 15px !important;
  }

  .page-home .header-actions .btn-sm {
    min-width: 76px;
    padding: 9px 18px !important;
    font-size: 15px !important;
  }

  .page-home .hero-banner {
    margin-top: 0 !important;
  }
}

.page-has-hero .page-hero:not([data-banner-page]):not(.page-hero--search) {
  display: flex;
  min-height: 360px !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 128px max(36px, calc((100vw - 1360px) / 2 + 36px)) 76px !important;
  background:
    linear-gradient(90deg, rgba(3, 18, 30, 0.28), rgba(5, 24, 38, 0.1), rgba(9, 21, 32, 0.03)),
    url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?w=1800&auto=format&fit=crop&q=80") center / cover no-repeat !important;
}

.page-has-hero .page-hero:not([data-banner-page]):not(.page-hero--search) h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.25;
  font-weight: 600;
  text-align: left;
}

.page-has-hero .page-hero:not([data-banner-page]):not(.page-hero--search) p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.75;
  text-align: left;
}

@media (min-width: 769px) {
  .page-has-hero .site-header,
  .page-auth .site-header {
    position: absolute !important;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(9, 20, 32, 0.18), rgba(9, 20, 32, 0)) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .page-has-hero .site-header .inner,
  .page-auth .site-header .inner {
    max-width: none !important;
    min-height: 82px !important;
    padding: 0 42px !important;
    grid-template-columns: minmax(360px, auto) minmax(0, 1fr) auto auto;
    column-gap: 34px !important;
  }

  .page-has-hero .logo,
  .page-auth .logo {
    max-width: 520px !important;
    font-size: 20px !important;
    gap: 14px !important;
  }

  .page-has-hero .logo .logo-mark,
  .page-auth .logo .logo-mark {
    width: 52px !important;
    height: 52px !important;
  }

  .page-has-hero .logo .sub,
  .page-auth .logo .sub {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.86) !important;
  }

  .page-has-hero .site-header .main-nav,
  .page-auth .site-header .main-nav {
    justify-content: flex-end !important;
    gap: 42px !important;
    overflow: visible !important;
  }

  .page-has-hero .main-nav a,
  .page-has-hero .main-nav > .nav-item--has-sub > .nav-item__main,
  .page-auth .main-nav a,
  .page-auth .main-nav > .nav-item--has-sub > .nav-item__main {
    padding: 28px 0 24px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-bottom: 3px solid transparent !important;
  }

  .page-has-hero .main-nav a.active,
  .page-has-hero .main-nav > .nav-item--has-sub > .nav-item__main.active,
  .page-has-hero .main-nav a:hover,
  .page-has-hero .main-nav > .nav-item--has-sub:hover > .nav-item__main,
  .page-has-hero .main-nav > .nav-item--has-sub:focus-within > .nav-item__main,
  .page-auth .main-nav a.active,
  .page-auth .main-nav > .nav-item--has-sub > .nav-item__main.active,
  .page-auth .main-nav a:hover,
  .page-auth .main-nav > .nav-item--has-sub:hover > .nav-item__main,
  .page-auth .main-nav > .nav-item--has-sub:focus-within > .nav-item__main {
    color: #fff !important;
    border-bottom-color: var(--brand) !important;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.22);
  }

  .page-has-hero .lang-switch,
  .page-auth .lang-switch {
    font-size: 15px !important;
  }

  .page-has-hero .header-actions .btn-sm,
  .page-auth .header-actions .btn-sm {
    min-width: 76px;
    padding: 9px 18px !important;
    font-size: 15px !important;
  }

  .page-auth .site-header {
    background: rgba(8, 22, 34, 0.72) !important;
  }
}

.page-home .home-band--features,
.page-home > .section {
  max-width: none !important;
}

.page-home > .section {
  padding-left: max(28px, calc((100vw - 1360px) / 2 + 28px)) !important;
  padding-right: max(28px, calc((100vw - 1360px) / 2 + 28px)) !important;
}

.page-home .home-band--features {
  background: none !important;
}

.page-home .home-band--features::after {
  background: rgba(255, 255, 255, 0.88) !important;
}

.page-home .home-factories {
  background: #fff !important;
}

.page-home .home-products {
  background: #fff !important;
}

.page-home .home-basic {
  background: #f0f2f6 !important;
}

.page-home .home-flow {
  background: #fff !important;
}

.page-auth {
  background: #f0f2f6 !important;
  background-image: none !important;
}

.page-auth .auth-wrap {
  min-height: 760px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 128px max(36px, calc((100vw - 1360px) / 2 + 36px)) 70px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px) !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 56px !important;
  background: #eef2f7 !important;
}

.page-auth .auth-visual {
  min-height: 560px;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 42px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 18, 30, 0.04), rgba(5, 18, 30, 0.48)),
    url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?w=1400&auto=format&fit=crop&q=82") center / cover no-repeat;
}

.page-auth-register .auth-visual {
  background:
    linear-gradient(180deg, rgba(5, 18, 30, 0.04), rgba(5, 18, 30, 0.48)),
    url("https://images.unsplash.com/photo-1566576721346-d4a3b4eaeb55?w=1400&auto=format&fit=crop&q=82") center / cover no-repeat;
}

.page-auth .auth-visual__content {
  max-width: 520px;
}

.page-auth .auth-visual__eyebrow {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  opacity: 0.92;
}

.page-auth .auth-visual h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.page-auth .auth-visual p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  opacity: 0.94;
  overflow-wrap: anywhere;
}

.page-auth .auth-card {
  width: 100% !important;
  max-width: 460px !important;
  margin: 0 0 0 auto !important;
  height: 100% !important;
  border-radius: 4px !important;
  border: 1px solid #e5e8ef !important;
  box-shadow: 0 18px 45px rgba(17, 36, 64, 0.12) !important;
}

.page-auth .auth-card h1,
.page-auth .auth-card .sub {
  text-align: left !important;
}

.page-auth .auth-policy-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 18, 28, 0.56);
}

.page-auth .auth-policy-modal.is-open {
  display: flex;
}

.page-auth .auth-policy-dialog {
  width: min(760px, 100%);
  max-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.page-auth .auth-policy-head,
.page-auth .auth-policy-foot {
  flex-shrink: 0;
  padding: 18px 24px;
}

.page-auth .auth-policy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5e8ef;
}

.page-auth .auth-policy-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.page-auth .auth-policy-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 4px;
  background: #f2f4f7;
  color: #344054;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.page-auth .auth-policy-body {
  overflow: auto;
  padding: 22px 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.85;
}

.page-auth .auth-policy-body h1,
.page-auth .auth-policy-body h2,
.page-auth .auth-policy-body h3 {
  margin: 20px 0 10px;
  color: var(--ink);
}

.page-auth .auth-policy-body h1:first-child,
.page-auth .auth-policy-body h2:first-child,
.page-auth .auth-policy-body h3:first-child,
.page-auth .auth-policy-body p:first-child {
  margin-top: 0;
}

.page-auth .auth-policy-foot {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #e5e8ef;
}

.page-auth .auth-policy-read {
  min-width: 132px;
}

.basic-svc {
  display: grid !important;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.basic-svc-visual,
.home-flow-visual {
  min-height: 280px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(9, 20, 32, 0.08), rgba(9, 20, 32, 0.34)),
    url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?w=900&auto=format&fit=crop&q=78") center / cover no-repeat;
}

.basic-svc-visual::after,
.home-flow-visual::after {
  content: attr(data-label);
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.basic-svc__grid {
  align-self: stretch;
}

.basic-svc-item {
  padding: 22px 22px 24px !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

.home-flow-wrap {
  max-width: 1360px !important;
}

.home-flow-panel {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.home-flow-visual {
  background:
    linear-gradient(180deg, rgba(9, 20, 32, 0.08), rgba(9, 20, 32, 0.34)),
    url("https://images.unsplash.com/photo-1566576721346-d4a3b4eaeb55?w=900&auto=format&fit=crop&q=78") center / cover no-repeat;
}

.home-flow-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px !important;
  align-content: stretch;
}

.home-flow-steps .flow-node {
  max-width: none !important;
  min-width: 0 !important;
  padding: 24px 20px !important;
  border: 1px solid rgba(240, 124, 61, 0.18) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  text-align: left !important;
}

.home-flow-steps .flow-node::after {
  display: none !important;
}

.home-flow-steps .flow-node strong {
  font-size: 17px;
}

@media (max-width: 900px) {
  .banner-slide,
  .cms-inner-slide {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .products-shell {
    grid-template-columns: 1fr !important;
  }

  .svc-detail-list {
    grid-template-columns: 1fr !important;
  }

  .basic-svc,
  .home-flow-panel,
  .home-flow-steps {
    grid-template-columns: 1fr !important;
  }

  .page-auth .auth-wrap {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .page-auth .auth-card {
    max-width: none !important;
    margin: 0 !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .site-header .main-nav {
    background: rgba(8, 22, 34, 0.98) !important;
    border-bottom: 0 !important;
  }

  .site-header .main-nav .nav-item__sub {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .site-header .main-nav a,
  .site-header .main-nav > .nav-item--has-sub > .nav-item__main {
    padding: 14px !important;
    border-bottom: 0 !important;
    border-radius: 3px !important;
  }

  .site-header .main-nav .nav-item__sub a {
    color: rgba(255, 255, 255, 0.72) !important;
  }

  .site-header .main-nav .nav-item__sub a:hover,
  .site-header .main-nav .nav-item__sub a.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
  }

  .nav-toggle {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    border-radius: 3px !important;
  }

  .nav-toggle-bar {
    background: #fff !important;
  }

  .hero-banner,
  .hero-banner [data-cms-carousel-root],
  .banner-slide {
    min-height: 460px !important;
  }

  .page-hero,
  .page-hero [data-cms-carousel-root],
  .svc-hero,
  .svc-hero [data-cms-carousel-root],
  .cms-inner-slide {
    min-height: 320px !important;
  }

  .page-has-hero .page-hero:not([data-banner-page]):not(.page-hero--search) {
    min-height: 320px !important;
    padding: 84px 24px 58px !important;
  }

  .page-auth .auth-wrap {
    min-height: auto !important;
    padding-top: 84px !important;
    padding-bottom: 42px !important;
  }

  .page-auth .auth-visual {
    min-height: 300px;
    height: auto;
    padding: 28px 24px;
  }

  .page-auth .auth-visual h2 {
    font-size: 30px;
  }

  .banner-slide h2,
  .banner-slide .cms-banner-title {
    font-size: 34px !important;
  }

  .banner-slide .en,
  .banner-slide .cms-banner-sub,
  .cms-inner-slide .cms-banner-sub {
    font-size: 15px !important;
  }

  .banner-stats {
    gap: 10px !important;
  }

  .banner-stats div {
    min-width: calc(50% - 6px) !important;
    padding: 12px !important;
  }

  .section-title,
  .svc-h2,
  .about-contact-panel h2 {
    font-size: 22px !important;
  }

  .svc-module,
  .about-doc,
  .about-contact-panel {
    padding: 24px 20px 28px !important;
  }

  .svc-module:first-of-type::before,
  .svc-module:nth-of-type(2)::before {
    height: 170px !important;
  }
}
