#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 76px;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.header-inner {
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.logo-wrap {
    flex-shrink: 0; width: 200px; height: 50px;
    position: relative; display: block;
}
.logo-wrap img {
    position: absolute; top: 50%; left: 0;
    transform: translateY(-50%);
    width: 200px; height: auto;
    transition: opacity 0.4s ease;
}
.logo-wrap .logo-white { opacity: 1; }
.logo-wrap .logo-color { opacity: 0; }

.gnb-wrap { flex: 1; display: flex; justify-content: center; }
.gnb { display: flex; list-style: none; height: 76px; }
.gnb > li { height: 100%; }
.gnb > li > a {
    display: flex; align-items: center; height: 100%;
    padding: 0 40px;
    font-size: 15px; font-weight: 500; color: #fff;
    text-decoration: none; letter-spacing: 0.04em; white-space: nowrap;
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
    transition: color 0.4s ease;
}

/* 호버된 gnb li 강조 */
.gnb > li.is-active > a {
    font-weight: 700;
    background: rgba(25, 90, 210, 0.5);
    color: #fff !important;
}

/* =====================
   메가 패널
===================== */
#mega-panel {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(28, 42, 95, 0.93);
    visibility: hidden;
    opacity: 0;
    z-index: 999;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}
#mega-panel.open { visibility: visible; opacity: 1; }

#col-highlight {
    position: absolute;
    top: 0; bottom: 0;
    background: rgba(25, 90, 210, 0.5);
    pointer-events: none;
    z-index: 0;
    width: 0;
}
#active-bar {
    position: absolute;
    top: 0; height: 2px;
    background: #1E96E6;
    z-index: 2;
    width: 0;
    transition: left 0.25s ease, width 0.25s ease;
}

#mega-panel-body {
    position: relative;
    padding-bottom: 28px;
}

.sub-group {
    position: absolute;
    top: 22px;
    opacity: 0.45;
    z-index: 1;
    min-width: 120px;
    text-align: center;
}
.sub-group.active { opacity: 1; }

.sub-group ul { list-style: none; }
.sub-group ul li { margin-bottom: 10px; }
.sub-group ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
    letter-spacing: 0.02em;
    display: block; padding: 2px 0;
    white-space: nowrap;
}
.sub-group ul li a:hover { color: #fff; }

/* =====================
   햄버거
===================== */
.hamburger {
    width: 40px; height: 40px;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    gap: 6px; cursor: pointer;
    background: none; border: none; flex-shrink: 0;
}
.hamburger span {
    display: block; width: 26px; height: 2px;
    background: #fff; border-radius: 2px;
    transition: background 0.4s ease;
}

/* =====================
   전체화면 메뉴
===================== */
#fullmenu {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(22,30,54,0.97);
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
}
#fullmenu.open { opacity: 1; pointer-events: all; }
.fullmenu-close {
    position: absolute; top: 24px; right: 40px;
    width: 48px; height: 48px;
    cursor: pointer; background: none; border: none;
}
.fullmenu-close::before, .fullmenu-close::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 28px; height: 2px; background: #fff; border-radius: 2px;
}
.fullmenu-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.fullmenu-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
.fullmenu-close:hover::before,
.fullmenu-close:hover::after { background: #1E96E6; }
.fullmenu-body {
    display: flex; align-items: center; justify-content: center;
    height: 100%; padding: 80px 60px 40px;
}
.fullmenu-col { flex: 1; padding: 0 48px; border-right: 1px solid rgba(255,255,255,0.1); }
.fullmenu-col:last-child { border-right: none; }
.col-num { font-size: 11px; color: #1E96E6; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 10px; font-family: 'Malgun Gothic', sans-serif; }
.col-title {
    display: block; font-size: 20px; font-weight: 700;
    color: #fff; text-decoration: none; margin-bottom: 22px;
    font-family: 'Malgun Gothic', sans-serif;
    padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.15);
    transition: color 0.2s;
}
.col-title:hover { color: #1E96E6; }
.fullmenu-col ul { list-style: none; }
.fullmenu-col ul li { margin-bottom: 12px; }
.fullmenu-col ul li a {
    font-size: 13px; color: rgba(255,255,255,0.55);
    text-decoration: none; transition: color 0.2s;
    font-family: 'Malgun Gothic', sans-serif;
}
.fullmenu-col ul li a:hover { color: #fff; }
