/* ===== 城市页面专用样式 ===== */

/* 城市英雄区 */
.city-hero {
  background: linear-gradient(135deg, #1a6b3c 0%, #2e8b57 50%, #0f4428 100%);
  padding: 80px 0 60px;
  color: white;
}
.city-hero-content { max-width: 700px; }
.city-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 16px;
}
.city-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.city-hero-sub {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 16px;
  font-weight: 500;
}
.city-hero-desc {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 600px;
}
.city-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.city-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.city-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.city-stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: #f5a623;
}
.city-stat span {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* 价格区 */
.city-prices {
  padding: 64px 0;
  background: #f7f9f7;
}
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: #666;
  margin-bottom: 32px;
  font-size: 0.9rem;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.price-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e8f0ea;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.price-brand {
  font-size: 0.8rem;
  color: #1a6b3c;
  font-weight: 600;
  margin-bottom: 4px;
}
.price-model {
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
}
.price-range {
  font-size: 1.05rem;
  font-weight: 700;
  color: #d4881a;
}
.price-note {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: 8px;
}
.price-note a { color: #1a6b3c; font-weight: 600; }

/* 流程区 */
.city-process {
  padding: 64px 0;
  background: white;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.process-step {
  text-align: center;
  padding: 28px 20px;
  border-radius: 12px;
  background: #f7f9f7;
  border: 1px solid #e0e8e2;
}
.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: #1a6b3c;
  margin-bottom: 10px;
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

/* 服务区域 */
.city-areas {
  padding: 64px 0;
  background: #f7f9f7;
}
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  justify-content: center;
}
.area-tag {
  background: white;
  border: 1px solid #c8ddd0;
  color: #1a6b3c;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* FAQ */
.city-faq {
  padding: 64px 0;
  background: white;
}
.faq-list {
  max-width: 800px;
  margin: 32px auto 0;
}
.faq-item {
  border-bottom: 1px solid #e8f0ea;
  padding: 20px 0;
}
.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.faq-a {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* CTA */
.city-cta {
  background: linear-gradient(135deg, #1a6b3c, #2e8b57);
  padding: 60px 0;
  text-align: center;
  color: white;
}
.city-cta h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.city-cta p {
  opacity: 0.9;
  margin-bottom: 24px;
}
.btn-white {
  background: white;
  color: #1a6b3c;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  display: inline-block;
  font-size: 1rem;
  transition: 0.2s;
}
.btn-white:hover { background: #f0f8f2; transform: translateY(-1px); }

/* 页脚简化版 */
.footer-bottom-bar {
  padding: 20px 0;
  border-top: 1px solid #e0e8e2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: #666;
}
.footer-bottom-bar a { color: #1a6b3c; }

/* 城市列表页 */
.city-list-hero {
  background: linear-gradient(135deg, #1a6b3c, #2e8b57);
  padding: 60px 0;
  color: white;
  text-align: center;
}
.city-list-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.city-list-hero p { opacity: 0.9; font-size: 1rem; }
.city-list-section { padding: 48px 0; }
.city-list-section:nth-child(even) { background: #f7f9f7; }
.city-region-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a6b3c;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e8e2;
}
.city-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.city-card {
  background: white;
  border: 1px solid #e0e8e2;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition: 0.2s;
  display: block;
  color: #333;
}
.city-card:hover {
  border-color: #1a6b3c;
  color: #1a6b3c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26,107,60,0.1);
}
.city-card-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.city-card-sub { font-size: 0.75rem; color: #999; }

/* 城市列表首页 - 卡片样式 */
.city-group-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a6b3c;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e8e2;
}
.city-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.city-index-card {
  background: white;
  border: 1.5px solid #e0e8e2;
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
  color: #333;
  text-decoration: none;
}
.city-index-card:hover {
  border-color: #1a6b3c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26,107,60,0.12);
  color: #1a6b3c;
}
.city-icon { font-size: 1.8rem; }
.city-name { font-size: 1.05rem; font-weight: 700; }
.city-tag {
  font-size: 0.72rem;
  background: #e8f5ee;
  color: #1a6b3c;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}
.city-nationwide h2 { margin-bottom: 12px; }

/* ===== 微信咨询弹窗 ===== */
.wechat-modal-overlay {
  display: none; /* JS 控制 display */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}
.wechat-modal-overlay.active {
  display: flex;
}
.wechat-modal {
  background: white;
  border-radius: 20px;
  padding: 36px 32px 28px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  position: relative;
  text-align: center;
  animation: modalFadeIn 0.25s ease;
  overflow-y: auto;
  max-height: 90vh;
  -webkit-overflow-scrolling: touch;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.wechat-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.4rem;
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}
.wechat-modal-close:hover { color: #333; }
.wechat-modal-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}
.wechat-modal h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.wechat-modal-sub {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 20px;
}
.wechat-id-box {
  background: #f0f8f2;
  border: 2px dashed #2e8b57;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 14px;
}
.wechat-id-label {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 4px;
}
.wechat-id-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a6b3c;
  letter-spacing: 0.5px;
  word-break: break-all;
}
.wechat-copy-btn {
  display: inline-block;
  background: #07c160;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 14px;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.wechat-copy-btn:hover { background: #06a652; transform: translateY(-1px); }
.wechat-copy-btn.copied { background: #aaa; }
.wechat-fallback-tip {
  background: #fff8e6;
  border: 1px solid #f5c842;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #7a5800;
  line-height: 1.6;
  text-align: left;
}
.wechat-fallback-tip strong { color: #d4880a; }

/* 城市英雄区"微信咨询估价"按钮 - 与电话按钮同色风格 */
.btn-wechat {
  background: #1a6b3c !important;
  color: white !important;
  font-weight: 700;
  border: 2px solid #1a6b3c !important;
  padding: 14px 28px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(26,107,60,0.3);
}
.btn-wechat:hover {
  background: #0f4428 !important;
  border-color: #0f4428 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,107,60,0.4);
}

/* 响应式 */
@media (max-width: 768px) {
  .city-hero { padding: 60px 0 40px; }
  .city-hero h1 { font-size: 1.8rem; }
  .city-hero-actions { flex-direction: column; }
  .city-stats { gap: 20px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-bottom-bar { flex-direction: column; text-align: center; }
  .wechat-modal { padding: 28px 20px 22px; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
}
