/* ===== 潮州刑事律师网 — 官方专业风格 ===== */
:root {
  --color-primary: #8b1a1a;
  --color-primary-dark: #6b0f0f;
  --color-primary-light: #a52a2a;
  --color-gold: #c9a96e;
  --color-gold-light: #d4b87a;
  --color-gold-dark: #a88a4e;
  --color-bg: #f5f0e8;
  --color-bg-alt: #eae3d3;
  --color-surface: #ffffff;
  --color-surface-alt: #faf6ef;
  --color-text: #2c1810;
  --color-text-muted: #5a4030;
  --color-text-light: #8a7060;
  --color-border: #d4c4a8;
  --color-border-dark: #b8a080;
  --color-tag-bg: #f0e8d8;
  --color-tag-text: #6b5040;
  --color-accent-red: #c53030;
  --shadow-sm: 0 1px 3px 0 rgba(44,24,16,0.08);
  --shadow-md: 0 4px 8px -2px rgba(44,24,16,0.12);
  --shadow-lg: 0 12px 24px -4px rgba(44,24,16,0.15);
  --radius: 4px;
  --radius-lg: 6px;
  --max-width: 1200px;
  --transition: all 0.2s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
}

/* ===== 官方顶部横幅 ===== */
.official-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--color-gold);
}

.official-banner span {
  color: var(--color-gold-light);
  font-weight: 600;
}

/* ===== 主导航 ===== */
.site-header {
  background: var(--color-surface);
  border-bottom: 3px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

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

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.site-brand .brand-logo {
  width: 42px;
  height: 42px;
  object-fit: scale-down;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 1px 4px rgba(139,26,26,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text .brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.brand-text .brand-sub {
  font-size: 0.75rem;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
  position: relative;
  border-radius: var(--radius);
  transition: var(--transition);
}

.site-nav a:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
  text-decoration: none;
}

.site-nav a.active {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
  padding: 0.25rem;
}

/* ===== 布局容器 ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Hero 区域 — 官方权威风格 ===== */
.hero {
  background: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: white;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* 水平渐变遮罩: 左侧暗红(放文字), 右侧渐变到透明(露出图片) */
  background: linear-gradient(90deg,
    rgba(75, 8, 8, 0.92) 0%,
    rgba(95, 15, 15, 0.85) 25%,
    rgba(120, 20, 20, 0.65) 50%,
    rgba(139, 26, 26, 0.30) 75%,
    rgba(139, 26, 26, 0.08) 100%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-gold);
  z-index: 2;
}

/* 内页 Hero（统一深色遮罩，文字全宽居中可读） */
.page-hero {
  background: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: #fff;
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(45, 8, 8, 0.88) 0%,
    rgba(80, 15, 15, 0.82) 100%);
  z-index: 1;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-gold);
  z-index: 2;
}
.page-hero .container {
  position: relative;
  z-index: 3;
}
.page-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.page-hero p {
  opacity: 0.92;
  margin-top: 0.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.page-hero .breadcrumbs {
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.8);
}
.page-hero .breadcrumbs a {
  color: rgba(255,255,255,0.8);
}
.page-hero .breadcrumbs a:hover {
  color: var(--color-gold-light);
}
.page-hero .breadcrumbs .current {
  color: #fff;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffffff 0%, #f5d98a 50%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}

.hero-content .hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.5rem;
  max-width: 520px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  padding: 0;
  border-radius: 0;
  font-size: 1.05rem;
  font-weight: 600;
  background: transparent;
  border: none;
  color: var(--color-gold-light);
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.badge::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  transform: scaleX(0.45);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.badge:hover::after {
  transform: scaleX(1);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #fff;
  text-decoration: none;
  backdrop-filter: none;
  box-shadow: none;
  transition: transform 0.25s ease, color 0.25s ease;
  z-index: 1;
  align-self: center;
  justify-self: end;
  cursor: pointer;
}
.hero-phone:hover {
  background: transparent;
  border: none;
  color: var(--color-gold-light);
  text-decoration: none;
  transform: translateY(-3px) scale(1.04);
  box-shadow: none;
}
.hero-phone-icon {
  font-size: 3.6rem;
  line-height: 1;
  color: var(--color-gold);
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
.hero-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.hero-phone-label {
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.92;
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-phone-number {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: linear-gradient(135deg, #f5d98a 0%, var(--color-gold) 40%, #c9a96e 100%);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffe9a8 0%, #f5d98a 50%, var(--color-gold) 100%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.btn-glow {
  position: relative;
  padding: 1.05rem 2.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 14px;
  color: #2b0a0a;
  background: linear-gradient(135deg, #ffe9a8 0%, #f5d98a 35%, #d4af6a 70%, #b88a3e 100%);
  box-shadow:
    0 0 0 2px rgba(255,233,168,0.55),
    0 8px 28px rgba(245,217,138,0.55),
    0 4px 14px rgba(184,138,62,0.4),
    inset 0 1px 0 rgba(255,255,255,0.5);
  overflow: hidden;
  isolation: isolate;
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255,255,255,0.55) 50%,
    transparent 70%);
  background-size: 220% 100%;
  background-position: 100% 0;
  pointer-events: none;
  z-index: 1;
  animation: btn-shine 3s ease-in-out infinite;
}

@keyframes btn-shine {
  0%, 100% { background-position: 120% 0; }
  50% { background-position: -20% 0; }
}

.btn-glow > * {
  position: relative;
  z-index: 2;
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 0 3px rgba(255,233,168,0.75),
    0 14px 38px rgba(245,217,138,0.7),
    0 6px 18px rgba(184,138,62,0.55),
    inset 0 1px 0 rgba(255,255,255,0.6);
  text-decoration: none;
  background: linear-gradient(135deg, #fff2c2 0%, #ffe089 35%, #e0b878 70%, #c9a05a 100%);
}

.btn-glow:active {
  transform: translateY(0) scale(1);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(201,169,110,0.6);
}

.btn-outline:hover {
  background: rgba(201,169,110,0.15);
  border-color: var(--color-gold);
  color: white;
  text-decoration: none;
}

.btn-wide {
  min-width: 160px;
  text-align: center;
}

.btn-wechat {
  background: #07c160;
  color: white;
  border: 2px solid #06ad56;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-wechat:hover {
  background: #06ad56;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 193, 96, 0.4);
}

.wechat-icon {
  font-size: 1.1rem;
}

.hero-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(139,26,26,0.2);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ===== 统计数据条 ===== */
.stats-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
}

/* ===== Data Dashboard / 数据看板 ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.dash-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.dash-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(139, 26, 26, 0.18);
  border-color: var(--color-gold);
}

.dash-card:hover .dash-card-bar {
  height: 4px;
}

.dash-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  transition: height 0.3s;
}

.dash-card-bar--gold {
  background: linear-gradient(90deg, var(--color-gold-dark) 0%, var(--color-gold) 50%, var(--color-gold-light) 100%);
}

.dash-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.dash-card-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.dash-card-number {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
}

.dash-card-number--inline {
  font-size: 2.2rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.dash-num {
  display: inline-block;
}

.dash-card-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.dash-card-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.dash-card-meta {
  flex: 1;
  min-width: 0;
}

.dash-meta-row {
  font-size: 0.82rem;
  color: var(--color-text);
  line-height: 1.5;
}

.dash-meta-row strong {
  color: var(--color-primary);
  font-weight: 700;
}

.dash-meta-row--sub {
  font-size: 0.74rem;
  color: var(--color-text-light);
  margin-top: 0.2rem;
}

.dash-progress {
  margin-top: auto;
}

.dash-progress-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: 3px;
  margin-bottom: 0.4rem;
}

.dash-progress-text {
  font-size: 0.72rem;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

/* 环形进度 */
.dash-ring {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}

.dash-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dash-ring-bg {
  fill: none;
  stroke: #f0e8d8;
  stroke-width: 6;
}

.dash-ring-fg {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 213.6;
  stroke-dashoffset: 213.6;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-ring-fg.is-animated {
  stroke-dashoffset: calc(213.6 * (1 - var(--target) / 100));
}

.dash-ring-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  white-space: nowrap;
}

.dash-ring-num .dash-num {
  font-size: 1.1rem;
}

.dashboard-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--color-text-light);
  text-align: center;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px dashed var(--color-border);
  line-height: 1.5;
}

.dashboard-note-icon {
  color: var(--color-gold);
  font-size: 1rem;
}

/* 数字滚动动画 */
@keyframes dash-num-pop {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.dash-num.is-counting {
  animation: dash-num-pop 0.4s ease-out;
}

/* 响应式 */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .dash-card {
    padding: 1.25rem 1rem 1rem;
  }
  .dash-card-number {
    font-size: 2.2rem;
  }
  .cases-dash-separator {
    gap: 0.6rem;
    margin: 1.5rem 0 1.5rem;
    padding: 0 0.5rem;
  }
  .cases-dash-separator-line {
    max-width: 80px;
  }
  .section::before {
    width: 60px;
  }
}

/* ===== 内容区域通用 ===== */
.section {
  padding: 3rem 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  position: relative;
}

/* 金色装饰线 — 板块顶部分隔 */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0.45;
}

/* 暖色底版块（与白色版块交替） */
.section-bordered {
  background: var(--color-surface-alt);
}

/* 合并版块：成功案例 + 办案数据 */
.section-cases-dashboard {
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf6 100%);
  padding: 3rem 0 2.5rem;
}

/* 案例与数据之间的分隔线 */
.cases-dash-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 2.25rem;
  padding: 0 1.5rem;
}

.cases-dash-separator-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dark), transparent);
  max-width: 180px;
}

.cases-dash-separator-icon {
  color: var(--color-gold);
  font-size: 1.1rem;
  line-height: 1;
}

.cases-dash-separator-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-header h2::before,
.section-header h2::after {
  content: "—";
  color: var(--color-gold);
  font-weight: 300;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===== 卡片组件 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.tag:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  text-decoration: none;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-title a {
  color: inherit;
}

.card-title a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.card-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
  margin-top: auto;
}

/* ===== 文章详情页 ===== */
.article-page {
  padding: 2rem 0 3.5rem;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-gold);
}

.article-header .article-tags {
  margin-bottom: 0.75rem;
}

.article-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-light);
  flex-wrap: wrap;
}

.article-meta .author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.article-meta .author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  vertical-align: middle;
  font-size: 0.75rem;
  font-weight: 700;
}

.article-meta .author-avatar-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  vertical-align: middle;
  padding: 2px;
  background: #fff;
}

/* Markdown 内容 */
.article-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text);
}

.article-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-gold);
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin: 2rem 0 0.75rem;
}

.article-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 1.5rem 0 0.5rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content blockquote {
  background: var(--color-surface-alt);
  border-left: 4px solid var(--color-gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-text-muted);
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content strong {
  color: var(--color-primary);
  font-weight: 700;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

/* ===== 标签云 ===== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.tag-cloud .tag {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius);
}

.tag-cloud .tag .tag-count {
  margin-left: 0.3rem;
  opacity: 0.7;
  font-size: 0.8em;
}

/* ===== 关于页面 ===== */
.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}

.about-sidebar {
  position: sticky;
  top: 90px;
}

.profile-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-gold);
  border: 3px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin: 0 auto 1rem;
  line-height: 1;
}

.profile-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
}

.profile-card .profile-title {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.profile-card .profile-info {
  text-align: left;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.profile-card .profile-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-card .contact-btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.7rem;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.profile-card .contact-btn:hover {
  background: var(--color-primary-light);
  color: white;
  text-decoration: none;
}

.about-content {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.about-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-gold);
  letter-spacing: 0.04em;
}

.about-content p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.expertise-item {
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.expertise-item:hover {
  border-color: var(--color-gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.expertise-item .ei-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-gold);
}

.expertise-item .ei-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.expertise-item .ei-desc {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ===== 联系方式页面 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

/* 4卡片网格：2x2 布局 */
.contact-grid-4 {
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
}

/* 5卡片网格：第3行居中 */
.contact-grid-5 {
  grid-template-columns: 1fr 1fr 1fr;
}

.contact-grid-5 .contact-card:nth-child(1),
.contact-grid-5 .contact-card:nth-child(2) {
  grid-column: span 1;
}

.contact-grid-5 .contact-card-wechat {
  border: 2px solid #07c160;
  background: linear-gradient(135deg, var(--color-surface) 0%, #f0faf5 100%);
}

.contact-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-color: var(--color-gold);
}

.contact-card .cc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.85rem;
  color: var(--color-primary);
}

.contact-card .cc-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.contact-card .cc-value {
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 700;
  word-break: break-all;
}

.contact-card .cc-desc {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

/* ===== 联系方式页面：电话咨询卡（统一白底风格） ===== */
.contact-phone-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-phone-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 24px rgba(180, 142, 75, 0.18);
  transform: translateY(-2px);
  color: inherit;
}

.contact-phone-card:active {
  transform: translateY(0);
}

.cpc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff4e0 0%, #ffe2b8 100%);
  color: #b47820;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cpc-body {
  flex: 1;
  min-width: 0;
}

.cpc-label {
  font-size: 0.92rem;
  color: var(--color-text-light);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.cpc-number {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.cpc-hint {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.cpc-cta {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-phone-card:hover .cpc-cta {
  background: var(--color-gold);
  color: #fff;
  transform: translateX(3px);
}

/* ===== 服务地区：潮汕地图大卡片 ===== */
.contact-area-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  max-width: 920px;
  margin: 0 auto 2.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* ===== 咨询须知卡片（与其他三卡宽度对齐 920px） ===== */
.consult-notice-card {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  border-radius: 18px;
}

/* 左侧地图区 */
.cac-map-side {
  position: relative;
  background: linear-gradient(135deg, #f7f9fc 0%, #eef3f9 100%);
  padding: 1.5rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--color-border);
}

.cac-map-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  margin-bottom: 0.85rem;
  position: relative;
  padding-left: 1rem;
}

.cac-map-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  background: linear-gradient(180deg, #8b1a1a 0%, #c8392f 100%);
  border-radius: 2px;
}

.chaoshan-map {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
}

.map-city {
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.map-city:hover {
  filter: drop-shadow(0 2px 8px rgba(200, 57, 47, 0.25));
}

.map-city:hover .map-city-label {
  font-weight: 700;
}

.map-city-label {
  font-size: 13px;
  font-weight: 700;
  fill: #5a4a2a;
  font-family: 'Noto Sans SC', sans-serif;
}

.map-sub-label {
  font-size: 7px;
  font-weight: 600;
  fill: #8b7855;
  letter-spacing: 0.15em;
  font-family: 'Noto Sans SC', sans-serif;
}

.map-marker-text {
  font-size: 8.5px;
  font-weight: 700;
  fill: #8b1a1a;
  font-family: 'Noto Sans SC', sans-serif;
}

/* 城市定位点脉冲动画 */
.map-city-st circle:nth-child(2),
.map-city-cz circle:nth-child(2),
.map-city-jy circle:nth-child(2) {
  animation: map-pulse 2.2s ease-out infinite;
  transform-origin: center;
}

.map-city-cz circle:nth-child(2) {
  animation-delay: 0.3s;
}

.map-city-jy circle:nth-child(2) {
  animation-delay: 0.6s;
}

@keyframes map-pulse {
  0%   { r: 6; opacity: 1; }
  100% { r: 22; opacity: 0; }
}

/* 右侧信息区 */
.cac-info-side {
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cac-info-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.cac-info-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin: 0 0 1.1rem;
}

.cac-info-desc strong {
  color: #8b1a1a;
  font-weight: 700;
}

.cac-cities {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cac-city {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem;
  background: var(--color-bg-alt);
  border-radius: 10px;
  border-left: 3px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cac-city:hover {
  background: #fff;
  transform: translateX(2px);
}

.cac-city-cz {
  border-left-color: #8b1a1a;
  background: linear-gradient(90deg, rgba(139, 26, 26, 0.06) 0%, transparent 60%);
}
.cac-city-cz:hover {
  border-left-color: #8b1a1a;
}

.cac-city-st {
  border-left-color: #b47820;
}
.cac-city-jy {
  border-left-color: #2b56a6;
}
.cac-city-more {
  border-left-color: #999;
  opacity: 0.85;
}

.cac-city-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8392f;
  margin-top: 0.45rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(200, 57, 47, 0.18);
}

.cac-city-cz .cac-city-dot {
  background: #8b1a1a;
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.22);
}
.cac-city-st .cac-city-dot {
  background: #b47820;
  box-shadow: 0 0 0 3px rgba(180, 120, 32, 0.22);
}
.cac-city-jy .cac-city-dot {
  background: #2b56a6;
  box-shadow: 0 0 0 3px rgba(43, 86, 166, 0.22);
}
.cac-city-dot-more {
  background: #999;
  box-shadow: 0 0 0 3px rgba(153, 153, 153, 0.22);
}

.cac-city-body {
  flex: 1;
  min-width: 0;
}

.cac-city-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cac-city-badge {
  display: inline-block;
  padding: 0.05rem 0.45rem;
  background: linear-gradient(135deg, #8b1a1a 0%, #c8392f 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.cac-city-desc {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 0.1rem;
  line-height: 1.45;
}

/* ===== 面包屑 ===== */
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-text-light);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumbs .sep {
  color: var(--color-border);
}

.breadcrumbs .current {
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: var(--transition);
}

.pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.pagination .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* ===== 页脚 — 官方风格 ===== */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
  border-top: 4px solid var(--color-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand .footer-logo .footer-emblem {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--color-gold-light);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(201,169,110,0.3);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.65;
  letter-spacing: 0.03em;
}

/* ===== 辅助类 ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.highlight-box {
  background: var(--color-surface-alt);
  border-left: 4px solid var(--color-gold);
  padding: 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* ===== 公告栏样式 ===== */
.notice-bar {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.notice-bar .notice-title {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.notice-bar .notice-content {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== 服务项目网格 ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.service-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.5rem;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-item,
.service-item:hover,
.service-item:focus,
.service-item:visited,
.service-item * {
  text-decoration: none !important;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-item:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 24px -8px rgba(139, 26, 26, 0.15);
  transform: translateY(-2px);
}

.service-item:hover::before {
  opacity: 1;
}

.service-item .si-numeral {
  font-family: "Georgia", "Times New Roman", "宋体", serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  text-indent: 0.3em;
  margin-bottom: 0.85rem;
  display: block;
  line-height: 1;
}

.service-item .si-icon {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
  color: var(--color-primary);
  transition: color 0.3s, transform 0.3s;
}

.service-item:hover .si-icon {
  color: var(--color-primary-dark);
  transform: scale(1.08);
}

.service-item .si-title {
  font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 0.65rem;
}

.service-item .si-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: var(--color-gold);
}

.service-item .si-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 0.75rem;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .official-banner {
    font-size: 0.7rem;
    padding: 0.45rem 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-avatar {
    order: -1;
    margin: 0 auto;
    width: 110px;
    height: 110px;
    font-size: 2.8rem;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-new-layout {
    grid-template-columns: 1fr;
  }
  .contact-phone-card {
    padding: 1.35rem 1.25rem;
    gap: 1rem;
  }
  .cpc-number {
    font-size: 1.75rem;
  }
  .cpc-icon {
    width: 48px;
    height: 48px;
  }
  .cpc-cta {
    width: 38px;
    height: 38px;
  }
  .cpc-hint {
    font-size: 0.78rem;
  }
  .contact-area-card {
    grid-template-columns: 1fr;
  }
  .cac-map-side {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 1rem 0.75rem;
  }
  .chaoshan-map {
    max-width: 280px;
  }
  .cac-info-side {
    padding: 1.25rem 1.25rem 1.1rem;
  }
  .cac-info-title {
    font-size: 1.15rem;
  }
  .article-container {
    padding: 1.5rem;
  }
  .article-header h1 {
    font-size: 1.4rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 2px solid var(--color-primary);
    flex-direction: column;
    padding: 0.5rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }
  .site-nav.active {
    display: flex;
  }
  .site-nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }
  .site-nav a:last-child {
    border-bottom: none;
  }
  .site-nav a.active::after {
    display: none;
  }
  .expertise-list {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.3rem;
  }
  .section {
    padding: 2rem 0;
  }
  .section-header h2 {
    font-size: 1.3rem;
  }
  .btn {
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
  }
  .stats-grid {
    gap: 0.75rem;
  }
  .stat-item .stat-number {
    font-size: 1.3rem;
  }
  .header-inner {
    height: 60px;
  }
  .brand-text .brand-name {
    font-size: 1.05rem;
  }
}

/* ===== 打印样式 ===== */
@media print {
  .official-banner, .site-header, .site-footer, .hero, .stats-bar, .menu-toggle, .back-to-top {
    display: none;
  }
  .article-container {
    border: none;
    max-width: 100%;
    box-shadow: none;
  }
}

/* ===== 无障碍 ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ===== 回到顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: var(--color-gold-light);
  border: 1px solid var(--color-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

/* ===== 微信二维码版块 ===== */
.wechat-qr-section {
  max-width: 920px;
  margin: 0 auto 2.5rem;
}

.wechat-qr-card-compact {
  gap: 2rem;
  padding: 2rem;
  border-width: 1px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.wechat-qr-card-compact .wechat-qr-image {
  width: 170px;
  height: 170px;
}

.wechat-qr-card-compact .wechat-qr-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
}

.wechat-qr-card-compact .wechat-qr-tip {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.wechat-qr-card-compact .wechat-qr-note {
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  margin: 0;
}

.wechat-qr-card {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #faf7f2 100%);
  border: 1px solid var(--color-gold);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.wechat-qr-card::before {
  content: none;
  display: none;
}

.wechat-qr-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wechat-qr-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wechat-qr-info {
  flex: 1;
  min-width: 0;
}

.wechat-qr-info h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-gold);
  display: inline-block;
}

.wechat-qr-tip {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.wechat-qr-tip strong {
  color: var(--color-primary);
  font-weight: 600;
}

.wechat-qr-advantages {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.wechat-qr-advantages li {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0.35rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.adv-icon {
  color: #07c160;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.wechat-qr-note {
  background: #fdf6e3;
  border-left: 3px solid #c9a96e;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #6b5a3e;
  line-height: 1.6;
}

.wechat-qr-note strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* PC 版实时咨询动态滚动通知 */
.pc-notify {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  height: 42px;
  overflow: hidden;
}

.pc-notify-label {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.pc-notify-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 22px;
  mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.pc-notify-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 22px;
  will-change: transform;
}

.pc-notify-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.pc-notify-user {
  color: var(--color-primary);
  font-weight: 600;
}

.pc-notify-time {
  color: var(--color-gold-dark);
  font-size: 0.8rem;
}

.pc-notify-action {
  color: var(--color-text-muted);
}

.pc-notify-topic {
  color: var(--color-primary);
  font-weight: 600;
}

@keyframes pc-notify-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .pc-notify-track { animation: none !important; transform: none !important; }
}

/* 响应式：移动端 */
@media (max-width: 640px) {
  .wechat-qr-card {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
    gap: 1.5rem;
  }

  .wechat-qr-card::before {
    content: none;
    display: none;
  }

  .wechat-qr-image {
    width: 180px;
    height: 180px;
  }

  .wechat-qr-info h3 {
    font-size: 1.25rem;
    display: block;
  }

  .wechat-qr-advantages li {
    justify-content: center;
  }
}

/* ===== 手机版文章页面响应式样式 ===== */
@media (max-width: 768px) {
  /* 调整整体字体和行距 */
  body {
    font-size: 15px;
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0));
  }
  
  /* 调整容器padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* 调整Hero区域 */
  .hero {
    padding: 2rem 0 !important;
  }
  
  .hero h1 {
    font-size: 1.5rem !important;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  /* 调整面包屑 */
  .breadcrumbs {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
  
  /* 调整文章页面 */
  .article-page {
    padding: 1.5rem 0;
  }
  
  /* 调整卡片网格 */
  .card-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-excerpt {
    font-size: 0.88rem;
    line-height: 1.6;
  }
  
  .card-meta {
    font-size: 0.78rem;
  }
  
  /* 调整网站头部 */
  .site-header {
    padding: 0.5rem 0;
  }
  
  .site-brand .brand-name {
    font-size: 0.9rem;
  }
  
  .site-brand .brand-sub {
    font-size: 0.6rem;
  }
  
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .site-nav.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  /* 调整页脚 */
  .site-footer {
    padding: 2rem 0 1rem;
    font-size: 0.85rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .footer-col {
    margin-bottom: 1rem;
  }
  
  .footer-bottom {
    font-size: 0.75rem;
  }
  
  /* 调整关于页面 */
  .about-layout {
    grid-template-columns: 1fr !important;
  }
  
  .about-sidebar {
    order: -1;
  }
  
  .profile-card {
    padding: 1.5rem;
  }
  
  .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  /* 调整标签页面 */
  .tags-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* 调整联系页面 */
  .contact-layout {
    grid-template-columns: 1fr !important;
  }
  
  /* 隐藏桌面版底部操作栏，显示手机版 */
  .back-to-top {
    bottom: 70px;
  }
}

/* 超小屏幕 (iPhone 5/SE) */
@media (max-width: 320px) {
  body {
    font-size: 14px;
  }
  
  .hero h1 {
    font-size: 1.3rem !important;
  }
  
  .card-title {
    font-size: 1rem;
  }
}
