/* 企业详情页 · jjking 新版官网风（show.php 专用） */
/* 顶栏共享样式（partials/nav.php 使用，须在最前引入） */
@import "top.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #f5f9ff;
    color: #1e2f44;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased
}

a {
    color: #0f6fbf;
    text-decoration: none
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0a2a44
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.25
}

h2 i {
    color: #0f6fbf;
    font-size: 1.8rem
}

.section {
    padding: 88px 0
}

.section-light {
    background-color: #ffffff
}

.section-soft {
    background-color: #f0f7ff
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none
}

.btn-primary {
    background: linear-gradient(135deg, #0f6fbf, #2f8cf0);
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 111, 191, 0.25)
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a5a9c, #0f6fbf);
    box-shadow: 0 10px 30px rgba(15, 111, 191, 0.35);
    color: #fff
}

.btn-outline {
    border: 1.5px solid #0f6fbf;
    color: #0f6fbf;
    background: transparent
}

.btn-outline:hover {
    background: #eef4fb;
    color: #0a5a9c
}

/* 顶部导航 */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e2edfc
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: min(58%, 820px);
    font-size: 1.45rem;
    font-weight: 700;
    color: #0a2a44;
    letter-spacing: -0.02em
}

.logo i {
    color: #0f6fbf;
    flex: 0 0 auto
}

.logo span {
    color: #0f6fbf;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-weight: 500;
    color: #475569;
    font-size: 0.95rem;
    flex-wrap: wrap
}

.nav-links a {
    color: inherit;
    transition: color 0.2s
}

.nav-links a:hover {
    color: #0f6fbf
}

.nav-badge {
    flex: 0 0 auto
}

.nav-badge .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    white-space: nowrap
}

/* 首屏 Hero */
.hero {
    padding: 80px 0 90px;
    background: linear-gradient(135deg, #eaf3fe 0%, #ffffff 70%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #dbeafe
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 111, 191, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2
}

.hero-text {
    flex: 1 1 420px;
    min-width: 0
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e1edfc;
    border: 1px solid #b8d6fc;
    color: #0f6fbf;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 28px
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 24px;
    color: #0a2a44;
    word-break: break-word
}

.hero-text p {
    font-size: 1.05rem;
    color: #475569;
    max-width: 660px;
    margin-bottom: 36px;
    word-break: break-word
}

.hero-cta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 48px
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0a2a44;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    gap: 4px
}

.stat-item .stat-number small {
    font-size: 1rem;
    font-weight: 400;
    color: #0f6fbf
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 6px
}

.hero-visual {
    flex: 1 1 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 42px;
    padding: 40px 30px;
    border: 1px solid #dbeafe;
    box-shadow: 0 30px 40px -20px rgba(0, 60, 120, 0.15);
    position: relative
}

.hero-visual > i {
    font-size: 5rem;
    color: #0f6fbf;
    margin-bottom: 24px;
    opacity: 0.9;
    filter: drop-shadow(0 0 20px rgba(15, 111, 191, 0.2))
}

.hero-visual .brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    margin: 16px 0 8px
}

.hero-visual .brand-logos:empty {
    display: none
}

.brand-logos span {
    background: #eef4fb;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    color: #0f6fbf;
    font-weight: 500;
    border: 1px solid #c9dff5
}

.hero-visual p {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 14px;
    text-align: center;
    word-break: break-word
}

/* 关于我们 */
.about-split {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    flex-wrap: wrap
}

.about-main {
    flex: 1 1 450px;
    min-width: 0
}

.about-main p {
    color: #475569;
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.8;
    word-break: break-word
}

.about-main strong {
    color: #0a2a44;
    font-weight: 600
}

.about-quote {
    background: #eef6fe;
    border-left: 4px solid #0f6fbf;
    padding: 24px 28px;
    border-radius: 18px;
    margin-top: 32px;
    color: #1e3a5f;
    line-height: 1.7
}

.about-quote i {
    color: #0f6fbf;
    margin-right: 10px;
    opacity: 0.7
}

.about-side {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0
}

.side-item {
    display: flex;
    gap: 18px
}

.side-item .icon {
    background: #eef4fb;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f6fbf;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid #d4e6fc
}

.side-item h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #0a2a44
}

.side-item p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    word-break: break-word
}

/* 业务范围 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 16px
}

.product-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 30px 26px;
    border: 1px solid #e2edfc;
    transition: all 0.25s
}

.product-card:hover {
    border-color: #b8d6fc;
    background: #fafdff;
    box-shadow: 0 25px 35px -18px rgba(15, 111, 191, 0.12)
}

.product-card .icon {
    background: #eef4fb;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0f6fbf;
    margin-bottom: 26px;
    border: 1px solid #d4e6fc
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #0a2a44
}

.product-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: break-word
}

.scene-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid #dbeafe
}

.scene-tag {
    background: #eef6fe;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    color: #0f6fbf;
    border: 1px solid #d4e6fc;
    display: flex;
    align-items: center;
    gap: 8px
}

.scene-tag i {
    color: #0f6fbf;
    font-size: 0.8rem
}

/* 核心优势 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 16px
}

.advantage-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 28px;
    border: 1px solid #e2edfc;
    transition: border-color 0.2s
}

.advantage-card:hover {
    border-color: #b8d6fc
}

.advantage-card .num {
    font-size: 2rem;
    font-weight: 700;
    color: #d4e6fc;
    line-height: 1;
    margin-bottom: 20px
}

.advantage-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0a2a44;
    word-break: break-word
}

.advantage-card h4 i {
    color: #0f6fbf;
    font-size: 1.1rem;
    flex-shrink: 0
}

.advantage-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: break-word
}

/* 痛点-方案 */
.pain-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 36px;
    margin-top: 16px
}

.pain-block {
    background: #ffffff;
    border-radius: 22px;
    padding: 26px 28px;
    border: 1px solid #e2edfc;
    position: relative;
    min-width: 0
}

.pain-block .pain-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #b91c1c;
    margin-bottom: 14px;
    word-break: break-word
}

.pain-block .pain-head i {
    font-size: 0.9rem;
    flex-shrink: 0
}

.pain-block .pain-text {
    font-weight: 500;
    font-size: 1rem;
    color: #1e2f44;
    margin-bottom: 22px;
    line-height: 1.6;
    word-break: break-word
}

.pain-block .sol-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #0f6fbf;
    margin-bottom: 10px
}

.pain-block .sol-text {
    background: #eef6fe;
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 0.93rem;
    color: #1e3a5f;
    line-height: 1.7;
    border-left: 3px solid #0f6fbf;
    word-break: break-word
}

/* 服务流程 */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px
}

.process-step {
    flex: 1 1 160px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    border: 1px solid #e2edfc;
    position: relative;
    min-width: 0
}

.process-step .step-num {
    background: #eef4fb;
    color: #0f6fbf;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 18px;
    border: 1px solid #d4e6fc
}

.process-step h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #0a2a44;
    word-break: break-word
}

.process-step p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
    word-break: break-word
}

/* 实力数据 */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 24px;
    text-align: center;
    margin-top: 16px
}

.metric-item {
    background: #ffffff;
    border-radius: 28px;
    padding: 36px 16px;
    border: 1px solid #e2edfc;
    transition: border-color 0.2s
}

.metric-item:hover {
    border-color: #b8d6fc
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a2a44;
    line-height: 1.2;
    margin-bottom: 10px;
    word-break: break-word
}

.metric-value small {
    font-size: 1rem;
    font-weight: 400;
    color: #0f6fbf;
    margin-left: 4px
}

.metric-desc {
    font-size: 0.85rem;
    color: #64748b;
    word-break: break-word
}

/* 资质与承诺 */
.cert-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 16px
}

.cert-flex.is-four {
    grid-template-columns: repeat(2, 1fr)
}

.cert-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 30px;
    border: 1px solid #e2edfc;
    min-width: 0
}

.cert-card h3 {
    font-size: 1.2rem;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0a2a44;
    word-break: break-word
}

.cert-card h3 i {
    color: #0f6fbf;
    flex-shrink: 0
}

.cert-card ul {
    list-style: none
}

.cert-card li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #475569;
    font-size: 0.95rem;
    border-bottom: 1px solid #eef2f6;
    line-height: 1.6;
    word-break: break-word
}

.cert-card li:last-child {
    border-bottom: none
}

.cert-card li i {
    color: #0f6fbf;
    font-size: 0.85rem;
    margin-top: 5px;
    flex-shrink: 0
}

/* 常见问题 */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px
}

.faq-block {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid #e2edfc;
    min-width: 0
}

.faq-q {
    font-weight: 600;
    color: #0a2a44;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.6;
    word-break: break-word
}

.faq-q i {
    color: #0f6fbf;
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0
}

.faq-a {
    color: #475569;
    font-size: 0.93rem;
    line-height: 1.7;
    padding-left: 28px;
    word-break: break-word
}

/* 页脚 */
.footer {
    background: #0a2a44;
    padding: 64px 0 32px
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px
}

.footer-brand {
    max-width: 380px;
    min-width: 0
}

.footer-brand h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-word
}

.footer-brand h3 i {
    color: #7eb9ff;
    flex-shrink: 0
}

.footer-brand p {
    color: #b0c8e0;
    font-size: 0.9rem;
    line-height: 1.7;
    word-break: break-word
}

.footer-brand .contact-info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: #b0c8e0
}

.footer-brand .contact-info i {
    color: #7eb9ff;
    margin-right: 8px;
    width: 16px
}

.footer-brand .contact-info a {
    color: #b0c8e0;
    word-break: break-all
}

.footer-brand .contact-info a:hover {
    color: #ffffff
}

.footer-links {
    display: flex;
    gap: 72px;
    flex-wrap: wrap
}

.footer-links div a {
    display: block;
    color: #b0c8e0;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.2s
}

.footer-links div a:hover {
    color: #ffffff
}

.footer-links div strong {
    color: #ffffff;
    display: block;
    margin-bottom: 18px;
    font-size: 1rem;
    letter-spacing: 0.02em
}

.footer-bottom {
    border-top: 1px solid #1e3b58;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #8ca8c7
}

/* 响应式 */
@media (max-width: 1100px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .metrics-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width: 900px) {
    .hero-text h1 {
        font-size: 2.6rem
    }

    .pain-solution-grid,
    .faq-grid {
        grid-template-columns: 1fr
    }

    .about-split {
        gap: 36px
    }

    .footer-links {
        gap: 48px
    }
}

@media (max-width: 768px) {
    .navbar .container {
        gap: 12px
    }

    .nav-links {
        display: none
    }

    .logo {
        max-width: 100%;
        font-size: 1.2rem
    }

    .hero-text h1 {
        font-size: 2.2rem
    }

    .advantage-grid {
        grid-template-columns: 1fr
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .process-step {
        flex: 1 1 100%
    }

    .section {
        padding: 60px 0
    }

    .footer-links {
        gap: 40px
    }

    .cert-flex,
    .cert-flex.is-four {
        grid-template-columns: 1fr
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px
    }

    .section {
        padding: 48px 0
    }

    .hero-stats {
        gap: 24px
    }

    .metrics-grid {
        grid-template-columns: 1fr
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center
    }

    .product-grid {
        grid-template-columns: 1fr
    }
}
