@charset "utf-8";

/* =========================================================
   FOOTER (MLK파트너스)
   - 모바일 퍼스트 / 색 · 글꼴 변수는 reset.css :root 사용
========================================================= */
.site-footer {
    background: var(--bs-navy);
    color: var(--bs-foot-value);
    font-size: 1.5rem;
    line-height: 1.75;
    letter-spacing: -0.02em;
}
.site-footer a:focus-visible {
    outline: 2px solid var(--bs-white);
    outline-offset: 3px;
}
.site-footer__inner {
    max-width: 192rem;
    margin: 0 auto;
    padding: 5rem 2rem 6rem;
}

/* ---------- 회사 정보 ---------- */
.site-footer__top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 3.6rem;
}
.site-footer__list {
    margin: 0;
}
.site-footer__row {
    display: flex;
    gap: 1.2rem;
}
.site-footer__label {
    flex-shrink: 0;
    width: 6rem;
    color: var(--bs-foot-label);
    font-weight: 300;
}
.site-footer__list--biz .site-footer__label {
    width: 11rem;
}
.site-footer__value {
    margin: 0;
    font-weight: 300;
    word-break: keep-all;
}
.site-footer__value a {
    color: inherit;
    transition: color 0.2s;
}
.site-footer__value a:hover {
    color: var(--bs-white);
}

/* ---------- 하단 (저작권 · 약관) ---------- */
.site-footer__bottom {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.6rem;
    padding-top: 2.4rem;
    border-top: 1px solid var(--bs-foot-line);
}
.site-footer__copy {
    margin: 0;
    color: var(--bs-foot-copy);
    font-family: var(--bs-font-gmarket);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0;
}
.site-footer__util {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 2.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-footer__util a {
    color: var(--bs-foot-label);
    font-weight: 300;
    transition: color 0.2s;
}
.site-footer__util a:hover {
    color: var(--bs-white);
}
.site-footer__util strong {
    font-weight: 500;
}

/* ---------- 맨 위로 버튼 (common.js: 스크롤 시 .fixed) ---------- */
.to-top-btn {
    position: fixed;
    right: 2rem;
    bottom: -10rem;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 0;
    transition: bottom 0.4s, opacity 0.4s, background-color 0.2s;
}
.to-top-btn.fixed {
    bottom: 4rem;
    opacity: 1;
}
.to-top-btn:hover {
    background: var(--bs-navy);
    color: var(--bs-white);
}

/* =========================================================
   반응형 (모바일 퍼스트)
========================================================= */
@media all and (min-width: 768px) {
    .site-footer__inner {
        padding: 6rem 3rem 7rem;
    }
    .site-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 3.4rem;
    }
}

@media all and (min-width: 1024px) {
    .site-footer {
        font-size: 1.9rem;
    }
    .site-footer__top {
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
        padding-bottom: 5.5rem;
    }
    .site-footer__label {
        width: 7.5rem;
    }
    .site-footer__list--biz .site-footer__label {
        width: 13.3rem;
    }
    .site-footer__copy {
        font-size: 1.7rem;
    }
    .site-footer__util {
        gap: 3.3rem;
    }
}

@media all and (min-width: 1320px) {
    .site-footer__inner {
        padding: 7.8rem 5.9rem 10.6rem;
    }
}
