/* ========================================
   深圳抵押网 - 全站共享样式系统
   主色：深蓝 #143a5c | 金色 #c8a44e
   ======================================== */

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-deep: #0d2540;
  --blue-main: #143a5c;
  --blue-light: #1d4a70;
  --blue-pale: #e8eef4;
  --gold: #c8a44e;
  --gold-light: #faf6ec;
  --gold-dark: #b08e3a;
  --ink: #1a2332;
  --muted: #5a6b7d;
  --bg: #f4f6fa;
  --bg-gray: #f4f6fa;
  --white: #ffffff;
  --rule: #dde4ec;
  --green: #2d8659;
  --red: #c0392b;
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(13,37,64,0.08);
  --shadow-lg: 0 8px 32px rgba(13,37,64,0.12);
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'PingFang SC', 'Noto Sans CJK SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-main); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

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

ul, ol { list-style: none; }

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

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blue-deep);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-top {
  background: rgba(0,0,0,0.2);
  padding: 6px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top span { display: inline-flex; align-items: center; gap: 6px; }

.header-main {
  padding: 14px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), #e8c97a);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue-deep);
  font-weight: 700;
}

.logo-text {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-text span { color: var(--gold); }

.logo-img {
  max-height: 44px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Main Nav */
.main-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  flex-shrink: 0;
}

.main-nav > li {
  flex-shrink: 0;
}

.main-nav > li > a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
  color: #fff;
  background: rgba(200,164,78,0.2);
}

.main-nav > li > a.active {
  color: var(--gold);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e8c97a);
  color: var(--blue-deep);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e8c97a, var(--gold));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,164,78,0.4);
  color: var(--blue-deep);
}

.btn-blue {
  background: var(--blue-main);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue-light);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--blue-main);
  border: 2px solid var(--blue-main);
}

.btn-outline:hover {
  background: var(--blue-main);
  color: #fff;
}

.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-sm { padding: 6px 16px; font-size: 13px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* ===== Hero / Banner ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-main) 50%, var(--blue-light) 100%);
  color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,164,78,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #e8c97a, var(--gold));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(200,164,78,0.15);
  border: 1px solid rgba(200,164,78,0.4);
  border-radius: 20px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero h1 .highlight { color: var(--gold); }

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 30px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat .label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* Inner page hero (smaller) */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-main) 100%);
  color: #fff;
  padding: 40px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #e8c97a, var(--gold));
}

.page-hero h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb span { margin: 0 6px; }

/* ===== Sections ===== */
.section {
  padding: 50px 0;
}

.section-gray { background: var(--bg); }
.section-white { background: var(--white); }

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.section-title .subtitle {
  font-size: 15px;
  color: var(--muted);
}

.section-title .divider {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.card-body { padding: 24px; }

/* Business card (property / auto) */
.biz-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.biz-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.biz-card-header {
  padding: 30px 24px 20px;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-light));
  color: #fff;
  text-align: center;
}

.biz-card.auto .biz-card-header {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--blue-deep);
}

.biz-card-header .icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.biz-card-header h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.biz-card-header p {
  font-size: 13px;
  opacity: 0.85;
}

.biz-card-body { padding: 24px; flex: 1; }

.biz-card-body .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px dashed var(--rule);
}

.biz-card-body .feature-item:last-child { border-bottom: none; }

.biz-card-body .feature-item .check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.biz-card-footer {
  padding: 16px 24px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.biz-card-footer .btn { flex: 1; width: 100%; }

/* ===== Advantages ===== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.advantage-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.advantage-item:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.advantage-item .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--blue-main);
}

.advantage-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 8px;
}

.advantage-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== Rate Display ===== */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rate-table th {
  background: var(--blue-main);
  color: #fff;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.rate-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}

.rate-table tr:last-child td { border-bottom: none; }
.rate-table tr:hover td { background: var(--gold-light); }

.rate-table .rate-num {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 16px;
}

/* ===== Process Steps ===== */
.process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  position: relative;
  padding: 0 10px;
}

.process-step .step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
  color: var(--blue-main);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-circle {
  background: var(--blue-main);
  color: #fff;
  border-color: var(--gold);
}

.process-step .step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 6px;
}

.process-step p {
  font-size: 13px;
  color: var(--muted);
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--rule);
  z-index: 0;
}

/* ===== FAQ Accordion ===== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover { background: var(--blue-pale); }

.faq-question .arrow {
  transition: var(--transition);
  color: var(--gold);
  font-size: 18px;
}

.faq-item.open .faq-question .arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ===== Case Cards ===== */
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.case-card .case-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.case-tag.property { background: var(--blue-pale); color: var(--blue-main); }
.case-tag.auto { background: var(--gold-light); color: var(--gold-dark); }

.case-card .case-body { padding: 24px; }

.case-card .case-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 10px 0;
}

.case-card .case-meta {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.case-card .case-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Filter Bar (案例 / 资讯 筛选) ===== */
/* 案例页 .filter-bar 与 资讯页 .news-filter 通用筛选按钮 */
.filter-btn {
  cursor: pointer;
  font-family: inherit;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--blue-main);
  border-radius: var(--radius-sm);
  font-size: 14px;
  padding: 10px 26px;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--blue-main);
  color: var(--blue-main);
}

.filter-btn.active {
  background: var(--blue-main);
  color: #fff;
  border-color: var(--blue-main);
  font-weight: 600;
}

/* 资讯页筛选按钮：未选中为浅蓝底无边框 */
.news-filter .filter-btn {
  padding: 8px 20px;
  border: none;
  background: var(--blue-pale);
  color: var(--blue-main);
}

.news-filter .filter-btn:hover {
  background: #d6e2ee;
  color: var(--blue-main);
}

.news-filter .filter-btn.active {
  background: var(--blue-main);
  color: #fff;
  font-weight: 600;
}

/* ===== News Cards ===== */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.news-card .news-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,0.3);
}

.news-card .news-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card .news-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  align-self: flex-start;
}

.news-tag.policy { background: #e3f2fd; color: #1565c0; }
.news-tag.guide { background: #e8f5e9; color: #2e7d32; }
.news-tag.warning { background: #fff3e0; color: #e65100; }
.news-tag.science { background: #f3e5f5; color: #7b1fa2; }

.news-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.news-card .news-date {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

/* ===== News Detail (Rich Text) ===== */
.news-detail h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 20px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-pale);
}
.news-detail h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 16px 0 10px;
}
.news-detail p {
  margin: 0 0 12px;
  color: var(--ink);
}
.news-detail ul, .news-detail ol {
  margin: 0 0 12px;
  padding-left: 24px;
}
.news-detail ul li, .news-detail ol li {
  margin-bottom: 6px;
}
.news-detail blockquote {
  margin: 12px 0;
  padding: 12px 20px;
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  color: var(--muted);
  font-style: italic;
  border-radius: 0 8px 8px 0;
}
.news-detail a {
  color: var(--blue-main);
  text-decoration: underline;
}
.news-detail img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 8px 0;
}
.news-detail strong { font-weight: 700; }
.news-detail em { font-style: italic; }
.news-detail u { text-decoration: underline; }

/* ===== Forms ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 6px;
}

.form-group label .required { color: var(--red); }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-main);
  box-shadow: 0 0 0 3px rgba(20,58,92,0.1);
}

select.form-control { cursor: pointer; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.footer-contact .phone-big {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin: 8px 0;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}

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

/* ===== Floating Widgets ===== */
.float-widgets {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-main);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: none;
  font-size: 11px;
  gap: 2px;
}

.float-btn:hover {
  background: var(--gold);
  color: var(--blue-deep);
  transform: scale(1.1);
}

.float-btn .icon { font-size: 20px; }

.float-btn.top { background: var(--muted); }

/* 微信浮动按钮 */
.float-btn.wechat {
  background: #07c160;
  position: relative;
}

.float-btn.wechat:hover {
  background: #06ad56;
  color: #fff;
}

/* 微信二维码弹窗 */
.wechat-float-popup {
  position: fixed;
  right: 90px;
  bottom: 100px;
  width: 200px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.wechat-float-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.wechat-float-popup::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--white);
}

.wechat-float-popup-header {
  background: linear-gradient(135deg, #07c160, #06ad56);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.wechat-float-popup-body {
  padding: 16px;
  text-align: center;
}

.wechat-float-popup-body img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  object-fit: cover;
}

.wechat-float-popup-body .qr-placeholder {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 8px;
  border: 2px dashed var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--muted);
  background: var(--bg);
}

.wechat-float-popup-body p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}

.wechat-float-popup-body .wechat-name {
  font-size: 14px;
  color: var(--blue-deep);
  font-weight: 600;
  margin-top: 8px;
}

/* Floating consultation form */
.float-consult {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
}

.float-consult-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e8c97a);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(200,164,78,0.4);
  border: none;
  font-size: 24px;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.float-consult-btn:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% { box-shadow: 0 4px 20px rgba(200,164,78,0.4); }
  50% { box-shadow: 0 4px 30px rgba(200,164,78,0.7); }
  100% { box-shadow: 0 4px 20px rgba(200,164,78,0.4); }
}

/* Consult popup */
.consult-popup {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 320px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
}

.consult-popup.show { display: block; }

.consult-popup-header {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-light));
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.consult-popup-header h4 { font-size: 16px; }

.consult-popup-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.consult-popup-body { padding: 20px; }

/* ===== Phone Popup ===== */
.phone-popup {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 320px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
  overflow: hidden;
}
.phone-popup.show { display: block; }

.phone-popup-header {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-light));
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-popup-header h4 { font-size: 16px; color: #fff; margin: 0; }

.phone-popup-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.phone-popup-close:hover { opacity: 1; }

.phone-popup-body {
  padding: 28px 20px;
  text-align: center;
}
.phone-popup-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.phone-popup-number {
  font-size: 30px;
  font-weight: 700;
  color: var(--blue-main);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.phone-popup-tip {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.phone-popup-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .phone-popup { right: 10px; left: 10px; width: auto; }
}

/* ===== Stats Bar ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--rule);
}

.stat-item:last-child { border-right: none; }

.stat-item .num {
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-dark);
}

.stat-item .num span { font-size: 16px; }

.stat-item .label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ===== Content Layout ===== */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}

.content-main { min-width: 0; }
.content-sidebar { flex-shrink: 0; }

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.sidebar-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

/* ===== Info List ===== */
.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-list li:last-child { border-bottom: none; }

.info-list li .label { color: var(--muted); }
.info-list li .value { font-weight: 600; color: var(--blue-deep); }

/* ===== Tag Cloud ===== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-pale);
  color: var(--blue-main);
  border-radius: 3px;
  font-size: 13px;
  transition: var(--transition);
}

.tag-cloud a:hover {
  background: var(--gold);
  color: var(--blue-deep);
}

/* ===== Qualification Cards ===== */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.qual-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.qual-card:hover { box-shadow: var(--shadow-lg); }

.qual-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.qual-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.qual-card p {
  font-size: 13px;
  color: var(--muted);
}

/* ===== Alert / Notice ===== */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.alert-info {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue-main);
  color: var(--blue-deep);
}

.alert-success {
  background: #e8f5e9;
  border-left: 4px solid var(--green);
  color: var(--green);
}

/* ===== Detail Content (for articles) ===== */
.detail-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.detail-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 24px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
}

.detail-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-main);
  margin: 20px 0 10px;
}

.detail-content p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.9;
  margin-bottom: 12px;
}

.detail-content ul { padding-left: 20px; margin-bottom: 12px; }
.detail-content ul li { list-style: disc; margin-bottom: 6px; font-size: 14px; }

.detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.detail-content table th {
  background: var(--blue-main);
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  text-align: left;
}

.detail-content table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}

.pagination a {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--blue-main);
  transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
  background: var(--blue-main);
  color: #fff;
  border-color: var(--blue-main);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .menu-toggle { display: block; }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-deep);
    flex-direction: column;
    padding: 10px 0;
  }
  
  .main-nav.show { display: flex; }
  
  .main-nav > li > a {
    padding: 12px 24px;
    border-radius: 0;
  }
  
  .header-cta { display: none; }
  
  .hero h1 { font-size: 26px; }
  .hero-subtitle { font-size: 15px; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 24px; }
  
  .content-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { padding: 10px 0; border-right: none; border-bottom: 1px solid var(--rule); }
  
  .process-flow { flex-direction: column; gap: 20px; align-items: center; }
  .process-step:not(:last-child)::after { display: none; }
  
  .form-row { grid-template-columns: 1fr; }
  
  .section-title h2 { font-size: 22px; }
  
  .float-widgets { right: 10px; bottom: 80px; }
  .float-consult { right: 10px; bottom: 10px; }
  .consult-popup { right: 10px; left: 10px; width: auto; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 50px; }
  .hero h1 { font-size: 22px; }
  .section { padding: 35px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .detail-content { padding: 20px; }
}

/* ===== Legal Document Pages (免责声明/隐私政策/服务条款) ===== */
.legal-meta {
  background: var(--white); border-radius: var(--radius); padding: 18px 24px;
  box-shadow: var(--shadow); margin-bottom: 24px; border-left: 4px solid var(--gold);
  display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--muted);
}
.legal-meta strong { color: var(--blue-deep); margin-right: 6px; }
.legal-toc {
  background: #f8fafd; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 20px 28px; margin-bottom: 28px;
}
.legal-toc h4 { font-size: 16px; color: var(--blue-deep); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.legal-toc li { font-size: 14px; line-height: 2; }
.legal-toc a { color: var(--blue-main); text-decoration: none; }
.legal-toc a:hover { color: var(--gold-dark); text-decoration: underline; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }
.legal-doc h2 {
  font-size: 20px; color: var(--blue-deep); margin: 32px 0 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--rule); position: relative;
}
.legal-doc h2::before {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px;
  background: var(--gold);
}
.legal-doc h3 { font-size: 16px; color: var(--blue-deep); margin: 20px 0 10px; }
.legal-doc p { font-size: 15px; line-height: 1.9; color: #444; margin-bottom: 12px; }
.legal-doc ul, .legal-doc ol { margin: 0 0 14px; padding-left: 24px; }
.legal-doc li { font-size: 15px; line-height: 1.9; color: #444; margin-bottom: 6px; }
.legal-doc .alert { margin: 18px 0; }
