
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans SC", "Segoe UI", Verdana, Geneva, Tahoma, sans-serif,-apple-system, BlinkMacSystemFont;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    color: #333;
    position: relative;
}

.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    z-index: -2;
    transition: background-image 0.8s ease;
    -webkit-transition: background-image 0.8s ease;
    -moz-transition: background-image 0.8s ease;
    -o-transition: background-image 0.8s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    will-change: transform;
    -webkit-will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 0.40;
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(1, 62, 117, 0.95);
    color: #fff;
    padding: 14px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

    .nav-link:hover {
        color: #d4a742;
    }

.lang-switch {
    background: #d4a742;
    color: #013E75;
    border: none;
    padding: 7px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

    .lang-switch:hover {
        background: #e6c862;
    }

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: transform 0.2s ease-out;
}

.hero-mask {
    background: rgba(1, 62, 117, 0.75);
    padding: 65px 85px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    max-width: 900px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.hero-title {
    font-size: 44px;
    margin-bottom: 22px;
    line-height: 1.3;
}

.hero-desc {
    font-size: 19px;
    line-height: 1.8;
    opacity: 0.95;
}

.section {
    padding: 90px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 30px;
    color: #013E75;
    margin-bottom: 35px;
    border-left: 4px solid #d4a742;
    padding-left: 18px;
}

#contact .section-title {
    color: #ffffff;
}

.about-wrapper {
    width: 100%;
    background-color: #ffffff;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 45px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: flex-start;
}

.about-text p {
    font-size: 17px;
    line-height: 2.0;
    margin-bottom: 20px;
    color: #333;
}

.founder-section {
    margin: 40px 0;
}

.founder-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.founder-img {
    width: 180px;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.founder-desc {
    flex: 1;
    font-size: 17px;
    line-height: 2.0;
    color: #333;
}

.consultants-link {
    text-align: center;
    font-size: 17px;
    color: #013E75;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid #013E75;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s;
}

    .consultants-link:hover {
        background: #013E75;
        color: #fff;
    }

.about-advantages {
    list-style: none;
    margin-top: 20px;
}

    .about-advantages li {
        font-size: 17px;
        line-height: 2.2;
        padding-left: 24px;
        position: relative;
    }

        .about-advantages li::before {
            content: "\2022";
            color: #d4a742;
            font-size: 24px;
            position: absolute;
            left: 0;
            line-height: 32px;
        }

.services-grid, .cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-card, .case-card {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.service-card, .case-card {
    display: flex;
    flex-direction: column;
}

    .service-card:hover, .case-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }

.service-title, .case-title {
    font-size: 22px;
    color: #013E75;
    margin-bottom: 18px;
}

.service-desc, .case-desc {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}

.service-card .service-desc,
.case-card .case-desc {
    flex: 1;
}

.service-tip, .case-tip {
    text-align: right;
    font-size: 14px;
    color: #d4a742;
    margin-top: auto;
    padding-top: 15px;
    font-weight: 600;
}

.tools-wrapper {
    width: 100%;
    background-color: #ffffff;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 45px 0;
}

.tools-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    line-height: 2;
    font-size: 17px;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.publication-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

    .publication-item:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

.publication-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    cursor: pointer;
}

.publication-info {
    flex: 1;
    min-width: 0;
}

.publication-title {
    font-size: 16px;
    font-weight: 600;
    color: #013E75;
    margin-bottom: 4px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.publication-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
}

.contact-info-item {
    margin-bottom: 25px;
}

.contact-info-label {
    font-size: 18px;
    color: #013E75;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-info-value {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.contact-form-placeholder {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    display: inline-block;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
}

    .social-icon:hover {
        transform: scale(1.05);
    }

.footer {
    background: #013E75;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    font-size: 15px;
    /* margin-top: 30px; */
}

.footer-info a {
    color: #fff;
    text-decoration: none;
}

    .footer-info a:hover,
    .footer-info a:visited,
    .footer-info a:active,
    .footer-info a:focus {
        color: #fff;
    }

.detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.detail-modal-box {
    width: 50vw;
    height: 75vh;
    max-height: 90vh;
    max-width: 900px;
    min-width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    padding: 36px 40px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.detail-modal h1 {
    font-size: 26px;
    color: #013E75;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    line-height: 2;
    font-size: 16px;
    color: #333;
    margin-bottom: 24px;
    overflow-y: auto;
}

.back-btn, .detail-modal .back-btn {
    background: linear-gradient(135deg, #013E75 0%, #025AA6 100%);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin: 0 auto;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(1, 62, 117, 0.3);
    transition: all 0.3s ease;
}

    .back-btn:hover, .detail-modal .back-btn:hover {
        background: linear-gradient(135deg, #025AA6 0%, #013E75 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(1, 62, 117, 0.4);
    }

    .back-btn:active, .detail-modal .back-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 10px rgba(1, 62, 117, 0.3);
    }

@media (max-width: 768px) {
    .detail-modal-box {
        width: 92vw;
        height: 65vh;
        padding: 24px 20px 20px;
    }

    .detail-modal h1 {
        font-size: 22px;
    }

    .nav-menu {
        display: flex;
        gap: 20px;
        align-items: center;
    }
}
/* ===================== 新增：顾问弹窗样式 ===================== */
.consultants-modal {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 60px);
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 5%;
}

.consultants-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.consultants-grid-row2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 30px auto 0;
}

.consultant-item {
    text-align: center;
}

.consultant-img {
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}

.consultant-name {
    font-size: 16px;
    font-weight: 600;
    color: #013E75;
    margin-bottom: 4px;
    line-height: 1.5;
}

.consultant-title {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.consultant-desc {
    width: 220px;
    max-width: 100%;
    margin: 10px auto 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    text-align: left;
    box-sizing: border-box;
}

    .consultant-desc p {
        margin: 0 0 4px;
    }

    .consultant-desc-zh,
    .consultant-desc-en {
        max-height: 12em;
        overflow: hidden;
    }

@media (max-width: 992px) {
    .about-content, .contact-container {
        grid-template-columns: 1fr;
    }

    .services-grid, .cases-grid {
        grid-template-columns: 1fr;
    }
    /* 顾问弹窗移动端适配 */
    .consultants-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .consultants-grid-row2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .section-title {
        font-size: 20px;
    }

    .about-text p, .founder-desc {
        font-size: 14px;
    }

    .founder-item {
        align-items: flex-start;
    }

    .founder-img {
        width: 130px;
        flex-shrink: 0;
    }

    .about-advantages li {
        font-size: 14px;
    }

    .service-title, .case-title {
        font-size: 18px;
    }

    .service-desc, .case-desc {
        font-size: 13px;
    }

    .contact-info-label {
        font-size: 15px;
    }

    .contact-info-value {
        font-size: 13px;
    }

    .consultants-grid {
        grid-template-columns: 1fr;
    }

    .consultants-grid-row2 {
        grid-template-columns: 1fr;
    }

    .consultant-img {
        width: 150px;
        height: 200px;
    }

    .consultant-name {
        font-size: 14px;
    }

    .consultant-title {
        font-size: 12px;
    }

    .consultant-desc {
        width: 220px;
        font-size: 12px;
    }

    .nav-link {
        font-size: 12px;
    }
    /* 中文版导航菜单样式 */
    .lang-zh .nav-menu {
        gap: 16px;
    }

    .lang-zh .nav-link {
        font-size: 12px;
    }

        .lang-zh .nav-link:first-child {
            margin-left: 20px;
        }

    .lang-zh .lang-switch {
        padding: 5px 12px;
        font-size: 12px;
    }
    /* 英文版导航菜单样式 */
    .lang-en .navbar {
        padding: 10px 3%;
        min-height: auto;
    }

    .lang-en .nav-menu {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: end;
        -webkit-justify-content: flex-end;
        justify-content: flex-end;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center;
        gap: 12px;
        max-width: calc(100% - 120px);
    }

    .lang-en .nav-link {
        font-size: 10px;
        white-space: nowrap;
        -webkit-flex-shrink: 0;
        flex-shrink: 0;
    }

        .lang-en .nav-link:first-child {
            margin-left: 15px;
        }

    .lang-en .lang-switch {
        padding: 4px 10px;
        font-size: 10px;
        flex-shrink: 0;
    }

    .lang-en .founder-desc {
        font-size: 12px;
    }

    .footer {
        font-size: 12px;
    }
    /* 弹窗详情页字号 */
    .detail-modal-box {
        padding: 24px 20px 20px;
    }

    .detail-modal h1 {
        font-size: 20px;
    }

    .detail-content {
        font-size: 13px;
    }

    .consultants-modal {
        padding: 24px 5%;
    }
    /* 工具/产品内容字号 */
    .tools-content {
        font-size: 14px;
    }
    /* 社交图标手机端适配 */
    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icons {
        gap: 12px;
        margin-top: 16px;
    }

    .section {
        padding: 60px 16px;
    }

    .tools-content {
        padding: 20px 16px;
    }
    /* 出版物手机端适配 */
    #tools .publications-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .publication-item {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 14px;
        gap: 12px;
        flex-direction: row;
        align-items: flex-start;
        box-sizing: border-box;
        overflow: hidden;
    }

    .publication-img {
        width: 56px;
        height: 72px;
        flex-shrink: 0;
    }

    .publication-info {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }

    .publication-title {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 6px;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .publication-desc {
        font-size: 12px;
        line-height: 1.6;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .lang-en .publication-title,
    .lang-en .publication-desc {
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .service-panel {
        min-height: 320px;
    }

    .page-title {
        font-size: 22px;
    }

    .page-intro {
        font-size: 15px;
    }

    .section-label {
        font-size: 14px;
    }

    .topic-item {
        font-size: 13px;
    }

    .service-panel-placeholder {
        font-size: 14px;
    }

    .panel-title {
        font-size: 20px;
    }

    .panel-body {
        font-size: 14px;
    }
}
/* 图片查看弹窗样式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.image-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

    .image-modal-close:hover,
    .image-modal-close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* ===================== 服务详情页 ===================== */
.page-main {
    padding: 100px 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 180px);
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 32px;
    color: #013E75;
    margin-bottom: 24px;
    border-left: 4px solid #d4a742;
    padding-left: 18px;
}

.page-intro {
    line-height: 2;
    font-size: 17px;
    color: #333;
    margin-bottom: 36px;
}

.service-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 40px;
}

.service-sidebar {
    flex: 0 0 340px;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    padding-right: 8px;
}

    .service-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .service-sidebar::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }

.section-block {
    margin-bottom: 22px;
}

.section-label {
    font-size: 16px;
    font-weight: 700;
    color: #013E75;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e8e8e8;
}

.topic-item {
    display: block;
    padding: 8px 12px 8px 20px;
    font-size: 15px;
    color: #013E75;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    line-height: 1.6;
}

    .topic-item[data-clickable="1"] {
        text-decoration: underline;
    }

    .topic-item:hover {
        color: #013E75;
        background: #f5f8fb;
        border-left-color: #d4a742;
    }

    .topic-item.active {
        color: #013E75;
        font-weight: 600;
        background: #eef4fa;
        border-left-color: #013E75;
    }

    .topic-item-disabled {
        color: #444;
        cursor: default;
    }

        .topic-item-disabled:hover {
            color: #444;
            background: transparent;
            border-left-color: transparent;
        }

.topic-detail {
    display: none;
    margin: 4px 0 16px 20px;
    padding: 16px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    background: #fafbfc;
}

    .topic-detail .panel-title {
        font-size: 20px;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .topic-detail .panel-body {
        font-size: 15px;
    }

.service-panel {
    flex: 1;
    min-height: calc(100vh - 320px);
    padding: 28px 32px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    background: #fafbfc;
}

.service-panel-placeholder {
    color: #888;
    font-size: 16px;
    line-height: 2;
    padding-top: 40px;
    text-align: center;
}

.panel-title {
    font-size: 24px;
    color: #013E75;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d4a742;
}

.panel-body {
    line-height: 2;
    font-size: 16px;
    color: #333;
}

.back-wrap {
    text-align: center;
    margin-top: 8px;
}

    .back-wrap .back-btn {
        text-decoration: none;
    }

@media (max-width: 992px) {
    .service-layout {
        flex-direction: column;
    }

    .service-sidebar {
        flex: none;
        width: 100%;
        max-height: none;
    }

    .service-panel {
        display: none !important;
    }
}

@media (min-width: 993px) {
    .topic-detail {
        display: none !important;
    }
}

/* iOS Safari 优化 */
@supports (-webkit-touch-callout: none) {
    .bg-fixed {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
    }
}
    