/* 全局重置 + 文字抗锯齿 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #ffffff;
  color: #222222;
  font-family: "Microsoft YaHei", "PingFang SC", "SimHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 20px;
}
:root {
  --gold: #c8a46a;
  --darkGray: #222831;
  --lightGray: #666666;
  --pageBg: #F7F8F8;
  --white: #fff;
  --dark-bg: #333333;
}
.gold-text {
  color: var(--gold);
}

/* 导航头部 */
header {
  width: 100%;
  background: var(--white);
  padding: 16px 0;
}
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 500;
}
.logo-img {
  width: 150px;
  height: 25px;
}
.logo-icon {
  font-size: 36px;
  color: var(--gold);
  font-weight: 700;
}
.nav-pc {
  display: none;
  align-items: center;
  gap: 32px;
}
@media (min-width: 1080px) {
  .nav-pc {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
}
.nav-item {
  font-size: 16px;
  position: relative;
  padding: 8px 0;
}
.nav-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gold);
  left: 0;
  bottom: 0;
  transition: 0.3s;
}
.nav-item:hover::after {
  width: 100%;
}
.btn-top {
  background: var(--gold);
  color: #fff;
  padding: 8px 22px;
  border-radius: 4px;
  font-size: 15px;
}
.menu-btn {
  border: none;
  background: transparent;
  font-size: 24px;
}
.mobile-menu {
  height: 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #eee;
  transition: 0.3s height;
}
.mobile-menu.show {
  height: 300px;
  padding: 16px;
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
}

/* Banner 带背景轮播 紧凑高度 */
.banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  padding: 0 20px;
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
}
.banner::before,
.banner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1700px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}
.banner::before {
  top: 30%;
}
.banner::after {
  top: 50%;
}
/* 轮播图片容器 - 与container宽度保持一致 */
.banner-slide-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1700px;
  height: 100%;
  margin: 0 auto;
  z-index: 0;
}
.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
    padding: 0 20px;
  transition: opacity 3s ease;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-slide.active {
  opacity: 1;
}
/* 白色半透明遮罩 */
.banner-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  z-index: 1;
}
.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 20px;
}
.banner-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .banner-title {
    font-size: 28px;
  }
}
.banner-desc {
  font-size: 16px;
  color: var(--lightGray);
  margin-bottom: 28px;
}
.banner-btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.banner-tag {
  background: var(--gold);
  color: #fff;
  padding: 10px 26px;
  border-radius: 3px;
  font-size: 16px;
  white-space: nowrap;
}
.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: var(--gold);
}
.banner-bottom-title {
  font-size: 25px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

/* 业务板块 */
.service-section {
  padding: 20px 0 20px;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 1079px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}
.service-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}
.card-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 30px;
}
.icon-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  text-align: center;
}
.icon-box {
  width: 56px;
  height: 56px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  color: var(--gold);
}
.icon-box svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

/* 案例区域 */
.case-main-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 35px;
}
.case-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.case-track-wrap {
  overflow: hidden;
  width: 100%;
}
.case-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}
.case-item {
  flex: 0 0 calc(25% - 15px);
  min-width: calc(25% - 15px);
}
@media (max-width: 1024px) {
  .case-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
  }
}
@media (max-width: 768px) {
  .case-item {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}
@media (max-width: 480px) {
  .case-item {
    flex: 0 0 calc(100%);
    min-width: calc(100%);
  }
}
.case-img-box {
  aspect-ratio: 16/9;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}
.case-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-prev,
.case-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}
.case-prev:hover,
.case-next:hover {
  background: var(--gold);
  color: #fff;
}
.case-prev {
  left: 10px;
}
.case-next {
  right: 10px;
}
.case-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.case-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
}
.case-dot.active {
  background: var(--gold);
}

/* 底部深色咨询栏 */
.bottom-bar {
  background: var(--dark-bg);
  color: #fff;
  padding: 15px 0;
  -webkit-text-stroke: 0.15px rgba(255,255,255,0.06);
}
.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.bar-left {
  flex: 1;
  padding-right: 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.bar-left h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.bar-left p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.bar-center {
  flex: 4;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
  flex: 1;
}
.service-item:last-child {
  border-right: none;
}
.service-item svg {
  width: 48px;
  height: 48px;
  display: block;
}
.service-item span {
  font-size: 12px;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}
.bar-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.btn-bottom {
  background: var(--gold);
  color: #fff;
  padding: 12px 32px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
}
@media (max-width: 1024px) {
  .bar-inner {
    flex-direction: column;
    text-align: center;
  }
  .bar-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .service-item {
    border-right: none;
    padding: 10px;
  }
}

/* 联系方式footer */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 20px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  flex: 1;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer-center {
  flex: 3;
  display: flex;
  justify-content: center;
  gap: 40px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}
.contact-icon {
  font-size: 16px;
}
.footer-right {
  flex: 1;
  text-align: right;
}
.footer-right p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-right .beian {
  margin-top: 6px;
}
.footer-right .beian a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-right .beian a:hover {
  color: var(--gold);
}
@media (max-width: 1024px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .footer-center {
    flex-direction: column;
    gap: 15px;
  }
  .footer-right {
    text-align: center;
  }
}

/* 返回顶部悬浮按钮 */
.float-box {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: 0.3s transform;
}
.float-gold {
  background: var(--gold);
  color: #fff;
}
#backTopBtn {
  opacity: 0;
  visibility: hidden;
  transition: 0.3s all;
}
#backTopBtn.show {
  opacity: 1;
  visibility: visible;
}