/* 主题内容样式 */
.topic_1 {
  margin-bottom: 64px;
}
.container{
  margin-top: 4.95vw;
}
/* 服务容器样式 */
.service-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* 左侧内容区域样式 */
.service-left {
  flex: 1;
  background-color: #D8241E;
  color: #fff;
  padding: 40px 30px !important;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 64px;
  color: rgba(152, 32, 23, 1);
  text-align: center;
  padding-top: 40px;
}
.service-title-mobile{
  display: none;
}
.service-description p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 右侧内容区域样式 */
.service-right {
  flex: 1;
  background-color: #0D47A1;
  color: #fff;
  min-width: 300px;
}

.service-systems {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.system-header {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.system-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  line-height: 1.4;
}

.system-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.system-subtitle {
  font-size: 16px;
  margin-bottom: 15px;
  text-align: center;
}

.system-images {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.system-image {
  text-align: center;
}

.system-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* 问题解决方案区域样式 */
.solution-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 0px;
}

.solution-item {
  flex-basis: calc(25% - 15px);
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.solution-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}

.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-list li {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
  line-height: 1.4;
  text-align: center;
}


/* 三大优势区域样式 */
.topic_2 {
  margin-bottom: 64px;
}
.topic_2 {
  /* background: #FFF;
  padding: 40px 0;
  margin-top: 64px; */
}

.advantages-title {
  font-size: 28px;
  color: #982017;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.advantages-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.advantage-card {
  flex-basis: calc(33.33% - 20px);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advantage-image {
  height: 200px;
  overflow: hidden;
}

.advantage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.advantage-card:hover .advantage-image img {
  transform: scale(1.05);
}

.advantage-content {
  padding: 20px;
}

/* 律师团队展示区域样式 */
.topic_3 {
  margin-bottom: 64px;
}

.lawyers-title {
  font-size: 48px;
  color: rgba(152, 32, 23, 1);
  text-align: center;
  margin-bottom: 46px;
  font-weight: 700;
  line-height: 44px;
}

.lawyers-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 1224px;
  margin: 0 auto;
}

.lawyer-card {
  width: 372px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.lawyer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.lawyer-image {
  height: 384px;
  position: relative;
  overflow: hidden;
  background: url(../../images/topic/lawyer_bg.png) no-repeat center center; /* 使用lawyer_bg.png作为背景图 */
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.lawyer-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

.lawyer-card:hover .lawyer-image img {
  transform: scale(1.05);
}

.lawyer-content {
  padding: 15px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
}

.lawyer-name {
  font-size: 32px;
  font-weight: 700;
  color: rgba(0, 0, 0, 1);
  line-height: 44px;
  text-align: center;
}

.lawyer-description {
  font-size: 24px;
  color: rgba(0, 0, 0, 1);
  line-height: 44px;
  text-align: center;
  font-weight: normal;
  margin: 0;
}

.lawyer-consult {
  display: block;
  background-color: #d8241e;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  margin-top: auto; /* 将按钮推到卡片底部 */
  border-radius: 0; /* 移除圆角 */
  font-size: 24px;
}

.lawyer-consult:hover {
  background-color: #b71c1c;
}


/* 软件催收+律师函区域样式 */
.topic_4 {
  margin-bottom: 64px;
}
.topic_4 .container {
  background: #FFF;
  padding: 40px 0;
  margin-top: 64px;
}
.collection-title {
  font-size: 28px;
  color: #982017;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.collection-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.collection-left {
  flex: 1;
  min-width: 300px;
}

.collection-right {
  flex: 1;
  display: flex;
  flex-direction: row; /* 改为水平排列 */
  gap: 20px;
  min-width: 300px;
}

.collection-item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.collection-image {
  max-width: 100%;
  height: auto;
}

.collection-description {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 20px;
}

.description-left, .description-right {
  flex: 1;
  min-width: 300px;
}

.collection-description p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 5px 0;
  text-align: center;
}



.advantage-name {
  font-size: 18px;
  color: #333;
  text-align: center;
  margin: 0 0 10px;
  font-weight: bold;
}

.advantage-divider {
  height: 2px;
  width: 190px;
  background-color: #982017;
  margin: 0 auto 10px;
}

.advantage-subtitle {
  font-size: 16px;
  color: #982017;
  text-align: center;
}

/* 调解中心团队区域样式 */
.topic_5 {
  margin-bottom: 64px;
}
.topic_5 .container {
  background: #FFF;
  padding: 40px 0;
  margin-top: 64px;
}

.mediation-title {
  font-size: 28px;
  color: #982017;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.mediation-container {
  display: flex;
  flex-direction: column; /* 改为垂直排列 */
  gap: 30px;
  align-items: center;
}

.mediation-image {
  width: 100%; /* 占据全宽 */
  text-align: center;
}

.mediation-img {
  max-width: 100%;
  height: auto;
}

.mediation-content {
  width: 100%; /* 占据全宽 */
}

.mediation-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.mediation-list li {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}



.advantage-subtitle {
  margin: 0 0 15px;
  font-weight: bold;
}

.advantage-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 三大系统区域样式 */
.topic_6 {
  color: #fff;
}
.topic_6 .container {
  background: #FFF;
  padding: 40px 0;
  margin-top: 64px;
}
/* 物业公司管理难题区域样式 */
.topic_7 .container{
  background: #FFF;
  padding: 40px 0;
  margin-top: 64px;
}

/* 典型案例创造者区域样式 */
.topic_8 .container {
  background: #FFF;
  padding: 40px 0;
  margin-top: 64px;
}

/* 客户口碑区域样式 */
.topic_9 {
  margin-bottom: 64px;
}
.topic_9 .container {
  background: #FFF;
  padding: 40px 0;
  margin-top: 64px;
}

/* 七大理由区域样式 */
.topic_10 {
  margin-bottom: 64px;
}
.topic_10 .container {
  background: #FFF;
  padding: 40px 0;
  margin-top: 64px;
}
.reasons-title {
  font-size: 48px;
  color: rgba(152, 32, 23, 1);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  line-height: 44px;
}

.reasons-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.reasons-img {
  max-width: 100%;
  height: auto;
}

.testimonial-title {
  font-size: 28px;
  color: #982017;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.testimonial-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* 视频区域样式 */
.testimonial-video {
  flex: 1;
  max-width: 50%;
}

.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-wrapper video {
  width: 100%;
  display: block;
  cursor: pointer;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(152, 32, 23, 0.8);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}

.video-caption {
  text-align: center;
  margin-top: 10px;
  font-size: 16px;
  color: #333;
}

/* 图片轮播区域样式 */
.testimonial-slider {
  flex: 1;
  max-width: 50%;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 400px; /* 固定高度 */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slider-img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  flex-shrink: 0;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  object-fit: cover; /* 确保图片填充容器并保持比例 */
}

.slider-img.active {
  opacity: 1;
  z-index: 1;
}

/* 轮播容器已设置固定高度 */

.slider-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  box-sizing: border-box;
  z-index: 10; /* 确保导航按钮在图片上方 */
  pointer-events: none; /* 允许点击穿透到下方元素 */
}

.slider-prev,
.slider-next {
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  z-index: 20; /* 确保按钮在最上层 */
  pointer-events: auto; /* 恢复按钮的点击事件 */
}

.slider-prev:hover,
.slider-next:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.slider-prev img,
.slider-next img {
  width: 20px;
  height: 20px;
}

.collection-title {
  font-size: 28px;
  color: #982017;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.collection-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.collection-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.systems-title {
  font-size: 48px;
  color: rgba(152, 32, 23, 1);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  line-height: 60px;
}

.systems-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.system-item {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.system-number {
  width: 60px;
  height: 60px;
  background-color: #982017;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.system-name {
  font-size: 20px;
  color: #333;
  margin: 0 0 15px;
  font-weight: bold;
}

.system-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.systems-footer {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background-color: #982017;
  padding: 15px 20px;
  border-radius: 4px;
}

.systems-slogan {
  margin-left: 20px;
  font-size: 18px;
  font-weight: normal;
}

.problems-title {
  font-size: 48px;
  color: rgba(152, 32, 23, 1);
  text-align: center;
  margin-bottom: 45px;
  font-weight: 700;
  line-height: 44px;
}

.problems-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.problems-content {
  flex: 1;
  min-width: 300px;
}

.problems-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.problems-image {
  flex: 2;
  text-align: right;
}

/* FAQ部分样式 */
.topic_11 .container {
  background: #FFF;
  padding: 0;
  margin-top: 64px;
}

.faq-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.faq-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-header {
  height: 90px;
  background-color: rgba(216, 36, 30, 1);
  color: rgba(255, 255, 255, 1);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 90px;
}

.faq-list {
  padding: 0 15px;
}

.faq-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  flex: 1;
  font-size: 14px;
  color: #333;
  font-weight: 700;
  line-height: 40px;
}

.faq-consult {
  background-color: #e22319;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}



.problems-img {
  max-width: 100%;
  height: auto;
}


.testimonials-title {
  font-size: 48px;
  color: rgba(152, 32, 23, 1);
  text-align: center;
  margin-bottom: 68px;
  font-weight: 700;
  line-height: 44px;
}
.testimonials-section {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
.testimonial-video-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 420px;
  max-width: 520px;
  width: 38vw;
  position: relative;
}
.testimonial-video-cover {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  display: block;
}
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  z-index: 3;
  padding: 0;
}
.testimonial-video-card video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: block;
}
.testimonial-caption {
  font-size: 1.2rem;
  color: #222;
  padding: 16px 0 18px 18px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  text-align: left;
  font-weight: bold;
}

.testimonial-video-card {
  flex: 1 1 0;
  min-width: 320px;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.testimonial-video-cover,
.testimonial-video-card video {
  width: 100%;
  aspect-ratio: 16/9;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-praise-imgs {
  flex: 1 1 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  min-width: 320px;
  max-width: 540px;
}

.testimonial-praise-imgs img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: block;
}

.reason-img-section {
  width: 100%;
  padding: 60px 0 40px 0;
  background: #fff;
}
.reason-img-title {
  text-align: center;
  font-size: 48px;
  color: #C8231D;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 2px;
}
.reason-img-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.reason-img {
  max-width: 1100px;
  width: 90%;
  height: auto;
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-radius: 18px;
}



.chat-carousel {
  flex: 1 1 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  min-width: 320px;
  margin-left: 7vw;
}

.carousel-arrow {
  background-color: rgba(64, 64, 64, 0.3);
  border: none;
  font-size: 48px;
  color: #d8241e;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.carousel-arrow:hover {
  background-color: rgba(64, 64, 64, 0.8);
  color: #fff;
}

.carousel-track {
  display: flex;
  align-items: center;
  overflow: hidden;
  flex: 1;
  position: relative;
}

.carousel-item {
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
}
.carousel-item.active {
  opacity: 1;
  z-index: 2;
  position: relative;
}

.carousel-item img {
  width: 100%;
  object-fit: contain;
  border-radius: 18px;
}

@media (max-width: 1024px) {
  .carousel-track, .carousel-item {
    width: 95vw;
    min-width: 95vw;
    height: 60vw;
    max-width: 98vw;
    max-height: 80vw;
  }
  .reason-img-title { font-size: 32px; margin-bottom: 24px; }
  .reason-img { max-width: 95vw; border-radius: 12px; }
  .reason-img-section { padding: 30px 0 20px 0; }
  .reason-img-title { font-size: 20px; margin-bottom: 12px; }
  .reason-img { border-radius: 8px; }
  .testimonials-section {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .testimonial-praise-imgs {
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 98vw;
  }
  .testimonial-praise-imgs img {
    width: 100%;
    height: auto;
  }
  .solution-item {
    flex-basis: calc(50% - 15px);
  }
  
  .lawyer-card {
    flex-basis: calc(33.33% - 15px);
  }
  .lawyer-card {
    flex-basis: calc(50% - 15px);
  }
  .service-container {
    flex-direction: column;
  }
  
  .service-left, .service-right {
    width: 100%;
  }
  
  .systems-container {
    flex-direction: column;
  }
  
  .system-item {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .problems-container {
    flex-direction: column-reverse;
    gap: 20px;
  }
  
  .problems-content, .problems-image {
    width: 100%;
    text-align: center;
  }
  
  .collection-title, .testimonial-title {
    font-size: 22px;
  }
  
  .collection-img {
    max-width: 100%;
  }
  
  .testimonial-container {
    flex-direction: column;
  }
  
  .testimonial-video, .testimonial-slider {
    max-width: 100%;
  }
  
  .play-button {
    width: 50px;
    height: 50px;
  }
  
  .slider-prev, .slider-next {
    width: 30px;
    height: 30px;
  }
  
  .slider-prev img, .slider-next img {
    width: 15px;
    height: 15px;
  }
  .container{
    margin-top: 0 !important;
  }  
  .system-title {
    font-size: 18px;
  }
  
  .solution-item {
    flex-basis: 100%;
  }
  
  .advantage-card {
    flex-basis: 100%;
    margin-bottom: 20px;
  }
  
  .lawyer-card {
    flex-basis: 100%;
    margin-bottom: 20px;
  }
  
  .lawyers-title {
    font-size: 24px;
  }
  
  .advantages-title {
    font-size: 24px;
  }
  .faq-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-container {
    grid-template-columns: 1fr;
  }
  
  .faq-header {
    font-size: 16px;
  }
  
  .faq-question {
    font-size: 13px;
  }
  .mediation-container {
    flex-direction: column;
  }
  
  .reasons-title {
    font-size: 22px;
  }
  
  .reasons-img {
    max-width: 95%;
  }

  .collection-container {
    flex-direction: column;
  }
  
  .collection-description {
    flex-direction: column;
  }
}
