/* ==========================================================================
   华金精铸官网 - 主样式表 style.css
   设计系统 + 基础重置 + 全部组件样式
   对标 Apple / Rolex / Cartier / Tiffany / 老铺黄金
   ========================================================================== */

/* ============ 1. 设计系统 CSS 变量 ============ */
:root {
  /* 背景色 */
  --color-bg: #ffffff;
  --color-bg-2: #fafafa;
  --color-bg-3: #f5f5f5;

  /* 文字色 */
  --color-text: #111111;
  --color-text-light: #666666;
  --color-text-muted: #999999;

  /* 点缀色 - 香槟金 */
  --color-gold: #C7A35D;
  --color-gold-hover: #b68d43;
  --color-gold-light: #E8D9B8;

  /* 边框 */
  --color-border: #eeeeee;

  /* 字体 */
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-cn: 'HarmonyOS Sans', 'MiSans', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-base: var(--font-en), var(--font-cn);

  /* 字号 */
  --text-display: 72px;
  --text-h1: 48px;
  --text-h2: 36px;
  --text-h3: 24px;
  --text-h4: 20px;
  --text-body-l: 18px;
  --text-body: 16px;
  --text-caption: 14px;
  --text-label: 12px;

  /* 字重 */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  /* 间距 - 8px 基准 */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* 模块间距 */
  --section-padding: 120px 0;

  /* 容器 */
  --container-width: 1280px;
  --container-padding: 80px;

  /* 圆角 */
  --radius-card: 16px;
  --radius-btn: 999px;
  --radius-input: 8px;
  --radius-img: 16px;
  --radius-sm: 8px;

  /* 阴影 - 克制使用 */
  --shadow-sm: 0 2px 8px rgba(17, 17, 17, 0.04);
  --shadow-md: 0 8px 24px rgba(17, 17, 17, 0.06);
  --shadow-lg: 0 16px 48px rgba(17, 17, 17, 0.08);
  --shadow-gold: 0 8px 24px rgba(199, 163, 93, 0.15);

  /* 缓动 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.0, 0, 0.2, 1);

  /* 过渡时长 */
  --transition: 300ms var(--ease);

  /* 头部高度 */
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-base);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

.section {
  padding: var(--section-padding);
  position: relative;
}

/* 模块背景交替 */
.about,
.advantages,
.process,
.news {
  background: var(--color-bg);
}

.production,
.quality,
.partners,
.contact {
  background: var(--color-bg-2);
}

/* ============ 4. 区块标题 ============ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.eyebrow {
  display: block;
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  letter-spacing: 0.15em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--text-h1);
  font-weight: var(--weight-regular);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

/* ============ 5. 按钮系统 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gold);
  color: #ffffff;
  border-color: var(--color-gold);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: #ffffff;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--color-text);
  border-color: #ffffff;
}

/* 文字链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold);
  font-weight: var(--weight-medium);
  font-size: var(--text-caption);
  transition: color var(--transition);
}

.text-link .arrow {
  transition: transform var(--transition);
}

.text-link:hover {
  color: var(--color-gold-hover);
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

/* ============ 6. 头部导航 ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
}

.header.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-mark {
  font-size: 22px;
  font-weight: var(--weight-medium);
  color: #ffffff;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.logo-sub {
  font-size: 10px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  transition: color var(--transition);
}

.header.scrolled .logo-mark { color: var(--color-text); }
.header.scrolled .logo-sub { color: var(--color-text-light); }

/* 导航 */
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 15px;
  font-weight: var(--weight-regular);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition);
}

.header.scrolled .nav-link {
  color: var(--color-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-gold);
}

.nav-cta {
  padding: 10px 28px;
  background: var(--color-gold);
  color: #ffffff !important;
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-gold);
  transition: all var(--transition);
}

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

.nav-cta:hover {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-1px);
}

/* 汉堡菜单 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--color-text);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ 7. Hero Banner ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  transform: scale(1.05);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.2s var(--ease), transform 6s var(--ease);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(17,17,17,0.45) 0%, rgba(17,17,17,0.35) 50%, rgba(17,17,17,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
}

.hero-title {
  font-family: var(--font-en);
  font-size: var(--text-display);
  font-weight: var(--weight-light);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: var(--text-h4);
  font-weight: var(--weight-regular);
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* 滚动指示 */
.scroll-down {
  position: absolute;
  bottom: 40px;
  right: 80px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: #ffffff;
  border-radius: 2px;
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============ 8. 关于我们 ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.about-text .eyebrow {
  margin-bottom: var(--space-md);
}

.about-text .section-title {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.about-desc {
  font-size: var(--text-body-l);
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.about-image {
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* 数字统计 */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
}

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

.counter-number {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: var(--weight-light);
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.counter-label {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

/* ============ 9. 企业优势 ============ */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.advantage-card {
  padding: 48px 40px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: all var(--transition);
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.advantage-icon {
  width: 56px;
  height: 56px;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.advantage-icon svg {
  width: 100%;
  height: 100%;
}

.advantage-title {
  font-size: var(--text-h3);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.advantage-desc {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ============ 10. 产品中心 ============ */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.product-tab {
  padding: 10px 28px;
  font-size: 15px;
  color: var(--color-text-light);
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border);
  background: #ffffff;
  transition: all var(--transition);
}

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

.product-tab.is-active {
  background: var(--color-text);
  color: #ffffff;
  border-color: var(--color-text);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
}

.product-card.is-hidden {
  display: none;
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-3);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.product-info {
  padding: 28px 32px 36px;
}

.product-name {
  font-size: var(--text-h4);
  font-weight: var(--weight-medium);
  margin-bottom: 8px;
  color: var(--color-text);
}

.product-desc {
  font-size: var(--text-caption);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

/* ============ 11. 生产实力 - 瀑布流 ============ */
.masonry {
  column-count: 3;
  column-gap: var(--space-md);
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  cursor: pointer;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s var(--ease);
}

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

.masonry-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  background: linear-gradient(180deg, transparent 40%, rgba(17,17,17,0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.masonry-item:hover .masonry-overlay {
  opacity: 1;
}

.masonry-overlay span {
  color: #ffffff;
  font-size: var(--text-h4);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
}

/* ============ 12. 工艺流程 - 时间轴 ============ */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  position: relative;
  padding-left: 72px;
  padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-border);
  transition: all var(--transition);
  z-index: 1;
}

.timeline-item.is-active .timeline-dot {
  background: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 0 0 6px rgba(199, 163, 93, 0.15);
}

.timeline-num {
  font-family: var(--font-en);
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  color: var(--color-gold);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: var(--text-h3);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.timeline-desc {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-text-light);
  max-width: 560px;
}

/* ============ 13. 品质检测 ============ */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.quality-image {
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}

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

.quality-cert {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 20px 28px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: all var(--transition);
}

.cert-badge:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.cert-mark {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-3);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: var(--weight-semibold);
  color: var(--color-gold);
}

.cert-text strong {
  display: block;
  font-size: var(--text-h4);
  color: var(--color-text);
  margin-bottom: 2px;
}

.cert-text span {
  font-size: var(--text-caption);
  color: var(--color-text-light);
}

.quality-subtitle {
  font-size: var(--text-h3);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.quality-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.quality-list li {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.quality-list li:hover {
  border-color: var(--color-gold-light);
  transform: translateX(4px);
}

.quality-num {
  font-family: var(--font-en);
  font-size: var(--text-h4);
  font-weight: var(--weight-light);
  color: var(--color-gold);
  flex-shrink: 0;
  line-height: 1.4;
}

.quality-list strong {
  display: block;
  font-size: var(--text-body-l);
  font-weight: var(--weight-medium);
  margin-bottom: 4px;
  color: var(--color-text);
}

.quality-list p {
  font-size: var(--text-caption);
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============ 14. 合作品牌 - Logo 墙 ============ */
.partners .container {
  margin-bottom: var(--space-2xl);
}

.logo-wall {
  overflow: hidden;
  margin-bottom: var(--space-md);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  display: flex;
  gap: var(--space-2xl);
  width: max-content;
  animation: scrollLeft 40s linear infinite;
}

.logo-track--right {
  animation: scrollRight 40s linear infinite;
}

.logo-wall:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 80px;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  opacity: 0.55;
  filter: grayscale(1);
  transition: all var(--transition);
  white-space: nowrap;
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
  color: var(--color-gold);
  transform: scale(1.05);
}

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ============ 15. 新闻中心 ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.news-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.news-body {
  padding: 28px 32px 36px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.news-meta time {
  font-family: var(--font-en);
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.news-tag {
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  color: var(--color-gold);
  background: rgba(199, 163, 93, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-btn);
}

.news-title {
  font-size: var(--text-h4);
  font-weight: var(--weight-medium);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  transition: color var(--transition);
}

.news-card:hover .news-title {
  color: var(--color-gold);
}

.news-excerpt {
  font-size: var(--text-caption);
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ============ 16. 联系我们 ============ */
.contact-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.contact-subtitle {
  font-size: var(--text-h3);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-xl);
  color: var(--color-text);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-gold);
  transition: all var(--transition);
}

.contact-list li:hover .contact-icon {
  background: var(--color-gold);
  color: #ffffff;
  border-color: var(--color-gold);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-list strong {
  display: block;
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  color: var(--color-text-light);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.contact-list p {
  font-size: var(--text-body-l);
  color: var(--color-text);
}

.contact-map {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 360px;
  height: 100%;
  background: var(--color-bg-3);
  box-shadow: var(--shadow-sm);
}

.baidu-map {
  width: 100%;
  height: 100%;
  min-height: 360px;
  min-width: 100%;
  background:
    linear-gradient(135deg, #f5f5f5 25%, transparent 25%),
    linear-gradient(225deg, #f5f5f5 25%, transparent 25%),
    linear-gradient(45deg, #f5f5f5 25%, transparent 25%),
    linear-gradient(315deg, #f5f5f5 25%, #ededed 25%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 0, 20px -20px, 0px 20px;
  background-color: #ededed;
  position: relative;
}

.baidu-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.06) 100%);
  pointer-events: none;
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 2;
}

.map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-gold);
  color: #ffffff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 16px rgba(199, 163, 93, 0.4);
  animation: mapPinBounce 2s ease-in-out infinite;
}

.map-pin svg {
  transform: rotate(45deg);
  width: 20px;
  height: 20px;
}

@keyframes mapPinBounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-8px); }
}

.map-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--color-text);
  font-size: 13px;
  font-weight: var(--weight-medium);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.map-link:hover {
  background: var(--color-gold);
  color: #ffffff;
  transform: translateY(-2px);
}

.map-link svg {
  width: 16px;
  height: 16px;
}

.BMap_container {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

/* 表单 */
.contact-form {
  background: #ffffff;
  padding: var(--space-2xl);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

.required {
  color: var(--color-gold);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  background: var(--color-bg-3);
  font-size: 15px;
  color: var(--color-text);
  transition: all var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(199, 163, 93, 0.1);
}

.contact-form .btn {
  margin-top: var(--space-sm);
}

.form-status {
  margin-top: var(--space-md);
  font-size: var(--text-caption);
  color: var(--color-gold);
  min-height: 20px;
}

/* ============ 17. Footer ============ */
.footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.logo--footer .logo-mark { color: #ffffff; }
.logo--footer .logo-sub { color: rgba(255, 255, 255, 0.5); }

.footer-desc {
  font-size: var(--text-caption);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-md);
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #ffffff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-title {
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.footer-links li,
.footer-contact li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

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

.footer-contact li {
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-inner .beian-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-inner .beian-link:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

/* ============ 18. 返回顶部 ============ */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-text);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--color-gold);
  transform: translateY(-2px);
}

.back-top svg {
  width: 20px;
  height: 20px;
}
