/* 服务商详情页样式 - 基于首页设计风格 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #1b1b1b;
  background: #fff;
}

.zf_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 面包屑导航 */
.zf_breadcrumb {
  background: #f8f8f8;
  padding: 20px 0;
  margin-bottom: 40px;
}

.zf_breadcrumb_container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zf_breadcrumb_icon {
  width: 20px;
  height: 20px;
}

.zf_breadcrumb_text {
  font-size: 14px;
  color: #666;
}

.zf_breadcrumb_text a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.zf_breadcrumb_text a:hover {
  color: #e60000;
}

.zf_breadcrumb_text span {
  color: #1b1b1b;
  font-weight: 500;
}

/* 服务商预览区 */
.zf_provider_preview {
  margin-bottom: 60px;
}

.zf_provider_card {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.zf_provider_header {
  background: linear-gradient(135deg, #e60000 0%, #ff4d4d 100%);
  padding: 40px 50px;
  color: #fff;
}

.zf_provider_title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

/* 服务商信息内容区 */
.zf_provider_content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.zf_provider_info_section {
  display: flex;
  gap: 25px;
  padding: 35px;
  background: #f8f8f8;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.zf_provider_info_section:hover {
  border-color: #e60000;
  background: rgba(252, 226, 226, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 0, 0, 0.1);
}

/* 区块图标 */
.zf_section_icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e60000, #ff4d4d);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.2);
}

.zf_section_icon i {
  font-size: 26px;
  color: #fff;
}

/* 区块内容 */
.zf_section_content {
  flex: 1;
}

.zf_provider_info_title {
  font-size: 22px;
  font-weight: 600;
  color: #1b1b1b;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.zf_provider_info_title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #e60000;
  border-radius: 2px;
}

.zf_provider_summary {
  font-size: 16px;
  line-height: 1.9;
  color: #505050;
}

/* 联系方式网格布局 */
.zf_contact_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.zf_contact_item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  border: 2px solid #f0f0f0;
  transition: all 0.3s;
}

.zf_contact_item:hover {
  border-color: #e60000;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.1);
}

.zf_contact_icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(230, 0, 0, 0.1), rgba(230, 0, 0, 0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zf_contact_icon i {
  font-size: 22px;
  color: #e60000;
}

.zf_contact_details {
  flex: 1;
}

.zf_contact_label {
  font-size: 13px;
  color: #999;
  margin-bottom: 5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zf_contact_value {
  font-size: 18px;
  color: #1b1b1b;
  font-weight: 600;
}

/* 服务列表区域 */
.zf_provider_services,
.zf_related_providers {
  margin-bottom: 60px;
}

.zf_provider_section_header {
  margin-bottom: 40px;
}

.zf_provider_section_title {
  font-size: 36px;
  font-weight: 700;
  color: #1b1b1b;
  position: relative;
  padding-bottom: 15px;
}

.zf_provider_section_title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #e60000, #ff4d4d);
  border-radius: 2px;
}

.zf_provider_section_content {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* 服务网格 */
.zf_service_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.zf_service_item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  border: 2px solid #f0f0f0;
}

.zf_service_item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(230, 0, 0, 0.15);
  border-color: #e60000;
}

.zf_service_item_inner {
  position: relative;
}

.zf_service_image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f5f5f5;
}

.zf_service_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.zf_service_item:hover .zf_service_image img {
  transform: scale(1.1);
}

.zf_service_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.zf_service_info {
  padding: 25px;
}

.zf_service_title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 15px;
}

.zf_service_title a {
  color: #1b1b1b;
  text-decoration: none;
  transition: color 0.3s;
}

.zf_service_title a:hover {
  color: #e60000;
}

.zf_service_actions {
  display: flex;
  gap: 10px;
}

.zf_service_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #e60000;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.zf_service_btn:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(230, 0, 0, 0.3);
}

/* 空列表状态 */
.zf_empty_list {
  text-align: center;
  padding: 80px 20px;
}

.zf_empty_icon {
  font-size: 80px;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.zf_empty_text {
  font-size: 16px;
  color: #999;
}

/* 相关推荐 */
.zf_related_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.zf_related_item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  border: 2px solid #f0f0f0;
}

.zf_related_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(230, 0, 0, 0.12);
  border-color: #e60000;
}

.zf_related_image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f5f5f5;
}

.zf_related_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.zf_related_item:hover .zf_related_image img {
  transform: scale(1.08);
}

.zf_related_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.zf_related_info {
  padding: 20px;
}

.zf_related_title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.zf_related_title a {
  color: #1b1b1b;
  text-decoration: none;
  transition: color 0.3s;
}

.zf_related_title a:hover {
  color: #e60000;
}

.zf_related_meta {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .zf_service_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zf_related_list {
    grid-template-columns: repeat(3, 1fr);
  }

  .zf_contact_grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .zf_container {
    padding: 0 20px;
  }

  .zf_provider_title {
    font-size: 28px;
  }

  .zf_provider_header {
    padding: 30px 25px;
  }

  .zf_provider_content {
    padding: 30px 25px;
    gap: 30px;
  }

  .zf_provider_info_section {
    flex-direction: column;
    padding: 25px;
  }

  .zf_section_icon {
    width: 50px;
    height: 50px;
  }

  .zf_section_icon i {
    font-size: 22px;
  }

  .zf_provider_info_title {
    font-size: 18px;
  }

  .zf_contact_grid {
    grid-template-columns: 1fr;
  }

  .zf_provider_section_title {
    font-size: 28px;
  }

  .zf_provider_section_content {
    padding: 25px 20px;
  }

  .zf_service_grid,
  .zf_related_list {
    grid-template-columns: 1fr;
  }
}

/* 动画效果 */
.wow {
  visibility: hidden;
}

.animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInDown {
  animation-name: fadeInDown;
}
