/* Banner 容器 */
.service-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.widget .wpo-support-btn {
    display: block;
    padding: 18px 40px;
    background: linear-gradient(to right, #3884f4, #07b4d4);
    font-size: 18px;
    font-family: "Futura PT Demi";
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s;
}
.widget .wpo-support-btn  a{
    color: #ffffff;
}

/* 背景遮罩（渐变半透明，还原原图色调） */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  z-index: 1;
}

/* 背景图 */
.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* 内容容器 */
.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 文字区域 */
.banner-text {
  max-width: 1200px;
  margin-bottom: 32px;
}

/* 主标题 */
.banner-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px 0;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

/* 副标题1 */
.subtitle-1 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 16px 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* 副标题2 */
.subtitle-2 {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* 搜索框容器 */
.search-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* 搜索图标 */
.search-icon {
  width: 28px;
  height: 28px;
  color: #9ca3af;
  margin-left: 16px;
  flex-shrink: 0;
}

/* 搜索输入框 */
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.25rem;
  color: #374151;
  padding: 16px 8px;
  background: transparent;
}

.search-input::placeholder {
  color: #9ca3af;
}

/* 搜索按钮 */
.search-btn {
  background: linear-gradient(to right, #2563eb, #0891b2);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.search-btn:hover {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.search-btn svg {
  width: 20px;
  height: 20px;
}

/* =================================== */
/* ✅ 完美手机端样式（直接用） */
/* =================================== */
@media (max-width: 768px) {
  .service-banner {
    height: auto;
    min-height: 500px;
    padding: 60px 0;
  }

  .banner-text h1 {
    font-size: 26px;
    white-space: normal;
    line-height: 1.3;
  }

  .subtitle-1 {
    font-size: 16px;
    line-height: 1.5;
  }

  .subtitle-2 {
    font-size: 14px;
    line-height: 1.4;
  }

  .search-box {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
    border-radius: 14px;
  }

  .search-icon {
    display: none;
  }

  .search-input {
    width: 100%;
    font-size: 16px;
    padding: 12px 10px;
    text-align: center;
  }

  .search-btn {
    width: 100%;
    font-size: 16px;
    padding: 14px;
    justify-content: center;
    border-radius: 10px;
  }
}

/* 更小屏幕（iPhone SE 等） */
@media (max-width: 380px) {
  .banner-text h1 {
    font-size: 22px;
  }

  .service-banner {
    padding: 50px 0;
  }
}
#header {
  position: relative;
  z-index: 100;
}

/* 基础Tab样式 */
.tab-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #f9fafb;
  color: #374151;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.tab-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* 激活态（当前选中） */
.tab-item.active {
  background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  border-color: transparent;
}

/* 悬浮描点效果（核心交互） */
.tab-item:not(.active):hover {
  background: #f3f4f6;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 点击反馈 */
.tab-item:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


/* 超小屏适配 */
@media (max-width: 380px) {
  .tab-item span {
    display: none;
  }
  .tab-item {
    padding: 8px;
  }
}
/* ================== 服务列表 ================== */
    /* 图片容器：完全还原图一的圆角、阴影、比例 */
    .service-img-card {
      position: relative;
      border-radius: 1.25rem; /* 20px 圆角，和图一完全一致 */
      overflow: hidden;
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05); /* 柔和大阴影 */
      height: 320px; /* 固定高度，保证比例 */
    }

    /* 图片填充：完全覆盖容器，不变形 */
    .service-img-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* 图片渐变遮罩：图一的顶部透明到底部深色渐变 */
    .img-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
      pointer-events: none;
    }

    /* 左下角图标：完全还原图一的白色圆角卡片、图标大小 */
    .icon-badge {
      position: absolute;
      bottom: 1.25rem;
      left: 1.25rem;
      width: 4rem;
      height: 4rem;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(8px);
      border-radius: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .icon-badge svg {
      width: 2rem;
      height: 2rem;
      color: #2563eb; /* 蓝色，和图一一致 */
    }

    /* 右侧文字区域：完全还原图一的字体、间距 */
    .service-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: #111827;
      margin-bottom: 1rem;
      line-height: 1.2;
    }

    .service-desc {
      font-size: 1.25rem;
      color: #4b5563;
      line-height: 1.7;
      margin-bottom: 2rem;
    }

    /* 标签按钮：完全还原图一的渐变背景、圆角、图标、间距 */
    .service-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1.25rem;
      background: linear-gradient(to right, #eff6ff, #f0fdfa);
      color: #1d4ed8;
      border-radius: 0.75rem;
      font-size: 1.125rem;
      font-weight: 500;
      margin-right: 0.75rem;
      margin-bottom: 0.75rem;
    }

    .service-tag svg {
      width: 1.25rem;
      height: 1.25rem;
    }

    /* 移动端适配：完全还原手机端的显示效果 */
    @media (max-width: 768px) {
      .service-img-card {
        height: 280px;
        margin-bottom: 2rem;
      }

      .service-title {
        font-size: 2rem;
      }

      .service-desc {
        font-size: 1.125rem;
      }

      .service-tag {
        font-size: 1rem;
        padding: 0.625rem 1rem;
      }

      .count-badge .num {
        font-size: 2rem;
      }

      .count-badge .label {
        font-size: 0.875rem;
      }

      .icon-badge {
        width: 3.5rem;
        height: 3.5rem;
      }

      .icon-badge svg {
        width: 1.75rem;
        height: 1.75rem;
      }
    }
    /* ==========服务模块=========== */
        /* 模块标题样式 */
    .section-title {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }

    .section-title svg {
      width: 2rem;
      height: 2rem;
      color: #2563eb;
    }

    .section-title h2 {
      font-size: 1.875rem;
      font-weight: 700;
      color: #111827;
      margin: 0;
    }

    /* 服务卡片容器：完全还原圆角、阴影、hover效果 */
    .service-card {
      background: #fff;
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      transition: all 0.3s ease;
      height: 100%;
    }

    .service-card:hover {
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      transform: translateY(-2px);
    }

    /* 卡片图片区域：固定高度、hover缩放 */
    .card-img-wrap {
      position: relative;
      height: 176px; /* 44rem 对应176px，和原图一致 */
      overflow: hidden;
    }

    .card-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .service-card:hover .card-img-wrap img {
      transform: scale(1.1);
    }

    /* 图片左上角标签：红色圆角标签 */
    .card-tags {
      position: absolute;
      top: 1rem;
      left: 1rem;
      display: flex;
      gap: 0.5rem;
    }

    .tag-item {
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      font-size: 0.75rem;
      font-weight: 500;
      background-color: #ef4444;
      color: #fff;
    }

    /* 卡片内容区域 */
    .card-content {
      padding: 1.25rem;
    }

    .card-header {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1rem;
      justify-content: flex-start;
    }


    .card-title {
      font-size: 1.125rem;
      font-weight: 700;
      color: #111827;
      line-clamp: 2;
      -webkit-line-clamp: 2;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
      flex: 1;
      margin: 0;
    }

    /* 按钮样式：预约+详情 */
    .btn-group {
      display: flex;
      gap: 0.375rem;
      flex-shrink: 0;
    }

    .btn-book {
      background: linear-gradient(to right, #2563eb, #0891b2);
      color: #fff;
      border: none;
      padding: 0.375rem 0.625rem;
      border-radius: 0.5rem;
      font-size: 0.75rem;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .btn-book:hover {
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      color: #fff;
    }

    .btn-detail {
      background: transparent;
      color: #2563eb;
      border: 1px solid #2563eb;
      padding: 0.375rem 0.625rem;
      border-radius: 0.5rem;
      font-size: 0.75rem;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .btn-detail:hover {
      background-color: #eff6ff;
      color: #2563eb;
    }

    /* 卡片描述文本 */
    .card-desc {
      font-size: 0.875rem;
      color: #4b5563;
      line-clamp: 2;
      -webkit-line-clamp: 2;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 1rem;
    }

    /* 标签组：蓝色圆角标签 */
    .card-tags-group {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    .tag-small {
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      font-size: 0.75rem;
      background-color: #eff6ff;
      color: #1d4ed8;
    }

    /* 价格区域：划线价+现价 */
    .card-price {
      text-align: right;
    }

    .price-wrap {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.5rem;
    }

    .price-original {
      font-size: 0.875rem;
      color: #ef4444;
      text-decoration: line-through;
    }

    .price-current {
      padding: 0.25rem 0.75rem;
      background: linear-gradient(to right, #2563eb, #0891b2);
      color: #fff;
      border-radius: 0.5rem;
      font-size: 0.875rem;
      font-weight: 700;
    }

    /* 移动端适配 */
    @media (max-width: 768px) {
      .section-title h2 {
        font-size: 1.5rem;
      }

      .card-img-wrap {
        height: 160px;
      }

      .card-title {
        font-size: 1rem;
      }

      .card-desc {
        font-size: 0.8125rem;
      }

      .tag-small {
        font-size: 0.6875rem;
      }

      .price-original, .price-current {
        font-size: 0.8125rem;
      }
    }

    /* 底部按钮容器 */
    .btn-bottom {
      display: flex;
      justify-content: center;
      padding: 1.5rem 0;
    }

    /* 主按钮样式 */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem 2.5rem;
      background: linear-gradient(to right, #2563eb, #0891b2);
      color: #ffffff;
      font-size: 1.125rem;
      font-weight: 600;
      border-radius: 0.75rem;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 12px -2px rgba(37, 99, 235, 0.3);
      color: #ffffff;
    }

    .btn-primary svg {
      transition: transform 0.3s ease;
    }

    .btn-primary:hover svg {
      transform: translateX(4px);
    }

        /* 模块标题样式 */
    .section-title {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }

    .section-title svg {
      width: 2rem;
      height: 2rem;
      color: #2563eb;
    }

    .section-title h2 {
      font-size: 1.875rem;
      font-weight: 700;
      color: #111827;
      margin: 0;
    }

    /* 标签切换栏样式 */
    .tab-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 2rem;
    }

    .tab-btn {
      padding: 0.5rem 1.25rem;
      border-radius: 0.5rem;
      font-weight: 600;
      transition: all 0.3s ease;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #374151;
    }

    .tab-btn.active {
      background: linear-gradient(to right, #2563eb, #0891b2);
      color: #fff;
      border-color: transparent;
    }

    .tab-btn:hover:not(.active) {
      background: #f3f4f6;
    }

    /* ==================== 图一：全部标签 - 列表式布局 ==================== */
    .service-list-card {
      background: #fff;
      border-radius: 1rem;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      padding: 1.5rem;
      height: 100%;
    }

    .card-header {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    .card-header svg {
      width: 1.25rem;
      height: 1.25rem;
      color: #2563eb;
    }

    .card-header h3 {
      font-size: 1.25rem;
      font-weight: 700;
      color: #111827;
      margin: 0;
    }

    .count-badge {
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      font-size: 0.75rem;
      background-color: #dbeafe;
      color: #2563eb;
      font-weight: 500;
    }

    .service-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1rem;
      background: #f9fafb;
      border-radius: 0.75rem;
      margin-bottom: 0.75rem;
      transition: all 0.3s ease;
    }

    .service-item:hover {
      background: #f3f4f6;
    }

    .service-item h4 {
      font-size: 1rem;
      font-weight: 600;
      color: #111827;
      margin: 0;
    }

    .price-wrap {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .price-original {
      font-size: 0.875rem;
      color: #ef4444;
      text-decoration: line-through;
    }

    .price-current {
      padding: 0.25rem 0.75rem;
      background: linear-gradient(to right, #2563eb, #0891b2);
      color: #fff;
      border-radius: 0.5rem;
      font-size: 0.875rem;
      font-weight: 700;
    }

    .view-more-btn {
      width: 100%;
      padding: 0.5rem;
      margin-top: 1rem;
      background: transparent;
      border: none;
      color: #2563eb;
      font-weight: 500;
      font-size: 0.875rem;
      transition: all 0.3s ease;
    }

    .view-more-btn:hover {
      color: #1d4ed8;
    }

    /* ==================== 图二：工商代理标签 - 卡片式布局 ==================== */
    .service-grid-card {
      background: #fff;
      border-radius: 0.75rem;
      overflow: hidden;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      transition: all 0.3s ease;
      height: 100%;
    }

    .service-grid-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

    .card-img-wrap {
      height: 120px;
      overflow: hidden;
    }

    .card-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .card-body {
      padding: 1rem;
    }

    .card-body h4 {
      font-size: 1rem;
      font-weight: 600;
      color: #111827;
      margin-bottom: 0.75rem;
    }

    .card-price {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .btn-book {
      padding: 0.25rem 0.625rem;
      background: linear-gradient(to right, #2563eb, #0891b2);
      color: #fff;
      border: none;
      border-radius: 0.5rem;
      font-size: 0.75rem;
      font-weight: 600;
    }

    /* ==================== 图三：经营许可代理标签 - 定制方案页 ==================== */
    .custom-plan-card {
      background: #fff;
      border-radius: 1rem;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      padding: 3rem 2rem;
      text-align: center;
    }

    .custom-plan-card svg {
      width: 4rem;
      height: 4rem;
      color: #2563eb;
      margin-bottom: 1.5rem;
    }

    .custom-plan-card h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #111827;
      margin-bottom: 1rem;
    }

    .custom-plan-card p {
      font-size: 1.125rem;
      color: #4b5563;
      max-width: 600px;
      margin: 0 auto 2rem;
      line-height: 1.6;
    }

    .btn-quote {
      padding: 0.75rem 2.5rem;
      background: linear-gradient(to right, #2563eb, #0891b2);
      color: #fff;
      border: none;
      border-radius: 0.75rem;
      font-size: 1.125rem;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .btn-quote:hover {
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      color: #fff;
    }

    /* 移动端适配 */
    @media (max-width: 768px) {
      .section-title h2 {
        font-size: 1.5rem;
      }

      .tab-btn {
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
      }

      .service-item h4 {
        font-size: 0.875rem;
      }

      .custom-plan-card {
        padding: 2rem 1rem;
      }

      .custom-plan-card h3 {
        font-size: 1.25rem;
      }

      .custom-plan-card p {
        font-size: 1rem;
      }
    }