/* ========================================
   KDDF 랜딩페이지 스타일시트
   ======================================== */

/* ----------------------------------------
   CSS 변수 정의
   ---------------------------------------- */
:root {
    /* 주요 색상 */
    --primary: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #3399FF;
    --secondary: #00A3E0;
    --accent: #FF6B35;

    /* 그라데이션 */
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #00A3E0 100%);
    --gradient-hero: linear-gradient(135deg, #001F4D 0%, #003D80 50%, #0066CC 100%);
    --gradient-dark: linear-gradient(180deg, #0a1628 0%, #162a4a 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);

    /* 중립 색상 */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* 상태 색상 */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* 타이포그래피 */
    --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* 간격 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    --spacing-5xl: 9rem;

    /* 그림자 */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* 반경 */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* 트랜지션 */
    --transition-fast: 100ms ease;
    --transition: 210ms ease;
    --transition-slow: 350ms ease;

    /* 고급스러운 이징 커브 */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* 호버 딜레이 (70% 감소) */
    --hover-delay: 0.07s;
}

/* ----------------------------------------
   리셋 및 기본 스타일
   ---------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ----------------------------------------
   유틸리티 클래스
   ---------------------------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--primary);
}

/* 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 1.75rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(0, 102, 204, 0.35);
    transition: transform 0.28s var(--ease-out-expo), box-shadow 0.28s var(--ease-out-expo);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px 0 rgba(0, 102, 204, 0.45);
    transition-delay: 0.03s;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: var(--font-size-lg);
}

.btn-nav {
    padding: 0.625rem 1.25rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
}

.btn-nav:hover {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary);
    font-weight: 500;
    transition: gap var(--transition);
}

.link-more:hover {
    gap: var(--spacing-sm);
}

/* 섹션 헤더 */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header.light {
    color: var(--white);
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 102, 204, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
}

.section-header.light .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

.section-desc {
    font-size: var(--font-size-lg);
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ----------------------------------------
   네비게이션
   ---------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-sm) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
}

.logo-img {
    height: 65px;
    width: auto;
    transition: opacity var(--transition-fast);
}

.logo-img.light {
    position: absolute;
    opacity: 0;
}

.navbar.scrolled .logo-img.dark {
    opacity: 0;
}

.navbar.scrolled .logo-img.light {
    opacity: 1;
}

.logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
}

.navbar.scrolled .logo-text {
    color: var(--primary);
}

.logo-sub {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.navbar.scrolled .logo-sub {
    color: var(--gray-600);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: nowrap;
}

.nav-menu a {
    font-size: 1.138rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
    transition: color var(--transition-fast), transform 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 1px;
}

.nav-menu a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    width: 100%;
    left: 0;
}

.navbar.scrolled .nav-menu a {
    color: var(--gray-700);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--primary);
}

.navbar.scrolled .nav-menu a::after {
    background: var(--primary);
}

.navbar.scrolled .nav-menu a.btn-nav {
    background: var(--gradient-primary);
    color: var(--white);
}

.navbar.scrolled .nav-menu a.btn-nav:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.navbar.scrolled .nav-menu a.btn-nav::after {
    display: none;
}

/* ── 메가 메뉴 ── */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--gray-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    z-index: 999;
    pointer-events: none;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    display: grid;
    grid-template-columns: 0.8fr max-content 1fr 1.2fr 0.9fr 0.9fr;
    gap: var(--spacing-lg);
}

.mega-col {
    display: flex;
    flex-direction: column;
}

/* 1뎁스 타이틀 */
.mega-col-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    padding: 0 10px 12px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    white-space: nowrap;
    transition: color 0.25s ease, border-color 0.25s ease;
}

/* 타이틀이 직접 링크인 컬럼: 링크 기본 weight(400) 덮지 않도록 상속 */
.mega-col-title a {
    font-weight: inherit;
    color: inherit;
}

/* 하이라이트 시 타이틀 강조 */
.mega-col.highlight .mega-col-title {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* 2뎁스 링크 그룹 */
.mega-col-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-col-links a {
    display: block;
    padding: 7px 10px;
    color: var(--gray-600);
    font-size: 13.5px;
    font-weight: 400;
    border-radius: 6px;
    transition: all 0.25s ease;
    line-height: 1.5;
    white-space: nowrap;
}

.mega-col-links a:hover {
    color: var(--primary);
    background: rgba(0, 102, 204, 0.06);
    padding-left: 14px;
}

/* 종료 사업 딱지(배지) */
.mega-col-links a .biz-badge-end {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--gray-500);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    vertical-align: middle;
    letter-spacing: 0;
}

/* 메가메뉴 열릴 때 상단 네비 활성 표시 */
.navbar.mega-open .nav-menu > .nav-item > a {
    opacity: 0.5;
}

.navbar.mega-open .nav-menu > .nav-item.hovered > a {
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-sm);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--gray-700);
}

/* ----------------------------------------
   우측 페이지 네비게이터
   ---------------------------------------- */
.page-nav {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-nav.visible {
    opacity: 1;
    visibility: visible;
}

.page-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-nav-dot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
}

.page-nav-dot::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: 2px solid var(--white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.page-nav-dot:hover::after,
.page-nav-dot.active::after {
    background: var(--primary);
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
}

.page-nav-label {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: var(--gray-800);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius);
    font-size: var(--font-size-xs);
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.page-nav-label::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--gray-800);
}

.page-nav-dot:hover .page-nav-label {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .page-nav {
        display: none;
    }
}

/* ----------------------------------------
   섹션 1: 히어로
   ---------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -20px;
    background: var(--gradient-hero);
    transition: transform 0.3s ease-out;
}

/* 마우스 글로우 효과 */
.mouse-glow {
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(0, 163, 224, 0.15) 30%, rgba(0, 102, 204, 0.05) 50%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    filter: grayscale(20%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 31, 77, 0.7) 0%,
        rgba(0, 61, 128, 0.6) 50%,
        rgba(0, 102, 204, 0.5) 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 163, 224, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 102, 204, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(0, 76, 153, 0.15) 0%, transparent 50%);
}

/* 고정된 별들 (배경) */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: transform 0.3s ease-out;
    background-image:
        radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 80px 120px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 150px 50px, rgba(255,255,255,0.35), transparent),
        radial-gradient(2px 2px at 200px 180px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 50px 160px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 120px 90px, rgba(255,255,255,0.35), transparent),
        radial-gradient(2px 2px at 180px 140px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 30px 80px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 95px 200px, rgba(200,230,255,0.45), transparent),
        radial-gradient(1.5px 1.5px at 230px 100px, rgba(200,230,255,0.4), transparent);
    background-size: 250px 250px;
}

/* 움직이는 별들 (일부만) */
.hero-particles::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2.5px 2.5px at 40px 60px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 130px, rgba(200,230,255,0.55), transparent),
        radial-gradient(2px 2px at 100px 40px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 220px 90px, rgba(200,230,255,0.45), transparent);
    background-size: 300px 300px;
    animation: floatUp 12s linear infinite;
}

/* 반짝이는 별들 */
.hero-particles::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(3px 3px at 70px 100px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2.5px 2.5px at 190px 70px, rgba(200,230,255,0.6), transparent),
        radial-gradient(2px 2px at 130px 180px, rgba(255,255,255,0.55), transparent);
    background-size: 350px 350px;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes floatUp {
    0% { transform: translateY(0); opacity: 0.8; }
    50% { opacity: 1; }
    100% { transform: translateY(-300px); opacity: 0.8; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.9; }
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: var(--white);
    padding: var(--spacing-xl);
    transition: transform 0.3s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-xl);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.02em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3em;
}

.hero-desc {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-3xl);
}

.hero-buttons .btn {
    min-width: 180px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    opacity: 0.7;
    font-size: var(--font-size-sm);
    color: var(--white);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: var(--radius-full);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
}

/* ----------------------------------------
   섹션 1.5: 벤토 그리드 쇼케이스 (라이트 테마)
   ---------------------------------------- */
.bento-showcase {
    padding: var(--spacing-5xl) 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.bento-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 102, 204, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* 마우스 추적 스포트라이트 효과 */
.bento-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 102, 204, 0.08) 0%,
        rgba(0, 163, 224, 0.04) 25%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-showcase:hover .bento-spotlight {
    opacity: 1;
}

/* 카드별 글로우 효과 */
.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        350px circle at var(--card-x, 50%) var(--card-y, 50%),
        rgba(0, 102, 204, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 46px);
    gap: 16px;
    position: relative;
}

.bento-item {
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.bento-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* 벤토 아이템 크기 변형 */
.bento-hero-card {
    grid-column: 1 / 3;
    grid-row: 1 / 7;
    background: var(--gradient-primary);
    border: none;
}

.bento-stat-card {
    grid-column: 3 / 4;
    grid-row: 1 / 4;
}

.bento-mid-card {
    grid-column: 3 / 4;
    grid-row: 4 / 7;
}

.bento-small-1 {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
}

.bento-small-2 {
    grid-column: 4 / 5;
    grid-row: 3 / 5;
}

.bento-small-3 {
    grid-column: 4 / 5;
    grid-row: 5 / 7;
}

.bento-small-1,
.bento-small-2,
.bento-small-3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
    padding: 20px;
    gap: 10px;
}

.bento-small-1 .bento-btn-label,
.bento-small-2 .bento-btn-label,
.bento-small-3 .bento-btn-label {
    font-size: 1.05rem;
}

.bento-small-1 .bento-icon,
.bento-small-2 .bento-icon,
.bento-small-3 .bento-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-bottom: 0;
}

.bento-service-card {
    grid-column: span 1;
    grid-row: span 4;
}

.bento-wide-card {
    grid-column: span 2;
    grid-row: span 2;
}

/* 게시판 카드 스타일 */
.bento-board-card {
    padding: 20px 24px 66px !important;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bento-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bento-board-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.bento-board-more {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.bento-board-more:hover {
    color: var(--primary);
}

.bento-board-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.bento-board-list li {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.bento-board-list li:last-child {
    border-bottom: none;
}

.bento-board-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bento-board-list a:hover .board-title {
    color: var(--primary);
}

.board-title {
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
    min-width: 0;
}

/* 제목 + 배지 그룹 */
.board-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    margin-right: 12px;
}

.board-date {
    font-size: 0.7rem;
    color: var(--gray-400);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ----------------------------------------
   게시판 카드 - 향상된 디자인
   ---------------------------------------- */
.bento-board-card {
    position: relative;
    overflow: hidden;
}

.bento-board-card .bento-board-header,
.bento-board-card .bento-board-list {
    position: relative;
    z-index: 2;
}

/* 헤더 타이틀 그룹 */
.bento-board-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 헤더 아이콘 */
.bento-board-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.bento-board-icon svg {
    width: 18px;
    height: 18px;
}

.bento-board-card:hover .bento-board-icon {
    transform: scale(1.08) rotate(-6deg);
}

/* 카드 배경 이미지 (하단 기준 정렬) */
.bento-board-blue,
.bento-board-orange {
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% auto;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.bento-board-blue {
    background-color: #ecedfb;
    background-image: url('img/board_bg_blue.png');
}

.bento-board-orange {
    background-color: #fef0e6;
    background-image: url('img/board_bg_orange.png');
}

/* 공지사항 - 블루 테마 */
.bento-board-blue .bento-board-icon {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.16), rgba(0, 163, 224, 0.06));
    color: var(--primary);
}

.bento-board-blue .bento-board-list a:hover {
    background: rgba(0, 102, 204, 0.06);
}

.bento-board-blue .bento-board-list a:hover .board-title {
    color: var(--primary);
}

/* 연구·산업 동향 - 오렌지 테마 */
.bento-board-orange .bento-board-icon {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.16), rgba(251, 146, 60, 0.06));
    color: var(--accent);
}

.bento-board-orange .bento-board-list a:hover {
    background: rgba(255, 107, 53, 0.06);
}

.bento-board-orange .bento-board-list a:hover .board-title {
    color: var(--accent);
}

/* 리스트 항목 호버 효과 */
.bento-board-list a {
    border-radius: 6px;
    padding: 8px 6px;
    transition: background 0.25s ease, padding-left 0.25s ease;
}

.bento-board-list a:hover {
    padding-left: 10px;
}

/* 배지 */
.board-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.3;
    color: var(--white);
}

.board-badge.new {
    background: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.25);
}

.board-badge.hot {
    background: var(--accent);
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.25);
}



.bento-gradient-card {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(180deg, var(--gray-50), rgba(0, 102, 204, 0.08));
    border: 1px solid rgba(0, 102, 204, 0.15);
}

/* 벤토 글로우 효과 */
.bento-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* 벤토 태그 */
.bento-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: calc(var(--spacing-md) * 2);
}

/* 벤토 콘텐츠 */
.bento-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.bento-content .text-highlight {
    color: #7DD3FC;
}

.bento-content p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 380px;
}

/* 사업공고 정보 */
.bento-notice-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: var(--spacing-sm);
}

.notice-status {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(74, 222, 128, 0.25);
    color: #4ade80;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.notice-period {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* 벤토 버튼 */
.bento-btn {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.bento-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(4px);
}

.bento-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.bento-btn:hover svg {
    transform: translateX(4px);
}

/* 벤토 비주얼 */
.bento-visual {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.bento-visual-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    animation: pulse-slow 4s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* 벤토 아이콘 */
.bento-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: var(--spacing-md);
    transition: transform 0.4s ease;
}

.bento-item:hover .bento-icon {
    transform: scale(1.1) rotate(5deg);
}

.bento-icon svg {
    width: 22px;
    height: 22px;
}

.bento-icon.cyan {
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.15), rgba(0, 163, 224, 0.05));
}
.bento-icon.cyan svg { stroke: var(--secondary); }

.bento-icon.purple {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
}
.bento-icon.purple svg { stroke: #6366F1; }

.bento-icon.green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
}
.bento-icon.green svg { stroke: var(--success); }

.bento-icon.orange {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.15), rgba(251, 146, 60, 0.05));
}
.bento-icon.orange svg { stroke: var(--accent); }

.bento-icon.white {
    background: rgba(0, 102, 204, 0.1);
}
.bento-icon.white svg { stroke: var(--primary); }

/* 벤토 통계 카드 */
.bento-stat-content {
    margin-top: auto;
}

.bento-stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.bento-stat-value .stat-plus {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
}

.bento-stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* 벤토 버튼 카드 */
.bento-btn-card {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.bento-btn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.2);
}

.bento-btn-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.bento-btn-sub {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-400);
    margin-top: 4px;
}

.bento-btn-arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.bento-btn-arrow svg {
    width: 14px;
    height: 14px;
}

.bento-btn-card:hover .bento-btn-arrow {
    background: var(--primary);
    color: var(--white);
    transform: translateX(3px);
}


/* 벤토 서비스 카드 */
.bento-service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
}

.bento-service-content p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* 벤토 서비스 태그 */
.bento-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: var(--spacing-sm);
}

.bento-service-tags.gradient-tags {
    margin-top: var(--spacing-sm);
}

.service-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    background: rgba(0, 102, 204, 0.08);
    color: var(--primary);
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 204, 0.15);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.service-tag:hover {
    background: rgba(0, 102, 204, 0.15);
    transform: translateY(-1px);
}

.service-tag.light {
    background: rgba(0, 102, 204, 0.12);
    color: var(--primary);
    border-color: rgba(0, 102, 204, 0.2);
}

.service-tag.light:hover {
    background: rgba(0, 102, 204, 0.2);
}

/* 벤토 와이드 카드 */
.bento-wide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--spacing-lg);
}

.bento-wide-content {
    flex: 1;
}

.bento-wide-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--spacing-xs);
}

.bento-wide-content p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* 와이드 카드 배지 */
.bento-wide-badges {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.wide-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.wide-badge:hover {
    transform: translateY(-2px) scale(1.05);
}

.wide-badge.small {
    width: auto;
    padding: 0 14px;
    height: 36px;
    font-size: 0.75rem;
    border-radius: 18px;
}

/* 벤토 그라데이션 카드 */
.bento-gradient-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--spacing-xs);
}

.bento-gradient-content p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.bento-gradient-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    margin-top: auto;
    letter-spacing: 0.05em;
}

/* 벤토 반응형 */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-hero-card {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 280px;
    }

    .bento-wide-card {
        grid-column: span 2;
    }

    .bento-service-card,
    .bento-gradient-card {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 260px;
    }

    .bento-stat-card,
    .bento-mid-card {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 180px;
    }

    .bento-small-1,
    .bento-small-2,
    .bento-small-3 {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 100px;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-hero-card,
    .bento-wide-card,
    .bento-service-card,
    .bento-gradient-card,
    .bento-stat-card,
    .bento-mid-card,
    .bento-small-1,
    .bento-small-2,
    .bento-small-3 {
        grid-column: span 1;
        grid-row: span 1;
        min-height: auto;
    }

    .bento-item {
        padding: 24px;
    }

    .bento-content h2 {
        font-size: 1.5rem;
    }

    .bento-wide-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .bento-board-card {
        padding: 20px 24px 66px !important;
    }
}

/* ----------------------------------------
   섹션 2: 미션 & 비전
   ---------------------------------------- */
.mission {
    padding: var(--spacing-5xl) 0;
    background: var(--white);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.mission-card {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    filter: brightness(1);
    border: 1px solid transparent;
    transition: transform 0.55s var(--ease-out-expo) 0.05s,
                box-shadow 0.7s var(--ease-out-expo) 0.2s,
                background 0.6s var(--ease-smooth) 0.15s,
                border-color 0.35s var(--ease-smooth) 0.12s,
                filter 0.35s var(--ease-smooth) 0.18s;
}

.mission-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-xl), 0 0 50px rgba(0, 102, 204, 0.1);
    transform: translateY(-10px);
    filter: brightness(1.03);
    border-color: rgba(0, 102, 204, 0.06);
}

.mission-card .mission-icon {
    transition: transform 0.6s var(--ease-out-back) 0.1s,
                box-shadow 0.35s var(--ease-smooth) 0.15s;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.2);
}

.mission-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.mission-icon svg {
    width: 32px;
    height: 32px;
}

.mission-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.mission-card p {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    line-height: 1.7;
    letter-spacing: -0.06em;
}

.leader-message {
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    color: var(--white);
}

.leader-image {
    flex-shrink: 0;
}

.leader-placeholder {
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.leader-placeholder span {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.leader-placeholder small {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.leader-content blockquote {
    font-size: var(--font-size-xl);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.leader-content .link-more {
    color: var(--white);
    opacity: 0.9;
}

.leader-content .link-more:hover {
    opacity: 1;
}

/* ----------------------------------------
   섹션 3: 핵심 숫자
   ---------------------------------------- */
.stats {
    position: relative;
    padding: var(--spacing-5xl) 0;
    color: var(--white);
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

.stats-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 163, 224, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 163, 224, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-md) var(--spacing-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    filter: brightness(1);
    transition: transform 0.55s var(--ease-out-expo) 0.05s,
                background 0.6s var(--ease-smooth) 0.15s,
                border-color 0.6s var(--ease-smooth) 0.12s,
                box-shadow 0.7s var(--ease-out-expo) 0.2s,
                filter 0.35s var(--ease-smooth) 0.18s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 163, 224, 0.1);
    filter: brightness(1.12);
}

/* 카드 글로우 */
.stat-card .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.stat-card .card-glow.cyan { background: radial-gradient(circle, rgba(0, 163, 224, 0.1) 0%, transparent 50%); }
.stat-card .card-glow.blue { background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 50%); }
.stat-card .card-glow.accent { background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 50%); }

.stat-card:hover .card-glow { opacity: 1; }

/* 링 차트 */
.stat-ring {
    width: 110px;
    height: 110px;
    margin: 0 auto;
    position: relative;
}

.stat-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 3;
}

.ring-fill {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--progress) / 100));
    transition: stroke-dashoffset 1.5s ease-out;
}

.ring-fill.cyan { stroke: var(--secondary); }
.ring-fill.blue { stroke: var(--primary); }
.ring-fill.accent { stroke: var(--accent); }

.stat-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #a5c9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.35s var(--ease-out-back) 0.03s;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
}

.stat-unit {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.stat-plus {
    font-size: 0.7em;
    color: var(--secondary);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--white);
    margin-top: var(--spacing-md);
    line-height: 1.4;
    word-break: keep-all;
}

/* 파이프라인 현황 - 원형 차트 */
.pipeline-section {
    position: relative;
    margin-top: 8rem; /* 이전 콘텐츠와의 간격을 기존보다 2배로 확장 */
}

.pipeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.pie-chart-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.pie-chart-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pie-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    padding: 6px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    text-align: center;
}

.pie-chart {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin-bottom: var(--spacing-lg);
    position: relative;
    transform: scale(0.5) rotate(-90deg);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease-out, box-shadow 0.3s ease;
}

.pie-chart:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.pipeline-section.aos-animate .pie-chart {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.pipeline-section.aos-animate .pie-chart-card:nth-child(1) .pie-chart { transition-delay: 0.2s; }
.pipeline-section.aos-animate .pie-chart-card:nth-child(2) .pie-chart { transition-delay: 0.4s; }
.pipeline-section.aos-animate .pie-chart-card:nth-child(3) .pie-chart { transition-delay: 0.6s; }

.pie-legend {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    width: 100%;
}

.pie-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    text-align: left;
}

.legend-name {
    margin-right: 4px;
}

/* 파이차트 툴팁 */
.pie-tooltip {
    position: absolute;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.85rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pie-tooltip .tt-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.pie-tooltip .tt-name {
    font-weight: 500;
}

.pie-tooltip .tt-value {
    font-weight: 800;
    font-size: 1rem;
    margin-left: 4px;
}

.pie-legend li strong {
    color: var(--white);
    font-weight: 700;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .pie-chart-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pie-chart {
        width: 180px;
        height: 180px;
    }
}

/* ----------------------------------------
   섹션 4: 3대 사업 소개
   ---------------------------------------- */
.business {
    padding: var(--spacing-5xl) 0;
    background: var(--gray-50);
}

/* 비즈니스 카드 그리드 */
.business-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-xl);
}

/* 카드 (밝은 배경) */
.business .glass-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s ease,
                border-color 0.4s ease,
                box-shadow 0.5s ease;
}

.business .glass-card:hover {
    border-color: rgba(0, 102, 204, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 102, 204, 0.12), 0 0 40px rgba(0, 102, 204, 0.04);
}

/* 카드 글로우 */
.business .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.business .glass-card:hover .card-glow {
    opacity: 1;
}

.business .card-glow.cyan { background: radial-gradient(circle, rgba(0, 163, 224, 0.08) 0%, transparent 50%); }
.business .card-glow.blue { background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, transparent 50%); }
.business .card-glow.accent { background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 50%); }

/* 비즈니스 카드 */
.business-card {
    padding: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
}

.business-card:nth-child(1) { transition-delay: 0.1s; }
.business-card:nth-child(2) { transition-delay: 0.3s; }
.business-card:nth-child(3) { transition-delay: 0.5s; }

/* 넘버링 */
.business-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.25;
    margin-bottom: var(--spacing-md);
}

/* 카드 헤더 */
.business-header {
    margin-bottom: var(--spacing-lg);
}

.business-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.business-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 102, 204, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

/* 카드 설명 */
.business-desc {
    color: var(--gray-500);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

/* 기능 리스트 */
.business-features,
.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    list-style: none;
    padding: 0;
}

.business-features li,
.feature-list li {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.business-features li strong,
.feature-list li strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
}

.business-features li span,
.feature-list li span {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

/* 코로나 미니 통계 */
.covid-stats-mini {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.covid-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.covid-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.covid-mini span:last-child {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* GATE 그리드 */
.gate-grid {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.gate-item {
    flex: 1;
    text-align: center;
    padding: var(--spacing-md) var(--spacing-sm);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: background 0.3s ease;
    min-width: 0;
}

.gate-item:hover {
    background: rgba(0, 102, 204, 0.08);
}

.gate-letter {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.gate-item span:last-child {
    display: block;
    font-size: 0.625rem;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 버튼 스타일 (비즈니스 섹션) */
.business-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: auto;
}

.business-actions .btn {
    flex: 1;
    text-align: center;
}

.btn-glow {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.35);
}

.btn-glass {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--primary);
}

.btn-glass:hover {
    background: rgba(0, 102, 204, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}



/* 반응형 */
@media (max-width: 1024px) {
    .business-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.news-thumb-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-thumb-card {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.news-thumb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-thumb-img {
    position: relative;
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.news-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.news-thumb-content {
    padding: var(--spacing-md);
}

.news-thumb-card:hover .news-thumb-title {
    color: var(--primary);
}

.news-thumb-date {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

/* 서브 게시물 리스트 (썸네일 포함) */
.news-sub-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-sub-list li {
    border-bottom: 1px solid var(--gray-100);
}

.news-sub-list li:last-child {
    border-bottom: none;
}

.news-sub-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    transition: all 0.2s ease;
}

.news-sub-item:hover {
    background: var(--gray-50);
    padding-left: var(--spacing-sm);
    border-radius: var(--radius-md);
}

.news-sub-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--gray-100);
    overflow: hidden;
}

.news-sub-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.news-sub-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
    transition: color 0.2s ease;
}

.news-sub-item:hover .news-sub-title {
    color: var(--primary);
}

.news-sub-date {
    font-size: 0.75rem;
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .gate-grid {
        flex-wrap: wrap;
    }
    .gate-item {
        flex: 1 1 calc(50% - var(--spacing-sm));
        min-width: calc(50% - var(--spacing-sm));
    }
}

/* 파이프라인 스테이지 */
.pipeline-stages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xl);
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.stage-dot {
    width: 16px;
    height: 16px;
    background: var(--gray-300);
    border-radius: 50%;
    transition: all var(--transition);
}

.stage.active .stage-dot {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
}

.stage span {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

.stage-line {
    width: 32px;
    height: 2px;
    background: var(--gray-300);
    margin-bottom: var(--spacing-xl);
}

.gov-ministries {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.gov-ministries span {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-xs);
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

/* ----------------------------------------
   섹션 5: 파이프라인 현황
   ---------------------------------------- */
.pipeline {
    padding: var(--spacing-5xl) 0;
    background: var(--white);
}

.pipeline-visualization {
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.pipeline-funnel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.funnel-stage {
    width: 0;
    min-width: 160px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.funnel-stage.animated {
    width: calc(var(--target-width) * 1%);
}

.funnel-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 600;
    min-height: 48px;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
    filter: brightness(1);
    transition: transform 0.35s var(--ease-out-expo),
                box-shadow 0.42s var(--ease-out-expo) 0.1s,
                filter 0.28s var(--ease-smooth) 0.03s;
    overflow: hidden;
}

.funnel-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.49s var(--ease-smooth) 0.07s;
}

.funnel-bar:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.35);
    filter: brightness(1.1);
}

.funnel-bar:hover::before {
    transform: translateX(100%);
}

.funnel-bar.discovery { background: linear-gradient(90deg, #0066CC, #0077E6); }
.funnel-bar.preclinical { background: linear-gradient(90deg, #0077E6, #0088FF); }
.funnel-bar.phase1 { background: linear-gradient(90deg, #0088FF, #00A3E0); }
.funnel-bar.phase2 { background: linear-gradient(90deg, #00A3E0, #00B8D4); }
.funnel-bar.phase3 { background: linear-gradient(90deg, #00B8D4, #00E5CC); }

.funnel-label {
    font-size: var(--font-size-sm);
    flex-shrink: 0;
}

.funnel-count {
    font-size: var(--font-size-lg);
    font-weight: 700;
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

/* Phase 3 진행중 펄스 효과 */
.funnel-pulse {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00FF88;
    border-radius: 50%;
    margin-left: var(--spacing-sm);
    flex-shrink: 0;
}

.funnel-pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: rgba(0, 255, 136, 0.4);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(2); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(2); opacity: 0; }
}

/* 퍼널 툴팁 */
.funnel-tooltip {
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translate(100%, -50%);
    background: var(--gray-800);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius);
    font-size: var(--font-size-xs);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.funnel-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--gray-800);
}

.funnel-stage:hover .funnel-tooltip {
    opacity: 1;
    visibility: visible;
    right: -15px;
}

.pipeline-legend {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.pipeline-legend p {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    margin-bottom: var(--spacing-lg);
}

/* 파이프라인 버튼 */
.btn-pipeline {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--gradient-primary);
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: transform 0.35s var(--ease-out-expo),
                box-shadow 0.35s var(--ease-out-expo) 0.03s;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-pipeline svg {
    width: 18px;
    height: 18px;
    transition: transform 0.35s var(--ease-out-back) 0.03s;
}

.btn-pipeline:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.45);
}

.btn-pipeline:hover svg {
    transform: translateX(5px);
}

/* 질병 분야별 분포 - 수평 막대 */
.disease-bars {
    max-width: 700px;
    margin: var(--spacing-3xl) auto 0;
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
}

.disease-bars h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    color: var(--gray-800);
    text-align: center;
}

.disease-bar-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.disease-bar-item {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius);
    cursor: pointer;
    filter: brightness(1);
    transition: background 0.35s var(--ease-smooth) 0.1s,
                filter 0.28s var(--ease-smooth) 0.08s,
                box-shadow 0.35s var(--ease-out-expo) 0.07s;
    opacity: 0;
    transform: translateX(-20px);
}

.disease-bar-item.animated {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.42s var(--ease-out-expo),
                transform 0.42s var(--ease-out-expo),
                background 0.35s var(--ease-smooth) 0.1s,
                filter 0.28s var(--ease-smooth) 0.08s,
                box-shadow 0.35s var(--ease-out-expo) 0.07s;
}

.disease-bar-item:hover {
    background: var(--gray-50);
    filter: brightness(1.02);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.08);
}

.disease-bar-item .disease-fill {
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.28s var(--ease-smooth) 0.05s,
                box-shadow 0.28s var(--ease-smooth) 0.03s;
}

.disease-bar-item:hover .disease-fill {
    filter: brightness(1.15);
    box-shadow: 0 3px 12px rgba(0, 102, 204, 0.35);
}

.disease-bar-item .disease-value {
    transition: transform 0.28s var(--ease-out-back) 0.03s;
}

.disease-bar-item:hover .disease-value {
    transform: scale(1.12);
}

.disease-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.disease-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-700);
    transition: color 0.3s ease;
}

.disease-bar-item:hover .disease-name {
    color: var(--primary);
}

.disease-value {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--gray-900);
    transition: transform 0.3s ease;
}

.disease-track {
    height: 14px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.disease-fill {
    height: 100%;
    width: 0;
    background: var(--color);
    border-radius: var(--radius-full);
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.disease-fill.animated {
    width: calc(var(--target-width) * 1%);
}

.disease-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    border-radius: var(--radius-full) var(--radius-full) 0 0;
}

.disease-percent {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    text-align: right;
    font-weight: 600;
    transition: all 0.3s ease;
}

.disease-bar-item:hover .disease-percent {
    color: var(--primary);
    transform: scale(1.05);
}

.disease-total {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
}

.disease-total span {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.disease-total strong {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 640px) {
    .disease-bar-item {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .disease-info {
        justify-content: flex-start;
        gap: var(--spacing-sm);
    }

    .disease-percent {
        display: none;
    }

    .funnel-tooltip {
        display: none;
    }
}

/* ----------------------------------------
   섹션 6: 지원 서비스
   ---------------------------------------- */
.services {
    padding: var(--spacing-5xl) 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    filter: brightness(1);
    border: 1px solid transparent;
    transition: transform 0.55s var(--ease-out-expo) 0.05s,
                background 0.6s var(--ease-smooth) 0.15s,
                border-color 0.6s var(--ease-smooth) 0.12s,
                box-shadow 0.7s var(--ease-out-expo) 0.2s,
                filter 0.35s var(--ease-smooth) 0.18s;
}

.service-card:hover {
    box-shadow: var(--shadow-xl), 0 0 50px rgba(0, 102, 204, 0.08);
    transform: translateY(-8px);
    filter: brightness(1.03);
    border-color: rgba(0, 102, 204, 0.08);
}

.service-card .service-icon {
    transition: transform 0.38s var(--ease-out-back) 0.1s,
                box-shadow 0.35s var(--ease-smooth) 0.15s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.service-card.large {
    grid-row: span 2;
}

.service-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    color: var(--primary);
}

.service-icon.gradient-bg {
    background: var(--gradient-primary);
    color: var(--white);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
}

.service-desc {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.service-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius);
}

.item-icon {
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

.service-item strong {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--gray-800);
    margin-bottom: var(--spacing-xs);
}

.service-item span {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.service-list li {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    padding-left: var(--spacing-md);
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.service-list li strong {
    color: var(--gray-800);
}

/* 서비스 그리드 4열 레이아웃 */
.services-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.services-grid-4col .service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services-grid-4col .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.service-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-title-wrap h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
}

.service-count {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-lighter);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.service-more {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--gray-400);
    margin-top: var(--spacing-sm);
    font-style: italic;
}

.service-count-badge {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-lighter);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-top: auto;
}

/* 아이콘 그라데이션 변형 */
.service-icon.gradient-bg-edu {
    background: linear-gradient(135deg, #00C9A7 0%, #00E5BD 100%);
    color: var(--white);
}

.service-icon.gradient-bg-tech {
    background: linear-gradient(135deg, #6B5BFF 0%, #8B7BFF 100%);
    color: var(--white);
}

.service-icon.gradient-bg-partner {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8BB5 100%);
    color: var(--white);
}

/* 서비스 링크 배너 */
.service-links-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.service-link-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: transform 0.45s var(--ease-out-expo) 0.05s,
                background 0.35s var(--ease-smooth) 0.1s,
                color 0.28s var(--ease-smooth) 0.08s,
                box-shadow 0.55s var(--ease-out-expo) 0.12s;
}

.service-link-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.25);
}

.service-link-item .link-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--primary);
    transition: all 0.3s var(--ease-out-expo);
}

.service-link-item:hover .link-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-link-item .link-icon svg {
    width: 18px;
    height: 18px;
}

.service-link-item .link-text {
    flex: 1;
}

.service-link-item .link-arrow-icon {
    font-size: var(--font-size-lg);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s var(--ease-out-expo);
}

.service-link-item:hover .link-arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* 서비스 아코디언 스타일 */
.services-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.service-accordion-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.55s var(--ease-out-expo) 0.05s,
                box-shadow 0.7s var(--ease-out-expo) 0.2s,
                border-color 0.6s var(--ease-smooth) 0.12s;
}

.service-accordion-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.12);
    border-color: var(--gray-300);
}

.service-accordion-item.active {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
}

/* 아코디언 색상 변형 */
.service-accordion-item[data-color="blue"].active { border-color: #0066CC; }
.service-accordion-item[data-color="green"].active { border-color: #10B981; }
.service-accordion-item[data-color="purple"].active { border-color: #8B5CF6; }
.service-accordion-item[data-color="pink"].active { border-color: #EC4899; }

.accordion-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    cursor: pointer;
    transition: background 0.28s var(--ease-smooth);
}

.accordion-header:hover {
    background: var(--gray-50);
}

.accordion-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    transition: transform 0.35s var(--ease-out-back) 0.1s,
                box-shadow 0.35s var(--ease-smooth) 0.15s;
}

.service-accordion-item:hover .accordion-icon {
    transform: scale(1.08);
}

.service-accordion-item[data-color="blue"] .accordion-icon {
    background: linear-gradient(135deg, #0066CC, #00A3E0);
    color: var(--white);
}
.service-accordion-item[data-color="green"] .accordion-icon {
    background: linear-gradient(135deg, #10B981, #34D399);
    color: var(--white);
}
.service-accordion-item[data-color="purple"] .accordion-icon {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    color: var(--white);
}
.service-accordion-item[data-color="pink"] .accordion-icon {
    background: linear-gradient(135deg, #EC4899, #F472B6);
    color: var(--white);
}

.accordion-icon svg {
    width: 28px;
    height: 28px;
}

.accordion-title {
    flex: 1;
}

.accordion-title h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.accordion-count {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    font-weight: 500;
}

.accordion-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    transition: transform 0.35s var(--ease-out-expo),
                background 0.28s var(--ease-smooth);
}

.accordion-arrow svg {
    width: 20px;
    height: 20px;
}

.service-accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    background: var(--primary);
    color: var(--white);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s var(--ease-out-expo),
                padding 0.28s var(--ease-smooth);
}

.service-accordion-item.active .accordion-content {
    max-height: 600px;
    padding: 0 var(--spacing-xl) var(--spacing-xl);
}

.accordion-desc {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

/* 프로그램 태그 */
.program-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--spacing-sm);
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
}

.program-tags::-webkit-scrollbar {
    height: 4px;
}

.program-tags::-webkit-scrollbar-track {
    background: transparent;
}

.program-tags::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

.program-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    text-decoration: none;
    min-width: 130px;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.45s var(--ease-out-expo) 0.05s,
                background 0.35s var(--ease-smooth) 0.1s,
                border-color 0.35s var(--ease-smooth) 0.08s,
                box-shadow 0.42s var(--ease-out-expo) 0.15s;
}

.program-tag:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.program-tag.featured {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 184, 0, 0.05));
    border-color: rgba(255, 107, 53, 0.3);
}

.program-tag.featured:hover {
    border-color: #FF6B35;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.2);
}

.tag-new {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
    border-radius: var(--radius-sm);
    animation: pulse 2s infinite;
}

.tag-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.tag-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-800);
}

.tag-sub {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

/* 반응형 */
@media (max-width: 768px) {
    .accordion-header {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }

    .accordion-icon {
        width: 48px;
        height: 48px;
    }

    .accordion-icon svg {
        width: 24px;
        height: 24px;
    }

    .accordion-desc,
    .program-tags {
        padding-left: 0;
    }

    .program-tag {
        min-width: 110px;
    }
}

/* SEED 배너 (레거시 유지) */
.seed-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl) var(--spacing-2xl);
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    color: var(--white);
}

.seed-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: var(--font-size-xs);
    font-weight: 700;
    background: var(--white);
    color: var(--accent);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.seed-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.seed-content p {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

/* ----------------------------------------
   섹션 7: 뉴스 & 공지
   ---------------------------------------- */
.news {
    padding: var(--spacing-5xl) 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.news-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--gray-900);
}

.news-column-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-list li {
    border-bottom: 1px solid var(--gray-200);
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    transition: all var(--transition);
}

.news-list a:hover {
    color: var(--primary);
}

.news-title {
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list a:hover .news-title {
    color: var(--primary);
}

.news-date {
    font-size: var(--font-size-xs);
    color: var(--gray-400);
    flex-shrink: 0;
}

.news-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.news-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    filter: brightness(1);
    transition: transform 0.3s var(--ease-out-expo),
                background 0.12s ease,
                color 0.08s ease,
                box-shadow 0.35s var(--ease-out-expo) 0.03s,
                filter 0.15s ease;
}

.news-card:hover {
    background: linear-gradient(135deg, #0066CC 0%, #00A3E0 100%);
    color: var(--white);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.35);
    filter: brightness(1.05);
}

.news-card .news-card-icon {
    transition: transform 0.35s var(--ease-out-back) 0.03s;
}

.news-card:hover .news-card-icon {
    transform: scale(1.15);
}

.news-card-icon {
    font-size: var(--font-size-xl);
}

.news-card span {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* SNS 링크 */
.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    transition: transform 0.55s var(--ease-out-expo) 0.05s,
                background 0.35s var(--ease-smooth) 0.12s,
                color 0.35s var(--ease-smooth) 0.1s,
                box-shadow 0.42s var(--ease-out-expo) 0.18s;
}

.social-link svg {
    width: 24px;
    height: 24px;
    transition: transform 0.28s var(--ease-out-back) 0.04s;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-link.facebook:hover {
    background: #1877F2;
    color: var(--white);
}

.social-link.youtube:hover {
    background: #FF0000;
    color: var(--white);
}

.social-link.youtube:hover .yt-play {
    fill: #FF0000;
}

.social-link.newsletter {
    width: auto;
    padding: 0 var(--spacing-lg);
    border-radius: var(--radius-full);
    gap: var(--spacing-sm);
}

.social-link.newsletter span {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.social-link.newsletter svg {
    width: 20px;
    height: 20px;
}

.social-link.newsletter:hover {
    background: var(--primary);
    color: var(--white);
}

/* ----------------------------------------
   섹션 8: 연혁 타임라인
   ---------------------------------------- */
.history {
    padding: var(--spacing-5xl) 0;
    background: var(--gray-50);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
}

/* 중앙 세로 라인 */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent 0%, var(--gray-300) 5%, var(--gray-300) 95%, transparent 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: var(--spacing-md) 0;
}

.timeline-item.left {
    padding-right: 40px;
    text-align: right;
}

.timeline-item.right {
    margin-left: 50%;
    padding-left: 40px;
}

/* 점 - 라인 중앙에 정확히 배치 */
.timeline-dot {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: all 0.25s ease;
}

.timeline-item.left .timeline-dot {
    right: -6px;
}

.timeline-item.right .timeline-dot {
    left: -6px;
}

.timeline-item:hover .timeline-dot {
    background: var(--primary);
    transform: translateY(-50%) scale(1.3);
}

.timeline-dot.highlight {
    width: 14px;
    height: 14px;
    background: var(--primary);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item.left .timeline-dot.highlight {
    right: -8px;
}

.timeline-item.right .timeline-dot.highlight {
    left: -8px;
}

.timeline-item:hover .timeline-dot.highlight {
    transform: translateY(-50%) scale(1.2);
}

.timeline-content {
    background: var(--white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    border-left: 3px solid var(--primary);
    transition: all 0.25s ease;
}

.timeline-item.left .timeline-content {
    border-left: none;
    border-right: 3px solid var(--primary);
}

.timeline-content:hover {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

.timeline-content.highlight {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
}

.timeline-year {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.timeline-content.highlight .timeline-year {
    color: rgba(255, 255, 255, 0.8);
}

.timeline-content h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.timeline-content p {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    line-height: 1.6;
}

.timeline-content.highlight p {
    color: rgba(255, 255, 255, 0.8);
}

.history-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* ----------------------------------------
   섹션 9: CTA
   ---------------------------------------- */
.cta {
    position: relative;
    padding: 8.4rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
}

/* CTA 파티클 모션 */
.cta-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.cta-particles::before,
.cta-particles::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 200%;
    top: 0;
    left: 0;
    background:
        radial-gradient(6px 6px at 8% 15%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(3px 3px at 20% 55%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(5px 5px at 35% 25%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 50% 70%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(7px 7px at 65% 10%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(3px 3px at 75% 45%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(4px 4px at 88% 60%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 15% 85%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(5px 5px at 42% 40%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 92% 80%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(8px 8px at 28% 90%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 58% 35%, rgba(255, 255, 255, 0.9), transparent);
    background-size: 100% 50%;
    animation: ctaFloat 14s linear infinite, ctaTwinkle 3s ease-in-out infinite alternate;
}

.cta-particles::after {
    background:
        radial-gradient(4px 4px at 12% 35%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(7px 7px at 30% 10%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 45% 75%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(5px 5px at 60% 20%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(3px 3px at 72% 55%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(6px 6px at 85% 30%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 5% 65%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(4px 4px at 38% 48%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(8px 8px at 95% 85%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(3px 3px at 52% 5%, rgba(255, 255, 255, 0.9), transparent);
    background-size: 100% 50%;
    animation: ctaFloat 18s linear infinite reverse, ctaTwinkle 4s ease-in-out infinite alternate-reverse;
}

@keyframes ctaFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes ctaTwinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* CTA 글로우 오브 */
.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.cta-glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 163, 224, 0.2);
    top: -100px;
    right: -100px;
    animation: ctaGlow1 8s ease-in-out infinite alternate;
}

.cta-glow-2 {
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.08);
    bottom: -80px;
    left: -80px;
    animation: ctaGlow2 10s ease-in-out infinite alternate;
}

@keyframes ctaGlow1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    50% { transform: translate(-40px, 30px) scale(1.2); opacity: 0.35; }
    100% { transform: translate(-20px, 60px) scale(1); opacity: 0.2; }
}

@keyframes ctaGlow2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.08; }
    50% { transform: translate(50px, -30px) scale(1.3); opacity: 0.15; }
    100% { transform: translate(30px, -50px) scale(1.1); opacity: 0.08; }
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-lg);
}

.cta-content > p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.cta-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-contact-label {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.cta-contact-info {
    display: flex;
    align-items: center;
    gap: 26px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 55px;
    padding: 20px 44px;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.cta-contact-item:hover {
    color: #fff;
    text-decoration: none;
}

.cta-contact-item:link,
.cta-contact-item:visited,
.cta-contact-item:active {
    text-decoration: none;
}

.cta-contact-item svg {
    opacity: 0.7;
    flex-shrink: 0;
}

.cta-contact-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.95rem;
}

.cta-contact {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.cta-contact a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cta-contact a:hover {
    opacity: 0.9;
}

/* ----------------------------------------
   섹션 10: 푸터
   ---------------------------------------- */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--spacing-2xl) 0;
    margin-bottom: 0;
}

html {
    background-color: var(--gray-900);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-800);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.footer-select {
    min-width: 200px;
    padding: 10px 14px;
    font-size: var(--font-size-sm);
    color: var(--gray-200);
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 6px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
}

.footer-select:hover {
    border-color: var(--gray-500);
}

.footer-select option {
    color: var(--gray-900);
    background: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin: 0;
}

.footer-logo img {
    height: 48px;
    width: auto;
    display: block;
}

.footer-contact {
    margin: 0;
}

.footer-contact p {
    font-size: var(--font-size-sm);
    margin: 0;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.footer-contact strong {
    color: var(--gray-300);
    margin-right: var(--spacing-sm);
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-policies {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-policies a {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.footer-policies a:hover {
    color: var(--white);
}

.copyright {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

/* ----------------------------------------
   반응형 디자인
   ---------------------------------------- */
@media (max-width: 1024px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .business-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-links-banner {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-main {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        gap: var(--spacing-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        color: var(--gray-700);
        padding: var(--spacing-sm) 0;
    }

    .hamburger {
        display: flex;
    }

    .mega-menu {
        display: none !important;
    }

    .nav-menu a::after {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-4xl: 1.875rem;
        --font-size-5xl: 2.25rem;
        --font-size-6xl: 2.75rem;
    }

    .hero-desc br {
        display: none;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .leader-message {
        flex-direction: column;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .tab-btn.active {
        border-left-color: var(--primary);
        border-bottom-color: transparent;
    }

    .modality-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gate-philosophy {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid-4col {
        grid-template-columns: 1fr;
    }

    .service-links-banner {
        grid-template-columns: 1fr;
    }

    .service-card.large {
        grid-column: span 1;
    }

    .seed-banner {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-sub-thumb {
        width: 72px;
        height: 54px;
    }

    .timeline-line {
        left: 16px;
    }

    .timeline-item {
        width: 100%;
        padding-left: var(--spacing-3xl);
        padding-right: 0;
        text-align: left;
    }

    .timeline-item.left {
        padding-right: 0;
    }

    .timeline-item.right {
        margin-left: 0;
    }

    .timeline-item .timeline-dot {
        left: 8px;
        right: auto;
    }

    .timeline-item .timeline-dot.highlight {
        left: 4px;
    }

    .cta-content h2 br {
        display: none;
    }

    .footer-links {
        flex-wrap: wrap;
        width: 100%;
    }

    .footer-select {
        min-width: 0;
        flex: 1 1 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .modality-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-contact-info {
        flex-direction: column;
        gap: 12px;
        border-radius: 16px;
        padding: 16px 24px;
    }

    .cta-contact-divider {
        display: none;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------
   애니메이션 (스크롤 기반)
   ---------------------------------------- */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"].aos-animate,
[data-aos="fade-down"].aos-animate,
[data-aos="fade-left"].aos-animate,
[data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ----------------------------------------
   펄스 애니메이션 효과
   ---------------------------------------- */

/* 네비게이션 문의하기 버튼 펄스 */
.btn-nav {
    animation: pulse-nav 3s ease-in-out infinite;
}

@keyframes pulse-nav {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 102, 204, 0);
    }
}

.btn-nav:hover {
    animation: none;
}

/* CTA 섹션 주요 버튼 펄스 */
.cta .btn-white.btn-large {
    animation: pulse-cta 2.5s ease-in-out infinite;
}

@keyframes pulse-cta {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }
}

.cta .btn-white.btn-large:hover {
    animation: none;
}

/* 히어로 버튼 펄스 */
.hero-buttons .btn-primary {
    animation: pulse-hero 3s ease-in-out infinite;
}

@keyframes pulse-hero {
    0%, 100% {
        box-shadow: 0 4px 14px 0 rgba(0, 102, 204, 0.35);
    }
    50% {
        box-shadow: 0 4px 14px 0 rgba(0, 102, 204, 0.35), 0 0 0 10px rgba(0, 102, 204, 0);
    }
}

.hero-buttons .btn-primary:hover {
    animation: none;
}

/* 파이프라인 Phase 3 펄스 */
.funnel-bar.phase3 .funnel-pulse,
.funnel-pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    animation: pulse-phase3 2s ease-in-out infinite;
}

@keyframes pulse-phase3 {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

/* 벤토 그라데이션 배지 펄스 */
.bento-gradient-badge {
    animation: pulse-badge 2.5s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
}

/* 서비스 링크 배너 아이템 호버 펄스 */
.service-link-item:hover .link-icon {
    animation: pulse-icon 0.6s ease-out;
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* 뉴스레터 구독 버튼 펄스 */
.social-link.newsletter {
    animation: pulse-newsletter 2.5s ease-in-out infinite;
}

@keyframes pulse-newsletter {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 102, 204, 0);
    }
}

.social-link.newsletter:hover {
    animation: none;
}

/* ========================================
   Subpage Styles
   ======================================== */

/* Subpage Hero */
.subpage-hero {
    position: relative;
    padding: 170px 0 150px;
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}
.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: grayscale(20%);
}
.subpage-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}
.subpage-hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}
.subpage-hero-desc {
    font-size: var(--font-size-lg);
    color: rgba(255,255,255,0.8);
}

/* Subpage Content Container */
.subpage-content {
    padding: var(--spacing-4xl) 0;
    background-color: var(--gray-50);
    min-height: 500px;
}
.subpage-content .container {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 4rem 2.5rem;
}

/* Board Header (Title & Search) */
.board-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-xl);
}
.board-title h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.board-search {
    display: flex;
    gap: var(--spacing-sm);
}
.board-search select,
.board-search input {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    outline: none;
    transition: border-color var(--transition);
}
.board-search select:focus,
.board-search input:focus {
    border-color: var(--primary);
}
.board-search button {
    background: var(--primary);
    color: var(--white);
    padding: 0 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: var(--font-size-lg);
    transition: background var(--transition);
}
.board-search button:hover {
    background: var(--primary-dark);
}

/* 게시판 검색 셀렉트 — 네이티브 화살표가 '전체' 글자에 붙는 문제: 커스텀 캐럿 + 우측 여백 확보 */
.board-search select,
#sub_sc.board-wide .search_con .select_input select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.5rem;
}
/* 정보마당 게시판 검색 셀렉트 — 폭 확보 + 좌측 여백 */
#sub_sc.board-wide .search_con .select_input { width: 150px; }
#sub_sc.board-wide .search_con .select_input select { padding-left: 0.85rem; }

/* Board Table */
.board-table-wrap {
    overflow-x: auto;
}
.board-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    min-width: 800px;
}
.board-table th, .board-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--gray-200);
}
.board-table th {
    padding: 0.875rem 1rem;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-top: 2px solid var(--primary);
    border-bottom: 1px solid var(--primary);
}
.board-table tr:hover td {
    background-color: var(--gray-50);
}
.board-table .subject {
    text-align: left;
    width: 55%;
}
/* 헤더(th)는 가운데 정렬이 표준 — 본문 셀(td)만 좌측 정렬 */
.board-table th.subject { text-align: center; }
.board-table .subject a {
    color: var(--gray-800);
    font-weight: 500;
    transition: color var(--transition-fast);
}
.board-table .subject a:hover {
    color: var(--primary);
    text-decoration: underline;
}
.board-table .notice td {
    background-color: rgba(0, 102, 204, 0.03);
    font-weight: 600;
}
.board-table .notice:hover td {
    background-color: rgba(0, 102, 204, 0.06);
}
.board-table .notice .td_num p {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    margin: 0;
}
.board-table .td_date, .board-table .td_view, .board-table .td_num {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    color: var(--gray-600);
    font-weight: 500;
    transition: all var(--transition);
}
.pagination a:hover {
    background-color: var(--gray-100);
    color: var(--primary);
}
.pagination .active {
    background-color: var(--primary);
    color: var(--white);
}
.pagination .page-arrow {
    background-color: transparent;
    border: 1px solid var(--gray-200);
}
.pagination .page-arrow:hover {
    background-color: var(--gray-50);
    border-color: var(--gray-300);
}

@media (max-width: 768px) {
    .board-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    .board-search {
        width: 100%;
    }
    .board-search select {
        width: 30%;
    }
    .board-search input {
        width: 50%;
    }
    .board-search button {
        width: 20%;
        padding: 0;
    }
}

/* Board View (게시물 상세) */
.board-view {
    border-top: 2px solid var(--primary);
}
.board-view-head {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
}
.board-view-cat {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}
.board-view-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
    letter-spacing: -0.02em;
}
.board-view-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}
.board-view-info {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}
.board-view-info li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gray-500);
    font-size: var(--font-size-sm);
}
.board-view-info li i {
    font-size: 1.05rem;
    color: var(--gray-400);
}
.board-view-share .view_share_box {
    font-size: 0;
}
.board-view-share .view_share_box > a {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-left: 3px;
}
.board-view-share .view_share_box > a > img {
    width: 100%;
    height: 100%;
}
.board-view-files {
    list-style: none;
    margin: 0;
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--gray-200);
}
.board-view-files li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}
.board-view-files li i {
    color: var(--primary);
}
.board-view-files a {
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}
.board-view-files a:hover {
    color: var(--primary);
    text-decoration: underline;
}
.board-view-body {
    padding: var(--spacing-2xl) 0;
    min-height: 240px;
    color: var(--gray-700);
    line-height: 1.8;
    font-size: var(--font-size-base);
    border-bottom: 1px solid var(--gray-200);
}
.board-view-body img {
    max-width: 100%;
    height: auto;
}
.board-view-body table {
    max-width: 100%;
}

/* 이전/다음 */
.board-view-nav {
    list-style: none;
    margin: var(--spacing-xl) 0 0;
    padding: 0;
    border-top: 1px solid var(--gray-200);
}
.board-view-nav .bvn-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-sm);
    border-bottom: 1px solid var(--gray-200);
}
.board-view-nav .bvn-label {
    flex: 0 0 60px;
    font-weight: 700;
    color: var(--gray-900);
    font-size: var(--font-size-sm);
}
.board-view-nav .bvn-link {
    flex: 1 1 auto;
    color: var(--gray-700);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--transition-fast);
}
.board-view-nav .bvn-link:hover {
    color: var(--primary);
    text-decoration: underline;
}
.board-view-nav .bvn-date {
    flex: 0 0 auto;
    color: var(--gray-400);
    font-size: var(--font-size-sm);
}

/* 목록 버튼 */
.board-view-foot {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-2xl);
}
.board-list-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2.5rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.board-list-btn:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .board-view-nav .bvn-date { display: none; }
    .board-view-nav .bvn-label { flex-basis: 44px; }
    .board-view-title { font-size: var(--font-size-xl); }
}

/* ── 히어로 아래 전체 너비 탭바 (chethanol 스타일) ── */
.subnav-tabs-bar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
}
.subnav-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
}
.subnav-tabs li {
    margin-bottom: -1px;
}
.subnav-tabs a {
    display: block;
    padding: 1.1rem 2.4rem;
    font-size: 1rem;
    font-weight: 500;
    color: #777;
    border-bottom: 3px solid transparent;
    letter-spacing: -0.01em;
    transition: color 0.18s, border-color 0.18s;
    white-space: nowrap;
}
.subnav-tabs a:hover {
    color: #0053A0;
    border-bottom-color: rgba(0,83,160,0.25);
}
.subnav-tabs li.active a {
    color: #0053A0;
    font-weight: 700;
    border-bottom-color: #0053A0;
}

@media (max-width: 768px) {
    .subnav-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .subnav-tabs a {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* 기존 in-content 탭 모두 숨김 (SubNav로 통합) */
.subpage-tabs-wrap,
#sub_sc .subpage-tabs-wrap,
.subpage-content .container .subpage-tabs-wrap {
    display: none !important;
}

/* 프로그램 내부 서브탭 (사업소개 ↔ 지원과제 ↔ 과제탐방) */
.prog-subtabs-bar {
    margin: 0 0 2.4rem;
}
.prog-subtabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.5rem;
    background: #f1f5f9;
    border-radius: 14px;
}
.prog-subtabs li {
    flex: 1 1 auto;
    text-align: center;
}
.prog-subtabs a {
    display: block;
    padding: 0.95rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #475569;
    border-radius: 10px;
    white-space: nowrap;
    transition: background-color .18s, color .18s, box-shadow .18s;
}
.prog-subtabs a:hover {
    color: #0053A0;
    background: rgba(0,83,160,0.08);
}
.prog-subtabs li.active a {
    color: #fff;
    background: #0053A0;
    box-shadow: 0 4px 12px rgba(0,83,160,0.25);
}

@media (max-width: 768px) {
    .prog-subtabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .prog-subtabs li {
        flex: 0 0 auto;
    }
    .prog-subtabs a {
        padding: 0.8rem 1.1rem;
        font-size: 0.9rem;
    }
}

/* 파이프라인 지원과제(covid·gov) 외형 통일 — nationalbiz .pl-* 톤에 맞춤 */
.plw-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 28px 30px;
    margin-bottom: 28px;
    box-shadow: 0 4px 18px rgba(15,30,60,.05);
}
.plw-card > h2 {
    font-size: 20px;
    font-weight: 700;
    color: #15243a;
    letter-spacing: -.4px;
    line-height: 1.35;
    margin: 0 0 18px;
    padding-left: 13px;
    border-left: 4px solid #0053A0;
}
/* covid: 임상지원 사업 목록 표 */
.plw-card .board_table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.plw-card .board_table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}
.plw-card .board_table thead th {
    background: #f1f5fb;
    color: #0053A0;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 12px;
    border: 0;
    border-bottom: 2px solid #d6e2f2;
    white-space: nowrap;
}
.plw-card .board_table tbody td {
    padding: 13px 12px;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    border-bottom: 1px solid #eef2f7;
    text-align: center;
}
.plw-card .board_table tbody td.project-name {
    text-align: left;
    color: #1f2a37;
    font-weight: 500;
}
.plw-card .board_table tbody tr:hover td {
    background: #f8fafd;
}
/* gov: 단계 × 상태 매트릭스 */
.plw-card .pipline_title {
    margin-bottom: 22px;
}
.plw-card .pipline_title_box h2 {
    font-size: 20px;
    font-weight: 700;
    color: #15243a;
    letter-spacing: -.4px;
}
.plw-card .pipline_title_box p {
    color: #0080cb;
    font-weight: 600;
}
.plw-card .pipline_table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.plw-card .pipline_table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 880px;
}
.plw-card .pipline_table th {
    background: #f1f5fb;
    color: #0053A0;
    font-weight: 700;
    font-size: 13.5px;
    padding: 13px 8px;
    border: 1px solid #d6e2f2;
    text-align: center;
}
.plw-card .pipline_table td {
    border: 1px solid #eef2f7;
    vertical-align: top;
    padding: 10px 8px;
}
.plw-card .pipline_table td.td_sort {
    background: #f8fafd;
    font-weight: 700;
    color: #15243a;
    font-size: 13.5px;
    text-align: center;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .plw-card { padding: 20px 16px 24px; }
    .plw-card > h2 { font-size: 17px; }
}

/* Greeting Styles (welcome.html) */
.greeting-wrap {
    padding: var(--spacing-2xl) 0;
    max-width: 900px;
    margin: 0 auto;
}
.greeting-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary);
}
.greeting-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.greeting-body {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.greeting-lead {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xl);
    line-height: 1.5;
}
.greeting-text p {
    font-size: var(--font-size-base);
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}
.greeting-values {
    margin: var(--spacing-2xl) 0;
    padding-left: 0;
    list-style: none;
}
.greeting-values li {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    line-height: 1.6;
    color: var(--gray-700);
    border-left: 4px solid var(--primary);
}
.greeting-values li strong {
    color: var(--primary);
    font-size: var(--font-size-lg);
    display: block;
    margin-bottom: var(--spacing-xs);
}
.greeting-signature {
    margin-top: var(--spacing-3xl);
    text-align: right;
    font-size: var(--font-size-lg);
    color: var(--gray-800);
}
.greeting-signature span {
    display: block;
    font-size: var(--font-size-base);
    color: var(--gray-600);
    margin-bottom: var(--spacing-xs);
}
.greeting-signature strong {
    font-size: var(--font-size-2xl);
}

/* ========================================
   서브페이지 네비게이션-히어로 연결 (투명 navbar)
   ======================================== */

/* ========================================
   인사말 페이지 디자인 (Editorial Layout)
   ======================================== */

/* HERO — 풀폭 가로 인물 사진 + 우하단 오버랩 인용 카드 */
.greeting-hero {
    position: relative;
    margin: 2rem 0 2rem;
}
.greeting-hero-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1110 / 503;
    max-height: 480px;
    overflow: hidden;
    border-radius: 6px;
    background: linear-gradient(135deg, #f4f8fc 0%, #e6eef8 100%);
    box-shadow: 0 24px 60px -28px rgba(0, 51, 119, 0.4);
}
.greeting-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}
.greeting-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.55) 28%, rgba(255,255,255,0) 50%);
    pointer-events: none;
}
.greeting-hero-card {
    position: absolute;
    left: 3rem;
    bottom: -3.5rem;
    width: 460px;
    background: #ffffff;
    padding: 2.5rem 2.25rem 2rem;
    border-radius: 6px;
    border-left: 4px solid #0053A0;
    box-shadow: 0 30px 60px -20px rgba(0, 51, 119, 0.28),
                0 8px 20px -8px rgba(0, 51, 119, 0.12);
    z-index: 2;
}
.greeting-hero-quotemark {
    position: absolute;
    top: -1.5rem;
    left: 1.25rem;
    font-size: 6rem;
    line-height: 1;
    color: #0053A0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    opacity: 0.18;
    pointer-events: none;
}
.greeting-hero-quote {
    font-size: 1.35rem;
    font-weight: 700;
    color: #102a4c;
    line-height: 1.7;
    letter-spacing: -0.015em;
    margin: 0 0 1.75rem;
    word-break: keep-all;
}
.greeting-hero-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eef2f7;
}
.greeting-hero-name span {
    display: block;
    font-size: 0.72rem;
    color: #6a7c95;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.greeting-hero-name strong {
    display: block;
    font-size: 1.25rem;
    color: #0053A0;
    font-weight: 800;
    letter-spacing: 0.14em;
}
.greeting-hero-meta img {
    height: 46px;
    width: auto;
    opacity: 0.7;
}

/* ESSAY — 좌측 sticky lead + 우측 본문 */
.greeting-essay {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 3rem auto 4rem;
    padding: 0 0.5rem;
}
.greeting-essay-lead {
    border-top: 3px solid #0053A0;
    padding-top: 1.5rem;
    position: sticky;
    top: 100px;
    align-self: start;
}
.greeting-essay-caption {
    display: block;
    font-size: 0.72rem;
    color: #0053A0;
    font-weight: 800;
    letter-spacing: 0.24em;
    margin-bottom: 1.5rem;
}
.greeting-essay-lead p {
    font-size: 1.55rem;
    font-weight: 700;
    color: #102a4c;
    line-height: 1.55;
    letter-spacing: -0.015em;
    margin: 0;
    word-break: keep-all;
}
.greeting-essay-lead strong {
    color: #0053A0;
    font-weight: 800;
}
.greeting-essay-body p {
    font-size: 1.05rem;
    line-height: 1.95;
    color: #34425a;
    margin-bottom: 1.5rem;
    word-break: keep-all;
}
.greeting-essay-body p:last-child {
    margin-bottom: 0;
}
.greeting-essay-pledge {
    font-weight: 700 !important;
    color: #102a4c !important;
    font-size: 1.1rem !important;
    margin-top: 2.25rem !important;
    line-height: 1.7 !important;
}

/* PRINCIPLES — 가로 와이드 리스트 */
.greeting-principles {
    max-width: 1100px;
    margin: 0 auto 5rem;
    padding: 0 0.5rem;
    border-top: 1px solid #d6dfeb;
}
.principle-row {
    display: grid;
    grid-template-columns: 110px 80px 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 0.25rem;
    border-bottom: 1px solid #e6ecf3;
    position: relative;
}
.principle-num {
    font-size: 3.75rem;
    font-weight: 800;
    color: #0053A0;
    line-height: 1;
    letter-spacing: -0.03em;
    font-family: Georgia, "Times New Roman", serif;
    opacity: 0.95;
}
.principle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #0053A0;
    font-size: 1.5rem;
}
.principle-text h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #102a4c;
    margin: 0 0 0.5rem;
    letter-spacing: -0.012em;
}
.principle-text p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #5b6b85;
    margin: 0;
    word-break: keep-all;
    max-width: 720px;
}

/* CLOSING — 줄글 형태 */
.greeting-closing {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 0.5rem 2rem;
    text-align: center;
}
.greeting-closing-quote {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0053A0;
    line-height: 1.6;
    letter-spacing: -0.015em;
    margin: 0 0 2rem;
    word-break: keep-all;
}
.greeting-closing-text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #34425a;
    text-align: center;
    margin: 0 0 2.5rem;
    word-break: keep-all;
    font-weight: 500;
}
.greeting-closing-sign {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    justify-content: center;
}
.greeting-closing-name {
    text-align: right;
}
.greeting-closing-name span {
    display: block;
    font-size: 0.72rem;
    color: #6a7c95;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.greeting-closing-name strong {
    display: block;
    font-size: 1.35rem;
    color: #0053A0;
    font-weight: 800;
    letter-spacing: 0.14em;
}
.greeting-closing-sign img {
    height: 58px;
    width: auto;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 1100px) {
    .greeting-hero-card { left: 1.5rem; width: 400px; bottom: -2.5rem; }
    .greeting-essay { grid-template-columns: 240px 1fr; gap: 2.5rem; margin-top: 5.5rem; }
    .greeting-essay-lead p { font-size: 1.35rem; }
}
@media (max-width: 900px) {
    .greeting-hero { margin-bottom: 3rem; }
    .greeting-hero-photo { aspect-ratio: 4 / 3; max-height: 400px; }
    .greeting-hero-photo::after {
        background: linear-gradient(180deg, transparent 0%, transparent 35%, rgba(255,255,255,0.4) 70%, rgba(255,255,255,0.95) 100%);
    }
    .greeting-hero-card {
        position: relative; left: auto; right: auto; bottom: auto;
        width: auto; margin: -3rem 1rem 0;
    }
    .greeting-essay {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 4rem auto;
    }
    .greeting-essay-lead { position: relative; top: auto; }
    .greeting-essay-lead p { font-size: 1.3rem; }
    .principle-row { grid-template-columns: 70px 56px 1fr; gap: 1.25rem; padding: 1.75rem 0.75rem; }
    .principle-num { font-size: 2.75rem; }
    .principle-icon { width: 52px; height: 52px; font-size: 1.2rem; }
    .principle-text h4 { font-size: 1.15rem; }
    .greeting-closing { padding: 2.5rem 0.5rem 1.5rem; }
    .greeting-closing-text { font-size: 1.05rem; }
    .greeting-closing-quote { font-size: 1.3rem; }
}
@media (max-width: 600px) {
    .greeting-hero-photo {
        aspect-ratio: 3 / 4;
        max-height: 520px;
    }
    .greeting-hero-photo img { object-position: 70% center; }
    .greeting-hero-photo::after {
        background: linear-gradient(180deg, transparent 0%, transparent 45%, rgba(255,255,255,0.55) 75%, rgba(255,255,255,0.95) 100%);
    }
    .greeting-hero-card { padding: 1.75rem 1.5rem 1.5rem; margin: -4rem 0.75rem 0; }
    .greeting-hero-quote { font-size: 1.15rem; }
    .greeting-hero-quotemark { font-size: 5rem; top: -1.2rem; }
    .greeting-hero-meta { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .principle-row {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        padding: 1.5rem 0.5rem;
    }
    .principle-row:hover { padding-left: 0.5rem; }
    .principle-icon { display: none; }
    .principle-num { font-size: 2.25rem; }
    .principle-text h4 { font-size: 1.05rem; }
    .principle-text p { font-size: 0.9rem; }
    .greeting-closing { padding: 2rem 0.5rem 1rem; }
    .greeting-closing-text { font-size: 1rem; }
    .greeting-closing-quote { font-size: 1.2rem; }
    .greeting-closing-sign { flex-direction: column; gap: 1rem; }
    .greeting-closing-name { text-align: center; }
}

/* 비전 페이지 중앙 정렬 */
.vision_img {
    display: flex;
    justify-content: center;
    align-items: center;
}
.vision_img .vision_img_box {
    display: flex;
    justify-content: center;
    align-items: center;
}
.vision_img .vision_img_box img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* 콘텐츠 박스 내 페이지 제목 */
.content-page-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: #111827;
    text-align: center;
    padding: 2.5rem 0 2rem;
    margin: 0;
}

/* 기존 sitemap 브레드크럼 숨김 */
.sitemap_con { display: none !important; }

/* 브레드크럼 바 */
.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid #e8ecf0;
}
.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    font-size: 0.85rem;
    color: #6b7280;
}
.breadcrumb-home {
    color: #6b7280;
    display: flex;
    align-items: center;
}
.breadcrumb-home:hover { color: var(--primary); }
.breadcrumb-sep { font-size: 0.7rem; color: #9ca3af; }
.breadcrumb-current { color: #1f2937; font-weight: 500; }

/* navbar 투명 보장 - 스크롤 전 상태 */
.navbar:not(.scrolled) {
    background: transparent !important;
    box-shadow: none !important;
}

/* 서브페이지 히어로: 페이지 최상단부터 시작 (navbar height 포함) */
.subpage-hero {
    margin-top: 0 !important;
    padding-top: 170px !important;
}

/* ========================================
   sub_sc_wrap → subpage-content 스타일 통일
   (BoardList 외 모든 서브페이지)
   ======================================== */

#sub_sc.sub_sc_wrap {
    background: #fff !important;
    padding: 0 !important;
}
#sub_sc .sub_sc_area {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 3.5rem 2rem !important;
}
#sub_sc .sub_sc_con {
    padding: 0 0 100px !important;
}
#sub_sc .sub_sc_size {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
}

/* SubMenu 내 히어로·브레드크럼 숨김 (SubNav에서 처리) */
#sub_sc .subpage-hero { display: none !important; }
#sub_sc .breadcrumb-bar { display: none !important; }

/* 기존 탭 래퍼 완전 제거 (subnav-tabs-bar로 대체) */

/* 서브타이틀 */
#sub_sc .sub_title {
    display: block !important;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 80px;
}
#sub_sc .sub_title h2 {
    font-family: var(--font-family);
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: #102a4c;
    letter-spacing: -0.03em;
    line-height: 1.3;
    margin: 0;
}

/* ============================================================
   KO1 서브페이지 디자인 통일
   - ko1 메인(stage.kddf.org/ko?v=ko1)과 일관된 서브페이지 스타일
   - 적용 기준: #001630 다크블루 그라디언트 + 플랫 카드 + 1px 라인
============================================================ */

/* ── 브레드크럼 ── */
.breadcrumb-bar {
    background: #fff !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* ── 브레드크럼 — 히어로 내 하단 배치 ── */
.subpage-hero {
    position: relative;
}
.subpage-hero .breadcrumb-bar {
    position: absolute !important;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 40, 100, 0.35) !important;
    border-bottom: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.subpage-hero .breadcrumb-inner {
    color: rgba(255, 255, 255, 0.7);
}
.subpage-hero .breadcrumb-home {
    color: rgba(255, 255, 255, 0.7);
}
.subpage-hero .breadcrumb-home:hover {
    color: #fff;
}
.subpage-hero .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
}
.subpage-hero .breadcrumb-current {
    color: #fff;
    font-weight: 500;
}

/* ── 콘텐츠 영역: 흰 배경, 박스 없음 ── */
#sub_sc.sub_sc_wrap {
    background: #fff !important;
}
.subpage-content {
    background: #fff !important;
}
#sub_sc .sub_sc_size {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}
.subpage-content .container {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* ── 페이지 타이틀 ── */
.content-page-title {
    font-weight: 700 !important;
    color: #1C2B4A !important;
    letter-spacing: -0.02em !important;
}

/* 콘텐츠 내 페이지 제목 */
.content-page-title {
    display: block !important;
    font-size: var(--font-size-5xl) !important;
    font-weight: 700 !important;
    color: #111827 !important;
    text-align: center !important;
    padding: 2.5rem 0 2rem !important;
    margin: 0 !important;
    letter-spacing: normal !important;
    border-bottom: none !important;
}

/* 브레드크럼 바 ↔ 콘텐츠 상단 간격 축소 */
.subpage-content { padding-top: 1.5rem !important; }
.subpage-content .container { padding-top: 1.5rem !important; }

/* ============================================================
   사업공고(business_notice) — 공지사항 신규 디자인 + 접수기간·상태 컬럼
============================================================ */
.board-table.biz .num    { width: 8%; }
.board-table.biz .subject{ width: 54%; }
.board-table.biz .date   { width: 11%; }
.board-table.biz .period { width: 18%; }
.board-table.biz .state  { width: 9%; }
.board-table.biz .td_period {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    white-space: nowrap;
}
.board-table.biz .td_state .state_txt {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}
.board-table.biz .state_txt.pass  { background: rgba(0, 102, 204, 0.1); color: var(--primary); }   /* 진행 */
.board-table.biz .state_txt.stop  { background: #f1f5f9; color: #64748b; }                          /* 대기 */
.board-table.biz .state_txt.close { background: #e2e8f0; color: #94a3b8; }                          /* 완료 */

/* 진행중 공고 행 — 다른 색으로 구분 */
.board-table.biz tbody tr.ongoing > td { background: #eef6ff; }
.board-table.biz tbody tr.ongoing:hover > td { background: #e1efff; }
.board-table.biz tbody tr.ongoing td.subject a { color: var(--primary); font-weight: 600; }

/* ============================================================
   게시판 최대폭 통일 — 공지사항(.container 1280px)과 동일하게
   (보도자료 / 카드뉴스 / 갤러리 등 구 sub_sc 레이아웃 게시판)
============================================================ */
#sub_sc.board-wide .sub_sc_area { max-width: 1280px !important; }

/* 갤러리: 폭이 넓어진 만큼 썸네일도 키워 여백만 늘지 않도록 */
#sub_sc.board-wide .gallery_list_box > li {
    width: calc((100% - 80px) / 3);
    height: auto;
    margin-right: 40px;
}
#sub_sc.board-wide .gallery_list_box > li:nth-of-type(3n) { margin-right: 0; }
#sub_sc.board-wide .gallery_list_box > li .gallery_img { height: 270px; }
#sub_sc.board-wide .gallery_list_box > li .gallery_img > a > img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: none;
    object-fit: cover;
}
@media all and (max-width: 801px) {
    #sub_sc.board-wide .gallery_list_box > li {
        width: calc((100% - 31px) / 2);
        margin-right: 30px;
    }
    #sub_sc.board-wide .gallery_list_box > li:nth-of-type(3n) { margin-right: 30px; }
    #sub_sc.board-wide .gallery_list_box > li:nth-of-type(2n) { margin-right: 0; }
    #sub_sc.board-wide .gallery_list_box > li .gallery_img { height: 220px; }
}
@media all and (max-width: 481px) {
    #sub_sc.board-wide .gallery_list_box > li { width: 100%; float: none; margin-right: 0; }
    #sub_sc.board-wide .gallery_list_box > li .gallery_img { height: 240px; }
}

/* ============================================================
   구 게시판 표(규정및양식 등) → 공지사항 신규 .board-table 룩으로 통일
   (board-wide 범위로 한정 — 정보마당 게시판에만 적용)
============================================================ */
#sub_sc.board-wide .board_list_con .board_table table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
#sub_sc.board-wide .board_list_con .board_table table th {
    padding: 0.875rem 1rem;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-top: 2px solid var(--primary);
    border-bottom: 1px solid var(--primary);
}
#sub_sc.board-wide .board_list_con .board_table table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    font-weight: 400;
}
#sub_sc.board-wide .board_list_con .board_table table tr:hover td {
    background-color: var(--gray-50);
}
#sub_sc.board-wide .board_list_con .board_table table td.subject,
#sub_sc.board-wide .board_list_con .board_table table td.align_l {
    text-align: left;
}
#sub_sc.board-wide .board_list_con .board_table table td.subject > a {
    color: var(--gray-800);
    font-weight: 500;
}
#sub_sc.board-wide .board_list_con .board_table table td.subject > a:hover {
    color: var(--primary);
    text-decoration: underline;
}
#sub_sc.board-wide .board_list_con .board_table table td.subject > a > span {
    color: var(--primary);
}
#sub_sc.board-wide .board_list_con .board_table table td > p {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
}
#sub_sc.board-wide .board_list_con .board_table table td .state_txt {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--white);
}

/* 연구·산업동향/보도자료 썸네일 — 안쪽 2px 프레임(흰 배경 이미지 정돈) */
#sub_sc.board-wide .news_list_box > li .news_img {
    outline: 2px solid var(--gray-200);
    outline-offset: -2px;
}

/* 검색 버튼 돋보기 아이콘 가운데 정렬(자주묻는질문 등 detail_search 검색바) */
#sub_sc.board-wide .detail_search_con .search_input .text_input > button {
    display: flex;
    align-items: center;
    justify-content: center;
}
#sub_sc.board-wide .detail_search_con .search_input .text_input > button > img {
    top: 0;
    width: 16px;
    height: 16px;
    object-fit: contain;
}



/* ═══════════════════════════════════════════
   인사말 새 레이아웃 (gw-*)
═══════════════════════════════════════════ */
.gw-layout {
    padding: 2.5rem 0 0;
}

/* 상단: 좌(사진+서명) / 우(본문 전체) 2단 — 본문은 모두 동일 시작점 정렬 */
.gw-top {
    display: grid;
    grid-template-columns: 360px 1fr;
    column-gap: 3.5rem;
    align-items: start;
    margin-bottom: 0;
}
.gw-top-left {
    min-width: 0;
}

/* 타이틀 — 슬로건을 헤드라인으로 */
.gw-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.45;
    color: #102a4c;
    letter-spacing: -0.03em;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e3e8ef;
    word-break: keep-all;
}
.gw-title-accent {
    color: #0082D1;
}

/* 인사말 — 강조 축소 */
.gw-greeting {
    font-size: 18px;
    font-weight: 600;
    color: #102a4c;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    word-break: keep-all;
}

/* 본문 단락 */
.gw-body-paras p {
    font-size: 17px;
    line-height: 1.95;
    color: #333333;
    margin-bottom: 1.1rem;
    word-break: keep-all;
}
.gw-body-paras p:last-child { margin-bottom: 0; }

/* CEO 사진 — 좌측 컬럼 상단 */
.gw-photo {
    position: relative;
    z-index: 0;
    margin: 0.4rem 0 0;
    padding-bottom: 36px;
    padding-left: 36px;
}
.gw-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    background: #ECECEC;
    z-index: 1;
}
.gw-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    position: relative;
    z-index: 2;
}

/* 4대 원칙 */
.gw-principles {
    padding-top: 0.25rem;
    margin-bottom: 1.2rem;
}
.gw-principles-intro {
    font-size: 17px;
    color: #333333;
    line-height: 1.85;
    margin-bottom: 1.75rem;
}
.gw-principles p {
    font-size: 17px;
    line-height: 1.5;
    color: #333333;
    margin-bottom: 1.35rem;
    word-break: keep-all;
}
.gw-principles p:last-child { margin-bottom: 0; }
.gw-principles p strong {
    display: block;
    color: #102a4c;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.gw-principles p span {
    display: block;
    font-size: 17px;
    color: #333333;
    line-height: 1.75;
}

/* 마무리 */
.gw-footer {
    padding-top: 1rem;
}
.gw-footer > p {
    font-size: 17px;
    line-height: 1.95;
    color: #333333;
    margin-bottom: 2rem;
}

/* 직함·성명 — 사진 아래, 우측 정렬 */
.gw-aside-name {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}
.gw-aside-name span {
    font-size: 17px;
    color: #6a7c95;
}
.gw-aside-name strong {
    font-size: 24px;
    color: #102a4c;
    font-weight: 800;
    letter-spacing: 0.12em;
}

/* 서명 이미지 — 본문 끝, 우측 정렬 (영문 info/welcome 등에서 사용) */
.gw-signature {
    margin-top: 2.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.gw-signature img {
    width: auto;
    height: auto;
    opacity: 0.85;
}

/* 성명 + 서명 한 줄 (요청 0715: 서명을 이름 옆으로) */
.gw-nameline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.gw-sign-inline {
    width: 8.75rem;
    height: auto;
    opacity: 0.9;
}
/* 영문 인사말 성명 폰트 (요청 0715: 이름 폰트 변경) */
.gw-aside-name.gw-en strong {
    font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.01em;
    font-weight: 700;
    font-size: 1.2rem;
}

/* 인용 카드 */
.gw-quote-card {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 6px;
    padding: 3rem 3rem 2.4rem;
    background: linear-gradient(135deg, #e8f2fb 0%, #ddeaf8 60%, #cfe0f5 100%);
    overflow: hidden;
    margin-top: 100px;
}
/* 라인 장식형 따옴표 */
.gw-quote-mark {
    font-size: 1.5rem;
    line-height: 1;
    color: #0082D1;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    margin-bottom: 0.6rem;
    display: block;
}
.gw-quote-text {
    position: relative;
    font-size: 1.35rem;
    font-weight: 500;
    color: #102a4c;
    line-height: 1.85;
    margin: 0 0 2rem;
    word-break: keep-all;
    letter-spacing: -0.01em;
    border-left: 4px solid #0082D1;
    padding-left: 1.2rem;
}
.gw-quote-bottom {
    position: relative;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 82, 160, 0.18);
    padding-top: 1.4rem;
}
.gw-quote-name {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.gw-quote-name span {
    font-size: 0.85rem;
    color: #102a4c;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.gw-quote-name strong {
    font-size: 1.3rem;
    color: #102a4c;
    font-weight: 800;
    letter-spacing: 0.18em;
    white-space: nowrap;
}
.gw-quote-sign {
    height: 48px;
    width: auto;
    opacity: 0.65;
}

@media (max-width: 1024px) {
    .gw-body-paras br {
        display: none;
    }
    .gw-top {
        grid-template-columns: 300px 1fr;
        column-gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .gw-top {
        grid-template-columns: 1fr;
    }
    .gw-photo {
        max-width: 320px;
    }
    .gw-title {
        font-size: 26px;
    }
    .gw-title br {
        display: none;
    }
}

/* =====================
   오시는길 페이지
   ===================== */
.mp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.mp-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,40,100,0.10);
    background: #fff;
}
.mp-map-area {
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
}
/* 네이버 지도 새창 링크 (지도 위 오버레이) */
.mp-naver-link {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #d6e2ee;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #03C75A;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.mp-naver-link:hover { background: #f2faf6; }
.mp-map-area > div,
.mp-map-area .root_daum_roughmap,
.mp-map-area iframe {
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
}
.mp-info {
    padding: 1.8rem 2rem 2rem;
}
.mp-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #102a4c;
    font-family: var(--font-family);
    margin: 0 0 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #0082D1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mp-info-title i {
    color: #0082D1;
    font-size: 1rem;
}
.mp-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.mp-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.7;
}
.mp-icon {
    width: 28px;
    height: 28px;
    background: #e8f2fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.mp-icon i {
    font-size: 0.75rem;
    color: #0082D1;
}
.mp-info-list li em {
    font-style: normal;
    color: #7a8fa8;
    font-size: 0.82rem;
}

@media (max-width: 900px) {
    .mp-layout {
        grid-template-columns: 1fr;
    }
}

/* =====================
   조직도 페이지 (org2)
   ===================== */
.org2-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #bcd6ea #eef3f8;
    padding: 10px 0 24px;
}
.org2-wrap::-webkit-scrollbar { height: 10px; }
.org2-wrap::-webkit-scrollbar-track { background: #eef3f8; border-radius: 999px; }
.org2-wrap::-webkit-scrollbar-thumb { background: #bcd6ea; border-radius: 999px; border: 2px solid #eef3f8; }
.org2-wrap::-webkit-scrollbar-thumb:hover { background: #0080cb; }
.diagram-scroll-hint {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0080cb;
    margin: 0 0 10px;
}
.diagram-scroll-hint .ic {
    font-size: 14px;
    line-height: 1;
}
.org2 {
    --oc: #b8c6d8;          /* 현행 연결선 */
    --ocd: #c9cdd4;         /* 종료 연결선 */
    min-width: 1040px;
    max-width: 1140px;
    margin: 0 auto;
    font-family: var(--font-family);
    color: #102a4c;
}
.org2 *, .org2 *::before, .org2 *::after { box-sizing: border-box; }
.org2 ul { list-style: none; margin: 0; padding: 0; }
.org2 li { margin: 0; }
.org2-card {
    border-radius: 8px;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;            /* 연결선(pseudo)은 카드 뒤로 */
}

/* 세로 연결선 */
.org2-drop {
    display: block;
    width: 2px;
    height: 24px;
    margin: 0 auto;
    background: var(--oc);
}
.org2-drop-done { background: var(--ocd); }

/* 0단계: 재단 */
.org2-root { display: flex; justify-content: center; }
.org2-found {
    min-width: 360px;
    padding: 20px 34px;
    background: linear-gradient(135deg, #0a2342, #123a6b);
    color: #fff;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;            /* 알약형 — 사업단(둥근 사각) 카드와 형태로 구분 */
    box-shadow: 0 8px 22px rgba(10,35,66,0.32);
}

/* 1단계: 3개 사업단 동등 배치 — 재단에서 각각 분기 */
.org2-dans {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 0;
}
/* 트렁크 → 3개 사업단 가로 버스 (양끝=첫·마지막 컬럼 중앙) */
.org2-dans::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc((100% - 60px) / 6);
    right: calc((100% - 60px) / 6);
    height: 2px;
    background: var(--oc);
}
.org2-col {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 26px;          /* 가로버스 → 카드 세로드롭 공간 */
}
/* 버스 → 각 사업단 세로 드롭 */
.org2-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1px;
    width: 2px;
    height: 26px;
    background: var(--ocd);
    z-index: 0;
}
.org2-col-now::before { background: var(--oc); }

/* 완료 사업단 내부 본부 칩 */
.org2-inbonbu {
    margin-top: 10px;
    display: flex;
    gap: 6px;
}
.org2-inbonbu span {
    flex: 1 1 0;
    min-width: 0;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 6px;
    padding: 8px 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    letter-spacing: -0.02em;
}

/* 2단계: 현행(가운데) 컬럼 — 단장 아래 빈공간을 채워 팀티어까지 선 연결 */
.org2-spine {
    flex: 1 0 0;
    width: 2px;
    margin: 0 auto;
    background: var(--oc);
}

/* 사업단 카드 */
.org2-dan {
    padding: 16px 14px 14px;
    color: #fff;
}
.org2-dan > strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.org2-dan > strong > em {
    font-style: normal;
    font-weight: 500;
    opacity: 0.85;
}
.org2-dan > span {
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.82;
}
.org2-dan-active {
    background: linear-gradient(135deg, #0066d6, #00a0e9);
    box-shadow: 0 0 0 3px rgba(0,160,233,0.25), 0 10px 24px rgba(0,90,170,0.30);
}
.org2-dan-done   { background: linear-gradient(135deg, #6f7e92, #8a99ab); opacity: 0.9; }

/* 재단 → 3개 사업단 분기 트렁크 */
.org2-trunk { height: 22px; }

/* 현행 사업 배지 */
.org2-dan-active > .org2-badge {
    display: inline-block;
    margin: 0 0 9px;
    padding: 3px 13px;
    border-radius: 999px;
    background: #ff7a18;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 8px rgba(255,122,24,0.35);
}

/* 하위 포함 개념: 사업단 안에 내포된 '사업' 박스 */
.org2-biz {
    margin-top: 12px;
    border-radius: 6px;
    padding: 10px 12px;
    text-align: left;
}
.org2-biz ul { display: flex; flex-direction: column; gap: 4px; }
.org2-biz li {
    position: relative;
    padding-left: 14px;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.45;
}
.org2-biz li::before {
    content: '';
    position: absolute;
    left: 2px; top: 0.62em;
    width: 5px; height: 5px;
    border-radius: 50%;
}
.org2-biz-active { background: rgba(255,255,255,0.16); }
.org2-biz-active li { color: #fff; }
.org2-biz-active li::before { background: #cfe6f8; }
.org2-biz-done { background: rgba(255,255,255,0.14); }
.org2-biz-done li { color: #fff; }
.org2-biz-done li::before { background: rgba(255,255,255,0.7); }

/* 본부 박스 */
.org2-bonbu {
    padding: 13px 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.org2-bonbu-active {
    background: linear-gradient(135deg, #0d3f86, #0a6fb8);
    color: #fff;
}
.org2-bonbu-done {
    background: linear-gradient(135deg, #7c8a9c, #97a4b4);
    color: #fff;
}
.org2-jangs { font-size: 0.95rem; }

/* 가운데 단장 → 팀티어 진입 세로선 (간격 확보) */
.org2-feeder { height: 54px; }
/* 3단계: 국가신약개발사업단 본부 → 팀 */
.org2-teamtier {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    position: relative;
}
/* 가로 버스 — 한 줄짜리 단일 요소 (줌 배율에서도 끊김 없음) */
.org2-teamtier::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc((100% - 52px) / 6);
    right: calc((100% - 52px) / 6);
    height: 2px;
    background: var(--oc);
}
.org2-bonbu-group {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 26px;
}
/* 각 본부 세로 드롭 */
.org2-teamtier > .org2-bonbu-group::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1px;
    width: 2px;
    height: 26px;
    background: var(--oc);
}

/* 팀 목록 */
.org2-teams {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}
.org2-teams > li {
    position: relative;
    background: #fff;
    border: 1px solid #c8d8e8;
    border-left: 4px solid #0a6fb8;
    border-radius: 6px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
    padding: 11px 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #102a4c;
    text-align: center;
}
/* 본부 헤더 ↔ 첫 팀 간격 (.org2 ul{padding:0} 리셋을 이기는 specificity) */
.org2-teams > li:first-child { margin-top: 30px; }
.org2-teams > li::before {
    content: '';
    position: absolute;
    top: -16px; left: 50%;
    width: 2px; height: 16px;
    background: var(--oc);
    transform: translateX(-50%);
}
.org2-teams > li:first-child::before { top: -30px; height: 30px; }

@media (max-width: 1180px) {
    .org2 { zoom: 0.9; }
}
@media (max-width: 768px) {
    .diagram-scroll-hint { display: inline-flex; }
    .org2-wrap { padding-bottom: 18px; }
    .org2 { min-width: 900px; }
}

/* =====================
   비전 페이지
   ===================== */
#sub_sc.vision-page {
    background: #f2f7fd !important;
}
#sub_sc.vision-page .sub_sc_area {
    max-width: none !important;
    padding: 0 !important;
}
#sub_sc.vision-page .sub_sc_con {
    padding: 0 !important;
}
.vi-layout {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    /* 상단 56px = 타 서브페이지 sub_sc_con 패딩과 동일 (+.sub_title margin-top 20px → h2 위치 일치) */
    padding: 56px max(32px, calc((100vw - 1460px) / 2)) 80px;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)),
        url('/assets/front/Ko/img/vision-v2/vision-science-bg.webp?v=20260729') center / cover no-repeat;
    background-color: #f2f7fd;
}
/* 타 서브페이지 #sub_sc .sub_title 과 동일 규격 유지 */
.vi-page-title {
    margin: 20px 0 80px !important;
    padding: 0 !important;
}
.vi-page-title h2 {
    color: #102a4c !important;
    font-size: var(--font-size-5xl) !important;
    line-height: 1.3;
}

.vi-hero {
    text-align: center;
    padding: 0;
}
.vi-hero-title {
    margin: 0;
    color: #0875e1;
    /* span(1행)은 body * 규칙으로 Pretendard → 2행 텍스트도 같은 서체로 맞춤 */
    font-family: Pretendard, sans-serif;
    font-size: clamp(30px, 2.85vw, 46px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.18;
    word-break: keep-all;
}
.vi-hero-title span {
    display: block;
    color: #0875e1;
}
.vi-hero-desc {
    max-width: 900px;
    margin: 16px auto 0;
    color: #555f6e;
    font-size: clamp(15px, 1.15vw, 18px);
    font-weight: 400;
    line-height: 1.65;
    word-break: keep-all;
}
.vi-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2vw, 28px);
    max-width: 1370px;
    margin: 56px auto 0;
}
.vi-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    min-width: 0;
    min-height: 482px;
    padding: 28px 30px 32px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 2px 4px rgba(61, 104, 157, 0.05),
        0 14px 36px rgba(68, 112, 167, 0.11);
    text-align: center;
}
.vi-card-kicker {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 14px;
    color: #0875e1;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
}
.vi-card-num {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.vi-card-rule {
    width: 1px;
    height: 24px;
    background: #b9d2ee;
}
.vi-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 238px;
    margin: 4px auto 6px;
}
.vi-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.vi-card-title {
    min-height: 76px;
    margin: 0 0 12px;
    color: #0b2348;
    font-family: var(--font-family);
    font-size: clamp(23px, 1.72vw, 28px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.38;
    word-break: keep-all;
}
.vi-card-desc {
    margin: 0;
    color: #5d6571;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.72;
    word-break: keep-all;
}
@media (max-width: 1100px) {
    .vi-layout {
        padding-right: 24px;
        padding-left: 24px;
    }
    .vi-card {
        min-height: 452px;
        padding: 24px 20px 28px;
    }
    .vi-card-icon {
        height: 210px;
    }
    .vi-card-kicker {
        gap: 10px;
        font-size: 13px;
    }
    .vi-card-num {
        font-size: 24px;
    }
}

@media (max-width: 820px) {
    .vi-layout {
        padding: 56px 16px 40px;
        background-position: center top;
        background-size: cover;
    }
    .vi-hero-title {
        max-width: 330px;
        margin: 0 auto;
        font-size: clamp(25px, 6.8vw, 28px);
        line-height: 1.25;
    }
    .vi-hero-desc {
        max-width: 330px;
        margin-top: 14px;
        font-size: 14px;
    }
    .vi-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 520px;
        margin-top: 40px;
    }
    .vi-card {
        min-height: 0;
        padding: 24px 22px 28px;
    }
    .vi-card-icon {
        height: min(58vw, 260px);
        margin-top: 0;
    }
    .vi-card-title {
        min-height: 0;
        font-size: 24px;
    }
    .vi-card-desc {
        max-width: 33em;
        font-size: 15px;
    }
    .vi-card-desc br {
        display: none;
    }
}

/* ============================================================
   서브페이지 히어로 — 모바일 높이 축소
   데스크톱 386px(뷰포트 46%) → 모바일에서 콘텐츠 노출 우선
   (앞선 !important 선언을 덮어야 해서 파일 최하단에 배치)
============================================================ */
@media (max-width: 768px) {
    .subpage-hero {
        /* 하단 여백은 절대배치 브레드크럼(2줄까지) 높이를 포함 */
        padding: 120px 0 76px !important;
    }
    .subpage-hero-title {
        font-size: 28px;
        margin-bottom: 0.5rem;
    }
    .subpage-hero-desc {
        font-size: 14px;
        line-height: 1.5;
    }
    .subpage-hero .breadcrumb-inner {
        padding: 0.6rem 1.25rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .subpage-hero {
        padding: 112px 0 70px !important;
    }
    .subpage-hero-title {
        font-size: 25px;
    }
    .subpage-hero .breadcrumb-inner {
        padding: 0.55rem 1rem;
        font-size: 0.74rem;
    }
}
