@charset "utf-8";
/*================ 基础重置 ================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

/*================ 网站头部 + 导航 ================*/
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.header-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.5px;
}
.logo-accent {
    color: #2563eb;
}
.logo-slogan {
    font-size: 11px;
    color: #9aa4b2;
    margin-top: 4px;
    letter-spacing: 1px;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.header-nav li {
    position: relative;
}
.header-nav a {
    display: block;
    padding: 8px 18px;
    font-size: 15px;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}
.header-nav a:hover {
    color: #2563eb;
    background: #f0f4ff;
}
.header-nav li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
    transition: width 0.25s ease, left 0.25s ease;
}
.header-nav li:hover::after {
    width: 60%;
    left: 20%;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 3px;
    background: #374151;
    border-radius: 2px;
    transition: 0.3s ease;
}
@media (max-width: 768px) {
    .header-inner {
        height: 56px;
    }
    .nav-toggle {
        display: flex;
    }
    .header-nav {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-open .header-nav {
        max-height: 400px;
    }
    .header-nav li {
        width: 100%;
        border-top: 1px solid #f0f0f0;
    }
    .header-nav a {
        padding: 14px 20px;
        border-radius: 0;
    }
    .header-nav li::after {
        display: none;
    }
    .logo-slogan {
        display: none;
    }
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    background: #f4f6f9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*================ 网站底部 ================*/
.site-footer {
    background: #1f2937;
    padding: 24px 0;
    text-align: center;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-inner p {
    color: #9aa4b2;
    font-size: 13px;
    margin: 0;
}
.footer-inner a {
    color: #9aa4b2;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-inner a:hover {
    color: #fff;
    text-decoration: underline;
}

/*================ 首页样式 ================*/
/* 幻灯片 */
.banner-slider {
    position: relative;
    overflow: hidden;
    background: #e5e7eb;
}
.banner-track {
    display: flex;
    transition: transform 0.6s ease;
}
.banner-slide {
    min-width: 100%;
    aspect-ratio: 1920 / 660;
    _height: 660px; /* IE兜底 */
}
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.25s ease;
}
.banner-dots span.active {
    background: #fff;
}

/* 通用区块 */
.home-section {
    padding: 56px 0;
}
.home-news-section {
    background: #fff;
}
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header-en {
    display: block;
    font-size: 13px;
    color: #9aa4b2;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-header-title {
    font-size: 30px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 14px 0;
}
.section-header-line {
    display: inline-block;
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #2563eb, #7b5ff5);
}

/* 案例网格 */
.home-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.home-case-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(31,45,61,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(37,99,235,0.14);
}
.home-case-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.home-case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.home-case-card:hover .home-case-thumb img {
    transform: scale(1.08);
}
.home-case-info {
    padding: 14px 18px;
}
.home-case-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.25s ease;
}
.home-case-card:hover .home-case-title {
    color: #2563eb;
}

/* 新闻列表 */
.home-news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 2%;
}
.home-news-item {
    width: 49%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    text-decoration: none;
    border-bottom: 1px solid #f0f2f5;
    transition: background 0.2s ease;
}
.home-news-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
}
.home-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-news-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.home-news-item:hover {
    background: #f8faff;
}
.home-news-date {
    font-size: 13px;
    color: #9aa4b2;
}
.home-news-title {
    font-size: 15px;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.home-news-item:hover .home-news-title {
    color: #2563eb;
}

/* 服务区块 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(31,45,61,0.05);
    border: 1px solid #eef0f4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(37,99,235,0.12);
    border-color: #2563eb;
}
.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: #eff4ff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 10px 0;
}
.service-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* 关于我们 */
.home-about-section {
    background: #fff;
}
.about-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 32px;
}
.about-image {
    flex-shrink: 0;
    width: 42%;
    border-radius: 14px;
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.about-text p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.9;
    margin: 0;
}
.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: #f8faff;
    border-radius: 12px;
}
.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff4ff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-feature h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 2px 0;
}
.about-feature p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* 首页响应式 */
@media (max-width: 768px) {
    .home-section {
        padding: 40px 0;
    }
    .section-header-title {
        font-size: 24px;
    }
    .home-case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .home-news-date {
        width: 70px;
        font-size: 12px;
    }
    .home-news-title {
        font-size: 14px;
    }
    .home-news-item {
        width: 100%;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .service-card {
        padding: 24px 16px;
    }
    .about-content {
        flex-direction: column;
        gap: 24px;
    }
    .about-image {
        width: 100%;
    }
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .home-case-grid {
        grid-template-columns: 1fr;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
}

img {
    border: 0;
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease;
}

/*================ 通用内容容器（详情页） ================*/
.box {
    max-width: 960px;
    margin: 50px auto;
    padding: 46px 50px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 30px rgba(31, 45, 61, 0.08);
}

.name {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.5;
    margin-bottom: 16px;
}

.clous {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.9;
    margin-bottom: 20px;
}

#content {
    color: #374151;
    line-height: 1.9;
}
#content img {
    margin: 14px auto;
    border-radius: 8px;
}

/*================ 文章详情页（两栏布局 + 右侧列表） ================*/
.article-detail-page {
    background: #f5f7fa;
    padding: 40px 0 60px;
}
.article-detail-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.article-detail-main {
    flex: 1;
    min-width: 0;
}
.article-detail-main .box {
    max-width: none;
    margin: 0;
}
.article-detail-side {
    flex-shrink: 0;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}
.side-block {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px 16px;
    box-shadow: 0 2px 10px rgba(31, 45, 61, 0.06);
}
.side-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #2563eb;
}
.side-block-head .side-block-title {
    margin: 0;
}
.side-block-more {
    font-size: 12px;
    color: #9aa4b2;
    text-decoration: none;
    transition: color 0.25s ease;
}
.side-block-more:hover {
    color: #2563eb;
}
.side-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.side-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e5e7eb;
}
.side-list li:last-child {
    border-bottom: none;
}
.side-list a {
    display: block;
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.25s ease;
}
.side-list a:hover {
    color: #2563eb;
}

/*================ 案例列表页 ================*/
.case-page {
    padding: 64px 0 72px;
}

.case-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 页头标题 */
.case-header {
    text-align: center;
    margin-bottom: 46px;
}

.case-header-en {
    display: block;
    font-size: 13px;
    letter-spacing: 6px;
    color: #9aa4b2;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
}

.case-header-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 2px;
    line-height: 1.3;
}

.case-header-line {
    display: block;
    width: 60px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

/* 卡片栅格 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* 单张卡片 */
.case-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(31, 45, 61, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.16);
}

.case-link {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* 缩略图 */
.case-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e9edf3;
}

.case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

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

/* 悬浮遮罩 + 放大标识 */
.case-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 64, 175, 0) 0%, rgba(30, 64, 175, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.case-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #2563eb;
    font-size: 30px;
    font-weight: 300;
    line-height: 52px;
    text-align: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.35s ease, transform 0.35s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.case-card:hover .case-thumb::after {
    opacity: 1;
}

.case-card:hover .case-zoom {
    opacity: 1;
    transform: scale(1);
}

/* 文字信息 */
.case-info {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.55;
    margin-bottom: 14px;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-card:hover .case-title {
    color: #2563eb;
}

.case-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #9aa4b2;
    padding-top: 12px;
    border-top: 1px solid #f0f2f5;
}

.case-date {
    position: relative;
    padding-left: 14px;
}

.case-date::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: #2563eb;
}

/*================ 分页 ================*/
.case-pages {
    margin-top: 48px;
    text-align: center;
}

.pagelist {
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 6px 0;
}

.pagelist td {
    padding: 0;
}

.pagelist td.n {
    color: #9aa4b2;
    font-size: 13px;
    padding: 0 8px;
}

.pagelist td a {
    display: inline-block;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0 13px;
    text-align: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e8ee;
    color: #4b5563;
    font-size: 14px;
    transition: all 0.25s ease;
}

.pagelist td a:hover {
    border-color: #2563eb;
    color: #2563eb;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.14);
}

.pagelist td.m {
    display: inline-block;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0 13px;
    text-align: center;
    border-radius: 10px;
    background: #2563eb;
    border: 1px solid #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/*================ 文章列表（横向布局） ================*/
.article-page {
    background: #f5f7fa;
    padding: 50px 0 60px;
}
.article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.article-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(31, 45, 61, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.article-item:hover {
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
    transform: translateY(-3px);
}
.article-item-link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
}
.article-thumb {
    flex-shrink: 0;
    width: 200px;
    overflow: hidden;
}
.article-thumb img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.article-item:hover .article-thumb img {
    transform: scale(1.08);
}
.article-body {
    flex: 1;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.article-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: color 0.25s ease;
}
.article-item:hover .article-title {
    color: #2563eb;
}
.article-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #9aa4b2;
    margin-top: auto;
}
.article-date {
    position: relative;
    padding-left: 12px;
}
.article-date::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: #2563eb;
}

/*================ 响应式 ================*/
@media (max-width: 980px) {
    .article-detail-wrap {
        flex-direction: column;
    }
    .article-detail-side {
        width: 100%;
        position: static;
    }
}
@media (max-width: 768px) {
    .case-page {
        padding: 40px 0 48px;
    }
    .case-container {
        padding: 0 16px;
    }
    .case-header {
        margin-bottom: 32px;
    }
    .case-header-title {
        font-size: 26px;
    }
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .case-info {
        padding: 14px 14px 16px;
    }
    .case-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .case-meta {
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .box {
        margin: 24px 16px;
        padding: 28px 22px;
    }
    /* 文章列表响应式 */
    .article-page {
        padding: 40px 0 48px;
    }
    .article-container {
        padding: 0 16px;
    }
    .article-thumb {
        width: 130px;
    }
    .article-thumb img {
        min-height: 100px;
    }
    .article-body {
        padding: 12px 16px;
    }
    .article-title {
        font-size: 15px;
    }
    .article-desc {
        -webkit-line-clamp: 1;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
    .article-item-link {
        flex-direction: column;
    }
    .article-thumb {
        width: 100%;
    }
    .article-thumb img {
        min-height: 160px;
    }
}
