/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul, ol, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

:root {
    --color-navy: #0c2340;
    --color-navy-dark: #081a30;
    --color-navy-light: #1a3a5c;
    --color-gold: #e0b837;
    --color-gold-light: #e8c547;
    --gradient-hero-btn: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    --color-white: #ffffff;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e8e8e8;
    --color-gray-300: #cccccc;
    --color-gray-500: #888888;
    --color-gray-700: #555555;
    --color-text: #333333;
    --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Great Vibes', cursive;
    --container-width: 1600px;
    --transition: 0.3s ease;
}

body {
    font-family: var(--font-sans);
    font-size: 18px;
    color: var(--color-text);
    line-height: 1.6;
    letter-spacing: -0.02em;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grid-layout {
    display: grid;
    gap: 40px;
}

/* Typography */
.section-title {
    position: relative;
    display: inline-block;
    font-size: 42px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
}

.section-title__point--highlight {
    color: var(--color-gold);
    font-weight: 700;
}
.section-title--white {
    padding-left: 0;
    color: var(--color-white);
}
.section-title--white::before {
    content: none;
}
.section-title--white .section-title__point--highlight {
    color: var(--color-gold-light);
}
.grid-layout .section-title {
    padding-left: 0;
}
.grid-layout .section-title::before {
    content: none;
}

.section-subtitle {
    font-size: 20px;
    color: var(--color-gray-500);
    margin-top: 10px;
    font-weight: 400;
}

.section-subtitle--white {
    color: rgba(255, 255, 255, 0.7);
}

.section-header {
    margin-bottom: 48px;
}

.section-header--flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.link-more {
    font-size: 18px;
    color: var(--color-gray-500);
    transition: color var(--transition);
}

.link-more:hover {
    color: var(--color-navy);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-navy);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-navy-light);
}

.btn-accent {
    background: var(--color-gold);
    color: var(--color-navy-dark);
}

.btn-accent:hover {
    background: var(--color-gold-light);
}

.btn-outline {
    border: 1px solid var(--color-navy);
    color: var(--color-navy);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

.btn-outline--white {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
}

.btn-outline--white:hover {
    background: var(--color-white);
    color: var(--color-navy);
}

.btn-sm {
    padding: 12px 22px;
    font-size: 17px;
}

/* Card */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Icon circle */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle--gold {
    background: rgba(201, 162, 39, 0.15);
    color: var(--color-gold);
}

/* Tag */
.tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    background: var(--color-gray-100);
    color: var(--color-gray-700);
    line-height: 1;
}

.tag--community {
    background: rgba(12, 35, 64, 0.1);
    color: var(--color-navy);
}

.tag--youth {
    background: rgba(91, 75, 168, 0.12);
    color: #5b4ba8;
}

.tag--vision {
    background: rgba(201, 162, 39, 0.15);
    color: #8a6f15;
}

.tag--environment {
    background: rgba(46, 125, 87, 0.12);
    color: #2e7d57;
}

/* Arrow link */
.arrow-link {
    font-size: 17px;
    color: var(--color-gold);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}

.arrow-link:hover {
    gap: 8px;
}

/* Section spacing */
.section {
    padding: 100px 0;
}

.section--gray {
    background: var(--color-gray-100);
}

.section--navy {
    background: linear-gradient(160deg, var(--color-navy-dark) 0%, var(--color-navy) 52%, var(--color-navy-light) 100%);
}

/* Visually hidden */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===== Responsive (common) ===== */
@media (max-width: 1600px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
    .section {
        padding: 90px 0;
    }
    .section-title {
        font-size: 38px;
    }

    .grid-layout {
        gap: 32px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }
    .section {
        padding: 80px 0;
    }
    .section-title {
        font-size: 36px;
    }

    .section-header {
        margin-bottom: 40px;
    }
    .section-header--flex {
        flex-wrap: wrap;
        gap: 16px;
    }
    .grid-layout {
        gap: 28px;
    }
    .btn {
        font-size: 16px;
        padding: 14px 26px;
    }
    .link-more {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
    .section {
        padding: 70px 0;
    }
    .section-title {
        font-size: 34px;
    }
    .section-subtitle {
        font-size: 18px;
    }
    .section-header {
        margin-bottom: 32px;
    }
    .grid-layout {
        gap: 24px;
    }

}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 28px;
    }
    .section-title {
        font-size: 28px;
    }
    .section-subtitle {
        font-size: 17px;
    }
    .grid-layout {
        gap: 20px;
    }
}

@media (max-width: 360px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .section {
        padding: 48px 0;
    }

}

/* 푸터 팝업: 첫 페인트부터 숨김 (페이지 이동 시 깜빡임 방지) */
#sitePopup:not(.is-open) {
    display: none !important;
}

/* 헤더 GNB: 인라인 CSS 로드 전 서브메뉴/모바일 메뉴 펼침 깜빡임 방지 */
.site-header__submenu {
    display: none;
}

@media (max-width: 1200px) {
    .site-header__nav:not(.is-open) {
        display: none !important;
    }
}
