/* ============================================================
   椽仕设计 全站基础样式（css/chuanshi.css）
   基准：首屏v3 HTML；配色：主红 #c41e3a / 金 #c9a96e / 浅米 #f8f7f5
   说明：椽仕页面不加载模板 luxury-dark.css，本文件自带完整基座
   ============================================================ */
:root {
  --cs-red: #c41e3a;
  --cs-gold: #c9a96e;
  --cs-cream: #f8f7f5;
  --cs-text: #333;
  --cs-muted: #666;
  --cs-light: #999;
  --cs-border: #eee;
  --cs-border-light: #f0f0f0;
  /* 字体族变量：后台「字体管理」上传自定义字体后，由 header 覆盖这两个变量即可全站换字 */
  --cs-font-serif: "Noto Serif TC", "Songti SC", "SimSun", serif;
  --cs-font-sans: "Noto Sans TC", "STXihei", "华文细黑", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* 全站标题统一思源宋体繁（Noto Serif TC），可经 --cs-font-serif 覆盖 */
h1, h2, h3, h4, h5, h6 { font-family: var(--cs-font-serif); }
body {
  font-family: var(--cs-font-sans);
  background: #fff;
  color: var(--cs-text);
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== 顶部导航栏（毛玻璃常显，v3 基准） ========== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  height: 76px;
}
.nav-left { display: flex; align-items: center; gap: 16px; }
.nav-hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 4px; cursor: pointer; background: none; border: none;
  padding: 4px; width: 30px; height: 30px;
}
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px; background: #333;
  transition: all 0.3s;
}
.nav-logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 27px; font-weight: 700; letter-spacing: 3px; color: #888;
  font-family: var(--cs-font-serif);
  width: max-content;
  white-space: nowrap;
}
/* 图片版 Logo：字标图 + 右侧品牌名（约束在加高后的导航条内，桌面 76px / ≤1024 64px） */
.nav-logo--img { display: flex; align-items: center; gap: 12px; }
.nav-logo--img img { height: 44px; width: auto; display: block; }
.nav-logo-word { font-size: 16px; letter-spacing: 3px; color: #333; white-space: nowrap; }
.nav-logo .accent { color: #888; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-lang { display: flex; gap: 8px; font-size: 13px; color: #888; }
.nav-lang a { transition: color 0.3s; }
.nav-lang a:hover, .nav-lang a.active { color: #555; }
.nav-lang .divider { color: #ccc; }

/* ========== 首屏轮播（纯图片，无文字） ========== */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 500px; overflow: hidden;
}
.hero-slides { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-indicators {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 10;
}
.hero-indicator {
  width: 30px; height: 2px; background: rgba(255,255,255,0.4);
  cursor: pointer; transition: all 0.3s; border: none; padding: 0;
}
.hero-indicator.active { background: #fff; }

/* ========== 首页三栏内容区 ========== */
.three-col { padding: 60px 40px 80px; background: #fff; }
.three-col-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;
}
.col-item { cursor: pointer; }
.col-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 600; color: #333;
  margin-bottom: 20px; letter-spacing: 2px;
}
.col-title::before {
  content: ''; display: inline-block; width: 3px; height: 16px; background: var(--cs-red);
}
.col-desc { font-size: 13px; line-height: 1.9; color: #777; letter-spacing: 0.5px; }
.col-item:hover .col-title { color: var(--cs-red); }
.col-title-en {
  font-size: 11px; color: #b0b0b0; letter-spacing: 4px; font-weight: 400;
  margin: -12px 0 14px 15px;
}

/* ========== 左侧抽屉菜单 ========== */
.menu-mask {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 199;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.menu-mask.open { opacity: 1; visibility: visible; }
.sidebar {
  position: fixed; top: 0; left: 0; width: 320px; height: 100%;
  background: #fff; z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  box-shadow: 2px 0 20px rgba(0,0,0,0.1);
  overflow-x: hidden; overflow-y: auto;
}
.sidebar.open { transform: translateX(0); }
.sidebar-top {
  padding: 12px 16px; display: flex; align-items: center; justify-content: flex-end;
}
.sidebar-close {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: none; border: none; font-size: 22px; color: #999;
  transition: color 0.3s;
}
.sidebar-close:hover { color: var(--cs-red); }
.sidebar-menu { flex: 1; overflow-y: auto; padding: 12px 0; }
.menu-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; font-size: 15px; color: #333; letter-spacing: 1px;
  cursor: pointer; transition: all 0.3s;
}
.menu-link:hover { color: var(--cs-red); background: #fafafa; padding-left: 34px; }
.menu-item.open .menu-link { color: var(--cs-red); }
.submenu { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 0.3s ease, visibility 0.3s; background: #fafafa; }
.menu-item.open .submenu { max-height: 300px; visibility: visible; }
.submenu li { padding: 12px 28px 12px 48px; }
.submenu a { font-size: 13px; color: #666; letter-spacing: 0.5px; transition: color 0.3s; }
.submenu a:hover { color: var(--cs-red); }

/* ========== 侧栏子分类：桌面端悬浮主分类时，面板在主分类右侧、覆盖于侧边栏之上（触屏窄屏保留点击手风琴） ========== */
@media (min-width: 1025px) {
  .menu-item { position: relative; }
  /* 面板右缘贴齐抽屉右缘（即落在侧边栏内），出现在被悬浮项的高度上，盖住其下方菜单项 */
  .menu-item > .submenu {
    position: absolute; top: 0; right: 0;
    width: 200px; background: #fff;
    border: 1px solid var(--cs-border-light);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  }
  /* 抬高被悬浮项，保证面板盖过排在其后的兄弟菜单项；收起时连边框一起隐藏（否则露出两条横线） */
  .menu-item > .submenu { visibility: hidden; }
  .menu-item:hover { z-index: 30; }
  .menu-item:hover > .submenu { max-height: 420px; visibility: visible; }
  .menu-item:hover > .menu-link { color: var(--cs-red); background: #fafafa; }
}

/* ========== 页脚（v3 基准：#666 + 社交图标行 + 版权行） ========== */
.footer { background: #666; padding: 34px 40px 30px; text-align: center; margin-top: auto; }
.footer-social {
  display: flex; justify-content: center; flex-wrap: wrap; align-items: center;
  gap: 22px; margin-bottom: 18px;
}
.footer-social a,
.footer-social button {
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
.footer-social button { border: 0; background: none; padding: 0; cursor: pointer; }
.footer-social a:hover,
.footer-social button:hover { color: #fff; transform: translateY(-3px); opacity: 1; }
.footer-social a svg,
.footer-social button svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; }
.footer-copy a { color: rgba(255,255,255,0.5); text-decoration: underline; margin-left: 8px; }

/* 社交名片弹窗（点击页脚图标弹出二维码 / 可复制账号） */
.cs-social-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
}
.cs-social-modal[hidden] { display: none; }
.cs-social-modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.cs-social-modal__card {
  position: relative; background: #fff; width: 300px; max-width: calc(100vw - 40px);
  padding: 34px 26px 26px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: cs-social-in 0.25s ease;
}
@keyframes cs-social-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.cs-social-modal__close {
  position: absolute; top: 6px; right: 12px;
  border: 0; background: none; padding: 4px;
  font-size: 24px; line-height: 1; color: #bbb; cursor: pointer;
}
.cs-social-modal__close:hover { color: #666; }
.cs-social-modal__name { font-size: 16px; font-weight: 600; color: var(--cs-text); letter-spacing: 1px; }
.cs-social-modal__qr img {
  display: block; width: 200px; height: 200px; object-fit: contain;
  margin: 18px auto 0; border: 1px solid #eee;
}
.cs-social-modal__value {
  margin-top: 14px; font-size: 14px; color: var(--cs-muted);
  letter-spacing: 0.5px; word-break: break-all;
}
.cs-social-modal__copy {
  margin-top: 14px; padding: 9px 30px; font-size: 13px; letter-spacing: 2px;
  border: 1px solid #ccc; background: transparent; color: var(--cs-muted);
  cursor: pointer; transition: all 0.3s;
}
.cs-social-modal__copy:hover,
.cs-social-modal__copy.copied { background: var(--cs-text); border-color: var(--cs-text); color: #fff; }
.cs-social-modal__hint { margin-top: 14px; font-size: 11px; color: #b0b0b0; letter-spacing: 0.5px; }

/* ========== 滚动渐入动画 ========== */
.js .reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.revealed { opacity: 1; transform: translateY(0); }
.js .reveal:nth-child(2) { transition-delay: 0.15s; }
.js .reveal:nth-child(3) { transition-delay: 0.3s; }

/* ============================================================
   以下为内页通用组件（椽仕规范）
   ============================================================ */

/* 红竖线标题（3px×16px，间距12px） */
.cs-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 22px; font-weight: 700; color: var(--cs-text);
  letter-spacing: 2px; font-family: var(--cs-font-serif);
}
.cs-title::before {
  content: ''; display: inline-block; width: 3px; height: 16px; background: var(--cs-red);
}
.cs-title--center { justify-content: center; }
.cs-title-en {
  font-size: 11px; color: #b0b0b0; letter-spacing: 4px; font-weight: 400;
  margin-top: 8px; text-align: center;
}

/* 内页 40vh banner（黑渐变蒙版 + 白衬线大标题 + 金色英文小字） */
.cs-banner {
  position: relative; height: 40vh; min-height: 300px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.cs-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%);
}
.cs-banner-inner { position: relative; text-align: center; padding-top: 54px; }
.cs-banner h1 {
  color: #fff; font-size: 44px; letter-spacing: 6px; font-weight: 700;
  font-family: var(--cs-font-serif);
}
.cs-banner .cs-banner-en {
  margin-top: 14px; color: var(--cs-gold); font-size: 13px; letter-spacing: 6px;
}

/* 内容容器与区块 */
.cs-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.cs-section { padding: 80px 0; }
.cs-section--cream { background: var(--cs-cream); }

/* 按钮：中性灰描边（2026-09-13 全站去红） */
.cs-btn {
  display: inline-block; padding: 12px 36px; font-size: 14px; letter-spacing: 2px;
  border: 1px solid #ccc; background: transparent; color: var(--cs-muted);
  cursor: pointer; transition: all 0.3s;
}
.cs-btn:hover { background: var(--cs-text); border-color: var(--cs-text); color: #fff; }
.cs-btn--ghost { background: transparent; color: var(--cs-muted); border-color: #ccc; }
.cs-btn--ghost:hover { background: var(--cs-text); border-color: var(--cs-text); color: #fff; }
.cs-btn--dark { border-color: #333; background: #333; color: #fff; }
.cs-btn--dark:hover { background: #555; border-color: #555; }

/* 面包屑 */
.cs-breadcrumb { font-size: 12px; color: var(--cs-light); letter-spacing: 1px; }
.cs-breadcrumb a { color: var(--cs-light); transition: color 0.3s; }
.cs-breadcrumb a:hover { color: var(--cs-red); }
.cs-breadcrumb .sep { margin: 0 8px; color: #ccc; }

/* 信息类列表：白底、项间 1px 浅灰下边框、无卡片阴影（SLD 企业信息页规范） */
.cs-info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.cs-info-list li {
  padding: 18px 4px; border-bottom: 1px solid var(--cs-border);
}
.cs-info-list h3 {
  font-size: 14px; color: var(--cs-text); font-weight: 600;
  letter-spacing: 1px; margin-bottom: 8px;
}
.cs-info-list h3::before {
  content: ''; display: inline-block; width: 3px; height: 12px;
  background: var(--cs-red); margin-right: 10px; vertical-align: -1px;
}
.cs-info-list p { font-size: 13px; color: var(--cs-muted); line-height: 1.9; }


/* 上下篇导航 */
.cs-pager {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--cs-border); margin-top: 60px; padding-top: 28px;
  font-size: 13px; color: var(--cs-muted);
}
.cs-pager a { color: var(--cs-muted); transition: color 0.3s; }
.cs-pager a:hover { color: var(--cs-red); }

/* 404 / 空状态 */
.cs-empty { text-align: center; padding: 60px 0; color: var(--cs-light); font-size: 14px; letter-spacing: 1px; }

/* 卡片（直角，hover 上浮+阴影） */
.cs-card {
  background: #fff; transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.cs-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .navbar { padding: 10px 16px; height: 64px; }
  .nav-logo { font-size: 24px; letter-spacing: 2px; }
  .nav-hamburger { width: 26px; height: 26px; gap: 3px; }
  .nav-hamburger span { width: 18px; }
  .three-col-inner { grid-template-columns: 1fr; gap: 40px; }
  .three-col { padding: 40px 20px 60px; }
  .sidebar { width: 280px; }
  .hero { height: 100svh; }
  .cs-container { padding: 0 20px; }
  .cs-info-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-logo--img img { height: 32px; }
  .nav-logo-word { font-size: 13px; letter-spacing: 1px; }
  .nav-lang { font-size: 12px; }
  .hero { height: 0; padding-top: 56.25%; min-height: 0; }
  .hero-indicators { bottom: 14px; }
  .hero-indicator { width: 20px; }
  .three-col { padding: 60px 20px 80px; }
  .three-col-inner { gap: 56px; }
  .col-item { padding-top: 8px; border-bottom: 1px solid #ececec; }
  .col-item:last-child { border-bottom: none; }
  .col-title { font-size: 19px; margin-bottom: 10px; }
  .col-title-en { margin: 0 0 14px 15px; letter-spacing: 5px; }
  .col-desc { font-size: 14px; line-height: 2.1; }
  .footer { padding: 26px 20px; }
  .cs-banner h1 { font-size: 30px; letter-spacing: 4px; }
  .cs-section { padding: 56px 0; }
  .cs-title { font-size: 19px; }
}
/* 窄屏：中/EN 与居中标同级，收紧字标防重叠 */
@media (max-width: 480px) {
  .nav-logo--img { gap: 8px; }
  .nav-logo--img img { height: 28px; }
  .nav-logo-word { font-size: 12px; letter-spacing: 0; }
}

/* ========== 区块标题（中英文并排同色） ========== */
.cs-title-row {
  display: flex; align-items: baseline; gap: 16px;
  padding: 44px 0 0;
}
.cs-title-row-cn {
  font-size: 26px; font-weight: 700; letter-spacing: 3px;
  color: var(--cs-text);
  font-family: var(--cs-font-serif);
}
.cs-title-row-en {
  font-size: 13px; letter-spacing: 4px;
  color: var(--cs-text); text-transform: uppercase;
}

/* 左对齐标题的英文副标题：与中文标题文本左缘对齐（3px 红条 + 12px 间距 = 15px） */
.cs-title-en--left { text-align: left; margin-left: 15px; }

/* CS-PATCH-BEGIN 20260914-eninline */
/* 英文副标题与中文标题同行并排（英文在中文之后），不再单独掉到下一行 */
.cs-title-group {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 1em;
}
.cs-title-group--center { justify-content: center; }
.cs-title-group > .cs-title-en { margin: 0; text-align: left; }
.cs-title-group > .col-title { margin-bottom: 0; }
.cs-title-group > .col-title-en { margin: 0; }
/* CS-PATCH-END 20260914-eninline */

/* CS-PATCH-BEGIN 20260914-navheight */
/* 客户反馈：顶部毛玻璃偏高，整体降高（观感不变）
   桌面 .navbar 76->64px（padding 14->10）/ logo 字标 44->36px
   <=1024 64->56px（padding 10->8）/ 字标 44->32px
   窄屏字标按比例收紧，避免与汉堡/中EN 重叠 */
.navbar { padding: 10px 32px; height: 64px; }
.nav-logo--img img { height: 36px; }
@media (max-width: 1024px) {
  .navbar { padding: 8px 16px; height: 56px; }
  .nav-logo--img img { height: 32px; }
}
@media (max-width: 640px) {
  .nav-logo--img img { height: 30px; }
}
@media (max-width: 480px) {
  .nav-logo--img img { height: 26px; }
}
/* CS-PATCH-END 20260914-navheight */

/* CS-PATCH-BEGIN 20260914-nored */
/* 去除标题前的红色小竖条（标题保持纯文字） */
.col-title::before,
.cs-title::before,
.cs-info-list h3::before { display: none !important; }
/* CS-PATCH-END 20260914-nored */

/* CS-PATCH-BEGIN 20260914-noredall */
/* 全站彻底去红：主红变量改中性深灰（原 #c41e3a），覆盖所有 var(--cs-red) 引用 */
:root { --cs-red: #333; }
/* CS-PATCH-END 20260914-noredall */

/* CS-PATCH-BEGIN 20260914-allpagescenter */
/* ===== 全站统一：区块标题居中（中英同行），与「关于我们」页一致 ===== */
.cs-title-group { justify-content: center; text-align: center; }
.cs-title-row { justify-content: center; text-align: center; }

/* ===== 首页三栏卡片：标题居中（浅灰底与面板内边距已去掉 20260914-nogray5） ===== */
.three-col .col-item { text-align: center; }
@media (max-width: 900px) {
  .three-col .col-item { border-bottom: none; }
}
/* CS-PATCH-END 20260914-allpagescenter */
