/* ==========================================================
   公司简介页面（栏目：公司简介 / profile）
   与「关于我们」共用同一套版式，仅内容不同
========================================================== */

.profile-page, .profile-page * {
    box-sizing: border-box;
}

.profile-page {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.profile-container {
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

.profile-intro-section {
    width: 100%;
    padding: 90px 0 84px;
}

.profile-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    align-items: center;
    gap: 72px;
}

.profile-section-en {
    margin-bottom: 10px;
    color: #331d1e;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.profile-section-title {
    margin: 0 0 26px;
    color: #331d1e;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.35;
}

.profile-intro-text {
    color: #6b5553;
    font-size: 16px;
    line-height: 2;
}

.profile-intro-text p {
    margin: 0 0 16px;
}

.profile-intro-text p:last-child {
    margin-bottom: 0;
}

.profile-intro-image {
    position: relative;
    width: 100%;
}

.profile-intro-image-box {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 4px;
    background: #f7f2f1;
}

.profile-intro-image-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.profile-intro-image-box:hover img {
    transform: scale(1.02);
}

/* 栏目未配图时的占位 */
.profile-intro-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #d8c8c3;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
}

.profile-card-section {
    width: 100%;
    padding: 88px 0 96px;
    background: #faf7f5;
}

.profile-section-header {
    margin-bottom: 42px;
    text-align: center;
}

.profile-section-header .profile-section-title {
    margin-bottom: 0;
}

.profile-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.profile-card-item {
    position: relative;
    min-height: 250px;
    padding: 36px 34px;
    background: #ffffff;
    border: 1px solid #f0e6e1;
    border-radius: 4px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.profile-card-item:hover {
    transform: translateY(-4px);
    border-color: #e8dcd8;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.profile-card-number {
    margin-bottom: 28px;
    color: #331d1e;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 1px;
}

.profile-card-title {
    margin: 0 0 16px;
    color: #331d1e;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
}

.profile-card-desc {
    margin: 0;
    color: #6b5553;
    font-size: 14px;
    line-height: 1.9;
}

@media screen and (max-width: 1240px) {

    .profile-container {
        width: auto;
        max-width: none;
        margin: 0 20px;
    }

}

@media screen and (max-width: 992px) {

    .profile-intro-section {
        padding: 64px 0;
    }

    .profile-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-intro-image {
        order: -1;
    }

    .profile-intro-image-box {
        height: 420px;
    }

    .profile-card-section {
        padding: 64px 0;
    }

    .profile-card-list {
        grid-template-columns: 1fr;
    }

    .profile-card-item {
        min-height: auto;
    }

}

@media screen and (max-width: 768px) {

    .profile-container {
        margin: 0 15px;
    }

    .profile-intro-section {
        padding: 48px 0 44px;
    }

    .profile-section-en {
        font-size: 11px;
    }

    .profile-section-title {
        margin-bottom: 20px;
        font-size: 27px;
    }

    .profile-intro-text {
        font-size: 14px;
        line-height: 1.9;
    }

    .profile-intro-image-box {
        height: 260px;
    }

    .profile-card-section {
        padding: 48px 0 54px;
    }

    .profile-section-header {
        margin-bottom: 30px;
    }

    .profile-card-list {
        gap: 14px;
    }

    .profile-card-item {
        padding: 28px 24px;
    }

    .profile-card-number {
        margin-bottom: 20px;
    }

    .profile-card-title {
        font-size: 20px;
    }

}

.profile-content-section {
    padding: 80px 0;
}

.profile-content {
    color: #5c4645;
    font-size: 15px;
    line-height: 2;
}

.profile-action-section {
    padding: 0 0 96px;
}

.profile-action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 46px 50px;
    overflow: hidden;
    border-radius: 6px;
    background: linear-gradient( 135deg, #14213b 0%, #182a4c 100% );
}

.profile-action::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -40px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
}

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

.profile-action-title {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.5;
}

.profile-action-desc {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
    line-height: 1.8;
}

.profile-action-right {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.profile-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 46px;
    padding: 0 28px;
    border-radius: 23px;
    background: #ffffff;
    color: #331d1e;
    font-size: 14px;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.profile-action-button:hover {
    color: #331d1e;
    background: #faf7f5;
    transform: translateY(-1px);
}

@media screen and (max-width: 768px) {

    .profile-content-section {
        padding: 48px 0;
    }

    .profile-action-section {
        padding-bottom: 54px;
    }

    .profile-action {
        display: block;
        padding: 30px 24px;
    }

    .profile-action-title {
        font-size: 21px;
    }

    .profile-action-right {
        margin-top: 24px;
    }

    .profile-action-button {
        width: 100%;
    }

}

/* ==========================================================
   卡片网格变体
========================================================== */

.profile-card-list--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-card-list--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-card-item--flat {
    min-height: auto;
}

/* 核心系统 */
.profile-system-name {
    margin: 0 0 12px;
    color: #331d1e;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.5;
}

.profile-system-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 3px 10px;
    border-radius: 2px;
    background: #f7f2f1;
    color: #331d1e;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: .5px;
}

@media screen and (max-width: 992px) {

    .profile-card-list--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media screen and (max-width: 768px) {

    .profile-card-list--two,
    .profile-card-list--four {
        grid-template-columns: 1fr;
    }

}
