

body.contact-page {
    background: #F5F6F7 !important;
    min-height: 100vh;
}

body.contact-page section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* ==================== Banner区域 ==================== */
.contact-banner {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 0;
    padding-top: 70px;
    overflow: hidden;
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/banne/gywm.jpg') center center / cover no-repeat;
    filter: blur(8px);
    z-index: 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}

.banner-content h1,
.banner-content p {
    margin: 0;
    padding: 0;
    text-align: left;
    text-indent: 0 !important;
}

.banner-title {
    font-size: 56px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 22px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.banner-description {
    font-size: 18px !important;
    color: #ffffff !important;
    line-height: 1.6 !important;
    max-width: 700px;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ==================== 内容区域 ==================== */
.contact-content {
    padding: 0;
    min-height: auto;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto 0 auto;
    padding: 0 40px 0 40px;
}

/* ==================== 公司简介区域 ==================== */
.company-profile {
    margin-top: -120px;
    margin-bottom: 100px;
    transition: all 1.5s ease;
    position: relative;
    z-index: 2;
}

.company-profile.expanded {
    margin-top: 0;
    padding-top: 80px;
}


.profile-container {
    position: relative;
    transition: all 1.5s ease;
    min-height: 300px;
}

.company-profile.expanded .profile-container {
    min-height: 300px;
}

.profile-container::after {
    content: '';
    display: table;
    clear: both;
}

.profile-image-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-profile.expanded .profile-image-container {
    width: 400px;
    height: 300px;
    float: left;
    margin-right: 40px;
    cursor: pointer;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2), 0 3px 10px rgba(0, 0, 0, 0.12);
}

.profile-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.profile-image-container:hover .profile-bg-image {
    transform: scale(1.08);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 123, 255, 0.88) 0%, rgba(107, 155, 255, 0.88) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profile-image-container:hover .profile-overlay {
    opacity: 1;
}

.company-profile.expanded .profile-overlay {
    opacity: 0;
    pointer-events: auto;
}

.company-profile.expanded .profile-image-container:hover .profile-overlay {
    opacity: 1;
}

.company-profile.expanded .profile-bg-image {
    transform: scale(1);
}

.company-profile.expanded .profile-image-container:hover .profile-bg-image {
    transform: scale(1.05);
}

.overlay-content {
    text-align: center;
    color: #ffffff;
}

.overlay-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    color: #ffffff !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.overlay-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #ffffff;
    transition: width 0.4s ease 0.1s;
}

.profile-image-container:hover .overlay-content h2::after {
    width: 100%;
}

.company-profile.expanded .profile-image-container:hover .overlay-content h2::after {
    width: 100%;
}

.profile-text-content {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 1.5s ease 0.8s, visibility 0s 1.5s, max-height 1.5s ease;
}

.company-profile.expanded .profile-text-content {
    opacity: 1;
    visibility: visible;
    max-height: 3000px;
    overflow: visible;
    display: block;
    transition: opacity 1.5s ease 0.8s, visibility 0s, max-height 1.5s ease;
}

.company-description {
    position: relative;
    padding-left: 25px;
    padding-top: 5px;
    padding-bottom: 20px;
    padding-right: 20px;
}

.company-profile.expanded .company-description {
    margin-left: 440px;
}

.company-description::before {
    content: '\201C';
    position: absolute;
    left: -5px;
    top: -5px;
    font-size: 60px;
    color: #4b7bff;
    opacity: 0.25;
    font-family: Georgia, serif;
    line-height: 1;
}

.company-description::after {
    content: '\201D';
    position: absolute;
    right: 10px;
    bottom: -15px;
    font-size: 60px;
    color: #4b7bff;
    opacity: 0.25;
    font-family: Georgia, serif;
    line-height: 1;
}

.company-description p {
    font-size: 16px;
    color: #2d3748;
    line-height: 2.2;
    margin-bottom: 28px;
    text-indent: 2em;
    text-align: justify;
    letter-spacing: 0.5px;
}

.company-description p:first-of-type {
    font-size: 17px;
    font-weight: 500;
    color: #1a1a2e;
}

.company-description p:last-child {
    margin-bottom: 0;
}

/* ==================== 企业资质区域 ==================== */
.qualification-section {
    margin-bottom: 100px;
}

.qualification-section h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 50px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: 8px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.qualification-images {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.qualification-image-container {
    width: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    background: #ffffff;
}

.qualification-image-container:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(75, 123, 255, 0.2);
}

.qualification-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.qualification-image-container:hover .qualification-image {
    transform: scale(1.02);
}

.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-lightbox.active {
    display: flex;
    animation: lightboxFadeIn 0.3s ease forwards;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 70%;
    max-height: 75%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.1);
    transform: scale(0.9);
    animation: imageZoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    border: 2px solid rgba(200, 200, 200, 0.3);
    background: #ffffff;
    cursor: zoom-out;
}

@keyframes imageZoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
    background: rgba(75, 123, 255, 0.9);
    border-color: rgba(75, 123, 255, 1);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 20px rgba(75, 123, 255, 0.5);
}

.lightbox-close:active {
    transform: rotate(90deg) scale(0.95);
}

.lightbox-counter {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ==================== 联系我们区域 ==================== */
.contact-cards {
    margin-bottom: 100px;
}

.contact-cards h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 50px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: 8px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-card {
    border-radius: 20px;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    min-height: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-card:nth-child(1) {
    background-image: url('../image/kf.jpg');
}

.contact-card:nth-child(2) {
    background-image: url('../image/kf2.jpg');
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 123, 255, 0.4) 0%, rgba(107, 155, 255, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(75, 123, 255, 0.25);
}

.contact-card:hover::before {
    background: linear-gradient(135deg, rgba(75, 123, 255, 0.3) 0%, rgba(107, 155, 255, 0.2) 100%);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 25px 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    padding-bottom: 12px;
}

.card-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}

.card-content .text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.98);
    margin: 0 0 12px 0;
    line-height: 1.6;
    text-indent: 0;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-content .text p i {
    margin-right: 12px;
    width: 22px;
    display: inline-block;
    text-align: center;
    font-size: 18px;
    opacity: 0.95;
}

.contact-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 35px;
    background: #ffffff;
    color: #4b7bff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-btn:hover {
    background: #f8f9fc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: #4b7bff;
    text-decoration: none;
}

/* ==================== 功能特色展示 ==================== */
/* ==================== CTA区域 ==================== */
.contact-cta {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    padding: 0;
    margin-top: 80px;
    margin-bottom: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    clear: both;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.contact-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
}

.contact-slogan {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.6;
    text-indent: 0;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: nowrap;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    background: #ffffff;
    color: #1a237e;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.contact-cta-btn:hover {
    background: #f8f9fc;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #1a237e;
    text-decoration: none;
}

/* ==================== 回到顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: #ffffff;
    color: #4b7bff;
    border: 2px solid rgba(75, 123, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    backdrop-filter: blur(10px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #4b7bff;
    color: #ffffff;
    border-color: #4b7bff;
    box-shadow: 0 4px 24px rgba(75, 123, 255, 0.25);
    transform: translateY(-4px);
}

.back-to-top:active {
    transform: translateY(-2px);
    box-shadow: 0 2px 12px rgba(75, 123, 255, 0.2);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1400px) {
    .banner-content {
        padding: 0 40px;
    }
}

@media (max-width: 1024px) {
    .banner-title {
        font-size: 42px !important;
    }

    .banner-subtitle {
        font-size: 18px !important;
    }

    .banner-description {
        font-size: 16px !important;
    }

    .company-profile {
        margin-top: -100px;
    }

    .company-profile.expanded {
        margin-top: 0;
        padding-top: 60px;
    }

    .profile-image-container {
        height: 400px;
    }

    .company-profile.expanded .profile-image-container {
        width: 350px;
        height: 260px;
        float: left;
        margin-right: 30px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18), 0 3px 10px rgba(0, 0, 0, 0.1);
    }

    .company-profile.expanded .company-description {
        margin-left: 380px;
    }

    .overlay-content h2 {
        font-size: 42px;
        padding-bottom: 12px;
    }

    .overlay-content h2::after {
        height: 2.5px;
    }

    .qualification-images {
        gap: 30px;
    }

    .qualification-image-container {
        width: 230px;
    }

    .cards-container {
        gap: 25px;
    }

    .contact-cta {
        height: 260px;
        margin-top: 70px;
        margin-bottom: 0;
    }

    .contact-cta-content {
        padding: 0 30px;
        gap: 25px;
    }

    .contact-slogan {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        height: 350px;
    }

    .banner-content {
        padding: 0 20px;
    }

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

    .banner-subtitle {
        font-size: 16px !important;
        margin-bottom: 16px !important;
    }

    .banner-description {
        font-size: 14px !important;
    }

    .contact-content {
        padding: 0;
    }

    .contact-container {
        padding: 0 20px;
    }

    .company-profile {
        margin-top: -80px;
        margin-bottom: 70px;
    }

    .company-profile.expanded {
        margin-top: 0;
        padding-top: 50px;
    }

    .profile-image-container {
        height: 300px;
    }

    .company-profile.expanded .profile-image-container {
        width: 100%;
        height: 250px;
        float: none;
        margin-right: 0;
        margin-bottom: 30px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .company-profile.expanded .profile-text-content {
        clear: both;
    }

    .company-profile.expanded .company-description {
        margin-left: 0;
    }

    .overlay-content h2 {
        font-size: 32px;
        padding-bottom: 10px;
    }

    .overlay-content h2::after {
        height: 2px;
    }

    .company-description {
        padding-left: 25px;
        padding-top: 15px;
        padding-bottom: 15px;
        padding-right: 15px;
    }

    .company-description::before {
        font-size: 45px;
        left: -5px;
        top: 5px;
    }

    .company-description::after {
        font-size: 45px;
        right: 5px;
        bottom: -10px;
    }

    .company-description p {
        font-size: 15px;
        line-height: 2;
        margin-bottom: 22px;
    }

    .company-description p:first-of-type {
        font-size: 16px;
    }

    .qualification-section {
        margin-bottom: 70px;
    }

    .qualification-section h2 {
        font-size: 26px;
        margin-bottom: 35px;
        letter-spacing: 6px;
    }

    .qualification-images {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .qualification-image-container {
        width: 100%;
        max-width: 320px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .lightbox-image {
        max-width: 90%;
        max-height: 70%;
        border-radius: 8px;
    }

    .lightbox-counter {
        top: 15px;
        font-size: 14px;
        padding: 6px 16px;
    }

    .contact-cards {
        margin-bottom: 70px;
    }

    .contact-cards h2 {
        font-size: 26px;
        margin-bottom: 35px;
        letter-spacing: 6px;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 35px 30px;
        min-height: 240px;
        border-radius: 18px;
    }

    .card-content h3 {
        font-size: 26px;
        margin-bottom: 20px;
        letter-spacing: 1.5px;
    }

    .card-content h3::after {
        width: 40px;
        height: 2.5px;
    }

    .card-content .text p {
        font-size: 15px;
        margin-bottom: 12px;
        line-height: 1.6;
    }

    .card-content .text p i {
        font-size: 16px;
        width: 20px;
    }

    .contact-cta {
        margin-top: 60px;
        margin-bottom: 0;
        height: 240px;
    }

    .contact-cta-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 0 25px;
    }

    .contact-slogan {
        font-size: 16px;
        letter-spacing: 0.5px;
        white-space: normal;
    }

    .contact-cta-btn {
        width: auto;
        min-width: 200px;
        padding: 14px 40px;
        font-size: 16px;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 70px;
        right: 20px;
        font-size: 18px;
        border-radius: 14px;
    }
}
