:root {
  --wood-dark: #3b2b1f;
  --wood-mid: #6b4c3b;
  --wood-warm: #8b6f55;
  --wood-light: #c4a882;
  --wood-pale: #e8d5c0;
  --cream: #fdf8f4;
  --ivory: #faf6f0;
  --gold: #bfa575;
  --gold-light: #d4c5a0;
  --charcoal: #1c1c1c;
  --onyx: #121212;
  --slate: #2a2a2a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12), 0 6px 20px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.15), 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 8px 32px rgba(191, 165, 117, 0.25);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family:
    "Inter",
    "Noto Serif SC",
    -apple-system,
    BlinkMacSystemFont,
    "Microsoft YaHei",
    serif;
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ============ 导航栏 ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1002;
  padding: 0 60px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(253, 248, 244, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  height: 68px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1001;
}

.nav-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand .brand-en {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: #e8dcc0;
  transition:
    color var(--transition-smooth),
    font-size var(--transition-smooth);
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-brand .brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: #fff;
  transition:
    color var(--transition-smooth),
    font-size var(--transition-smooth);
  white-space: nowrap;
  margin-top: 3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-brand .brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(232, 220, 192, 0.75);
  transition:
    color var(--transition-smooth),
    font-size var(--transition-smooth);
  white-space: nowrap;
  margin-top: 4px;
}

.navbar.scrolled .nav-brand .brand-en {
  color: #8b6f3f;
  font-size: 1.1rem;
  text-shadow: none;
}

.navbar.scrolled .nav-brand .brand-name {
  color: #3b2b1f;
  font-size: 1rem;
  text-shadow: none;
}

.navbar.scrolled .nav-brand .brand-sub {
  color: #8b6f55;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--charcoal);
}

.nav-cta {
  padding: 10px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  background: transparent;
}

.nav-cta:hover {
  background: #fff;
  color: var(--charcoal);
  border-color: #fff;
  box-shadow: var(--shadow-gold);
}

.navbar.scrolled .nav-cta {
  border-color: var(--wood-dark);
  color: var(--wood-dark);
}

.navbar.scrolled .nav-cta:hover {
  background: var(--wood-dark);
  color: #fff;
  border-color: var(--wood-dark);
}

/* ── 右侧操作区 ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-back-home {
  text-decoration: none;
  color: #000;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
}

.nav-back-home::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width var(--transition-fast);
}

.nav-back-home:hover::after {
  width: 100%;
}

.navbar.scrolled .nav-back-home {
  color: #000;
}

/* 移动端菜单 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: all var(--transition-smooth);
  border-radius: 2px;
  pointer-events: none;
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--charcoal);
}

.mobile-menu-btn:active {
  opacity: 0.7;
  transform: scale(0.95);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
  background: #fff !important;
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
  background: #fff !important;
}

/* ============ 光标光晕 ============ */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle,
      rgba(191, 165, 117, 0.15) 0%,
      transparent 70%);
  transform: translate(-50%, -50%);
}

/* ============ 英雄区 ============ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3b2b1f 0%, #2a1f15 50%, #1a1008 100%);
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 30%,
      rgba(191, 165, 117, 0.15) 0%,
      transparent 60%),
    radial-gradient(ellipse at 25% 70%,
      rgba(108, 92, 231, 0.08) 0%,
      transparent 50%);
  z-index: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(26, 16, 8, 0.3) 0%,
      rgba(26, 16, 8, 0.6) 60%,
      rgba(26, 16, 8, 0.85) 100%);
  z-index: 1;
}

.hero-texture {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.2;
  pointer-events: none;
  background:
    repeating-linear-gradient(2deg,
      transparent,
      transparent 3px,
      rgba(139, 111, 85, 0.05) 3px,
      rgba(139, 111, 85, 0.05) 4px),
    repeating-linear-gradient(88deg,
      transparent,
      transparent 6px,
      rgba(107, 76, 59, 0.03) 6px,
      rgba(107, 76, 59, 0.03) 7px);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 40px;
}

.hero-tag {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(191, 165, 117, 0.5);
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-weight: 600;
  box-shadow: none;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  animation: bounceDown 2s infinite;
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.scroll-indicator .line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--gold);
  animation: scrollLine 2s infinite;
  border-radius: 1px;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes scrollLine {
  0% {
    top: -30%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: -30%;
  }
}

/* ============ 通用区块 ============ */
.section {
  padding: 90px 60px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wood-mid);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.02rem;
  color: #5c4a3a;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ============ 信任锚点条（合规版） ============ */
.badge-bar {
  background: linear-gradient(180deg,
      #3d3530 0%,
      #524a43 30%,
      #6e645a 70%,
      #8a8074 100%);
  border-top: none;
  border-bottom: none;
  padding: 22px 0;
  margin: 0;
}

.badge-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ====== 左侧主卖点（突出显示）====== */
.badge-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-right: 28px;
}

.badge-stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #b8956a 0%, #a07850 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 6px;
  line-height: 1;
}

.badge-label {
  font-size: 15px;
  font-weight: 600;
  color: #e8e0d4;
  white-space: nowrap;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  color: #b8956a;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.badge-link:hover {
  color: #8a6d45;
  text-decoration: underline;
}

/* ====== 分割线 ====== */
.badge-divider {
  display: none;
}

/* ====== 右侧三项 ====== */
.badge-items {
  display: flex;
  gap: 28px;
  flex: 1;
}

.badge-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.badge-title {
  font-size: 14px;
  font-weight: 500;
  color: #ddd5c8;
  white-space: nowrap;
}

.badge-sub {
  font-size: 12px;
  color: #a89b8c;
}

/* ====== 响应式 ====== */
@media (max-width: 768px) {
  .badge-inner {
    flex-direction: column;
    gap: 18px;
    padding: 0 16px;
  }

  .badge-hero {
    padding-right: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(180, 160, 130, 0.15);
    width: 100%;
    justify-content: center;
  }

  .badge-divider {
    display: none;
  }

  .badge-items {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .badge-item {
    align-items: center;
  }
}

/* ============ 产品分类 ============ */
.products-section {
  background: #fff;
  max-width: 100%;
}

.products-section .section {
  max-width: 1300px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: none;
  position: relative;
}

.product-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card:hover::after {
  opacity: 1;
  width: 60px;
}

.product-card .p-image {
  width: 100%;
  overflow: hidden;
  padding: 0;
  position: relative;
  box-sizing: border-box;
  background: #fff;
  border-radius: var(--radius-sm);
}

.product-card .p-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .p-image img {
  transform: scale(1.08);
}

.product-card .p-name {
  font-family: "Noto Serif SC", "PingFang SC", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--wood-dark);
  letter-spacing: 0.05em;
  margin-top: 20px;
  margin-bottom: 0;
  line-height: 1.4;
  padding: 0 8px;
}

.product-card .p-desc {
  font-size: 0.82rem;
  color: #7a6a5a;
  line-height: 1.6;
  margin-top: 8px;
  margin-bottom: 0;
  min-height: 2.4em;
  padding: 0 8px;
  font-weight: 400;
}

.product-card .p-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 0;
  min-height: 1.4em;
  padding: 0 8px;
}

.product-card .p-tag {
  display: inline-block;
  padding: 4px 10px;
  background: transparent;
  border-radius: 0;
  font-size: 0.7rem;
  color: #8a7a6a;
  transition: all 0.25s ease;
  border: 1px solid rgba(107, 76, 59, 0.2);
  letter-spacing: 0.03em;
}

.product-card:hover .p-tag {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.product-card .p-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 20px;
  padding: 0 8px;
}

.product-card .p-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-weight: 500;
}

.product-card .p-btn-video {
  background: var(--wood-dark);
  color: #fdf8f4;
  border: 1px solid var(--wood-dark);
  box-shadow: none;
}

.product-card .p-btn-video:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: none;
  transform: none;
}

.product-card .p-btn-official {
  background: transparent;
  color: var(--wood-dark);
  border: 1px solid rgba(107, 76, 59, 0.3);
  font-weight: 500;
}

.product-card .p-btn-official:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(191, 165, 117, 0.06);
  transform: none;
}

/* 授权声明 */
.product-disclaimer {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 16px 22px;
  background: rgba(191, 165, 117, 0.08);
  border: 1px solid rgba(191, 165, 117, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--wood-mid);
  line-height: 1.6;
}

.product-disclaimer i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ============ 服务卡片 ============ */
.services-section {
  max-width: 100%;
  background: #fff;
  position: relative;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 165, 117, 0.4), transparent);
}

.services-section .section {
  max-width: 1000px;
}

.services-section .section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  padding: 5px 14px;
  background: rgba(191, 165, 117, 0.08);
  border: 1px solid rgba(191, 165, 117, 0.2);
  border-radius: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(107, 76, 59, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 0;
  padding: 52px 44px;
  text-align: left;
  box-shadow: none;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
  border-right: 1px solid rgba(107, 76, 59, 0.15);
}

.service-card:last-child {
  border-right: none;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(191, 165, 117, 0.06) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  transition: all var(--transition-smooth);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  height: 100%;
}

.service-card:hover {
  transform: none;
  box-shadow: none;
}

.service-card .s-icon {
  width: 56px;
  height: 56px;
  margin: 0 0 22px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  transition: all var(--transition-smooth);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(191, 165, 117, 0.3);
}

.service-card:hover .s-icon {
  background: linear-gradient(135deg, var(--wood-dark) 0%, #5c4a3a 100%);
  color: var(--gold);
  transform: none;
  box-shadow: 0 4px 12px rgba(59, 43, 31, 0.3);
}

.service-card .s-title {
  font-family: "Noto Serif SC", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--wood-dark);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.service-card .s-tag {
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.service-card .s-desc {
  font-size: 0.95rem;
  color: #4a3a2a;
  line-height: 1.9;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-weight: 400;
}

.service-card .s-btn {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: var(--wood-dark);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1;
  border: 1px solid var(--wood-dark);
}

.service-card:hover .s-btn {
  background: var(--wood-dark);
  color: var(--gold);
  border-color: var(--wood-dark);
  transform: none;
}

/* ============ 为什么选我们 ============ */
.reasons-section {
  background: #fdfaf5;
  max-width: 100%;
  position: relative;
}

.reasons-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 165, 117, 0.4), transparent);
}

.reasons-section .section {
  max-width: 1250px;
  position: relative;
  z-index: 1;
}

.reasons-section .section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  padding: 5px 14px;
  background: rgba(191, 165, 117, 0.08);
  border: 1px solid rgba(191, 165, 117, 0.2);
  border-radius: 50px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(107, 76, 59, 0.2);
  border-bottom: 1px solid rgba(107, 76, 59, 0.2);
}

.reason-card {
  text-align: left;
  padding: 48px 32px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: all var(--transition-smooth);
  position: relative;
  border: none;
  border-right: 1px solid rgba(107, 76, 59, 0.15);
  overflow: hidden;
}

.reason-card:last-child {
  border-right: none;
}

.reason-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: all var(--transition-smooth);
}

.reason-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.reason-card:hover {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.4);
}

.reason-card .r-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  transition: all var(--transition-smooth);
  font-style: italic;
}

.reason-card:hover .r-num {
  opacity: 1;
  transform: translateY(-2px);
}

.reason-card .r-icon {
  display: none;
}

.reason-card .r-title {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--wood-dark);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  position: relative;
  display: block;
  padding-bottom: 14px;
}

.reason-card .r-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
}

.reason-card .r-desc {
  font-size: 0.88rem;
  color: #4a3a2a;
  line-height: 1.9;
  letter-spacing: 0.03em;
  margin-top: 14px;
  font-weight: 400;
}

/* ============ 关于我们 ============ */
.about-section-wrapper {
  max-width: 100%;
  background: #6b4c3b;
  position: relative;
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 100px 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image {
  aspect-ratio: 4/5;
  border-radius: 16px;
  background: linear-gradient(160deg,
      rgba(255, 250, 240, 0.15) 0%,
      rgba(59, 43, 31, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 248, 235, 0.2);
  backdrop-filter: blur(6px);
}

.about-image:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 248, 235, 0.35);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(191, 165, 117, 0.15);
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/about-side.jpg') center/cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
  filter: saturate(0.85) brightness(0.85);
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(59, 43, 31, 0.1) 0%,
      rgba(59, 43, 31, 0.2) 40%,
      rgba(59, 43, 31, 0.7) 100%);
  pointer-events: none;
}

.about-image .about-logo-text {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: #fff8eb;
  z-index: 1;
  padding: 22px 0 20px;
  border-top: 1px solid rgba(255, 248, 235, 0.35);
  border-bottom: 1px solid rgba(255, 248, 235, 0.35);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  font-family: "Noto Serif SC", serif;
}

.about-image .about-logo-text::before {
  content: "OUPAI";
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  color: var(--gold-light);
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.about-text .section-tag {
  text-align: left;
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 14px;
  padding: 6px 18px;
  background: rgba(255, 248, 235, 0.1);
  border: 1px solid rgba(255, 248, 235, 0.25);
  border-radius: 50px;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #fff8eb;
  position: relative;
  padding-bottom: 20px;
}

.about-text .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 3px;
}

.about-text .section-subtitle {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 1.08rem;
  color: #e8d8c0;
  margin-bottom: 28px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.about-text p {
  color: #f0e5d4;
  line-height: 2;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 1rem;
  padding-left: 20px;
  border-left: 2px solid rgba(255, 248, 235, 0.3);
  transition: border-color 0.3s ease, padding-left 0.3s ease;
}

.about-text p:hover {
  border-left-color: var(--gold-light);
  padding-left: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 248, 235, 0.2);
  border-left: 1px solid rgba(255, 248, 235, 0.2);
}

.about-feature-item {
  padding: 24px 28px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 248, 235, 0.2);
  border-bottom: 1px solid rgba(255, 248, 235, 0.2);
  border-radius: 0;
  transition: all 0.3s ease;
  backdrop-filter: none;
}

.about-feature-item:nth-child(2n) {
  border-right: none;
}

.about-feature-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.about-feature-item:hover {
  background: rgba(255, 248, 235, 0.06);
  border-color: rgba(255, 248, 235, 0.3);
  transform: none;
  box-shadow: none;
}

.about-feature-item .feature-text {
  font-size: 1rem;
  color: #fff8eb;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.about-feature-item .feature-text small {
  display: block;
  font-size: 0.82rem;
  color: #d8c8b0;
  font-weight: 400;
  margin-top: 6px;
  letter-spacing: 0.03em;
}

/* ============ 联系区 ============ */
.contact-section-wrapper {
  background: #6b4c3b;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.contact-section-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 165, 117, 0.5), transparent);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.contact-info {
  flex: 1;
  color: #fff;
}

.contact-info .section-tag {
  color: var(--gold-light);
  text-align: left;
}

.contact-info .section-title {
  color: #fff;
  text-align: left;
}

.contact-info .info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info .info-row.shop-name-row {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info .info-row.shop-name-row strong {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.contact-info .info-row .info-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-info .phone-link {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.contact-info .phone-link:hover {
  color: #d4b87a;
}

.contact-qr-group {
  display: flex;
  gap: 40px;
  flex-shrink: 0;
}

.contact-qr {
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.contact-qr img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.contact-qr .qr-label {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  font-weight: 300;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.copy-btn.wechat-btn {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.copy-btn.wechat-btn:hover {
  background: #333;
}

.copy-btn.douyin-btn {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.copy-btn.douyin-btn:hover {
  background: #333;
}

.copy-toast {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
}

.copy-toast.show {
  display: block;
}

/* ============ 页脚 ============ */
.footer {
  background: #1a120c;
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 60px 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-brand-en {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.footer ul li a:hover {
  color: var(--gold);
}

.footer ul li a.footer-brand-link {
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}

.footer ul li a.footer-brand-link:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  max-width: 1300px;
  margin: 0 auto;
}

/* ============ 滚动动画 ============ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 30px;
  }

  .about-image {
    aspect-ratio: 16/10;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-image .about-logo-text {
    font-size: 1.2rem;
    bottom: 28px;
    width: calc(100% - 50px);
    padding: 18px 0 16px;
    letter-spacing: 0.3em;
  }

  .about-image .about-logo-text::before {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    margin-bottom: 8px;
  }

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

  .section {
    padding: 60px 30px;
  }

  .navbar {
    padding: 0 30px;
  }

  .nav-links {
    gap: 20px;
  }

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

  .contact-info .info-row {
    justify-content: center;
  }

  .contact-info .section-tag,
  .contact-info .section-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta.desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 1;
  }

  .nav-links.mobile-open a {
    font-size: 1.2rem;
    color: #fff !important;
  }

  /* 产品系列：小屏设备 2 列网格布局 */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .product-card {
    padding: 0;
  }

  .product-card .p-name {
    padding: 0 8px;
    margin-top: 16px;
    font-size: 1rem;
  }

  .product-card .p-desc,
  .product-card .p-tags {
    padding: 0 8px;
  }

  .product-card .p-actions {
    padding: 0 8px;
  }

  .product-card .p-desc {
    min-height: auto;
    font-size: 0.75rem;
  }

  .product-card .p-tags {
    min-height: auto;
  }

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

  .service-card {
    padding: 36px 28px;
    border-right: none;
    border-bottom: 1px solid rgba(107, 76, 59, 0.15);
  }

  .service-card:last-child {
    border-bottom: none;
  }

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

  .reason-card {
    padding: 32px 20px;
    border-right: 1px solid rgba(107, 76, 59, 0.15);
    border-bottom: 1px solid rgba(107, 76, 59, 0.15);
  }

  .reason-card:nth-child(2n) {
    border-right: none;
  }

  .reason-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section {
    padding: 50px 20px;
  }

  .contact-inner {
    padding: 60px 90px 120px 20px;
  }

  .footer {
    padding: 50px 20px 120px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-right: 80px;
  }

  .badge-bar {
    padding: 16px 0;
  }

  .badge-inner {
    padding: 0 16px;
  }

  .product-disclaimer {
    margin-top: 28px;
    font-size: 0.75rem;
    padding: 14px 16px;
  }
}

@media (max-width: 480px) {

  /* 产品系列：手机端单列垂直布局 */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0;
    max-width: 320px;
    margin: 0 auto;
  }

  .product-card {
    padding: 0;
  }

  .product-card .p-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

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

  .reason-card {
    border-right: none;
    border-bottom: 1px solid rgba(107, 76, 59, 0.15);
  }

  .reason-card:last-child {
    border-bottom: none;
  }

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

  .entry-card {
    border-right: none;
    border-bottom: 1px solid rgba(107, 76, 59, 0.2);
    padding: 44px 32px 40px;
  }

  .entry-card:last-child {
    border-bottom: none;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .navbar {
    padding: 0 16px;
  }

  .about-inner {
    padding: 50px 20px;
  }

  .contact-inner {
    padding: 50px 80px 120px 20px;
  }

  .footer {
    padding: 40px 20px 120px;
  }

  .footer-grid {
    padding-right: 70px;
  }
}

/* ============ 浮动按钮（移动端核心转化） ============ */
/* 统一圆形 56px，SVG 图标 26px 确保一致。自下而上：📞 金色电话 → 微信绿 → 📍 深色定位标 */
.fab-consult,
.fab-wechat,
.fab-nav {
  position: fixed;
  right: 16px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  font-family: inherit;
  line-height: 1;
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.fab-consult svg,
.fab-wechat svg,
.fab-nav svg {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
}

/* 📞 免费量尺 — 主行动按钮（金色 + 呼吸光晕） */
.fab-consult {
  bottom: calc(20px + env(safe-area-inset-bottom));
  background: var(--gold);
  color: var(--onyx);
  box-shadow:
    0 0 0 6px rgba(191, 165, 117, 0.15),
    0 10px 28px rgba(191, 165, 117, 0.55);
  animation: fabPulse 2.4s ease-in-out infinite;
}

.fab-consult:active {
  transform: scale(0.9);
}

@keyframes fabPulse {

  0%,
  100% {
    box-shadow:
      0 0 0 6px rgba(191, 165, 117, 0.15),
      0 10px 28px rgba(191, 165, 117, 0.55);
  }

  50% {
    box-shadow:
      0 0 0 10px rgba(191, 165, 117, 0.08),
      0 10px 28px rgba(191, 165, 117, 0.55);
  }
}

/* 💬 加微信 — 次行动按钮（微信绿） */
.fab-wechat {
  bottom: calc(88px + env(safe-area-inset-bottom));
  background: #07c160;
  color: #fff;
  box-shadow:
    0 0 0 3px rgba(7, 193, 96, 0.18),
    0 6px 18px rgba(7, 193, 96, 0.35);
  z-index: 998;
}

.fab-wechat:active {
  transform: scale(0.9);
}

/* 📍 导航到店 — 次行动按钮 */
.fab-nav {
  bottom: calc(156px + env(safe-area-inset-bottom));
  background: rgba(18, 18, 18, 0.96);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  z-index: 997;
}

.fab-nav:active {
  transform: scale(0.9);
}

/* 桌面端隐藏浮动按钮 */
@media (min-width: 768px) {

  .fab-consult,
  .fab-wechat,
  .fab-nav {
    display: none;
  }
}

/* ============ 视频播放弹窗 ============ */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.video-modal-body {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--wood-dark);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.video-modal-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: opacity 0.2s;
}

.video-modal-close:hover {
  opacity: 0.7;
}

.video-modal-player {
  background: #000;
}

#videoModalPlayer {
  display: block;
  width: 100%;
  max-height: 60vh;
  background: #000;
}

.video-modal-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  background: #f7f4ee;
  border-top: 1px solid rgba(107, 76, 59, 0.1);
  max-height: 220px;
  overflow-y: auto;
}

.video-modal-list .v-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--wood-dark);
  transition: background 0.15s;
}

.video-modal-list .v-item:hover {
  background: rgba(191, 165, 117, 0.15);
}

.video-modal-list .v-item.is-active {
  background: rgba(107, 76, 59, 0.08);
  color: var(--wood-dark);
  font-weight: 500;
}

.video-modal-list .v-item i {
  font-size: 0.7rem;
  color: var(--gold);
  flex-shrink: 0;
}

.video-modal-list .v-item span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .video-modal {
    padding: 10px;
  }

  .video-modal-body {
    border-radius: 8px;
  }

  .video-modal-header {
    font-size: 0.8rem;
    padding: 12px 14px;
  }

  .video-modal-close {
    font-size: 1.4rem;
  }

  #videoModalPlayer {
    max-height: 50vh;
  }

  .video-modal-list {
    max-height: 160px;
  }

  .video-modal-list .v-item {
    font-size: 0.82rem;
    padding: 10px 16px;
  }
}

/* ══════════════════════════════════════
   实景案例板块
   ══════════════════════════════════════ */

.cases-section {
  padding: 90px 0;
  background: #fdfaf5;
  position: relative;
}

.cases-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 165, 117, 0.4), transparent);
}

.cases-section .section {
  position: relative;
  z-index: 1;
}

.cases-section .section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  padding: 5px 14px;
  background: rgba(191, 165, 117, 0.08);
  border: 1px solid rgba(191, 165, 117, 0.25);
  border-radius: 50px;
}

.case-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}

.case-filter {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.7);
  color: #6b4c3b;
  border: 1px solid rgba(191, 165, 117, 0.25);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.case-filter:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--gold);
  color: var(--wood-dark);
  transform: translateY(-1px);
}

.case-filter.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(191, 165, 117, 0.4);
}

/* 视图切换 Tab */
.case-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 22px;
}

.case-tab {
  padding: 7px 20px;
  font-size: 0.85rem;
  color: #8b6f55;
  background: transparent;
  border: 1px solid rgba(191, 165, 117, 0.2);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s ease;
  font-weight: 500;
  border-radius: 6px 6px 0 0;
}

.case-tab:hover {
  color: var(--wood-dark);
  border-color: rgba(191, 165, 117, 0.4);
}

.case-tab.active {
  color: var(--wood-dark);
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

/* 相册卡片网格视图 */
.case-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.album-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(59, 43, 31, 0.1), 0 2px 6px rgba(59, 43, 31, 0.05);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(191, 165, 117, 0.15);
}

.album-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(59, 43, 31, 0.22), 0 10px 24px rgba(59, 43, 31, 0.12);
  border-color: var(--gold);
}

.album-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #e8d5b0 0%, #c9a77a 100%);
}

.album-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(255, 248, 235, 0.55) 0%,
      rgba(107, 76, 59, 0.55) 100%);
  z-index: 2;
  pointer-events: none;
}

.album-cover::after {
  content: "查看实景 →";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  color: #5c3a1e;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.4s,
    filter 0.3s;
  display: block;
  filter: blur(1px) saturate(0.85) brightness(0.92);
  z-index: 1;
}

.album-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #f5e6d0 0%, #e8d5c0 100%);
  color: rgba(91, 64, 38, 0.4);
}

.album-card:hover .album-cover img {
  transform: scale(1.05);
  filter: blur(0) saturate(1) brightness(1);
}

.album-card:hover .album-cover::before {
  background: linear-gradient(160deg,
      rgba(255, 248, 235, 0.2) 0%,
      rgba(107, 76, 59, 0.45) 100%);
}

.album-card:hover .album-cover::after {
  content: "点击查看 →";
  background: #5c3a1e;
  color: #fdf8f4;
}

.album-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #5c3a1e;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  z-index: 4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.album-body {
  padding: 22px 24px 24px;
  background: #fff;
  border-top: 1px solid rgba(191, 165, 117, 0.1);
}

.album-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--wood-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}

.album-meta {
  font-size: 0.78rem;
  color: var(--gold);
  display: flex;
  gap: 6px;
  align-items: center;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.album-desc {
  font-size: 0.85rem;
  color: #4a3a2a;
  margin-top: 10px;
  opacity: 0.9;
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 400;
}

/* 瀑布流网格：CSS columns 实现最自然的瀑布流效果 */
.case-grid {
  column-count: 4;
  column-gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.case-card {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  background: #fdfaf4;
  box-shadow: 0 2px 10px rgba(59, 43, 31, 0.08);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #f0e6d2;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(59, 43, 31, 0.18);
  border-color: #d4c5a0;
}

.case-card img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.9) brightness(0.95) contrast(0.95);
  transition: filter 0.3s ease;
}

.case-card:hover img {
  filter: saturate(1) brightness(1) contrast(1);
}

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  background: linear-gradient(to top,
      rgba(59, 43, 31, 0.92) 0%,
      rgba(59, 43, 31, 0.4) 60%,
      transparent 100%);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
  opacity: 1;
}

.case-overlay::after {
  content: "查看大图 →";
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #f5e8d0;
  margin-top: 6px;
}

.case-title-small {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.case-desc-small {
  font-size: 0.75rem;
  margin-top: 4px;
  opacity: 0.85;
}

.case-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
  border: 2px dashed #e5dcc8;
}

/* 图片灯箱预览 */
.case-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.case-lightbox.active {
  display: flex;
}

.case-lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.case-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s;
}

.case-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1280px) {
  .case-grid {
    column-count: 3;
  }

  .case-album-grid {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .cases-section {
    padding: 50px 0;
  }

  .case-grid {
    column-count: 2;
    column-gap: 10px;
  }

  .case-card {
    margin-bottom: 10px;
    border-radius: 8px;
  }

  .case-filter {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .case-album-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .album-body {
    padding: 14px 14px 16px;
  }

  .album-title {
    font-size: 0.9rem;
  }

  .album-meta {
    font-size: 0.72rem;
  }

  .album-badge {
    font-size: 0.68rem;
    padding: 4px 10px;
  }

  .case-tab {
    padding: 6px 14px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .case-grid {
    column-count: 2;
    column-gap: 8px;
  }

  .case-card {
    margin-bottom: 8px;
  }

  .case-album-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ══════════════════════════════════════
   /cases 独立页面 · 案例画廊
   ══════════════════════════════════════ */
.cases-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at top,
      #fff7ec 0%,
      #fdf8f4 35%,
      #f5efe3 100%);
  padding: 0 0 100px;
}

.cases-page-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 20px 44px;
  position: relative;
  text-align: center;
}

.cases-back {
  position: absolute;
  right: 20px;
  top: 50px;
  font-size: 0.85rem;
  color: #8b6f55;
  text-decoration: none;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  border: 1px solid #e5dcc8;
  transition: all 0.2s ease;
  font-weight: 500;
}

.cases-back:hover {
  background: #3b2b1f;
  color: #fdf8f4;
  border-color: #3b2b1f;
}

.cases-page-heading {
  padding-top: 6px;
}

.cases-page-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: #a0856a;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 500;
}

.cases-page-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #3b2b1f;
  margin: 0 0 10px;
  letter-spacing: 0.08em;
}

.cases-page-desc {
  font-size: 0.9rem;
  color: #8b6f55;
  opacity: 0.75;
  margin: 0;
  letter-spacing: 0.03em;
}

/* ── 分类过滤栏 ── */
.cases-page .case-filters {
  margin-bottom: 40px;
  padding: 0 20px;
  gap: 10px;
}

.cases-page .case-filter {
  padding: 10px 24px;
  font-size: 0.9rem;
  border-radius: 24px;
  background: transparent;
  border: 1px solid #d4c5a0;
  color: #5c3a1e;
  font-weight: 500;
}

.cases-page .case-filter:hover {
  background: rgba(59, 43, 31, 0.06);
  border-color: #8b6f55;
}

.cases-page .case-filter.active {
  background: #3b2b1f;
  color: #fdf8f4;
  border-color: #3b2b1f;
}

/* ── 相册网格（画廊风格） ── */
.cases-page .case-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.cases-page .album-card {
  border-radius: 2px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  box-shadow: 0 2px 8px rgba(59, 43, 31, 0.05);
  border: none;
}

.cases-page .album-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(59, 43, 31, 0.18);
}

.cases-page .album-cover {
  aspect-ratio: 4 / 3;
  background: #f5efe3;
  overflow: hidden;
  position: relative;
}

.cases-page .album-cover::before,
.cases-page .album-cover::after {
  display: none;
}

.cases-page .album-cover img {
  filter: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.3s ease;
}

.cases-page .album-card:hover .album-cover img {
  transform: scale(1.08);
}

.cases-page .album-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: #f5efe3;
  color: rgba(91, 64, 38, 0.4);
}

/* ── 封面标签：数量 + 分类 ── */
.cases-page .album-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(59, 43, 31, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 2px;
  z-index: 4;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.cases-page .album-cat-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #5c3a1e;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 2px;
  z-index: 4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── 卡片正文 ── */
.cases-page .album-body {
  padding: 22px 24px 24px;
}

.cases-page .album-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #3b2b1f;
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cases-page .album-meta {
  font-size: 0.78rem;
  color: #a0856a;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cases-page .album-desc {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #8b6f55;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 空状态 ── */
.cases-page .case-empty {
  text-align: center;
  padding: 100px 20px;
}

/* ── 响应式 ── */
@media (max-width: 900px) {
  .cases-page .case-album-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .cases-page-header {
    padding: 30px 16px 28px;
  }

  .cases-back {
    position: static;
    display: inline-block;
    margin-bottom: 22px;
  }

  .cases-page-heading {
    padding-top: 0;
  }

  .cases-page-title {
    font-size: 1.55rem;
    letter-spacing: 0.05em;
  }

  .cases-page-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.25em;
  }

  .cases-page .case-filter {
    padding: 8px 18px;
    font-size: 0.82rem;
  }

  .cases-page .album-body {
    padding: 18px 18px 20px;
  }

  .cases-page .album-title {
    font-size: 0.98rem;
  }
}

/* ══════════════════════════════════════
   案例：双入口卡片（视频 / 图片）
   ══════════════════════════════════════ */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto 48px;
  border: 1px solid rgba(107, 76, 59, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.entry-card {
  display: block;
  padding: 56px 44px 50px;
  border-radius: 0;
  text-decoration: none;
  color: #3b2b1f;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  border: none;
  border-right: 1px solid rgba(107, 76, 59, 0.2);
  box-shadow: none;
  background: #fff;
}

.entry-card:last-child {
  border-right: none;
}

.entry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(191, 165, 117, 0.08) 0%,
      rgba(191, 165, 117, 0.03) 60%,
      transparent 100%);
  transition: width 0.4s ease;
  z-index: 0;
}

.entry-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
}

.entry-video {
  background: #fff;
}

.entry-video::before {
  background-image: none;
}

.entry-photo {
  background: #fff;
}

.entry-photo::before {
  background-image: none;
}

.entry-card:hover {
  transform: none;
  box-shadow: none;
}

.entry-card:hover::before {
  width: 100%;
}

.entry-card:hover::after {
  transform: scaleX(1);
}

.entry-card .entry-icon {
  width: 52px;
  height: 52px;
  margin: 0 0 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(191, 165, 117, 0.3);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.entry-card:hover .entry-icon {
  transform: none;
  background: linear-gradient(135deg, var(--wood-dark) 0%, #5c4a3a 100%);
  color: var(--gold);
  box-shadow: 0 4px 12px rgba(59, 43, 31, 0.3);
}

.entry-title {
  font-size: 1.4rem;
  margin: 0 0 8px;
  color: var(--wood-dark);
  font-weight: 600;
  position: relative;
  z-index: 1;
  letter-spacing: 0.04em;
  font-family: "Noto Serif SC", serif;
}

.entry-desc {
  font-size: 0.9rem;
  color: #5c4a3a;
  margin: 0 0 24px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.entry-cta {
  display: inline-block;
  background: transparent;
  color: var(--wood-dark);
  padding: 8px 0;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  border: none;
  border-bottom: 1.5px solid var(--gold);
}

.entry-card:hover .entry-cta {
  background: transparent;
  border: none;
  color: var(--gold);
  transform: none;
  box-shadow: none;
  border-bottom: 1.5px solid var(--gold);
  padding-right: 24px;
}

.entry-card:hover .entry-cta::after {
  opacity: 1;
  right: 0;
}

.entry-cta::after {
  content: "→";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

/* 图片展开区 */
.case-photo-area {
  animation: fadeSlideIn 0.4s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 小屏响应 */
@media (max-width: 640px) {
  .entry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .entry-card {
    padding: 36px 28px 32px;
  }

  .entry-title {
    font-size: 1.25rem;
  }
}

/* ══════════════════════════════════════
   查看模态框（图片/相册查看）
   ══════════════════════════════════════ */
.case-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  padding: 20px;
}

.case-modal.show {
  opacity: 1;
  visibility: visible;
}

.case-modal-dialog {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  overflow: hidden;
  animation: caseModalIn 0.25s ease;
}

@keyframes caseModalIn {
  from {
    transform: scale(0.96);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.case-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  line-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-modal-close:hover {
  background: rgba(0, 0, 0, 0.75);
}

/* 相册详情 */
.case-modal-header {
  padding: 22px 26px 14px;
  border-bottom: 1px solid #f0e8d8;
}

#caseModalTitle {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--wood-dark);
}

.case-modal-meta {
  font-size: 0.85rem;
  color: var(--wood-warm);
  margin-bottom: 6px;
}

.case-modal-desc {
  font-size: 0.9rem;
  color: var(--wood-mid);
  line-height: 1.6;
}

.case-modal-grid {
  padding: 18px 26px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  max-height: calc(90vh - 140px);
  overflow-y: auto;
}

.case-modal-cell {
  cursor: zoom-in;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #faf6f0;
}

.case-modal-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.case-modal-cell:hover img {
  transform: scale(1.05);
}

/* 单图查看 */
#caseModalPhoto {
  position: relative;
  width: 100%;
  height: 90vh;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
}

.case-modal-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  padding: 20px 60px;
  overflow: hidden;
}

#caseModalImg {
  max-width: 100%;
  max-height: calc(90vh - 100px);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.case-modal-photo-caption {
  color: #d4c5a0;
  font-size: 0.85rem;
  margin-top: 14px;
  text-align: center;
  max-width: 80%;
}

.case-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s ease;
}

.case-modal-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.case-modal-prev {
  left: 16px;
}

.case-modal-next {
  right: 16px;
}

.case-modal-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: #d4c5a0;
  font-size: 0.82rem;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
}

/* 响应式 */
@media (max-width: 768px) {
  .case-modal {
    padding: 0;
  }

  .case-modal-dialog {
    border-radius: 0;
    max-height: 100vh;
    height: 100vh;
  }

  .case-modal-header {
    padding: 18px 18px 12px;
  }

  .case-modal-grid {
    padding: 12px 18px 18px;
    gap: 8px;
  }

  .case-modal-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .case-modal-photo-wrap {
    padding: 12px 48px;
  }

  .case-modal-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .case-modal-prev {
    left: 8px;
  }

  .case-modal-next {
    right: 8px;
  }

  #caseModalPhoto {
    height: 100vh;
  }
}

/* 让卡片有点击感 */
.album-card,
.case-card {
  cursor: pointer;
}