/* ============================================
   DESIGN. 室内设计 - Shared Styles
   Reference: keds.top nav & footer style
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #1a1a1a;
  --accent: #c9a96e;
  --accent-hover: #b8934f;
  --bg: #f9f9f9;
  --bg-dark: #1a1a1a;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --white: #fff;
  --border: #eee;
  --shadow: 0 2px 20px rgba(0,0,0,0.06);
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Skip Links (accessibility, like keds.top) ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  font-size: 13px;
  border-radius: 2px;
}
.skip-link:focus { top: 10px; }

/* ===== Top Bar ===== */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a {
  color: rgba(255,255,255,0.7);
  margin-left: 16px;
  transition: color 0.3s;
}
.top-bar a:hover { color: var(--accent); }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s ease;
}
/* 滚动后：与页脚同色 */
.nav.scrolled {
  background: var(--bg-dark);
  box-shadow: 0 1px 10px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
/* 默认（透明态）：白色文字 */
.nav-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.4s ease;
}
.nav-logo img { height: 66px; mix-blend-mode: screen; }
.nav-logo .dot { color: var(--accent); }
.auth-logo-img { height: 50px; display: block; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
  letter-spacing: 1px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* 透明态按钮样式 */
.nav-btn {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 1px;
  background: transparent;
  border-radius: 2px;
}
.nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.nav-btn.filled {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.nav-btn.filled:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
/* 滚动后保持文字可见（深色背景上仍是白字） */
.nav.scrolled .nav-logo { color: #fff; }
.nav.scrolled .nav-links a { color: rgba(255,255,255,0.8); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: var(--accent); }
.nav.scrolled .nav-btn { border-color: rgba(255,255,255,0.4); color: #fff; }
.nav.scrolled .nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav.scrolled .nav-btn.filled { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Mobile toggle - transparent state */
.menu-toggle span { background: #fff; }
.nav.scrolled .menu-toggle span { background: #fff; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  position: absolute;
  transition: all 0.3s;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }
.menu-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Mobile nav - dark background to match nav theme */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  letter-spacing: 1px;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .nav-btn {
  display: inline-block;
  margin-top: 16px;
  text-align: center;
  width: 48%;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.mobile-nav .nav-btn.filled {
  background: var(--accent);
  border-color: var(--accent);
}

/* ===== Page Header has been upgraded — see below (50vh + Bing wallpaper) ===== */

/* ===== Section ===== */
section { padding: 80px 0; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--primary);
}
.section-title .line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
}
.section-title p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 10px;
}
.section-bg { background: var(--bg); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 13px;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.3s;
  border-radius: 2px;
}
.btn:hover { background: var(--accent); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}
.btn-accent {
  background: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-hover);
}

/* ===== Cards ===== */
.card-grid { display: grid; gap: 24px; }
.card-grid.col2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.col3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.col4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  transition: all 0.3s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #e8e8e8;
  transition: transform 0.5s;
}
.card:hover .card-img { transform: scale(1.05); }
.card-body { padding: 20px; }
.card-body h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}
.card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.card-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  padding: 2px 10px;
  border: 1px solid var(--accent);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ===== Tabs ===== */
.tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 24px;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.tab:hover, .tab.active {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 44px;
}
.footer-col-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.footer a {
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
}
.footer a:hover { color: var(--accent); }

/* Logo 列 */
.footer-brand { text-align: center; }
.footer-logo-img { width: 100%; max-width: 200px; height: auto; display: block; margin: 0 auto 18px; }
.footer-logo-text { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 2px; margin-bottom: 18px; }

/* 页脚 logo 链接（点击跳封页）：行内块 + 指针 + hover 反馈 */
.footer-logo-link {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}
.footer-logo-link:hover .footer-logo-img,
.footer-logo-link:hover .footer-logo-text {
  opacity: 0.85;
}
.footer-desc { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.4); max-width: 340px; text-align: center; margin: 0 auto; }

/* 快速链接 */
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links li { line-height: 1; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.45);
  display: inline-block; padding: 2px 0; position: relative;
}
.footer-links a::after {
  content: ""; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--accent); transition: width 0.3s;
}
.footer-links a:hover::after { width: 100%; }

/* 社交图标 */
.footer-social { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; justify-items: center; }
.social-icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; padding: 0; outline: none;
}
.social-icon-btn svg { width: 20px; height: 20px; }
.social-icon-btn .social-icon-img { width: 22px; height: 22px; object-fit: contain; border-radius: 2px; }
.social-icon-btn .social-icon-text { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.6); line-height: 1; text-align: center; }
.social-icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201,169,110,0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201,169,110,0.2);
}

/* 底部栏 */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-left, .footer-bottom-right { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.footer-sep { color: rgba(255,255,255,0.15); margin: 0 4px; }
.beian-icon { height: 14px; width: auto; display: inline-block; vertical-align: -2px; }

/* QR 弹窗 */
.qr-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65);
  display: none; align-items: center; justify-content: center; z-index: 9999;
}
.qr-modal.open { display: flex; }
.qr-modal-card {
  background: #fff; border-radius: 12px; padding: 28px 28px 22px;
  max-width: 300px; text-align: center; position: relative;
  animation: qrPop 0.3s ease;
}
@keyframes qrPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qr-modal-title { font-size: 16px; color: #1a1a1a; font-weight: 500; margin-bottom: 14px; }
.qr-modal-img { width: 200px; height: 200px; object-fit: contain; background: #f5f5f5; border-radius: 6px; }
.qr-modal-tip { font-size: 12px; color: #999; margin-top: 12px; }
.qr-modal-close {
  position: absolute; top: 10px; right: 14px;
  border: none; background: none; font-size: 22px; line-height: 1; color: #999; cursor: pointer;
}

/* ===== Cover Page ===== */
.cover-page {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #1a1a1a;
}
.cover-slides { position: absolute; inset: 0; }
.cover-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.cover-slide.active { opacity: 1; }
.cover-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
}
.cover-logo {
  width: auto; height: auto;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; user-select: none;
}
.cover-logo:hover { animation: logoBounce 0.6s ease; }
@keyframes logoBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.cover-footer {
  position: absolute; bottom: 30px; right: 30px;
  color: rgba(255,255,255,0.7); font-size: 12px;
  text-align: right; line-height: 1.8;
}
.cover-footer .dot {
  display: inline-block; width: 6px; height: 6px;
  background: rgba(255,255,255,0.5); border-radius: 50%;
  margin-bottom: 4px;
}

/* ===== Hero Section (full screen) ===== */
.hero {
  position: relative;
  width: 100%; height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #1a1a1a;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.55));
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center;
}
.hero-title {
  color: #fff; font-size: 48px; font-weight: 300;
  letter-spacing: 8px; margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.hero-sub {
  color: #fff; font-size: 16px;
  letter-spacing: 4px; margin-bottom: 36px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-btn {
  display: inline-block; padding: 14px 44px;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff; font-size: 13px; letter-spacing: 2px;
  transition: all 0.3s; border-radius: 2px;
}
.hero-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ===== Intro Section ===== */
.intro-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.intro-text h3 {
  font-size: 24px; font-weight: 300;
  margin-bottom: 20px; letter-spacing: 2px;
  color: var(--primary);
}
.intro-text p {
  font-size: 14px; color: var(--text-light);
  line-height: 2; margin-bottom: 12px;
}
.intro-img {
  height: 400px;
  background-size: cover;
  background-position: center;
}

/* ===== Stats ===== */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px; margin-top: 40px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 36px; font-weight: 600;
  color: var(--accent);
}
.stat-label {
  font-size: 13px; color: var(--text-muted);
  margin-top: 6px; letter-spacing: 1px;
}

/* ===== Services Grid (5 cols) ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-card {
  text-align: center; padding: 40px 20px;
  background: var(--bg);
  transition: all 0.3s; cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: #fff;
}
.service-icon {
  width: 64px; height: 64px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: #fff; font-size: 28px;
}
.service-card h3 {
  font-size: 15px; font-weight: 500;
  margin-bottom: 8px; letter-spacing: 1px;
}
.service-card p {
  font-size: 12px; color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Cases Grid ===== */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff; overflow: hidden;
  transition: all 0.3s; cursor: pointer;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.case-img {
  width: 100%; aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  transition: transform 0.5s;
}
.case-card:hover .case-img { transform: scale(1.05); }
.case-body { padding: 20px; }
.case-body h3 {
  font-size: 16px; font-weight: 500; margin-bottom: 6px;
}
.case-designer {
  font-size: 13px; color: var(--text-muted);
}

/* ===== News Grid ===== */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff; overflow: hidden;
  transition: all 0.3s; cursor: pointer;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.news-img {
  width: 100%; aspect-ratio: 16/10;
  background-size: cover; background-position: center;
}
.news-body { padding: 20px; }
.news-date {
  font-size: 12px; color: var(--text-muted);
  letter-spacing: 1px;
}
.news-body h3 {
  font-size: 16px; font-weight: 500;
  margin: 8px 0; line-height: 1.4;
}
.news-body p {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--bg-dark);
  padding: 80px 0; text-align: center;
}
.cta-title {
  color: #fff; font-size: 32px; font-weight: 300;
  letter-spacing: 4px; margin-bottom: 30px;
}

/* ===== Section Link ===== */
.section-link { text-align: center; margin-top: 40px; }

/* ===== Responsive additions ===== */
@media (max-width: 768px) {
  .hero { height: 60vh; min-height: 400px; }
  .hero-title { font-size: 28px; letter-spacing: 4px; }
  .hero-sub { font-size: 14px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-content { grid-template-columns: 1fr; gap: 30px; }
  .intro-img { height: 260px; }
  .cta-title { font-size: 22px; }
}

/* ===== Page Header — 50vh with Bing Wallpaper ===== */
.page-header {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  background: #1a1a1a;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.0);
  transition: transform 8s ease-out;
}
/* 加载完成后缓慢放大，营造纵深感 */
.page-header-bg.loaded {
  animation: headerKenBurns 20s ease-in-out infinite alternate;
}
@keyframes headerKenBurns {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}
/* 深色渐变遮罩 */
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.55) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
}
/* 标题动画 */
.page-header-title {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 12px;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  animation: phFadeUp 0.9s ease 0.15s forwards;
}
@keyframes phFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.page-header-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 6px;
  margin-top: 16px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: phFadeUp 0.9s ease 0.35s forwards;
}
.page-header-line {
  width: 50px;
  height: 1.5px;
  background: var(--accent);
  margin-top: 24px;
  opacity: 0;
  transform: scaleX(0);
  animation: phLineIn 0.7s ease 0.55s forwards;
}
@keyframes phLineIn {
  to { opacity: 1; transform: scaleX(1); }
}

/* 向下滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: phFadeUp 0.8s ease 0.8s forwards;
  cursor: pointer;
  z-index: 3;
}
.scroll-hint span {
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.scroll-arrow {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.scroll-arrow::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 8px;
  background: var(--accent);
  animation: scrollDot 2s ease infinite;
}
@keyframes scrollDot {
  0% { top: -8px; }
  100% { top: 24px; }
}

/* 响应式 */
@media (max-width: 768px) {
  .page-header { height: 40vh; min-height: 300px; }
  .page-header-title { font-size: 32px; letter-spacing: 6px; }
  .page-header-sub { font-size: 11px; letter-spacing: 3px; }
  .scroll-hint { bottom: 16px; }
}
@media (max-width: 480px) {
  .page-header { height: 35vh; min-height: 260px; }
  .page-header-title { font-size: 26px; letter-spacing: 4px; }
}

/* ===== About Intro ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-intro-text h3 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
}
.about-year {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.about-core {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.about-intro-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 14px;
}
.about-intro-img {
  height: 420px;
  background-size: cover;
  background-position: center;
}

/* ===== Stats Section (dark bg) ===== */
.stats-section {
  background: var(--bg-dark);
  padding: 60px 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stats-item { text-align: center; }
.stats-num {
  font-size: 42px;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 2px;
}
.stats-num span {
  font-size: 20px;
}
.stats-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 2px;
}

/* ===== Culture Cards ===== */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.culture-card {
  background: #fff;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s;
}
.culture-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.culture-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: var(--accent);
}
.culture-icon svg { width: 100%; height: 100%; }
.culture-card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: var(--primary);
}
.culture-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== Team Grid ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.team-card {
  text-align: center;
  background: #fff;
  padding: 36px 20px;
  transition: all 0.3s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 4px;
  color: var(--primary);
}
.team-role {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.team-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-content { padding-left: 20px; }
.timeline-year {
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.timeline-content h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--primary);
}
.timeline-content p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

/* NOTE: .service-detail / .process-grid 等旧样式已由 services.html 内联样式替代（2026-06-20升级） */

/* ===== CTA desc ===== */
.cta-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  letter-spacing: 1px;
}

/* ===== Responsive for new sections ===== */
@media (max-width: 768px) {
  .page-header { height: 240px; }
  .page-header h1 { font-size: 28px; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro-img { height: 260px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-num { font-size: 32px; }
  .culture-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding-left: 30px; }
  .timeline::before { left: 10px; }
  .timeline-dot { left: -28px; }
  .service-detail,
  .service-detail-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 30px;
  }
  .service-detail-img { height: 260px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ===== Contact Page Styles ===== */

/* Contact Grid - Left/Right Columns */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Contact Info Items */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-detail {
  flex: 1;
}

.contact-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.contact-value {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

/* Map Embed */
.map-embed-box {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #e8e8e8;
}

.map-embed-box.small {
  height: 350px;
}

.map-embed-box.large {
  height: 400px;
  max-width: 900px;
  margin: 0 auto;
}

.map-leaflet {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 自定义地图定位图标（内联 SVG，不依赖外部图片） */
.map-pin {
  background: transparent;
  border: none;
}
.map-pin svg {
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
  animation: mapPinDrop 0.4s ease-out;
}
@keyframes mapPinDrop {
  0% { transform: translateY(-12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Mobile overlay: tap to navigate */
.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s;
}

.map-overlay:hover {
  background: rgba(0, 0, 0, 0.55);
}

.map-nav-icon {
  margin-bottom: 4px;
}

/* Desktop navigation button (below large map) */
.map-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 20px auto 0;
  padding: 12px 28px;
  background: var(--accent, #c9a96e);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
  transition: all 0.3s;
}

.map-nav-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 169, 110, 0.25);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.required {
  color: #e74c3c;
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

/* Join Us Description */
.join-desc {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.join-desc p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 12px;
}

/* Map Area Section */
.map-area {
  padding: 40px 0 80px;
}

/* ===== Responsive for Contact Page ===== */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .map-embed-box.small {
    height: 250px;
  }

  .map-embed-box.large {
    height: 300px;
  }

  .map-overlay {
    display: flex;
  }

  .map-nav-btn {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 18px;
  }

  .contact-value {
    font-size: 14px;
  }

  .map-embed-box.small {
    height: 200px;
  }

  .map-embed-box.large {
    height: 220px;
  }
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #1a1a1a;
}

/* 每一张幻灯片 */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.04);
  animation: none;
}
.hero-slide.active {
  opacity: 1;
  animation: heroZoom 6s ease forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}

/* 渐变遮罩层 */
.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.72) 100%
  );
  pointer-events: none;
}

/* 文字内容区 */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  pointer-events: none;
}
.hero-content .hero-btn {
  pointer-events: auto;
}

/* 文字动画：进场 */
.hero-title,
.hero-sub,
.hero-content .hero-btn {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.hero-title.visible  { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.hero-sub.visible    { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.hero-content .hero-btn.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.36s;
}

.hero-title {
  color: #fff;
  font-size: 54px;
  font-weight: 300;
  letter-spacing: 10px;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.hero-sub {
  color: #fff;
  font-size: 14px;
  letter-spacing: 6px;
  margin-bottom: 44px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-btn {
  display: inline-block;
  padding: 14px 52px;
  border: 1px solid rgba(255,255,255,0.65);
  color: #fff;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: all 0.35s;
  border-radius: 1px;
  background: transparent;
  cursor: pointer;
}
.hero-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  letter-spacing: 5px;
}

/* 右下角进度线条指示器（无箭头无圆点） */
.hero-progress {
  position: absolute;
  bottom: 36px;
  right: 40px;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.hero-prog-line {
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,0.25);
  overflow: hidden;
  border-radius: 1px;
  cursor: pointer;
  transition: width 0.3s;
}
.hero-prog-line.active {
  width: 56px;
  background: rgba(255,255,255,0.3);
}
.hero-prog-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 1px;
}
.hero-prog-line.active .hero-prog-fill {
  animation: progFill 5s linear forwards;
}
@keyframes progFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-slider { height: 72vh; min-height: 420px; }
  .hero-title  { font-size: 28px; letter-spacing: 5px; }
  .hero-sub    { font-size: 11px; letter-spacing: 3px; }
  .hero-progress { right: 16px; bottom: 20px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 22px; }
  .hero-sub   { font-size: 10px; }
}

/* ===== Services Showcase (高级全图展示) ===== */
.services-showcase-section {
  background: var(--primary);
  padding: 80px 0 0;
}
.services-showcase-header {
  text-align: center;
  padding: 0 20px 60px;
}
.services-showcase-label {
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.services-showcase-title {
  font-size: 36px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 6px;
  margin-bottom: 16px;
}
.services-showcase-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
}

/* 主展示区：5个等宽面板，hover 时展开 */
.services-showcase {
  display: flex;
  height: 520px;
  overflow: hidden;
}
.srv-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  text-decoration: none;
}
.srv-panel:hover {
  flex: 3.2;
}

/* 暗色覆盖层 */
.srv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  transition: background 0.5s;
}
.srv-panel:hover .srv-overlay {
  background: rgba(0,0,0,0.28);
}

/* 编号 */
.srv-num {
  position: absolute;
  top: 28px;
  left: 24px;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
  z-index: 2;
  transition: color 0.4s;
}
.srv-panel:hover .srv-num {
  color: var(--accent);
}

/* 内容区（底部渐出） */
.srv-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}
.srv-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s 0.1s, transform 0.4s 0.1s;
}
.srv-icon svg { width: 100%; height: 100%; }
.srv-panel:hover .srv-icon {
  opacity: 1;
  transform: translateY(0);
}
.srv-name {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 1.4;
  margin-bottom: 0;
  transition: margin-bottom 0.4s;
}
.srv-panel:hover .srv-name {
  margin-bottom: 14px;
}
.srv-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  letter-spacing: 0.5px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s 0.05s, opacity 0.4s 0.1s;
  margin-bottom: 0;
}
.srv-panel:hover .srv-desc {
  max-height: 80px;
  opacity: 1;
  margin-bottom: 16px;
}
.srv-link {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  display: block;
  transition: opacity 0.4s 0.15s, transform 0.4s 0.15s;
}
.srv-panel:hover .srv-link {
  opacity: 1;
  transform: translateY(0);
}

/* 竖线分隔 */
.srv-panel + .srv-panel {
  border-left: 1px solid rgba(255,255,255,0.08);
}

/* 响应式 */
@media (max-width: 900px) {
  .services-showcase { height: 420px; }
  .srv-name { font-size: 15px; }
}
@media (max-width: 640px) {
  .services-showcase {
    flex-direction: column;
    height: auto;
  }
  .srv-panel {
    flex: none !important;
    height: 200px;
  }
  .srv-panel:hover { flex: none !important; }
  .srv-desc { max-height: 80px !important; opacity: 1 !important; margin-bottom: 8px !important; }
  .srv-icon { opacity: 1 !important; transform: none !important; }
  .srv-link { opacity: 1 !important; transform: none !important; }
}

/* ===== Cases Category Showcase (手风琴，与服务范围同结构) ===== */
.cases-showcase-section {
  background: #0e0e0e;
}
.cases-showcase-header {
  text-align: center;
  padding: 72px 40px 48px;
}
.cases-showcase-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 14px;
}
.cases-showcase-title {
  font-size: 36px;
  font-weight: 200;
  letter-spacing: 6px;
  color: #fff;
  margin-bottom: 14px;
}
.cases-showcase-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1px;
}

/* 手风琴容器 */
.cases-showcase {
  display: flex;
  height: 520px;
  overflow: hidden;
}

/* 单个面板 */
.case-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  text-decoration: none;
  background-image: var(--bg);
  background-size: 100%;
  background-position: center;
  transition: flex 0.65s cubic-bezier(0.77, 0, 0.175, 1),
              background-size 1.2s ease;
}
.case-panel:hover {
  flex: 3.5;
  background-size: 107%;
}

/* 遮罩 */
.case-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.25) 100%);
  transition: background 0.5s;
  z-index: 1;
}
.case-panel:hover .case-panel-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.3) 100%);
}

/* 编号 */
.case-panel-num {
  position: absolute;
  top: 28px;
  left: 24px;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.35);
  z-index: 2;
  transition: color 0.3s;
}
.case-panel:hover .case-panel-num {
  color: var(--accent);
}

/* 内容区 */
.case-panel-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 36px;
  z-index: 2;
}

/* 图标 */
.case-panel-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s 0.1s, transform 0.4s 0.1s;
}
.case-panel:hover .case-panel-icon {
  opacity: 1;
  transform: translateY(0);
}

/* 分类名 */
.case-panel-name {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 4px;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0;
  transition: margin-bottom 0.3s;
  white-space: nowrap;
}
.case-panel:hover .case-panel-name {
  margin-bottom: 14px;
}

/* 描述 */
.case-panel-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.4s 0.1s, opacity 0.4s 0.15s, margin-bottom 0.3s;
}
.case-panel:hover .case-panel-desc {
  max-height: 100px;
  opacity: 1;
  margin-bottom: 14px;
}

/* 子标签 */
.case-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.4s 0.2s, opacity 0.4s 0.25s, margin-bottom 0.3s;
}
.case-panel:hover .case-panel-meta {
  max-height: 60px;
  opacity: 1;
  margin-bottom: 14px;
}
.case-panel-meta span {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

/* 链接 */
.case-panel-link {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  border-bottom: 1px solid rgba(212,175,55,0.4);
  padding-bottom: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s 0.3s, transform 0.4s 0.3s;
}
.case-panel:hover .case-panel-link {
  opacity: 1;
  transform: translateY(0);
}

/* 面板分隔线 */
.case-panel + .case-panel {
  border-left: 1px solid rgba(255,255,255,0.07);
}

/* 响应式 */
@media (max-width: 900px) {
  .cases-showcase { height: 440px; }
  .case-panel-name { font-size: 16px; }
}
@media (max-width: 640px) {
  .cases-showcase {
    flex-direction: column;
    height: auto;
  }
  .case-panel {
    flex: none !important;
    height: 180px;
  }
  .case-panel:hover { flex: none !important; }
  .case-panel-desc { max-height: 80px !important; opacity: 1 !important; margin-bottom: 8px !important; }
  .case-panel-icon { opacity: 1 !important; transform: none !important; }
  .case-panel-link { opacity: 1 !important; transform: none !important; }
}

/* ===== Brand Partners Marquee ===== */
.brands-section {
  background: #1a1a1a;
  padding: 72px 0 64px;
  overflow: hidden;
}
.brands-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 40px;
}
.brands-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 14px;
}
.brands-title {
  font-size: 32px;
  font-weight: 200;
  letter-spacing: 6px;
  color: #fff;
  margin-bottom: 12px;
}
.brands-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
}

/* 轨道容器 */
.brands-track-wrapper {
  position: relative;
  display: flex;          /* 两条轨道并排；min-width:100% 相对此容器(=视口宽) 解析 */
  width: 100%;
  overflow: hidden;
  padding: 16px 0;
}
.brands-track-wrapper + .brands-track-wrapper {
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* 滚动轨道：两条相同轨道并排，min-width:100% + space-around 保证首尾相接、无空缺 */
.brands-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  min-width: 100%;
  white-space: nowrap;
  width: max-content;
}

/* 向左滚动 */
.brands-track-left {
  animation: brandsScrollLeft 40s linear infinite;
}

/* 向右滚动 */
.brands-track-right {
  animation: brandsScrollRight 45s linear infinite;
}

@keyframes brandsScrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@keyframes brandsScrollRight {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

/* 单个品牌名 */
.brand-item {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.28);
  transition: color 0.4s;
  padding: 0 8px;
  user-select: none;
}
.brand-item:hover {
  color: rgba(255,255,255,0.7);
}

/* 分隔点 */
.brand-dot {
  font-size: 10px;
  color: rgba(255,255,255,0.08);
  padding: 0 18px;
  user-select: none;
}

/* 响应式 */
@media (max-width: 640px) {
  .brand-item { font-size: 13px; }
  .brand-dot { padding: 0 12px; }
}

/* 服务品牌 logo 展示（与合作伙伴区分，单独数据源） */
.brand-logo-item {
  display: inline-flex;
  align-items: center;
  margin: 0 30px;
  user-select: none;
}
.brand-logo-img {
  height: 40px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.7);
  opacity: 0.5;
  transition: filter .4s, opacity .4s;
}
.brand-logo-item:hover .brand-logo-img {
  filter: none;
  opacity: 1;
}

/* logo 图缺失时的文字兜底（避免出现空 <img> 导致整排塌成 0 高度） */
.brand-logo-text {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.32);
  white-space: nowrap;
  transition: color .4s;
}
.brand-logo-item:hover .brand-logo-text {
  color: rgba(255,255,255,0.8);
}

/* ===== Honors Section ===== */
.honors-section {
  position: relative;
  padding: 92px 0 100px;
  background: #f9f8f5;
  overflow: hidden;
}
.honors-bg-deco {
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border: 1px solid rgba(212,175,55,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.honors-bg-deco::after {
  content: '';
  position: absolute;
  top: 40px; left: 40px;
  width: 240px; height: 240px;
  border: 1px solid rgba(212,175,55,0.05);
  border-radius: 50%;
}

/* 主展示奖杯 */
.honor-featured {
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
}
.honor-featured-inner {
  position: relative;
  max-width: 540px;
  text-align: center;
  padding: 48px 40px 40px;
  background: #fff;
  border: 1px solid rgba(212,175,55,0.12);
  transition: box-shadow 0.4s;
}
.honor-featured-inner:hover {
  box-shadow: 0 20px 60px rgba(212,175,55,0.1);
}
.honor-badge-ring {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
}
.honor-trophy {
  width: 100%; height: 100%;
}
.honor-featured-year {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent);
  border: 1px solid rgba(212,175,55,0.35);
  padding: 3px 16px;
  margin-bottom: 16px;
}
.honor-featured-title {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 8px;
}
.honor-featured-org {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.honor-featured-desc {
  font-size: 13px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 18px;
}
.honor-featured-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(212,175,55,0.07);
  padding: 5px 18px;
}

/* 荣誉列表网格 */
.honors-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.honor-card {
  position: relative;
  background: #fff;
  padding: 32px 28px 28px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.honor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  border-color: rgba(212,175,55,0.2);
}
.honor-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.honor-card-year {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 500;
}
.honor-card-icon {
  width: 28px; height: 28px;
  color: var(--accent);
}
.honor-card-icon svg {
  width: 100%; height: 100%;
}
.honor-card-title {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 8px;
}
.honor-card-org {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.5px;
  margin-bottom: 0;
}
.honor-card-line {
  width: 28px;
  height: 1px;
  background: var(--accent);
  margin-top: 18px;
  transition: width 0.35s;
}
.honor-card:hover .honor-card-line {
  width: 48px;
}

/* ===== Partners Section (Marquee) ===== */
.partners-section {
  background: #111;
  padding: 72px 0 64px;
  overflow: hidden;
}
.partners-section .section-title h2 {
  color: #fff;
}
.partners-section .section-title p {
  color: rgba(255,255,255,0.35);
}
.partners-section .line {
  background: var(--accent);
}

.partners-track-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}
.partners-track-wrapper + .partners-track-wrapper {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  width: max-content;
}
.partners-track-left {
  animation: partnersScrollLeft 45s linear infinite;
}
.partners-track-right {
  animation: partnersScrollRight 50s linear infinite;
}
@keyframes partnersScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes partnersScrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.partner-logo {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.2);
  padding: 10px 28px;
  border: 1px solid rgba(255,255,255,0.06);
  margin: 0 10px;
  white-space: nowrap;
  transition: color 0.4s, border-color 0.4s, background 0.4s;
  user-select: none;
}
.partner-logo:hover {
  color: rgba(255,255,255,0.75);
  border-color: rgba(212,175,55,0.25);
  background: rgba(212,175,55,0.04);
}

/* 响应式 */
@media (max-width: 900px) {
  .honors-list { grid-template-columns: repeat(2, 1fr); }
  .partner-logo { font-size: 12px; padding: 8px 18px; }
}
@media (max-width: 640px) {
  .honors-list { grid-template-columns: 1fr; }
  .honor-featured-inner { padding: 32px 24px 28px; }
  .partner-logo { font-size: 11px; padding: 6px 14px; letter-spacing: 2px; }
}

/* ============================================
   RESPONSIVE SYSTEM — 3 Tiers
   Tablet (max-width: 1024px)
   Mobile (max-width: 768px)
   Small  (max-width: 480px)
   ============================================ */

/* ===== TABLET: max-width 1024px ===== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  /* Navigation: switch to hamburger */
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: none; }
  .mobile-nav.open { display: block; }
  .nav-inner { height: 64px; }
  .mobile-nav { top: 64px; }

  /* Top bar */
  .top-bar .container { flex-wrap: wrap; gap: 4px; }
  .top-bar { font-size: 11px; padding: 4px 0; }

  /* Section spacing */
  section { padding: 60px 0; }
  .section-title { margin-bottom: 36px; }
  .section-title h2 { font-size: 26px; letter-spacing: 3px; }

  /* Hero */
  .hero-slider { height: 80vh; min-height: 480px; }
  .hero-title { font-size: clamp(28px, 4vw, 42px); letter-spacing: 6px; }
  .hero-sub { font-size: clamp(11px, 1.5vw, 13px); letter-spacing: 4px; }

  /* Page header */
  .page-header { height: 42vh; min-height: 320px; }
  .page-header-title { font-size: clamp(28px, 4vw, 40px); letter-spacing: 8px; }

  /* Grids: intermediate tablet states */
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .card-grid.col4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.col3 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .honors-list { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-col-social .footer-col-title { margin-bottom: 18px; }

  /* Intro / About */
  .intro-content { gap: 40px; }
  .intro-img { height: 340px; }
  .about-intro { gap: 40px; }
  .about-intro-img { height: 360px; }

  /* Stats section */
  .stats-row { gap: 20px; }
  .stats-num { font-size: 36px; }

  /* CTA */
  .cta-title { font-size: 26px; letter-spacing: 3px; }
  .cta-section { padding: 60px 0; }

  /* Services showcase */
  .services-showcase { height: 440px; }
  .services-showcase-title { font-size: 30px; letter-spacing: 4px; }

  /* Cases showcase */
  .cases-showcase { height: 440px; }
  .cases-showcase-title { font-size: 30px; letter-spacing: 4px; }

  /* Brands */
  .brands-title { font-size: 26px; letter-spacing: 4px; }

  /* Honors */
  .honor-featured-inner { max-width: 460px; padding: 40px 32px 32px; }

  /* Timeline */
  .timeline { max-width: 700px; }

  /* Contact form */
  .contact-grid { gap: 36px; }

  /* Tabs */
  .tabs { gap: 4px; }
  .tab { padding: 8px 16px; font-size: 12px; }
}

/* ===== MOBILE: max-width 768px ===== */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Section spacing */
  section { padding: 48px 0; }
  .section-title { margin-bottom: 28px; }
  .section-title h2 { font-size: 22px; letter-spacing: 2px; }
  .section-title p { font-size: 13px; }
  .section-title .line { margin-top: 12px; }

  /* Top bar */
  .top-bar .container { justify-content: center; }
  .top-bar > .container > span:first-child { display: none; }

  /* Nav */
  .nav-inner { height: 56px; }
  .nav-logo { font-size: 18px; letter-spacing: 2px; }
  .nav-logo img { height: 58px; }
  .mobile-nav { top: 56px; padding: 16px; }
  .mobile-nav a { padding: 12px 0; font-size: 15px; }

  /* Hero */
  .hero-slider { height: 70vh; min-height: 380px; }
  .hero-title { font-size: clamp(22px, 5vw, 28px); letter-spacing: 4px; margin-bottom: 12px; }
  .hero-sub { font-size: 11px; letter-spacing: 3px; margin-bottom: 28px; }
  .hero-btn { padding: 12px 36px; font-size: 11px; letter-spacing: 3px; }
  .hero-progress { right: 16px; bottom: 16px; }
  .hero-prog-line { width: 24px; }
  .hero-prog-line.active { width: 40px; }

  /* Page header */
  .page-header { height: 38vh; min-height: 280px; }
  .page-header-title { font-size: clamp(22px, 5vw, 28px); letter-spacing: 5px; }
  .page-header-sub { font-size: 11px; letter-spacing: 3px; margin-top: 10px; }
  .page-header-line { margin-top: 16px; }
  .scroll-hint { bottom: 14px; }
  .scroll-hint span { font-size: 9px; letter-spacing: 2px; }

  /* Grids: mobile states */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .case-img { aspect-ratio: 8 / 9; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .card-grid.col4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.col3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.col2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .culture-grid { grid-template-columns: 1fr; gap: 20px; }
  .honors-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Intro / About */
  .intro-content { grid-template-columns: 1fr; gap: 28px; }
  .intro-text h3 { font-size: 20px; }
  .intro-img { height: 240px; }
  .about-intro { grid-template-columns: 1fr; gap: 28px; }
  .about-intro-img { height: 240px; }
  .about-intro-text h3 { font-size: 20px; }
  .about-core { font-size: 16px; }

  /* Stats section */
  .stats-section { padding: 48px 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-num { font-size: 30px; }
  .stats-num span { font-size: 16px; }
  .stats-desc { font-size: 12px; }

  /* Service cards */
  .service-card { padding: 28px 16px; }
  .service-icon { width: 52px; height: 52px; font-size: 24px; }
  .service-card h3 { font-size: 14px; }
  .service-card p { font-size: 11px; }

  /* Card body */
  .card-body { padding: 16px; }
  .card-body h3 { font-size: 15px; }
  .card-body p { font-size: 12px; }

  /* CTA */
  .cta-section { padding: 48px 0; }
  .cta-title { font-size: 22px; letter-spacing: 2px; margin-bottom: 20px; }
  .cta-desc { font-size: 13px; margin-bottom: 20px; }
  .btn { padding: 12px 32px; font-size: 12px; letter-spacing: 1px; }

  /* Services showcase — stack vertically */
  .services-showcase { flex-direction: column; height: auto; }
  .srv-panel { flex: none !important; height: 270px; }
  .srv-panel:hover { flex: none !important; }
  .srv-desc { max-height: 150px !important; opacity: 1 !important; margin-bottom: 8px !important; overflow-y: auto !important; }
  .srv-icon { opacity: 1 !important; transform: none !important; }
  .srv-link { opacity: 1 !important; transform: none !important; }
  .srv-panel:hover .srv-name { margin-bottom: 8px; }
  .services-showcase-section { padding: 48px 0 0; }
  .services-showcase-header { padding: 0 20px 36px; }
  .services-showcase-title { font-size: 24px; letter-spacing: 3px; }

  /* Cases showcase — stack vertically */
  .cases-showcase { flex-direction: column; height: auto; }
  .case-panel { flex: none !important; height: 160px; }
  .case-panel:hover { flex: none !important; }
  .case-panel-desc { max-height: 80px !important; opacity: 1 !important; margin-bottom: 8px !important; }
  .case-panel-icon { opacity: 1 !important; transform: none !important; }
  .case-panel-link { opacity: 1 !important; transform: none !important; }
  .case-panel:hover .case-panel-name { margin-bottom: 8px; }
  .cases-showcase-header { padding: 48px 20px 32px; }
  .cases-showcase-title { font-size: 24px; letter-spacing: 3px; }

  /* Brands */
  .brands-section { padding: 48px 0 44px; }
  .brands-header { margin-bottom: 32px; }
  .brands-title { font-size: 22px; letter-spacing: 3px; }
  .brands-desc { font-size: 12px; }

  /* Honors */
  .honors-section { padding: 56px 0 64px; }
  .honor-featured { margin-bottom: 40px; }
  .honor-featured-inner { max-width: 100%; padding: 32px 24px 28px; }
  .honor-featured-title { font-size: 20px; }
  .honors-list { grid-template-columns: 1fr; }
  .honor-card { padding: 24px 20px; }
  .honor-card-title { font-size: 15px; }

  /* Partners */
  .partners-section { padding: 48px 0 44px; }
  .partner-logo { font-size: 12px; padding: 8px 18px; letter-spacing: 2px; }

  /* Timeline */
  .timeline { padding-left: 28px; max-width: 100%; }
  .timeline::before { left: 10px; }
  .timeline-dot { left: -26px; }
  .timeline-year { font-size: 22px; }
  .timeline-content h3 { font-size: 15px; }
  .timeline-content p { font-size: 12px; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
  .footer-col-title { font-size: 13px; margin-bottom: 16px; }
  .footer-desc { font-size: 12px; }
  .footer-links a { font-size: 12px; }
  .social-icon-btn { width: 40px; height: 40px; }
  .social-icon-btn svg { width: 18px; height: 18px; }
  .footer-social { gap: 12px; }
  .footer-bottom { padding: 18px 0; flex-direction: column; gap: 8px; text-align: center; font-size: 11px; }
  .footer-bottom-left, .footer-bottom-right { justify-content: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info { gap: 20px; }
  .contact-icon { width: 42px; height: 42px; min-width: 42px; font-size: 18px; }
  .contact-value { font-size: 14px; }
  .map-embed-box.small { height: 220px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .contact-form { max-width: 100%; }
  .form-group input, .form-group textarea { padding: 10px 14px; font-size: 13px; }

  /* Tabs */
  .tabs { gap: 0; margin-bottom: 24px; }
  .tab { padding: 8px 14px; font-size: 12px; }

  /* Join desc */
  .join-desc p { font-size: 13px; line-height: 1.8; }
}

/* ===== SMALL: max-width 480px ===== */
@media (max-width: 480px) {
  .container { padding: 0 14px; }

  /* Section spacing */
  section { padding: 36px 0; }
  .section-title { margin-bottom: 24px; }
  .section-title h2 { font-size: 19px; letter-spacing: 1px; }

  /* Nav */
  .nav-inner { height: 52px; }
  .nav-logo { font-size: 16px; letter-spacing: 1px; }
  .nav-logo img { height: 54px; }
  .mobile-nav { top: 52px; }
  .mobile-nav a { padding: 11px 0; font-size: 14px; }
  .mobile-nav .nav-btn { width: 100%; margin-top: 8px; }

  /* Hero */
  .hero-slider { height: 65vh; min-height: 320px; }
  .hero-title { font-size: 18px; letter-spacing: 3px; margin-bottom: 10px; }
  .hero-sub { font-size: 10px; letter-spacing: 2px; margin-bottom: 24px; }
  .hero-btn { padding: 10px 28px; font-size: 10px; letter-spacing: 2px; }
  .hero-progress { right: 12px; bottom: 12px; }
  .hero-prog-line { width: 20px; }
  .hero-prog-line.active { width: 32px; }

  /* Page header */
  .page-header { height: 32vh; min-height: 220px; }
  .page-header-title { font-size: 20px; letter-spacing: 3px; }
  .page-header-sub { font-size: 10px; letter-spacing: 2px; }
  .scroll-hint { bottom: 10px; }
  .scroll-arrow { height: 18px; }

  /* Grids: single column */
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .news-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .card-grid.col4, .card-grid.col3, .card-grid.col2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .culture-grid { grid-template-columns: 1fr; }
  .honors-list { grid-template-columns: 1fr; }

  /* Intro */
  .intro-text h3 { font-size: 18px; }
  .intro-text p { font-size: 13px; }
  .intro-img { height: 200px; }
  .about-intro-img { height: 200px; }
  .about-core { font-size: 15px; }

  /* Stats */
  .stats-num { font-size: 26px; }
  .stats-num span { font-size: 14px; }
  .stats-desc { font-size: 11px; }

  /* Service cards */
  .service-card { padding: 24px 14px; }
  .service-icon { width: 48px; height: 48px; font-size: 22px; }
  .service-card h3 { font-size: 13px; }
  .service-card p { font-size: 11px; }

  /* CTA */
  .cta-title { font-size: 18px; letter-spacing: 1px; }
  .cta-desc { font-size: 12px; }
  .btn { padding: 10px 28px; font-size: 11px; }

  /* Showcase */
  .services-showcase-title { font-size: 20px; letter-spacing: 2px; }
  .cases-showcase-title { font-size: 20px; letter-spacing: 2px; }
  .srv-panel { height: 225px; }
  .case-panel { height: 210px; }
  .case-img { aspect-ratio: 8 / 9; }
  .srv-body { padding: 20px 18px; }
  .case-panel-body { padding: 20px 18px 24px; }
  .srv-name { font-size: 15px; letter-spacing: 2px; }
  .case-panel-name { font-size: 16px; letter-spacing: 2px; }

  /* Brands */
  .brands-title { font-size: 18px; letter-spacing: 2px; }
  .brand-item { font-size: 12px; }
  .brand-dot { padding: 0 10px; }

  /* Honors */
  .honor-featured-title { font-size: 18px; }
  .honor-featured-desc { font-size: 12px; }

  /* Timeline */
  .timeline-year { font-size: 18px; }
  .timeline-content h3 { font-size: 14px; }
  .timeline-content p { font-size: 11px; }

  /* Footer */
  .footer { padding: 40px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .footer-desc { max-width: 100%; }
  .footer-col-title { font-size: 13px; margin-bottom: 14px; }

  /* Contact */
  .contact-icon { width: 36px; height: 36px; min-width: 36px; font-size: 16px; }
  .contact-value { font-size: 13px; }
  .contact-label { font-size: 12px; }
  .map-embed-box.small { height: 180px; }
  .form-group input, .form-group textarea { padding: 10px 12px; font-size: 13px; }

  /* Tabs */
  .tab { padding: 6px 12px; font-size: 11px; }

  /* Cover page */
  .cover-logo { width: auto; height: auto; }
  .cover-footer { bottom: 16px; right: 16px; font-size: 11px; }
}

/* ============================================
   Language Toggle Button
   ============================================ */
.lang-toggle {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 1px;
  background: transparent;
  border-radius: 2px;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
}
.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.nav.scrolled .lang-toggle {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.nav.scrolled .lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
/* Desktop: show in nav-actions */
.nav-actions .lang-toggle { margin-right: 8px; }
/* Mobile: show in mobile-nav */
.mobile-nav .lang-toggle {
  width: 100%;
  margin-top: 8px;
  border-color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 10px;
}
@media (max-width: 1024px) {
  .nav-actions .lang-toggle { display: none; }
}
@media (min-width: 1025px) {
  .mobile-nav .lang-toggle { display: none; }
}

/* ====================================================== */
/* ===== 全局导航：登录态用户区 + 下拉菜单（全站统一） ===== */
/* ====================================================== */
.nav-user-area { position: relative; display: inline-flex; align-items: center; }
.nav-user-trigger {
  display: flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; cursor: pointer;
  padding: 4px 10px; border-radius: 22px; transition: background 0.3s, color 0.3s;
}
.nav-user-trigger:hover { background: rgba(255,255,255,0.14); }
.nav.scrolled .nav-user-trigger { color: #1a1a1a; }
.nav.scrolled .nav-user-trigger:hover { background: rgba(0,0,0,0.05); }
.nav-user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: var(--accent, #C9A96E);
  border: 2px solid rgba(255,255,255,0.45);
  flex-shrink: 0; box-sizing: border-box;
}
.nav.scrolled .nav-user-avatar { border-color: rgba(0,0,0,0.08); }
.nav-user-avatar-default {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  background: linear-gradient(135deg, #C9A96E, #B8956A);
  border: 2px solid rgba(255,255,255,0.45);
}
.nav-user-name {
  font-size: 14px; color: inherit; max-width: 110px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-user-caret { opacity: 0.7; flex-shrink: 0; transition: transform 0.25s; }
.nav-user-area:hover .nav-user-caret { transform: rotate(180deg); }

.nav-user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 172px; background: #fff; border-radius: 12px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.16); border: 1px solid #f0f0f0;
  padding: 6px 0; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1000;
}
.nav-user-area:hover .nav-user-dropdown,
.nav-user-area:focus-within .nav-user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-user-dropdown-item {
  display: block; width: 100%; padding: 11px 18px;
  font-size: 14px; color: #333; text-decoration: none;
  background: none; border: none; cursor: pointer;
  text-align: left; font-family: inherit; transition: background 0.2s, color 0.2s;
}
.nav-user-dropdown-item:hover { background: #fafafa; color: var(--accent, #C9A96E); }
.nav-user-logout-btn { color: #e74c3c; }
.nav-user-logout-btn:hover { background: #fef2f2; color: #e74c3c; }

/* 移动端用户区 */
.mobile-user-area {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.mobile-user-header {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; padding: 8px 0;
}
.mobile-user-link {
  display: block; padding: 12px 0; font-size: 15px;
  color: #fff; text-decoration: none; background: none; border: none;
  width: 100%; text-align: left; cursor: pointer; font-family: inherit;
}
.mobile-user-link:hover { color: var(--accent, #C9A96E); }
.mobile-user-logout-btn { color: #ff8a80; }
@media (max-width: 1024px) {
  .nav-user-name { max-width: 70px; }
}
