/* ==================== */
/* 전역 스타일 */
/* ==================== */

/* KBSI파트너스 - 업데이트: 2026-02-11 */

:root {
    /* 블루/그레이 톤 컬러 팔레트 - 더 세련되게 */
    --primary-blue: #1e40af;
    --primary-blue-dark: #1e3a8a;
    --primary-blue-light: #3b82f6;
    --secondary-gray: #64748b;
    --dark-gray: #0f172a;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --black: #020617;
    
    /* 상태 컬러 */
    --status-active: #2563eb;
    --status-deadline: #dc2626;
    --status-upcoming: #64748b;
    --status-closed: #94a3b8;
    
    /* 그라데이션 - 더 부드럽게 */
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%);
    
    /* 그림자 - 더 세련되게 */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
    
    /* 타이포그래피 */
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    
    /* 간격 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* 반응형 브레이크포인트 */
    --breakpoint-mobile: 640px;
    --breakpoint-tablet: 768px;
    --breakpoint-desktop: 1024px;
    --breakpoint-wide: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==================== */
/* 네비게이션 */
/* ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0a1940;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 16px rgba(10, 25, 64, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(10, 25, 64, 0.55);
    background: #09183a;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-main {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.01em;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

/* ==================== */
/* 버튼 스타일 */
/* ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    justify-content: center;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.35);
}

/* 네비게이션 안의 상담신청 버튼 */
.nav-menu .btn-primary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: none;
    padding: 0.4rem 1.1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.nav-menu .btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.85);
    transform: none;
    box-shadow: none;
}

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

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

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

/* ==================== */
/* 히어로 섹션 - 참고 디자인 반영 */
/* ==================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0a1940;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 90%, rgba(10, 35, 100, 0.5) 0%, transparent 50%);
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    padding: var(--spacing-3xl) 0;
}

/* 왼쪽 텍스트 영역 */
.hero-left {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
    color: var(--white);
}

.hero-company {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.hero-slogan {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    opacity: 0.92;
}

.hero-slogan strong {
    font-weight: 700;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
}

.feature-item i {
    color: #fbbf24;
    font-size: 1.125rem;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn-call {
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-services {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-services:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

/* 카카오톡 버튼 */
.btn-kakao {
    background: #FEE500;
    color: #3C1E1E;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-kakao:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(254, 229, 0, 0.4);
    background: #FFD700;
}

/* 상담신청 폼 버튼 */
.btn-form {
    background: #03C75A;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(3, 199, 90, 0.3);
    transition: all 0.3s ease;
}

.btn-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(3, 199, 90, 0.4);
    background: #02b350;
}

/* 오른쪽 프로필 카드 */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    position: relative;
    background: var(--white);
    border-radius: 2rem;
    padding: var(--spacing-2xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.profile-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-radius: 2rem 2rem 0 0;
}

.profile-image-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image-large {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 5px solid var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #93c5fd 0%, #c7d2fe 100%);
    display: block;
}

.profile-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.profile-title {
    font-size: 1.125rem;
    color: var(--secondary-gray);
    margin-bottom: var(--spacing-xl);
    font-weight: 500;
}

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

.profile-info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--light-gray);
    border-radius: 0.75rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.profile-info-item i {
    color: var(--primary-blue);
    font-size: 1.25rem;
}

/* 프로필 카드 소셜 링크 */
.profile-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.profile-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    color: var(--white);
}

.kakao-btn {
    background: #FEE500;
    color: #3C1E1E;
}

.kakao-btn:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.3);
}

.blog-btn {
    background: #03C75A;
    color: var(--white);
}

.blog-btn:hover {
    background: #02b350;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 199, 90, 0.3);
}

/* ==================== */
/* 섹션 공통 스타일 */
/* ==================== */

section {
    padding: var(--spacing-3xl) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-2xl) 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    padding: 0 var(--spacing-md);
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--secondary-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== */
/* About (전문성) 섹션 */
/* ==================== */

.about {
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--secondary-gray);
    line-height: 1.7;
}

/* ==================== */
/* 언론 보도 섹션 */
/* ==================== */

.press-section {
    background: #f0f4ff;
    padding: var(--spacing-3xl) 0;
}

.press-card-wrap {
    max-width: 960px;
    margin: 0 auto;
}

.press-card {
    display: block;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(10, 25, 80, 0.1);
    border: 1.5px solid rgba(30, 64, 175, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.press-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #0a1940 0%, #3b82f6 100%);
    border-radius: 5px 0 0 5px;
    z-index: 1;
}

.press-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(10, 25, 80, 0.18);
    border-color: rgba(30, 64, 175, 0.25);
}

/* 카드 내부 가로 배치 */
.press-card-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.press-image-wrap {
    flex: 0 0 42%;
    max-width: 42%;
    overflow: hidden;
    border-radius: 0 0 0 1.5rem;
}

.press-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
    min-height: 300px;
}

.press-card:hover .press-image {
    transform: scale(1.04);
}

.press-content {
    flex: 1;
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-xl) var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.press-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.press-source {
    background: #0a1940;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
}

.press-date {
    font-size: 0.82rem;
    color: var(--secondary-gray);
    font-weight: 400;
}

.press-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.press-desc {
    font-size: 0.97rem;
    color: var(--secondary-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.press-footer {
    display: flex;
    align-items: center;
}

.press-link-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e40af;
    border-bottom: 1.5px solid rgba(30, 64, 175, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.press-card:hover .press-link-text {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

/* 언론 보도 모바일 반응형 */
@media (max-width: 768px) {
    .press-card-inner {
        flex-direction: column;
    }

    .press-image-wrap {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 220px;
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .press-image {
        min-height: 220px;
        height: 220px;
    }

    .press-content {
        padding: var(--spacing-lg) var(--spacing-xl);
    }

    .press-title {
        font-size: 1.15rem;
    }
}

/* ==================== */
/* 정책 섹션 */
/* ==================== */

.policies {
    background: var(--white);
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.policy-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.5rem;
    padding: var(--spacing-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.policy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.policy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue-light);
}

.policy-card:hover::before {
    opacity: 1;
}

.policy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.policy-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
}

.policy-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
}

.status-active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--status-active);
}

.status-closed {
    background: rgba(148, 163, 184, 0.1);
    color: var(--status-closed);
}

.policy-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.policy-card > p {
    color: var(--secondary-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.policy-details {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.policy-details li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--dark-gray);
    font-size: 0.9375rem;
}

.policy-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.policy-date {
    font-size: 0.875rem;
    color: var(--secondary-gray);
    font-weight: 500;
}

.policies-notice {
    margin-top: var(--spacing-2xl);
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--light-gray);
    border-radius: 1rem;
}

.policies-notice p {
    margin-bottom: var(--spacing-sm);
}

.policies-notice a {
    color: var(--primary-blue);
    font-weight: 600;
}

.policies-notice a:hover {
    text-decoration: underline;
}

/* ==================== */
/* 뉴스 섹션 */
/* ==================== */

.news {
    background: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.news-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue-light);
}

.news-header {
    margin-bottom: var(--spacing-md);
}

.news-header h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.news-date {
    font-size: 0.875rem;
    color: var(--secondary-gray);
    font-weight: 500;
}

.news-details {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.news-details li {
    padding: 0.375rem 0;
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--dark-gray);
    font-size: 0.9375rem;
}

.news-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.news-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
}

.badge-active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--status-active);
}

.badge-upcoming {
    background: rgba(100, 116, 139, 0.1);
    color: var(--status-upcoming);
}

.news-disclaimer {
    margin-top: var(--spacing-2xl);
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    color: var(--secondary-gray);
}

.news-disclaimer p {
    margin-bottom: var(--spacing-xs);
}

.news-disclaimer a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ==================== */
/* 달력 섹션 */
/* ==================== */

.calendar-section {
    background: var(--white);
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9375rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-active {
    background: var(--status-active);
}

.dot-deadline {
    background: var(--status-deadline);
}

.dot-upcoming {
    background: var(--status-upcoming);
}

.calendar-container {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: var(--spacing-xl);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.calendar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
}

.calendar-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--light-gray);
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--dark-gray);
    padding: var(--spacing-sm);
    font-size: 0.875rem;
}

.calendar-day-header:first-child {
    color: var(--status-deadline);
}

.calendar-day-header:last-child {
    color: var(--primary-blue);
}

.calendar-days {
    display: contents;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: var(--white);
    border: 1px solid transparent;
    font-weight: 500;
}

.calendar-day:hover {
    background: var(--light-gray);
    border-color: var(--primary-blue-light);
    transform: scale(1.05);
}

.calendar-day.empty {
    cursor: default;
    pointer-events: none;
}

.calendar-day.today {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
}

.calendar-day.today:hover {
    background: var(--primary-blue-dark);
}

.calendar-day.has-event {
    font-weight: 600;
}

.calendar-day.selected {
    background: var(--primary-blue-light);
    color: var(--white);
    border-color: var(--primary-blue);
}

.day-number {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.day-dots {
    display: flex;
    gap: 0.15rem;
    margin-top: 0.25rem;
}

.event-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-type-active {
    background: var(--status-active);
}

.dot-type-deadline {
    background: var(--status-deadline);
}

.dot-type-upcoming {
    background: var(--status-upcoming);
}

.calendar-day.today .event-dot {
    background: var(--white);
}

.calendar-events {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--light-gray);
    border-radius: 1rem;
    min-height: 200px;
}

.calendar-events h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-md);
}

.events-placeholder {
    text-align: center;
    color: var(--secondary-gray);
    padding: var(--spacing-xl);
    font-size: 1rem;
}

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

.event-item {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 0.75rem;
    border-left: 4px solid;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.event-item.event-active {
    border-color: var(--status-active);
}

.event-item.event-deadline {
    border-color: var(--status-deadline);
}

.event-item.event-upcoming {
    border-color: var(--status-upcoming);
}

.event-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.event-description {
    color: var(--secondary-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.event-status-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    margin-top: var(--spacing-xs);
}

.event-status-badge.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--status-active);
}

.event-status-badge.deadline {
    background: rgba(220, 38, 38, 0.1);
    color: var(--status-deadline);
}

.event-status-badge.upcoming {
    background: rgba(100, 116, 139, 0.1);
    color: var(--status-upcoming);
}

.policy-types-info {
    max-width: 900px;
    margin: 0 auto;
}

.policy-types-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
}

.type-item {
    background: var(--light-gray);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 0.9375rem;
}

/* ==================== */
/* 서비스 섹션 */
/* ==================== */

.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.5rem;
    padding: var(--spacing-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 6px 12px rgba(30, 64, 175, 0.2);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-sm);
}

.service-card > p {
    color: var(--secondary-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.service-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-list li {
    padding: 0.375rem 0;
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--dark-gray);
    font-size: 0.875rem;
    line-height: 1.5;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.service-note {
    font-size: 0.8125rem;
    color: var(--secondary-gray);
    font-style: italic;
}

.services-notice {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl);
    background: var(--light-gray);
    border-radius: 1rem;
    text-align: center;
}

.services-notice h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-sm);
}

.services-notice p {
    margin-bottom: var(--spacing-xs);
    line-height: 1.7;
}

.services-notice a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ==================== */
/* 상담문의 섹션 */
/* ==================== */

.contact {
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    align-items: center;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: var(--spacing-md);
}

.contact-info > p {
    font-size: 1.125rem;
    color: var(--secondary-gray);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

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

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-gray);
    margin-bottom: 0.25rem;
}

.contact-item a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    font-size: 1.125rem;
    color: var(--dark-gray);
}

.cta-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.cta-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-sm);
}

.cta-card p {
    color: var(--secondary-gray);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.cta-card .btn {
    width: 100%;
}

.btn-kakao-alt {
    background: #FEE500;
    color: #3C1E1E;
}

.btn-kakao-alt:hover {
    background: #FFD700;
    transform: translateY(-2px);
}

.btn-form-alt {
    background: #03C75A;
    color: var(--white);
}

.btn-form-alt:hover {
    background: #02b350;
    transform: translateY(-2px);
}

/* ==================== */
/* Floating 상담하기 버튼 */
/* ==================== */

.floating-cta {
    position: fixed;
    bottom: 32px;
    left: 24px;
    z-index: 999;
    display: flex;
    align-items: flex-start;
    gap: 0;
    animation: floatSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    filter: drop-shadow(0 8px 24px rgba(10, 25, 64, 0.35));
}

@keyframes floatSlideIn {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}

.floating-cta.hidden {
    display: none;
}

.floating-cta-inner {
    background: #0a1940;
    border-radius: 1rem 0 1rem 1rem;
    padding: 1rem 1.25rem 0.9rem;
    min-width: 148px;
    border: 1px solid rgba(255,255,255,0.12);
}

.floating-cta-badge {
    display: none; /* 뱃지 제거 */
}

.floating-cta-headline {
    font-size: 0.97rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.45;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.floating-cta-msg {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.floating-cta-msg strong {
    color: #93c5fd;
    font-weight: 700;
}

.floating-cta-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.6rem 0;
    border-radius: 0.6rem;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    margin-bottom: 0.6rem;
}

.floating-cta-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
}

.floating-cta-tel {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    text-align: center;
    letter-spacing: 0.01em;
}

.floating-cta-tel i {
    margin-right: 3px;
    font-size: 0.68rem;
}

.floating-cta-close {
    background: #0a1940;
    border: 1px solid rgba(255,255,255,0.15);
    border-left: none;
    color: rgba(255,255,255,0.5);
    width: 26px;
    height: 26px;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    align-self: flex-start;
    margin-top: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.floating-cta-close:hover {
    color: #ffffff;
    background: #1e3a7a;
}

/* 모바일 */
@media (max-width: 640px) {
    .floating-cta {
        bottom: 20px;
        left: 14px;
    }

    .floating-cta-inner {
        min-width: 130px;
        padding: 0.85rem 1rem 0.75rem;
    }
}

/* ==================== */
/* NOTICE 팝업 모달 */
/* ==================== */

.notice-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: overlayFadeIn 0.25s ease;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.notice-modal-overlay.hidden {
    display: none;
}

.notice-modal {
    background: #ffffff;
    border: 2px solid #e87722;
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* X 닫기 버튼 */
.notice-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
    z-index: 1;
}

.notice-modal-close:hover {
    color: #333;
}

/* NOTICE 헤더 */
.notice-modal-header {
    padding: 14px 20px 12px;
    border-bottom: 1px solid #eee;
}

.notice-header-label {
    font-size: 1.1rem;
    font-weight: 900;
    color: #e87722;
    letter-spacing: 0.05em;
}

/* 본문 */
.notice-modal-body {
    padding: 20px 22px 16px;
}

.notice-lead {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 14px;
}

.notice-lead strong {
    color: #1a1a1a;
}

.notice-text {
    font-size: 0.87rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 12px;
}

.notice-text strong {
    color: #1a1a1a;
    font-weight: 700;
}

.notice-highlight {
    font-size: 0.87rem;
    font-weight: 700;
    color: #e87722;
    line-height: 1.6;
    margin-top: 4px;
    margin-bottom: 0;
}

/* 하단 푸터 */
.notice-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px 12px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.notice-no-show {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #888;
    cursor: pointer;
    user-select: none;
}

.notice-no-show input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #e87722;
}

.notice-close-btn {
    background: #222;
    border: none;
    border-radius: 3px;
    padding: 6px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.notice-close-btn:hover {
    background: #444;
}

/* 모달 모바일 */
@media (max-width: 480px) {
    .notice-modal {
        max-width: 100%;
    }
}

/* ==================== */
/* 푸터 */
/* ==================== */

.footer {
    background: var(--black);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-slogan {
    margin-top: var(--spacing-md);
    font-style: italic;
    opacity: 0.7;
}

.footer-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-info p {
    margin-bottom: var(--spacing-xs);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-links {
    margin-top: var(--spacing-md);
}

.footer-links h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-links p {
    margin-bottom: var(--spacing-xs);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #3b82f6;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-bottom p {
    margin-bottom: 0.25rem;
}

/* ==================== */
/* 애니메이션 */
/* ==================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 스크롤 애니메이션 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== */
/* 반응형 디자인 */
/* ==================== */

@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .hero-left {
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-company {
        font-size: 1.125rem;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: #0a1940;
        padding: var(--spacing-lg);
        box-shadow: 0 8px 24px rgba(10,25,64,0.4);
        transition: left 0.3s ease;
        gap: var(--spacing-sm);
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-company {
        font-size: 1rem;
    }
    
    .hero-slogan {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-call,
    .btn-kakao,
    .btn-form,
    .btn-services {
        width: 100%;
        justify-content: center;
    }
    
    .profile-card {
        padding: var(--spacing-xl);
    }
    
    .profile-image-large {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 1.75rem;
    }
    
    .profile-links {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .features-grid,
    .policies-grid,
    .news-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .calendar-container {
        padding: var(--spacing-md);
    }
    
    .calendar-day {
        font-size: 0.875rem;
    }
    
    .day-dots {
        gap: 0.1rem;
    }
    
    .event-dot {
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-company {
        font-size: 0.9375rem;
    }
    
    .hero-slogan {
        font-size: 0.9375rem;
    }
    
    .btn-call,
    .btn-services {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .profile-card {
        padding: var(--spacing-md);
    }
    
    .profile-card-bg {
        height: 100px;
    }
    
    .profile-image-large {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .profile-title {
        font-size: 1rem;
    }
    
    .calendar-grid {
        gap: 0.25rem;
    }
    
    .calendar-day-header {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    
    .types-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}