/**
 * 臻设计工作室 — 高端室内设计官网主题样式
 * ZEN Design Studio — Premium Interior Design Theme
 *
 * 风格：深色质感 / 金色点缀 / 画廊氛围 / 杂志排版
 * 依赖：Font Awesome 6 (CDN), Swiper 11 (CDN), AOS 2.3.4 (CDN)
 * Google Fonts: Cinzel (headings) + Josefin Sans (body)
 *
 * ★ PBootCMS 避坑规范已全部遵守：
 *   13.3 dropdown z-index≥10 / 13.4 hamburger独立
 *   13.7 FA6图标 / 13.14 对称网格默认
 *   纯原生CSS，无框架依赖
 */

/* ============================================================
   Google Fonts — 优雅克制的中文友好字体组合
   Playfair Display: 经典衬线标题（英文/数字）
   Inter: 现代无衬线正文（极高可读性）
   ============================================================ */


/* ============================================================
   CSS 变量体系 — 深色画廊主题
   ============================================================ */
:root {
  /* 背景层级 — 深邃但有层次 */
  --bg-primary: #1A1A1A;
  --bg-secondary: #1F1F1F;
  --bg-card: #242424;
  --bg-card-hover: #2A2A2A;
  --bg-input: #282828;
  --bg-overlay: rgba(0, 0, 0, 0.75);

  /* 金色系 — 克制点缀 */
  --accent-gold: #C9A84C;
  --accent-gold-light: #D4B96A;
  --accent-gold-dim: rgba(201, 168, 76, 0.12);
  --accent-gold-glow: rgba(201, 168, 76, 0.25);

  /* 文字色阶 */
  --text-primary: #F0EDE8;
  --text-secondary: #A8A49E;
  --text-muted: #6B6762;
  --text-inverse: #1A1A1A;

  /* 边框 */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(201, 168, 76, 0.35);

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.15);

  /* 圆角 — 小圆角精致感 */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* 间距 */
  --section-py: 100px;
  --container-max: 1280px;
  --header-h: 80px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 180ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* 字体 — 优雅中文友好 */
  --font-heading: 'Playfair Display', 'PingFang SC', 'Noto Serif SC', 'STSong', 'Songti SC', 'Times New Roman', serif;
  --font-body: 'Inter', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', 'Hiragino Sans GB', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-cjk: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Hiragino Sans GB', 'STHeiti', sans-serif;
}

/* ============================================================
   全局重置 & 基础
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

/* 选中色 */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: var(--text-primary);
}

/* 滚动条 */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* 链接 */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--accent-gold); }

/* 图片 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 列表 */
ul, ol { list-style: none; }

/* 表单 */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
input::placeholder, textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* ============================================================
   排版系统
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

/* 区块标签（英文装饰） */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

/* 区块标题 */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

/* 区块副标题 */
.section-subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

/* 正文 */
.body-text {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 0.95rem;
}
.body-text p { margin-bottom: 1rem; }

/* ============================================================
   布局容器
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.container--narrow {
  max-width: 860px;
}

.section {
  padding: var(--section-py) 0;
}

.section--tight {
  padding: 60px 0;
}

/* ============================================================
   Header 头部 (固定 + 深色半透明)
   ★ 13.3: dropdown z-index 已设置
   ★ 13.4: hamburger 独立于 header__actions
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  background: rgba(26, 26, 26, 0.97);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: auto;
}

.header__logo-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  transition: all var(--duration-normal) var(--ease-out);
}

.header__logo:hover .header__logo-mark {
  background: var(--accent-gold);
  color: var(--text-inverse);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.06em;
}

.header__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* 主导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__nav-link {
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--text-primary);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  transform: scaleX(1);
}

/* 导航下拉 ★ z-index: 60 */
.header__nav-item {
  position: relative;
}

.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 150px;
  padding: 8px 0;
  background: rgba(36, 36, 36, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
}

.header__dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.header__dropdown a:hover {
  color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.06);
}

/* 右侧操作区 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

/* 预约CTA按钮（导航内金色描边） */
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-xs);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.header__cta:hover {
  background: var(--accent-gold);
  color: var(--text-inverse);
}

/* ============================================================
   汉堡菜单 ★ 独立于 header__actions (13.4)
   ============================================================ */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  margin-left: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-out);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* 移动端侧滑菜单 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80%;
  max-width: 340px;
  background: var(--bg-secondary);
  z-index: 120;
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-out);
  overflow-y: auto;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav__inner {
  padding: 24px;
  padding-top: 88px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.mobile-nav__link:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }

.mobile-nav__sub {
  padding-left: 16px;
  display: none;
}
.mobile-nav__sub.open { display: block; }

.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}
.mobile-nav__sub a:hover { color: var(--accent-gold); }

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 115;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.mobile-nav__overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--radius-xs);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-gold);
  color: var(--text-inverse);
}
.btn--primary:hover {
  background: var(--accent-gold-light);
  color: var(--text-inverse);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}
.btn--outline:hover {
  background: var(--accent-gold);
  color: var(--text-inverse);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn--sm { padding: 9px 20px; font-size: 0.78rem; }
.btn--lg { padding: 16px 36px; font-size: 0.92rem; }

/* ============================================================
   卡片系统 — 深色底 + 金色细边框hover
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-secondary);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.04);
}

.card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.4));
  pointer-events: none;
}

.card__body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xs);
  margin-bottom: 10px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: auto;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.card__meta i { color: var(--accent-gold); font-size: 0.75rem; }

/* ============================================================
   Hero 全屏Banner
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero .swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(26,26,26,0.2) 0%,
      rgba(26,26,26,0.05) 35%,
      rgba(26,26,26,0.7) 80%,
      rgba(26,26,26,0.95) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 100px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
  max-width: 700px;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero分页器 */
.hero-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 50px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255,255,255,0.3);
  opacity: 1;
  transition: all var(--duration-normal);
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 70px;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold-glow);
}

/* 滚动指示器 */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollFloat 2s ease-in-out infinite;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
}

@keyframes scrollFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: var(--bg-secondary);
  margin-top: var(--header-h);
}

.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(26,26,26,0.3) 0%,
    rgba(26,26,26,0.6) 60%,
    var(--bg-primary) 100%);
}

.inner-banner__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}

.inner-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.inner-banner__subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
}

/* 面包屑 */
.breadcrumb-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 28px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent-gold); }
.breadcrumb i { font-size: 0.6rem; }

/* ============================================================
   列表页 — 网格布局
   ============================================================ */
.list-header {
  text-align: center;
  margin-bottom: 52px;
  padding-top: 20px;
}

.list-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.list-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* 子栏目过滤栏 */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-bar a {
  display: inline-flex;
  padding: 8px 22px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-out);
}

.filter-bar a:hover,
.filter-bar a.active {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background: var(--accent-gold-dim);
}

/* ============================================================
   产品展示网格（首页多产品）
   ============================================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.works-grid--dense {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.works-grid--dense .card__body {
  padding: 16px 18px;
}

.works-grid--dense .card__title {
  font-size: 0.9rem;
}

/* ============================================================
   特色亮点 / 服务分类（4列）
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 44px 24px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-gold);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover .feature-card__icon {
  background: var(--accent-gold);
  color: var(--text-inverse);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.feature-card__desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   左图右文 / 左右布局
   ============================================================ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-layout__image {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
}

.split-layout__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-layout__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.split-layout__text p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.85;
}

/* 数值统计 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.stat-item__label {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ============================================================
   团队卡片
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
}

.team-card__avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 2px solid var(--border-subtle);
  transition: all var(--duration-normal) var(--ease-out);
}

.team-card:hover .team-card__avatar {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.82rem;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.team-card__bio {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   新闻列表（左图右文）
   ============================================================ */
.news-list-item {
  display: flex;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--duration-fast);
}

.news-list-item:hover {
  padding-left: 12px;
}

.news-list-item__thumb {
  width: 240px;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-secondary);
}

.news-list-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.news-list-item:hover .news-list-item__thumb img {
  transform: scale(1.04);
}

.news-list-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-list-item__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  transition: color var(--duration-fast);
}

.news-list-item:hover .news-list-item__title { color: var(--accent-gold); }

.news-list-item__date {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.news-list-item__desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   详情页
   ============================================================ */
.detail {
  max-width: 900px;
  margin: 0 auto;
}

.detail__header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.detail__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.detail__meta i { color: var(--accent-gold); margin-right: 5px; }

/* 详情参数卡片 */
.detail__params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 36px;
}

.detail__param {
  padding: 18px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all var(--duration-fast);
}

.detail__param:hover {
  border-color: var(--border-gold);
}

.detail__param-label {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.detail__param-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
}

/* 正文富文本区域 */
.detail__body {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 2;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.detail__body img {
  border-radius: var(--radius-sm);
  margin: 28px 0;
  max-width: 100%;
}

.detail__body p { margin-bottom: 18px; }

.detail__body h2, .detail__body h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

/* 详情轮播 */
.detail-gallery {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 40px;
  background: var(--bg-secondary);
}

.detail-gallery .swiper-slide {
  aspect-ratio: 16/9;
}

.detail-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 上下篇 */
.detail__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.detail__pager a {
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}
.detail__pager a:hover { color: var(--accent-gold); }

/* 相关推荐 */
.related-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin: 60px 0 28px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================================================
   表单系统
   ============================================================ */
.form-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}

.form-group label .required {
  color: var(--accent-gold);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 300;
  transition: all var(--duration-fast) var(--ease-out);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-dim);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B6762' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* 联系信息卡片 */
.contact-info-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--duration-fast) var(--ease-out);
}

.contact-info-card:hover {
  border-color: var(--border-gold);
}

.contact-info-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-card__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-info-card__value {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* ============================================================
   预约表单
   ============================================================ */
.booking-form {
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================================
   CTA 区块
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 90px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  position: relative;
}

/* ============================================================
   搜索页
   ============================================================ */
.search-box {
  max-width: 660px;
  margin: 0 auto;
}

.search-form-row {
  display: flex;
  gap: 10px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.search-input-wrap input {
  width: 100%;
  padding: 15px 20px 15px 44px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 0.92rem;
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-dim);
}

.search-result-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
  margin-bottom: 10px;
}

.search-result-item:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.search-result-item__thumb {
  width: 120px;
  height: 90px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-secondary);
}

.search-result-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-item__info {
  flex: 1;
  min-width: 0;
}

.search-result-item__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.search-result-item__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.search-result-item__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 52px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  transition: all var(--duration-fast) var(--ease-out);
}

.pagination a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
}

.pagination .active {
  background: var(--accent-gold);
  color: var(--text-inverse);
  border-color: var(--accent-gold);
  font-weight: 500;
}

/* ============================================================
   空状态
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 64px 20px;
}

.empty-state i {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
  opacity: 0.4;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* ============================================================
   Footer 底部
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.footer__top-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 44px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer__brand-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 16px 0;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--duration-normal) var(--ease-out);
}

.footer__social a:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--text-inverse);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__links a {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: all var(--duration-fast);
}

.footer__links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 22px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a {
  color: var(--text-muted);
  transition: color var(--duration-fast);
}
.footer__bottom a:hover { color: var(--accent-gold); }

/* 友情链接 */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.friend-links__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.friend-links a {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color var(--duration-fast);
}
.friend-links a:hover { color: var(--accent-gold); }

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 88px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--accent-gold);
  color: var(--text-inverse);
  border-color: var(--accent-gold);
}

/* ============================================================
   动画系统 — 克制优雅
   ============================================================ */

/* 淡入上移 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 金色下划线展开 */
@keyframes lineExpand {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* 呼吸光晕 */
@keyframes breatheGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(201, 168, 76, 0); }
}

/* 按钮脉冲 */
@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(201, 168, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
}

.btn--primary.pulse { animation: btnPulse 2.5s infinite; }

/* Hero 标题入场 */
.hero__title {
  animation: fadeInUp 0.9s var(--ease-out) both;
}

.hero__subtitle {
  animation: fadeInUp 0.9s var(--ease-out) 0.2s both;
}

.hero__actions {
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

/* 卡片悬停微光扫过 */
@keyframes shimmerSweep {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

.shimmer-overlay {
  position: relative;
  overflow: hidden;
}

.shimmer-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.02) 40%,
    rgba(255,255,255,0.04) 50%,
    rgba(255,255,255,0.02) 60%,
    transparent 100%);
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
}

.shimmer-overlay:hover::after {
  animation: shimmerSweep 0.7s ease-in-out;
}

/* ============================================================
   响应式 — 平板 (1023px以下)
   ============================================================ */
@media (max-width: 1023px) {
  :root {
    --section-py: 72px;
    --header-h: 68px;
  }

  .header__nav,
  .header__actions { display: none; }

  .hamburger { display: flex; }

  /* 平板也确保居中 */
  .container {
    margin: 0 auto;
  }

  .hero__content {
    text-align: center;
  }

  .hero__title,
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .features { grid-template-columns: repeat(2, 1fr); }

  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid--dense { grid-template-columns: repeat(2, 1fr); }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split-layout__text {
    text-align: center;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero__content {
    padding-bottom: 80px;
  }

  .news-list-item {
    flex-direction: column;
    gap: 16px;
  }

  .news-list-item__thumb {
    width: 100%;
    height: 200px;
  }

  .detail__pager {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ============================================================
   响应式 — 手机 (767px以下)
   ============================================================ */
@media (max-width: 767px) {
  :root { --section-py: 56px; }

  /* === 居中修复：解决整体偏左 === */
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .container {
    padding: 0 20px;
    margin: 0 auto;
  }

  /* 所有section内容居中 */
  .section {
    text-align: center;
  }

  /* 区块标题居中 */
  .section-tag,
  .section-title,
  .section-subtitle,
  .list-header,
  .list-header h1,
  .list-header p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* 卡片文字恢复左对齐（卡片内文字左对齐更易读） */
  .card, .card__body, .card__title, .card__desc, .card__meta {
    text-align: left;
  }

  /* 列表项文字左对齐 */
  .news-list-item, .news-list-item__info {
    text-align: left;
  }

  /* 详情页正文左对齐 */
  .detail__body, .detail__body p {
    text-align: left;
  }

  /* 表单元素左对齐 */
  .form-group, .form-group label, .form-control {
    text-align: left;
  }

  /* 按钮内文字居中 */
  .btn {
    text-align: center;
    justify-content: center;
  }

  /* 所有居中的flex/grid容器确保居中 */
  .hero__content {
    text-align: center;
    align-items: center;
    padding-bottom: 64px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__title,
  .hero__subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    height: 58vh;
    min-height: 380px;
  }

  /* 轮播图内容下移间距相应收紧，避免底部留白过多 */
  .hero__content {
    padding-bottom: 40px;
  }

  .hero__scroll { display: none; }

  .inner-banner {
    height: 240px;
    text-align: center;
  }

  .inner-banner__content {
    text-align: center;
    align-items: center;
  }

  .inner-banner__title,
  .inner-banner__subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* 网格 */
  /* 设计服务：手机端一行四个（图标+标题，隐藏描述避免窄卡内文字不可读） */
  .features { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .features > * { min-width: 0; }
  .feature-card { padding: 18px 6px; }
  .feature-card__icon { width: 40px; height: 40px; margin: 0 auto 10px; font-size: 1.05rem; }
  .feature-card__title { font-size: 0.78rem; margin-bottom: 0; }
  .feature-card__desc { display: none; }

  /* 作品网格（设计作品精选 + 设计资讯）：手机端一行两个 */
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid > * { min-width: 0; }
  .works-grid--dense { grid-template-columns: repeat(2, 1fr); }

  /* 设计团队：手机端两列压缩，头像缩小、简介最多2行 */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .team-grid > * { min-width: 0; }
  .team-card { max-width: none; }
  .team-card__avatar { width: 96px; height: 96px; margin: 0 auto 12px; }
  .team-card__name { font-size: 0.95rem; margin-bottom: 2px; }
  .team-card__role { font-size: 0.75rem; margin-bottom: 6px; }
  .team-card__bio { font-size: 0.8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  .list-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .card__body { padding: 18px 20px; }

  .form-card { padding: 24px; }

  .detail__params { grid-template-columns: repeat(2, 1fr); }

  .related-grid { grid-template-columns: 1fr; }

  /* 关于页三个数据格子：手机端一行三个 + 收紧，压缩高度 */
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; padding-top: 20px; }
  .stats-row > * { min-width: 0; }
  .stats-row .stat-item__number { font-size: 1.5rem; margin-bottom: 4px; }
  .stats-row .stat-item__label { font-size: 0.7rem; }

  .search-result-item { flex-direction: column; }

  .search-result-item__thumb { width: 100%; height: 160px; }

  .back-top { right: 14px; bottom: 64px; }

  .section-title { font-size: clamp(1.4rem, 6vw, 1.8rem); }

  /* === 额外手机居中修复 === */

  /* Header确保内容居中 */
  .header__inner {
    padding: 0 16px;
  }

  /* Logo在手机上不缩小太多 */
  .header__logo-name {
    font-size: 0.95rem;
  }

  /* 面包屑居中 */
  .breadcrumb {
    justify-content: center;
    padding: 12px 16px;
  }

  /* Footer品牌区域居中 */
  .footer__brand-desc {
    text-align: left;
  }

  .footer__col-title {
    text-align: left;
  }

  .footer__links {
    text-align: left;
    /* 快速链接横排一行（窄屏自动换行） */
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .footer__links a:hover {
    padding-left: 0;
  }

  .footer__social {
    justify-content: flex-start;
  }

  /* 分页居中 */
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* CTA区域 */
  .cta-section {
    text-align: center;
    padding: 60px 20px;
  }

  /* 预约流程居中 */
  .booking-form {
    text-align: center;
  }

  /* 确保团队卡片居中 */
  .team-card {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  /* 特色卡片 */
  .feature-card {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  /* 搜索框 */
  .search-form-row {
    flex-direction: column;
  }

  /* 联系信息 */
  .contact-info-card {
    text-align: left;
  }

  /* 联系我们：手机端删除服务时间下方的二维码 */
  .contact-qrcode { display: none; }

  /* 联系我们整体压缩 */
  .contact-grid { gap: 24px; }
  .contact-info-card { padding: 14px; gap: 12px; }
  .contact-info-card__icon { width: 36px; height: 36px; font-size: 0.9rem; }
  .form-card { padding: 20px; }
  .form-group { margin-bottom: 14px; }
  .form-control { padding: 11px 12px; }

  /* 筛选栏滚动 */
  .filter-bar {
    justify-content: flex-start;
    padding: 0 4px;
  }

  /* ============================================================
     ★ 手机端宽度溢出修复 — 解决整体偏左
     （窄屏内容被右侧裁切，视觉上整体偏移左侧）
     ============================================================ */

  /* Header：允许 Logo 收缩，副标题用省略号截断，避免挤压汉堡按钮出屏 */
  .header__logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .header__logo-text {
    min-width: 0;
  }

  .header__logo-name,
  .header__logo-sub {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 首页「设计理念」：grid 项最小宽度归零，图片固有宽度不再撑宽页面 */
  .split-layout > * {
    min-width: 0;
  }

  .split-layout__image {
    max-width: 100%;
  }

  .split-layout__image img {
    max-width: 100%;
    height: 100%;
    width: 100%;
  }

  /* 设计理念：图片压扁 + 简介限3行，压缩板块高度 */
  .split-layout { gap: 20px; }
  .split-layout__image { aspect-ratio: 16/9; }
  .split-layout__text p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 联系页信息卡：长文本（邮箱/地址）允许折行 */
  .contact-grid > * {
    min-width: 0;
  }

  .contact-info-card {
    min-width: 0;
  }

  .contact-info-card > * {
    min-width: 0;
  }

  .contact-info-card__value {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* AOS 保险：即使脚本异常，手机端内容也保持可见且不横向偏移 */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  /* 设计理念内统计数字：窄屏 3 列网格中缩小字号、收紧间距 */
  .split-layout__text .stat-item__number {
    font-size: 1.3rem;
  }

  .split-layout__text [style*="grid-template-columns"] {
    gap: 8px;
  }

  /* 富文本正文：长单词/链接折行，图片不超出屏幕 */
  .detail__body {
    overflow-wrap: break-word;
  }

  .detail__body img {
    max-width: 100% !important;
    height: auto !important;
  }

  .detail__body table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
  }
}

/* ============================================================
   响应式 — 小屏 (374px以下)
   ============================================================ */
@media (max-width: 374px) {
  .works-grid--dense { grid-template-columns: 1fr; }
  /* 极窄屏：作品/资讯卡片收紧内边距，资讯日期徽章缩小，避免信息被裁切 */
  .works-grid .card__body { padding: 14px; }
  .works-grid .card__tag { padding: 2px 6px; font-size: 0.62rem; margin-bottom: 6px; }
  .works-grid--featured .card__meta { gap: 8px; font-size: 0.72rem; }
  .works-grid--featured .card__meta span:nth-child(2) { display: none; }
  /* 极窄屏：服务卡进一步收紧，图标缩小避免溢出 */
  .features { gap: 6px; }
  .feature-card { padding: 12px 4px; }
  .feature-card__icon { width: 30px; height: 30px; margin-bottom: 6px; font-size: 0.85rem; }
  .feature-card__title { font-size: 0.7rem; }
  /* 极窄屏：团队卡进一步压缩，头像缩小避免溢出 */
  .team-grid { gap: 12px; }
  .team-card__avatar { width: 64px; height: 64px; margin-bottom: 8px; }
  .team-card__name { font-size: 0.82rem; }
  .team-card__role { font-size: 0.7rem; }
  .detail__params { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .stats-row .stat-item__number { font-size: 1.2rem; }
  .stats-row .stat-item__label { font-size: 0.6rem; }
}

/* ============================================================
   偏好：减少动画
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   AOS 覆盖 — 克制温和
   ============================================================ */
[data-aos] {
  transition-timing-function: var(--ease-out);
}
