@charset "UTF-8";
/* ========== 文章页样式 ========== */
/* 文章页Banner样式 */
.article-wrapper {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.article-header {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid #f0e0d0;
  padding-bottom: 1.5rem;
}

.article-header h1 {
  font-size: 2rem;
  color: #2c3e2f;
  margin-bottom: 0.8rem;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: #888;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.article-meta i {
  margin-right: 4px;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2c2c2c;
  width: 100%;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  color: #c0392b;
}

.article-content h3 {
  font-size: 1.3rem;
  margin: 1.2rem 0 0.8rem;
  color: #2c3e2f;
}

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

.article-content .mark {
  background: #fef3e9;
  padding: 0.8rem 1.2rem;
  border-left: 4px solid #c0392b;
  margin: 1.2rem 0;
}

/* 文章内容图片自适应 - 防止移动端超出屏幕 */
.article-content img {
  max-width: 100%; /* 图片宽度不超过父容器宽度 */
  height: auto; /* 高度自动等比缩放 */
  display: block; /* 消除图片下方额外间隙 */
  margin: 1rem auto; /* 上下留白，居中显示 */
}

/* 同时处理表格、视频等其他可能溢出的内容 */
.article-content table,
.article-content iframe,
.article-content video {
  max-width: 100%;
  height: auto;
}

/* 如果表格内容过多，允许水平滚动（避免破坏布局） */
.article-content table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

.article-tags {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #f0e0d0;
}

.tag {
  display: inline-block;
  background: #fef3e9;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.8rem;
  color: #c0392b;
  margin-right: 0.5rem;
}

.related-articles {
  margin-top: 2.5rem;
  background: #fefaf5;
  padding: 1.5rem;
  border-radius: 24px;
}

.related-articles h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.related-item {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0e0d0;
  color: #2c3e2f;
  text-decoration: none;
}

.related-item:last-child {
  border-bottom: none;
}

.related-item:hover {
  color: #c0392b;
}

.consult-cta {
  background: linear-gradient(120deg, #c0392b, #e67e22);
  color: white;
  text-align: center;
  padding: 2rem;
  border-radius: 28px;
  margin-top: 2rem;
}

.article-content-block {
  display: none;
}

.article-content-block.active {
  display: block;
}

@media (max-width: 768px) {
  .article-hero {
    padding: 40px 0;
  }
  .article-hero h1 {
    font-size: 1.6rem;
  }
  .article-wrapper {
    padding: 1.2rem;
  }
  .article-header h1 {
    font-size: 1.6rem;
  }
}
/* ========== list.html 页面独有样式 ========== */
/* 文章列表 - 完全填满container宽度 */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.article-item {
  background: #fefaf5;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0e7db;
  transition: all 0.25s ease;
  width: 100%;
}

.article-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
  background-color: #fff;
  border-color: #e3c9b5;
}

.article-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.article-title a {
  color: #2c3e2f;
  text-decoration: none;
  transition: color 0.2s;
}

.article-title a:hover {
  color: #c0392b;
}

.article-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-excerpt {
  color: #4a4a4a;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.readmore {
  color: #c0392b;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.5rem;
}

.readmore:hover {
  color: #a93226;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.page-link {
  background: white;
  border: 1px solid #f0e0d0;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  color: #c0392b;
  text-decoration: none;
  transition: all 0.2s;
}

.page-link:hover {
  background: #fef3e9;
}

.page-link.active {
  background: #c0392b;
  color: white;
  border-color: #c0392b;
}

@media (max-width: 768px) {
  .list-hero {
    padding: 50px 0;
  }
  .list-hero h1 {
    font-size: 1.8rem;
  }
  .article-item {
    padding: 1.5rem;
  }
  .article-title {
    font-size: 1.3rem;
  }
}
/* ---------- 1. 分页主容器（Flex 居中 + 自动间距） ---------- */
.pagination-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px; /* 所有子元素（含文本节点）自动产生间距 */
  margin-top: 2.8rem;
  margin-bottom: 1.2rem;
  text-align: center;
  font-size: 0.95rem;
}

/* 装饰分割线（可选，保留原有风格） */
.pagination-wrapper:before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 0 auto 1.5rem auto;
  border-radius: 4px;
  opacity: 0.6;
}

/* ---------- 2. 页码链接 / 当前页 / 上一页下一页等（统一尺寸） ---------- */
.pagination-wrapper a,
.pagination-wrapper span:not(.disabled):not(.dotted):not(.break),
.pagination-wrapper .page-numbers,
.pagination-wrapper .page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 42px; /* 固定高度，与 select 完全一致 */
  padding: 0 14px;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  color: #4a3b2c;
  background-color: #fffcf8;
  border: 1px solid #e6dacf;
  border-radius: 32px;
  transition: all 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

/* 上一页 / 下一页 / 首页 / 尾页（文字稍多，加宽内边距） */
.pagination-wrapper a:first-child,
.pagination-wrapper a:last-child,
.pagination-wrapper .prev,
.pagination-wrapper .next,
.pagination-wrapper .first,
.pagination-wrapper .last {
  padding: 0 18px;
}

/* 当前页码高亮 */
.pagination-wrapper span.current,
.pagination-wrapper .active {
  background: #c0392b;
  border-color: #c0392b;
  color: #ffffff;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 2px 6px rgba(192, 57, 43, 0.2);
}

/* 禁用状态（上一页/下一页不可点击） */
.pagination-wrapper span.disabled,
.pagination-wrapper span.disable {
  background: #faf4ed;
  color: #b3a18e;
  border-color: #e8dfd5;
  cursor: not-allowed;
  opacity: 0.7;
}

/* 省略号样式 */
.pagination-wrapper span.dotted,
.pagination-wrapper span.break {
  background: transparent;
  border: none;
  padding: 8px 6px;
  min-width: auto;
  color: #8b765c;
  letter-spacing: 1px;
}

/* 悬停效果（链接可点时） */
.pagination-wrapper a:hover {
  background-color: #f5e9dd;
  border-color: #c9b69e;
  color: #a5482c;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.1);
}

.pagination-wrapper select {
  height: 42px; /* 与按钮同高 */
  min-width: 85px;
  padding: 0 32px 0 16px;
  margin: 0;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
  color: #3e2e22;
  background-color: #fffcf8;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a5482c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  border: 1px solid #e2d4c8;
  border-radius: 32px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.pagination-wrapper select:hover {
  border-color: #c9b294;
  background-color: #fffef8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pagination-wrapper select:focus {
  outline: none;
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

.pagination-wrapper input[type=text],
.pagination-wrapper input[type=number] {
  width: 70px;
  height: 42px;
  padding: 0 12px;
  font-size: 0.9rem;
  text-align: center;
  border: 1px solid #e2d4c8;
  border-radius: 32px;
  background-color: #fffcf8;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.2s ease;
}

.pagination-wrapper input[type=text]:focus,
.pagination-wrapper input[type=number]:focus {
  outline: none;
  border-color: #c0392b;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.1);
}

.pagination-wrapper button,
.pagination-wrapper input[type=submit] {
  height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background-color: #c0392b;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.pagination-wrapper button:hover,
.pagination-wrapper input[type=submit]:hover {
  background-color: #a12f22;
  transform: translateY(-1px);
}

select:not(.pagination-wrapper select) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block;
  width: auto;
  min-width: 130px;
  padding: 10px 36px 10px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.4;
  color: #3e2e22;
  background-color: #fffcf8;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a5482c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  border: 1px solid #e2d4c8;
  border-radius: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  transition: all 0.2s ease;
}

select:not(.pagination-wrapper select):hover {
  border-color: #c9b294;
  background-color: #fffef8;
  box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.05);
}

select:not(.pagination-wrapper select):focus {
  outline: none;
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
  background-color: #ffffff;
}

select option {
  font-size: 0.9rem;
  padding: 10px;
  background-color: #fffcf8;
  color: #3e2e22;
}

select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #f5efe8;
  border-color: #dfd2c5;
}

/* ---------- 6. 移动端适配（缩小尺寸，保持协调） ---------- */
@media (max-width: 640px) {
  .pagination-wrapper {
    gap: 8px;
  }
  .pagination-wrapper a,
  .pagination-wrapper span:not(.disabled):not(.dotted):not(.break),
  .pagination-wrapper select,
  .pagination-wrapper input[type=text],
  .pagination-wrapper input[type=number],
  .pagination-wrapper button,
  .pagination-wrapper input[type=submit] {
    height: 36px;
    font-size: 0.8rem;
    min-width: 32px;
    padding: 0 10px;
  }
  .pagination-wrapper a:first-child,
  .pagination-wrapper a:last-child,
  .pagination-wrapper .prev,
  .pagination-wrapper .next,
  .pagination-wrapper .first,
  .pagination-wrapper .last {
    padding: 0 12px;
  }
  .pagination-wrapper select {
    min-width: 70px;
    padding: 0 28px 0 12px;
    background-position: right 10px center;
    background-size: 14px;
  }
  .pagination-wrapper input[type=text],
  .pagination-wrapper input[type=number] {
    width: 60px;
  }
  /* 全局 select 移动端缩小 */
  select:not(.pagination-wrapper select) {
    padding: 8px 32px 8px 14px;
    min-width: 110px;
    font-size: 0.85rem;
    background-size: 14px;
    background-position: right 12px center;
  }
}
.pagination-wrapper .goto-text {
  margin-right: 0; /* 无需设置，gap 已处理 */
}

/* 百家姓大全专用样式 - 不干扰全局 */
.surname-daquan {
  background: #fffef8;
  border-radius: 48px;
  padding: 2rem 1.8rem;
  margin: 2rem auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0e3d8;
}

.surname-daquan .daquan-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px dashed #f0dbc8;
}

.surname-daquan .daquan-title i {
  font-size: 1.8rem;
  color: #c0392b;
}

.surname-daquan .daquan-title h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #b45f3b;
  margin: 0;
}

.surname-daquan .daquan-title span {
  margin-left: auto;
  font-size: 0.8rem;
  background: #f9ede2;
  padding: 4px 12px;
  border-radius: 30px;
  color: #8b5a3c;
}

.surname-grid-full {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  justify-content: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
}

.surname-grid-full li {
  list-style: none;
}

.surname-grid-full a {
  display: inline-block;
  background: #fef7f0;
  color: #5a3e2b;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.45rem 1.2rem;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid #f0dfd0;
  min-width: 70px;
  text-align: center;
}

.surname-grid-full a:hover {
  background: #f5e6d9;
  border-color: #d6b28c;
  color: #9b4b2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 640px) {
  .surname-daquan {
    padding: 1.2rem;
  }
  .surname-grid-full a {
    font-size: 0.85rem;
    padding: 0.3rem 0.9rem;
    min-width: 56px;
  }
  .surname-daquan .daquan-title h3 {
    font-size: 1.3rem;
  }
}
/* 照片墙页面独有样式 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  padding: 1rem;
  text-align: center;
  background: white;
  font-size: 0.9rem;
  color: #c0392b;
  font-weight: 500;
  border-top: 1px solid #f0e7db;
}

/* 灯箱效果 */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 8px;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: all 0.3s;
}

.close-lightbox:hover {
  color: #c0392b;
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: #c0392b;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 98;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.back-to-top:hover {
  background: #a93226;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .gallery-hero {
    padding: 50px 0;
  }
  .gallery-hero h1 {
    font-size: 1.8rem;
  }
  .gallery-grid {
    gap: 1rem;
  }
  .gallery-item img {
    height: 200px;
  }
  .close-lightbox {
    top: 15px;
    right: 20px;
    font-size: 32px;
  }
}
/* ========== qiming.html 页面独有样式 ========== */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.step-item {
  flex: 1;
  min-width: 180px;
  background: white;
  border-radius: 40px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0e0d0;
}

.step-num {
  width: 48px;
  height: 48px;
  background: #c0392b;
  color: white;
  border-radius: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.price-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  text-align: center;
  transition: 0.2s;
  border: 1px solid #f3e5d8;
  height: 100%;
}

.price-card.featured {
  border: 2px solid #c0392b;
  box-shadow: 0 20px 30px -12px rgba(192, 57, 43, 0.2);
  transform: scale(1.02);
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: #c0392b;
  margin: 1rem 0;
}

.price small {
  font-size: 0.9rem;
  font-weight: normal;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid #c0392b;
  color: #c0392b;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
  transition: 0.2s;
}

.btn-outline-light:hover {
  background: #c0392b;
  color: white;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.compare-table th,
.compare-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #f0e0d0;
}

.compare-table th {
  background: #fef3e9;
  color: #c0392b;
}

@media (max-width: 768px) {
  .service-hero {
    padding: 60px 0;
  }
  .service-hero h1 {
    font-size: 2rem;
  }
  .service-hero p {
    font-size: 1rem;
  }
  .service-hero-stats {
    gap: 1.5rem;
  }
  .service-hero-stats .stat span:first-child {
    font-size: 1.2rem;
  }
  .step-item {
    min-width: 140px;
  }
  .price-card.featured {
    transform: none;
  }
}
/* 新增视频模块样式 */
.video-section {
  margin: 2rem 0;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
  background: #1a1a1a;
  cursor: pointer;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* 自定义播放按钮（如果视频没有controls或想美化） */
.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  pointer-events: none;
  /* 让点击穿透到video元素 */
}

.play-overlay i {
  font-size: 4rem;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform 0.2s;
}

.video-container:hover .play-overlay i {
  transform: scale(1.1);
  background: #c0392b;
}

@media (max-width: 768px) {
  .play-overlay i {
    font-size: 2.5rem;
    width: 55px;
    height: 55px;
  }
}
/* 聊天记录网格容器 */
.chat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* 每张卡片样式 */
.chat-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  cursor: pointer;
}

.chat-card img {
  width: 100%;
  height: auto;
  display: block;
}

.chat-card:hover {
  transform: translateY(-5px);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .chat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .chat-grid {
    grid-template-columns: 1fr !important; /* 强制单列 */
    gap: 1rem;
  }
}
/* ========== daowu.html 页面独有样式 ========== */
.daowu-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.stat-item {
  background: white;
  border-radius: 32px;
  padding: 1.5rem 2rem;
  min-width: 160px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #c0392b;
}

.timeline {
  max-width: 800px;
  margin: 2rem auto;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 28px;
  padding: 1rem 1.5rem;
  align-items: center;
  border: 1px solid #f0e0d0;
}

.timeline-year {
  font-weight: 800;
  font-size: 1.4rem;
  color: #c0392b;
  min-width: 100px;
}

.timeline-desc {
  color: #4a4a4a;
}

.testimonial-card {
  background: white;
  border-radius: 28px;
  padding: 1.5rem;
  max-width: 320px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: 0.2s;
}

.testimonial-card i {
  font-size: 1.8rem;
  color: #c0392b;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 25px -12px rgba(0, 0, 0, 0.1);
}

/* daowu.html 独有样式补充 */
.daowu-hero {
  margin-top: 76px;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  position: relative;
}

.daowu-hero-content {
  position: relative;
  z-index: 2;
}

.daowu-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.daowu-hero-badge i {
  margin-right: 6px;
  color: #f1c40f;
}

/* ========== 照片墙样式（强化版，防覆盖） ========== */
section .photo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem;
  margin-top: 2rem;
}

.photo-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.photo-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.2);
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 1rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
  text-align: center;
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

/* 桌面端显式确保三列（769px以上） */
@media (min-width: 769px) {
  section .photo-wall {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
  }
}
/* 手机端单列 */
@media (max-width: 768px) {
  .daowu-hero h1 {
    font-size: 2rem;
  }
  .timeline-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .timeline-year {
    min-width: auto;
  }
  /* 照片墙手机版：一行一个 */
  section .photo-wall {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .company-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
/* 公司简介、服务特点卡片样式 */
.feature-card {
  background: white;
  border-radius: 20px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0e7db;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
  background-color: #fefaf5;
}

.feature-card i {
  font-size: 2.5rem;
  color: #c0392b;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #2c3e2f;
}

.feature-card p {
  color: #5a5a5a;
  line-height: 1.6;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.company-stat-item {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #f0e7db;
}

.company-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #c0392b;
  display: block;
}

.company-stat-label {
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 768px) {
  .photo-wall {
    gap: 1rem;
  }
  .company-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
/* 资质切换按钮+图片样式 */
.tab-btn {
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  border: 1px solid #e0d0b8;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}

.tab-btn.active {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

.tab-btn:hover:not(.active) {
  background: #f9f1e7;
}

.license-img {
  display: block;
  max-width: 100%;
  max-height: 520px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  -o-object-fit: contain;
     object-fit: contain;
}

.tab-panel {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ========== contact.html 页面独有样式 ========== */
.contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.contact-detail-card {
  background: white;
  border-radius: 28px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.05);
  transition: 0.2s;
  border: 1px solid #f0e7db;
}

.contact-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

.contact-detail-card i {
  font-size: 2.5rem;
  color: #c0392b;
  margin-bottom: 1rem;
}

.highlight-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #c0392b;
  margin: 0.5rem 0;
}

.copy-contact-btn {
  background: #f0e0d0;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 40px;
  cursor: pointer;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.service-info-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-info {
  background: white;
  border-radius: 28px;
  padding: 1.8rem;
  flex: 1;
  min-width: 200px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0e0d0;
}

.service-info i {
  font-size: 2rem;
  color: #c0392b;
  margin-bottom: 0.8rem;
}

.map-placeholder {
  background: #eef2e6;
  border-radius: 28px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid #ddd5c5;
}

.map-placeholder i {
  font-size: 3rem;
  color: #c0392b;
  margin-bottom: 1rem;
}

.contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 32px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.form-row input,
.form-row select,
textarea {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid #e0d6c8;
  border-radius: 60px;
  font-family: inherit;
  outline: none;
}

textarea {
  border-radius: 24px;
  width: 100%;
  margin-bottom: 1rem;
}

.form-tip {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.8rem;
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 0;
  }
  .contact-hero h1 {
    font-size: 2rem;
  }
  .highlight-number {
    font-size: 1.4rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0.8rem;
  }
}
/* 省市列表样式 - 仿58同城风格 */
.city-list-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

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

.city-header h1 {
  font-size: 2rem;
  color: #2c3e2f;
  margin-bottom: 0.5rem;
}

.city-header p {
  color: #777;
  font-size: 1rem;
}

.province-block {
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0e7db;
}

.province-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #c0392b;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #f1c40f;
  display: inline-block;
}

.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-top: 0.8rem;
}

.city-item {
  color: #5a5a5a;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s;
  padding: 0.2rem 0;
  white-space: nowrap;
}

.city-item:hover {
  color: #c0392b;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .city-list-main {
    padding: 1rem;
  }
  .province-name {
    font-size: 1.2rem;
  }
  .city-item {
    font-size: 0.85rem;
    white-space: normal;
  }
  .city-grid {
    gap: 0.4rem 0.8rem;
  }
}
/* 仅针对 FAQ 内容区域的问题样式，不影响页面其他部分 */
#articleContent1 .faq-question-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: #c0392b;
  margin: 0.8rem 0 0.3rem 0;
}

#articleContent1 .faq-answer-text {
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  padding-left: 0;
}

#articleContent1 .faq-category-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e2f;
  margin: 1.5rem 0 0.5rem 0;
  padding-top: 0.5rem;
  border-top: 2px solid #f0e0d0;
}

#articleContent1 .faq-category-title:first-of-type {
  margin-top: 0;
  border-top: none;
}

/* 确保问答块不产生浮动或溢出 */
#articleContent1 .faq-item {
  clear: both;
}

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

body {
  font-family: "Microsoft YaHei", "Segoe UI", "PingFang SC", Roboto, sans-serif;
  background: #fefcf8;
  color: #2c2c2c;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* 全局链接基础样式（可选，保持整体一致） */
a {
  color: #2c3e2f;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: #c0392b;
}

.container {
  width: 1200px;
  max-width: 92%;
  margin: 0 auto;
}

/* 导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c0392b, #e67e22);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

.logo span {
  font-size: 0.9rem;
  font-weight: normal;
  color: #c0392b;
  background: none;
  -webkit-background-clip: unset;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #2c3e2f;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #c0392b;
}

.consult-btn {
  background: #c0392b;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(192, 57, 43, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
}

.consult-btn i {
  font-size: 1.2rem;
}

.consult-btn:hover {
  background: #a93226;
  transform: scale(1.02);
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #c0392b;
}

/* Banner */
.banner {
  margin-top: 76px;
  padding: 120px 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%), url("https://cdn.zhxiawh.com/images/banner08.jpg") center/center no-repeat;
  background-size: auto 100%;
  color: white;
  text-align: center;
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.banner-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #c0392b;
  color: white;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: #a93226;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #f1c40f;
  color: white;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(241, 196, 15, 0.2);
  border-color: #f39c12;
}

/* 通用区块 */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  font-weight: 700;
}

.section-title:after {
  content: "";
  width: 70px;
  height: 3px;
  background: #c0392b;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.bg-light {
  background: #fef7ec;
}

.service-grid .card ul {
  list-style: none;
  padding-left: 0;
}
.service-grid .card ul .service-grid .card li {
  margin-bottom: 0.5rem;
}

/* 网格卡片 */
.grid-3,
.advantage-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  border: 1px solid #f0e7db;
  cursor: default;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
  background-color: #fefaf5;
  border-color: #e3c9b5;
}

.card i {
  font-size: 2.8rem;
  color: #c0392b;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

/* 师傅区域 */
.master-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}

.master-img img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
}

.master-text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.master-badge {
  background: rgba(192, 57, 43, 0.062745098);
  padding: 0.8rem 1.2rem;
  border-left: 4px solid #c0392b;
  margin: 1.2rem 0;
}

/* 知识卡片区 */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.knowledge-item {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: 0.2s;
  border: 1px solid #f3ede5;
}

.knowledge-item:hover {
  background-color: #fefaf5;
  transform: translateY(-2px);
}

.knowledge-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #c0392b;
}

.knowledge-item p {
  color: #4a4a4a;
  margin-bottom: 0.8rem;
}

.read-more {
  color: #c0392b;
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
}

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

.faq-item {
  background: white;
  border-radius: 20px;
  margin-bottom: 1rem;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  border: 1px solid #f0e0d0;
  transition: background 0.2s;
}

.faq-item:hover {
  background-color: #fef8f2;
}

.faq-question {
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  color: #5e5e5e;
  padding-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 0.8rem;
}

/* 联系我们区域 - 弹性卡片占满布局 */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

/* 移动端联系卡片 每个独占一行 */
@media (max-width: 768px) {
  .contact-cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .contact-card {
    width: 100% !important;
    margin: 0 auto !important;
  }
}
.contact-card {
  flex: 1;
  min-width: 200px;
  background: white;
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  border: 1px solid #f0e7db;
  cursor: default;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
  background-color: #fefaf5;
  border-color: #e3c9b5;
}

.contact-card i {
  font-size: 2.2rem;
  color: #c0392b;
  margin-bottom: 1rem;
}

.contact-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.contact-card p {
  color: #5a5a5a;
  font-size: 0.95rem;
}

.contact-card small {
  font-size: 0.8rem;
  color: #c0392b;
}

/* 底部 */
.footer {
  background: #3a3a3a;
  color: #ddd8cc;
  padding: 3rem 0 2rem;
}

.footer-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-wrap a {
  color: #ddc;
  text-decoration: none;
}
.footer-wrap a:hover {
  text-decoration: underline;
  color: #e67e22;
}

/* 移动端隐藏：快速链接 + 工作时间 */
@media (max-width: 767px) {
  .footer-wrap > div:nth-child(2),
  .footer-wrap > div:nth-child(3) {
    display: none !important;
  }
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #4a4a4a;
  font-size: 0.85rem;
  color: #aaa8a0;
}

/* 弹窗通用样式 */
.consult-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}

.consult-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-pc,
.modal-mobile {
  background: white;
  max-width: 460px;
  width: 90%;
  border-radius: 32px;
  text-align: center;
  padding: 2rem 1.8rem;
  position: relative;
  box-shadow: 0 30px 40px rgba(0, 0, 0, 0.3);
}

.modal-mobile {
  max-width: 380px;
}

.qrcode-sim {
  width: 180px;
  height: 180px;
  background: #1a1a1a;
  margin: 1rem auto;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  border: 1px solid #ddd;
  background: #2c3e2f;
  background-image: radial-gradient(circle at 25% 40%, rgba(255, 255, 255, 0.2) 2%, transparent 2.5%);
  background-size: 12px 12px;
}

.qrcode-sim i {
  font-size: 58px;
  margin-bottom: 8px;
  color: #f1c40f;
}

.wx-number {
  font-size: 1.6rem;
  font-weight: 800;
  background: #f5f0e8;
  padding: 12px;
  border-radius: 48px;
  letter-spacing: 1px;
  color: #c0392b;
  margin: 15px 0;
}

.copy-btn {
  background: #c0392b;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 60px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.2s;
  width: 80%;
  margin: 0.8rem auto;
  display: inline-block;
}

.copy-btn:active {
  transform: scale(0.97);
}

.step-guide {
  text-align: left;
  background: #fef3e9;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  margin: 1rem 0;
}
.step-guide li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.step-guide li > span {
  display: block;
  flex: 1;
}
.step-guide li i {
  margin-top: 3px;
  flex-shrink: 0;
}
.step-guide li strong {
  white-space: nowrap;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #aaa;
  transition: 0.2s;
}

.close-modal:hover {
  color: #c0392b;
}

.tip-copy {
  color: #2e7d32;
  background: #e8f5e9;
  border-radius: 30px;
  padding: 6px;
  font-size: 0.85rem;
  margin-top: 8px;
  display: none;
}

.float-wx {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #c0392b;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 99;
}

/* ========== 移动端优化 ========== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 75%;
    max-width: 320px;
    height: calc(100vh - 76px);
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    transition: 0.3s;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    gap: 1.2rem;
    z-index: 999;
    overflow-y: auto;
    justify-content: flex-start;
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .banner h1 {
    font-size: 2rem;
  }
  .master-wrap {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3rem 0;
  }
  .wx-number {
    font-size: 1.4rem;
  }
  .consult-btn {
    padding: 0.5rem;
    border-radius: 50%;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    background: #c0392b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .consult-btn .btn-text {
    display: none;
  }
  .consult-btn i {
    font-size: 1.4rem;
    margin: 0;
  }
  .logo {
    font-size: 1.2rem;
  }
  .logo span {
    font-size: 0.7rem;
  }
  .nav {
    gap: 4px;
  }
  .consult-btn {
    order: 1;
    margin-right: 4px;
  }
  .mobile-toggle {
    order: 2;
    margin-left: 0;
  }
  .logo {
    order: 0;
  }
  .menu-contact {
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid #f0e0d0;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
  }
  .menu-contact p {
    margin: 6px 0;
    color: #c0392b;
    font-weight: 500;
  }
  .menu-contact i {
    margin-right: 8px;
    width: 24px;
    color: #c0392b;
  }
  .menu-contact .wx-highlight {
    background: rgba(192, 57, 43, 0.062745098);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 40px;
    margin-top: 6px;
  }
  .contact-card {
    min-width: 160px;
  }
}
@media (min-width: 769px) {
  .consult-btn .btn-text {
    display: inline;
  }
  .menu-contact {
    display: none;
  }
}
/* 轮播图样式 */
.master-carousel {
  position: relative;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 32px;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: #c0392b;
  width: 24px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .carousel-container {
    height: 280px;
  }
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}
/* 首页Banner轮播图样式 */
.banner-carousel {
  position: relative;
  width: 100%;
  margin-top: 76px;
  overflow: hidden;
}

.banner-carousel .carousel-container {
  position: relative;
  width: 100%;
  height: 600px;
}

.banner-carousel .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  -o-object-fit: cover;
     object-fit: cover;
}

.banner-carousel .carousel-slide.active {
  opacity: 1;
}

.banner-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 10;
}

.banner-carousel .carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.banner-carousel .carousel-prev {
  left: 20px;
}

.banner-carousel .carousel-next {
  right: 20px;
}

.banner-carousel .carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.banner-carousel .carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.banner-carousel .carousel-dot.active {
  background: #c0392b;
  width: 24px;
  border-radius: 5px;
}

/* 半透明遮罩层 */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 4;
  pointer-events: none;
}

/* 轮播图上的文字内容 */
.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 5;
  width: 100%;
  padding: 0 20px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.banner-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.banner-content .btn-primary {
  background: #c0392b;
  display: inline-block;
}

.banner-content .btn-secondary {
  border: 2px solid #f1c40f;
  background: transparent;
}

@media (max-width: 768px) {
  .banner-carousel .carousel-container {
    height: 400px;
  }
  .banner-content h1 {
    font-size: 1.8rem;
  }
  .banner-content p {
    font-size: 0.9rem;
  }
  .banner-carousel .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}
/* ========= 原始 Banner 组件 ========= */
.list-hero {
  margin-top: 76px;
  padding: 80px 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  position: relative;
}

.list-hero-content {
  position: relative;
  z-index: 2;
}

.list-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.list-hero-badge i {
  margin-right: 6px;
  color: #f1c40f;
}

.list-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.list-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .list-hero {
    padding: 60px 0;
  }
  .list-hero h1 {
    font-size: 1.8rem;
  }
  .list-hero p {
    font-size: 1rem;
  }
}
/* 移动端适配 - 咨询按钮优化 */
@media (max-width: 768px) {
  .consult-trigger.btn-primary {
    display: block;
    /* 块级元素，避免挤压 */
    width: auto;
    /* 自动宽度，但受父容器限制 */
    max-width: 90%;
    /* 最大宽度为容器90% */
    margin: 0.5rem auto 0;
    /* 上下居中 */
    padding: 12px 16px;
    /* 增加舒适点击区域 */
    font-size: 1rem;
    white-space: normal;
    /* 允许文字换行 */
    word-break: break-word;
    /* 长微信号强制换行 */
    box-sizing: border-box;
    text-align: center;
  }
}
.hotcity-section {
  background: #fffaf5;
  border-top: 1px solid #f5e8dc;
  border-bottom: 1px solid #f5e8dc;
  padding: 3rem 0;
}

.hotcity-subdesc {
  text-align: center;
  color: #6a5c4c;
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hotcity-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.2rem;
  margin: 1rem 0 1.5rem;
}

.city-tag {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #eedbcb;
  padding: 0.6rem 1.6rem;
  border-radius: 48px;
  font-size: 1rem;
  font-weight: 500;
  color: #3e2c1f;
  transition: all 0.2s ease;
  text-decoration: none;
}

.city-tag:hover {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px -8px rgba(192, 57, 43, 0.3);
}

.hotcity-moretip {
  text-align: center;
  font-size: 0.9rem;
  color: #8b7a69;
  margin-top: 1.8rem;
  background: #fef3e9;
  display: inline-block;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1.5rem;
  border-radius: 60px;
}

.hotcity-moretip i {
  margin-right: 6px;
}

@media (max-width: 768px) {
  .hotcity-links {
    gap: 0.8rem;
  }
  .city-tag {
    padding: 0.45rem 1.2rem;
    font-size: 0.85rem;
  }
  .hotcity-subdesc {
    font-size: 0.9rem;
  }
  .hotcity-moretip {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    max-width: 90%;
  }
}/*# sourceMappingURL=style.css.map */