/* 主内容宽度变量：与 .container、底部内层共用，保证全站内容左右对齐 */
:root {
    --container-w: 80vw;
    --container-max: 1500px;
    --gutter: 20px;
    /* 顶栏高度：下拉菜单遮罩的起始位置也用它，改一处即可 */
    --header-h: 70px;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background-color: #fff;
}

/* 无障碍：仅屏幕阅读器可见 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 主内容区容器：最大 1500px，PC 端不超过屏幕 80%，移动端不超过 92% */
.container {
    width: var(--container-w);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

@media (max-width: 768px) {
    :root {
        --container-w: 92%;
        --gutter: 12px;
        --header-h: 58px;
    }

    .container {
        width: var(--container-w);
        padding: 0 ;
    }
}

/* 顶部导航 */
.header {
    width: 100%;
    height: var(--header-h);
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 100px;
}

.logo img {
    height: 30px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
    /* logo + 菜单靠左成一组，右侧（电话/按钮）顶到最右边 */
    margin-right: auto;
}

.nav a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.nav a:hover {
    color: #0c53fe;
}

.nav a.active {
    color: #0c53fe;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

.phone img {
    width: 18px;
    height: 18px;
    display: block;
}

.consult-btn {
    padding: 8px 20px;
    background-color: #0c53fe;
    color: #fff;
    font-size: 14px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.consult-btn:hover {
    background-color: #0052cc;
}

/* 移动端菜单底部热线：宽屏不显示（由顶部 .phone 承担），窄屏在 @media 里展开 */
.nav-foot {
    display: none;
}

/* 移动端菜单遮罩，由 footer 脚本动态插入 body 并切换 .show */
.nav-mask {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: var(--header-h);
    /* 淡一层：只做「菜单外的内容已失焦」的提示，不把页面压成一整块深色 */
    background: rgba(15, 34, 67, .2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

.nav-mask.show {
    opacity: 1;
    visibility: visible;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Banner 轮播 */
.banner-swiper {
    width: 100%;
    position: relative;
}

.banner-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* 轮播小动画：当前屏图片缓慢推近、文字依次上浮。
   动画挂在 .swiper-slide-active 上，每次切到该屏自动重播；
   JS 未执行时没有这个类，内容按默认状态正常显示 */
@keyframes bannerZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }
}

@keyframes bannerFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-swiper .swiper-slide-active .banner-img {
    animation: bannerZoom 7s ease-out forwards;
}

.banner-swiper .swiper-slide-active .banner-content>* {
    animation: bannerFadeUp 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.banner-swiper .swiper-slide-active .banner-title {
    animation-delay: 0.08s;
}

.banner-swiper .swiper-slide-active .banner-subtitle {
    animation-delay: 0.18s;
}

.banner-swiper .swiper-slide-active .banner-features {
    animation-delay: 0.28s;
}

.banner-swiper .swiper-slide-active .banner-form {
    animation-delay: 0.38s;
}

/* 系统开启「减少动态效果」时不做动画 */
@media (prefers-reduced-motion: reduce) {
    .banner-swiper .swiper-slide-active .banner-img,
    .banner-swiper .swiper-slide-active .banner-content>* {
        animation: none;
    }
}

.banner-swiper .banner-img {
    width: 100%;
    /* height: 520px; */
    /* object-fit: cover;
    object-position: center right; */
    display: block;
}

.banner-content-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-content {
    width: 60%;
    max-width: 820px;
}

.banner-title {
    font-size: 36px;
    color: #222;
    line-height: 1.3;
    margin-bottom: 18px;
    font-weight: 500;
}

.banner-title span {
    color: #0c53fe;
    margin-right: 8px;
}

.banner-subtitle {
    font-size: 20px;
    color: #333;
    margin-bottom: 30px;
}

.banner-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: #0c53fe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.feature-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.feature-text h2 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: #212c37;
    line-height: 1.5;
}

.banner-form {
    display: flex;
    gap: 10px;
    max-width: 430px;
}

.banner-form input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.banner-form input::placeholder {
    color: #999;
}

.banner-form button {
    height: 44px;
    padding: 0 28px;
    background: #0c53fe;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.banner-form button:hover {
    background: #0052cc;
}

/* Swiper 分页器和箭头 */
.banner-swiper .swiper-pagination {
    bottom: 20px;
}

.banner-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.7;
}

.banner-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #0c53fe;
}

.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.3s;
}

.banner-swiper .swiper-button-prev:hover,
.banner-swiper .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.45);
}

.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after {
    font-size: 18px;
}

/* 服务客户 */
.customers {
    padding: 70px 0;
    background: #fff;
}

.section-head {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 36px;
    color: #000000;
    font-weight: bold;
}

/* .section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #0c53fe;
    margin: 14px auto 0;
    border-radius: 2px;
} */

.section-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    max-width: 1200px;
    margin: 20px auto 0 auto;
}

/* 无缝循环滚动容器 */
.customer-marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    /* 上下留白给悬浮时的位移与阴影，负 margin 抵消占位，避免和上下区块贴太近 */
    padding: 6px 0 22px;
    margin-bottom: -22px;
}

.customer-track {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
    list-style: none;
    flex-shrink: 0;
    animation: customer-scroll 30s linear infinite;
}

.customer-marquee:hover .customer-track {
    animation-play-state: paused;
}

@keyframes customer-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.customer-item {
    flex-shrink: 0;
    width: 170px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.customer-item:hover {
    border-color: #cddffd;
    box-shadow: 0 10px 24px rgba(12, 83, 254, 0.16);
    transform: translateY(-4px);
}

/* 个人服务：分类下方的说明文字（后台栏目简介） */
.category-intro {
    margin: 4px 0 18px;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
}

.customer-item img {
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 0.86;
    transform: translateZ(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 悬浮时 logo 由淡转实并微微放大，和卡片抬起形成层次 */
.customer-item:hover img {
    opacity: 1;
    transform: scale(1.06);
}

/* 尊重系统减少动效设置 */
@media (prefers-reduced-motion: reduce) {
    .customer-track {
        animation: none;
    }

    .customer-marquee {
        overflow-x: auto;
    }
}

/* 服务产品 */
.services-container {
    width: 100%;
    background-color: #f6f7fa;
}

.services {
    padding: 60px 0;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
}

.service-tab {
    position: relative;
    padding: 10px 4px;
    font-size: 24px;
    color: #000000;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.service-tab.active,
.service-tab:hover {
    color: #0c53fe;
}

.service-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0c53fe;
}

.tab-panel {
    display: none;
    background-color: #fff;
    padding: 26px;
}

.tab-panel.active {
    display: block;
}

.category-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 32px;
}

.category-nav {
    flex: 1;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex-shrink: 0;
    padding: 14px 0;
    margin-right: 70px;
    font-size: 18px;
    color: #000;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s;
    white-space: nowrap;
}

.category-tab.active{
    font-size:20px;
    color: #000;
    border-bottom-color: #000;
}

.category-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.3s, color 0.3s;
}

.category-arrow:hover {
    border-color: #0c53fe;
    color: #0c53fe;
}

.category-panel {
    display: none;
}

.category-panel.active {
    display: block;
}

.panel-tip {
    padding: 40px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 32px;
    list-style: none;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
}

.service-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon img {
    width: 34px;
    height: 34px;
    display: block;
}

.service-text {
    flex: 1;
    min-width: 0;
}

.service-name {
    font-size: 20px;
    color: #000;
    font-weight: 500;
    margin-bottom: 6px;
}

.service-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    /* //两行省略号 */
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* 服务城市 */
.service-city {
    position: relative;
    padding: 80px 0;
    background: #020617;
    color: #fff;
    overflow: hidden;
}

.service-city-bg {
    position: absolute;
    inset: 0;
    background: url('../images/city_bg.jpg') no-repeat center center / cover;
    z-index: 0;
}

.service-city-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /*background: rgba(2, 6, 23, 0.78);*/
    z-index: 1;
}

.service-city-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.section-head.light .section-title {
    color: #fff;
    margin-bottom: 30px;
}

.section-head.light .section-desc {
    color: rgba(255, 255, 255, 0.75);
    max-width: 760px;
    margin: 0 auto;
}

.city-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 28px;
    max-width: 60%;
    margin: 40px 0 70px;
}

.stat-item {
    text-align: left;
}

.stat-num {
    font-size: 56px;
    font-weight: 500;
    color: #318af7;
    margin-bottom: 8px;
    line-height: 1;
}

/* 等宽数字：计数过程中位数变化时宽度不抖 */
.stat-num .num {
    font-variant-numeric: tabular-nums;
    display: inline-block;
}

.stat-num .unit {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    margin-left: 2px;
}

.stat-label {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 4px;
}

.stat-en {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.city-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 18px 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.city-list {
    display: flex;
    gap: 36px;
    list-style: none;
    flex-wrap: wrap;
}

.city-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.city-list a:hover {
    color: #0c53fe;
}

.city-more {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s;
}

.city-more:hover {
    color: #0c53fe;
}

.city-more .arrow {
    font-size: 18px;
}

/* 客户案例 */
.cases {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    background: #f3f8ff url('../images/case_bg.jpg') no-repeat center center / cover;
}

/* 背景图遮罩：保证卡片与文字的可读性 */
/* .cases::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(243, 248, 255, 0.8);
    z-index: 0;
} */

.cases .container {
    position: relative;
    z-index: 1;
}

.case-swiper {
    position: relative;
}

.case-grid {
    display: grid;
    /* minmax(0, 1fr) 而非 1fr：标题是 nowrap 的，min-content 会把列撑破 */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
}

.case-item {
    min-width: 0;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s, transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    box-shadow: 0 10px 28px rgba(1, 100, 255, 0.12);
    transform: translateY(-4px);
}

.case-img {
    aspect-ratio: 18 / 10;
    overflow: hidden;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.case-card:hover .case-img img {
    transform: scale(1.05);
}

.case-info {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-title {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 案例标题带链接：保持标题本身的颜色，去掉下划线，悬停时变主题蓝 */
.case-title a {
    color: inherit;
    text-decoration: none;
    transition: color .25s;
}

.case-card:hover .case-title a,
.case-title a:hover {
    color: #0c53fe;
}

.case-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 覆盖 Swiper 默认的绝对定位，让分页点排到卡片下方，避免与内容重叠 */
.case-pagination.swiper-pagination {
    position: static;
    width: auto;
    bottom: auto;
    left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 44px;
    margin-bottom: 6px;
}

.case-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cdd4e0;
    opacity: 1;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.case-pagination .swiper-pagination-bullet-active {
    background: #0164ff;
    transform: scale(1.2);
}

/* 在线答疑 */
.qa {
    padding: 60px 0;
    background: #fff;
}

.qa-swiper {
    position: relative;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    list-style: none;
}

.qa-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f2f5;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, transform 0.3s;
}

.qa-card:hover {
    box-shadow: 0 10px 28px rgba(1, 100, 255, 0.1);
    transform: translateY(-4px);
}

.qa-question {
    font-size: 18px;
    font-weight: 500;
    color: #050505;
    line-height: 1.45;
    margin-bottom: 12px;
    /* 标题最多两行，超出显示省略号；不足两行也占位，保证卡片标题区高度一致 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qa-date {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

.qa-answer {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 18px;
    flex: 1;
}

.qa-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: auto;
}

.qa-link {
    font-size: 14px;
    color: #0164ff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s;
}

.qa-link:hover {
    color: #0164ff;
}

.qa-link .arrow {
    transition: transform 0.3s;
}

.qa-link:hover .arrow {
    transform: translateX(4px);
}

/* 覆盖 Swiper 默认绝对定位，避免分页点与卡片重叠 */
.qa-pagination.swiper-pagination {
    position: static;
    width: auto;
    bottom: auto;
    left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 44px;
    margin-bottom: 6px;
}

.qa-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cdd4e0;
    opacity: 1;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.qa-pagination .swiper-pagination-bullet-active {
    background: #0164ff;
    transform: scale(1.2);
}

/* 一站式服务 */
.one-stop {
    position: relative;
    padding: 56px 0;
    background: url('../images/one-stop-bg.jpg') no-repeat center center / cover;
    overflow: hidden;
}

/* 半透明浅色遮罩，保证居中文字在背景图上的可读性 */
/* .one-stop::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(239, 247, 255, 0.92) 0%, rgba(239, 247, 255, 0.72) 45%, rgba(239, 247, 255, 0.55) 100%);
    pointer-events: none;
} */

.one-stop-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.one-stop-content {
    width: 100%;
    max-width: 780px;
    text-align: center;
}

.one-stop-title {
    font-size: 32px;
    font-weight: 500;
    color: #2c7aec;
    line-height: 1.3;
    margin-bottom: 20px;
}

.one-stop-title em {
    color: #2c7aec;
    font-style: normal;
}

.one-stop-desc {
    font-size: 22px;
    color: #2c7aec;
    line-height: 1.8;
    margin: 0 auto 26px;
    max-width: 1200px;
}

.one-stop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 38px;
    background: #006aed;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.one-stop-btn:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

/* 平板适配 */
/* 769~1200px 这段宽度：logo + 主导航 + 电话 + 咨询按钮放不下标准间距，
   header-right 是 flex-shrink:0，多出来的部分只能溢出到容器外造成整页横向滚动。
   把这一行整体收紧一档，让它在这个区间也能容下（Logo 右边距和导航间距是大头） */
@media (max-width: 1200px) {
    .logo {
        margin-right: 24px;
    }

    .nav {
        gap: 20px;
    }

    .nav a {
        font-size: 15px;
    }

    .header-right {
        gap: 12px;
    }

    .phone {
        font-size: 14px;
    }

    .consult-btn {
        padding: 7px 14px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    /* 平板这一档连「收窄间距」也容不下：logo 231 + 导航 450 + 电话 120 + 按钮 80
       已超过容器宽度，而电话/按钮都不能压缩。这里再把 logo 收小、
       隐藏顶部电话（号码在咨询按钮和页脚、菜单里都有），保证整行留在容器内 */
    .logo {
        margin-right: 16px;
    }

    .logo img {
        height: 24px;
    }

    .nav {
        gap: 24px;
    }

    .phone {
        display: none;
    }

    .banner-swiper .banner-img {
        height: 440px;
    }

    .banner-content {
        width: 60%;
    }

    .banner-title {
        font-size: 30px;
    }

    .customer-item {
        width: 150px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 24px;
    }

    .case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 20px;
    }

    .case-info {
        padding: 16px 18px 20px;
    }

    .qa-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px 20px;
    }

    .qa-card {
        padding: 20px;
    }

    .qa-question {
        font-size: 15px;
    }

    .one-stop {
        padding: 80px 0;
    }

    .one-stop-title {
        font-size: 32px;
    }

    .one-stop-desc {
        font-size: 15px;
    }
}

/* 移动端适配 */
/* 顶栏折叠：≤900px 起收成汉堡菜单。
   阈值取 900 而不是 768 —— 容器宽度是 80vw，769~880 这一段即使把间距收紧、
   顶部电话隐藏，头部内容的固有宽度仍比容器宽几十像素，flex-shrink:0 的
   .header-right 会被直接挤出屏幕，造成整页横向滚动 */
@media (max-width: 900px) {
    /* PC 的「logo 右侧留 100px」在窄屏会把咨询按钮与汉堡挤出容器，
       改为 logo 自己吃掉剩余空间（替代隐藏后 nav 的 margin-right:auto） */
    .header-inner {
        gap: 12px;
    }

    .logo {
        margin-right: auto;
    }

    .logo img {
        height: 20px;
    }

    .header-right {
        flex-shrink: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .phone {
        display: none;
    }

    .header-right {
        gap: 12px;
    }

    .consult-btn {
        padding: 7px 14px;
        font-size: 13px;
    }

    /* 展开菜单：悬浮卡片样式 + 滑入动画（替代原来的 display:none 硬切） */
    .nav {
        position: absolute;
        top: calc(100% + 6px);
        /* 与 .container 对齐：两侧各留 container 外边距的一半 */
        left: calc((100% - var(--container-w)) / 2);
        right: calc((100% - var(--container-w)) / 2);
        width: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 0 0;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(15, 34, 67, .14);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* 只装饰主菜单项，避免影响到底部热线里的链接 */
    .nav > a {
        position: relative;
        padding: 15px 20px;
        font-size: 16px;
        color: #2a3346;
        border-bottom: 1px solid #f2f4f8;
    }

    /* 右侧箭头，强化「可进入」的暗示 */
    .nav > a::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 20px;
        width: 7px;
        height: 7px;
        border-top: 1.5px solid #c3cad8;
        border-right: 1.5px solid #c3cad8;
        transform: translateY(-50%) rotate(45deg);
    }

    .nav > a:last-of-type {
        border-bottom: none;
    }

    .nav > a:active {
        background: #f5f8ff;
    }

    /* 只靠左侧竖条与蓝字区分，不铺背景色 */
    .nav > a.active {
        color: #0c53fe;
        font-weight: 500;
    }

    /* 当前栏目左侧竖条 */
    .nav > a.active::before {
        content: "";
        position: absolute;
        left: 0;
        top: 11px;
        bottom: 11px;
        width: 3px;
        border-radius: 0 3px 3px 0;
        background: #0c53fe;
    }

    .nav > a.active::after {
        border-top-color: #0c53fe;
        border-right-color: #0c53fe;
    }

    /* 菜单底部客服热线：与菜单同白底，只用一条分隔线区分，避免整块深色压住菜单 */
    .nav-foot {
        display: block;
        margin-top: 4px;
        padding: 12px 16px 14px;
        border-top: 1px solid #eef1f6;
        background: #fbfcfe;
    }

    .nav-foot-tel {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 2px 0;
        color: #0f1c33;
        text-decoration: none;
    }

    .nav-foot-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        border-radius: 50%;
        background: rgba(12, 83, 254, .1);
    }

    .nav-foot-icon svg {
        width: 19px;
        height: 19px;
        fill: #0c53fe;
        display: block;
    }

    .nav-foot-txt {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
        margin-right: auto;
    }

    .nav-foot-txt em {
        font-style: normal;
        font-size: 12px;
        color: #8b95a6;
    }

    .nav-foot-txt strong {
        font-size: 18px;
        font-weight: 600;
        letter-spacing: .3px;
        color: #0f1c33;
    }

    .nav-foot-btn {
        flex-shrink: 0;
        padding: 6px 14px;
        font-size: 13px;
        color: #fff;
        background: #0c53fe;
        border-radius: 999px;
    }

    .nav-foot-tel:active .nav-foot-btn {
        background: #0052cc;
    }

    .nav-foot-time {
        margin-top: 8px;
        font-size: 12px;
        color: #8b95a6;
    }
}

@media (max-width: 768px) {
    /* 移动端 banner：图片按固定高度裁切铺满，文字压在图上（不再是图下方另起一块浅蓝区域） */
    .banner-swiper .banner-img {
        height: clamp(320px, 64vw, 460px);
        object-fit: cover;
        object-position: center;
    }

    /* 下面这组统一带 .banner-swiper 前缀：文件后半段（栏目横幅 .page-banner 那套）
       有同名的 .banner-title / .banner-features / .feature-* 全局规则，不加前缀会被覆盖 */
    .banner-swiper .banner-content-wrap {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        margin: 0;
        /* 左右与全站 .container 对齐；底部留出让分页点的位置 */
        padding: 20px calc((100% - var(--container-w)) / 2 + var(--gutter)) 30px;
        /* 图片亮暗不一，加一层渐变遮罩保证白字可读 */
        background: linear-gradient(180deg, rgba(6, 20, 43, .62) 0%, rgba(6, 20, 43, .26) 45%, rgba(6, 20, 43, .68) 100%);
    }

    .banner-swiper .banner-content {
        width: 100%;
        max-width: none;
    }

    .banner-swiper .banner-title {
        font-size: 24px;
        color: #fff;
        margin-bottom: 12px;
        /* text-shadow: 0 2px 10px rgba(0, 0, 0, .35); */
    }

    /* .banner-swiper .banner-title span {
        color: #8ab6ff;
    } */

    .banner-swiper .banner-subtitle {
        font-size: 14px;
        color: rgba(255, 255, 255, .92);
        margin-bottom: 16px;
        /* text-shadow: 0 1px 6px rgba(0, 0, 0, .3); */
    }

    /* 两个卖点横向并排、只留标题，避免把整块内容撑出图片高度 */
    .banner-swiper .banner-features {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 14px;
    }

    .banner-swiper .feature-item {
        flex: 1;
        min-width: 0;
        align-items: center;
        gap: 8px;
    }

    .banner-swiper .feature-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: rgba(255, 255, 255, .18);
    }

    .banner-swiper .feature-icon img,
    .banner-swiper .feature-icon svg {
        width: 18px;
        height: 18px;
    }

    .banner-swiper .feature-text h2 {
        font-size: 14px;
        color: #fff;
        margin-bottom: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .banner-swiper .feature-text p {
        display: none;
    }

    .banner-swiper .banner-form {
        max-width: 100%;
        gap: 8px;
    }

    /* 避免 iOS 聚焦时自动缩放 */
    .banner-form input {
        height: 42px;
        font-size: 16px;
        background: #fff;
    }

    .banner-form button {
        height: 42px;
        padding: 0 18px;
    }

    .banner-swiper .swiper-button-prev,
    .banner-swiper .swiper-button-next {
        display: none;
    }

    .banner-swiper .swiper-pagination {
        bottom: 12px;
    }

    .banner-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: rgba(255, 255, 255, .6);
        opacity: 1;
    }

    .banner-swiper .swiper-pagination-bullet-active {
        background: #fff;
    }

    .cases {
        padding: 30px 0;
    }

    /* 相邻 slide 是紧贴的，上一页最右侧卡片的阴影会溢出到下一页左侧，
       给 slide 留出水平内边距把阴影收在本页内，再用负 margin 抵消，
       保证卡片仍与区块标题左对齐 */
    .case-swiper {
        margin-left: -12px;
        margin-right: -12px;
    }

    .case-swiper .swiper-slide {
        padding: 0 12px;
        box-sizing: border-box;
    }

    .case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .case-info {
        padding: 14px 16px 18px;
    }

    .case-title {
        font-size: 15px;
    }

    .case-desc {
        font-size: 13px;
    }

    .case-pagination.swiper-pagination {
        margin-top: 32px;
        gap: 6px;
    }

    /* 移动端分页点收小，高亮点同步降低放大量，避免差得太突兀 */
    .case-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .case-pagination .swiper-pagination-bullet-active {
        transform: scale(1.15);
    }

    .qa {
        padding: 30px 0;
    }

    .qa-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .qa-card {
        padding: 15px;
    }

    .qa-question {
        font-size: 15px;
    }

    .qa-answer {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .qa-pagination.swiper-pagination {
        margin-top: 32px;
    }

    .customers {
        padding: 30px 0;
    }

    .section-head {
        margin-bottom: 15px;
    }

    .section-head.light .section-title {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-desc {
        font-size: 14px;
    }

    .customer-track {
        gap: 12px;
        padding-right: 12px;
    }

    .customer-item {
        width: 132px;
        padding: 8px 10px;
    }

    .services {
        padding: 30px 0 10px;
    }

    /* 服务产品面板：窄屏收紧内边距，把空间让给内容 */
    .tab-panel {
        padding: 15px;
    }

    .services-tabs {
        gap: 28px;
        margin-bottom: 24px;
    }

    .service-tab {
        font-size: 16px;
    }

    .category-tab {
        padding: 8px 1px;
        font-size: 14px;
        /* PC 的 70px 间距在窄屏会把分类挤成长条，收成 10px */
        margin-right: 10px;
    }

    /* 末尾一项不再留间距，避免横向滚动区尾部出现空档 */
    .category-tab:last-child {
        margin-right: 0;
    }

    /* 选中项 PC 是 20px，窄屏收一档，和未选中项拉开但不挤行 */
    .category-tab.active {
        font-size: 16px;
    }

    .category-bar {
        margin-bottom: 15px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 18px;
    }

    .service-item {
        gap: 10px;
        padding: 8px 0;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }

    .service-icon img {
        width: 24px;
        height: 24px;
    }

    .service-name {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .service-desc {
        font-size: 12px;
    }

    .service-city {
        padding: 50px 0;
    }

    .city-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
        max-width: 100%;
        margin: 28px 0 30px;
    }

    .stat-num {
        font-size: 32px;
        font-weight: 700;
    }

    /* 单位小字不必跟着加粗 */
    .stat-num .unit {
        font-weight: 400;
    }

    .city-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px;
    }

    .city-list {
        gap: 16px 24px;
        justify-content: center;
    }

    /* 城市名数量多，移动端字号收到与「更多」同级 */
    .city-list a {
        font-size: 16px;
    }

    .one-stop {
        padding: 50px 0;
        text-align: center;
    }

    .one-stop-inner {
        min-height: auto;
    }

    .one-stop-content {
        width: 100%;
        max-width: none;
    }

    .one-stop-title {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .one-stop-desc {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .one-stop-btn {
        height: 42px;
        padding: 0 28px;
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .banner-title {
        font-size: 20px;
    }

    .consult-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .customer-item {
        width: 118px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    /* 窄屏同样保持一行两个，收紧间距保证卡片宽度 */
    .case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .case-info {
        padding: 12px 12px 14px;
    }

    .case-title {
        font-size: 14px;
    }

    /* 两列下卡片宽度有限，摘要限 2 行，避免各卡高度被文案长短拉乱 */
    .case-desc {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .qa-grid {
        grid-template-columns: 1fr;
    }

    .category-arrow {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .city-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 16px;
    }

    .stat-num {
        font-size: 28px;
        font-weight: 700;
    }

    .stat-num .unit {
        font-weight: 400;
    }

    .city-list {
        gap: 14px 20px;
    }

    .city-list a {
        font-size: 14px;
    }

    .city-more {
        font-size: 13px;
    }
}


/* 底部导航 */
.footer {
    background: #061a2b;
    color: rgba(255, 255, 255, 0.8);
}
.footer-inner {
    width: var(--container-w);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 54px var(--gutter) 46px;
}
.footer-top {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
    display: inline-block;
    text-decoration: none;
}
.footer-logo img {
    display: block;
    height: 32px;
    width: auto;
    /* 深色底统一显示为白色标识；如需保留图片原色，删除此行 */
    /* filter: brightness(0) invert(1); */
}
.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(40px, 6vw, 90px);
}
.footer-qr {
    flex: 0 0 auto;
}
.footer-icon {
    display: block;
    width: 29px;
    height: auto;
    margin-bottom: 18px;
    /* 深色底统一显示为白色标识；如需保留图片原色，删除此行 */
    filter: brightness(0) invert(1);
}
.footer-qr-list {
    display: flex;
    gap: 18px;
}
.footer-qr-item {
    margin: 0;
    text-align: center;
}
.footer-qr-item img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    background: #fff;
    padding: 1px;
}
.footer-qr-item figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}
.footer-site {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}
.footer-site a {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-site a:hover {
    color: #0164ff;
}
.footer-nav {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 40px);
    min-width: 0;
}
.footer-nav .footer-col {
    flex: 0 1 auto;
}
.footer-contact {
    flex: 0 0 auto;
    max-width: 220px;
}
.footer-col dt {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 18px;
}
.footer-col dd {
    font-size: 14px;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.65);
}
.footer-col dd a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s;
    text-decoration: none;
}
.footer-col dd a:hover {
    color: #fff;
}
.footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    background-color: #132636;
}
.footer-bar-inner {
    width: var(--container-w);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}
.footer-bar-inner a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-bar-inner a:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .footer-main {
        gap: 40px;
    }
    .footer-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 28px 36px;
    }
    .footer-nav .footer-col {
        flex: 0 0 calc(33.333% - 24px);
    }
    .footer-contact {
        max-width: none;
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .footer-inner {
        padding: 30px var(--gutter) 36px;
    }
    .footer-top {
        margin-bottom: 28px;
        padding-bottom: 18px;
        /* 与下方二维码区统一居中，避免“左对齐 logo + 居中二维码”的错位感 */
        text-align: center;
    }
    .footer-logo img {
        height: 20px;
    }
    /* 竖排后要显式 stretch：PC 的 align-items:flex-start 会让二维码区和导航
       缩到内容宽并靠左，导致居中的二维码文字与左对齐的整个区块打架 */
    .footer-main {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }
    .footer-icon {
        margin: 0 auto 18px;
    }
    .footer-qr-list {
        justify-content: center;
        gap: 14px;
    }
    .footer-qr-item img {
        width: 96px;
        height: 96px;
    }
    .footer-site {
        text-align: center;
    }
    /* 用两列网格替掉 flex 的「50% - 18px」计算，各栏边距更齐 */
    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }
    .footer-nav .footer-col {
        min-width: 0;
    }
    .footer-col dd {
        line-height: 1.9;
    }
    /* 内容最长的「联系我们」独占一行，并提到最前面做成信息卡片 */
    .footer-contact {
        grid-column: 1 / -1;
        order: -1;
        padding: 16px 18px 18px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
    }
    .footer-contact dt {
        margin-bottom: 12px;
    }
    .footer-contact dd {
        line-height: 1.9;
    }
    .footer-contact .contact-tel a {
        font-size: 17px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    /* 电话/邮箱在移动端提亮，方便直接点 */
    .footer-contact dd a {
        color: #fff;
        font-weight: 500;
    }
    /* 栏目内的链接改双列：dl 自身做网格，dt 占满一行，dd 自动两两排布
       （联系我们整段是长句，排两列会挤，保持单列） */
    .footer-col:not(.footer-contact) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 14px;
    }
    .footer-col:not(.footer-contact) dt {
        grid-column: 1 / -1;
    }

    /* 其余栏目：标题下压一道细分隔线，形成清晰的分组 */
    .footer-col:not(.footer-contact) dt {
        font-size: 15px;
        margin-bottom: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    .footer-bar-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        grid-template-columns: 1fr;
    }
}

/* ==================== 个人服务页 banner ==================== */
.page-banner {
    position: relative;
    padding: 90px 0;
    /* background: #eef7ff url('../images/personal-banner.jpg') no-repeat center right; */
    background-size: cover;
    overflow: hidden;
}

/* 左侧遮罩：保证文字可读，同时让右侧插画保持可见 */
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: linear-gradient(90deg,
        rgba(238, 247, 255, 0.98) 0%,
        rgba(238, 247, 255, 0.92) 42%,
        rgba(238, 247, 255, 0.55) 65%,
        rgba(238, 247, 255, 0) 80%); */
    pointer-events: none;
}

.banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 340px;
}

/* 用 .page-banner 提高特异性，避免继承首页 .banner-content 的 width:50% */
.page-banner .banner-content {
    width: 100%;
    max-width: 740px;
}

.banner-title {
    font-size: 38px;
    font-weight: 700;
    color: #222;
    line-height: 1.25;
    margin-bottom: 18px;
}

.banner-title .brand {
    color: #0164ff;
    margin-right: 8px;
}

.banner-subtitle {
    font-size: 18px;
    color: #333333;
    margin-bottom: 42px;
}

.banner-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0164ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.feature-icon img {
    width: 26px;
    height: 26px;
    display: block;
}

.feature-info h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.feature-info p {
    font-size: 14px;
    color: #212c37;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .page-banner {
        min-height: 460px;
        padding: 70px 0;
    }

    .banner-title {
        font-size: 32px;
    }

    .page-banner .banner-content {
        max-width: 460px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        min-height: auto;
        padding: 52px 0 64px;
        background-position: center bottom;
    }

    .page-banner::before {
        background: linear-gradient(180deg,
            rgba(238, 247, 255, 0.98) 0%,
            rgba(238, 247, 255, 0.92) 55%,
            rgba(238, 247, 255, 0.75) 80%,
            rgba(238, 247, 255, 0.4) 100%);
    }

    .banner-inner {
        min-height: auto;
        justify-content: center;
        text-align: center;
    }

    .page-banner .banner-content {
        max-width: 100%;
    }

    .banner-title {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .banner-subtitle {
        font-size: 15px;
        /* 中文沿用默认的 line-height: normal 偏挤，给个明确行距 */
        line-height: 1.7;
        margin-bottom: 28px;
    }

    /* 卖点区：图标收小、标题与正文拉开层级，避免和副标题（15px）撞字号 */
    .banner-features {
        gap: 18px;
    }

    .feature-item {
        align-items: center;
        text-align: left;
        gap: 12px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    .feature-icon svg,
    .feature-icon img {
        width: 22px;
        height: 22px;
    }

    .feature-info h2 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .feature-info p {
        font-size: 13px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 22px;
    }

    .banner-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .banner-features {
        gap: 14px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .feature-icon img {
        width: 20px;
        height: 20px;
    }

    .feature-info h2 {
        font-size: 15px;
    }

    .feature-info p {
        font-size: 12px;
    }
}

/* 620~768px 这一档宽度够，两个卖点横向并排，横幅高度能压下来。
   更窄的手机上保持竖排：390px 下若并排，每行只剩 ~10 个字，
   既不省（每行要摊到 5 行）也影响阅读，所以不做全站统一 */
@media (min-width: 620px) and (max-width: 768px) {
    .page-banner .banner-features {
        flex-direction: row;
        gap: 20px;
    }

    .page-banner .feature-item {
        flex: 1;
        min-width: 0;
        align-items: flex-start;
    }
}

/* ==================== 灵活的线上学习方式 ==================== */
.learning-methods {
    padding: 80px 0;
    background: #fff;
}

.methods-inner .section-head {
    margin-bottom: 44px;
}

.methods-grid {
    list-style: none;
    display: grid;
    /* minmax(0, 1fr) 而非 1fr：条目里的文字是 nowrap 的，min-content 会把列撑破 */
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.method-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #f8fbff;
    border: 1px solid #eef4fc;
    border-radius: 8px;
    font-size: 18px;
    color: #000;
    letter-spacing: 1px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.method-item:hover {
    transform: translateY(-4px);
    border-color: #cfe5ff;
    box-shadow: 0 8px 20px rgba(1, 100, 255, 0.08);
}

.method-item img {
    width: 36px;
    height: 36px;
    display: block;
    flex-shrink: 0;
}

.method-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.methods-notice {
    position: relative;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.methods-notice img {
    max-width: 100%;
}

@media (max-width: 1200px) {
    .methods-grid {
        gap: 16px;
    }

    .method-item {
        padding: 14px 12px;
        font-size: 14px;
    }

    .method-item img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 1024px) {
    .learning-methods {
        padding: 64px 0;
    }

    .methods-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .methods-notice {
        padding: 0 24px;
    }

    .methods-notice img {
        height: auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .learning-methods {
        padding: 36px 0;
    }

    .methods-inner .section-head {
        margin-bottom: 32px;
    }

    .methods-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    /* 两列后卡片变窄，改成「图标在上、文字在下」居中，比横排更能放下标题 */
    .method-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 16px 10px;
        border-radius: 12px;
    }

    .method-item span {
        white-space: normal;
        font-size: 13px;
        line-height: 1.4;
    }

    /* 条目总数为奇数时，落单的最后一项占满整行，避免留半行空缺
       （两列布局下最后一项落在奇数位即说明它是单独一行） */
    .method-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .methods-notice {
        margin-top: 36px;
        padding: 0;
        text-align: center;
    }

    .methods-notice img {
        transform: none;
        height: auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* 继续保持一行两个 */
    .method-item {
        padding: 14px 8px;
    }
}

/* 全站轻提示小弹窗（报名提交反馈等） */
.zpm-toast {
    position: fixed;
    left: 50%;
    top: 96px;
    z-index: 9999;
    max-width: 86vw;
    padding: 12px 24px;
    border-radius: 8px;
    background: rgba(23, 26, 32, .9);
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    opacity: 0;
    transform: translate(-50%, -12px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}

.zpm-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.zpm-toast--ok {
    background: rgba(20, 122, 61, .94);
}

.zpm-toast--err {
    background: rgba(190, 60, 48, .94);
}

@media (max-width: 768px) {
    .zpm-toast {
        top: 72px;
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* ==================== 核心项目 ==================== */
.trainings {
    padding: 70px 0 80px;
    background: #fff;
}

.trainings .section-head {
    position: relative;
    margin-bottom: 40px;
}

.trainings-more {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #0c53fe;
    text-decoration: none;
    transition: color 0.3s;
}

.trainings-more:hover {
    color: #0164ff;
}

.trainings-more .arrow {
    font-size: 16px;
}

/* 箭头放在外层包裹的左右留白里：swiper 容器不能有左右 padding，
   否则可用宽度被算大，卡片会溢出容器 */
.training-swiper-wrap {
    position: relative;
    padding: 0 56px 24px;
}

.training-swiper {
    position: relative;
    padding: 10px 0;
    overflow: hidden;
}

/* 轨道：flex 布局，翻页靠 transform，高亮卡加宽靠 flex-basis，均可平滑过渡 */
.training-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    cursor: grab;
    touch-action: pan-y;   /* 横向拖拽归轮播，纵向滚动仍归页面 */
}

.training-track.is-dragging,
.training-track.is-dragging * {
    cursor: grabbing;
    user-select: none;
}

.training-card {
    flex: 0 0 var(--training-card-w, 280px);
    min-width: 0;
    transition: flex-basis 0.5s ease;
}

.training-card.is-active {
    flex-basis: calc(var(--training-card-w, 280px) * 1.35);
}

.training-link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    padding: 36px 30px 68px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2f7bff 0%, #1740c8 100%);
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    /* 只做阴影与箭头位移，卡片尺寸保持不变 */
    transition: box-shadow 0.25s ease;
}

.training-link::after {
    content: '';
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.training-link:hover {
    box-shadow: 0 12px 28px rgba(1, 100, 255, 0.18);
}

.training-name {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.training-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.training-more {
    position: absolute;
    left: 30px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.25s;
}

.training-more .arrow {
    transition: transform 0.25s ease;
}

.training-link:hover .training-more .arrow {
    transform: translateX(4px);
}

.training-link:hover .training-more {
    color: #fff;
}

/* 四色循环：蓝 / 青 / 浅色 / 紫，对应设计稿的卡片节奏 */
.training-card:nth-child(4n+2) .training-link {
    background: linear-gradient(135deg, #00c6ff 0%, #0072d6 100%);
}

.training-card:nth-child(4n+3) .training-link {
    background: linear-gradient(135deg, #f4f8ff 0%, #e6f0ff 100%);
    color: #16233d;
}

.training-card:nth-child(4n+3) .training-desc {
    color: #4a5b7c;
}

.training-card:nth-child(4n+3) .training-more {
    color: #0c53fe;
}

.training-card:nth-child(4n+4) .training-link {
    background: linear-gradient(135deg, #6a5cff 0%, #3f36c8 100%);
}

/* 左右切换按钮（浅色圆形，箭头用边框画，兼容所有浏览器）
   悬停的蓝色渐变由 ::before 淡入（渐变本身无法过渡），配合轻微上浮与箭头位移 */
.training-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(12, 83, 254, 0.14);
    border-radius: 50%;
    background: #fff;
    /* 内高光 + 近距实影 + 远距柔光，三层让圆片浮起来但不脏 */
    color: #0c53fe;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition:
        transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        color 0.28s ease,
        opacity 0.28s ease;
}

/* 悬停底色：渐变淡入，避免直接换 background 的生硬跳变 */
.training-nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a7bff 0%, #0c53fe 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.training-nav-btn::after {
    content: '';
    position: relative;
    z-index: 1;               /* 箭头压在渐变之上 */
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    border-radius: 1px;       /* 拐角略微收圆，不那么锐 */
    transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.training-prev {
    left: 0;
}

.training-prev::after {
    transform: rotate(-135deg) translate(1px, 1px);
}

.training-next {
    right: 0;
}

.training-next::after {
    transform: rotate(45deg);
}

.training-nav-btn:hover {
    color: #fff;
    border-color: rgba(12, 83, 254, 0.9);
}

.training-nav-btn:hover::before {
    opacity: 1;
}

/* 箭头朝行进方向轻推一点（位移量按旋转后的坐标取，保证只在水平方向移动） */
.training-prev:hover::after {
    transform: rotate(-135deg) translate(3px, -1px);
}

.training-next:hover::after {
    transform: rotate(45deg) translate(2px, -2px);
}

.training-nav-btn:active {
    transform: translateY(-50%) scale(0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 1px 3px rgba(12, 83, 254, 0.24),
        0 6px 14px rgba(12, 83, 254, 0.22);
}

/* 键盘 Tab 聚焦：保留可见焦点环，鼠标点击不出现 */
.training-nav-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(12, 83, 254, 0.32),
        0 8px 20px rgba(12, 83, 254, 0.16);
}

.training-nav-btn.is-disabled {
    opacity: 0.38;
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .training-nav-btn,
    .training-nav-btn::before,
    .training-nav-btn::after {
        transition: none;
    }

    .training-nav-btn:hover,
    .training-nav-btn:active {
        transform: translateY(-50%);
    }
}

@media (max-width: 1200px) {
    .training-swiper-wrap {
        padding: 0 44px 24px;
    }

    .training-name {
        font-size: 22px;
    }

    .training-link {
        min-height: 260px;
        padding: 28px 24px 60px;
    }
}

@media (max-width: 768px) {
    .trainings {
        padding: 30px 0 36px;
    }

    .trainings-more {
        position: static;
        transform: none;
        display: inline-flex;
        margin-top: 12px;
    }

    .training-swiper-wrap {
        padding: 0 ;
        /* 两个按钮排在同一行居中 */
        text-align: center;
    }

    .training-track {
        gap: 16px;
    }

    /* 窄屏左右只剩 12px 留白，箭头挂在两侧会压住卡片，
       改成静态排布、落在轨道下方居中；用 .training-swiper-wrap 提高特异性，
       覆盖后面（含 prefers-reduced-motion 里）那条 translateY(-50%) 的位移 */
    .training-swiper-wrap .training-nav-btn {
        /* 用 relative 而非 static：::before 的 inset:0 需要一个定位参照，
           static 会让它改按 .training-swiper-wrap 定位，悬停时蓝色渐变会铺满整个轨道 */
        position: relative;
        top: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 12px 6px 0;
        transform: none;
        vertical-align: middle;
    }

    .training-swiper-wrap .training-nav-btn:hover,
    .training-swiper-wrap .training-nav-btn:active {
        transform: scale(0.94);
    }

    /* 箭头是「上边+右边」两条边框旋转出来的，旋转后可见部分整体偏向尖头一侧
       （10px 箭头约偏 3.5px），这里反向平移把箭头拉回按钮正中；
       translate 写在 rotate 之前，位移才落在屏幕水平方向 */
    .training-swiper-wrap .training-prev::after {
        transform: translate(3.5px, 0) rotate(-135deg);
    }

    .training-swiper-wrap .training-next::after {
        transform: translate(-3.5px, 0) rotate(45deg);
    }

    .training-name {
        font-size: 20px;
    }

    .training-desc {
        -webkit-line-clamp: 5;
    }
}

/* 移动端统一收紧区块标题下边距：放在文件末尾，避免被前面特异性更高的 .trainings .section-head 等专用规则盖掉 */
@media (max-width: 768px) {
    .section-head,
    .trainings .section-head,
    .methods-inner .section-head {
        margin-bottom: 15px;
    }
}

/* Site desktop navigation 20261130 */

/* 主导航增加资讯入口后，桌面顶栏按可用宽度排布。 */
@media (min-width: 901px) {
    .header .header-inner {
        width: calc(100% - 48px);
        max-width: var(--container-max);
        gap: 0;
    }
    .header .logo {
        margin-right: 24px;
    }
    .header .logo img {
        height: 24px;
    }
    .header .nav {
        gap: clamp(10px, 1.25vw, 20px);
    }
    .header .nav > a {
        font-size: 15px;
    }
    .header .header-right {
        margin-left: 24px;
        gap: 12px;
    }
}
@media (min-width: 901px) and (max-width: 1200px) {
    .header .logo {
        margin-right: 16px;
    }
    .header .logo img {
        height: 22px;
    }
    .header .nav {
        gap: 10px;
    }
    .header .nav > a {
        font-size: 14px;
    }
    .header .header-right {
        margin-left: 16px;
    }
    .header .phone {
        display: none;
    }
}
