/* 关于我们 — 时间线叙事布局 */

:root {
    --ab-brand: #0fbbd8;
    --ab-brand-dark: #067db2;
    --ab-gradient: linear-gradient(115deg, #067db2 0%, #0a96c1 45%, #0fbbd8 100%);
    --ab-page-bg: #f4f7f9;
    --ab-panel: #ffffff;
    --ab-line: #e4ebf0;
    --ab-text: #243039;
    --ab-text-muted: #6b7a86;
    --ab-radius: 14px;
}

html:has(.about-shell),
body.page-about {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
}

body.page-about,
body.page-about .site-main,
.about-shell {
    background: var(--ab-page-bg) !important;
}

body.page-about {
    text-align: left !important;
}

body.page-about .header {
    min-width: 0 !important;
    max-width: 100% !important;
}

body.page-about .header-spacer {
    margin-bottom: 0 !important;
}

.about-shell {
    box-sizing: border-box;
    width: 100%;
    min-height: 560px;
    padding: 32px 0 72px;
    text-align: left;
}

.about-shell *,
.about-shell *::before,
.about-shell *::after {
    box-sizing: border-box;
}

.about-shell .about-page.container {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    padding-left: 16px;
    padding-right: 16px;
    float: none !important;
}

/* —— 顶部品牌条 —— */
.about-banner {
    position: relative;
    margin: 0 0 20px;
    padding: 28px 28px 30px;
    border-radius: var(--ab-radius);
    background: var(--ab-gradient);
    color: #fff;
    overflow: hidden;
}

.about-banner::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.about-banner::before {
    content: "";
    position: absolute;
    right: 60px;
    bottom: -70px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.about-banner__meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.92;
}

.about-banner__brand {
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    letter-spacing: 0.12em;
}

.about-banner__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

.about-banner__title {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-shadow: none;
}

.about-banner__desc {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

/* —— 主面板 —— */
.about-panel {
    background: var(--ab-panel);
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    box-shadow: 0 8px 28px rgba(36, 48, 57, 0.05);
    overflow: hidden;
}

.about-timeline {
    padding: 8px 0 4px;
}

.about-block {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 8px 28px;
    padding: 28px 32px;
    position: relative;
}

.about-block + .about-block {
    border-top: 1px dashed var(--ab-line);
}

.about-block__aside {
    position: relative;
    padding-top: 2px;
}

.about-block__aside::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 3px;
    height: 28px;
    border-radius: 3px;
    background: var(--ab-gradient);
}

.about-block__no {
    display: block;
    margin: 0 0 8px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ab-brand-dark);
}

.about-block__title {
    margin: 0 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ab-text);
    text-shadow: none;
}

.about-block__main {
    min-width: 0;
    color: var(--ab-text-muted);
    font-size: 14px;
    line-height: 1.9;
}

.about-block__main p {
    margin: 0 0 12px;
}

.about-block__main p:last-child {
    margin-bottom: 0;
}

.about-block__lead {
    color: var(--ab-text);
    font-weight: 600;
}

.about-block__quote {
    margin-top: 4px !important;
    padding: 12px 14px;
    border-left: 3px solid rgba(15, 187, 216, 0.55);
    background: #f3fafc;
    color: var(--ab-brand-dark) !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.about-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.about-services li {
    position: relative;
    padding: 10px 12px 10px 28px;
    background: #f7fafc;
    border-radius: 8px;
    color: var(--ab-text);
    font-size: 13px;
    font-weight: 600;
}

.about-services li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--ab-brand);
}

/* —— 页脚条 —— */
.about-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    padding: 18px 32px;
    background: #f7fafc;
    border-top: 1px solid var(--ab-line);
}

.about-foot__values {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 0;
    color: var(--ab-text-muted);
    font-size: 13px;
}

.about-foot__values span {
    position: relative;
    padding: 0 12px;
}

.about-foot__values span:first-child {
    padding-left: 0;
}

.about-foot__values span + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 12px;
    margin-top: -6px;
    background: #c8d4dc;
}

.about-foot__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-foot__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid #d4dee6;
    background: #fff;
    color: var(--ab-text) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.about-foot__link:hover {
    border-color: var(--ab-brand-dark);
    color: var(--ab-brand-dark) !important;
}

.about-foot__link--primary {
    border: none;
    background: var(--ab-gradient);
    color: #fff !important;
}

.about-foot__link--primary:hover {
    filter: brightness(1.04);
    color: #fff !important;
}

/* —— 滚动显现 —— */
.about-reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.about-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.about-banner.about-reveal {
    transform: translate3d(0, 16px, 0) scale(0.985);
}

.about-banner.about-reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
}

.about-services li.about-reveal {
    transform: translate3d(0, 12px, 0);
}

.about-services li.about-reveal.is-visible {
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .about-reveal {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

@media (max-width: 991px) {
    html:has(.about-shell),
    body.page-about,
    body.page-about .header {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .about-shell {
        padding: 18px 0 48px;
    }

    .about-banner {
        padding: 22px 20px 24px;
    }

    .about-banner__title {
        font-size: 24px;
    }

    .about-block {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 22px 20px;
    }

    .about-foot {
        padding: 16px 20px;
    }
}

@media (max-width: 576px) {
    .about-shell .about-page.container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .about-banner__title {
        font-size: 22px;
    }

    .about-banner__desc {
        font-size: 13px;
        white-space: normal;
    }

    .about-block__title {
        font-size: 17px;
    }

    .about-block__main {
        font-size: 13.5px;
        line-height: 1.85;
    }

    .about-services {
        grid-template-columns: 1fr;
    }

    .about-foot__actions {
        width: 100%;
    }

    .about-foot__link {
        flex: 1 1 auto;
    }
}
