/* ============================================================
   久日专利代理事务所 · 大屏精修层 (redesign.css v2)
   针对 2K (2560) / 4K (3840) 显示器深度打磨：
   - 中文字体栈、导航、横幅、卡片、列表、文章、页脚全套精修
   - 仅作用于桌面端 (≥1200px)，小屏另配少量修复规则
   ============================================================ */

/* ---------- 0. 设计变量 ---------- */
:root {
  --jb-blue: #0978d1;
  --jb-blue-dark: #0865b3;
  --jb-deep: #0a3455;
  --jb-green: #38d39f;
  --jb-text: #37455a;
  --jb-text-2: #5a6b80;
  --jb-text-3: #8fa1b5;
  --jb-line: #e3edf6;
  --jb-bg: #f5f9fc;
  --jb-shadow-sm: 0 3px 14px rgba(10, 52, 85, 0.06);
  --jb-shadow-md: 0 10px 32px rgba(10, 52, 85, 0.12);
  --jb-radius: 16px;
  --jb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 1. 全局字体与细节 ---------- */
/* 始终预留滚动条槽位：页面由短变长时不再横向挤压，导航不会左右位移 */
html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
}
/* 图片的 width/height 属性只用于预留占位比例，实际高度交给布局，避免变形 */
img[width][height] { height: auto; }
@media (min-width: 1200px) {
  body {
    font-family: "Open Sans", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
                 "Noto Sans SC", "Source Han Sans SC", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: var(--jb-text);
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  }
  ::selection {
    background: rgba(9, 120, 209, 0.18);
  }
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #eef3f8;
  }
  ::-webkit-scrollbar-thumb {
    background: #c3d4e6;
    border-radius: 5px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #9fb8d1;
  }
  a {
    transition: color 0.25s var(--jb-ease), background 0.25s var(--jb-ease),
                opacity 0.25s var(--jb-ease), transform 0.25s var(--jb-ease);
  }
}

/* ---------- 2. 容器加宽 ---------- */
@media (min-width: 1200px) {
  .container {
    width: 100%;
    max-width: 1680px;
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (min-width: 1920px) {
  .container { max-width: min(88vw, 2320px); }
}
@media (min-width: 3200px) {
  .container {
    max-width: min(86vw, 3160px);
    padding-left: 56px;
    padding-right: 56px;
  }
}

/* ---------- 3. 顶部导航 ---------- */
@media (min-width: 1200px) {
  #header {
    position: relative;
    z-index: 997;
    height: 108px;
    padding: 14px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 1px 0 rgba(10, 52, 85, 0.08), 0 8px 24px rgba(10, 52, 85, 0.05);
  }
  #header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--jb-blue), var(--jb-green));
  }
  /* logo 居左、菜单居右，撑满整个版心 */
  #header .container.center { justify-content: space-between; }
  #header #logo { margin: 0; }
  #header.is-sticky,
  #header.header-fixed { height: 84px; padding: 8px 0; }
  #header #logo img {
    height: 60px;
    margin-top: 12px;
    width: auto;
    transition: height 0.3s var(--jb-ease);
  }
  #header.is-sticky #logo img,
  #header.header-fixed #logo img { height: 54px; }

  #nav-menu-container { margin-top: 14px; white-space: nowrap; }
  /* 菜单强制单行，避免点击/加载时换行"跳动" */
  .nav-menu { display: flex; flex-wrap: nowrap; align-items: center; }
  .nav-menu > li { margin-left: 8px; }
  .nav-menu > li > a {
    font-size: 17px;
    padding: 11px 26px;
    color: #3c4a5d;
    font-weight: 600;
    position: relative;
    border-radius: 999px;
  }
  .nav-menu > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 0;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--jb-blue), var(--jb-green));
    transform: translateX(-50%);
    transition: width 0.28s var(--jb-ease);
  }
  .nav-menu > li:hover > a::after,
  .nav-menu > li.menu-active > a::after { width: calc(100% - 44px); }
  .nav-menu > li:hover > a,
  .nav-menu > li.menu-active > a {
    color: var(--jb-blue);
    background: #f0f7fd;
  }
  /* 含下拉的菜单项：静态预留箭头位置，superfish 初始化前后 padding 不变，杜绝导航横移 */
  #nav-menu-container .nav-menu > li:has(> ul) > a { padding-right: 26px; }

  /* 1200~1599px 区间压缩菜单尺寸，保证 8 个菜单项单行放下 */
  @media (max-width: 1599px) {
    #nav-menu-container { margin-top: 8px; }
    .nav-menu > li { margin-left: 2px; }
    .nav-menu > li > a {
      font-size: 15px;
      padding: 9px 14px;
      letter-spacing: 0;
    }
    #nav-menu-container .nav-menu > li:has(> ul) > a { padding-right: 30px; }
    .nav-menu > li > a.sf-with-ul::after,
    .nav-menu li.sf-with-ul > a::after { right: 12px; }
    #logo img { height: 54px; }
    #header { height: 92px; }
    #header.is-sticky,
    #header.header-fixed { height: 76px; }
  }
  /* 下拉菜单 */
  .nav-menu ul {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--jb-line);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(10, 52, 85, 0.14);
  }
  .nav-menu ul::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 32px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid var(--jb-line);
    border-top: 1px solid var(--jb-line);
    transform: rotate(45deg);
  }
  .nav-menu ul li a {
    font-size: 15px;
    padding: 12px 18px;
    border-radius: 8px;
    color: #44536a;
  }
  .nav-menu ul li a:hover { background: #f0f7fd; color: var(--jb-blue); }
}

/* ---------- 4. 首页主图 ---------- */
/* 首屏轮播：owl-carousel 初始化前先占住高度，避免加载/刷新瞬间整页下移 */
#myCarousel:not(.owl-loaded) {
  display: block;
  height: clamp(420px, 30vw, 820px);
  overflow: hidden;
}
#myCarousel:not(.owl-loaded) > div { height: 100%; }
#myCarousel:not(.owl-loaded) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 1200px) {
  #myCarousel .owl-item img {
    width: 100%;
    height: clamp(420px, 30vw, 820px);
    object-fit: cover;
  }
  #myCarousel .owl-dots {
    position: absolute;
    bottom: 26px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
  }
  #myCarousel .owl-dot span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  }
  #myCarousel .owl-dot.active span { background: #fff; }
}

/* ---------- 5. 区块标题 ---------- */
@media (min-width: 1200px) {
  .section-header { margin-bottom: 56px; }
  .section-header h2 {
    font-size: clamp(30px, 1.7vw, 44px);
    font-weight: 700;
    color: var(--jb-deep);
    letter-spacing: 3px;
    margin-bottom: 0;
  }
  .section-header h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--jb-blue), var(--jb-green));
  }
  .section-header p {
    font-size: 17px;
    color: var(--jb-text-3);
    margin-top: 14px;
  }
}

/* ---------- 6. 首页 · 关于我们（重排） ---------- */
@media (min-width: 1200px) {
  #about {
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(900px 340px at 0% 15%, rgba(15, 145, 240, 0.05), transparent 62%),
      radial-gradient(700px 300px at 100% 90%, rgba(28, 190, 132, 0.04), transparent 60%),
      #fff;
  }
  #about .row { display: flex; align-items: center; }
  /* 图片：相框 + 错位色块 + 网点装饰 */
  #about .about-img {
    position: relative;
    padding: 0 46px 46px 0;
  }
  #about .about-img::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 64%;
    border-radius: var(--jb-radius);
    background: linear-gradient(135deg, rgba(9, 120, 209, 0.13), rgba(28, 190, 132, 0.13));
    transition: transform 0.5s var(--jb-ease);
  }
  #about .about-img::after {
    content: "";
    position: absolute;
    left: -26px;
    top: -26px;
    width: 132px;
    height: 132px;
    background-image: radial-gradient(rgba(9, 120, 209, 0.4) 2.5px, transparent 2.5px);
    background-size: 22px 22px;
    opacity: 0.45;
  }
  #about .about-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
    border-radius: var(--jb-radius);
    border: 10px solid #fff;
    box-shadow: 0 24px 56px rgba(10, 52, 85, 0.16);
    transition: transform 0.5s var(--jb-ease), box-shadow 0.5s var(--jb-ease);
  }
  #about .about-img:hover::before { transform: translate(6px, -6px); }
  #about .about-img:hover img {
    transform: translateY(-4px);
    box-shadow: 0 30px 64px rgba(10, 52, 85, 0.2);
  }
  /* 文字列 */
  #about .content { padding-left: 52px; }
  #about .content h2 {
    font-size: clamp(24px, 1.25vw, 34px);
    font-weight: 700;
    color: var(--jb-deep);
    margin-bottom: 24px;
    padding-left: 18px;
    border-left: 5px solid;
    border-image: linear-gradient(180deg, var(--jb-blue), var(--jb-green)) 1;
    line-height: 1.4;
  }
  #about .content p {
    font-size: clamp(16px, 0.72vw, 20px);
    line-height: 2.15;
    color: var(--jb-text-2);
    text-align: justify;
    margin-bottom: 30px;
  }
  #about .about-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(90deg, var(--jb-blue), #2ea9e8);
    color: #fff;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 12px 34px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(9, 120, 209, 0.28);
    transition: transform 0.3s var(--jb-ease), box-shadow 0.3s var(--jb-ease);
  }
  #about .about-more i { transition: transform 0.3s var(--jb-ease); }
  #about .about-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(9, 120, 209, 0.36);
    color: #fff;
  }
  #about .about-more:hover i { transform: translateX(4px); }
}

/* ---------- 7. 首页 · 服务领域卡片 ---------- */
@media (min-width: 1200px) {
  #services { padding: 90px 0 100px; background: var(--jb-bg); }
  #services .box {
    border: 1px solid var(--jb-line);
    border-bottom: 4px solid var(--jb-blue);
    border-radius: var(--jb-radius);
    padding: 56px 46px 48px;
    background: #fff;
    text-align: center;
  }
  #services .box:hover {
    border-bottom-color: var(--jb-green);
    transform: translateY(-8px);
    box-shadow: var(--jb-shadow-md);
  }
  #services .box .icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 26px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #eaf4fd 0%, #e2f8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #services .box .icon i { font-size: 40px; color: var(--jb-blue); line-height: 1; }
  #services .box h4.title,
  #services .box h3.title { margin-bottom: 18px; }
  #services .box h4.title a,
  #services .box h3.title a {
    font-size: clamp(21px, 1.05vw, 27px);
    font-weight: 700;
    color: var(--jb-deep);
  }
  #services .box h4.title a:hover,
  #services .box h3.title a:hover { color: var(--jb-blue); }
  #services .box p.description {
    font-size: clamp(15px, 0.68vw, 19px);
    line-height: 2;
    color: var(--jb-text-2);
    text-align: justify;
    margin-bottom: 0;
  }
}

/* ---------- 8. 首页 · 案例 logo 墙 ---------- */
@media (min-width: 1200px) {
  #clients { padding: 90px 0; }
  #clients img {
    padding: 8px 22px;
    filter: saturate(0.15);
    opacity: 0.75;
    transition: filter 0.35s var(--jb-ease), opacity 0.35s var(--jb-ease),
                transform 0.35s var(--jb-ease);
  }
  #clients img:hover {
    filter: saturate(1);
    opacity: 1;
    transform: scale(1.06);
  }
}

/* ---------- 9. 首页 · 行业资讯卡片（重设计） ---------- */
@media (min-width: 1200px) {
  #testimonials {
    padding: 96px 0 110px;
    background:
      radial-gradient(900px 320px at 100% 0%, rgba(15, 145, 240, 0.06), transparent 60%),
      linear-gradient(180deg, #f6fafd 0%, #eef4fa 100%);
  }
  #testimonials .section-header { position: relative; }
  #testimonials .more-link {
    position: absolute;
    right: 40px;
    bottom: 6px;
  }
  #testimonials .more-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--jb-blue);
    text-decoration: none;
    padding: 9px 22px;
    border: 1.5px solid rgba(9, 120, 209, 0.35);
    border-radius: 999px;
    transition: all 0.3s var(--jb-ease);
  }
  #testimonials .more-link a i { font-size: 14px; transition: transform 0.3s var(--jb-ease); }
  #testimonials .more-link a:hover {
    color: #fff;
    background: linear-gradient(90deg, var(--jb-blue), #2ea9e8);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(9, 120, 209, 0.28);
  }
  #testimonials .more-link a:hover i { transform: translateX(3px); }
  #testimonials .owl-carousel { padding-top: 8px; }
  #testimonials .testimonial-item {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--jb-line);
    border-radius: 18px;
    padding: 40px 38px 30px;
    margin: 26px 16px;
    box-shadow: 0 6px 18px rgba(10, 52, 85, 0.06);
    text-align: left;
    overflow: hidden;
    transition: transform 0.35s var(--jb-ease), box-shadow 0.35s var(--jb-ease);
  }
  /* 顶部渐变饰条：悬停展开 */
  #testimonials .testimonial-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--jb-blue), var(--jb-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--jb-ease);
  }
  #testimonials .testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(10, 52, 85, 0.13);
  }
  #testimonials .testimonial-item:hover::before { transform: scaleX(1); }
  /* 标题置顶（视觉顺序：标题 → 摘要 → 日期） */
  #testimonials .testimonial-item h3 {
    order: 1;
    position: relative;
    font-size: clamp(18px, 0.92vw, 24px);
    font-weight: 700;
    line-height: 1.55;
    color: var(--jb-deep);
    margin: 0 0 18px;
    padding-left: 18px;
    transition: color 0.25s;
  }
  #testimonials .testimonial-item h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 5px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--jb-blue), var(--jb-green));
  }
  #testimonials .testimonial-item:hover h3 { color: var(--jb-blue); }
  /* 摘要：去掉原站蓝色气泡边框 */
  #testimonials .testimonial-item p {
    order: 2;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    width: auto;
    font-size: clamp(15px, 0.68vw, 18px);
    line-height: 1.95;
    color: var(--jb-text-2);
    margin: 0 0 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* 日期变日历徽章，沉底（h4 已改为 time.news-date，避免标题层级跳级） */
  #testimonials .testimonial-item h4,
  #testimonials .testimonial-item time.news-date {
    order: 3;
    margin: auto 0 0;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #eef6fd;
    border: 1px solid #d8eafb;
    color: var(--jb-blue);
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 14.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
  #testimonials .testimonial-item h4::before,
  #testimonials .testimonial-item time.news-date::before {
    font-family: FontAwesome;
    content: "\f073";
    font-size: 13.5px;
    color: var(--jb-green);
  }
}

/* ---------- 10. 内页横幅 ---------- */
@media (min-width: 1200px) {
  #innerBanner {
    background: linear-gradient(120deg, var(--jb-deep) 0%, #0d5c9e 55%, var(--jb-blue) 100%);
    padding: 92px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  #innerBanner::before,
  #innerBanner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
  }
  #innerBanner::before {
    width: 460px; height: 460px;
    right: -130px; top: -180px;
  }
  #innerBanner::after {
    width: 320px; height: 320px;
    left: -100px; bottom: -150px;
  }
  #innerBanner h2 {
    font-size: 16px;
    letter-spacing: 5px;
    opacity: 0.85;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
  }
  #innerBanner h2 span {
    font-size: clamp(36px, 2vw, 54px);
    letter-spacing: 8px;
    font-weight: 700;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  }
  #innerBanner .breadcrumb-inverted {
    display: inline-block;
    margin: 22px auto 0;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 9px 26px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(4px);
  }
  #innerBanner .breadcrumb-inverted li,
  #innerBanner .breadcrumb-inverted li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
  }
  #innerBanner .breadcrumb-inverted li a:hover { color: #fff; }
}

/* ---------- 11. 列表页（行业资讯 / 公司动态等） ---------- */
@media (min-width: 1200px) {
  #trend { padding: 84px 0 96px; background: var(--jb-bg); }
  #trend .row {
    background: #fff;
    border: 1px solid var(--jb-line);
    border-radius: var(--jb-radius);
    padding: 32px;
    margin-bottom: 32px;
    margin-left: 0;
    margin-right: 0;
    box-shadow: var(--jb-shadow-sm);
    transition: transform 0.3s var(--jb-ease), box-shadow 0.3s var(--jb-ease),
                border-color 0.3s var(--jb-ease);
    overflow: hidden;
  }
  #trend .row:hover {
    transform: translateY(-5px);
    box-shadow: var(--jb-shadow-md);
    border-color: #cfe2f3;
  }
  #trend .row img {
    border-radius: 12px;
    width: 100%;
    height: clamp(230px, 12vw, 330px);
    object-fit: cover;
    transition: transform 0.5s var(--jb-ease);
  }
  #trend .row:hover img { transform: scale(1.02); }
  #trend .title { padding-top: 6px; }
  #trend .title a span {
    font-size: clamp(21px, 1.05vw, 28px);
    font-weight: 700;
    color: var(--jb-deep);
    line-height: 1.55;
    transition: color 0.25s;
  }
  #trend .title a:hover span { color: var(--jb-blue); }
  #trend .time {
    font-size: 16px;
    color: var(--jb-text-3);
    margin: 14px 0 6px;
  }
  #trend .time i { color: var(--jb-blue); margin-right: 6px; }
  #trend .labels p {
    font-size: 15px;
    color: var(--jb-text-3);
    margin: 0 0 20px;
  }
  #trend a.btn {
    background: var(--jb-blue);
    border: none;
    color: #fff;
    border-radius: 999px;
    padding: 11px 34px;
    font-size: 16px;
    box-shadow: 0 6px 16px rgba(9, 120, 209, 0.28);
  }
  #trend a.btn::after {
    content: "\f105";
    font-family: FontAwesome;
    margin-left: 10px;
    transition: margin-left 0.25s var(--jb-ease);
  }
  #trend a.btn:hover::after { margin-left: 16px; }
  #trend a.btn:hover { background: var(--jb-blue-dark); color: #fff; }
  #trend nav { width: auto; margin-top: 18px; }

  /* 资质荣誉 / 成果展示 / 团队 / 环境 等图片栅格页 */
  #hornor { padding: 84px 0 96px; background: var(--jb-bg); }
  #hornor article {
    background: #fff;
    border: 1px solid var(--jb-line);
    border-radius: var(--jb-radius);
    padding: 26px 26px 20px;
    margin-bottom: 30px;
    box-shadow: var(--jb-shadow-sm);
    transition: transform 0.3s var(--jb-ease), box-shadow 0.3s var(--jb-ease);
    overflow: hidden;
  }
  #hornor article:hover {
    transform: translateY(-5px);
    box-shadow: var(--jb-shadow-md);
  }
  #hornor article .h100 {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #hornor img {
    border-radius: 8px;
    max-height: clamp(260px, 14vw, 380px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  #hornor article p {
    font-size: 17px;
    color: var(--jb-text);
    margin-top: 16px;
    margin-bottom: 4px;
    text-align: center;
    font-weight: 600;
  }
}

/* ---------- 12. 法律法规列表页（档案时间轴风格） ---------- */
#law { padding: 36px 0 56px; background: var(--jb-bg); }
#law .law-toolbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #dce8f3; margin-bottom: 30px; }
#law .law-toolbar h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--jb-deep);
  letter-spacing: 1px;
}
#law .law-sort { font-size: 13.5px; color: var(--jb-text-3); letter-spacing: 0.5px; }
#law .law-sort i { margin-right: 6px; color: #a9c3d9; }
#law .law-year { display: block; padding-bottom: 4px; }
#law .law-year + .law-year { margin-top: 26px; }
#law .law-year-label { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
#law .law-year-label span { font-size: 30px; font-weight: 800; line-height: 1; color: rgba(9, 120, 209, 0.28); }
#law .law-year-label em { font-style: normal; font-size: 13px; color: var(--jb-text-3); }
#law .law-year-label i { font-style: normal; font-size: 12.5px; color: #a9c3d9; margin-left: 10px; }
#law .law-items { list-style: none; margin: 0; padding: 0; }
#law .law-items li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 4px;
  border-bottom: 1px solid #e8f1f9;
}
#law .law-items li a { font-size: 15.5px; color: var(--jb-text); line-height: 1.8; text-decoration: none; }
#law .law-items li time { font-size: 13px; color: var(--jb-text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (min-width: 1200px) {
  #law { padding: 56px 0 88px; }
  #law .container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  #law .law-toolbar { margin-bottom: 46px; padding-bottom: 24px; }
  #law .law-toolbar h2 {
    font-size: clamp(22px, 1.1vw, 30px);
    padding-left: 18px;
    border-left: 5px solid var(--jb-blue);
    border-image: linear-gradient(180deg, var(--jb-blue), var(--jb-green)) 1;
    line-height: 1.3;
  }
  #law .law-sort { font-size: 14.5px; letter-spacing: 1px; }

  /* 年份分组：左侧描边大字年份 + 右侧细线时间轴 */
  #law .law-year {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding-bottom: 0;
  }
  #law .law-year + .law-year { margin-top: 40px; }
  #law .law-year-label {
    flex: 0 0 220px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 10px;
    row-gap: 2px;
    margin: 0;
    padding-top: 2px;
  }
  #law .law-year-label span {
    font-size: clamp(44px, 2.7vw, 66px);
    font-weight: 800;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1.6px rgba(9, 120, 209, 0.42);
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    transition: color 0.35s var(--jb-ease), -webkit-text-stroke-color 0.35s var(--jb-ease);
  }
  #law .law-year:hover .law-year-label span {
    color: rgba(9, 120, 209, 0.08);
    -webkit-text-stroke-color: rgba(9, 120, 209, 0.6);
  }
  #law .law-year-label em { font-size: 15px; color: var(--jb-text-3); }
  #law .law-year-label i { font-size: 13px; color: #a9c3d9; margin-left: 8px; }

  #law .law-items {
    flex: 1 1 auto;
    min-width: 0;
    border-left: 1px solid #dbe8f3;
    padding-left: 0;
  }
  #law .law-items li {
    position: relative;
    align-items: center;
    gap: 40px;
    padding: 22px 8px 22px 36px;
    border-bottom: 1px dashed #e2ecf5;
    transition: background 0.3s var(--jb-ease), padding-left 0.3s var(--jb-ease);
  }
  #law .law-items li:first-child { padding-top: 16px; }
  #law .law-items li:last-child { border-bottom: none; }
  /* 时间轴节点 */
  #law .law-items li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #bcd6ea;
    box-sizing: border-box;
    transition: border-color 0.3s var(--jb-ease), background 0.3s var(--jb-ease), box-shadow 0.3s var(--jb-ease);
  }
  #law .law-items li:hover { background: linear-gradient(90deg, rgba(9, 120, 209, 0.045), rgba(9, 120, 209, 0)); }
  #law .law-items li:hover::before {
    border-color: var(--jb-blue);
    background: var(--jb-blue);
    box-shadow: 0 0 0 5px rgba(9, 120, 209, 0.12);
  }
  /* 悬停箭头 */
  #law .law-items li::after {
    content: "\f105";
    font-family: FontAwesome;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 15px;
    color: var(--jb-blue);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s var(--jb-ease), transform 0.3s var(--jb-ease);
  }
  #law .law-items li:hover::after { opacity: 1; transform: translateX(0); }
  #law .law-items li a {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(16.5px, 0.8vw, 20px);
    font-weight: 500;
    color: var(--jb-text);
    line-height: 1.8;
    transition: color 0.25s var(--jb-ease);
  }
  #law .law-items li:hover a { color: var(--jb-blue); }
  #law .law-items li time {
    flex: 0 0 auto;
    font-size: 14.5px;
    color: var(--jb-text-3);
    letter-spacing: 0.5px;
    margin-right: 26px;
  }
  #law .pagination { margin: 46px 0 0; }
}

/* ---------- 13. 服务领域频道页（tabs） ---------- */
@media (min-width: 1200px) {
  #services .demo { width: 100% !important; padding: 10px 0 30px; }
  /* 多组 tabs 堆叠时留出组间距，避免上一组白卡与下一组胶囊贴住 */
  #services .tabs-container { margin-bottom: 42px; }
  #services .tabs-container:last-child { margin-bottom: 0; }
  #services .tabs-list {
    list-style: none;
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    padding: 0;
  }
  #services .tabs-list li a {
    display: inline-block;
    height: auto;
    line-height: 1.6;
    background: linear-gradient(135deg, var(--jb-blue), #2f9be0);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 13px 44px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(9, 120, 209, 0.25);
  }
  #services .tabs-list li a:hover { color: #fff; opacity: 0.92; }
  #services .tab-content { background: transparent !important; padding: 0 !important; }
  #services .tabs-container {
    background: #fff;
    border: 1px solid var(--jb-line);
    border-radius: var(--jb-radius);
    box-shadow: var(--jb-shadow-sm);
    padding: 40px 56px;
  }
  #services .tab-content p {
    font-size: clamp(16px, 0.72vw, 19px);
    line-height: 2.1;
    color: var(--jb-text);
    margin-bottom: 14px;
    text-align: justify;
  }
  #services .tab-content a { color: var(--jb-text); }
  #services .tab-content a:hover { color: var(--jb-blue); }
}

/* ---------- 14. 联系我们（重新设计） ---------- */
/* 基础样式（含移动端） */
#contact { padding: 56px 0 64px; background: var(--jb-bg); }
#contact .ci-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
#contact .ci-card {
  background: #fff;
  border: 1px solid var(--jb-line);
  border-radius: var(--jb-radius);
  box-shadow: var(--jb-shadow-sm);
  padding: 26px 28px;
  text-align: left;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 18px;
  row-gap: 12px;
  align-items: center;
  transition: transform 0.3s var(--jb-ease), box-shadow 0.3s var(--jb-ease);
}
#contact .ci-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--jb-shadow-md);
}
#contact .ci-card-wide { grid-column: 1 / -1; }
#contact .ci-card > i {
  grid-row: 1;
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(150deg, #0b84dd 0%, #0a3455 100%);
  box-shadow: 0 8px 18px rgba(10, 52, 85, 0.28);
}
#contact .ci-label {
  grid-row: 1;
  grid-column: 2;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--jb-deep);
  margin: 0;
}
#contact .ci-card p {
  grid-column: 1 / -1;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--jb-deep);
  font-weight: 600;
  margin: 0;
  padding-left: 2px;
}
#contact .ci-card p a { color: var(--jb-blue); text-decoration: none; }
#contact .ci-card p a:hover { color: var(--jb-blue-dark); }
/* 电话总卡 */
#contact .ci-phones { padding: 30px 30px 10px; }
#contact .ci-list {
  grid-column: 1 / -1;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
#contact .ci-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 6px;
  border-radius: 10px;
  border-bottom: 1px solid #eef4fa;
  transition: background 0.25s var(--jb-ease);
}
#contact .ci-list li:last-child { border-bottom: none; }
#contact .ci-list li:hover { background: #f2f8fd; }
#contact .ci-tag {
  flex: 0 0 auto;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--jb-deep);
}
#contact .ci-num {
  flex: 1 1 auto;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--jb-blue-dark);
  font-variant-numeric: tabular-nums;
}
#contact .ci-num a { color: var(--jb-blue-dark); text-decoration: none; }
#contact .ci-num a:hover { color: var(--jb-blue); text-decoration: underline; }
#contact .ci-person {
  flex: 0 0 auto;
  font-size: 13.5px;
  color: #64778e;
  background: #f2f6fa;
  border: 1px solid #e2eaf2;
  border-radius: 999px;
  padding: 3px 12px;
}
#contact #map {
  height: 400px;
  border-radius: var(--jb-radius);
  box-shadow: var(--jb-shadow-sm);
  border: 1px solid var(--jb-line);
}
@media (min-width: 1200px) {
  #contact { padding: 84px 0 96px; }
  #contact .ci-card-wide { grid-column: 1 / -1; }
  #contact .ci-card { padding: 30px 32px; }
  #contact .ci-card p { font-size: 17px; }
  #contact .ci-list li { padding: 12px 16px; }
  #contact .ci-num { font-size: 16px; }
  #contact .col-lg-5 .ci-grid + .ci-phones { margin-bottom: 0; }
  /* 右侧地图高度由页面 JS 按左栏内容自适应，保持左右视觉平衡 */
}
@media (max-width: 575px) {
  #contact .ci-grid { grid-template-columns: 1fr; }
  #contact .ci-list li { padding: 10px 2px; }
  #contact .ci-card { grid-template-columns: 44px 1fr; padding: 22px 20px; }
  #contact .ci-card > i { width: 44px; height: 44px; font-size: 22px; border-radius: 12px; }
  #contact .ci-label { font-size: 17px; }
}

/* ---------- 15. 文章详情页 ---------- */
@media (min-width: 1200px) {
  #lawinfo { padding: 70px 0 90px; background: var(--jb-bg); }
  #lawinfo .container > table {
    display: block;
    background: #fff;
    border-radius: var(--jb-radius);
    box-shadow: var(--jb-shadow-sm);
    border: 1px solid var(--jb-line);
  }
  #lawinfo .container > table > tbody { display: block; }
  /* 仅重构顶层行/单元格，不影响正文内嵌表格 */
  #lawinfo .container > table > tbody > tr {
    display: block;
    height: auto !important;
    width: 100% !important;
  }
  #lawinfo .container > table > tbody > tr > td {
    display: block;
    padding: 10px 84px;
    font-size: clamp(16px, 0.72vw, 19px);
    line-height: 2.1;
    color: var(--jb-text);
  }
  #lawinfo .container > table > tbody > tr:first-child td {
    padding-top: 52px;
    text-align: center !important;
  }
  #lawinfo .container > table > tbody > tr:first-child td div {
    font-size: clamp(23px, 1.2vw, 32px) !important;
    line-height: 1.6;
  }
  #lawinfo .container > table > tbody > tr:first-child td div strong span {
    font-weight: 700;
    color: var(--jb-deep);
  }
  #lawinfo td.time,
  #lawinfo .container > table > tbody > tr:nth-child(2) td {
    text-align: center !important;
    font-size: 15px !important;
    color: var(--jb-text-3);
    padding-bottom: 26px;
    border-bottom: 1px solid #edf3f9;
  }
  #lawinfo .container > table > tbody > tr:last-child td { padding-bottom: 64px; }
  #lawinfo td p { margin-bottom: 14px; }
  #lawinfo td table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 14px 0;
  }
  #lawinfo td table td,
  #lawinfo td table th {
    border: 1px solid #d9e5f0;
    padding: 8px 14px;
    font-size: 16px;
    line-height: 1.8;
  }
  #lawinfo td table th { background: var(--jb-bg); }
  #lawinfo td img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }
  #lawinfo td a { color: var(--jb-blue); }
  #lawinfo td a:hover { color: var(--jb-blue-dark); }
}

/* ---------- 15.1 文章详情页（新版布局） ---------- */
/* 移动端基础 */
#article-detail { padding: 28px 0 44px; background: #f4f8fc; }
#article-detail .ad-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--jb-line);
  padding: 24px 18px 28px;
}
#article-detail .ad-crumb { display: none; }
#article-detail .ad-title {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--jb-deep);
  margin: 0 0 14px;
}
#article-detail .ad-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--jb-text-3);
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px dashed #e2ecf5;
}
#article-detail .ad-meta i { margin-right: 6px; color: var(--jb-blue); }
#article-detail .ad-meta .ad-cat { display: none; }
#article-detail .ad-body {
  font-size: 16px;
  line-height: 2;
  color: var(--jb-text);
  word-wrap: break-word;
}
#article-detail .ad-body p { margin-bottom: 14px; }
#article-detail .ad-body img {
  max-width: 100% !important;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 18px auto;
}
#article-detail .ad-body table { width: 100% !important; border-collapse: collapse; }
#article-detail .ad-body td,
#article-detail .ad-body th { border: 1px solid #dde8f2; padding: 8px 10px; font-size: 14px; }
#article-detail .ad-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
#article-detail .ad-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
}
#article-detail .ad-btn.ghost { color: var(--jb-blue); border: 1.5px solid rgba(9, 120, 209, 0.35); }
#article-detail .ad-btn.solid { color: #fff; background: linear-gradient(90deg, var(--jb-blue), #2ea9e8); }
#article-detail .ad-side { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
#article-detail .ad-side-card {
  background: #fff;
  border: 1px solid var(--jb-line);
  border-radius: 14px;
  padding: 20px 18px;
}
#article-detail .ad-side-card h3,
#article-detail .ad-side-card h2 { font-size: 16px; font-weight: 700; color: var(--jb-deep); margin: 0 0 12px; }
#article-detail .ad-links { list-style: none; margin: 0; padding: 0; }
#article-detail .ad-links li { margin-bottom: 9px; }
#article-detail .ad-links a { color: var(--jb-text-2); font-size: 14.5px; text-decoration: none; }
#article-detail .ad-contact p { display: flex; font-size: 14px; line-height: 1.7; color: var(--jb-text-2); margin-bottom: 10px; }
#article-detail .ad-contact i { color: var(--jb-blue); margin-right: 10px; }
#article-detail .ad-cta { background: linear-gradient(150deg, var(--jb-deep), #0b3f68); border: none; color: #fff; }
#article-detail .ad-cta h3 { color: #fff; }
#article-detail .ad-cta-desc { font-size: 13.5px; color: rgba(255, 255, 255, 0.75); margin-bottom: 14px; }
#article-detail .ad-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--jb-blue);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 999px;
  text-decoration: none;
}

@media (min-width: 1200px) {
  #article-detail {
    padding: 76px 0 100px;
    background:
      radial-gradient(900px 320px at 100% 0%, rgba(15, 145, 240, 0.05), transparent 60%),
      linear-gradient(180deg, #f6fafd 0%, #eef4fa 100%);
  }
  #article-detail .ad-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 44px;
    align-items: start;
  }
  /* 正文卡片 */
  #article-detail .ad-card {
    border-radius: 20px;
    padding: 46px 62px 40px;
    box-shadow: 0 16px 44px rgba(10, 52, 85, 0.08);
  }
  #article-detail .ad-crumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: var(--jb-text-3);
    margin-bottom: 26px;
  }
  #article-detail .ad-crumb a { color: var(--jb-text-3); text-decoration: none; transition: color 0.25s; }
  #article-detail .ad-crumb a:hover { color: var(--jb-blue); }
  #article-detail .ad-crumb em { font-style: normal; color: #c3d3e2; }
  #article-detail .ad-crumb span { color: var(--jb-blue); font-weight: 600; }
  #article-detail .ad-title {
    font-size: clamp(26px, 1.5vw, 40px);
    line-height: 1.45;
    margin: 0 0 22px;
    letter-spacing: 0.3px;
  }
  #article-detail .ad-meta {
    gap: 28px;
    font-size: 15px;
    padding-bottom: 24px;
    margin-bottom: 36px;
    border-bottom: 1px dashed #dfeaf4;
  }
  #article-detail .ad-meta > span {
    display: inline-flex;
    align-items: center;
  }
  #article-detail .ad-meta i { font-size: 15px; }
  #article-detail .ad-meta .ad-cat {
    display: inline-flex;
    background: #eef6fd;
    border: 1px solid #d8eafb;
    color: var(--jb-blue);
    border-radius: 999px;
    padding: 3px 14px;
    font-size: 13.5px;
    font-weight: 600;
  }
  /* 正文排版 */
  #article-detail .ad-body {
    font-size: clamp(16px, 0.75vw, 19px);
    line-height: 2.1;
    color: #2c3a4b;
  }
  #article-detail .ad-body > p:first-of-type {
    font-size: clamp(17px, 0.82vw, 21px);
    color: var(--jb-deep);
    line-height: 2.05;
    padding: 22px 26px;
    background: linear-gradient(180deg, #f7fbff, #f2f8fe);
    border-left: 4px solid var(--jb-blue);
    border-radius: 0 12px 12px 0;
    margin-bottom: 30px;
  }
  #article-detail .ad-body p { margin-bottom: 18px; }
  #article-detail .ad-body img {
    max-width: 100% !important;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(10, 52, 85, 0.12);
    margin: 30px auto;
  }
  #article-detail .ad-body table {
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 16px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 0 1px #dde8f2;
  }
  #article-detail .ad-body td,
  #article-detail .ad-body th {
    border: 1px solid #e5eef7;
    padding: 11px 16px;
  }
  #article-detail .ad-body tr:nth-child(even) td { background: #f8fbfe; }
  #article-detail .ad-body strong { color: var(--jb-deep); }
  /* 底部操作 */
  #article-detail .ad-foot {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid #eaf1f8;
    justify-content: space-between;
  }
  #article-detail .ad-btn {
    font-size: 15.5px;
    padding: 13px 30px;
    transition: all 0.3s var(--jb-ease);
  }
  #article-detail .ad-btn.ghost:hover {
    background: #eef6fd;
    border-color: var(--jb-blue);
    transform: translateX(-3px);
  }
  #article-detail .ad-btn.solid { box-shadow: 0 10px 24px rgba(9, 120, 209, 0.26); }
  #article-detail .ad-btn.solid:hover {
    transform: translateX(3px);
    box-shadow: 0 14px 30px rgba(9, 120, 209, 0.34);
  }
  /* 侧栏 */
  #article-detail .ad-side {
    position: sticky;
    top: 120px;
    gap: 22px;
    margin-top: 0;
  }
  #article-detail .ad-side-card {
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: 0 10px 28px rgba(10, 52, 85, 0.06);
  }
  #article-detail .ad-side-card h3 {
    font-size: 17px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    position: relative;
  }
  #article-detail .ad-side-card h3::after,
  #article-detail .ad-side-card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--jb-blue), var(--jb-green));
  }
  #article-detail .ad-links li { margin-bottom: 4px; }
  #article-detail .ad-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    padding: 10px 12px;
    border-radius: 9px;
    transition: all 0.25s var(--jb-ease);
  }
  #article-detail .ad-links a::after {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 14px;
    color: #c3d3e2;
    transition: all 0.25s;
  }
  #article-detail .ad-links a:hover {
    background: #f2f8fe;
    color: var(--jb-blue);
    transform: translateX(3px);
  }
  #article-detail .ad-links a:hover::after { color: var(--jb-blue); }
  #article-detail .ad-contact p { font-size: 15px; margin-bottom: 14px; }
  #article-detail .ad-contact i {
    flex: none;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border-radius: 9px;
    background: #eef6fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }
  #article-detail .ad-cta { padding: 30px 28px; box-shadow: 0 16px 34px rgba(10, 52, 85, 0.2); }
  #article-detail .ad-cta h3::after { background: rgba(255, 255, 255, 0.5); }
  #article-detail .ad-cta-desc { margin-bottom: 20px; line-height: 1.7; }
  #article-detail .ad-cta-btn { padding: 12px 26px; transition: transform 0.3s var(--jb-ease); }
  #article-detail .ad-cta-btn:hover { transform: translateY(-3px); }
}

/* ---------- 15.2 服务领域详情页 ---------- */
/* 移动端基础 */
#service-detail { padding: 28px 0 44px; background: #f4f8fc; }
#service-detail .sd-card {
  background: #fff;
  border: 1px solid var(--jb-line);
  border-radius: 14px;
  padding: 24px 18px 28px;
}
#service-detail .sd-crumb { display: none; }
#service-detail .sd-title { font-size: 22px; line-height: 1.4; font-weight: 700; color: var(--jb-deep); margin: 0 0 12px; }
#service-detail .sd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--jb-text-3);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed #e2ecf5;
}
#service-detail .sd-meta i { margin-right: 6px; color: var(--jb-blue); }
#service-detail .sd-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
#service-detail .sd-tabs a {
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #f2f7fb;
  color: var(--jb-text-2);
  text-decoration: none;
}
#service-detail .sd-tabs a.active { color: #fff; background: linear-gradient(135deg, var(--jb-blue), #2f9be0); }
#service-detail .sd-body { font-size: 16px; line-height: 2; color: var(--jb-text); }
#service-detail .sd-body p { margin-bottom: 14px; }
#service-detail .sd-h,
#service-detail .sd-sub {
  font-size: 17px;
  font-weight: 700;
  color: var(--jb-deep);
  margin: 22px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--jb-blue);
  line-height: 1.6;
}
#service-detail .sd-sub { color: var(--jb-blue); font-size: 16px; border-left-color: var(--jb-green); }
#service-detail .sd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
#service-detail .sd-num {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 5px;
  border-radius: 50%;
  background: #eef6fd;
  color: var(--jb-blue);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#service-detail .sd-item-txt { flex: 1; }
#service-detail .sd-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
#service-detail .sd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
}
#service-detail .sd-btn.ghost { color: var(--jb-blue); border: 1.5px solid rgba(9, 120, 209, 0.35); }
#service-detail .sd-btn.solid { color: #fff; background: linear-gradient(90deg, var(--jb-blue), #2ea9e8); }
#service-detail .sd-side { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
#service-detail .sd-side-card {
  background: #fff;
  border: 1px solid var(--jb-line);
  border-radius: 14px;
  padding: 20px 18px;
}
#service-detail .sd-side-card h3,
#service-detail .sd-side-card h2 { font-size: 16px; font-weight: 700; color: var(--jb-deep); margin: 0 0 12px; }
#service-detail .sd-links { list-style: none; margin: 0; padding: 0; }
#service-detail .sd-links li { margin-bottom: 9px; }
#service-detail .sd-links a { color: var(--jb-text-2); font-size: 14.5px; text-decoration: none; }
#service-detail .sd-links a.active { color: var(--jb-blue); font-weight: 600; }
#service-detail .sd-contact p { display: flex; font-size: 14px; line-height: 1.7; color: var(--jb-text-2); margin-bottom: 10px; }
#service-detail .sd-contact i { color: var(--jb-blue); margin-right: 10px; }
#service-detail .sd-cta { background: linear-gradient(150deg, var(--jb-deep), #0b3f68); border: none; color: #fff; }
#service-detail .sd-cta h3 { color: #fff; }
#service-detail .sd-cta-desc { font-size: 13.5px; color: rgba(255, 255, 255, 0.75); margin-bottom: 14px; }
#service-detail .sd-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--jb-blue);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 999px;
  text-decoration: none;
}

@media (min-width: 1200px) {
  #service-detail {
    padding: 76px 0 100px;
    background:
      radial-gradient(900px 320px at 100% 0%, rgba(15, 145, 240, 0.05), transparent 60%),
      linear-gradient(180deg, #f6fafd 0%, #eef4fa 100%);
  }
  #service-detail .sd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 44px;
    align-items: start;
  }
  #service-detail .sd-card {
    border-radius: 20px;
    padding: 46px 62px 40px;
    box-shadow: 0 16px 44px rgba(10, 52, 85, 0.08);
  }
  #service-detail .sd-crumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: var(--jb-text-3);
    margin-bottom: 26px;
  }
  #service-detail .sd-crumb a { color: var(--jb-text-3); text-decoration: none; transition: color 0.25s; }
  #service-detail .sd-crumb a:hover { color: var(--jb-blue); }
  #service-detail .sd-crumb em { font-style: normal; color: #c3d3e2; }
  #service-detail .sd-crumb span { color: var(--jb-blue); font-weight: 600; }
  #service-detail .sd-title {
    font-size: clamp(28px, 1.55vw, 40px);
    margin: 0 0 20px;
    letter-spacing: 0.3px;
  }
  #service-detail .sd-meta {
    gap: 24px;
    font-size: 15px;
    padding-bottom: 24px;
    margin-bottom: 26px;
  }
  #service-detail .sd-meta > span { display: inline-flex; align-items: center; }
  #service-detail .sd-meta .sd-tag {
    background: #eef6fd;
    border: 1px solid #d8eafb;
    color: var(--jb-blue);
    border-radius: 999px;
    padding: 3px 15px;
    font-size: 13.5px;
    font-weight: 600;
  }
  /* 服务切换标签 */
  #service-detail .sd-tabs { gap: 14px; margin-bottom: 34px; }
  #service-detail .sd-tabs a {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 34px;
    border: 1px solid var(--jb-line);
    background: #fff;
    color: var(--jb-text-2);
    transition: all 0.3s var(--jb-ease);
  }
  #service-detail .sd-tabs a:hover {
    border-color: rgba(9, 120, 209, 0.4);
    color: var(--jb-blue);
    transform: translateY(-2px);
  }
  #service-detail .sd-tabs a.active {
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(9, 120, 209, 0.26);
  }
  /* 正文 */
  #service-detail .sd-body { font-size: clamp(16px, 0.75vw, 19px); line-height: 2.1; color: #2c3a4b; }
  #service-detail .sd-body p { margin-bottom: 18px; }
  #service-detail .sd-h {
    font-size: clamp(19px, 0.95vw, 24px);
    margin: 42px 0 22px;
    padding-left: 18px;
    border-left: 5px solid;
    border-image: linear-gradient(180deg, var(--jb-blue), var(--jb-green)) 1;
  }
  #service-detail .sd-h:first-child { margin-top: 0; }
  #service-detail .sd-sub {
    font-size: clamp(17px, 0.85vw, 21px);
    color: var(--jb-deep);
    margin: 30px 0 16px;
    padding-left: 15px;
    border-left: 4px solid var(--jb-green);
  }
  #service-detail .sd-item {
    gap: 16px;
    margin-bottom: 16px;
    padding: 16px 22px;
    background: #f8fbfe;
    border: 1px solid #eaf2f9;
    border-radius: 12px;
    transition: all 0.3s var(--jb-ease);
  }
  #service-detail .sd-item:hover {
    background: #f2f8fe;
    border-color: #d6e8f8;
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(10, 52, 85, 0.06);
  }
  #service-detail .sd-num {
    width: 30px;
    height: 30px;
    margin-top: 4px;
    font-size: 14px;
    background: linear-gradient(135deg, var(--jb-blue), #2f9be0);
    color: #fff;
    box-shadow: 0 6px 14px rgba(9, 120, 209, 0.28);
  }
  /* 底部 */
  #service-detail .sd-foot {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid #eaf1f8;
    justify-content: space-between;
  }
  #service-detail .sd-btn { font-size: 15.5px; padding: 13px 30px; transition: all 0.3s var(--jb-ease); }
  #service-detail .sd-btn.ghost:hover { background: #eef6fd; border-color: var(--jb-blue); transform: translateX(-3px); }
  #service-detail .sd-btn.solid { box-shadow: 0 10px 24px rgba(9, 120, 209, 0.26); }
  #service-detail .sd-btn.solid:hover { transform: translateX(3px); box-shadow: 0 14px 30px rgba(9, 120, 209, 0.34); }
  /* 侧栏 */
  #service-detail .sd-side { position: sticky; top: 120px; gap: 22px; margin-top: 0; }
  #service-detail .sd-side-card {
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: 0 10px 28px rgba(10, 52, 85, 0.06);
  }
  #service-detail .sd-side-card h3 {
    font-size: 17px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    position: relative;
  }
  #service-detail .sd-side-card h3::after,
  #service-detail .sd-side-card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--jb-blue), var(--jb-green));
  }
  #service-detail .sd-links li { margin-bottom: 4px; }
  #service-detail .sd-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    padding: 11px 14px;
    border-radius: 9px;
    transition: all 0.25s var(--jb-ease);
  }
  #service-detail .sd-links a::after {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 14px;
    color: #c3d3e2;
  }
  #service-detail .sd-links a:hover { background: #f2f8fe; color: var(--jb-blue); transform: translateX(3px); }
  #service-detail .sd-links a:hover::after { color: var(--jb-blue); }
  #service-detail .sd-links a.active {
    background: linear-gradient(90deg, #eaf4fd, #f4fafe);
    color: var(--jb-blue);
    font-weight: 600;
  }
  #service-detail .sd-links a.active::after { color: var(--jb-blue); }
  #service-detail .sd-contact p { font-size: 15px; margin-bottom: 14px; }
  #service-detail .sd-contact i {
    flex: none;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border-radius: 9px;
    background: #eef6fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }
  #service-detail .sd-cta { padding: 30px 28px; box-shadow: 0 16px 34px rgba(10, 52, 85, 0.2); }
  #service-detail .sd-cta h3::after { background: rgba(255, 255, 255, 0.5); }
  #service-detail .sd-cta-desc { margin-bottom: 20px; line-height: 1.7; }
  #service-detail .sd-cta-btn { padding: 12px 26px; transition: transform 0.3s var(--jb-ease); }
  #service-detail .sd-cta-btn:hover { transform: translateY(-3px); }
}

/* ---------- 16. 分页 ---------- */
.pagination { justify-content: center; }
@media (max-width: 767px) {
  .pagination { flex-wrap: wrap; justify-content: center; }
  .pagination .page-link { padding: 8px 14px; margin: 0 2px 6px; }
}
@media (min-width: 1200px) {
  .pagination .page-link {
    padding: 12px 24px;
    font-size: 17px;
    margin: 0 5px;
    border-radius: 10px !important;
    color: var(--jb-deep);
    border-color: #dfe7f0;
    font-variant-numeric: tabular-nums;
  }
  .pagination .page-item.active .page-link {
    background: var(--jb-blue);
    border-color: var(--jb-blue);
    box-shadow: 0 6px 16px rgba(9, 120, 209, 0.3);
  }
  .pagination .page-link:hover {
    background: #eaf3fb;
    color: var(--jb-blue);
    border-color: #cfe2f3;
  }
}

/* ---------- 17. 页脚（重设计） ---------- */
/* 基础样式（移动端）：栏堆叠、沿用原深色底 */
#footer .footer-main { padding: 36px 0 22px; }
#footer .f-brand { margin-bottom: 10px; }
#footer .f-logo img { height: 42px; }
#footer .f-desc { margin-top: 12px; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.72); }
#footer .f-tags span {
  font-size: 12px;
  color: #a9cdec;
  border: 1px solid rgba(169, 205, 236, 0.35);
  border-radius: 999px;
  padding: 2px 10px;
  margin: 0 6px 6px 0;
  display: inline-block;
}
#footer .f-col { margin-bottom: 18px; }
#footer .f-col h4 { color: #fff; font-size: 16px; margin: 0 0 12px; letter-spacing: 2px; }
#footer .f-col ul { list-style: none; margin: 0; padding: 0; }
#footer .f-col ul li { margin-bottom: 8px; }
#footer .f-col ul a { color: rgba(255, 255, 255, 0.75); font-size: 14px; text-decoration: none; }
#footer .f-contact-list p { font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); margin-bottom: 8px; }
#footer .f-contact-list i { margin-right: 8px; color: #9fc6ea; }
#footer .f-tel { font-size: 22px; color: #fff; font-weight: 700; }
#footer .f-tel-label { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin: 2px 0 12px; }
#footer .f-tel-sub { font-size: 17px; color: #cfe4f7; font-weight: 600; }
#footer .f-site { display: none; }
#footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
#footer .footer-bottom-inner { padding: 12px 0 4px; }
#footer .footer-bottom .copyright {
  font-size: 12.5px;
  text-align: center;
  padding-top: 0;
}
#footer .footer-bottom .copyright a { color: #9fc6ea; margin-left: 8px; }
#footer .footer-bottom .f-navtop { display: none; }

@media (min-width: 1200px) {
  #footer {
    padding: 0;
    position: relative;
    color: #c8d8e8;
    background:
      radial-gradient(1100px 420px at 85% -20%, rgba(15, 145, 240, 0.22), transparent 62%),
      radial-gradient(900px 380px at 0% 120%, rgba(28, 190, 132, 0.10), transparent 60%),
      linear-gradient(180deg, #0c2d4e 0%, #08233d 55%, #061a2e 100%);
    overflow: hidden;
  }
  #footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--jb-blue), var(--jb-green));
  }
  /* 主信息区 */
  #footer .footer-main {
    display: flex;
    align-items: flex-start;
    gap: 64px;
    padding: 62px 10px 54px;
  }
  /* 品牌栏 */
  #footer .f-brand { flex: 1.45; min-width: 0; }
  #footer .f-logo {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 10px 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  }
  #footer .f-logo img { height: 52px; width: auto; display: block; }
  #footer .f-desc {
    margin-top: 18px;
    font-size: 15.5px;
    line-height: 1.9;
    color: rgba(200, 216, 232, 0.82);
    max-width: 460px;
  }
  #footer .f-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
  #footer .f-tags span {
    font-size: 13px;
    color: #a9cdec;
    border: 1px solid rgba(169, 205, 236, 0.35);
    border-radius: 999px;
    padding: 3px 12px;
    letter-spacing: 0.5px;
  }
  /* 链接栏 */
  #footer .f-col { flex: 1; min-width: 0; padding-top: 6px; }
  #footer .f-col h4 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
  }
  #footer .f-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--jb-blue), var(--jb-green));
  }
  #footer .f-col ul { list-style: none; margin: 0; padding: 0; column-gap: 24px; }
  #footer .f-col ul li { margin-bottom: 12px; }
  #footer .f-col ul a {
    color: rgba(200, 216, 232, 0.78);
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s var(--jb-ease), transform 0.25s var(--jb-ease);
  }
  #footer .f-col ul a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(169, 205, 236, 0.5);
    margin-right: 10px;
    flex: none;
    transition: background 0.25s;
  }
  #footer .f-col ul a:hover { color: #fff; transform: translateX(4px); }
  #footer .f-col ul a:hover::before { background: var(--jb-green); }
  /* 联系栏 */
  #footer .f-contact-list p {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(200, 216, 232, 0.82);
    margin-bottom: 13px;
  }
  #footer .f-contact-list i {
    flex: none;
    width: 34px;
    height: 34px;
    margin-right: 12px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #9fc6ea;
  }
  #footer .f-contact-list i.ion-ios-telephone-outline { margin-top: 1px; }
  /* 热线栏 */
  #footer .f-tel {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
  }
  #footer .f-tel-label {
    font-size: 13.5px;
    color: rgba(200, 216, 232, 0.6);
    margin: 4px 0 20px;
  }
  #footer .f-tel-sub {
    font-size: 19px;
    font-weight: 600;
    color: #cfe4f7;
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
  }
  #footer .f-site {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #9fc6ea;
    border: 1px solid rgba(159, 198, 234, 0.35);
    border-radius: 999px;
    padding: 6px 16px;
    text-decoration: none;
    transition: all 0.3s var(--jb-ease);
  }
  #footer .f-site:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
  /* 底部版权条 */
  #footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
    position: relative;
  }
  #footer .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 10px;
  }
  #footer .footer-bottom .copyright {
    font-size: 14.5px;
    color: rgba(200, 216, 232, 0.62);
    letter-spacing: 0.4px;
    margin: 0;
  }
  #footer .footer-bottom .copyright a {
    color: #9fc6ea;
    padding: 2px 12px;
    border: 1px solid rgba(159, 198, 234, 0.3);
    border-radius: 999px;
    margin-left: 12px;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.3s var(--jb-ease);
  }
  #footer .footer-bottom .copyright a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
  }
  #footer .footer-bottom .f-navtop {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 13.5px;
    color: rgba(200, 216, 232, 0.55);
  }
  #footer .footer-bottom .f-navtop a {
    color: rgba(200, 216, 232, 0.72);
    text-decoration: none;
    transition: color 0.25s;
  }
  #footer .footer-bottom .f-navtop a:hover { color: #fff; }
}

/* ---------- 18. 返回顶部 ---------- */
@media (min-width: 1200px) {
  .back-to-top {
    width: 52px;
    height: 52px;
    padding: 0;
    font-size: 18px;
    border-radius: 50%;
    right: 30px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(9, 120, 209, 0.4);
    transition: transform 0.3s var(--jb-ease), background 0.3s;
  }
  .back-to-top:hover {
    background: var(--jb-blue);
    color: #fff;
    transform: translateY(-4px);
  }
}

/* ---------- 19. 公司介绍页 · 消除空段留白 + 业务特长强化 ---------- */
/* 折叠原文中的 <p><br/></p> 空段落（全宽通用，文字内容不变） */
#about .content p > br:only-child { display: none; }
#about .content p:has(> br:only-child),
#about .content p:empty { display: none; }

@media (min-width: 1200px) {
  #about.about-page { padding: 84px 0 96px; }
  #about.about-page .content p {
    margin-bottom: 20px;
    line-height: 2.05;
  }
  /* “业务特长：”子标题样式 */
  #about.about-page .about-subhead {
    margin: 30px 0 16px;
    padding-left: 16px;
    font-weight: 700;
    font-size: clamp(19px, 0.95vw, 24px);
    color: var(--jb-deep);
    border-left: 4px solid;
    border-image: linear-gradient(180deg, var(--jb-blue), var(--jb-green)) 1;
    line-height: 1.5;
  }
  /* 业务特长内容卡片化 */
  #about.about-page .about-services {
    background: var(--jb-bg);
    border: 1px solid var(--jb-line);
    border-radius: var(--jb-radius);
    padding: 22px 30px;
    color: var(--jb-text);
    margin-bottom: 0;
    line-height: 2.1;
    box-shadow: var(--jb-shadow-sm);
  }
}

/* ---------- 20. SEO 语义层：H1 视觉与原标题 H2 完全一致 ---------- */
/* 内页横幅标题 */
#innerBanner h1 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 5px;
  opacity: 0.85;
  margin: 0 0 8px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
#innerBanner h1 span {
  display: inline-block;
  font-size: clamp(36px, 2vw, 54px);
  letter-spacing: 8px;
  font-weight: 700;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  color: #fff;
}
/* 首页 / 公司介绍正文主标题 */
#about .content h1 {
  font-size: clamp(24px, 1.25vw, 34px);
  font-weight: 700;
  color: var(--jb-deep);
  margin: 0 0 24px;
  padding-left: 18px;
  border-left: 5px solid;
  border-image: linear-gradient(180deg, var(--jb-blue), var(--jb-green)) 1;
  line-height: 1.4;
}

/* ---------- 21. SEO 语义层补充：栏目导语 + 页脚栏目标题 ---------- */
/* 图集/列表栏目页导语 */
.channel-lead {
  font-size: 16px;
  line-height: 1.9;
  color: #52627a;
  background: #f2f7fd;
  border-left: 4px solid var(--jb-blue);
  border-radius: 0 10px 10px 0;
  padding: 14px 22px;
  margin: 4px 0 28px;
}
/* 页脚栏目标题（由 h4 改为 p，避免标题层级跳级，样式与原 h4 一致） */
#footer .f-col .f-col-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 2px;
}
@media (min-width: 1200px) {
  #footer .f-col .f-col-title {
    font-size: 17px;
    letter-spacing: 2px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
  }
  #footer .f-col .f-col-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--jb-blue), var(--jb-green));
  }
}

/* ---------- 22. 标题层级修正后的样式补充（保持视觉不变） ---------- */
/* 首页服务卡标题（h4 → h3，补齐 style.css 中 h4 的基础样式） */
#services .box h3.title {
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  display: block;
  width: 100%;
  text-align: center;
}
#services .box h3.title a { color: #444; text-decoration: none; }
/* 团队成员标题（h4 → h3） */
#team .member h3 { font-weight: 700; margin-bottom: 2px; font-size: 18px; }

/* ---------- 23. 首页 hero banner 重设计 ---------- */
/* 照片作背景，深蓝品牌渐变自左向右过渡，左侧文案区 + 双按钮 */
#myCarousel .hero-slide {
  position: relative;
  height: clamp(420px, 30vw, 820px);
}
#myCarousel .hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#myCarousel .hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,38,68,0.82) 0%, rgba(6,38,68,0.55) 42%, rgba(6,38,68,0.12) 78%, rgba(6,38,68,0.05) 100%);
}
#myCarousel .hero-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4,28,52,0.35) 0%, rgba(4,28,52,0) 26%);
}
#myCarousel .hero-caption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* 与顶部 .container 同一条左边线（公式与第 2 节容器加宽规则一致） */
  padding-left: calc(max((100% - 1680px) / 2, 0px) + 40px);
  padding-right: 28px;
  max-width: none;
}
/* 与顶部 .container（Bootstrap 断点）左边缘对齐，banner 文字与 logo 同一条左边线 */
@media (min-width: 992px) and (max-width: 1199px) {
  /* 此断点容器实际为 960px（style.css 覆盖），内容左缘 = (100%-960)/2 + 15px */
  #myCarousel .hero-caption { padding-left: calc((100% - 960px) / 2 + 15px); }
}
@media (min-width: 768px) and (max-width: 991px) {
  #myCarousel .hero-caption { padding-left: calc((100% - 720px) / 2); }
}
@media (min-width: 1920px) {
  #myCarousel .hero-caption {
    padding-left: calc(max((100% - min(88vw, 2320px)) / 2, 0px) + 40px);
  }
}
@media (min-width: 3200px) {
  #myCarousel .hero-caption {
    padding-left: calc(max((100% - min(86vw, 3160px)) / 2, 0px) + 56px);
  }
}
#myCarousel .hero-kicker {
  margin: 0 0 14px;
  padding: 6px 16px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #cfe6f7;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
#myCarousel .hero-title {
  margin: 0 0 16px;
  max-width: 620px;
  font-size: clamp(26px, 2.6vw, 42px);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 14px rgba(4, 28, 52, 0.45);
}
#myCarousel .hero-sub {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(4, 28, 52, 0.4);
}
#myCarousel .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
#myCarousel .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--jb-blue, #0978d1);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(4, 28, 52, 0.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
#myCarousel .hero-btn:hover {
  background: #0b84dd;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(4, 28, 52, 0.45);
}
#myCarousel .hero-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
  backdrop-filter: blur(2px);
}
#myCarousel .hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}
/* 切换到当前帧时文案轻轻上浮，避免生硬 */
#myCarousel .owl-item .hero-caption { opacity: 0; }
#myCarousel .owl-item.active .hero-caption {
  opacity: 1;
  animation: heroFadeUp .7s ease both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* 小屏：加深遮罩保证可读性，标题字号收缩 */
@media (max-width: 991px) {
  #myCarousel .hero-slide { height: 380px; }
  #myCarousel:not(.owl-loaded) { height: 380px; }
  #myCarousel .hero-caption { padding-left: 15px; padding-right: 15px; }
  #myCarousel .hero-shade {
    background: linear-gradient(90deg, rgba(6,38,68,0.88) 0%, rgba(6,38,68,0.62) 60%, rgba(6,38,68,0.35) 100%);
  }
  #myCarousel .hero-kicker { font-size: 12px; padding: 4px 12px; letter-spacing: 1px; }
  #myCarousel .hero-sub { margin-bottom: 20px; }
  #myCarousel .hero-btn { padding: 10px 22px; font-size: 14px; }
}

/* ---------- 24. 首页 FAQ ---------- */
#faq { padding: 70px 0 80px; background: #f5f9fd; }
#faq .section-sub {
  text-align: center;
  margin-top: 10px;
  color: #5a6c85;
  font-size: 15px;
}
#faq .faq-list {
  max-width: 880px;
  margin: 40px auto 0;
}
#faq .faq-item {
  background: #fff;
  border: 1px solid #e2ecf5;
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
#faq .faq-item[open] {
  border-color: #bcd8ee;
  box-shadow: 0 8px 24px rgba(9, 120, 209, 0.08);
}
#faq .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #123a5e;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
#faq .faq-item summary::-webkit-details-marker { display: none; }
#faq .faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid #7fa6c9;
  border-bottom: 2px solid #7fa6c9;
  transform: rotate(45deg);
  transition: transform .25s ease;
  margin-top: -4px;
}
#faq .faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
#faq .faq-item .faq-answer {
  padding: 0 22px 20px;
  color: #44536a;
  font-size: 15px;
  line-height: 1.85;
}
#faq .faq-item .faq-answer p { margin: 0; }
#faq .faq-item .faq-answer a { color: var(--jb-blue, #0978d1); }
@media (max-width: 767px) {
  #faq { padding: 50px 0 60px; }
  #faq .faq-item summary { padding: 15px 16px; font-size: 15px; }
  #faq .faq-item .faq-answer { padding: 0 16px 16px; font-size: 14px; }
}
