/* 王媛律师｜跨境事务·财富安全 — GEO 知识库站点样式 */
:root {
  --brand-red: #8B1A1A;
  --brand-gold: #C4974A;
  --brand-gold-light: #F5EBD8;
  --bg: #FBF9F5;
  --surface: #FFFFFF;
  --text: #2B2620;
  --text-muted: #6E655A;
  --line: #E8E0D4;
  --accent-green: #3E6B4F;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.75; font-size: 16px;
}
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: linear-gradient(135deg, #6E1414 0%, #8B1A1A 55%, #A03A2A 100%);
  color: #fff; padding: 42px 0 96px;
}
.site-header .container { position: relative; }
.brand-kicker {
  display: inline-block; letter-spacing: .18em; font-size: 12px; color: #E8CFA0;
  border: 1px solid rgba(232,207,160,.5); border-radius: 999px; padding: 4px 14px; margin-bottom: 18px;
}
.site-header h1 { font-size: 30px; font-weight: 700; letter-spacing: .02em; }
.site-header .slogan { margin-top: 10px; color: #F3E3C4; font-size: 16px; }
.site-header .en-sub { margin-top: 6px; color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .06em; }
.header-cta { margin-top: 22px; font-size: 13.5px; color: #F3E3C4; }
.header-cta b { color: #fff; }

/* Card grid on home */
.cards { margin-top: -64px; padding-bottom: 40px; }
.week-block { margin-bottom: 30px; }
.week-title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.week-badge {
  background: var(--brand-red); color: #fff; font-size: 12.5px; border-radius: 8px;
  padding: 3px 12px; letter-spacing: .08em; white-space: nowrap;
}
.week-title h2 { font-size: 19px; }
.part-banner {
  background: linear-gradient(135deg, #6E1414, #8B1A1A);
  border-radius: var(--radius); padding: 22px 24px; margin-bottom: 30px;
}
.part-banner .week-title { margin-bottom: 8px; }
.part-banner h2 { color: #fff; font-size: 20px; }
.part-badge { background: var(--brand-gold); color: #4A3F33; }
.part-badge.week-badge { background: var(--brand-gold); color: #4A3F33; }
.part-desc { color: rgba(255,255,255,.85); font-size: 13.5px; line-height: 1.7; }
.week-block.dim .card { opacity: .82; border-style: dashed; }
.week-block.dim .card:hover { opacity: 1; }
.week-badge-ghost { background: #B8AD9B; color: #fff; }
.card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; margin-bottom: 12px;
  text-decoration: none; color: var(--text);
  box-shadow: 0 1px 3px rgba(60,40,20,.05); transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 6px 18px rgba(60,40,20,.10); transform: translateY(-1px); }
.card .q { font-size: 16.5px; font-weight: 650; }
.card .meta { margin-top: 6px; font-size: 12.5px; color: var(--text-muted); }
.card .meta .tag { color: var(--brand-red); font-weight: 600; margin-right: 8px; }

/* Article page */
.article-header { padding: 38px 0 8px; }
.crumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.crumbs a { color: var(--brand-red); text-decoration: none; }
.article-header h1 { font-size: 26px; line-height: 1.5; font-weight: 700; }
.article-header .en-title { color: var(--text-muted); font-size: 15px; margin-top: 8px; font-style: italic; }
.lang-tabs { display: flex; gap: 8px; margin: 22px 0 6px; }
.lang-tabs button {
  border: 1px solid var(--line); background: var(--surface); color: var(--text-muted);
  padding: 6px 18px; border-radius: 999px; font-size: 13.5px; cursor: pointer;
}
.lang-tabs button.active { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }

.tldr {
  background: var(--brand-gold-light); border-left: 4px solid var(--brand-gold);
  border-radius: 8px; padding: 16px 20px; margin: 18px 0 26px; font-size: 15px;
}
.tldr b { color: var(--brand-red); }

.article-body h2 {
  font-size: 19.5px; margin: 34px 0 12px; padding-left: 12px;
  border-left: 4px solid var(--brand-red);
}
.article-body h3 { font-size: 16.5px; margin: 22px 0 8px; color: #4A3F33; }
.article-body p { margin: 10px 0; }
.article-body ul, .article-body ol { margin: 10px 0 10px 22px; }
.article-body li { margin: 5px 0; }

table.compare {
  width: 100%; border-collapse: collapse; margin: 16px 0; background: var(--surface);
  font-size: 14px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
}
table.compare th {
  background: #F4EDE1; color: #5A4632; text-align: left; padding: 10px 14px; font-size: 13.5px;
}
table.compare td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
table.compare td:first-child { font-weight: 600; white-space: nowrap; color: #4A3F33; }

.notice {
  background: #FDF6EC; border: 1px solid #EAD9B8; color: #7A5A20;
  border-radius: 8px; padding: 12px 16px; font-size: 13.5px; margin: 18px 0;
}
.case-box {
  background: #F8F5F0; border: 1px solid #E0D5C6; border-left: 4px solid var(--brand-gold);
  border-radius: 10px; padding: 20px 24px; margin: 24px 0;
}
.case-box h3 { color: var(--brand-red); font-size: 16.5px; margin: 0 0 12px; }
.case-box p { margin: 8px 0; font-size: 14.5px; }
.case-box b { color: #4A3F33; }
.case-quote {
  font-style: italic; color: var(--brand-red); font-size: 15px;
  border-top: 1px dashed #D5C9B8; padding-top: 12px; margin-top: 14px;
}
.disclaimer {
  margin: 36px 0 8px; padding: 14px 18px; background: #F6F3EE; border-radius: 8px;
  font-size: 12.5px; color: var(--text-muted); line-height: 1.7;
}
.cta-box {
  margin: 18px 0 40px; padding: 20px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, #6E1414, #8B1A1A); color: #fff;
}
.cta-box b { color: #F3E3C4; }
.cta-box .cta-slogan { font-size: 18px; font-weight: 700; margin-bottom: 6px; }

.footer {
  border-top: 1px solid var(--line); padding: 28px 0 40px; margin-top: 20px;
  color: var(--text-muted); font-size: 13px; text-align: center;
}
.footer .fl { color: var(--brand-red); font-weight: 600; }
.hidden { display: none; }

/* ===== Homepage v3: Professional Personal Site ===== */

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.nav-brand {
  font-size: 17px; font-weight: 700; color: var(--brand-red); text-decoration: none;
  letter-spacing: .02em;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color .15s;
}
.nav-links a:hover { color: var(--brand-red); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #6E1414 0%, #8B1A1A 55%, #A03A2A 100%);
  color: #fff; padding: 60px 0 70px; text-align: center;
}
.hero-kicker {
  display: inline-block; letter-spacing: .16em; font-size: 12px; color: #E8CFA0;
  border: 1px solid rgba(232,207,160,.5); border-radius: 999px; padding: 4px 16px; margin-bottom: 20px;
}
.hero h1 { font-size: 38px; font-weight: 800; letter-spacing: .04em; }
.hero-positioning {
  margin-top: 8px; font-size: 20px; color: #F3E3C4; font-weight: 600; letter-spacing: .08em;
}
.hero-slogan { margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.9); }
.hero-desc {
  margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.75); max-width: 580px;
  margin-left: auto; margin-right: auto; line-height: 1.8;
}
.hero-cta { margin-top: 28px; display: flex; gap: 14px; justify-content: center; }
.btn {
  display: inline-block; padding: 10px 28px; border-radius: 999px; font-size: 14px;
  text-decoration: none; font-weight: 600; transition: all .15s;
}
.btn-primary { background: var(--brand-gold); color: #4A3F33; }
.btn-primary:hover { background: #D4A85A; transform: translateY(-1px); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.hero-credentials {
  margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.hero-credentials span {
  font-size: 12px; color: #E8CFA0; background: rgba(232,207,160,.12);
  border: 1px solid rgba(232,207,160,.25); border-radius: 8px; padding: 4px 12px;
}

/* Generic Section */
.section { padding: 48px 0; }
.section-title {
  font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 20px;
  padding-left: 14px; border-left: 4px solid var(--brand-red);
}
.section-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

/* About */
.about-content { font-size: 15.5px; line-height: 1.9; }
.about-content p { margin: 12px 0; }
.about-content b { color: var(--brand-red); }
.about-credentials {
  margin: 24px 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px 24px;
}
.cred-row {
  display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.cred-row:last-child { border-bottom: none; }
.cred-label {
  font-weight: 700; color: var(--brand-gold); min-width: 48px; text-align: right; white-space: nowrap;
}
.cred-val { color: var(--text); }

/* Services */
.services-section { background: #F6F2EC; }
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px;
}
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 26px; box-shadow: 0 1px 4px rgba(60,40,20,.05);
}
.service-icon { font-size: 28px; margin-bottom: 12px; }
.service-card h3 { font-size: 18px; color: var(--brand-red); margin-bottom: 14px; }
.service-card ul { list-style: none; margin: 0; padding: 0; }
.service-card li {
  font-size: 14px; color: var(--text); padding: 6px 0; padding-left: 18px; position: relative;
  border-bottom: 1px solid #F0EBE2;
}
.service-card li:last-child { border-bottom: none; }
.service-card li::before {
  content: "·"; position: absolute; left: 6px; color: var(--brand-gold); font-weight: 700;
}
.services-note {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.8; padding: 16px 20px;
  background: rgba(196,151,74,.06); border-radius: 10px;
}
.services-note b { color: var(--text); }

/* Knowledge Base */
.knowledge-section { background: var(--bg); }
.kb-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.kb-category {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px;
}
.kb-category h3 {
  font-size: 16px; color: var(--text); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.kb-count {
  font-size: 12px; color: var(--text-muted); font-weight: 400;
  background: #F0EBE2; border-radius: 6px; padding: 2px 8px;
}
.kb-category a {
  display: block; font-size: 14px; color: var(--text); text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid #F0EBE2; transition: color .15s;
}
.kb-category a:last-child { border-bottom: none; }
.kb-category a:hover { color: var(--brand-red); }
.kb-category a::before { content: "› "; color: var(--brand-gold); font-weight: 700; }

/* Contact */
.contact-box {
  background: linear-gradient(135deg, #6E1414, #8B1A1A); border-radius: 16px;
  padding: 40px 32px; text-align: center; color: #fff;
}
.contact-slogan { font-size: 24px; font-weight: 700; color: #F3E3C4; margin-bottom: 16px; }
.contact-info { font-size: 15px; color: rgba(255,255,255,.85); line-height: 2; }
.contact-info b { color: #fff; }

/* Link more */
.link-more {
  display: inline-block; margin-top: 16px; font-size: 14px; color: var(--brand-red);
  text-decoration: none; font-weight: 600; transition: opacity .15s;
}
.link-more:hover { opacity: .7; }

/* Responsive */
@media (max-width: 680px) {
  .services-grid, .kb-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero-positioning { font-size: 17px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .cred-row { flex-direction: column; gap: 4px; }
  .cred-label { text-align: left; }
}
