/**
 * 单页模板样式
 */

/* 页面背景 */
.page-bg-light {
    background-color: #f8fafc;
    padding-top: 40px;
    padding-bottom: 80px;
}

/* 标题样式 */
.section-en {
    display: block;
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 8px;
    opacity: 0.8;
    text-transform: uppercase;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 34px;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 15px;
    color: #94a3b8;
    max-width: 800px;
    margin: 10px auto 0;
    font-weight: 400;
}

/* 关于我们卡片 */
.project-detail-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 70px;
    display: flex;
    gap: 70px;
    margin-bottom: 80px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 30px 70px rgba(30, 41, 59, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 100px rgba(30, 41, 59, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.project-detail-card::before {
    content: 'INNOVATION';
    position: absolute;
    top: -30px;
    right: -20px;
    font-size: 140px;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.02);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: -5px;
}

.project-image-wrap {
    flex: 0 0 40%;
    position: relative;
    z-index: 1;
}

/* 浮动荣誉牌 - 第二版 (艺术/毛玻璃款) */
.experience-badge {
    position: absolute;
    right: -40px;
    bottom: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
    color: #fff;
    padding: 24px;
    border-radius: 20px 20px 4px 20px;
    /* 不对称设计 */
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.25);
    text-align: center;
    z-index: 3;
    animation: float-badge 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.experience-badge .num {
    display: block;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 6px;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    letter-spacing: 2px;
    background: linear-gradient(to bottom, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.experience-badge .text {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    white-space: nowrap;
    font-family: "Georgia", serif;
    font-style: italic;
    letter-spacing: 0.5px;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 6px;
}

.project-image-wrap::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-left: 5px solid var(--color-primary);
    border-top: 5px solid var(--color-primary);
    border-top-left-radius: 15px;
    z-index: 0;
    opacity: 0.6;
}

.project-image-wrap img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 15px 15px 50px rgba(30, 41, 59, 0.12);
    position: relative;
    z-index: 1;
}

.project-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.project-content .post {
    font-size: 16px;
    line-height: 2.2;
    color: #475569;
}

.project-content .highlight-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.06);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 25px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.project-content .post p {
    margin-bottom: 20px;
}

.project-content .post p:first-of-type::first-line {
    font-weight: 700;
    color: #1e293b;
    font-size: 19px;
    letter-spacing: 0.5px;
}

/* 合作伙伴 Logo 墙 */
.partners-section {
    padding: 40px 0 60px;
    text-align: center;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.logo-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    height: 60px;
    border: 1px solid #f1f5f9;
}

.logo-card img {
    max-width: 100%;
    max-height: 28px;
    opacity: 0.6;
}

/* 联系我们 */
.contact-section {
    padding: 40px 0 40px;
    text-align: center;
}

.contact-section .section-header {
    margin-bottom: 0;
}

.contact-section .section-title {
    font-size: 30px;
    color: #1a1a1a;
}

.contact-main-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 0 30px;
    box-shadow: 2px 6px 33px -2px rgba(0, 65, 170, 0.08);
    margin-top: 40px;
    border-left: 15px solid #fafbfd;
    border-right: 15px solid #fafbfd;
}

/* 分部列表布局 */
.contact-locations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 40px;
}

/* --- 总部 (HQ) 尊雅高亮 --- */
.branch-item.is-hq {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 8px 30px -10px rgba(0, 65, 170, 0.08);
    position: relative;
    overflow: hidden;
}

.branch-item.is-hq:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px -12px rgba(0, 65, 170, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
}

.branch-item.is-hq .location-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.branch-item.is-hq .location-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.title-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.branch-item.is-hq .main-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.branch-item.is-hq .main-icon svg {
    width: 12px;
    height: 12px;
    stroke: var(--color-primary);
}

.branch-item.is-hq .location-title::before {
    display: none;
}

.hq-decoration {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hq-decoration::after {
    content: 'HQ';
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 32px;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.02);
    letter-spacing: -1px;
}

.hq-content {
    position: relative;
    z-index: 1;
}

.branch-item.is-hq .location-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.branch-item.is-hq .item-icon {
    font-size: 14px;
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.branch-item.is-hq .location-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    width: auto;
}

.branch-item.is-hq .location-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

/* --- 分部 (Branches) 设计 --- */
.branch-item {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 15px 28px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.branch-item:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.branch-item .location-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.branch-item .location-title::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    margin-right: 12px;
}

.location-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    justify-content: flex-start;
}

.branch-item .location-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.branch-item .location-label {
    color: #64748b;
    width: 65px;
    flex-shrink: 0;
}

.branch-item .location-value {
    color: #475569;
    font-weight: 500;
}

/* 异形外发光环系统 */
.icon-box-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
}

.icon-ring {
    position: absolute;
    inset: -6px;
    background: rgba(29, 78, 216, 0.08);
    /* 特色淡蓝外圈 */
    display: block;
}

.icon-main {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.icon-main svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    stroke-width: 2.2;
    fill: none;
}

/* 形状变换库 */
.ring-circle,
.main-circle {
    border-radius: 50%;
}

.ring-hexagon,
.main-hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.ring-square {
    border-radius: 12px;
}

.main-square {
    border-radius: 5px;
}

.icon-qq-text span {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.contact-info-block {
    text-align: center;
}

.contact-info-title {
    font-size: 16px;
    font-weight: 600;
    color: #001330;
    margin-bottom: 12px;
}

.contact-info-list {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-label {
    color: #7f8997;
    width: 60px;
    flex-shrink: 0;
}

.info-value {
    color: var(--color-primary);
    font-weight: 400;
    text-decoration: none;
}

.info-value:hover {
    text-decoration: underline;
}

.contact-hr {
    border: none;
    height: 1px;
    background: #f2f3f4;
    margin: 32px 40px 24px;
}

.brand-footer {
    text-align: center;
}

.brand-name-text {
    font-size: 14px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.brand-addr-text {
    font-size: 13px;
    color: #7f8997;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 0;
}

.brand-addr-text svg {
    width: 14px;
    height: 14px;
    fill: var(--color-primary);
    stroke: none;
}

/* 响应式 */
@media (max-width: 1200px) {
    .contact-layout-grid {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .project-detail-card {
        flex-direction: column;
        padding: 30px;
    }

    .project-image-wrap {
        flex: 0 0 100%;
    }

    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-locations {
        grid-template-columns: 1fr;
    }

    .contact-main-card {
        padding: 30px 20px;
    }

    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-col {
        border-right: none;
        border-bottom: 1px solid #f2f3f4;
        padding-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .contact-info-block {
        text-align: center;
    }

    .contact-info-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .project-detail-card {
        padding: 24px;
        border-radius: 20px;
    }

    .project-content .post {
        font-size: 15px;
        line-height: 2;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .logo-card {
        height: 50px;
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .page-bg-light {
        padding-top: 24px;
        padding-bottom: 60px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 24px;
        padding-bottom: 16px;
    }

    .project-detail-card {
        padding: 20px 16px;
        margin-bottom: 48px;
    }

    .experience-badge {
        right: -16px;
        bottom: 24px;
        padding: 16px;
    }

    .experience-badge .num {
        font-size: 20px;
    }

    .partners-section {
        padding: 24px 0 40px;
    }

    .branch-item {
        padding: 12px 20px;
    }

    .branch-item .location-title {
        font-size: 16px;
    }
}