/**
 * 锦瑟嫁衣 — 中式嫁衣定制品牌
 * 朱砂红 + 金色 + 象牙白主色调
 * 中式纹样装饰 / 小圆角 / 东方美学
 * 纯原生 CSS，响应式，768px 断点
 */

/* ============================================================
   CSS 变量体系 — 东方红金配色
   ============================================================ */
:root {
  /* 主色系 — 朱砂红 */
  --red-deep: #8B0000;
  --red-primary: #B22222;
  --red-bright: #C41E3A;
  --red-light: #FDF2F2;
  --red-bg: #FFF5F5;

  /* 金色系 */
  --gold-primary: #C9A96E;
  --gold-light: #D4A574;
  --gold-pale: #F5EDE0;
  --gold-border: rgba(201, 169, 110, 0.3);

  /* 象牙白 */
  --ivory: #FFF8F0;
  --ivory-dark: #F5EDE3;
  --cream: #FFFDF9;

  /* 深木色点缀 */
  --wood: #5C3D2E;
  --wood-light: #8B6914;

  /* 文字色阶 */
  --text-primary: #2C1810;
  --text-secondary: #6B4C3B;
  --text-muted: #9B8579;
  --text-on-dark: #FFF8F0;

  /* 边框&背景 */
  --border-light: rgba(201, 169, 110, 0.2);
  --border-gold: rgba(201, 169, 110, 0.5);
  --bg-warm: #FFFDF9;
  --bg-card: #FFFFFF;
  --bg-section: #FFF5F5;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(139, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(139, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(139, 0, 0, 0.1);
  --shadow-gold: 0 2px 12px rgba(201, 169, 110, 0.2);

  /* 圆角 — 小圆角精致感 */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* 间距 */
  --section-py: 88px;
  --container-max: 1200px;
  --header-h: 78px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;

  /* 字体 */
  --font-heading: 'STKaiti', 'KaiTi', '华文楷体', '楷体', 'PingFang SC', 'Microsoft YaHei', serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-calligraphy: 'STKaiti', 'KaiTi', '华文楷体', '楷体', serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(196, 30, 58, 0.15); color: var(--red-deep); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ivory-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

a { color: inherit; text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: 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: 600;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 40px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--gold-primary);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

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

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

/* ============================================================
   按钮系统 — 红金配色
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  font-family: var(--font-body);
}

.btn--primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: #fff;
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.25);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 6px 24px rgba(196, 30, 58, 0.4);
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, #D4A574, #C9A96E);
  color: #fff;
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.25);
}

.btn--gold:hover {
  color: #fff;
  box-shadow: 0 6px 24px rgba(201, 169, 110, 0.4);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--red-deep);
  border: 1.5px solid var(--red-bright);
}

.btn--outline:hover {
  background: var(--red-bright);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1.5px solid var(--gold-primary);
}

.btn--outline-gold:hover {
  background: var(--gold-primary);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--red-deep);
  border: 1px solid var(--border-light);
}

.btn--white:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* ============================================================
   Header — 白色实底 + 金色点缀
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(139, 0, 0, 0.08);
}

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

/* Logo — 居中书法字体 */
.header__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
  flex-shrink: 0;
}

.header__logo-name {
  font-family: var(--font-calligraphy);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red-deep);
  letter-spacing: 0.08em;
}

.header__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* 主桌面导航 — Logo左右对称分布 */
.header__nav-left, .header__nav-right {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__nav-left { margin-right: auto; padding-right: 140px; }
.header__nav-right { margin-left: auto; padding-left: 140px; }

.header__nav-link {
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  position: relative;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--red-deep);
}

.header__nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red-bright);
  border-radius: 1px;
}

/* 导航下拉 */
.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: 0;
  min-width: 160px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
}

.header__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.87rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
}

.header__dropdown a:hover {
  color: var(--red-deep);
  background: var(--red-light);
}

/* CTA按钮 — 右端红色按钮 */
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 100px;
  flex-shrink: 0;
  margin-left: 12px;
  transition: all var(--duration-fast) var(--ease-out);
}

.header__cta:hover {
  color: #fff;
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.35);
  transform: translateY(-1px);
}

/* ============================================================
   汉堡菜单（移动端）
   ============================================================ */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--red-deep);
  border-radius: 1px;
  transition: all var(--duration-normal) var(--ease-out);
}

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

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

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

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

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  border-bottom: 1px solid var(--ivory-dark);
}

.mobile-nav__link:hover { color: var(--red-deep); background: var(--red-light); }

.mobile-nav__sub {
  padding-left: 16px;
  display: none;
  background: var(--cream);
  border-radius: var(--radius-sm);
  margin: 4px 0;
}

.mobile-nav__sub.open { display: block; }

.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.mobile-nav__sub a:hover { color: var(--red-deep); }

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  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; }

/* ============================================================
   内页 Banner — 红金渐变
   ============================================================ */
.inner-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-deep), #6B1D1D);
}

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

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(139,0,0,0.5) 0%, rgba(139,0,0,0.7) 100%);
}

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

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

.inner-banner__subtitle {
  font-size: 1.05rem;
  color: var(--gold-pale);
}

/* 面包屑 */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--ivory-dark);
}

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

.breadcrumb a { color: var(--text-secondary); transition: color var(--duration-fast); }
.breadcrumb a:hover { color: var(--red-bright); }
.breadcrumb i { font-size: 0.65rem; color: var(--gold-primary); }

/* ============================================================
   卡片系统 — 描金边框 + 浅阴影
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  display: block;
}

.card:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--gold-primary);
  transform: translateY(-3px);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.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.06); }

.card__body { padding: 20px; }

.card__tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-primary);
  background: var(--gold-pale);
  border-radius: 100px;
  margin-bottom: 8px;
  font-family: var(--font-body);
}

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

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

.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ivory-dark);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card__price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red-bright);
  margin-top: 8px;
}

/* ============================================================
   首页 — Hero 全屏Banner轮播
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.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(139,0,0,0.25) 0%, rgba(44,24,16,0.5) 50%, rgba(44,24,16,0.8) 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: 24px;
  padding-right: 24px;
  text-align: center;
}

.hero__title {
  font-family: var(--font-calligraphy);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  letter-spacing: 0.08em;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: var(--gold-pale);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.hero-pagination .swiper-pagination-bullet-active {
  width: 56px;
  background: var(--gold-primary);
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.5);
}

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

.hero__scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--gold-primary), transparent);
}

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

/* ============================================================
   首页 — 双栏迎宾区
   ============================================================ */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.welcome-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 40px;
  overflow: hidden;
}

.welcome-card--red {
  background: linear-gradient(135deg, var(--red-deep), #6B1D1D);
  color: #fff;
}

.welcome-card--ivory {
  background: var(--ivory);
  color: var(--text-primary);
}

.welcome-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.welcome-card__title {
  font-family: var(--font-calligraphy);
  font-size: 2rem;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.welcome-card--red .welcome-card__title { color: #fff; }
.welcome-card--ivory .welcome-card__title { color: var(--red-deep); }

.welcome-card__subtitle {
  font-size: 1rem;
  margin-bottom: 24px;
  opacity: 0.85;
  line-height: 1.6;
}

/* ============================================================
   首页 — 工艺细节轮播
   ============================================================ */
.craft-section {
  background: linear-gradient(180deg, #1A0A0A 0%, #2C1810 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.craft-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(201,169,110,0.03) 2px, rgba(201,169,110,0.03) 4px);
  pointer-events: none;
}

.craft-section .section-title { color: var(--gold-light); }
.craft-section .section-subtitle { color: var(--gold-pale); }
.craft-section .section-tag { color: var(--gold-primary); }
.craft-section .section-tag::before { background: var(--gold-primary); }

.craft-swiper { overflow: hidden; padding: 20px 0; }

.craft-slide {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--gold-border);
}

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

.craft-slide:hover img { transform: scale(1.08); }

.craft-slide__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: center;
}

/* ============================================================
   首页 — 嫁衣展示（三列网格）
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ============================================================
   首页 — 品牌故事（左图右文）
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 中式纹理装饰框 */
.story-image::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-text p {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 0.95rem;
}

/* ============================================================
   首页 — 客片图片墙（四列）
   ============================================================ */
.gallery-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.gallery-wall-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-wall-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}

.gallery-wall-item:hover img { transform: scale(1.1); }

.gallery-wall-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(139, 0, 0, 0.6);
  opacity: 0;
  transition: opacity var(--duration-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold-primary);
  font-family: var(--font-calligraphy);
}

.gallery-wall-item:hover .gallery-wall-item__overlay { opacity: 1; }

/* ============================================================
   首页 — 定制流程时间轴
   ============================================================ */
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 16px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 80px;
  right: 80px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--red-bright), var(--gold-primary), var(--red-bright));
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--red-deep);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.process-step__num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red-bright);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.process-step__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   首页 — 红妆资讯（左大右小）
   ============================================================ */
.news-featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.news-featured-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.news-featured-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured-main__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(44,24,16,0.9));
  color: #fff;
}

.news-featured-main__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: #fff;
}

.news-featured-main__date { font-size: 0.82rem; opacity: 0.7; }

.news-list-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-list-side-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.news-list-side-item:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-sm);
}

.news-list-side-item__thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
}

.news-list-side-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list-side-item__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.news-list-side-item__date { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   首页 — CTA区域
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--red-deep), #6B1D1D);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* 中式纹理背景 */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(201,169,110,0.04) 40px, rgba(201,169,110,0.04) 41px);
  pointer-events: none;
}

.cta-section__title {
  font-family: var(--font-calligraphy);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  letter-spacing: 0.06em;
}

.cta-section__subtitle {
  color: var(--gold-pale);
  font-size: 1.05rem;
  margin-bottom: 32px;
  position: relative;
}

/* ============================================================
   列表页 — 网格 & 过滤栏
   ============================================================ */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.list-header {
  text-align: center;
  margin-bottom: 48px;
}

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

/* 子栏目过滤栏 */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 36px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  justify-content: center;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-bar a {
  display: inline-flex;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}

.filter-bar a:hover,
.filter-bar a.active {
  color: var(--red-deep);
  border-color: var(--red-bright);
  background: var(--red-light);
}

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

.detail-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--border-light);
}

.detail-gallery .swiper-slide { aspect-ratio: 16/10; }
.detail-gallery .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }

.detail__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ivory-dark);
  position: relative;
}

/* 中式分隔线 */
.detail__header::after {
  content: '◆';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-primary);
  font-size: 0.5rem;
  background: #fff;
  padding: 0 12px;
}

.detail__title {
  font-family: var(--font-calligraphy);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 12px;
  text-align: center;
}

.detail__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  justify-content: center;
}

.detail__meta-row i { margin-right: 4px; color: var(--gold-primary); }

.detail__params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.detail__param {
  padding: 16px;
  background: var(--red-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  text-align: center;
}

.detail__param-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail__param-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--red-deep);
  font-family: var(--font-heading);
}

.detail__body {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 0.95rem;
  letter-spacing: 0.015em;
}

.detail__body img { border-radius: var(--radius-sm); margin: 24px 0; max-width: 100%; }
.detail__body p { margin-bottom: 16px; }
.detail__body h2, .detail__body h3, .detail__body h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

/* 上下篇 */
.detail__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ivory-dark);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.detail__pager a { color: var(--text-secondary); }
.detail__pager a:hover { color: var(--red-bright); }

/* 相关推荐 */
.related-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 56px 0 24px;
  color: var(--text-primary);
  text-align: center;
  position: relative;
}

.related-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold-primary);
  margin: 12px auto 0;
}

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

/* ============================================================
   客片图库页 — 瀑布流
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

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

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(139,0,0,0.7));
  opacity: 0;
  transition: opacity var(--duration-normal);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ============================================================
   联系我们/预约页
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  transition: all var(--duration-fast);
}

.contact-info__item:hover { border-color: var(--gold-primary); box-shadow: var(--shadow-sm); }

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-deep);
  flex-shrink: 0;
}

.contact-info__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-info__value { font-size: 0.88rem; color: var(--text-secondary); }

/* 联系表单 */
.contact-form-card {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group label .required { color: var(--red-bright); }

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

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-border);
  background: #fff;
}

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

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='%239B8579' 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;
}

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

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

.search-form-row input {
  flex: 1;
  padding: 15px 20px;
  padding-left: 44px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.search-form-row input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-border);
}

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

.search-result-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
  margin-bottom: 10px;
}

.search-result-item:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-sm);
}

.search-result-item__thumb {
  width: 100px;
  height: 80px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ivory-dark);
}

.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: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-result-item__date { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; }
.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: 48px;
}

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

.pagination a:hover {
  background: var(--red-light);
  color: var(--red-deep);
  border-color: var(--border-light);
}

.pagination .active {
  background: var(--red-bright);
  color: #fff;
  font-weight: 600;
  border-color: var(--red-bright);
}

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

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

.empty-state p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   Footer — 深红背景 + 金色文字
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #2C1810 0%, #1A0A0A 100%);
  border-top: 3px solid var(--gold-primary);
}

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

.footer__brand-name {
  font-family: var(--font-calligraphy);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}

.footer__brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 16px;
  display: block;
}

.footer__brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 16px 0;
}

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

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  transition: all var(--duration-fast);
  border: 1px solid rgba(255,255,255,0.08);
}

.footer__social a:hover { background: var(--gold-primary); color: #fff; border-color: var(--gold-primary); }

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,169,110,0.2);
}

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

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--duration-fast);
}

.footer__links a:hover { color: var(--gold-primary); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.footer__contact-item i { color: var(--gold-primary); margin-top: 3px; flex-shrink: 0; }

.footer__qrcode {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: var(--radius-xs);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #999;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a { color: rgba(255,255,255,0.35); }
.footer__bottom a:hover { color: var(--gold-primary); }

/* ============================================================
   友情链接
   ============================================================ */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
}

.friend-links__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.friend-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--duration-fast);
}

.friend-links a:hover { color: var(--gold-primary); }

/* ============================================================
   在线客服悬浮按钮
   ============================================================ */
.service-float {
  position: fixed;
  right: 20px;
  bottom: 140px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-float__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-bright);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(196,30,58,0.3);
  font-size: 1.2rem;
  transition: all var(--duration-fast);
  position: relative;
}

.service-float__btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(196,30,58,0.5); }

.service-float__btn--wechat { background: #07C160; }
.service-float__btn--phone { background: var(--gold-primary); }

.service-float__popup {
  position: absolute;
  right: 60px;
  bottom: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  display: none;
  min-width: 180px;
  text-align: center;
}

.service-float__btn:hover .service-float__popup { display: block; }

.service-float__popup img {
  width: 120px;
  height: 120px;
  margin: 0 auto 8px;
  background: #f5f5f5;
}

.service-float__popup p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

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

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

.back-top:hover {
  background: var(--red-bright);
  color: #fff;
  border-color: var(--red-bright);
}

/* ============================================================
   中式装饰 — 回形纹底纹
   ============================================================ */
.chinese-pattern {
  position: relative;
}

.chinese-pattern::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border: 1px solid var(--gold-border);
  pointer-events: none;
  border-radius: var(--radius-xs);
}

/* 囍字分隔符 */
.divider-double-xi {
  text-align: center;
  font-family: var(--font-calligraphy);
  font-size: 1.5rem;
  color: var(--gold-primary);
  padding: 16px 0;
  letter-spacing: 0.3em;
}

/* ============================================================
   动画
   ============================================================ */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.text-gold-shimmer {
  background: linear-gradient(90deg, #C9A96E 0%, #F5EDE0 30%, #C9A96E 50%, #D4A574 70%, #C9A96E 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3s linear infinite;
}

/* 悬停浮现金色边框 */
.card-gold-border:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 1px var(--gold-primary), var(--shadow-md);
}

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

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

  .header__nav-left, .header__nav-right { display: none; }
  .header__cta { display: none; }
  .header__logo { position: static; transform: none; margin-right: auto; }
  .hamburger { display: flex; }

  .welcome-grid { grid-template-columns: 1fr; min-height: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-wall { grid-template-columns: repeat(2, 1fr); }
  .news-featured { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .process-timeline { flex-wrap: wrap; gap: 24px; }
  .process-timeline::before { display: none; }
  .process-step { flex: 0 0 calc(50% - 12px); }
  .detail__pager { flex-direction: column; gap: 8px; text-align: center; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   响应式 — 移动端 (≤767px)
   ============================================================ */
@media (max-width: 767px) {
  :root { --section-py: 48px; }

  .hero { height: 90vh; min-height: 500px; }
  .hero__content { padding-bottom: 80px; }
  .inner-banner { height: 220px; }

  .product-grid { grid-template-columns: 1fr; }
  .gallery-wall { grid-template-columns: repeat(2, 1fr); }
  .list-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .process-timeline { flex-direction: column; align-items: center; gap: 20px; }
  .process-step { flex: 1; max-width: 280px; }

  .card__body { padding: 16px; }
  .contact-form-card { padding: 24px; }
  .search-result-item { flex-direction: column; }
  .search-result-item__thumb { width: 100%; height: 140px; }
  .related-grid { grid-template-columns: 1fr; }
  .detail__params { grid-template-columns: repeat(2, 1fr); }
  .back-top { right: 12px; bottom: 60px; }
  .service-float { right: 12px; bottom: 120px; }
}

@media (max-width: 374px) {
  .gallery-grid { grid-template-columns: 1fr; }
  body { font-size: 14px; }
}

/* ============================================================
   偏好：减少动画
   ============================================================ */
@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;
  }
}
