/* About Us banner (same structure as secondary pages) */
.products-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: clamp(150px, 25vw, 350px);
}

.products-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.products-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.products-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
}

.products-banner-content h1 {
    color: #ffffff;
    margin: 0;
    font-size: clamp(20px, 4vw, 40px);
    position: relative;
}

/* 二级页留白：style.css --frame-safe-x */

.frame-nav-wrap .bw-breadcrumbs-inner {
    max-width: none;
    margin: 0 var(--frame-safe-x);
    padding: 0;
}

/* About page: single horizontal inset (matches .products-container margin rhythm) */
.about-page-frame.secondary-frame-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-left: var(--frame-safe-x);
    padding-right: var(--frame-safe-x);
}

/* =========================================================================
   About Section Isolation Domain (#baiwei-about-section)
   ========================================================================= */
#baiwei-about-section .line-shift-wrapper {
    width: 100%;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 30px;
}

#baiwei-about-section .line-shift-top,
#baiwei-about-section .line-shift-bottom {
    width: 60px;
    height: 1.5px;
}

#baiwei-about-section .line-shift-top {
    background: #111;
    animation: shiftRightAbout 4s ease-in-out infinite alternate;
}

#baiwei-about-section .line-shift-bottom {
    background: #f08200;
    animation: shiftLeftAbout 4s ease-in-out infinite alternate;
}

@keyframes shiftRightAbout {
    0% { transform: translateX(-15px); }
    100% { transform: translateX(15px); }
}

@keyframes shiftLeftAbout {
    0% { transform: translateX(15px); }
    100% { transform: translateX(-15px); }
}

#baiwei-about-section .panorama-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #333;
}

#baiwei-about-section .pan-container {
    margin: 0;
    padding: 60px 0;
    box-sizing: border-box;
    max-width: none;
    width: 100%;
}

#baiwei-about-section .section-story { background: #fff; }

#baiwei-about-section .story-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

#baiwei-about-section .deco-swiss-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    cursor: default;
}

#baiwei-about-section .deco-swiss-square {
    width: 12px;
    height: 12px;
    background: #111;
    position: relative;
}

#baiwei-about-section .deco-swiss-square::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border: 2px solid #f08200;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

#baiwei-about-section .deco-swiss-wrapper:hover .deco-swiss-square::after {
    transform: translate(-4px, 4px);
}

#baiwei-about-section .deco-swiss-text {
    font-family: monospace;
    font-size: 13px;
    font-weight: 800;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#baiwei-about-section .story-title {
    font-size: 38px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin: 0 0 25px 0;
}

#baiwei-about-section .story-mission {
    font-size: 18px;
    color: #111;
    font-weight: 700;
    border-left: 4px solid #f08200;
    padding-left: 20px;
    margin-bottom: 30px;
    font-style: italic;
}

#baiwei-about-section .story-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 15px;
}

#baiwei-about-section .story-desc:last-of-type { margin-bottom: 0; }

#baiwei-about-section .story-video {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

#baiwei-about-section .story-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#baiwei-about-section .story-stats-fullwidth {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-top: 1px solid #eaeaea;
    padding-top: 40px;
}

#baiwei-about-section .stat-box {
    position: relative;
    padding: 20px 20px 20px 25px;
    background-color: transparent;
    border-radius: 6px;
    cursor: default;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#baiwei-about-section .stat-box:hover {
    background-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

#baiwei-about-section .stat-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background: #f08200;
    border-radius: 2px;
    transition: all 0.4s ease;
}

#baiwei-about-section .stat-box:hover::before {
    top: 0;
    bottom: 0;
    background: #ff9500;
}

#baiwei-about-section .stat-num {
    font-size: 42px;
    font-weight: 900;
    color: #111;
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    letter-spacing: -1px;
    transition: color 0.4s ease;
}

#baiwei-about-section .stat-box:hover .stat-num { color: #f08200; }

#baiwei-about-section .stat-num span {
    color: #f08200;
    font-size: 24px;
    margin-left: 5px;
    transition: transform 0.4s ease;
}

#baiwei-about-section .stat-box:hover .stat-num span {
    transform: scale(1.1) translateY(-2px);
}

#baiwei-about-section .stat-label {
    font-size: 14px;
    color: #111;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

#baiwei-about-section .stat-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

#baiwei-about-section .section-factory { background: #f8f9fa; }

#baiwei-about-section .factory-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

#baiwei-about-section .factory-header h2 {
    font-size: 38px;
    font-weight: 900;
    color: #111;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 20px;
}

#baiwei-about-section .factory-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #f08200;
    border-radius: 2px;
}

#baiwei-about-section .factory-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

#baiwei-about-section .factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#baiwei-about-section .factory-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
}

#baiwei-about-section .factory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-bottom-color: #f08200;
}

#baiwei-about-section .f-img-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eee;
}

#baiwei-about-section .f-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

#baiwei-about-section .factory-card:hover .f-img-box img { transform: scale(1.05); }

#baiwei-about-section .f-content { padding: 30px 25px; }

#baiwei-about-section .f-title {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin: 0 0 15px 0;
}

#baiwei-about-section .f-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

#baiwei-about-section .section-service { background: #fff; }

#baiwei-about-section .service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

#baiwei-about-section .service-intro h3 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: #111;
}

#baiwei-about-section .service-intro p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

#baiwei-about-section .service-btn {
    display: inline-block;
    padding: 15px 35px;
    background: #111;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.3s;
}

#baiwei-about-section .service-btn:hover { background: #f08200; }

#baiwei-about-section .service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

#baiwei-about-section .s-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 8px;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
}

#baiwei-about-section .s-item:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

#baiwei-about-section .s-icon-box {
    width: 48px;
    height: 48px;
    background: #fff4e5;
    color: #f08200;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    transition: all 0.3s ease;
}

#baiwei-about-section .s-item:hover .s-icon-box {
    background: #f08200;
    color: #fff;
    transform: scale(1.1);
}

#baiwei-about-section .s-item h4 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #111;
    transition: color 0.3s ease;
}

#baiwei-about-section .s-item:hover h4 { color: #f08200; }

#baiwei-about-section .s-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    #baiwei-about-section .story-top-row { grid-template-columns: 1fr; gap: 40px; }
    #baiwei-about-section .story-stats-fullwidth { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    #baiwei-about-section .service-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    #baiwei-about-section .factory-grid { grid-template-columns: 1fr; }
    #baiwei-about-section .service-list { grid-template-columns: 1fr; }
    #baiwei-about-section .story-stats-fullwidth { grid-template-columns: 1fr; gap: 15px; }

    #baiwei-about-section .stat-box:hover,
    #baiwei-about-section .s-item:hover {
        transform: none;
        box-shadow: none;
        background: transparent;
    }

    #baiwei-about-section .stat-box:hover::before {
        top: 10px;
        bottom: 10px;
        background: #f08200;
    }

    #baiwei-about-section .stat-box:hover .stat-num,
    #baiwei-about-section .s-item:hover h4 { color: #111; }

    #baiwei-about-section .stat-box:hover .stat-num span { transform: none; }

    #baiwei-about-section .s-item:hover .s-icon-box {
        background: #fff4e5;
        color: #f08200;
        transform: none;
    }
}

/* 发展历程 & 展会：灰底通栏（与 #baiwei-cert-v14 一致，抵消 .about-page-frame 左右 padding） */
.about-page-frame #baiwei-history-section,
.about-page-frame #baiwei-exhi-section {
    margin-left: calc(-1 * var(--frame-safe-x));
    margin-right: calc(-1 * var(--frame-safe-x));
    width: calc(100% + 2 * var(--frame-safe-x));
    max-width: none;
    box-sizing: border-box;
}

/* =========================================================================
   History Section Isolation Domain (#baiwei-history-section)
   ========================================================================= */
#baiwei-history-section .line-shift-wrapper {
    width: 100%;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 30px;
}

#baiwei-history-section .line-shift-top {
    width: 60px;
    height: 1px;
    background: #111;
    animation: shiftRightHistory 4s ease-in-out infinite alternate;
}

#baiwei-history-section .line-shift-bottom {
    width: 60px;
    height: 2px;
    background: #f08200;
    animation: shiftLeftHistory 4s ease-in-out infinite alternate;
}

@keyframes shiftRightHistory {
    0% { transform: translateX(-15px); }
    100% { transform: translateX(15px); }
}

@keyframes shiftLeftHistory {
    0% { transform: translateX(15px); }
    100% { transform: translateX(-15px); }
}

#baiwei-history-section .zigzag-history-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 60px var(--frame-safe-x) 60px;
    box-sizing: border-box;
    background-color: #f5f5f5;
}

#baiwei-history-section .zz-header {
    text-align: center;
    margin-bottom: 80px;
}

#baiwei-history-section .zz-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

#baiwei-history-section .zz-header p {
    font-size: 16px;
    color: #666;
}

#baiwei-history-section .zz-timeline {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
}

#baiwei-history-section .zz-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: #d8d8d8;
    z-index: 1;
    transform: translateY(-50%);
}

#baiwei-history-section .zz-item {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

#baiwei-history-section .zz-dot {
    width: 16px;
    height: 16px;
    background: #f08200;
    border: 4px solid #f5f5f5;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #d0d0d0;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    cursor: default;
}

#baiwei-history-section .zz-content {
    position: absolute;
    width: 160px;
    text-align: center;
    transition: all 0.3s ease;
}

#baiwei-history-section .zz-item.top .zz-content { bottom: 35px; }

#baiwei-history-section .zz-item.bottom .zz-content { top: 35px; }

#baiwei-history-section .zz-year {
    font-size: 22px;
    font-weight: 700;
    color: #f08200;
    margin-bottom: 8px;
    line-height: 1;
}

#baiwei-history-section .zz-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.3;
    margin: 0;
}

#baiwei-history-section .zz-item:hover .zz-dot {
    transform: scale(1.3);
    background: #fff;
    border-color: #f08200;
    box-shadow: 0 0 0 2px #f08200, 0 5px 15px rgba(240, 130, 0, 0.3);
}

#baiwei-history-section .zz-item.top:hover .zz-content { transform: translateY(-5px); }

#baiwei-history-section .zz-item.bottom:hover .zz-content { transform: translateY(5px); }

#baiwei-history-section .zz-item:hover .zz-desc { color: #111; }

@media (max-width: 768px) {
    #baiwei-history-section .zz-header { margin-bottom: 50px; }

    #baiwei-history-section .zz-timeline {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }

    #baiwei-history-section .zz-timeline::before {
        left: 27px;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
        transform: none;
    }

    #baiwei-history-section .zz-item {
        width: 100%;
        justify-content: flex-start;
        margin-bottom: 40px;
    }

    #baiwei-history-section .zz-item:last-child { margin-bottom: 0; }

    #baiwei-history-section .zz-content,
    #baiwei-history-section .zz-item.top .zz-content,
    #baiwei-history-section .zz-item.bottom .zz-content {
        position: static;
        width: auto;
        text-align: left;
        padding-left: 25px;
        margin-top: -6px;
    }
}

/* =========================================================================
   Testing Section Isolation Domain (#baiwei-testing-section)
   ========================================================================= */
#baiwei-testing-section .line-shift-wrapper {
    width: 100%;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 30px;
}

#baiwei-testing-section .line-shift-top {
    width: 60px;
    height: 1px;
    background: #111;
    animation: shiftRightTesting 4s ease-in-out infinite alternate;
}

#baiwei-testing-section .line-shift-bottom {
    width: 60px;
    height: 2px;
    background: #f08200;
    animation: shiftLeftTesting 4s ease-in-out infinite alternate;
}

@keyframes shiftRightTesting {
    0% { transform: translateX(-15px); }
    100% { transform: translateX(15px); }
}

@keyframes shiftLeftTesting {
    0% { transform: translateX(15px); }
    100% { transform: translateX(-15px); }
}

#baiwei-testing-section .monotone-wrapper {
    width: 100%;
    max-width: none;
    margin: 60px 0;
    padding: 0;
    box-sizing: border-box;
}

#baiwei-testing-section .mt-header {
    text-align: center;
    margin-bottom: 40px;
}

#baiwei-testing-section .mt-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

#baiwei-testing-section .mt-header p {
    font-size: 16px;
    color: #666;
}

#baiwei-testing-section .mt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 10px;
}

#baiwei-testing-section .mt-item {
    display: flex;
    flex-direction: column;
}

#baiwei-testing-section .mt-photo {
    width: 100%;
    aspect-ratio: 4 / 4;
    overflow: hidden;
    border-radius: 4px;
    background: #eee;
}

#baiwei-testing-section .mt-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1%);
    opacity: 0.85;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#baiwei-testing-section .mt-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

#baiwei-testing-section .mt-title::before {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #f08200;
    transition: all 0.3s ease;
}

#baiwei-testing-section .mt-item:hover .mt-photo img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

#baiwei-testing-section .mt-item:hover .mt-title { color: #f08200; }

#baiwei-testing-section .mt-item:hover .mt-title::before {
    width: 20px;
    margin-right: 5px;
}

@media (max-width: 1024px) {
    #baiwei-testing-section .mt-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
}

@media (max-width: 768px) {
    #baiwei-testing-section .mt-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 15px; }
    #baiwei-testing-section .mt-photo img { filter: grayscale(0%); opacity: 1; }
}

@media (max-width: 480px) {
    #baiwei-testing-section .mt-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================================
   Exhibition split slider (#baiwei-exhi-section)
   ========================================================================= */
#baiwei-exhi-section .line-shift-wrapper {
    width: 100%;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 30px;
}

#baiwei-exhi-section .line-shift-top {
    width: 60px;
    height: 1px;
    background: #111;
    animation: shiftRightExhi 4s ease-in-out infinite alternate;
}

#baiwei-exhi-section .line-shift-bottom {
    width: 60px;
    height: 2px;
    background: #f08200;
    animation: shiftLeftExhi 4s ease-in-out infinite alternate;
}

@keyframes shiftRightExhi {
    0% { transform: translateX(-15px); }
    100% { transform: translateX(15px); }
}

@keyframes shiftLeftExhi {
    0% { transform: translateX(15px); }
    100% { transform: translateX(-15px); }
}

#baiwei-exhi-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background-color: #f5f5f5;
    padding: 50px var(--frame-safe-x) 60px;
}

#baiwei-exhi-section .split-exhi-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#baiwei-exhi-section .se-header { text-align: center; margin-bottom: 40px; }

#baiwei-exhi-section .se-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

#baiwei-exhi-section .se-header p {
    font-size: 15px;
    color: #666;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.6;
}

#baiwei-exhi-section .se-layout {
    display: flex;
    gap: 45px;
    min-height: 480px;
    height: 480px;
    align-items: stretch;
    min-width: 0;
}

#baiwei-exhi-section .se-visual {
    flex: 0 1 780px;
    width: min(780px, 100%);
    max-width: 100%;
    min-width: 0;
    position: relative;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

#baiwei-exhi-section .se-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
}

#baiwei-exhi-section .se-img.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

#baiwei-exhi-section .se-content {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    padding-right: 20px;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #f08200 rgba(153, 153, 153, 0.5);
}

#baiwei-exhi-section .se-content::-webkit-scrollbar { width: 4px; }

#baiwei-exhi-section .se-content::-webkit-scrollbar-track {
    background: rgba(153, 153, 153, 0.5);
    border-radius: 4px;
}

#baiwei-exhi-section .se-content::-webkit-scrollbar-thumb {
    background: #f08200;
    border-radius: 4px;
}

#baiwei-exhi-section .se-item {
    position: relative;
    padding: 35px 0 35px 35px;
    border-left: 3px solid #999;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.5;
}

#baiwei-exhi-section .se-item:focus-visible {
    outline: 2px solid #f08200;
    outline-offset: 2px;
}

#baiwei-exhi-section .se-item.active {
    opacity: 1;
    border-left-color: #f08200;
    background: linear-gradient(to right, rgba(240, 130, 0, 0.08), transparent);
}

#baiwei-exhi-section .se-date {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #f08200;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: transform 0.4s ease;
}

#baiwei-exhi-section .se-loc {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    margin: 0;
    line-height: 1.3;
    transition: transform 0.4s ease;
}

#baiwei-exhi-section .se-item.active .se-date,
#baiwei-exhi-section .se-item.active .se-loc { transform: translateX(10px); }

@media (max-width: 1024px) {
    #baiwei-exhi-section .se-layout {
        flex-direction: column;
        height: auto;
        min-height: 0;
        gap: 30px;
    }

    #baiwei-exhi-section .se-visual {
        flex: none;
        width: 100%;
        max-width: none;
        height: 400px;
    }

    #baiwei-exhi-section .se-content {
        height: 350px;
        padding-right: 10px;
    }
}

@media (max-width: 768px) {
    #baiwei-exhi-section .se-visual { height: 300px; }

    #baiwei-exhi-section .se-item { padding: 25px 0 25px 20px; }

    #baiwei-exhi-section .se-loc { font-size: 20px; }
}

/* =========================================================================
   Trust / partnerships marquee (#baiwei-trust-section)
   ========================================================================= */
#baiwei-trust-section .line-shift-wrapper {
    width: 100%;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 30px;
}

#baiwei-trust-section .line-shift-top {
    width: 60px;
    height: 1px;
    background: #111;
    animation: shiftRightTrust 4s ease-in-out infinite alternate;
}

#baiwei-trust-section .line-shift-bottom {
    width: 60px;
    height: 2px;
    background: #f08200;
    animation: shiftLeftTrust 4s ease-in-out infinite alternate;
}

@keyframes shiftRightTrust {
    0% { transform: translateX(-15px); }
    100% { transform: translateX(15px); }
}

@keyframes shiftLeftTrust {
    0% { transform: translateX(15px); }
    100% { transform: translateX(-15px); }
}

#baiwei-trust-section .trust-wrapper {
    width: 100%;
    margin: 80px 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
    background: #fff;
}

#baiwei-trust-section .trust-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

#baiwei-trust-section .trust-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: #111;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

#baiwei-trust-section .trust-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

#baiwei-trust-section .marquee-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#baiwei-trust-section .marquee-container::before,
#baiwei-trust-section .marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

#baiwei-trust-section .marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

#baiwei-trust-section .marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

#baiwei-trust-section .marquee-track {
    display: flex;
    width: fit-content;
    gap: 20px;
}

#baiwei-trust-section .track-left {
    animation: scrollLeftTrust 65s linear infinite;
}

#baiwei-trust-section .track-right {
    animation: scrollRightTrust 70s linear infinite;
}

#baiwei-trust-section .marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeftTrust {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRightTrust {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

#baiwei-trust-section .client-photo {
    width: 320px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

#baiwei-trust-section .client-photo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f08200;
    mix-blend-mode: multiply;
    opacity: 0.15;
    z-index: 2;
    transition: all 0.4s ease;
}

#baiwei-trust-section .client-photo:hover::before {
    opacity: 0;
}

#baiwei-trust-section .client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#baiwei-trust-section .client-photo:hover img {
    transform: scale(1.05);
}

#baiwei-trust-section .client-photo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0 3px transparent;
    border-radius: 8px;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

#baiwei-trust-section .client-photo:hover::after {
    box-shadow: inset 0 0 0 3px rgba(240, 130, 0, 0.8);
}

@media (max-width: 768px) {
    #baiwei-trust-section .client-photo { width: 260px; height: 180px; }

    #baiwei-trust-section .marquee-container::before,
    #baiwei-trust-section .marquee-container::after { width: 10%; }
}

@media (prefers-reduced-motion: reduce) {
    #baiwei-trust-section .track-left,
    #baiwei-trust-section .track-right {
        animation: none !important;
        transform: none !important;
    }
}

/* =========================================================================
   Patents & certifications marquee (#baiwei-cert-v14)
   ========================================================================= */

/* 灰底通栏：抵消 about-page-frame 的左右 padding，避免两侧大块白边 */
.about-page-frame #baiwei-cert-v14 {
    margin-left: calc(-1 * var(--frame-safe-x));
    margin-right: calc(-1 * var(--frame-safe-x));
    width: calc(100% + 2 * var(--frame-safe-x));
    max-width: none;
    box-sizing: border-box;
}

#baiwei-cert-v14 .line-shift-wrapper {
    width: 100%;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 30px;
}

#baiwei-cert-v14 .line-shift-top {
    width: 60px;
    height: 1px;
    background: #111;
    animation: shiftRightCertV14 4s ease-in-out infinite alternate;
}

#baiwei-cert-v14 .line-shift-bottom {
    width: 60px;
    height: 2px;
    background: #f08200;
    animation: shiftLeftCertV14 4s ease-in-out infinite alternate;
}

@keyframes shiftRightCertV14 {
    0% { transform: translateX(-15px); }
    100% { transform: translateX(15px); }
}

@keyframes shiftLeftCertV14 {
    0% { transform: translateX(15px); }
    100% { transform: translateX(-15px); }
}

#baiwei-cert-v14 .marquee-wrapper {
    width: 100%;
    background-color: #f5f5f5;
    padding: 80px var(--frame-safe-x) 100px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

#baiwei-cert-v14 .mq-header {
    text-align: center;
    margin-bottom: 50px;
}

#baiwei-cert-v14 .mq-header h2 {
    font-size: 38px;
    font-weight: 900;
    color: #111;
    margin: 0 0 10px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

#baiwei-cert-v14 .mq-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

#baiwei-cert-v14 .mq-container {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
}

#baiwei-cert-v14 .mq-container::before,
#baiwei-cert-v14 .mq-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

#baiwei-cert-v14 .mq-container::before {
    left: 0;
    background: linear-gradient(to right, #f5f5f5 0%, transparent 100%);
}

#baiwei-cert-v14 .mq-container::after {
    right: 0;
    background: linear-gradient(to left, #f5f5f5 0%, transparent 100%);
}

#baiwei-cert-v14 .mq-track {
    display: flex;
    width: max-content;
    animation: marqueeScrollCertV14 25s linear infinite;
    padding: 20px 0;
}

#baiwei-cert-v14 .mq-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScrollCertV14 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

#baiwei-cert-v14 .mq-card {
    width: 280px;
    flex-shrink: 0;
    margin-right: 35px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    aspect-ratio: 280 / 360;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

#baiwei-cert-v14 .mq-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #f08200;
}

#baiwei-cert-v14 .mq-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #fff;
    pointer-events: none;
    transition: transform 0.4s ease;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
}

#baiwei-cert-v14 .mq-card:hover img {
    transform: scale(1.03);
}

#baiwei-cert-v14 .mq-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 40px 15px 15px 15px;
    box-sizing: border-box;
    text-align: center;
    z-index: 2;
}

#baiwei-cert-v14 .mq-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

#baiwei-cert-v14 .mq-card:hover .mq-title {
    color: #f08200;
}

@media (max-width: 768px) {
    #baiwei-cert-v14 .marquee-wrapper {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    #baiwei-cert-v14 .mq-header h2 { font-size: 32px; }

    #baiwei-cert-v14 .mq-card {
        width: 240px;
        margin-right: 20px;
        aspect-ratio: 240 / 310;
    }

    #baiwei-cert-v14 .mq-container::before,
    #baiwei-cert-v14 .mq-container::after { width: 60px; }
}

@media (prefers-reduced-motion: reduce) {
    #baiwei-cert-v14 .mq-track {
        animation: none !important;
        transform: none !important;
    }
}
