/* ============================================================================
   苏州视觉语言 —— Suzhou Visual Language
   将苏式美学转译为色彩、几何、质感三层规则，叠加在原有品牌蓝之上。
   本文件在 style.css 之后加载，只做“覆盖 + 增强”，不破坏既有布局。
   ============================================================================ */

:root {
  /* ---- 基底：粉墙黛瓦 ---- */
  --sz-paper:        #FAF8F4;   /* 宣纸白 —— 页面底 */
  --sz-paper-2:      #F3EFE7;   /* 米白 —— 次级面板 */
  --sz-ink:          #16222E;   /* 墨青 —— 深底 */
  --sz-ink-2:        #1E2F3E;   /* 墨青浅 */
  --sz-tile:         #2A3F52;   /* 黛瓦蓝 —— 深底渐变端 */
  --sz-tile-3:       #35506B;

  /* ---- 主色：园林青 ---- */
  --sz-jade:         #0E5C4A;   /* 园林青 —— 主色 */
  --sz-jade-2:       #0A4739;
  --sz-jade-light:   #17795F;
  --sz-jade-wash:    rgba(14, 92, 74, 0.07);

  /* ---- 点缀：缂丝金 ---- */
  --sz-gold:         #C8922A;
  --sz-gold-2:       #A87A1E;
  --sz-gold-wash:    rgba(200, 146, 42, 0.10);

  /* ---- 线 ---- */
  --sz-line:         #DFD9CE;
  --sz-line-2:       #C9C1B2;

  /* ---- 质感：宣纸颗粒（内联 SVG，避免额外请求）---- */
  --sz-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");

  /* ---- 花窗格栅（用于卡片描边的几何底纹）---- */
  --sz-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='none' stroke='%23C8922A' stroke-width='0.6' opacity='0.5'%3E%3Cpath d='M0 28h56M28 0v56'/%3E%3Cpath d='M14 14l28 28M42 14L14 42'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- 基底与质感 */
body {
  background-color: var(--sz-paper);
  background-image: var(--sz-grain);
  color: var(--sz-ink);
}

/* ---------------------------------------------------------------- 章节弧线过渡
   用「月洞门」弧形替代生硬直角分割 */
.section-curved-top {
  position: relative;
  padding-top: 100px;
}
.section-curved-top::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 72px;
  background: var(--sz-paper);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  pointer-events: none;
  z-index: 2;
}

/* ---------------------------------------------------------------- 页眉：墨色 + 金线 */
.header {
  background: rgba(250, 248, 244, 0.92) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sz-line) !important;
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(22, 34, 46, 0.07) !important;
  border-bottom-color: var(--sz-line-2) !important;
}

/* 顶部一条极细的金色横线 —— 缂丝的“金线”意象 */
.header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--sz-gold) 18%,
      var(--sz-jade) 50%,
      var(--sz-gold) 82%,
      transparent 100%);
  opacity: .62;
  pointer-events: none;
}

/* ---------------------------------------------------------------- 导航：下划线走金 */
.nav > a {
  position: relative;
  transition: color var(--transition);
}
.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -7px;
  width: 0; height: 1.5px;
  background: var(--sz-gold);
  transform: translateX(-50%);
  transition: width .32s cubic-bezier(.4, 0, .2, 1);
}
.nav > a:not(.nav-cta):hover::after,
.nav > a.active:not(.nav-cta)::after {
  width: 100%;
}
.nav > a.active { color: var(--sz-jade) !important; }

/* 主按钮换成园林青 */
.nav-cta {
  background: var(--sz-jade) !important;
  border-color: var(--sz-jade) !important;
}
.nav-cta:hover {
  background: var(--sz-jade-2) !important;
  border-color: var(--sz-jade-2) !important;
}

/* ---------------------------------------------------------------- 语言切换器：更大气
   自称一套样式：不依赖 .nav 的 padding / active 下划线规则，
   并放在 header 容器里（<nav> 之外），移动端菜单收起时也不会被一起藏掉。 */
.header .lang-switch {
  position: relative !important;
  display: inline-block !important;
  margin-left: 14px !important;
  flex: 0 0 auto;
  z-index: 1300 !important;
}
.header .lang-switch * { box-sizing: border-box; }

.header .lang-switch-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  height: 40px;
  padding: 0 15px 0 15px !important;
  border: 1px solid var(--sz-line-2) !important;
  background: #fff !important;
  color: var(--sz-ink) !important;
  border-radius: 999px !important;          /* 胶囊形，更从容 */
  font-family: inherit;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  line-height: 1 !important;
  letter-spacing: .3px !important;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(22, 34, 46, .05) !important;
  transition: border-color var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition) !important;
}
.header .lang-switch-btn:hover {
  border-color: var(--sz-jade) !important;
  background: #fff !important;
  color: var(--sz-jade) !important;
  box-shadow: 0 3px 14px rgba(14, 92, 74, .13) !important;
}
.header .lang-switch-btn .globe {
  width: 16px !important; height: 16px !important;
  flex: 0 0 16px;
  color: var(--sz-jade);
}
.header .lang-switch-btn .lang-cur {
  font-weight: 500;
  text-align: left;
  color: inherit;
  white-space: nowrap;
}
.header .lang-switch-btn .caret {
  width: 11px !important; height: 11px !important;
  flex: 0 0 11px;
  opacity: .5;
  transition: transform .22s ease !important;
}
.header .lang-switch.open .lang-switch-btn {
  border-color: var(--sz-jade) !important;
  color: var(--sz-jade) !important;
}
.header .lang-switch.open .lang-switch-btn .caret {
  transform: rotate(180deg) !important;
}

/* 下拉：克制的白卡，金色高亮当前项 */
.header .lang-switch-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
  min-width: 200px !important;
  margin: 0 !important;
  padding: 8px !important;
  list-style: none !important;
  background: #fff !important;
  border: 1px solid var(--sz-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 48px rgba(22, 34, 46, .16) !important;
  z-index: 1301 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.header .lang-switch.open .lang-switch-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.header .lang-switch-menu li { list-style: none !important; margin: 0 !important; }
.header .lang-switch-menu a,
.header .lang-switch-menu a:hover,
.header .lang-switch-menu a.active {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: var(--sz-ink) !important;
  background: transparent !important;
  border-radius: 9px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transform: none !important;
}
.header .lang-switch-menu a::after { content: none !important; }
.header .lang-switch-menu a .code {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-gray-4);
  min-width: 22px;
}
.header .lang-switch-menu a:hover {
  background: var(--sz-jade-wash) !important;
  color: var(--sz-jade) !important;
}
.header .lang-switch-menu a:hover .code { color: var(--sz-jade-light); }
.header .lang-switch-menu a.active {
  /* 下拉是白卡：当前语种去金，用园林青高亮 */
  background: var(--sz-jade-wash) !important;
  color: var(--sz-jade) !important;
  font-weight: 500 !important;
}
.header .lang-switch-menu a.active .code { color: var(--sz-jade); }
.header .lang-switch-menu a.active::after {
  content: "";
  margin-left: auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sz-gold);
}

/* ---------------------------------------------------------------- Hero：水墨意境 */
/* 首页 hero 交由航拍实景图作背景，此处仅保留氛围光 */
.hero {
  background: transparent;
  position: relative;
  overflow: hidden;
}
/* 远山：三层水墨剪影 */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 240px;
  pointer-events: none;
  opacity: .5;
  background:
    radial-gradient(60% 100% at 22% 100%, rgba(250, 248, 244, .10), transparent 70%),
    radial-gradient(48% 88% at 52% 100%, rgba(250, 248, 244, .07), transparent 72%),
    radial-gradient(66% 100% at 84% 100%, rgba(250, 248, 244, .09), transparent 70%);
}
.hero-bg { z-index: 0; }

/* 花窗格栅水印，落在 hero 右上 */
.hero-bg::after {
  content: "";
  position: absolute;
  top: 8%; right: 4%;
  width: 300px; height: 300px;
  background-image: var(--sz-lattice);
  opacity: .34;
  mask-image: radial-gradient(circle at center, #000 32%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at center, #000 32%, transparent 72%);
  pointer-events: none;
}

.hero-badge {
  border: 1px solid rgba(200, 146, 42, .38) !important;
  background: rgba(200, 146, 42, .10) !important;
  color: #F0D9A8 !important;
  backdrop-filter: blur(6px);
}
.hero-badge .dot { background: var(--sz-gold) !important; }

.hero h1 { letter-spacing: -.01em; }
.hero h1 .highlight {
  /* 2026-09-11 客户要求「智造未来」改为纯白色（非渐变）。
     去掉 background-clip:text 渐变填充，改用纯色 #FFFFFF + 暗描边保证亮底可读；
     六语种同一元素一并生效（zh 智造未来 / en Smart Future / ru Умное будущее /
     fr Avenir intelligent / ja スマートな未来 / ko 스마트 미래）。 */
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  /* 用 drop-shadow 给纯白字描一圈暗边，保证在亮天空/厂房背景上清晰 */
  filter: drop-shadow(0 2px 3px rgba(3, 10, 24, .95))
          drop-shadow(0 5px 22px rgba(3, 10, 24, .8));
  font-weight: 800 !important;
}
.hero h1 .accent-text {
  color: rgba(255, 255, 255, .96) !important;
  font-weight: 400 !important;
  text-shadow: 0 2px 4px rgba(3, 10, 24, .95), 0 6px 28px rgba(3, 10, 24, .8) !important;
}
.hero-subtitle {
  color: rgba(255, 255, 255, .95) !important;
  text-shadow: 0 1px 3px rgba(3, 10, 24, .95), 0 4px 18px rgba(3, 10, 24, .78) !important;
}

/* ---------------------------------------------------------------- 次级按钮：金线 */
.btn-outline-light,
.hero .btn-outline {
  border-color: rgba(250, 248, 244, .34) !important;
  color: #FAF8F4 !important;
}
.hero .btn-outline:hover {
  /* hero 在深色底图上：去金改白 */
  border-color: rgba(255, 255, 255, .85) !important;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, .12) !important;
}

/* 主按钮：金 → 青的苏式对撞 */
.btn-primary {
  background: var(--sz-jade) !important;
  border-color: var(--sz-jade) !important;
}
.btn-primary:hover {
  background: var(--sz-jade-2) !important;
  border-color: var(--sz-jade-2) !important;
}

/* ---------------------------------------------------------------- 信任条 */
.trust-bar {
  background: var(--sz-paper-2) !important;
  border-top: 1px solid var(--sz-line);
  border-bottom: 1px solid var(--sz-line);
}

/* ---------------------------------------------------------------- 通用面板：宣纸卡片 */
.card,
.product-card,
.industry-card,
.feature-card,
.info-card,
.timeline-content,
.contact-card {
  background: #fff !important;
  border: 1px solid var(--sz-line) !important;
  border-radius: 14px !important;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.card:hover,
.product-card:hover,
.industry-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 146, 42, .5) !important;
  box-shadow: 0 18px 44px rgba(22, 34, 46, .10) !important;
}

/* 产品卡：左上角花窗金角 */
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border-top: 2px solid var(--sz-gold);
  border-left: 2px solid var(--sz-gold);
  border-radius: 14px 0 0 0;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.product-card:hover::before { opacity: 1; }

/* ---------------------------------------------------------------- 章节标题：金色小刻线 */
.section-title,
h2.section-heading {
  position: relative;
}
.section-label,
.section-kicker {
  /* 同 .eyebrow：浅底用园林青保证可读，深底用白 */
  color: var(--sz-jade) !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
  font-size: 12px !important;
}

.section-dark .section-label,
.section-dark .section-kicker,
.cta-section .section-label,
.cta-section .section-kicker {
  color: #FFFFFF !important;
}
.section-label::before,
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--sz-gold);
  margin-right: 10px;
  vertical-align: middle;
}

/* ---------------------------------------------------------------- 深色段落：墨韵 */
.section-dark {
  background:
    radial-gradient(760px 340px at 84% 0%, rgba(14, 92, 74, .26), transparent 64%),
    linear-gradient(158deg, var(--sz-ink) 0%, var(--sz-ink-2) 52%, var(--sz-tile) 100%) !important;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--sz-grain);
  opacity: .5;
  pointer-events: none;
}

.section-gray { background: var(--sz-paper-2) !important; }

/* ---------------------------------------------------------------- 数字：宋体对撞 */
.stat-number,
.metric-value,
.counter,
.trust-number,
.num {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC",
               "Noto Serif SC", Georgia, serif !important;
  font-weight: 500 !important;
  color: var(--sz-jade) !important;
  letter-spacing: -.01em;
}
.section-dark .stat-number,
.section-dark .metric-value,
.section-dark .counter {
  color: #E8C77A !important;
}

/* ---------------------------------------------------------------- 分隔线：金色渐隐 */
hr, .divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sz-line-2), transparent);
}

/* ---------------------------------------------------------------- 页脚 */
.footer,
.footer-main {
  background: var(--sz-ink) !important;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent, var(--sz-gold) 24%, var(--sz-jade) 50%,
      var(--sz-gold) 76%, transparent);
  opacity: .5;
}

/* ---------------------------------------------------------------- 表单 */
input[type="text"], input[type="tel"], input[type="email"],
select, textarea {
  border: 1px solid var(--sz-line-2) !important;
  border-radius: 10px !important;
  background: #fff !important;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--sz-jade) !important;
  box-shadow: 0 0 0 3px var(--sz-jade-wash) !important;
  outline: none;
}

/* ---------------------------------------------------------------- 远山层叠（hero 装饰）
   注意：hero 已有航拍实景时，这些装饰光斑/远山会与照片叠加成脏块，
   并把版面撑出横向溢出，因此在有照片时全部隐藏（见文件末尾 .hero:has 规则）。 */
.sz-ridge {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
  opacity: .55;
}
.sz-ridge span {
  position: absolute;
  bottom: -40px;
  left: 50%;
  width: 130%;
  height: 200px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateX(-50%);
}
.sz-ridge span:nth-child(1) {
  background: rgba(14, 92, 74, .10);
  width: 150%;
  height: 168px;
  left: 18%;
}
.sz-ridge span:nth-child(2) {
  background: rgba(42, 63, 82, .16);
  width: 120%;
  height: 138px;
  left: 62%;
}
.sz-ridge span:nth-child(3) {
  background: rgba(22, 34, 46, .22);
  width: 165%;
  height: 106px;
  left: 44%;
}

/* ---------------------------------------------------------------- CTA：飞檐金线 */
.cta-section {
  position: relative;
  overflow: hidden;
}
.sz-eave {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent, var(--sz-gold) 22%, var(--sz-jade-light) 50%,
      var(--sz-gold) 78%, transparent);
  opacity: .62;
}
.sz-eave::before,
.sz-eave::after {
  content: "";
  position: absolute;
  top: 0;
  width: 64px; height: 26px;
  border-top: 1px solid rgba(200, 146, 42, .55);
}
.sz-eave::before {
  left: 6%;
  border-left: 1px solid rgba(200, 146, 42, .55);
  border-radius: 3px 0 0 0;
}
.sz-eave::after {
  right: 6%;
  border-right: 1px solid rgba(200, 146, 42, .55);
  border-radius: 0 3px 0 0;
}

/* ================================================================
   视觉冲突美学 —— Visual Clash
   苏式底色（粉墙黛瓦 / 园林青 / 缂丝金）与工业制造题材之间的张力：
   极致的「柔 vs 刚」「旧 vs 新」「细笔 vs 粗重量」。
   ================================================================ */

/* ---- 1. eyebrow 小标题：金色刻线 + 字距放大 ---- */
.eyebrow {
  /* 2026-09-11 「金色字体统一改为白色」。
     这个元素多数落在宣纸白底上（4 处里 3 处是浅底），改白会不可见，
     因此浅底用园林青、深底（.section-dark 内）用白色 —— 见下方配套规则。 */
  color: var(--sz-jade) !important;
  letter-spacing: .22em !important;
  text-transform: uppercase;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* 深底区域内的 eyebrow 才用白色（深色区上白字清晰） */
.section-dark .eyebrow,
.cta-section .eyebrow,
.footer .eyebrow {
  color: #FFFFFF !important;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  height: 1px;
  width: 26px;
  background: linear-gradient(90deg, transparent, var(--sz-gold));
  flex: 0 0 auto;
}
.eyebrow::after { background: linear-gradient(90deg, var(--sz-gold), transparent); }
.section-dark .eyebrow { color: #E8C77A !important; }

/* ---- 2. 章节主标题：苏式「瘦金」比例的收放 ---- */
.section-header h2,
.section-title h2 {
  font-weight: 600;
  letter-spacing: -.015em;
}
.section-header h2::after {
  content: "";
  display: block;
  width: 46px; height: 2px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--sz-gold), transparent);
}
.section-header { text-align: left !important; }
.section-header p { max-width: 62ch; }

/* ---- 3. feature-tag：从「工业贴纸」变成「缂丝小签」---- */
.feature-tag {
  background: rgba(14, 92, 74, .06) !important;
  border: 1px solid rgba(14, 92, 74, .18) !important;
  color: var(--sz-jade-2) !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  letter-spacing: .02em;
  padding: 5px 12px !important;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition);
}
.feature-tag:hover {
  /* 浅底标签：去金，改用园林青系 */
  background: var(--sz-jade-wash) !important;
  border-color: rgba(14, 92, 74, .4) !important;
  color: var(--sz-jade) !important;
}

/* ---- 4. icon-box：花窗方形 + 金角 ---- */
.icon-box {
  background: linear-gradient(150deg, var(--sz-jade) 0%, var(--sz-jade-2) 100%) !important;
  border-radius: 12px !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(14, 92, 74, .18);
}
.icon-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--sz-lattice);
  opacity: .30;
  pointer-events: none;
}
.icon-box svg, .icon-box i, .icon-box .icon {
  position: relative;
  z-index: 1;
  color: #fff !important;
}

/* ---- 5. 数字（.num / .hero-stat / .brand-pos-stat-num）：宋体对撞 ---- */
.num,
.hero-stat strong,
.brand-pos-stat-num,
.step-num {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC",
               "Noto Serif SC", Georgia, serif !important;
  font-weight: 600 !important;
  color: var(--sz-jade) !important;
  font-variant-numeric: lining-nums;
}
.hero-stat strong { color: #E8C77A !important; }
.section-dark .num, .section-dark .brand-pos-stat-num { color: #E8C77A !important; }

/* 数字后缀单位：纤细无衬线，形成「宋 vs 黑」的字体对撞 */
.hero-stat span,
.brand-pos-stat-label {
  font-family: var(--font-sans, system-ui, -apple-system, "Segoe UI", sans-serif);
  letter-spacing: .04em;
}

/* ---- 6. hero 卡片：深色实底玻璃卡，与明亮实景图强对比 ---- */
/* 容器：整块深色面板，让 6 个卡片成为一体 */
.hero-card {
  /* 2026-09-11 客户要求「核心业务模块颜色再淡点，需要能看到背景厂房的样子」。
     不透明度 .90/.95 -> .56/.66，模糊 18px -> 7px，让航拍厂房明显透出。 */
  background: linear-gradient(165deg,
      rgba(10, 26, 50, .56) 0%,
      rgba(7, 19, 38, .66) 100%) !important;
  border: 1px solid rgba(107, 169, 255, .28) !important;
  box-shadow: 0 18px 50px rgba(3, 10, 24, .38), inset 0 1px 0 rgba(255, 255, 255, .12) !important;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.hero-card-title {
  color: #fff !important;
  /* 卡片变透明后，文字必须自带足够暗边才能在亮厂房上读清 */
  text-shadow: 0 1px 3px rgba(3, 10, 24, .95), 0 2px 10px rgba(3, 10, 24, .75);
  border-bottom: 1px solid rgba(107, 169, 255, .22) !important;
  padding-bottom: 16px;
}
/* 标题小图标：换成品牌蓝实底 */
.hero-card-title .icon {
  background: var(--color-gradient) !important;
  box-shadow: 0 4px 14px rgba(10, 92, 224, .45);
}
.hero-card-title .icon svg { stroke: #fff !important; }
/* 行内写死的浅色图标底，在深色卡上统一提升为实底彩块 */
.hero-card-item .icon-box { opacity: 1; }
.hero-card-item .icon-box svg { stroke: #fff !important; }
.hero-card-item .icon-box[style*="0,128,255"]      { background: #0A5CE0 !important; }
.hero-card-item .icon-box[style*="0,184,132"]      { background: #00875F !important; }
.hero-card-item .icon-box[style*="255,107,26"]     { background: #D95A0C !important; }
.hero-card-item .icon-box[style*="147,112,219"]    { background: #6244B8 !important; }
.hero-card-item .icon-box[style*="0,184,169"]      { background: #00857A !important; }

/* 单个业务卡片：同样降不透明度 + 降模糊（原 .82/.88 + blur 10px） */
.hero-card-item {
  background: linear-gradient(180deg,
      rgba(14, 40, 74, .48) 0%,
      rgba(9, 27, 54, .56) 100%) !important;
  border: 1px solid rgba(120, 180, 255, .30) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(4, 14, 32, .26), inset 0 1px 0 rgba(255, 255, 255, .10);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
/* hover：略提亮但仍保持通透，不再回到深实底 */
.hero-card-item:hover {
  background: linear-gradient(180deg,
      rgba(18, 58, 106, .62) 0%,
      rgba(11, 38, 74, .70) 100%) !important;
  border-color: rgba(107, 169, 255, .70) !important;
  box-shadow: 0 12px 36px rgba(10, 92, 224, .40), inset 0 1px 0 rgba(255, 255, 255, .18);
  transform: translateY(-4px);
}
.hero-card-item h4 {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(3, 10, 24, .95), 0 2px 8px rgba(3, 10, 24, .70);
}
.hero-card-item p {
  color: rgba(255, 255, 255, .90) !important;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(3, 10, 24, .92), 0 1px 6px rgba(3, 10, 24, .65);
}

/* ---- 7. 材质对撞：一个「刚」的金属切角，落在「柔」的宣纸卡上 ---- */
.product-card {
  position: relative;
  overflow: hidden;
}
.product-card::after {
  content: "";
  position: absolute;
  right: -28px; bottom: -28px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, transparent 50%, var(--sz-gold-wash) 50%);
  transform: rotate(0deg);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.product-card:hover::after { opacity: 1; }

/* ---- 8. img-overlay / img-label：产品图上的墨色压条 ---- */
.img-overlay {
  background: linear-gradient(to top,
      rgba(22, 34, 46, .74) 0%,
      rgba(22, 34, 46, .18) 46%,
      transparent 76%) !important;
}
.img-label {
  background: rgba(200, 146, 42, .92) !important;
  color: #16222E !important;
  font-weight: 600 !important;
  letter-spacing: .04em;
  border-radius: 999px !important;
  padding: 4px 11px !important;
  font-size: 11px !important;
}

/* ---- 9. 用户说的「冲突」：在浅色段里插一条深色「墨带」---- */
.section-gray .brand-pos-stat,
.section .brand-pos-stat {
  background: #fff !important;
  border: 1px solid var(--sz-line) !important;
  border-radius: 14px !important;
  padding: 22px 24px !important;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.brand-pos-stat:hover {
  border-color: rgba(200, 146, 42, .5) !important;
  box-shadow: 0 14px 36px rgba(22, 34, 46, .09) !important;
}

/* ---- 10. 品牌定位区：水墨底 + 金线 ---- */
.section-brand-pos {
  position: relative;
  background:
    radial-gradient(680px 340px at 88% 6%, rgba(14, 92, 74, .10), transparent 62%),
    linear-gradient(170deg, var(--sz-paper) 0%, var(--sz-paper-2) 100%) !important;
}
.brand-pos-icon {
  background: linear-gradient(150deg, var(--sz-jade) 0%, var(--sz-jade-2) 100%) !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 20px rgba(14, 92, 74, .16);
  position: relative;
  overflow: hidden;
}
.brand-pos-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--sz-lattice);
  opacity: .28;
}
.brand-pos-icon svg { position: relative; z-index: 1; color: #fff; }

/* ---- 11. 关于区小图 + 勾选 ---- */
.about-feature .check,
.about-feature svg.check {
  /* 浅底勾选标记：去金改园林青 */
  color: var(--sz-jade) !important;
}
.info-item .icon {
  color: var(--sz-jade) !important;
}

/* ---- 12. footer 链接：金色下划线滑动 ---- */
.footer a {
  transition: color var(--transition);
}
.footer-main a:hover { color: #FFFFFF !important; }

/* ---- 13. 章节之间的「水波」细纹（极轻，只在浅色段）---- */
.section-gray::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sz-line-2) 30%,
              var(--sz-line-2) 70%, transparent);
  pointer-events: none;
}
.section { position: relative; }

/* ---------------------------------------------------------------- 花窗漏景
   hero 右侧的「花窗」—— 四扇方形窗格，斜向排列，越往外越淡。
   苏式园林「漏窗」的现代转译。 */
.sz-window {
  position: absolute;
  top: 12%;
  right: 6%;
  width: 320px;
  height: 320px;
  pointer-events: none;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  transform: rotate(-6deg);
  opacity: .5;
  mask-image: radial-gradient(circle at 30% 30%, #000 26%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000 26%, transparent 74%);
}
.sz-window span {
  border: 1px solid rgba(200, 146, 42, .42);
  border-radius: 50% 50% 12% 12% / 30% 30% 12% 12%;
  position: relative;
}
.sz-window span::before,
.sz-window span::after {
  content: "";
  position: absolute;
  background: rgba(200, 146, 42, .30);
}
.sz-window span::before { left: 50%; top: 12%; bottom: 12%; width: 1px; }
.sz-window span::after { top: 50%; left: 12%; right: 12%; height: 1px; }
.sz-window span:nth-child(2) { transform: translateY(20px); opacity: .78; }
.sz-window span:nth-child(3) { transform: translateY(-12px); opacity: .62; }
.sz-window span:nth-child(4) { opacity: .42; }

/* ---------------------------------------------------------------- 章节序号
   苏式「壹贰叁」做章节标记，与阿拉伯数字形成中西对撞。 */
.sz-ordinal {
  display: inline-block;
  font-family: "Songti SC", "SimSun", "Source Han Serif SC",
               "Noto Serif SC", Georgia, serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 600;
  color: rgba(200, 146, 42, .42);
  margin-right: 12px;
  vertical-align: -4px;
  letter-spacing: 0;
  user-select: none;
}
.section-dark .sz-ordinal { color: rgba(232, 199, 122, .46); }
.eyebrow:has(.sz-ordinal) { gap: 0; }
.eyebrow:has(.sz-ordinal)::before,
.eyebrow:has(.sz-ordinal)::after { display: none; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 968px) {
  .sz-window { display: none; }
  .sz-ordinal { font-size: 26px; margin-right: 9px; }
  .section-header { text-align: left !important; }
  /* 切换器收进汉堡菜单右侧，仍是同一个按钮 + 下拉 */
  .header .lang-switch {
    margin-left: auto !important;
    margin-right: 10px !important;
  }
  .header .lang-switch-menu {
    right: 0 !important;
    left: auto !important;
    min-width: 190px !important;
  }
  .hero-bg::after { display: none; }
  .section-curved-top { padding-top: 64px; }
  .section-curved-top::before { height: 46px; }
  .sz-ridge { height: 110px; }
  .sz-ridge span:nth-child(3) { height: 74px; }
}

/* ---------------------------------------------------------------- 减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .card:hover, .product-card:hover, .industry-card:hover, .feature-card:hover {
    transform: none;
  }
}

/* ---------------------------------------------------------------- 航拍实景模式下关闭装饰层
   hero 已有真实厂区照片时，苏式的远山剪影 / 花窗格栅 / 品牌光斑会与照片叠加成
   糊状脏块，并把容器撑出横向溢出（尤其窄屏）。有照片时一律隐藏，让照片干净呈现。 */
.hero:has(.hero-photo) .sz-ridge,
.hero:has(.hero-photo) .sz-window,
.hero:has(.hero-photo) .hero-bg .glow,
.hero:has(.hero-photo) .hero-bg::after,
.hero:has(.hero-photo) .hero::after {
  display: none !important;
}

/* 照片本身也不允许撑破视口宽度 */
.hero:has(.hero-photo) .hero-bg,
.hero:has(.hero-photo) .hero-photo {
  max-width: 100%;
  overflow: hidden;
}
