/* ============================================================
   源奢汇 · 专业黄金珠宝奢侈品回收平台
   配色：黑金奢华风
   主金 #c8a45c  深金 #a8843e  浅金 #eebe77
   墨黑 #050505  深灰 #111  #1a1a1a
   米白底 #faf8f4
   ============================================================ */

:root {
  --gold: #c8a45c;
  --gold-dark: #a8843e;
  --gold-light: #eebe77;
  --gold-pale: #f3d19e;
  --black: #050505;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --cream: #faf8f4;
  --text: #333333;
  --text-muted: #8a8a8a;
  --line: #eceae4;
  --shadow: 0 10px 40px rgba(5, 5, 5, 0.08);
  --radius: 14px;
  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部信息栏 ---------- */
.topbar {
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.topbar-welcome { letter-spacing: 0.5px; }
.topbar-phone { color: rgba(255, 255, 255, 0.9); }
.topbar-phone strong { color: var(--gold); font-size: 15px; letter-spacing: 0.5px; }

/* ---------- 导航栏 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 164, 92, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(200, 164, 92, 0.35);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-cn { color: #fff; font-family: var(--font-serif); font-size: 22px; font-weight: 700; letter-spacing: 2px; }
.logo-en { color: var(--gold); font-size: 10px; letter-spacing: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  padding: 8px 14px;
  transition: color 0.25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1a1a;
  box-shadow: 0 6px 20px rgba(200, 164, 92, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(200, 164, 92, 0.5); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-ghost:hover { background: rgba(200, 164, 92, 0.12); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 20% 10%, #241d0e 0%, #0a0a0a 45%, #050505 100%);
  color: #fff;
  padding: 100px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 164, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 164, 92, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-decor {
  position: absolute;
  right: -120px; top: -120px;
  width: 460px; height: 460px;
  border: 1px solid rgba(200, 164, 92, 0.25);
  border-radius: 50%;
}
.hero-decor::after {
  content: "";
  position: absolute;
  inset: 60px;
  border: 1px solid rgba(200, 164, 92, 0.18);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 4px;
  border: 1px solid rgba(200, 164, 92, 0.5);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-title .gold { color: var(--gold); }
.hero-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(200, 164, 92, 0.2);
  padding-top: 36px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label { color: rgba(255, 255, 255, 0.6); font-size: 14px; margin-top: 10px; letter-spacing: 1px; }

/* ---------- Section 通用 ---------- */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-kicker {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 14px;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
}
.section-kicker::before, .section-kicker::after {
  content: "";
  display: inline-block;
  width: 30px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-desc { color: var(--text-muted); font-size: 16px; }

/* ---------- 回收类目 ---------- */
.categories { background: #fff; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.category-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.category-card:hover::before { transform: scaleX(1); }
.category-icon {
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  border: 1px solid rgba(200, 164, 92, 0.4);
  border-radius: 12px;
  margin-bottom: 22px;
  transition: 0.35s;
}
.category-icon svg { width: 34px; height: 34px; }
.category-card:hover .category-icon { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1a1a; border-color: transparent; }
.category-card h3 { font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 12px; font-family: var(--font-serif); }
.category-card p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 18px; }
.card-link { color: var(--gold-dark); font-weight: 600; font-size: 14px; }
.card-link span { transition: transform 0.25s; display: inline-block; }
.card-link:hover span { transform: translateX(4px); }

/* ---------- 回收流程 ---------- */
.process {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  color: #fff;
}
.process .section-title { color: #fff; }
.process .section-desc { color: rgba(255, 255, 255, 0.55); }
.process .section-kicker { color: var(--gold); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 164, 92, 0.18);
  border-radius: var(--radius);
  transition: 0.35s;
}
.step:hover { background: rgba(200, 164, 92, 0.06); border-color: rgba(200, 164, 92, 0.45); transform: translateY(-5px); }
.step-num {
  position: absolute;
  top: 18px; right: 20px;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: rgba(200, 164, 92, 0.25);
}
.step-icon {
  width: 58px; height: 58px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  border-radius: 50%;
  border: 1px solid rgba(200, 164, 92, 0.5);
}
.step-icon svg { width: 30px; height: 30px; }
.step h3 { font-size: 18px; font-family: var(--font-serif); margin-bottom: 10px; }
.step p { color: rgba(255, 255, 255, 0.6); font-size: 14px; }

/* ---------- 关于/保障 ---------- */
.about { background: var(--cream); }
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.guarantee-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.guarantee-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--black);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.guarantee-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200, 164, 92, 0.2);
}
.guarantee-card ul li {
  position: relative;
  padding-left: 20px;
  color: #555;
  font-size: 14.5px;
  margin-bottom: 10px;
}
.guarantee-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  transform: rotate(45deg);
}
.about-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
}
.about-intro-text h3 { font-family: var(--font-serif); font-size: 24px; color: var(--black); margin-bottom: 18px; }
.about-intro-text p { color: #555; font-size: 15px; margin-bottom: 14px; }
.about-intro-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.fact {
  text-align: center;
  padding: 24px 12px;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.fact strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--gold-dark);
  line-height: 1;
}
.fact span { font-size: 13px; color: var(--text-muted); display: block; margin-top: 8px; }

/* ---------- 门店 ---------- */
.stores { background: #fff; }
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.store-card {
  padding: 34px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.35s;
}
.store-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: rgba(200, 164, 92, 0.5); }
.store-num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 16px;
}
.store-card h3 { font-family: var(--font-serif); font-size: 18px; color: var(--black); margin-bottom: 10px; }
.store-card p { color: var(--text-muted); font-size: 14px; }

/* ---------- 首页新闻资讯 ---------- */
.home-news { background: #fff; }
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s;
  display: block;
}
.news-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-cover {
  height: 140px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.news-cover span {
  color: #f3d19e;
  font-size: 12px;
  border: 1px solid rgba(243, 209, 158, 0.6);
  padding: 3px 12px;
  border-radius: 12px;
}
.news-info { padding: 20px; }
.news-info h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--black);
  line-height: 1.55;
  margin-bottom: 10px;
}
.news-info p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.news-info .date { font-size: 12px; color: var(--gold-dark); }
.news-more { text-align: center; margin-top: 36px; }

/* ---------- 资质 ---------- */
.quals {
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
}
.quals .section-title { color: #fff; }
.quals .section-desc { color: rgba(255, 255, 255, 0.55); }
.quals .section-kicker { color: var(--gold); }
.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.qual-item {
  text-align: center;
  padding: 26px 16px;
  border: 1px solid rgba(200, 164, 92, 0.25);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15.5px;
  letter-spacing: 1px;
  transition: 0.3s;
}
.qual-item:hover { background: rgba(200, 164, 92, 0.1); border-color: var(--gold); color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: 0.3s;
}
.faq-item.open { border-color: rgba(200, 164, 92, 0.5); box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  text-align: left;
}
.faq-icon {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-dark);
  transition: 0.3s;
}
.faq-icon::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.faq-icon::after { width: 2px; height: 14px; top: 3px; left: 9px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 24px 22px;
  color: #666;
  font-size: 15px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 0 24px;
  padding-left: 0;
  padding-right: 0;
}

/* ---------- 联系我们 ---------- */
.contact { background: #fff; }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.contact-item-icon {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  border: 1px solid rgba(200, 164, 92, 0.5);
  border-radius: 10px;
}
.contact-item-icon svg { width: 26px; height: 26px; }
.contact-item h3 { font-size: 15px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.contact-item p { font-size: 16px; font-weight: 600; color: var(--black); }
.contact-item a { color: var(--gold-dark); }
.contact-form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; color: var(--black); margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 92, 0.15);
}
.form-tip { margin-top: 12px; font-size: 14px; color: var(--gold-dark); text-align: center; min-height: 20px; }
.form-tip.error { color: #d9534f; }

/* ---------- 页脚 ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, 0.7); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 60px 24px 48px;
}
.footer-brand p { font-size: 14px; margin-top: 18px; line-height: 1.8; max-width: 300px; }
.logo-footer { margin-bottom: 8px; }
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
.footer-bottom p { margin: 0; }
.footer-beian { margin-top: 8px !important; }
.footer-beian a { color: rgba(255, 255, 255, 0.5); transition: color 0.25s; }
.footer-beian a:hover { color: var(--gold); }

/* ---------- 浮动按钮 ---------- */
.float-cta {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 90;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1a1a;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(200, 164, 92, 0.5);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(200, 164, 92, 0.5); }
  50% { box-shadow: 0 8px 30px rgba(200, 164, 92, 0.75); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar-welcome { display: none; }
  .topbar-inner { justify-content: center; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(5, 5, 5, 0.98);
    padding: 12px 24px 24px;
    gap: 4px;
    transform: translateY(-140%);
    transition: transform 0.3s;
    border-bottom: 1px solid rgba(200, 164, 92, 0.25);
  }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-link::after { display: none; }
  .nav-cta { margin: 12px 0 0; justify-content: center; }

  .hero { padding: 64px 0 60px; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .br-desktop { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .hero-stat-num { font-size: 32px; }

  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .category-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .qual-grid { grid-template-columns: 1fr; }
  .home-news-grid { grid-template-columns: 1fr; }

  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-intro { padding: 28px; }
  .about-intro-facts { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .float-cta { width: 52px; height: 52px; font-size: 12px; right: 14px; bottom: 60px; }
}
