/* ============================================================
   文文家具城官网 · 全站样式
   红金庆典风 · 响应式
   ============================================================ */

:root {
  --red-900: #5c0a12;
  --red-800: #8b0000;
  --red-700: #b8001f;
  --red-600: #c8102e;
  --gold-500: #ffd700;
  --gold-400: #ffe55c;
  --gold-600: #d4af37;
  --gold-700: #b8860b;
  --cream-50: #fdf8ef;
  --cream-100: #f7efdd;
  --ink-900: #2b1a12;
  --ink-600: #6b5547;
  --ink-400: #9c8a7a;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(92,10,18,.08);
  --shadow-md: 0 8px 24px rgba(92,10,18,.14);
  --shadow-gold: 0 6px 20px rgba(212,175,55,.35);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Microsoft YaHei", serif;
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, var(--red-900) 0%, var(--red-700) 60%, var(--red-600) 100%);
  box-shadow: 0 4px 18px rgba(92,10,18,.35);
  border-bottom: 3px solid var(--gold-500);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-logo {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
  color: var(--red-800);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.brand-name {
  font-size: 22px; font-weight: 900;
  color: var(--gold-500);
  letter-spacing: 2px;
  line-height: 1.2;
  text-shadow: 1px 1px 0 rgba(0,0,0,.3);
}
.brand-name small {
  display: block;
  font-size: 11px;
  color: var(--cream-100);
  letter-spacing: 4px;
  font-weight: 400;
}

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-links a {
  color: var(--cream-100);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(255,215,0,.15); color: var(--gold-400); }
.nav-links a.active { background: var(--gold-500); color: var(--red-800); font-weight: 700; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600)) !important;
  color: var(--red-800) !important;
  font-weight: 800;
  margin-left: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
.nav-cta:hover { color: var(--red-900) !important; background: var(--gold-400) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--gold-400);
  font-size: 22px;
  width: 44px; height: 40px;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255,200,50,.22) 0%, transparent 55%),
    linear-gradient(135deg, var(--red-900) 0%, var(--red-700) 45%, var(--red-600) 100%);
  color: var(--cream-50);
  text-align: center;
  padding: 90px 20px 80px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 34px, rgba(255,215,0,.04) 34px, rgba(255,215,0,.04) 68px),
    repeating-linear-gradient(-45deg, transparent, transparent 34px, rgba(255,215,0,.04) 34px, rgba(255,215,0,.04) 68px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--red-800);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 3px;
  padding: 8px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow-gold);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  color: var(--gold-500);
  letter-spacing: 4px;
  text-shadow: 0 3px 0 rgba(0,0,0,.3), 0 0 40px rgba(255,215,0,.35);
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-sub {
  font-size: clamp(16px, 2.4vw, 22px);
  color: var(--cream-100);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-desc {
  max-width: 720px;
  margin: 18px auto 34px;
  color: rgba(255,244,224,.92);
  font-size: 16px;
}

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

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  transition: transform .15s, box-shadow .2s;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--red-800);
  box-shadow: var(--shadow-gold);
}
.btn-ghost {
  background: transparent;
  color: var(--gold-400);
  border: 2px solid var(--gold-500);
}
.btn-ghost:hover { background: rgba(255,215,0,.1); }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--cream-100); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block;
  color: var(--gold-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--red-800);
  letter-spacing: 2px;
}
.section-head p { color: var(--ink-600); margin-top: 10px; }

/* ---------- 三大招牌 / 分类卡 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.trait-card, .cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold-500);
  transition: transform .2s, box-shadow .2s;
}
.trait-card:hover, .cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.trait-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-700), var(--red-600));
  color: var(--gold-400);
  font-size: 28px;
  display: flex; align-items: center; justify-content: center;
}
.trait-card h3 { font-size: 20px; color: var(--red-800); margin-bottom: 8px; }
.trait-card p { color: var(--ink-600); font-size: 14px; }

.cat-card { text-align: left; border-top: none; border-left: 4px solid var(--gold-500); position: relative; overflow: hidden; }
.cat-card .cat-emoji { font-size: 44px; margin-bottom: 12px; }
.cat-card h3 { font-size: 20px; color: var(--red-800); margin-bottom: 6px; }
.cat-card p { color: var(--ink-600); font-size: 14px; margin-bottom: 10px; }
.cat-card .cat-price { color: var(--gold-700); font-weight: 800; font-size: 16px; }

/* ---------- 活动 Banner ---------- */
.event-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-800), var(--red-700));
  border: 3px solid var(--gold-500);
  box-shadow: var(--shadow-md);
  padding: 48px 40px;
  text-align: center;
  color: var(--cream-50);
}
.event-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,215,0,.05) 30px, rgba(255,215,0,.05) 60px);
  pointer-events: none;
}
.event-banner .inner { position: relative; z-index: 2; }

.event-title {
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 900;
  color: var(--gold-500);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.event-sub { color: var(--cream-100); font-size: 16px; margin-bottom: 26px; }

.welfare-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  max-width: 860px;
  margin: 0 auto 30px;
}
.welfare-item {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,215,0,.4);
  border-radius: 12px;
  padding: 14px 10px;
  font-size: 15px;
}
.welfare-item strong { color: var(--gold-400); font-size: 19px; display: block; }

.event-meta { font-size: 14px; color: rgba(255,244,224,.85); margin-top: 6px; }
.event-meta b { color: var(--gold-400); }

/* ---------- 门店信息 ---------- */
.store-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.store-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold-500);
  padding: 30px;
  margin-bottom: 20px;
}
.store-card h3 { color: var(--red-800); font-size: 19px; margin-bottom: 14px; }
.store-card li { display: flex; gap: 10px; padding: 7px 0; color: var(--ink-600); font-size: 15px; }
.store-card li span:first-child { color: var(--gold-700); font-weight: 700; min-width: 74px; }

/* 预约表单 */
.reserve-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold-500);
  padding: 32px;
}
.reserve-form h3 { color: var(--red-800); font-size: 20px; margin-bottom: 6px; }
.reserve-form .form-tip { color: var(--ink-600); font-size: 13px; margin-bottom: 20px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd0bc;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--cream-50);
  transition: border-color .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold-600);
  box-shadow: 0 0 0 3px rgba(212,175,55,.18);
}
.form-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--red-700), var(--red-600));
  color: var(--gold-400);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(184,0,31,.35); }
.form-msg { margin-top: 12px; text-align: center; font-size: 14px; display: none; }
.form-msg.ok { color: #1d7a3f; display: block; }

/* ---------- 文章 ---------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--red-800), var(--red-600));
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  color: var(--gold-400);
}
.article-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.article-tag {
  align-self: flex-start;
  font-size: 12px;
  color: var(--gold-700);
  background: var(--cream-100);
  border: 1px solid var(--gold-600);
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.article-body h3 { font-size: 19px; color: var(--ink-900); line-height: 1.45; margin-bottom: 8px; }
.article-body h3 a:hover { color: var(--red-600); }
.article-body p { color: var(--ink-600); font-size: 14px; flex: 1; }
.article-date { color: var(--ink-400); font-size: 12px; margin-top: 14px; }

/* ---------- 文章详情页 ---------- */
.article-page { max-width: 820px; margin: 0 auto; }
.article-head { text-align: center; padding: 60px 20px 36px; }
.article-head .tag {
  display: inline-block;
  color: var(--gold-700);
  border: 1px solid var(--gold-600);
  background: var(--cream-100);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 13px;
  margin-bottom: 16px;
}
.article-head h1 {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--red-800);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 14px;
}
.article-head .meta { color: var(--ink-400); font-size: 13px; }

.article-content {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee0c8;
  padding: 44px 48px;
  margin-bottom: 60px;
}
.article-content h2 {
  font-size: 23px;
  color: var(--red-800);
  margin: 34px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--gold-500);
}
.article-content h3 { font-size: 19px; color: var(--ink-900); margin: 24px 0 10px; }
.article-content p { margin-bottom: 16px; color: var(--ink-600); }
.article-content ul, .article-content ol { margin: 0 0 16px 22px; color: var(--ink-600); }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 4px solid var(--gold-600);
  background: var(--cream-100);
  padding: 14px 18px;
  margin: 18px 0;
  border-radius: 0 10px 10px 0;
  color: var(--ink-900);
}
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.article-content th, .article-content td { border: 1px solid #e6d9c2; padding: 10px 12px; text-align: left; }
.article-content th { background: var(--cream-100); color: var(--red-800); }
.article-content .article-callout {
  background: linear-gradient(135deg, var(--red-800), var(--red-700));
  color: var(--cream-50);
  padding: 18px 20px;
  border-radius: 12px;
  margin: 22px 0;
}
.article-content .article-callout b { color: var(--gold-400); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid #eee0c8;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold-700); font-size: 22px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding: 0 22px 18px; color: var(--ink-600); font-size: 15px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: linear-gradient(135deg, var(--red-900), var(--red-800));
  color: rgba(255,244,224,.8);
  padding: 56px 0 30px;
  border-top: 3px solid var(--gold-500);
  margin-top: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-grid h4 { color: var(--gold-500); font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-grid p, .footer-grid li { font-size: 14px; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-brand { font-size: 24px; font-weight: 900; color: var(--gold-500); margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,244,224,.5);
}

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 22px 0 0; font-size: 13px; color: var(--ink-400); }
.breadcrumb a { color: var(--red-600); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 品牌主张横幅 ---------- */
.slogan-bar {
  background: linear-gradient(135deg, var(--red-900), var(--red-700));
  border-top: 3px solid var(--gold-500);
  border-bottom: 3px solid var(--gold-500);
  padding: 26px 20px;
  text-align: center;
}
.slogan-bar .slogan-main {
  color: var(--gold-500);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.slogan-bar .slogan-sub {
  color: rgba(255,244,224,.9);
  font-size: 15px;
  letter-spacing: 1px;
}
.slogan-bar .slogan-sub b { color: var(--gold-400); }

/* ---------- 八大保障 ---------- */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.guarantee-card {
  background: var(--white);
  border: 1px solid #eee0c8;
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
  border-top: 4px solid var(--red-600);
}
.guarantee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.guarantee-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 34px;
  font-weight: 900;
  color: rgba(212,175,55,.25);
  line-height: 1;
}
.guarantee-card h3 {
  font-size: 18px;
  color: var(--red-800);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.guarantee-card h3 .g-icon { font-size: 22px; }
.guarantee-card p { color: var(--ink-600); font-size: 13.5px; }
.guarantee-card p b { color: var(--red-600); }

/* ---------- 服务理念 ---------- */
.philosophy-band {
  background: var(--cream-100);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  border: 1px dashed var(--gold-600);
}
.philosophy-band .ph-main {
  font-size: 26px;
  font-weight: 900;
  color: var(--red-800);
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.philosophy-band .ph-sub { color: var(--ink-600); font-size: 15px; }
.philosophy-band .ph-sub b { color: var(--gold-700); }

@media (max-width: 600px) {
  .slogan-bar .slogan-main { font-size: 18px; }
  .philosophy-band .ph-main { font-size: 20px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--red-900);
    border-top: 1px solid rgba(255,215,0,.3);
    border-bottom: 3px solid var(--gold-500);
    padding: 12px 20px 18px;
    display: none;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; padding: 12px; }
  .nav-cta { margin-left: 0; margin-top: 6px; }
  .nav-toggle { display: block; }
  .store-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-content { padding: 28px 22px; }
  .event-banner { padding: 36px 22px; }
}
