/* =========================================================
   PB BRAND BACKGROUND  (LAZY VERSION)
   ========================================================= */

.bg-pb-brand {
    position: relative;
    overflow: hidden;
    background-color: #0f1115;
    min-height: 60vh;
    display: flex;
    align-items: center;

    /* 只保留光暈，不包含圖片 */
    background-image:
        radial-gradient(1000px 500px at 20% 30%, rgba(225,17,26,0.10), rgba(0,0,0,0) 60%),
        radial-gradient(800px 400px at 80% 70%, rgba(59,130,246,0.06), rgba(0,0,0,0) 60%);

    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
    background-size: auto, auto;
}

/* lazy 圖片由 JS 塞進來 */
.bg-lazy {
    background-size: cover;
    background-position: 75% 50%;
    background-repeat: no-repeat;
}

/* 文字層 */
.bg-pb-brand .container {
    position: relative;
    z-index: 3;
    text-shadow:
        0 2px 6px rgba(0,0,0,0.9),
        0 8px 24px rgba(0,0,0,0.6);
}

/* 漸層遮罩 */
.bg-pb-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        to bottom,
        rgba(15,17,21,0.85) 0%,
        rgba(15,17,21,0.65) 40%,
        rgba(15,17,21,0.35) 70%,
        rgba(15,17,21,0.10) 100%
    );
}

/* 工程線條層 */
.bg-pb-brand::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent 120px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.02) 0px,
            rgba(255,255,255,0.02) 1px,
            transparent 1px,
            transparent 110px
        );

    opacity: 0.15;
    pointer-events: none;
}