/* ==================================================
   HEADER
================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, .92);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(0, 0, 0, .07);
}


/* ==================================================
   HEADER INNER
================================================== */

.header-inner {
    max-width: 1320px;
    height: 78px;

    margin: 0 auto;
    padding: 0 28px;

    display: flex;
    align-items: center;
}


/* ==================================================
   LOGO
================================================== */

.site-brand {
    display: flex;
    align-items: baseline;
    gap: 5px;

    color: #111;
    text-decoration: none;

    letter-spacing: -.5px;
}

.brand-main {
    font-size: 27px;
    font-weight: 800;
}

.brand-sub {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
}


/* ==================================================
   PC NAVIGATION
================================================== */

.main-nav {
    display: flex;
    gap: 34px;

    margin-left: auto;
    margin-right: 38px;
}

.main-nav a,
.login-link {
    position: relative;

    color: #444;
    text-decoration: none;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.2px;

    transition: color .2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: #111;

    transition: width .25s ease;
}

.main-nav a:hover,
.login-link:hover {
    color: #000;
}

.main-nav a:hover::after {
    width: 100%;
}


/* ==================================================
   HEADER UTIL
================================================== */

.header-util {
    display: flex;
    align-items: center;
}


/* 모바일 LOGIN - PC에서는 숨김 */

.mobile-login {
    display: none;
}


/* 햄버거 - PC에서는 숨김 */

.mobile-menu-btn {
    display: none;

    width: 28px;
    height: 28px;

    padding: 3px;

    border: 0;
    background: none;

    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;

    width: 22px;
    height: 1px;

    margin: 6px 0;

    background: #111;

    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .header-inner {
        position: relative;

        height: 66px;
        padding: 0 20px;
    }


    /* 로고 */

    .brand-main {
        font-size: 24px;
    }


    /* 오른쪽 햄버거 영역 */

    .header-util {
        margin-left: auto;
    }


    /* PC LOGIN 숨김 */

    .login-link {
        display: none;
    }


    /* 햄버거 표시 */

    .mobile-menu-btn {
        display: block;
    }


    /* ------------------------------
       MOBILE MENU
    ------------------------------ */

    .main-nav {
        position: absolute;

        top: 66px;
        left: 0;

        width: 100%;
        box-sizing: border-box;

        display: none;
        flex-direction: column;

        gap: 0;

        margin: 0;
        padding: 12px 20px 20px;

        background: rgba(255, 255, 255, .97);

        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;

        box-shadow: 0 12px 25px rgba(0, 0, 0, .06);
    }


    /* JS가 is-open을 붙이면 메뉴 표시 */

    .main-nav.is-open {
        display: flex;
    }


    .main-nav a {
        display: block;

        padding: 15px 4px;

        font-size: 13px;
        letter-spacing: 1.4px;

        border-bottom: 1px solid #eee;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }


    /* 모바일 LOGIN 표시 */

    .mobile-login {
        display: block;
    }


    /* ------------------------------
       HAMBURGER → X
    ------------------------------ */

    .mobile-menu-btn.is-open span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .mobile-menu-btn.is-open span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

}



.site-footer {
    margin-top: 120px;

    padding: 70px 28px 30px;

    border-top: 1px solid #e8e8e8;

    background: #fafafa;
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 6px;

    margin-bottom: 16px;
}

.footer-logo strong {
    font-size: 25px;
    font-weight: 800;
}

.footer-logo span {
    font-size: 12px;
    letter-spacing: 3px;
}

.footer-description {
    margin: 0;

    color: #888;

    font-size: 13px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 26px;
}

.footer-links a {
    color: #777;
    text-decoration: none;

    font-size: 11px;
    letter-spacing: 1px;

    transition: color .2s ease;
}

.footer-links a:hover {
    color: #111;
}

.footer-bottom {
    max-width: 1320px;

    margin: 55px auto 0;
    padding-top: 22px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid #e8e8e8;

    color: #aaa;
    font-size: 11px;
}

.footer-credit {
    letter-spacing: .3px;
}


@media (max-width: 768px) {

    .site-footer {
        margin-top: 80px;
        padding: 50px 20px 25px;
    }

    .footer-inner {
        display: block;
    }

    .footer-links {
        margin-top: 30px;
        gap: 20px;
    }

    .footer-bottom {
        margin-top: 40px;

        flex-direction: column;
        gap: 8px;
    }

}
