/* ================================================
   Business Slider Widget — business-slider.css
   ================================================ */

.bs-section {
    position: relative;
    /* pin 時需要讓 section 本身有高度撐住畫面 */
    min-height: 100vh;
}

/* ── 區塊標題 ── */
.bs-heading-wrap {
    padding: 80px 5% 40px;
}

.bs-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    line-height: 1.1;
}

.bs-heading .f-eng {
    display: block;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bs-heading .f-jp {
    display: block;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

/* ── pin 容器：GSAP pin 作用在這裡 ── */
.bs-pin-container {
    position: relative;
    width: 100%;
}

/* ── 裁切視窗，高度撐滿 slider 內容 ── */
.bs-slider-wrap {
    width: 100%;
    overflow: hidden;
}

/* ── Slider：寬度 = 100% × item 數，GSAP 控制 xPercent ── */
.bs-slider {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    will-change: transform;
}

/* ── 單一 Item：每個 100vw，撐滿整個可視區 ── */
.bs-item {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
}

.bs-flex {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 0;
}

/* ── 圖片區 ── */
.bs-img-wrap {
    /* flex: 0 0 64.179%;
    width: 64.179%; */
    overflow: hidden;
}

.bs-img {
    display: block;
    max-width: 100%;
}

/* ── 文字區 ── */
.bs-txt-area {
    flex: 1;
    padding: 60px 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

/* ── Counter（01 ── 03） ── */
.bs-counter {
    display: flex;
    align-items: center;
    font-weight: 300;
    font-size: 0.86rem;
    letter-spacing: 0.05em;
    color: #9b9b9b;
    gap: 10px;
}

.bs-count {
    font-size: 0.86rem;
    font-weight: 300;
}

.bs-bar {
    display: block;
    width: 60px;
    height: 1px;
    background: #9b9b9b;
    position: relative;
    overflow: hidden;
}

.bs-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: #9b9b9b;
    transition: width 0.6s ease;
}

/* ── 標號 ── */
.bs-no {
    width: 48px;
    height: 24px;
    border-radius: 30px;
    background-color: #3296fa;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1.43rem;
    color: #fff;
}

/* ── 標題 ── */
.bs-item-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bs-item-title .f-eng {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

/* ── 說明 ── */
.bs-item-desc {
    max-width: 460px;
}

.bs-item-desc p {
    margin: 0;
    line-height: 1.8;
    font-size: clamp(0.875rem, 1vw, 1rem);
}

/* ── 按鈕 ── */
.bs-btn-wrap {
    margin-top: 8px;
}

.bs-btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}

.bs-btn-text {
    display: block;
    position: relative;
    overflow: hidden;
    height: 1.2em;
}

.bs-hover-top,
.bs-hover-bottom {
    display: block;
    transition: transform 0.35s ease;
}

.bs-hover-top {
    transform: translateY(-100%);
}

.bs-hover-bottom {
    transform: translateY(0%);
    position: absolute;
    top: 0;
    left: 0;
}

.bs-btn:hover .bs-hover-top {
    transform: translateY(0%);
}

.bs-btn:hover .bs-hover-bottom {
    transform: translateY(100%);
}

/* ── 響應式 ── */
@media (max-width: 768px) {
    .bs-heading-wrap {
        padding: 60px 5% 30px;
    }

    .bs-flex {
        flex-direction: column;
    }

    .bs-img-wrap {
        flex: 0 0 50%;
        width: 100%;
        height: 300px;
    }

    .bs-txt-area {
        padding: 30px 5%;
        gap: 16px;
    }

    .bs-item {
        flex: 0 0 100vw;
        width: 100vw;
    }
}
