/* 重庆特色样式 - cq前缀命名空间 */
.cq-hero {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  position: relative;
  overflow: hidden;
}

.cq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://picsum.photos/1920/1080?random=17') center/cover;
  /* z-index: -2; */
}

.cq-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(231, 76, 60, 0.8);
  z-index: -1;
}

.cq-navbar {
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
}

.cq-logo {
  font-weight: bold;
  color: #e74c3c !important;
}

.cq-phone {
  color: #e74c3c;
  font-weight: 600;
}

.cq-service-icon {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cq-case-bg-1 {
  background-image: url(../../../Content/Images/BaoAn/case1.png);
}

.cq-case-bg-2 {
  background-image: url(../../../Content/Images/BaoAn/case2.png);
}

.cq-case-bg-3 {
  background-image: url(../../../Content/Images/BaoAn/case3.png);
}

.cq-case-bg-4 {
  background-image: url(../../../Content/Images/BaoAn/case4.png);
}

.cq-case-bg-5 {
  background-image: url(../../../Content/Images/BaoAn/case5.png);
}

.cq-team-bg {
  background-image: url(../../../Content/Images/BaoAn/team1.jpg);
}

.cq-gradient-text {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 重庆特色布局 - 分层布局 */
.cq-layered-section {
  position: relative;
  padding: 4rem 0;
}

.cq-layered-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  z-index: -1;
}

.cq-services-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cq-service-layer {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cq-service-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.cq-service-layer:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.cq-service-layer:nth-child(even) {
  margin-left: 2rem;
}

.cq-service-layer:nth-child(odd) {
  margin-right: 2rem;
}

.cq-cases-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.cq-cases-track {
  display: flex;
  animation: cq-slide 15s linear infinite;
}

@keyframes cq-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.cq-case-slide {
  flex: 0 0 400px;
  margin-right: 2rem;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cq-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.cq-team-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.cq-team-card:hover {
  transform: translateY(-5px);
}

.cq-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cq-feature-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.cq-feature-item:hover {
  transform: translateY(-5px);
}