@charset "utf-8";

/* 굿-Job.Ai FOOTER 레이아웃 */
.gj-footer {
    margin-top: 80px;
    background: #f8fafc;
    color: #1e293b;
    font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    border-top: 1px solid #e5e7eb;
}

/* ── 공통 래퍼 / 밴드 구분선 ─────────────────── */
.gj-footer__band { width: 100%; }
.gj-footer__band + .gj-footer__band { border-top: 1px solid #e5e7eb; background: #f1f5f9; }

.gj-footer__wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

/* 1. MAIN 밴드 (로고+슬로건 | 메뉴 3컬럼) */
.gj-footer__band--main .gj-footer__wrap {
    padding-top: 60px;
    padding-bottom: 60px;
}

.gj-footer__main {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

/* 좌측: 로고 + 슬로건 */
.gj-footer__intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 420px;
}

.gj-footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Aggravo', sans-serif;
    font-size: 2.4rem;
    font-weight: 500;
    color: #111827;
    letter-spacing: -0.02em;
    line-height: 1;
}

.gj-footer__logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.gj-footer__logo sup {
    font-size: 0.85rem;
    font-weight: 500;
    color: #2785ff;
    vertical-align: super;
    margin-left: 2px;
}

.gj-footer__headline {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.65;
    color: #475569;
    letter-spacing: -0.01em;
}
.gj-footer__headline span {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 1.08em;
    letter-spacing: -0.015em;
}

/* 우측: 메뉴 3컬럼 */
.gj-footer__menus {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.gj-footer__col h4 {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gj-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gj-footer__col a {
    position: relative;
    font-size: 1.05rem;
    color: #64748b;
    transition: color 0.2s ease;
    font-weight: 500;
}

.gj-footer__col a:hover { color: #2785ff; }

/* BETA 배지 (모의면접 메뉴) */
.gj-footer .h--prog__item-text {
    position: absolute;
    top: 50%;
    left: 65px;
    transform: translateY(-50%);
}
.gj-footer .prog__beta { font: 900 .6rem/1 Pretendard, sans-serif; }
.gj-footer .h--prog__beta { padding: 4px 8px; }

/* 2. POLICY 밴드 (정책 링크 | Family Site) */
.gj-footer__band--policy { background: #f1f5f9; }

.gj-footer__band--policy .gj-footer__wrap {
    padding-top: 18px;
    padding-bottom: 18px;
}

.gj-footer__policy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gj-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 28px;
}

.gj-footer__links a {
    font-size: 1.05rem;
    color: #475569;
    transition: color 0.2s ease;
}

.gj-footer__links a strong {
    font-weight: 700;
    color: #0f172a;
}

.gj-footer__links a:hover,
.gj-footer__links a:hover strong { color: #2785ff; }

/* Family Site 드롭다운: 회색 캡슐 + 그라디언트 원형 화살표 */
.gj-footer__family {
    position: relative;
    display: inline-block;
}

.gj-footer__family-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 6px 6px 22px;
    background: #fff;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gj-footer__family-toggle:hover { background: #f8fafc; }

.gj-footer__family-label {
    min-width: 110px;
    text-align: left;
	transition: transform 0.25s ease
}
.gj-footer__family-label:hover { color: #3b82f6; }

.gj-footer__family-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: #fff;
    transition: transform 0.25s ease, filter 0.2s ease;
}

.gj-footer__family-toggle:hover .gj-footer__family-icon { filter: brightness(0.92); }

.gj-footer__family-icon svg {
    width: 15px;
    height: 15px;
}

.gj-footer__family.is-open .gj-footer__family-icon { transform: rotate(180deg); }

/* 드롭다운 리스트 (버튼 위로 펼침) */
.gj-footer__family-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 20;
}

.gj-footer__family.is-open .gj-footer__family-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gj-footer__family-list a {
    display: block;
    padding: 10px 22px;
    font-size: 1rem;
    font-weight: 500;
    color: #334155;
    transition: background 0.15s ease, color 0.15s ease;
}

.gj-footer__family-list a:hover {
    background: #f8fafc;
    color: #2785ff;
}

/* 3. BOTTOM 밴드 (기업정보 + 주소 / 저작권 / RISE) */
.gj-footer__band--bottom { background: #e8edf3; }

.gj-footer__band--bottom .gj-footer__wrap {
    padding-top: 28px;
    padding-bottom: 28px;
}

.gj-footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    row-gap: 24px;
    column-gap: 24px;
}

.gj-footer__info { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.gj-footer__rise { grid-column: 1; }
.gj-footer__copy { grid-column: 2; justify-self: end; align-self: center; }

/* 대표 · 사업자등록번호 한 줄 */
.gj-footer__biz {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    font-size: 1rem;
    color: #64748b;
}

.gj-footer__biz li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.gj-footer__biz li + li::before {
    content: '';
    position: absolute;
    left: -13px;
    top: 50%;
    width: 1px;
    height: 11px;
    background: #cbd5e1;
    transform: translateY(-50%);
}

.gj-footer__biz strong {
    color: #334155;
    font-weight: 600;
}

/* 주소 3개 리스트 */
.gj-footer__addr {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 28px;
    font-size: 1rem;
    line-height: 1.65;
    color: #94a3b8;
}

.gj-footer__addr-row {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.gj-footer__addr-row dt {
    font-weight: 600;
    color: #334155;
}

.gj-footer__addr-row dd {
    margin: 0;
    color: #64748b;
}

.gj-footer__copy {
    margin: 0;
    font-size: 1rem;
    color: #94a3b8;
    letter-spacing: 0.02em;
    font-weight: 500;
}

.gj-footer__rise {
    margin: 0;
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.55;
    letter-spacing: 0.01em;
}

/* 반응형: 태블릿 */
@media (max-width: 1024px) {
    .gj-footer__wrap {
        padding-left: 24px;
        padding-right: 24px;
    }

    .gj-footer__band--main .gj-footer__wrap {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .gj-footer__main {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .gj-footer__intro { max-width: none; }

    .gj-footer__logo { font-size: 2.1rem; }
    .gj-footer__logo-img { width: 40px; height: 40px; }

    .gj-footer__menus { gap: 36px; }

    .gj-footer__addr { gap: 4px 20px; }
}

@media (max-width: 1024px) {

}

/* 반응형: 모바일 */
@media (max-width: 578px) {
    .gj-footer { margin-top: 56px; }

    .gj-footer__wrap {
        padding-left: 18px;
        padding-right: 18px;
    }

    .gj-footer__band--main .gj-footer__wrap {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .gj-footer__band--policy .gj-footer__wrap {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .gj-footer__band--bottom .gj-footer__wrap {
        padding-top: 22px;
        padding-bottom: 28px;
    }

    .gj-footer__main { gap: 32px; }

    .gj-footer__intro { gap: 14px; }

    .gj-footer__logo { font-size: 1.75rem; }
    .gj-footer__logo-img { width: 36px; height: 36px; }

    .gj-footer__headline { font-size: 0.95rem; }

    .gj-footer__menus {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .gj-footer__col h4 {
        font-size: 0.92rem;
        margin-bottom: 12px;
    }

    .gj-footer__col ul { gap: 7px; }
    .gj-footer__col a { font-size: 0.9rem; }

    .gj-footer__policy {
        align-items: flex-start;
        gap: 14px;
    }
    
    .gj-footer__links { 
        gap: 18px; 
        align-items: center;
        height: 40px;
    }
    .gj-footer__links a { font-size: 0.95rem; }

    .gj-footer__family-toggle {
        padding: 5px 5px 5px 18px;
        font-size: 0.9rem;
    }
    .gj-footer__family-label { min-width: 100px; }
    .gj-footer__family-icon { width: 30px; height: 30px; }
    .gj-footer__family-icon svg { width: 13px; height: 13px; }
    .gj-footer__family-list a {
        padding: 9px 18px;
        font-size: 0.88rem;
    }

    .gj-footer__bottom {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .gj-footer__rise,
    .gj-footer__copy { grid-column: 1; justify-self: start; }

    .gj-footer__biz {
        font-size: 0.95rem;
        gap: 6px 20px;
    }

    .gj-footer__biz li + li::before { left: -11px; }

    .gj-footer__addr {
        flex-direction: column;
        gap: 4px;
        font-size: 0.9rem;
    }

    .gj-footer__copy { font-size: 0.88rem; }
    .gj-footer__rise { font-size: 0.88rem; }
}
