:root {
    --brand: #212d62;
    --brand-2: #162569;
    --muted: #f5f7fb;
    --text: #111;
    --text-2: #666;
    --white: #fff;
    --maxw: 1200px;
    --rad: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
}
/* 전역으로는 0 */
body {
    padding-top: 0;
}

/* 고정 헤더 사용하는 페이지에서만 여백 */
.has-fixed-header {
    padding-top: 68px;
}

@media (max-width: 640px) {
    .has-fixed-header {
        padding-top: 60px;
    }
}
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Apple SD Gothic Neo", Segoe UI, Roboto, Helvetica, Arial, "맑은 고딕", "Malgun Gothic", sans-serif;
    color: var(--text);
    background: #fff;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    max-width: var(--maxw);
    padding: 0 20px;
    margin: 0 auto;
}

/* 헤더/네비 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.logo svg {
    width: 32px;
    height: 32px;
}

/* 메뉴 & 드롭다운 */
.menu {
    display: flex;
    gap: 24px;
    align-items: center;
}
.menu > li {
    list-style: none;
    position: relative;
}
.menu > li > a,
.menu > li > button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    padding: 8px 0;
    cursor: pointer;
    opacity: 0.95;
}
.menu > li > a:hover,
.menu > li > button:hover {
    opacity: 1;
}
.dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 210px;
    background: #fff;
    color: var(--text);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
}
.dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text);
    white-space: nowrap;
    font-size: 14px;
}
.dropdown a:hover {
    background: var(--muted);
    color: var(--brand);
}
.menu > li.has-dd:hover .dropdown {
    display: block;
}
.cta-btn {
    padding: 10px 16px;
    background: #fff;
    color: var(--brand);
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow);
}
.hamb {
    display: none;
    color: #fff;
    font-size: 24px;
    background: none;
    border: 0;
    cursor: pointer;
}
@media (max-width: 980px) {
    .menu {
        display: none;
    }
    .hamb {
        display: block;
    }
}

/* 모바일 패널 */
.m-panel {
    position: fixed;
    inset: 0 0 0 auto;
    width: 86vw;
    max-width: 360px;
    background: #fff;
    color: var(--text);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 1100;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}
.m-panel.open {
    transform: translateX(0);
}
.m-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    background: var(--muted);
}
.m-list {
    padding: 10px 12px;
    overflow: auto;
}
.m-list details {
    border-radius: 12px;
    border: 1px solid #eee;
    margin: 10px 0;
    overflow: hidden;
}
.m-list summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 14px;
    font-weight: 700;
    background: #fff;
}
.m-list summary::-webkit-details-marker {
    display: none;
}
.m-sub {
    padding: 6px 10px 12px;
    background: var(--muted);
}
.m-sub a {
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    font-size: 15px;
}
.m-sub a:hover {
    background: #e9eef9;
}
.m-link {
    display: block;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin: 10px 0;
    font-weight: 700;
}

/* 섹션 기본 여백 (페이지마다 필요시 유지) */
section {
    padding: 72px 0;
}

/* 푸터 */
footer {
    background: var(--brand);
    color: #fff;
    padding: 28px 0;
    margin-top: 72px;
}
.foot {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr auto;
    align-items: center;
    font-size: 14px;
}
.foot .meta {
    opacity: 0.9;
}
.foot .sns {
    display: flex;
    gap: 12px;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}
@media (max-width: 800px) {
    .foot {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
}

/* ===== 공통 CTA (풀블리드, 어두운 오버레이) ===== */
.cta-wide {
    margin: 0;
    background-image: url(/assets/images/bg_black_per60.png), url(/assets/file/1153171651.jpg);
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    color: #fff;
}
.cta-wide .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 20px;
    text-align: center;
}
.cta-wide .inner h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 48px);
    font-family: Montserrat, "Noto Sans KR", sans-serif;
    font-weight: 700;
}
.cta-wide .inner p {
    margin: 0 0 28px;
    font-size: 18px;
    opacity: 0.95;
    line-height: 1.6;
}
.cta-wide .inner .btn {
    display: inline-block;
    padding: 14px 34px;
    background: #fff;
    color: var(--brand);
    border-radius: 999px;
    font-weight: 700;
    font-family: "Noto Sans KR", sans-serif;
    box-shadow: var(--shadow);
    transition: 0.2s;
}
.cta-wide .inner .btn:hover {
    background: var(--brand);
    color: #fff;
}

/* ===== 공용 Hero ===== */
.hero-section {
    background-color: transparent;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
}
.hero-section .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}
.hero-section .kicker {
    margin: 0 0 8px;
    font-size: clamp(18px, 2.6vw, 26px);
    font-weight: 700;
    font-family: "Noto Sans KR", Montserrat, sans-serif;
    color: #fff;
    letter-spacing: 0.2px;
}
.hero-section .title {
    margin: 0;
    font-family: Montserrat, "Noto Sans KR", sans-serif;
    font-size: clamp(28px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.2px;
    color: #fff;
}

/* ===== 공용 Section Title ===== */
.section-title {
    font-family: Montserrat, "Noto Sans KR", sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 4.8vw, 40px);
    letter-spacing: 0.2px;
    margin: 0.3em 0;
    line-height: 1.2;
}

/* ===== 공용 영문 보조라인 ===== */
.section-en {
    font-family: Montserrat, "Noto Sans KR", sans-serif;
    font-weight: 500;
    font-size: clamp(18px, 2.6vw, 28px);
    line-height: 1.2;
    color: #000;
    opacity: 0.95;
    letter-spacing: 0.3px;
}

/* 헤더 로고 크기 통일 */
.site-header .logo_area img {
    height: auto !important; /* 인라인 height 무력화 */
    max-height: 60px !important; /* PC 기본 */
    width: auto !important; /* 비율 유지 */
    object-fit: contain;
}

/* 모바일 줄이기 */
@media (max-width: 640px) {
    .site-header .logo_area img {
        max-height: 48px !important;
    }
}

@media (max-width: 360px) {
    .site-header .logo_area img {
        max-height: 40px !important;
    }
}

@media (max-width: 640px) {
    .footer-nav {
        display: none !important;
    }
}
