/* ============================================================
   茂之林装修工作室 - 高端视觉升级版
   用于：品牌总站 + 所有区县子域名站
   设计参考：tkzs.net 唐卡装饰
   主色：深色金 #8B6914 | 酒红 #8B1A2B | 深灰 #2C2C2C
   背景：暖白 #FFFBF5 | 文字：深炭 #2C2C2C
   ============================================================ */

/* === CSS 变量 === */
:root {
  --color-primary: #8B6914;
  --color-primary-dark: #6B4F10;
  --color-primary-light: #C9A96E;
  --color-primary-bg: rgba(139,105,20,0.06);
  --color-accent: #8B1A2B;
  --color-accent-light: #C41E3A;
  --color-bg: #FFFBF5;
  --color-bg-alt: #FFF8EC;
  --color-white: #ffffff;
  --color-text: #2C2C2C;
  --color-text-light: #5C5C5C;
  --color-text-muted: #999999;
  --color-border: #EBE3D3;
  --color-success: #2E7D32;
  --color-star: #D4A843;
  --color-gold: #C9A96E;
  --color-dark: #1A1A1A;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-heading: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --max-width: 1200px;
}

/* === Reset === */
*, *::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: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--color-primary-dark); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === 排版 === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

/* === 布局 === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
  font-size: 2rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* === 按钮 === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 25px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  justify-content: center;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,105,20,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary-bg);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-accent:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,26,43,0.3);
}

.btn-lg {
  padding: 16px 48px;
  font-size: 1.15rem;
}

.btn-full {
  width: 100%;
}

/* ============================================
   弹窗 Modal（参照啄木鸟首屏弹窗）
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
  position: relative;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 4px 8px;
  line-height: 1;
}
.modal-close:hover { color: var(--color-text); }

.modal-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.modal-box h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-box .modal-subtitle {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.modal-trust-tags {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.modal-trust-tag {
  font-size: 0.82rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.modal-box .btn {
  margin-bottom: 12px;
  display: block;
  width: 100%;
}

.modal-box .btn-outline {
  border-color: var(--color-border);
  color: var(--color-text-light);
  margin-bottom: 0;
}
.modal-box .btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ============================================
   双层顶部导航（参照啄木鸟）
   ============================================ */
.header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* 顶部细条 */
.top-bar {
  background: #1a1a2e;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}
.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar a {
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.top-bar a:hover { color: var(--color-white); }
.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.top-bar-phone strong {
  color: var(--color-white);
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.top-bar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.top-bar-links a {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.top-bar-links a:hover { background: rgba(255,255,255,0.08); }

/* 城市下拉 */
.city-dropdown {
  position: relative;
}
.city-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: rgba(255,255,255,0.85);
}
.city-dropdown-toggle:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
}
.city-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 560px;
  max-width: 92vw;
  max-height: 78vh;
  overflow-y: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 0;
  display: none;
  z-index: 1001;
}
.city-dropdown.open .city-dropdown-menu { display: block; }

.city-dropdown-section {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
}
.city-dropdown-section:last-child { border-bottom: none; }

.city-dropdown-section-title {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 10px;
  padding-left: 4px;
}

.city-dropdown-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px 6px;
}
.city-dropdown-list a {
  color: var(--color-text);
  padding: 7px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.city-dropdown-list a:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

/* 保留旧类名兼容 */
.city-dropdown-group { margin-bottom: 12px; }
.city-dropdown-group:last-child { margin-bottom: 0; }
.city-dropdown-group-title {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 6px 8px;
  font-weight: 600;
}
.city-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.city-dropdown-grid a {
  color: var(--color-text);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.city-dropdown-grid a:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

/* 主导航 */
.main-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo img { height: 40px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-menu a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-primary);
  background: var(--color-bg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}
.nav-phone:hover { color: var(--color-primary-dark); }

.nav-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 10px 22px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
}
.nav-cta:hover {
  background: var(--color-primary-dark);
  color: var(--color-white) !important;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端菜单面板 */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 16px 20px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--color-primary); }
.mobile-nav .nav-phone {
  margin-top: 12px;
  padding: 14px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  justify-content: center;
}
.mobile-nav .nav-cta {
  display: block;
  text-align: center;
  margin-top: 12px;
}

/* ============================================
   Hero 首屏（背景图+深色渐变遮罩）
   ============================================ */
.hero {
  background-image: url('../images/cases/case1-living.jpg');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 100px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hero 遮罩层：让背景图可见同时文字清晰 */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.78) 0%, rgba(26,26,26,0.55) 40%, rgba(26,26,26,0.72) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}


/* 深色渐变遮罩 */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(160deg, rgba(26,26,26,0.85) 0%, rgba(44,24,16,0.8) 35%, rgba(61,43,31,0.75) 70%, rgba(26,26,26,0.9) 100%);
  z-index: 1;
}

/* 金色光晕点缀 */
.hero::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(201,169,110,0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 20%, rgba(139,26,43,0.08) 0%, transparent 40%);
  z-index: 1;
}

/* Hero 内容置于遮罩之上 */
.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--color-white);
  margin-bottom: 12px;
  position: relative;
  letter-spacing: 2px;
}

.hero h1 .highlight {
  color: var(--color-gold);
  text-shadow: 0 2px 12px rgba(201,169,110,0.3);
}

.hero .hero-badge {
  display: inline-block;
  background: rgba(201,169,110,0.15);
  color: var(--color-gold);
  border: 1px solid rgba(201,169,110,0.25);
  padding: 6px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.hero .btn-primary {
  background: linear-gradient(135deg, var(--color-gold), #B8942E);
  color: #1A1A1A;
  font-size: 1.1rem;
  padding: 16px 40px;
  border: none;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}
.hero .btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.2) 35%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0.2) 65%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  animation: btnShine 2.5s ease-in-out infinite;
  pointer-events: none;
}
.hero .btn-primary:hover {
  background: linear-gradient(135deg, #B8942E, var(--color-gold));
  color: #1A1A1A;
  box-shadow: 0 8px 28px rgba(201,169,110,0.4);
}
@keyframes btnShine {
  0% { left: -60%; }
  100% { left: 160%; }
}

.hero .btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: var(--color-white);
  font-size: 1.1rem;
  padding: 16px 40px;
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

/* === Hero 数字看板 === */
.hero-numbers {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 52px;
  position: relative;
  flex-wrap: wrap;
}

.hero-number {
  text-align: center;
}

.hero-number .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
}

.hero-number .num-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ============================================
   装修案例卡片（实景图+悬停遮罩+CTA）
   ============================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.case-card {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.case-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--color-bg-alt);
  position: relative;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.case-card:hover .case-img img {
  transform: scale(1.08);
}

/* 悬停遮罩层 */
.case-img::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.case-card:hover .case-img::after {
  opacity: 1;
}

/* 悬停时显示查看详情按钮 */
.case-img .case-hover-cta {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-gold);
  color: #1A1A1A;
  padding: 8px 24px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  transition: all 0.3s;
  z-index: 3;
  white-space: nowrap;
}
.case-card:hover .case-img .case-hover-cta {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.case-body {
  padding: 16px 18px;
}

.case-tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 8px;
  border: 1px solid rgba(139,105,20,0.15);
}

.case-body h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: var(--color-text);
}

.case-body p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0 8px 0;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

/* 详情页多图 */
.detail-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.detail-images img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  max-height: 300px;
}

/* ============================================
   服务表单区
   ============================================ */
.quick-form-section {
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.quick-form-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  margin: 0 auto;
}

.quick-form-card h3 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.quick-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quick-form .full-width {
  grid-column: 1 / -1;
}

.quick-form input,
.quick-form select,
.quick-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: var(--color-bg-alt);
  transition: border-color 0.2s;
}

.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-bg);
}

.quick-form textarea {
  min-height: 80px;
  resize: vertical;
}

.quick-form button {
  grid-column: 1 / -1;
}

.quick-form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* ============================================
   服务项目卡片（竖版图片卡片）
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-text);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.service-card .service-icon {
  font-size: 3rem;
  height: 120px;
  background: linear-gradient(135deg, var(--color-primary-bg), rgba(201,169,110,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(139,105,20,0.12), rgba(201,169,110,0.18));
}

.service-card .service-info {
  padding: 18px 16px 20px;
  text-align: center;
}
.service-card .service-info h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--color-text);
}
.service-card .service-info p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* 移动端服务卡片改为2列 */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .service-card .service-icon {
    height: 90px;
    font-size: 2.4rem;
  }
}
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   内容文章列表（列表式，带标签+阅读量）
   ============================================ */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.article-list-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: all 0.2s;
  gap: 10px;
}
.article-list-item:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.article-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.article-list-item a {
  flex: 1;
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
}
.article-list-item a:hover { color: var(--color-primary); }

.article-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .article-list {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   用户评价（卡片+星级+头像+城市）
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--color-white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.review-card .stars {
  color: var(--color-star);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card .review-text {
  color: var(--color-text);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.review-card .review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.review-card .review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   品牌实力展示区（数字+标签）
   ============================================ */
.strength-section {
  background: linear-gradient(160deg, #1A1A1A 0%, #2C1810 50%, #3D2B1F 100%);
  padding: 60px 0;
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.strength-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(201,169,110,0.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(139,26,43,0.08) 0%, transparent 40%);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.strength-item {
  text-align: center;
}
.strength-item .strength-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1.1;
  margin-bottom: 4px;
}
.strength-item .strength-unit {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-gold);
}
.strength-item .strength-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  letter-spacing: 1px;
}

.strength-divider {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 12px auto 0;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .strength-item .strength-num {
    font-size: 2.2rem;
  }
}

/* ============================================
   优势特色区（4列 emoji图标）
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  padding: 36px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-card .feature-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   区县选择器
   ============================================ */
.districts-section {
  background: var(--color-white);
}

.districts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.district-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.25s;
  cursor: pointer;
}
.district-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  background: var(--color-white);
}

.district-card .district-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text);
}

.district-card .district-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.city-heading {
  margin-top: 32px;
  color: var(--color-primary);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.city-heading:first-child {
  margin-top: 0;
}

/* ============================================
   价格表
   ============================================ */
.pricing-table {
  overflow-x: auto;
  max-width: 800px;
  margin: 24px auto 0;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pricing-table thead th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
}

.pricing-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.pricing-table tbody tr:hover {
  background: var(--color-bg-alt);
}

.pricing-table tbody tr td:first-child {
  font-weight: 600;
  color: var(--color-text);
}

.pricing-table tbody tr td:nth-child(2) { color: var(--color-star); }
.pricing-table tbody tr td:nth-child(3) { color: var(--color-primary); }
.pricing-table tbody tr td:nth-child(4) { color: var(--color-success); }

.pricing-table tbody tr td a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

/* ============================================
   详情页通用样式
   ============================================ */
.detail-page {
  max-width: 860px;
}
.detail-page h1 {
  font-size: 1.8rem;
  line-height: 1.4;
}
.detail-page h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}
.detail-page h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.detail-page .detail-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.detail-page .lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.detail-page .detail-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 36px;
}
.detail-page .summary-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
}
.detail-page .summary-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.detail-page .summary-item strong {
  display: block;
  font-size: 1.25rem;
  color: var(--color-primary);
}
.detail-page .detail-image {
  border-radius: var(--radius-md);
  margin: 24px 0 32px;
}
.detail-page .detail-cta {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin-top: 40px;
}
.detail-page .detail-cta p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.detail-page ul {
  line-height: 1.9;
  margin-bottom: 24px;
}
.detail-page blockquote {
  background: var(--color-primary-bg);
  border-left: 4px solid var(--color-primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
}
.detail-page blockquote p {
  margin: 0;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .detail-page .detail-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .detail-page .detail-summary {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FAQ 折叠
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--color-text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--color-primary);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================================
   底部转化区
   ============================================ */
.cta-section {
  background: linear-gradient(160deg, #1A1A1A 0%, #2C1810 50%, #3D2B1F 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--color-white);
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

.cta-section .btn {
  margin: 0 8px;
}

/* ============================================
   关于我们
   ============================================ */
.about-section {
  background: var(--color-white);
  text-align: center;
}

.about-section .container {
  max-width: 700px;
}

.about-section p {
  font-size: 1.02rem;
  line-height: 2;
}

.about-section blockquote {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-top: 24px;
  border-left: 3px solid var(--color-primary);
  text-align: left;
}
.about-section blockquote p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* ============================================
   底部悬浮操作栏（高端升级版）
   ============================================ */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
}

.bottom-bar a {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  font-size: 0.82rem;
  color: var(--color-text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.2s;
  max-width: 160px;
  position: relative;
}
.bottom-bar a:hover {
  color: var(--color-primary);
}

.bottom-bar .bar-icon {
  font-size: 1.25rem;
}

.bottom-bar .bar-cta {
  background: linear-gradient(135deg, var(--color-gold), #B8942E);
  color: #1A1A1A !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 12px;
  border-radius: 0;
}
.bottom-bar .bar-cta:hover {
  background: linear-gradient(135deg, #B8942E, var(--color-gold));
  color: #1A1A1A !important;
}

/* 微信悬浮二维码 */
.bottom-bar .bar-wechat {
  position: relative;
}
.bottom-bar .bar-wechat-qr {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  margin-bottom: 8px;
  width: 140px;
  text-align: center;
}
.bottom-bar .bar-wechat:hover .bar-wechat-qr,
.bottom-bar .bar-wechat:active .bar-wechat-qr {
  display: block;
}
.bottom-bar .bar-wechat-qr .qr-placeholder {
  width: 100px;
  height: 100px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--color-success);
}
.bottom-bar .bar-wechat-qr span {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* 给 body 底部留出空间防止被底部栏遮挡 */
body.has-bottom-bar {
  padding-bottom: 64px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.65);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer-col a {
  color: rgba(255,255,255,0.55);
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--color-white); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}

/* ============================================
   内容页通用
   ============================================ */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.content-page h1 { margin-bottom: 24px; font-size: 2rem; }
.content-page h2 { margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--color-border); }
.content-page h3 { margin: 24px 0 12px; }
.content-page ul, .content-page ol { margin: 12px 0 20px 20px; }
.content-page li { padding: 4px 0; color: var(--color-text-light); }
.content-page table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95rem; }
.content-page th { background: var(--color-bg-alt); padding: 12px 16px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--color-border); }
.content-page td { padding: 12px 16px; border-bottom: 1px solid var(--color-border); }
.content-page blockquote { border-left: 3px solid var(--color-primary); padding: 12px 20px; margin: 20px 0; background: var(--color-bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--color-text-light); }

/* === 面包屑 === */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span { margin: 0 8px; }
.breadcrumb .breadcrumb-current { color: var(--color-primary); font-weight: 500; }

/* ============================================
   详情页双栏布局（正文+侧边栏）
   ============================================ */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

.detail-main {
  min-width: 0;
}

.detail-main h1 {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 16px;
}

.detail-main .detail-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.detail-main .lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.detail-main h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.detail-main h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.detail-main ul {
  line-height: 1.9;
  margin-bottom: 24px;
}

/* === 内嵌转化入口 === */
.inline-cta {
  background: linear-gradient(135deg, #8B6914 0%, #A88530 100%);
  color: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
}

.inline-cta-btn {
  background: var(--color-white);
  color: var(--color-primary);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.inline-cta-btn.outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.6);
}

.bottom-cta {
  text-align: center;
  flex-direction: column;
  gap: 12px;
  font-size: 1.05rem;
}

/* === 上下篇导航 === */
.prev-next-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.prev-next-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s;
}

.prev-next-item:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}

.prev-next-item.empty {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.prev-next-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.prev-next-title {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.4;
}

/* === 相关推荐 & 相关阅读 === */
.related-recommend,
.related-reading {
  margin: 32px 0;
}

.related-recommend h3,
.related-reading h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
}

.related-item:hover {
  background: var(--color-primary-bg);
}

.related-title {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80%;
}

.related-views {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* === 侧边栏 === */
.detail-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-cta-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 20px;
}

.sidebar-cta-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.sidebar-cta-card h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.sidebar-cta-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sidebar-cta-card .btn-sm {
  font-size: 0.85rem;
  padding: 8px 16px;
  width: 100%;
  display: block;
  margin-bottom: 8px;
}

.sidebar-hot h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.sidebar-hot-list a {
  display: block;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.2s;
}

.sidebar-hot-list a:hover {
  color: var(--color-primary);
  background: var(--color-primary-bg);
}

/* ============================================
   响应式（移动端）
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-numbers { gap: 28px; }
  .hero-number .num { font-size: 1.8rem; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .quick-form { grid-template-columns: 1fr; }
  .districts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .detail-images { grid-template-columns: 1fr; }

  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; order: 2; }
  .inline-cta { flex-direction: column; text-align: center; }
  .prev-next-nav { grid-template-columns: 1fr; }

  .nav-menu,
  .nav-actions .nav-phone,
  .top-bar-links { display: none; }

  .mobile-menu-toggle { display: flex; }

  .main-nav { padding: 10px 16px; }
  .logo { font-size: 1.1rem; }

  .bottom-bar a { font-size: 0.78rem; padding: 10px 6px; }
  .bottom-bar .bar-icon { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .features-grid,
  .districts-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 80%; }

  .main-nav { flex-wrap: wrap; gap: 8px; }
  .logo { font-size: 1rem; }

  .modal-box { padding: 32px 24px; }
}
