@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ═══════════════════════════════════════
   Reset & Base
═══════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    min-height: 100vh;
}

/* ═══════════════════════════════════════
   Wrap
═══════════════════════════════════════ */
.wrap-sorcing {
    min-width: var(--min-width);
    min-height: var(--min-height);
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/bg-opensorcing.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ═══════════════════════════════════════
   Card
═══════════════════════════════════════ */
.card {
    width: clamp(840px, 45vw, 90vw);
    height: clamp(520px, 58vh, 90vh);
    background-color: #ffffff;
    position: relative;
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-8%);
}

/* ═══════════════════════════════════════
   Logo
═══════════════════════════════════════ */
.logo {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 10px;
}

.logo img {
    display: inline-block;
    height: 24px;
    width: auto;
}

/* ===================================
       Language Selector Component - Common
       =================================== */
.language-selector {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-right: 15px;
}

/* Select Box (Trigger Button) */
.language-selector__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 78px;
    height: 30px;
    padding-left: 6px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    box-sizing: border-box;
    background: #FFF;
    padding-right: 5px;
}
.language-selector__trigger::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url(../img/ico_lang_select.svg) no-repeat center;
    margin-right: -2px;
}

.language-selector__trigger:hover {
    background-color: #e0e0e0;
}
.language-selector__trigger[aria-expanded="true"] {
    background-color: #FFFFFF;
}
.language-selector__trigger::after {
    content: "";
    width: 16px;
    height: 16px;
    background: url(../img/icon-dropdown-arrow.svg) no-repeat center;
    transition: transform 0.2s;
}
.language-selector__trigger[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Trigger Text */
.language-selector__text {
    font-size: 12px;
    font-weight: 700;
    color: #1e1e1e;
    letter-spacing: -0.14px;
    line-height: normal;
    text-align: right;
}


/* Dropdown List */
.language-selector__dropdown {
    position: absolute;
    top: calc(100% + -2px);
    right: 0;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    background-color: #FFF;
    border: 1px solid #c1c1c1;
    border-radius: 8px;
    z-index: 100;
}

.language-selector__dropdown.is-open {
    display: flex;
}

/* List Item */
.language-selector__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    min-height: 20px;
    padding: 4px;
    background-color: #FFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.language-selector__item:hover {
    background-color: #e8e8e8;
}

.language-selector__item-text {
    font-size: 12px;
    font-weight: 500;
    color: #1e1e1e;
    text-align: right;
    line-height: normal;
}

/* ═══════════════════════════════════════
   contents
═══════════════════════════════════════ */
.section-ct {
    text-align: center;
}

.title {
    font-size: 38px;
    font-weight: 700;
    color: #000;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.illustration {
    margin: 0 auto 24px;
    width: 220px;
}

.illustration img {
    width: 100%;
    height: auto;
    display: block;
}

.description {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: #444;
    margin-bottom: 14px;
    word-break: keep-all;
}

.sub-description {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 32px;
    line-height: 1.8;
    word-break: keep-all;
}

/* ═══════════════════════════════════════
   Button Group
═══════════════════════════════════════ */
.btn-group {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 24px;
    border: none;
    cursor: pointer;
    text-align: center;/* 26.03.16 left → center */
    text-decoration: none;
    flex: 1;
    min-width: 262px;
    max-width: 300px;
    height: 68px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.btn-dx {
    background-color: #0057FF;
    color: #fff;
}

.btn-ds {
    background-color: #1E227E;
    color: #fff;
}

/* 호버 시 그림자 + 살짝 상승 효과 */
.btn:hover {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.30);
    transform: translateY(-3px);
}

.btn-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;/* 26.03.16 add */
}

.btn-text .btn-main {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1;
}

.btn-text .btn-sub {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.88;
}

.btn-icon {
    flex-shrink: 0;
}

.btn-icon img {
    width: 40px;
    height: 40px;
    display: block;
}

/* ═══════════════════════════════════════
   Responsive — Desktop 
═══════════════════════════════════════ */
@media (min-width: 1920px) {
    .logo {
        margin-bottom: 80px;
    }
    .title {
      margin-bottom: 60px;  
    }
    .btn-group {
        gap: 80px;
    }
    .sub-description {
      margin-bottom: 8%;/* 26.03.16 12→8 */  
    }
}

/* ═══════════════════════════════════════
   Responsive — Tablet (≤ 1024px)
═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .card {
        padding: 44px 56px 52px;
    }

    .title {
        font-size: 32px;
    }

    .btn {
        max-width: 280px;
    }
}

/* ═══════════════════════════════════════
   Responsive — Tablet (≤ 768px)
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .wrap-sorcing {
        padding: 40px 20px;
        background-image: url('../img/bg_office.jpg');
    }

    .card {
        padding: 40px 36px 48px;
        height: 692px;
        justify-content: center;
        transform: translateY(0%);
    }

    .title {
        font-size: 26px;
    }

    .illustration {
        width: 160px;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .btn {
        max-width: 100%;
        min-width: unset;
        width: 100%;
        flex: unset;
    }
}

/* ═══════════════════════════════════════
   Responsive — Mobile (≤ 480px)
═══════════════════════════════════════ */
@media (max-width: 480px) {
    .wrap-sorcing {
        padding: 30px 16px;
    }

    .card {
        padding: 32px 24px 40px;
    }

    .logo img {
        height: 20px;
    }

    .title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .illustration {
        width: 130px;
        margin-bottom: 20px;
    }

    .description,
    .sub-description {
        font-size: 13.5px;
    }

    .sub-description {
        margin-bottom: 24px;
    }

    .btn {
        height: auto;
        padding: 14px 20px;
    }

    .btn-text .btn-main {
        font-size: 14px;
    }

    .btn-text .btn-sub {
        font-size: 11px;
    }

    .btn-icon img {
        width: 32px;
        height: 32px;
    }
}
