


.site-header {
    position: fixed;
    left: 56px;
    right: 56px;
    top: 34px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 50;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    transition: opacity 0.8s ease, transform 0.8s ease,
                top 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: none;
    opacity: 0;
    transform: scale(0.98);
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s ease;
}



.main-start .site-header {
    opacity: 1;
    transform: translateY(0);
}

.site-header {
    opacity: 0;
    transform: translateY(-28px);
    transition-delay: 0.2s;
    will-change: opacity, transform, top, padding;
}

.site-header.is-solid {
    transition-delay: 0s;
}

.site-header h1 {
    margin: 0;
    justify-self: start;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    font-family: "Montserrat";
    transition: color 0.4s ease, font-size 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header h1 a {
    color: inherit;
    text-decoration: none;
}

.site-header .gnb {
    justify-self: center;
}

.site-header .gnb > ul {
    display: flex;
    gap: 4.875rem;
}

.site-header .gnb > ul > li {
    position: relative;
}

.site-header .gnb > ul > li > a {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    transition: color 0.4s ease;
    font-family: "Montserrat";
}

.site-header .gnb > ul > li:hover > a {
    color: var(--main-color);
}

.site-header .depth2 {
    position: absolute;
    left: 50%;
    top: 150%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 9.5rem;
    padding: 1rem 1.25rem;
    border: 0.125rem solid var(--main-color);
    border-radius: 0.75rem;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.45s;
}

.site-header .gnb > ul > li:hover .depth2 {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.site-header .depth2 > li + li {
    margin-top: 0.75rem;
}

.site-header .depth2::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1.125rem;
    height: 1.125rem;
}

.site-header .depth2 li{
    text-align: center;
}

.site-header .depth2 a {
    color: #222;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
}

.site-header .depth2 a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.1875rem;
    width: 100%;
    height: 0.125rem;
    background: var(--main-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
}

.site-header .depth2 li:hover > a {
    color: var(--main-color);
}

.site-header .depth2 li:hover > a::after {
    transform: scaleX(1);
}

.sns-links {
    justify-self: end;
    display: flex;
    gap: 10px;
}

.sns-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.25s ease;
}

.sns-links a:hover {
    background: var(--main-color);
    transform: translateY(-4px);
}

.sns-links img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

/* ── 다국어 언어 선택기 ── */
.header-utils {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.625rem;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: "Montserrat";
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.lang-switch a {
    color: #fff;
    opacity: 0.55;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.lang-switch a:hover { opacity: 1; }

.lang-switch a.is-active {
    opacity: 1;
    color: var(--main-color, #ff7a2f);
}

/* ── 스크롤 시 헤더 화이트 전환 (메인·서브 공통) ── */
.site-header.is-solid {
    top: 18px;
    padding: 0.75rem 2.25rem;
}

.site-header.is-solid::before {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.site-header.is-solid h1                       { color: #333; font-size: 1.5rem; }
.site-header.is-solid .gnb > ul > li > a       { color: #333; }
.site-header.is-solid .gnb > ul > li:hover > a { color: #ff8545; }
.site-header.is-solid .menu-btn span           { background: #333; }
.site-header.is-solid .lang-switch a           { color: #333; }
.site-header.is-solid .lang-switch a.is-active { color: var(--main-color, #ff7a2f); }

.menu-btn span {
    transition: background 0.4s ease;
}

.site-footer {
    background: #fff;
    color: #8a807b;
    padding: 3.5rem 0 3rem;
    border-top: 1px solid #E6E6E6;
}


.site-footer .footer-top {
    display: flex;
    align-items: flex-start;
    gap: 3.75rem;
}

.site-footer .footer-logo {
    font-family: 'Montserrat';
    font-size: 1.5rem;
    font-weight: 700;
    color: #777;
    white-space: nowrap;
}

.site-footer .footer-right {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer .footer-policy {
    display: flex;
    gap: 1.75rem;
    margin-bottom: 1.5rem;
}

.site-footer .footer-policy a {
    font-size: 1.12rem;
    font-weight: 600;
    color: #333;
}

.site-footer .footer-policy a.is-strong {
    color: var(--main-color);
}

.site-footer .footer-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0 1.75rem;
    font-size: 1.12rem;
}

.site-footer .footer-info li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-footer .footer-info li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 0.875rem;
    background: #e0d9d4;
}

.site-footer .footer-info .label {
    color: #333;
}

.site-footer .footer-info .value {
    color: #777;
}

.site-footer .footer-copy {
    margin-top: 3rem;
    text-align: center;
    font-size: 1rem;
    color: #c9c1bc;
    font-family: 'Montserrat';
    font-weight: 200;
}


.fixed-widget {
    position: fixed;
    right: 1.875rem;
    top: 50%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.4375rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(-50% - 10px));
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.fixed-widget.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
}

.fixed-widget a {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fixed-widget img {
    width: 1.3rem;
    height: 1.3rem;
    object-fit: contain;
}

.fixed-widget .sec_1-top {
    margin-top: 0.1875rem;
    background: var(--main-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    overflow: visible;
}

.fixed-widget .sec_1-top::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(232, 114, 42, 0.4);
    transform: scale(1);
    opacity: 0;
    pointer-events: none;
}

.fixed-widget .sec_1-top:hover::after {
    animation: sec1-top-pulse 1.5s ease-in-out infinite;
}

@keyframes sec1-top-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(2.6); opacity: 0;   }
}

/* ── body scroll lock ── */
body.nav-open { overflow: hidden; }

/* ── hamburger button ── */
.menu-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.menu-btn.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── mobile gnb panel ── */
.gnb-panel {
    position: fixed;
    inset: 0;
    background: rgba(22, 17, 15, 0.97);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gnb-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gnb-panel-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.gnb-panel-close:hover { background: rgba(255, 255, 255, 0.18); }

.gnb-panel-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.gnb-panel-nav > ul > li > a {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    font-family: "Montserrat";
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.gnb-panel-nav > ul > li > a:hover { color: var(--main-color); }

.gnb-panel-nav .depth2 {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
}

.gnb-panel-nav .depth2 a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.gnb-panel-nav .depth2 a:hover { color: rgba(255, 255, 255, 0.85); }

.gnb-panel-sns {
    margin-top: 4rem;
    display: flex;
    gap: 1rem;
}

.gnb-panel-sns a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.gnb-panel-sns a:hover { background: rgba(255, 255, 255, 0.2); }

.gnb-panel-sns img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

/* 모바일 패널 언어 선택기 */
.lang-switch--panel {
    flex-direction: column;
    align-items: center;
    gap: 1.125rem;
    margin-top: 2.75rem;
    font-size: 1.125rem;
}

.lang-switch--panel a { color: #fff; opacity: 0.5; }
.lang-switch--panel a:hover { opacity: 0.85; }
.lang-switch--panel a.is-active { opacity: 1; color: var(--main-color, #ff7a2f); }


/* ─────────── 1024px ─────────── */
@media screen and (max-width: 1024px) {
    /* header */
    .site-header {
        left: 24px;
        right: 24px;
        top: 20px;
        grid-template-columns: 1fr auto;
    }
    .site-header .gnb   { display: none; }
    .site-header .sns-links { display: none; }
    .header-utils       { display: none; }
    .menu-btn           { display: inline-flex; }

    /* 플로팅 위젯: SNS 아이콘 숨기고 위로가기 버튼만 우하단 고정 */
    .fixed-widget        { top: auto; bottom: 1.25rem; right: 1.25rem; gap: 0; transform: translateY(10px); }
    .fixed-widget.is-visible { transform: translateY(0); }
    .fixed-widget a:not(.sec_1-top) { display: none; }
    .fixed-widget .sec_1-top { width: 2.75rem; height: 2.75rem; }

    /* footer */
    .site-footer .footer-top  { flex-direction: column; gap: 2rem; }
    .site-footer .footer-right { margin-left: 0; }
    .site-footer .footer-info  { gap: 0 1.25rem; }
}/*E:1024*/


/* ─────────── 768px ─────────── */
@media screen and (max-width: 768px) {
    /* header */
    .site-header      { left: 16px; right: 16px; top: 14px; }
    .site-header h1   { font-size: 1.625rem; }

    /* footer */
    .site-footer      { padding: 2.5rem 0 2rem;}
    .site-footer .footer-policy  { gap: 1rem; flex-wrap: wrap; }
    .site-footer .footer-info    { gap: 0.375rem 1rem; }
    .site-footer .footer-info li:not(:last-child)::after { display: none; }
    .site-footer .footer-copy    { margin-top: 2rem; font-size: 0.875rem; }
}/*E:768*/


/* ─────────── 640px ─────────── */
@media screen and (max-width: 640px) {
    .site-header h1 { font-size: 1.5rem; }

    .site-footer .footer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}/*E:640*/


/* ─────────── 480px ─────────── */
@media screen and (max-width: 480px) {
    .site-header        { left: 12px; right: 12px; top: 10px; }
    .site-header.is-solid{    padding: 0.75rem 1.25rem;}
    .site-header h1     { font-size: 1.125rem !important; letter-spacing: -0.01em; }
    .menu-btn           { width: 32px; height: 32px; }
}/*E:480*/


/* ─────────── 480px ─────────── */
@media screen and (max-width: 480px) {
    .site-header      { left: 12px; right: 12px; top: 12px; }
    .site-header h1   { font-size: 1.375rem; }

    .site-footer .footer-logo   { font-size: 1.25rem; }
    .site-footer .footer-policy a { font-size: 0.875rem; }
    .site-footer .footer-copy   { font-size: 0.8125rem; }

    .site-footer .footer-info li{
        font-size: 0.875rem;
    }
}/*E:480*/