/* ============================================
   #hubiz-excellence: 옵토링크 스타일 - 고급스러운 유리 질감 지그재그
   ============================================ */

#hubiz-excellence.hubiz-excellence {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 80px 50px;
    position: relative;
    box-sizing: border-box;
}

.hubiz-excellence__wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Left: .text-area - 화면 정중앙 고정 (4:6 비율) */
.hubiz-excellence__left.text-area {
    width: 40%;
    flex: 0 0 40%;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    padding-right: clamp(24px, 4vw, 60px);
    box-sizing: border-box;
}

.hubiz-excellence__title {
    font-family: "Paperozi", "Pretendard Variable", sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #000;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.hubiz-excellence__subtitle {
    font-family: "Paperozi", "Pretendard Variable", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(0, 0, 0, 0.75);
    margin: 0;
    line-height: 1.6;
}

/* Right: .card-area - 4:6 비율, 카드 중앙정렬 */
.hubiz-excellence__right.card-area {
    width: 60%;
    flex: 0 0 45%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(2rem, 3vw, 3rem);
    padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 10vw, 8rem);
    box-sizing: border-box;
}

/* Zigzag Cards - 정사각형 & 유리 질감 (다크/라이트 동일) */
.hubiz-excellence__card {
    width: 400px;
    min-height: 400px;
    max-width: 100%;
    padding: clamp(32px, 4vw, 48px);
    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.hubiz-excellence__card .hubiz-excellence__thumb {
    order: 3;
    margin-top: auto;
    margin-bottom: 0;
    align-self: flex-end;
}

.hubiz-excellence__card .hubiz-excellence__card-desc {
    order: 1;
}

.hubiz-excellence__card .hubiz-excellence__card-title {
    order: 2;
}

.hubiz-excellence__card .hubiz-excellence__thumb img {
    object-position: right bottom;
}

/* PC: 홀수 왼쪽 · 짝수 오른쪽 (겹침 없음) */
.hubiz-excellence__card--1,
.hubiz-excellence__card--3,
.hubiz-excellence__card--5 {
    align-self: flex-start;
}

.hubiz-excellence__card--2,
.hubiz-excellence__card--4 {
    align-self: flex-end;
}

.hubiz-excellence__thumb {
    display: block;
    width: 100%;
    max-width: 180px;
    height: 140px;
    margin-bottom: 1rem;
}

.hubiz-excellence__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
}

.hubiz-excellence__number {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #ff6b00;
    margin-bottom: 0.75rem;
}

.hubiz-excellence__card-desc {
    font-family: "Paperozi", "Pretendard Variable", sans-serif;
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    color: rgba(0, 0, 0, 0.6);
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.hubiz-excellence__card-title {
    font-family: "Paperozi", "Pretendard Variable", sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.hubiz-excellence__card-title-line {
    white-space: nowrap;
}

/* Mobile - 타이틀 위, 카드 세로 한 줄, 중앙배열·가득참 */
@media (max-width: 768px) {
    #hubiz-excellence.hubiz-excellence {
        width: 100%;
        max-width: 100%;
        padding: 60px 24px;
    }

    .hubiz-excellence__wrap {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }

    .hubiz-excellence__left.text-area {
        width: 100%;
        flex: none;
        padding: 0 0 2rem;
        justify-content: flex-start;
    }

    .hubiz-excellence__title {
        font-size: clamp(1.5rem, 4.5vw + 0.8rem, 1.875rem);
    }

    .hubiz-excellence__subtitle {
        font-size: clamp(0.9375rem, 2vw + 0.5rem, 1.0625rem);
    }

    .hubiz-excellence__right.card-area {
        width: 100%;
        flex: none;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0;
    }

    .hubiz-excellence__card--1,
    .hubiz-excellence__card--2,
    .hubiz-excellence__card--3,
    .hubiz-excellence__card--4,
    .hubiz-excellence__card--5 {
        align-self: center !important;
    }

    .hubiz-excellence__card {
        width: 100%;
        max-width: 400px;
        flex-shrink: 0;
        min-height: auto;
        align-self: center !important;
        margin-top: 0 !important;
    }

    .hubiz-excellence__card--2,
    .hubiz-excellence__card--4,
    .hubiz-excellence__card--5 {
        margin-top: 0 !important;
    }

    .hubiz-excellence__thumb {
        max-width: 120px;
        height: 80px;
    }
}
