/* ==========================================================
   关于我们页面 — Banner
   ========================================================== */
.page-banner--about {
    height: 1162px;
    max-height: 90vh;
}

.about-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: none;
    display: block;
}

/* ==========================================================
   公共组件：数据统计（home.css 未加载时的基础定义）
   ========================================================== */
.stat-item {
    padding-top: 16px;
    padding-bottom: 24px;
}

.stat-label {
    font-family: 'HarmonyOS_Sans_SC', sans-serif;
    font-weight: 300;
    font-size: 22px;
    color: #000;
    line-height: 1;
}

.stat-value {
    display: flex;
    align-items: baseline;
    margin-top: 20px;
    font-family: 'HarmonyOS_Sans_SC', sans-serif;
    font-weight: 500;
    color: #000;
    line-height: 1;
}

/* ==========================================================
   区块1 — 公司介绍
   ========================================================== */
.about-section-1 {
    padding-top: 160px;
    padding-bottom: 245px;
}

/* ---------- 内容行 ---------- */
.about-content-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 100px;
}

.about-content-left {
    flex: 0 0 760px;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-text-line {
    font-family: 'HarmonyOS_Sans_SC', sans-serif;
    font-weight: 300;
    font-size: 40px;
    color: #000;
    line-height: 1;
}

.about-content-right {
    flex: 0 0 470px;
    max-width: 470px;
}

.about-content-right p {
    font-family: 'HarmonyOS_Sans_SC', sans-serif;
    font-weight: 300;
    font-size: 20px;
    color: #000;
    line-height: 1.65;
    text-align: justify;
}

/* ---------- 数据统计行 ---------- */
.about-stats-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    margin-top: 80px;
}

/* 关于页面数字字号 80px（设计稿要求） */
.about-stats-row .stat-value,
.about-stats-row .stat-suffix {
    font-size: 80px;
}

/* 固定每个统计项的最小宽度，防止 count-up 动画从 0 滚到 1000 时宽度跳变 */
.about-stats-row .stat-item {
    min-width: 300px;
}

/* ==========================================================
   响应式
   ========================================================== */
@media screen and (max-width: 1200px) {
    .about-content-left {
        flex: 0 0 55%;
        max-width: 55%;
    }

    .about-content-right {
        flex: 0 0 38%;
        max-width: 38%;
    }

    .about-text-line {
        font-size: 32px;
    }

    .about-stats-row .stat-value,
    .about-stats-row .stat-suffix {
        font-size: 64px;
    }
}

@media screen and (max-width: 960px) {
    .page-banner--about {
        height: 60vw;
        max-height: 600px;
    }

    .about-section-1 {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .about-content-row {
        flex-direction: column;
        gap: 50px;
        margin-top: 60px;
    }

    .about-content-left,
    .about-content-right {
        flex: none;
        max-width: 100%;
    }

    .about-text-line {
        font-size: 26px;
    }

    .about-stats-row {
        gap: 40px;
        flex-wrap: wrap;
        margin-top: 60px;
    }

    .about-stats-row .stat-value,
    .about-stats-row .stat-suffix {
        font-size: 56px;
    }
}

@media screen and (max-width: 600px) {
    .about-text-line {
        font-size: 22px;
    }

    .about-content-right p {
        font-size: 16px;
    }

    .about-stats-row {
        gap: 24px;
    }

    .about-stats-row .stat-value,
    .about-stats-row .stat-suffix {
        font-size: 44px;
    }

    .stat-label {
        font-size: 16px;
    }
}

/* ==========================================================
   区块2 — 服务客户（Logo 墙，白色标题）
   ========================================================== */
.about-section-2 {
    width: 100%;
    height: 1332px;
    background-image: url('../images/about-bg.webp');
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    padding-top: 125px;
    padding-bottom: 165px;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
}

.about-section-2 .container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* 白色标题组 */
.block-title-light .block-title-main,
.block-title-light .block-title-sub {
    color: #fff;
}

/* logo 网格区域：占满剩余高度，与标题行间距 125px */
.about-s2-logos {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 125px;
}

.about-s2-logos .section4-logos--desktop {
    flex: 1;
}

/* ==========================================================
   区块3 — 资质认证（5-slide 滑动轨道轮播）
   .aqc-outer  overflow:hidden，1150px，为箭头/渐变的定位上下文
   .aqc-track  flex 5-slides，translateX 由 JS 驱动，过渡由 .aqc-is-sliding 控制
   .aqc-slide  每张 350px，gap:120px —— JS 通过读 offsetWidth+computed gap 动态算 baseTranslate
   ========================================================== */
.about-section-3 {
    width: 100%;
    height: 1136px;
    background-color: #fff;
    padding-top: 120px;
    padding-bottom: 170px;
    box-sizing: border-box;
}

/* 外层剪裁容器：1150px 宽，相对定位供箭头/渐变用 */
.aqc-outer {
    position: relative;
    width: 1150px;
    height: 500px;
    margin: 90px auto 0;
    overflow: hidden;
}

/* 滑动轨道：flex 行，垂直居中（配合 scale 缩放），translateX 由 JS 驱动 */
.aqc-track {
    display: flex;
    align-items: center;
    gap: 120px;
    height: 100%;
    will-change: transform;
}

/* JS 动画时加此类，移除时立即停止过渡（用于无动画瞬移） */
.aqc-track.aqc-is-sliding {
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 每张幻灯固定 350px；侧边图默认缩小，与轨道过渡同步 */
.aqc-slide {
    flex: 0 0 350px;
    height: 100%;
    overflow: hidden;
    transform: scale(0.78);
    transform-origin: center center;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 中央图：JS 维护此类，始终保持 slot[2]（第3个子元素） */
.aqc-slide.aqc-slide--active {
    transform: scale(1);
}

.aqc-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: none;
    display: block;
}

/* 箭头：绝对定位，中央图两侧各 120px 区域的中心 */
.aqc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* left: 280px = 可见左侧图宽度（slideW/2 + gap/2 ≈ 280px） */
.aqc-arrow--prev { left: 280px; }
.aqc-arrow--next { right: 280px; }

/* 圆形内核 */
.aqc-arrow-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.aqc-arrow:hover .aqc-arrow-circle {
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.28);
    transform: scale(1.06);
}

/* 两侧渐变遮罩：外侧 56px（≈20%×280px）渐变至白 */
.aqc-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 56px;
    z-index: 10;
    pointer-events: none;
}

.aqc-fade--left  { left:  0; background: linear-gradient(to right, #fff, transparent); }
.aqc-fade--right { right: 0; background: linear-gradient(to left,  #fff, transparent); }

/* ==========================================================
   响应式 — 区块2 / 区块3
   ========================================================== */
@media screen and (max-width: 1200px) {
    .about-section-2 {
        height: auto;
        min-height: 700px;
    }

    .about-section-3 {
        height: auto;
        min-height: 700px;
    }

    /* 宽度自适应，高度等比缩小 */
    .aqc-outer {
        width: 100%;
        height: 400px;
    }
}

@media screen and (max-width: 960px) {
    .about-section-2 {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .about-s2-logos {
        margin-top: 60px;
    }

    .about-section-3 {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .aqc-outer {
        height: 240px;
        margin-top: 50px;
    }

    /* 移动端：缩小 slide 宽度与间距，JS 会自动重算 baseTranslate */
    .aqc-slide {
        flex: 0 0 200px;
    }

    .aqc-track {
        gap: 50px;
    }

    /* 箭头紧贴左右边缘，覆盖于可见侧图上 */
    .aqc-arrow {
        width: 70px;
        height: 70px;
    }

    .aqc-arrow--prev { left: 4px; }
    .aqc-arrow--next { right: 4px; }

    .aqc-arrow-circle {
        width: 44px;
        height: 44px;
    }

    .aqc-arrow-circle svg {
        width: 9px;
        height: 16px;
    }

    .aqc-fade {
        width: 28px;
    }
}

@media screen and (max-width: 600px) {
    .aqc-outer {
        height: 170px;
    }

    .aqc-slide {
        flex: 0 0 140px;
    }

    .aqc-track {
        gap: 30px;
    }

    .aqc-arrow {
        width: 48px;
        height: 48px;
    }

    .aqc-arrow-circle {
        width: 36px;
        height: 36px;
    }

    .aqc-arrow-circle svg {
        width: 7px;
        height: 13px;
    }

    .aqc-fade {
        width: 18px;
    }
}

/* ==========================================================
   区块3 — 资质文字列表行
   4行2列，居中，30px列间距，每列左对齐，20px/HarmonyOS Medium
   ========================================================== */
.aqc-cert-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 55px;
}

.aqc-cert-col {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.aqc-cert-col li {
    font-size: 20px;
    font-family: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 500;
    color: #000;
    line-height: 1.8;
}

@media screen and (max-width: 960px) {
    .aqc-cert-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-top: 36px;
        padding: 0 4px;
    }

    .aqc-cert-col li {
        font-size: 15px;
    }
}

@media screen and (max-width: 600px) {
    .aqc-cert-col li {
        font-size: 13px;
    }
}

/* ==========================================================
   区块4 — 核心团队
   ========================================================== */
.about-section-4 {
    width: 100%;
    background-color: #f1f1f1;
    padding-top: 115px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

/* ── 内容行1：两位领导人 ── */
.team-row1 {
    display: flex;
    gap: 0;
    margin-top: 125px;
}

.team-leader-card {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

/* 照片：222×278，不拉伸 */
.team-leader-photo {
    flex-shrink: 0;
    width: 222px;
    height: 278px;
    overflow: hidden;
}

.team-leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 文字区 */
.team-leader-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-leader-name {
    font-size: 36px;
    font-family: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 400;
    color: #000;
    margin: 0 0 40px;
    line-height: 1.2;
}

/* Title 行：多个 <p> 叠加，每行自然高度；相邻 <p> 间距 8px */
.team-leader-title {
    font-size: 22px;
    font-family: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 400;
    color: #000;
    margin: 0;
    line-height: 1;
}

.team-leader-title + .team-leader-title {
    margin-top: 8px;
}

.team-leader-title:last-of-type {
    margin-bottom: 20px;
}

/* 首个 desc 距上方 title 40px，后续 desc 段落间距 12px */
.team-leader-desc {
    font-size: 14px;
    font-family: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 300;
    color: #000;
    max-width: 310px;
    line-height: 1.8;
    margin-top: 40px;
}

.team-leader-desc + .team-leader-desc {
    margin-top: 0;
}

/* ── 内容行2：五个成员卡片 ── */
.team-row2 {
    display: flex;
    justify-content: space-between;
    margin-top: 120px;
}

.team-member-card {
    width: 209px;
    display: flex;
    flex-direction: column;
}

.team-member-photo {
    width: 209px;
    height: 256px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.team-member-name {
    font-size: 20px;
    font-family: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 400;
    color: #000;
    margin: 30px 0 0;
    line-height: 1.3;
}

.team-member-title {
    font-size: 18px;
    font-family: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 400;
    color: #000;
    margin: 25px 0 0;
    line-height: 1.5;
}

.team-member-title + .team-member-title {
    margin-top: 4px;
}

/* ==========================================================
   响应式 — 区块4
   ========================================================== */
@media screen and (max-width: 1200px) {
    .about-section-4 {
        height: auto;
        min-height: 900px;
    }

    .team-leader-card {
        gap: 30px;
    }
}

@media screen and (max-width: 960px) {
    .about-section-4 {
        padding-top: 60px;
        min-height: unset;
    }

    .team-row1 {
        flex-direction: column;
        gap: 48px;
        margin-top: 60px;
    }

    .team-leader-name {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .team-leader-title {
        font-size: 17px;
    }

    .team-row2 {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 32px;
        margin-top: 60px;
    }

    .team-member-card {
        width: calc(50% - 16px);
    }

    .team-member-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 209 / 256;
    }
}

@media screen and (max-width: 600px) {
    .team-leader-card {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .team-leader-photo {
        width: 160px;
        height: 200px;
    }

    .team-leader-name {
        font-size: 22px;
    }

    .team-member-card {
        width: calc(50% - 10px);
    }

    .team-row2 {
        gap: 20px;
    }
}
