<style>
/* ================================
   고모역 헤더 전체
================================ */
.sitehead,
.sitehead *,
.topbar,
.topbar * {
    box-sizing: border-box;
}

.sitehead {
    position: relative;
    z-index: 900;
    background: #fff;
    border-bottom: 1px solid rgba(58, 137, 204, 0.22);
    box-shadow: 0 8px 24px rgba(15, 44, 74, 0.06);
}

/* ================================
   상단 로그인 바
================================ */
.gomo-util-wrap {
    background: linear-gradient(90deg, #f7fbff 0%, #f3f8fc 100%);
    border-bottom: 1px solid #e5edf5;
}

.gomo-util-inner {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.sitehead .toplink {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    line-height: 1;
    color: #9aa8b5;
}

.sitehead .toplink a {
    color: #6f7f8d;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sitehead .toplink a:hover {
    color: #2f83c9;
}

.sitehead .toplink span {
    color: #6f819c;
    font-size: 12px;
}

.sitehead .toplink .insta-divider {
    color: #c7d2dc;
}

/* 인스타그램 링크 */
.gomo-insta-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #4f6578 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.gomo-insta-link .insta-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gomo-insta-link .insta-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: #4f6578;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}

.gomo-insta-link:hover {
    color: #237bc1 !important;
}

.gomo-insta-link:hover .insta-icon svg {
    stroke: #237bc1;
}

/* ================================
   메인 헤더
================================ */
.gomo-header-wrap {
    background: rgba(255,255,255,0.96);
}

.gomo-header-inner {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.sitehead .logo {
    flex: 0 0 auto;
}

.sitehead .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sitehead .logo img {
    width: 205px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================
   PC 메뉴
================================ */
.menuwrap {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.ul-menu-main {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ul-menu-main > li {
    position: relative;
}

.ul-menu-main .menuitem-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 56px;
    border: 0;
    background: transparent;
    color: #24384a;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    border-radius: 999px;
    transition: background 0.22s ease, color 0.22s ease;
}

.ul-menu-main .menuitem-main .labelss {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    white-space: nowrap;
    color: inherit;
}

.ul-menu-main .menuitem-main:hover,
.ul-menu-main .menuitem-main.active {
    color: #237bc1;
    background: #edf7ff;
}

.ul-menu-main > li:hover > .menuitem-main {
    color: #237bc1;
    background: #edf7ff;
}

/* ================================
   서브 메뉴
================================ */
.sitehead .subwrap {
    position: absolute;
    left: 50%;
    top: 100%;
    min-width: 190px;
    padding-top: 14px;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 999;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.ul-menu-main > li:hover .subwrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.sitehead .ul-menu-sub {
    position: relative;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #dceaf5;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(24, 70, 110, 0.14);
    overflow: hidden;
}

.sitehead .ul-menu-sub::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #dceaf5;
    border-top: 1px solid #dceaf5;
    transform: translateX(-50%) rotate(45deg);
}

.sitehead .ul-menu-sub li {
    margin: 0;
    padding: 0;
}

.sitehead .ul-menu-sub li a {
    display: block;
    padding: 13px 16px;
    color: #435668;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.sitehead .ul-menu-sub li a:hover {
    color: #237bc1;
    background: #f0f8ff;
    padding-left: 20px;
}

/* ================================
   모바일 상단바
================================ */
.topbar {
    display: none;
    position: relative;
    height: 62px;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #e1edf6;
    box-shadow: 0 6px 18px rgba(15, 44, 74, 0.06);
    z-index: 950;
}

.topbar .toplogo {
    height: 100%;
    display: flex;
    align-items: center;
}

.topbar .toplogo a {
    display: flex;
    align-items: center;
}

.topbar .toplogo img {
    width: 165px;
    height: auto;
    display: block;
}

.topbar .btn-menu {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #dbeaf5;
    border-radius: 12px;
    background: #f7fbff;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.topbar .btn-menu img {
    width: 25px;
    height: auto;
    display: block;
}

/* ================================
   반응형
================================ */
@media screen and (max-width: 1180px) {
    .gomo-header-inner {
        gap: 24px;
    }

    .sitehead .logo img {
        width: 185px;
    }

    .ul-menu-main .menuitem-main {
        padding: 0 15px;
    }

    .ul-menu-main .menuitem-main .labelss {
        font-size: 17px;
    }
}

@media screen and (max-width: 980px) {
    .ul-menu-main .menuitem-main {
        padding: 0 11px;
    }

    .ul-menu-main .menuitem-main .labelss {
        font-size: 16px;
    }
}

@media screen and (max-width: 800px) {
    .sitehead {
        display: none;
    }

    .topbar {
        display: block;
    }
}



/* ================================
   홈 화면 스크롤 헤더
   처음에는 숨김, 스크롤 시 고정 노출
================================ */
body.gomo-home-scroll-header .sitehead,
body.gomo-home-scroll-header .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
    z-index: 9999;
}

body.gomo-home-scroll-header.gomo-header-show .sitehead,
body.gomo-home-scroll-header.gomo-header-show .topbar {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* 모바일에서는 기존처럼 PC 헤더는 숨기고 모바일 헤더만 사용 */
@media screen and (max-width: 800px) {
    body.gomo-home-scroll-header .sitehead {
        display: none;
    }

    body.gomo-home-scroll-header .topbar {
        display: block;
    }
}
</style>