/* =========================
   页面标题样式（与其他栏目统一）
========================= */
.page-header {
    background: #666 url('../images/n-banner8.jpg') center/cover no-repeat;
    padding: calc(5rem + 3vw) 5% calc(2.5rem + 1vw);
    min-height: 28.125rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.page-header .page-header-inner {
    max-width: 100rem;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.page-header-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 0.625rem 0;
    letter-spacing: 0.125rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.5rem 0;
}

.page-header-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* =========================
   核心竞争力区域样式
========================= */
.core-section {
    padding: 8rem 5% 10rem;
    position: relative;
    overflow: hidden;
}

.core-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.core-video-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 90, 170, 0.55);
    z-index: 1;
}

.core-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.core-inner {
    max-width: 100rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.core-inner h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.core-intro {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-align: center;
    max-width: 60rem;
    margin: 0 auto 4rem;
}

.competence-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 70rem;
    margin: 0 auto;
}

.competence-card {
    background: none;
    border: none;
    padding: 0 0.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    backdrop-filter: none;
    text-align: center;
    position: relative;
    cursor: pointer;
    opacity: 0.85;
}

.competence-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.competence-card:hover {
    transform: translateY(-0.375rem);
    opacity: 1;
}

.competence-card.featured {
    background: none;
    border: none;
    color: #fff;
}

.competence-card.featured h3,
.competence-card.featured p {
    color: #fff;
}

.card-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.card-icon svg .st0,
.card-icon svg .st1 {
    stroke: rgba(255, 255, 255, 0.8);
}

.card-icon svg .st2 {
    fill: rgba(255, 255, 255, 0.8);
}

.competence-card:hover .card-icon {
    transform: scale(1.15);
}

.competence-card:hover .card-icon svg .st0,
.competence-card:hover .card-icon svg .st1 {
    stroke: #fff;
}

.competence-card:hover .card-icon svg .st2 {
    fill: #fff;
}

.competence-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.75rem 0 0.75rem 0;
    transition: all 0.3s ease;
}

.competence-card:hover h3 {
    color: #fff;
    transform: scale(1.05);
}

.competence-card p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    text-align: justify;
    text-align-last: center;
}

/* =========================
   合作伙伴区域样式
========================= */
.partners-section {
    background: #fff;
    padding: 4rem 5%;
}

.partners-header {
    text-align: center;
}

.partners-header-content {
    max-width: 100rem;
    margin: 0 auto;
}

.partners-header-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1rem 0;
}

.partners-header-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.partners-grid-wrapper {
    background: #fff;
    padding: 4rem 5%;
}

.partners-grid {
    max-width: 100rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.partner-item {
    background: #fff;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(2rem);
}

.partner-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.partner-item.row-1 { transition-delay: 0ms; }
.partner-item.row-2 { transition-delay: 100ms; }
.partner-item.row-3 { transition-delay: 200ms; }
.partner-item.row-4 { transition-delay: 300ms; }

.partner-item:hover {
    background: #fff;
    transform: scale(1.02);
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
}

.partner-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================
   深色底部样式
========================= */
.foot-wrap-dark {
    background: #005AAA;
    padding: 4rem 5%;
}

.foot-wrap-dark .foot-inner {
    max-width: 100rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.foot-wrap-dark .foot-left {
    flex: 1;
}

.foot-wrap-dark .foot-left .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.foot-wrap-dark .foot-left p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.foot-wrap-dark .foot-right {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.foot-wrap-dark .foot-col h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem 0;
}

.foot-wrap-dark .foot-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.foot-wrap-dark .foot-col li {
    margin-bottom: 0.75rem;
}

.foot-wrap-dark .foot-col a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.foot-wrap-dark .foot-col a:hover {
    color: #fff;
}

.foot-wrap-dark .foot-col li:last-child {
    margin-bottom: 0;
}

.foot-wrap-dark .foot-bottom {
    max-width: 100rem;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.foot-wrap-dark .foot-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* 响应式布局 */
@media (max-width: 960px) {
    .competence-cards {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .foot-wrap-dark .foot-inner {
        flex-direction: column;
    }
    
    .foot-wrap-dark .foot-right {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .foot-wrap-dark .foot-right {
        grid-template-columns: 1fr;
    }
}