/* ===========================================================
   铭盛珠宝回收 v4 - 黑金奢华风 · mobile-first
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: #f7f3ea;
  color: #2a2418;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
img { display: block; max-width: 100%; }

:root {
  --gold: #c8a253;
  --gold-d: #a8862f;
  --gold-l: #e4c98c;
  --ink: #0c0904;
  --ink-2: #221a0e;
  --sub: #7a6a4e;
  --bg: #f7f3ea;
  --card: #ffffff;
  --line: #e7ddc8;
  --max: 1200px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; font-weight: 700; transition: transform .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, #e6cd93, var(--gold) 55%, var(--gold-d)); color: #241a05; box-shadow: 0 6px 18px rgba(200,162,83,.35); }
.btn-block { display: flex; width: 100%; padding: 15px; font-size: 16px; }
.btn-outline { background: transparent; border: 1.5px solid var(--gold-d); color: var(--gold-d); }
.mt12 { margin-top: 12px; }

/* ============ 顶部条 ============ */
.topbar { background: var(--ink); color: var(--gold-l); font-size: 13px; }
.topbar-flex { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.topbar-slogan { color: rgba(228,201,140,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-phones { display: flex; gap: 14px; flex-shrink: 0; }
.topbar-phones a { color: var(--gold-l); font-weight: 700; letter-spacing: .5px; }

/* ============ 导航 ============ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-flex { display: flex; align-items: center; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, #e6cd93, var(--gold-d));
  color: #fff; border-radius: 11px; font-size: 24px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(200,162,83,.4);
}
.brand-text { font-size: 22px; font-weight: 800; color: var(--ink-2); line-height: 1.1; white-space: nowrap; }
.brand-text small { display: block; font-size: 11px; letter-spacing: 2.5px; color: var(--gold-d); font-weight: 600; margin-top: 2px; }
.nav { display: none; }
.nav a { font-size: 15px; color: var(--text, #2a2418); font-weight: 600; padding: 4px 0; }
.nav a:hover { color: var(--gold-d); }
.header-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 10px 18px; font-size: 14px; }
.menu-toggle { display: flex; flex-direction: column; justify-content: space-between; width: 28px; height: 22px; padding: 3px 0; }
.menu-toggle span { height: 2.5px; background: var(--ink-2); border-radius: 3px; transition: .3s; }

.menu-open .nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 6px 0; box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.menu-open .nav a { padding: 13px 24px; border-bottom: 1px solid var(--line); font-size: 15px; }
.menu-open .nav a:last-child { border-bottom: 0; }

/* ============ HERO（左右两列 PC） ============ */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(ellipse 120% 90% at 50% -10%, rgba(200,162,83,.28), transparent 60%),
    linear-gradient(180deg, #17100a 0%, #0c0904 78%);
  padding: 50px 0 44px;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(228,201,140,.12) 0, transparent 34%),
    radial-gradient(circle at 8% 70%, rgba(228,201,140,.08) 0, transparent 30%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.hero-text { text-align: center; }
.hero-brand {
  font-size: 30px; font-weight: 900; letter-spacing: 4px; margin-bottom: 2px;
  background: linear-gradient(120deg, #f0dcae 0%, var(--gold) 55%, #b98a33 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 8px rgba(200,162,83,.25));
}
.hero-subbrand { font-size: 10px; letter-spacing: 3px; color: rgba(228,201,140,.55); margin-bottom: 14px; font-weight: 600; }
.kicker {
  display: inline-block; color: var(--gold-l); font-size: 12px; letter-spacing: 3px;
  margin-bottom: 14px; text-transform: uppercase; font-weight: 600;
  border: 1px solid rgba(200,162,83,.4); padding: 5px 14px; border-radius: 999px;
  background: rgba(200,162,83,.08);
}
.title { font-size: 28px; font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; line-height: 1.35; }
.hl {
  background: linear-gradient(120deg, #f0dcae 0%, var(--gold) 55%, #b98a33 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 14px; color: rgba(255,255,255,.72); margin-bottom: 24px; line-height: 1.85; }

/* 双号大按钮 */
.phone-ctas { display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; align-items: center; }
.phone-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 10px 10px; border-radius: 16px; width: 100%; max-width: 320px;
  transition: transform .15s ease;
}
.phone-btn:active { transform: scale(.98); }
.phone-tag { font-size: 12px; letter-spacing: 2px; opacity: .8; margin-bottom: 3px; font-weight: 600; }
.phone-num { font-size: 24px; font-weight: 800; letter-spacing: 1.5px; line-height: 1.25; }
.phone-btn-gold {
  background: linear-gradient(135deg, #ecd5a2, var(--gold) 55%, var(--gold-d));
  color: #241a05; box-shadow: 0 10px 26px rgba(200,162,83,.4);
}
.phone-btn-gold .phone-tag { color: #5a4108; }
.phone-btn-line { background: rgba(255,255,255,.06); border: 1.5px solid rgba(228,201,140,.45); color: #f2e2ba; }

/* trust */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.trust span { font-size: 12px; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 5px 12px; background: rgba(255,255,255,.05); }

/* hero 右侧图组 */
.hero-img { position: relative; display: none; }
.hero-img-main, .hero-img-sub {
  background-size: cover; background-position: center;
  border: 1px solid rgba(228,201,140,.3);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.hero-img-main { width: 100%; aspect-ratio: 4/5; border-radius: 22px; }
.hero-img-sub { position: absolute; width: 38%; aspect-ratio: 1/1; border-radius: 14px; box-shadow: 0 12px 28px rgba(0,0,0,.55); }
.hero-img-sub-1 { left: -20px; bottom: 18%; }
.hero-img-sub-2 { right: -20px; top: 18%; }

/* ============ 快捷卖点条 ============ */
.quickbar { background: linear-gradient(135deg, #f3e3bd, var(--gold-l)); border-bottom: 1px solid rgba(200,162,83,.5); }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.quick { text-align: center; padding: 14px 6px; color: #3c2e0e; border-right: 1px solid rgba(160,120,40,.25); border-bottom: 1px solid rgba(160,120,40,.25); }
.quick:nth-child(2n) { border-right: 0; }
.quick:nth-last-child(-n+2) { border-bottom: 0; }
.quick b { display: block; font-size: 16px; font-weight: 800; }
.quick span { font-size: 12px; opacity: .75; }

/* ============ 通用 section ============ */
.section { padding: 54px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head .kicker { color: var(--gold-d); border-color: rgba(168,134,47,.35); background: rgba(200,162,83,.08); }
.section-title { font-size: 26px; color: var(--ink-2); margin-bottom: 8px; }
.section-desc { color: var(--sub); font-size: 14.5px; }

/* ============ 品类卡（图片 + 暗色蒙层） ============ */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4/5; border-radius: 16px;
  background-color: #2a2010; background-size: cover; background-position: center;
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(228,201,140,.3);
  box-shadow: 0 4px 14px rgba(80,60,20,.18);
}
.cat:active { transform: scale(.97); }
.cat-mask { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(12,9,4,.55) 50%, rgba(12,9,4,.92) 100%); }
.cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 14px 16px; color: #fff; }
.cat-en { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 2.5px; color: var(--gold-l); border: 1px solid rgba(228,201,140,.5); padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; }
.cat-body h3 { font-size: 17px; margin-bottom: 4px; color: #fff; }
.cat-body p { font-size: 12px; color: rgba(255,255,255,.78); line-height: 1.5; }

/* ============ 流程 ============ */
.process { display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; align-items: flex-start; gap: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px 18px; }
.step-num { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; font-size: 17px; font-weight: 800; color: var(--gold-d); background: linear-gradient(160deg, #f7ecd6, #efe0bb); border: 1px solid rgba(200,162,83,.5); border-radius: 50%; }
.step-body h4 { font-size: 16.5px; color: var(--ink-2); margin-bottom: 4px; }
.step-body p { font-size: 13.5px; color: var(--sub); line-height: 1.6; }

/* ============ 案例卡 ============ */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.case { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(80,60,20,.06); }
.case-img { width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: #2a2010; }
.case-body { padding: 14px 16px 16px; }
.case-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold-d); background: rgba(200,162,83,.12); border: 1px solid rgba(200,162,83,.35); padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.case h4 { font-size: 16px; color: var(--ink-2); margin-bottom: 4px; }
.case-meta { font-size: 12px; color: var(--sub); margin-bottom: 6px; }
.case-desc { font-size: 12.5px; color: var(--sub); line-height: 1.55; margin-bottom: 8px; }
.case-price { font-size: 19px; font-weight: 800; color: var(--gold-d); letter-spacing: 1px; }

/* ============ 服务网点 ============ */
.net-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.net { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; }
.net-self { border: 2px solid var(--gold); box-shadow: 0 8px 24px rgba(200,162,83,.18); background: linear-gradient(180deg, #fff8e6, #fff); }
.net-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.net-head h3 { font-size: 20px; color: var(--ink-2); }
.net-tip { font-size: 12px; color: var(--sub); font-weight: 600; }
.net-tip.gold { color: var(--gold-d); font-weight: 800; }
.net-poi { font-size: 13px; color: var(--ink-2); margin: 4px 0; line-height: 1.5; }
.net-roads { display: flex; flex-wrap: wrap; gap: 5px 6px; margin: 10px 0 12px; }
.net-roads li { font-size: 12px; color: var(--sub); background: var(--bg); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }
.net-tel { font-size: 13px; color: var(--ink-2); padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.net-tel a { color: var(--gold-d); font-weight: 800; font-size: 16px; }
.network-note { text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--sub); }

/* ============ 服务承诺 ============ */
.promise-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.promise { display: flex; gap: 14px; align-items: flex-start; padding: 18px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.promise-ic { flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; border-radius: 50%; background: linear-gradient(160deg, #f7ecd6, #efe0bb); border: 1px solid rgba(200,162,83,.45); }
.promise h3 { font-size: 15.5px; color: var(--ink-2); margin-bottom: 4px; }
.promise p { font-size: 13px; color: var(--sub); line-height: 1.6; }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

/* 友情链接 */
.friends-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 720px; margin: 0 auto; }
.friend-link {
  display: block; padding: 14px 12px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink-2); font-size: 14px; font-weight: 600;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.friend-link:active { transform: scale(.97); }
.friend-link:hover { border-color: var(--gold-d); color: var(--gold-d); }
.faq-list details { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-list summary { padding: 15px 18px; font-size: 15px; font-weight: 700; color: var(--ink-2); position: relative; padding-right: 40px; }
.faq-list summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gold-d); font-size: 22px; font-weight: 600; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { padding: 0 18px 16px; font-size: 13.5px; color: var(--sub); line-height: 1.7; }

/* ============ 资讯 ============ */
.news-sec { background: linear-gradient(180deg, var(--bg), #fff); }
.news-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.news { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: border-color .15s ease, transform .15s ease; }
.news:active { transform: scale(.985); }
.news-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold-d); background: rgba(200,162,83,.12); padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.news h4 { font-size: 15px; color: var(--ink-2); margin-bottom: 6px; line-height: 1.45; }
.news-desc { font-size: 12.5px; color: var(--sub); line-height: 1.6; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-date { font-size: 12px; color: var(--sub); }

/* ============ 联系 ============ */
.contact { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: transform .15s ease; }
.contact-card:not(.static):active { transform: scale(.985); }
.contact-card.primary { background: linear-gradient(135deg, #f0dcae, var(--gold) 60%, var(--gold-d)); border-color: var(--gold-d); color: #2b2003; }
.contact-label { font-size: 12px; letter-spacing: 2.5px; opacity: .7; font-weight: 700; }
.contact-value { font-size: 28px; font-weight: 800; letter-spacing: 1px; line-height: 1.2; word-break: break-all; }
.contact-value.small { font-size: 15.5px; font-weight: 600; line-height: 1.6; }
.contact-cta { margin-top: 4px; font-size: 13px; font-weight: 600; opacity: .75; }
.contact-cta.muted { opacity: .55; font-weight: 400; }
.contact-cta-wrap { display: flex; flex-direction: column; }

/* ============ 资质 ============ */
.license { background: var(--card); border-radius: 16px; padding: 6px 20px; border: 1px solid var(--line); }
.lic-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lic-row:last-child { border-bottom: 0; }
.lic-row span { color: var(--sub); font-size: 13px; flex-shrink: 0; }
.lic-row b { color: var(--text, #2a2418); font-size: 13.5px; font-weight: 600; text-align: right; word-break: break-all; }

/* ============ 页脚 ============ */
.footer { background: #0d0905; color: rgba(255,255,255,.6); padding: 34px 0 110px; text-align: center; font-size: 13px; }
.footer-cta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.footer-cta a { display: inline-flex; justify-content: center; align-items: center; border: 1px solid rgba(200,162,83,.5); color: var(--gold-l); border-radius: 999px; padding: 10px 0; font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.footer-brand strong { display: block; color: var(--gold-l); font-size: 16px; margin-bottom: 6px; }
.footer-brand p { margin-bottom: 14px; }
.footer-info p { margin: 3px 0; }

/* ============ 悬浮拨号 ============ */
.floating-cta { position: fixed; bottom: 14px; left: 14px; right: 14px; z-index: 50; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ecd5a2, var(--gold) 55%, var(--gold-d)); color: #241a05; padding: 15px; border-radius: 999px; font-size: 16px; font-weight: 800; letter-spacing: 1px; box-shadow: 0 8px 26px rgba(180,140,60,.5); }

/* ===========================================================
   ≥640px
   =========================================================== */
@media (min-width: 640px) {
  .quick-grid { grid-template-columns: repeat(4, 1fr); }
  .quick { border-bottom: 0; }
  .quick:nth-child(2n) { border-right: 1px solid rgba(160,120,40,.25); }
  .quick:nth-child(4n) { border-right: 0; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .phone-ctas { flex-direction: row; justify-content: center; }
  .phone-btn { flex: 1; max-width: 320px; }
  .net-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .net-self { grid-column: span 2; }
}

/* ===========================================================
   ≥900px 桌面
   =========================================================== */
@media (min-width: 900px) {
  .container { padding: 0 32px; }
  .menu-toggle { display: none; }
  .nav { display: flex; gap: 26px; }
  .nav-cta { display: inline-flex; }
  .brand-text { font-size: 26px; }
  .brand-text small { font-size: 12px; }
  .brand-mark { width: 50px; height: 50px; font-size: 26px; }

  .hero { padding: 80px 0 70px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 50px; text-align: left; }
  .hero-text { text-align: left; }
  .hero-brand { font-size: 50px; letter-spacing: 6px; }
  .hero-subbrand { font-size: 12px; letter-spacing: 4px; margin-bottom: 18px; }
  .title { font-size: 42px; }
  .lead { font-size: 16px; }
  .hero-img { display: block; }
  .phone-ctas { justify-content: flex-start; }
  .trust { justify-content: flex-start; }

  .section { padding: 84px 0; }
  .section-head { margin-bottom: 50px; }
  .section-title { font-size: 36px; }
  .section-desc { font-size: 16px; }

  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cat { aspect-ratio: 4/5; }
  .cat:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(80,60,20,.22); }

  .case-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .net-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .net-self { grid-column: auto; }
  .net-full { grid-column: span 2; }

  .promise-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .news h4 { font-size: 16.5px; }

  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-cta-wrap { flex-direction: row; gap: 14px; }
  .contact-cta-wrap .btn { flex: 1; }
  .mt12 { margin-top: 0; }

  .lic-row span { font-size: 14px; }
  .lic-row b { font-size: 15px; }

  .floating-cta { display: none; }
  .footer { padding: 48px 0 34px; }
  .footer-cta { flex-direction: row; justify-content: center; gap: 16px; }
  .footer-cta a { padding: 12px 34px; font-size: 17px; }
  .footer-cta { margin-bottom: 26px; }
}
