/* ==========================================================================
   멘탈케어 박윤아 B2B 공식 홈페이지 초콤팩트 프리미엄 스타일시트 (style.css)
   ========================================================================== */

/* 1. 디자인 시스템 토큰 & 변수 정의 */
:root {
    /* HSL 컬러 시스템 (자연적이고 고급스러운 명상/요가 감성) */
    --primary: hsl(145, 25%, 26%);       /* 차분한 포레스트 세이지 그린 */
    --primary-hover: hsl(145, 30%, 18%);
    --primary-light: hsl(145, 20%, 94%);
    --primary-dark: hsl(145, 30%, 12%);
    
    --secondary: hsl(35, 35%, 88%);       /* 아늑하고 정화된 샌드 베이지 */
    --secondary-light: hsl(35, 45%, 96%);
    --secondary-dark: hsl(35, 25%, 75%);
    
    --accent: hsl(45, 40%, 55%);          /* 프리미엄 올리브 골드 */
    --accent-hover: hsl(45, 45%, 45%);
    
    /* 텍스트 컬러 */
    --text-main: hsl(210, 20%, 15%);      /* 짙은 차콜 */
    --text-muted: hsl(210, 10%, 48%);     /* 슬레이트 그레이 */
    --text-white: hsl(0, 0%, 98%);
    --text-gray: hsl(210, 12%, 80%);
    
    /* 배경 컬러 */
    --bg-main: hsl(0, 0%, 100%);
    --bg-light: rgba(145, 175, 155, 0.06); /* 극도로 은은한 세이지 베일 */
    --bg-dark: hsl(145, 35%, 8%);         /* 깊은 숲속 한밤의 딥 포레스트 */
    --bg-sand: hsl(35, 35%, 94%);
    
    /* 레이아웃 & 효과 */
    --border-color: rgba(26, 46, 32, 0.06);
    --border-focus: rgba(35, 66, 44, 0.25);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* 그림자 */
    --shadow-sm: 0 4px 12px rgba(26, 46, 32, 0.02);
    --shadow-md: 0 8px 20px rgba(26, 46, 32, 0.04);
    --shadow-lg: 0 16px 36px rgba(26, 46, 32, 0.06);
    --shadow-glass: 0 6px 24px rgba(26, 46, 32, 0.04);
    
    /* 폰트 가족 */
    --font-kr: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* 트랜지션 */
    --transition-fast: all 0.15s ease-out;
    --transition-normal: all 0.3s ease-out;
    --transition-slow: all 0.45s ease-out;
}

/* 2. 전역 초기화 & 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 14.5px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-kr);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.68;
    letter-spacing: -0.015em;
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

/* 여백 최소화 최적화 (25px 0) */
.section-padding {
    padding: 25px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.bg-sand {
    background-color: var(--bg-sand);
}

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

/* 3. 공통 컴포넌트 */
.badge {
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-en);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
    border: 1px solid rgba(35, 66, 44, 0.06);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-en);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.section-tag.style-dark {
    color: var(--secondary);
}

.section-title {
    font-family: var(--font-kr);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.035em;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
}

.section-subtitle.text-gray {
    color: var(--text-gray);
}

/* 프리미엄 버튼 디자인 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 3px 10px rgba(35, 66, 44, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(35, 66, 44, 0.16);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    background-color: transparent;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--primary);
    transform: translateY(-1px);
}

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

.btn-dark:hover {
    background-color: var(--primary);
    transform: translateY(-1px);
}

.btn-outline-dark {
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

.btn-text-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-text-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* 4. 헤더 네비게이션 */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 0;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    padding: 5px 0;
    box-shadow: 0 4px 15px rgba(26, 46, 32, 0.02);
    border-bottom: 1px solid rgba(26, 46, 32, 0.04);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.logo-text-ko {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.logo-text-sub {
    font-family: var(--font-kr);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-top: -3px;
    display: block;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn-cta {
    background-color: var(--primary);
    color: var(--text-white) !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-md);
}

.nav-btn-cta::after {
    display: none;
}

.nav-btn-cta:hover {
    background-color: var(--primary-hover);
}

/* 모바일 햄버거 토글 */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 22px;
    z-index: 1100;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}

/* 5. Hero 섹션 */
.hero-section {
    position: relative;
    min-height: auto;
    height: auto;
    padding: 110px 0 50px 0;
    display: flex;
    align-items: center;
    background-color: hsl(145, 20%, 97%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(212, 224, 215, 0.65) 0%, rgba(243, 238, 229, 0.6) 40%, rgba(255, 255, 255, 0.85) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 940px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 520px;
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 8px;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(212, 192, 142, 0.22) 0%, transparent 70%);
    z-index: 1;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    border-radius: 50%;
    filter: blur(5px);
}

.visual-card-wrapper {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background-color: var(--primary-light);
    padding: 5px;
}

.hero-img {
    width: 240px;
    height: 270px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 5px);
}

.floating-badge {
    position: absolute;
    bottom: 15px;
    left: -20px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(35, 66, 44, 0.06);
    box-shadow: var(--shadow-md);
    padding: 5px 10px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.floating-badge i {
    font-size: 0.95rem;
    color: var(--accent);
}

.floating-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* 6. Executive Unified Profile Card */
.executive-profile-card {
    background-color: var(--bg-main);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.profile-main-row {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 24px;
    align-items: start;
}

.profile-image-col {
    display: flex;
    justify-content: center;
}

.about-img-box {
    position: relative;
    padding-right: 14px;
    padding-bottom: 14px;
    max-width: 280px;
}

.about-img-box::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 80%;
    background-color: var(--secondary);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.about-img {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.experience-year {
    position: absolute;
    right: -6px;
    bottom: 20px;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.experience-year .num {
    font-family: var(--font-en);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.experience-year .txt {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1px;
}

.about-story {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.about-story strong {
    color: var(--text-main);
    font-weight: 500;
}

.credentials {
    margin-top: 8px;
    background-color: rgba(145, 175, 155, 0.04);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    border: 1px dashed rgba(35, 66, 44, 0.08);
}

.credentials-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.credentials-list li {
    font-size: 0.85rem;
    display: flex;
    align-items: start;
    gap: 8px;
    line-height: 1.4;
}

.credentials-list i {
    color: var(--accent);
    margin-top: 3px;
}

/* Philosophy Row (Inside Card) */
.philosophy-row {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.p-mini-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 10px;
    align-items: start;
}

.p-mini-card i {
    font-size: 1rem;
    color: var(--primary);
    background-color: var(--bg-main);
    padding: 6px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.p-mini-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.p-mini-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* 7. B2B Core Programs (Redesigned into beautiful 3-column Blocks on ONE page) */
.program-three-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.program-block-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.program-block-card:hover {
    border-color: rgba(35, 66, 44, 0.12);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.p-block-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.p-block-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 26, 17, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-block-image-overlay span {
    font-family: var(--font-kr);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.p-block-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.p-block-badge {
    align-self: flex-start;
    padding: 1px 5px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
}

.p-block-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.p-block-lead {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 8px;
    border-left: 2px solid var(--accent);
    padding-left: 6px;
}

.p-block-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 12px;
}

.p-block-specs {
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto; /* Push metadata to bottom */
}

.p-block-specs li {
    font-size: 0.78rem;
    color: var(--text-main);
}

.p-block-specs strong {
    color: var(--primary);
    margin-right: 4px;
}

/* 8. Compact Educational Gallery (Sleek Asymmetric Grid - 100% Load) */
.compact-gallery-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 130px;
    gap: 8px;
}

.c-gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    height: 100%;
    width: 100%;
}

.c-gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.c-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.c-gallery-item:hover img {
    transform: scale(1.02);
}

.c-gallery-item .item-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px;
    background: linear-gradient(to top, rgba(13, 26, 17, 0.9) 0%, rgba(13, 26, 17, 0.2) 70%, transparent 100%);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* Metrics Section */
.gallery-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.metric-item {
    text-align: center;
}

.metric-item .num {
    font-family: var(--font-en);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 2px;
}

.metric-item .txt {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 300;
}

/* 9. B2C Session & Media */
.media-b2c-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.press-block, .b2c-block {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.press-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.mini-quote-box {
    background-color: var(--bg-light);
    padding: 12px;
    border-radius: var(--radius-md);
    position: relative;
    border-left: 3px solid var(--accent);
    flex-grow: 1;
    margin-bottom: 10px;
}

.mini-quote-box .blockquote-icon {
    font-size: 1.15rem;
    color: var(--secondary-dark);
    display: block;
    margin-bottom: 2px;
}

.mini-quote-box .quote-text {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.45;
    color: var(--text-main);
    margin-bottom: 6px;
}

.press-source {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.b2c-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.b2c-mini-visual {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 10px;
    background-color: var(--bg-light);
    padding: 8px;
    border-radius: var(--radius-md);
    align-items: center;
    flex-grow: 1;
    margin-bottom: 10px;
}

.b2c-mini-img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.b2c-mini-card h5 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.b2c-mini-card p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* 10. Contact / Inquiry Form */
.contact-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 30px;
    align-items: start;
}

.contact-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.contact-methods-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.m-item {
    display: flex;
    gap: 8px;
    align-items: center;
}

.m-item i {
    width: 32px;
    height: 32px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.m-item h5 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1px;
}

.m-item p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.m-item .btn-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
}

.contact-form-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
    text-align: center;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 6px 10px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(35, 66, 44, 0.04);
}

.form-checkbox {
    display: flex;
    align-items: start;
    gap: 6px;
}

.form-checkbox input {
    margin-top: 2px;
}

.form-checkbox label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* 11. 푸터 */
.main-footer {
    background-color: var(--bg-dark);
    padding: 20px 0;
    color: var(--text-gray);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 6px;
}

.footer-logo .ko {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
}

.footer-logo .sub {
    font-family: var(--font-kr);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.copyright {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.social-links a {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 0.8rem;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-1px);
}

/* 12. 모달 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 26, 17, 0.35);
    backdrop-filter: blur(3px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--bg-main);
    padding: 20px;
    border-radius: var(--radius-lg);
    max-width: 360px;
    width: calc(100% - 40px);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.96);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.modal-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.modal-box p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* 13. 애니메이션 정의 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

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

/* 14. 반응형 미디어 쿼리 */
@media screen and (max-width: 1024px) {
    .section-padding {
        padding: 25px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
        padding-top: 70px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-visual {
        justify-content: center;
    }
    
    .profile-main-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-img-box {
        display: flex;
        justify-content: center;
        max-width: 100%;
    }
    
    .about-img {
        max-width: 250px;
    }
    
    .philosophy-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .program-three-blocks {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .p-block-image {
        height: 200px;
    }
    
    .compact-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 110px;
    }
    
    .c-gallery-item.featured {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .media-b2c-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media screen and (max-width: 768px) {
    .main-header {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(26, 46, 32, 0.04);
        border-bottom: 1px solid rgba(26, 46, 32, 0.06);
        padding: 10px 0;
    }

    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 220px;
        height: 100vh;
        background-color: var(--bg-light);
        box-shadow: -6px 0 20px rgba(0,0,0,0.06);
        padding: 80px 20px 40px 20px;
        transition: var(--transition-normal);
        z-index: 1050;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .nav-menu ul li {
        width: 100%;
    }
    
    .nav-link {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-main);
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(26, 46, 32, 0.04);
        transition: var(--transition-fast);
    }

    .nav-link:hover {
        color: var(--accent);
        padding-left: 5px;
    }

    .nav-menu .nav-btn-cta {
        background-color: var(--primary);
        color: var(--text-white) !important;
        text-align: center;
        padding: 12px 16px;
        border-radius: 6px;
        margin-top: 15px;
        display: block;
        width: 100%;
        border-bottom: none;
    }

    .nav-menu .nav-btn-cta:hover {
        background-color: var(--primary-hover);
        padding-left: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .compact-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 130px;
        gap: 8px;
    }
    
    .c-gallery-item.featured {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ==========================================================================
   11. 강의 스케치 라이트박스 모달 (Lightbox Modal)
   ========================================================================== */
.c-gallery-item {
    cursor: pointer;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(13, 26, 17, 0.96); /* 어두운 숲속 한밤의 오버레이 */
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content-box {
    position: relative;
    max-width: 85%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomEffect 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoomEffect {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content-box img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.08);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--text-white);
    font-size: 40px;
    font-weight: 300;
    transition: var(--transition-fast);
    cursor: pointer;
    z-index: 2100;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

#lightbox-caption {
    margin-top: 15px;
    color: var(--text-white);
    font-size: 0.95rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: -0.01em;
}
