:root {
    --exito-ink: #f5f0e8;
    --exito-muted: rgba(245, 240, 232, .68);
    --exito-line: rgba(245, 240, 232, .14);
    --exito-dark: #07101a;
    --exito-panel: #101924;
    --exito-accent: #d98762;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--exito-dark);
    color: var(--exito-ink);
    font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    letter-spacing: 0;
}

body.is-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper,
#container_wr,
#container {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
}

#container {
    float: none;
}

#skip_to_container a {
    position: fixed;
    top: -60px;
    left: 20px;
    z-index: 10000;
    padding: 10px 14px;
    background: #fff;
    color: #111;
}

#skip_to_container a:focus {
    top: 20px;
}

#hd_login_msg {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(7,16,26,.78);
    color: rgba(255,255,255,.72);
    font-size: 12px;
    backdrop-filter: blur(16px);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(7,16,26,.82), rgba(7,16,26,.54));
    color: #fff;
    backdrop-filter: blur(18px);
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    border-color: rgba(217,135,98,.16);
    background: rgba(8, 17, 28, .9);
    box-shadow: 0 18px 60px rgba(0,0,0,.2);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 28px;
    width: min(1440px, calc(100% - 72px));
    height: 76px;
    margin: 0 auto;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 92px;
}

.site-logo img {
    display: block;
    width: 82px;
    height: auto;
}

.site-nav {
    justify-self: center;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__item {
    position: relative;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    height: 76px;
    padding: 0 17px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    font-weight: 780;
    letter-spacing: .02em;
    transition: color .2s ease;
}

.site-nav__item:hover .site-nav__link,
.site-nav__link:focus {
    color: #fff;
}

.site-nav__sub {
    position: absolute;
    top: 68px;
    left: 50%;
    min-width: 190px;
    margin: 0;
    padding: 10px;
    list-style: none;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(13,24,37,.92);
    box-shadow: 0 28px 70px rgba(0,0,0,.35);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease;
    backdrop-filter: blur(18px);
}

.site-nav__item:hover .site-nav__sub,
.site-nav__item:focus-within .site-nav__sub {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.site-nav__sub a {
    display: block;
    padding: 11px 12px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 650;
}

.site-nav__sub a:hover,
.site-nav__sub a:focus {
    color: var(--exito-accent);
}

.site-header__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.site-header__contact:hover {
    border-color: rgba(217,135,98,.65);
    color: var(--exito-accent);
}

.site-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.04);
    color: #fff;
    cursor: pointer;
}

.site-menu-button i {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
}

.site-mobile-panel,
.site-mobile-backdrop {
    display: none;
}

.site-context-nav {
    position: relative;
    z-index: 40;
    padding-top: 76px;
    background: rgba(8,17,28,.96);
    border-bottom: 1px solid rgba(245,240,232,.1);
}

.site-context-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(1440px, calc(100% - 72px));
    min-height: 58px;
    margin: 0 auto;
}

.site-breadcrumb ol,
.site-subnav ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: rgba(245,240,232,.58);
    font-size: 12px;
    font-weight: 720;
    letter-spacing: .02em;
}

.site-breadcrumb li + li:before {
    content: "/";
    margin: 0 10px;
    color: rgba(245,240,232,.26);
}

.site-breadcrumb a:hover {
    color: #fffaf0;
}

.site-subnav ul {
    gap: 6px;
}

.site-subnav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(245,240,232,.12);
    color: rgba(245,240,232,.62);
    font-size: 12px;
    font-weight: 760;
}

.site-subnav a:hover,
.site-subnav a[aria-current="page"] {
    border-color: rgba(217,135,98,.55);
    color: #fffaf0;
    background: rgba(217,135,98,.12);
}

.site-footer {
    position: relative;
    background: #080e15;
    color: rgba(255,255,255,.88);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    gap: 34px;
    width: min(1440px, calc(100% - 72px));
    margin: 0 auto;
    padding: 54px 0;
    border-top: 1px solid rgba(255,255,255,.1);
}

.site-footer__brand strong {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 24px;
}

.site-footer p {
    margin: 0 0 8px;
    color: rgba(255,255,255,.82);
    line-height: 1.75;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 9px;
    text-align: right;
}

.site-footer__links a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
}

.site-footer__links a:hover {
    color: #ffb099;
}

.site-context-nav {
    border-top: 1px solid rgba(245, 240, 232, .08);
    border-bottom: 1px solid rgba(245, 240, 232, .12);
    background:
        linear-gradient(180deg, rgba(255, 176, 153, .08), rgba(7, 16, 26, .92)),
        #07101a;
    color: rgba(245, 240, 232, .82);
}

.site-context-nav__inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 0;
}

.site-breadcrumb ol,
.site-subnav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-breadcrumb {
    font-size: 13px;
}

.site-breadcrumb a,
.site-subnav a {
    color: rgba(245, 240, 232, .74);
    text-decoration: none;
}

.site-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: rgba(245, 240, 232, .32);
}

.site-breadcrumb li[aria-current="page"],
.site-breadcrumb a:hover,
.site-subnav a:hover,
.site-subnav a[aria-current="page"] {
    color: #fffaf0;
}

.site-subnav {
    margin-top: 12px;
}

.site-subnav a {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(245, 240, 232, .12);
    background: rgba(255, 255, 255, .045);
    font-size: 13px;
    font-weight: 760;
}

.site-subnav a[aria-current="page"] {
    border-color: rgba(255, 176, 153, .55);
    background: rgba(255, 176, 153, .16);
}

.site-top-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(9,17,27,.8);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(16px);
}

@media (max-width: 1024px) {
    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        width: min(100% - 32px, 720px);
        height: 66px;
        gap: 18px;
    }

    .site-nav,
    .site-header__contact {
        display: none;
    }

    .site-menu-button {
        display: inline-flex;
        justify-self: end;
    }

    .site-mobile-panel {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1010;
        width: min(420px, 88vw);
        height: 100vh;
        padding: 24px;
        background: rgba(9,17,27,.98);
        box-shadow: -30px 0 90px rgba(0,0,0,.45);
        overflow-y: auto;
        transform: translateX(0);
    }

    .site-mobile-panel[hidden],
    .site-mobile-backdrop[hidden] {
        display: none;
    }

    .site-mobile-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1005;
        background: rgba(0,0,0,.56);
        backdrop-filter: blur(4px);
    }

    .site-mobile-panel__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 22px;
        border-bottom: 1px solid rgba(255,255,255,.12);
        color: rgba(255,255,255,.7);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .site-mobile-close {
        position: relative;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255,255,255,.16);
        background: transparent;
        cursor: pointer;
    }

    .site-mobile-close:before,
    .site-mobile-close:after {
        content: "";
        position: absolute;
        top: 20px;
        left: 12px;
        width: 18px;
        height: 2px;
        background: #fff;
    }

    .site-mobile-close:before {
        transform: rotate(45deg);
    }

    .site-mobile-close:after {
        transform: rotate(-45deg);
    }

    .site-mobile-nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .site-mobile-nav__item {
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .site-mobile-nav__link,
    .site-mobile-nav__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 64px;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 20px;
        font-weight: 760;
        text-align: left;
        cursor: pointer;
    }

    .site-mobile-nav__toggle em {
        position: relative;
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }

    .site-mobile-nav__toggle em:before,
    .site-mobile-nav__toggle em:after {
        content: "";
        position: absolute;
        background: rgba(255,255,255,.72);
    }

    .site-mobile-nav__toggle em:before {
        top: 8px;
        left: 0;
        width: 18px;
        height: 2px;
    }

    .site-mobile-nav__toggle em:after {
        top: 0;
        left: 8px;
        width: 2px;
        height: 18px;
        transition: transform .18s ease;
    }

    .site-mobile-nav__item.is-open .site-mobile-nav__toggle em:after {
        transform: scaleY(0);
    }

    .site-mobile-nav__sub {
        padding: 0 0 18px 12px;
    }

    .site-mobile-nav__sub a {
        display: block;
        padding: 9px 0;
        color: rgba(255,255,255,.68);
        font-size: 15px;
        font-weight: 650;
    }

    .site-mobile-panel__cta {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 28px;
        min-height: 52px;
        background: var(--exito-accent);
        color: #160b07;
        font-size: 15px;
        font-weight: 850;
    }

    .site-context-nav {
        padding-top: 66px;
    }

    .site-context-nav__inner {
        display: block;
        width: min(100% - 32px, 720px);
        padding: 14px 0;
    }

    .site-subnav {
        margin-top: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-subnav ul {
        flex-wrap: nowrap;
        width: max-content;
        min-width: 100%;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        width: min(100% - 32px, 720px);
        padding: 42px 0;
    }

    .site-footer__links {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .site-logo img {
        width: 74px;
    }

    .site-mobile-panel {
        width: 100vw;
    }

    #hd_login_msg {
        display: none;
    }
}
