/*
Theme Name: Know-Me Premium Clinic
Theme URI: http://knowmelab.com
Author: Know-Me
Description: 심리연구소 및 상담센터를 위한 하이엔드 프리미엄 워드프레스 테마입니다.
Version: 1.0.0
*/

:root {
    --primary: #4A3E9C;          /* 신뢰와 치유의 딥 퍼플 */
    --primary-light: #F0EFFF;
    --secondary: #1E293B;        /* 다크 네이비 (텍스트 메인) */
    --text-muted: #64748B;       /* 서브 텍스트 */
    --bg-gray: #F8FAFC;          /* 섹션 구분용 연한 배경 */
    --border: #E2E8F0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Base Reset */
html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; font-family: 'Noto Sans KR', sans-serif; color: var(--secondary); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; word-break: keep-all; }
a { text-decoration: none; color: inherit; transition: var(--transition); cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }

/* Layout */
.km-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.km-section { padding: 120px 0; }
.km-bg-gray { background: var(--bg-gray); }
.km-sec-header { text-align: center; margin-bottom: 70px; }
.km-sec-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; color: var(--secondary); letter-spacing: -0.5px; }
.km-sec-header p { font-size: 1.15rem; color: var(--text-muted); }

/* Header */
.km-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.05); padding: 20px 0; transition: var(--transition); }
.km-header.scrolled { padding: 12px 0; box-shadow: var(--shadow-sm); }
.km-header-nav { display: flex; justify-content: space-between; align-items: center; }
.km-logo { font-size: 1.8rem; font-weight: 900; color: var(--primary); letter-spacing: -1px; }
.km-nav-links { display: flex; gap: 40px; font-weight: 600; font-size: 1rem; }
.km-nav-links a:hover { color: var(--primary); }
.km-btn-login { padding: 10px 28px; border: 2px solid var(--border); border-radius: 8px; font-weight: 700; }
.km-btn-login:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* Hero */
.km-hero { padding: 180px 0 140px; text-align: center; background: radial-gradient(circle at 50% 0%, #F4F3FF 0%, #FFFFFF 80%); }
.km-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); color: var(--primary); padding: 8px 20px; border-radius: 30px; font-weight: 700; font-size: 0.9rem; margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.km-hero h1 { font-size: 4rem; font-weight: 900; line-height: 1.25; margin-bottom: 24px; letter-spacing: -1.5px; }
.km-hero p { font-size: 1.3rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }
.km-btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 20px 50px; background: var(--primary); color: #fff !important; border-radius: 50px; font-weight: 700; font-size: 1.15rem; box-shadow: 0 10px 25px rgba(74, 62, 156, 0.3); }
.km-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(74, 62, 156, 0.4); }

/* Stats Bar */
.km-stats-wrap { display: flex; justify-content: center; gap: 80px; margin-top: 80px; border-top: 1px solid var(--border); padding-top: 60px; }
.km-stat-item h3 { font-size: 2.5rem; font-weight: 900; color: var(--primary); margin: 0 0 10px; }
.km-stat-item p { font-size: 1.1rem; color: var(--text-muted); margin: 0; font-weight: 500; }

/* Director Profile */
.km-director { display: flex; align-items: center; gap: 60px; }
.km-director-img { flex: 1; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #eee; aspect-ratio: 4/5; display:flex; align-items:center; justify-content:center; color:#999; font-size:1.2rem; }
.km-director-info { flex: 1.2; }
.km-director-info h3 { font-size: 2.2rem; font-weight: 800; margin-bottom: 20px; }
.km-director-info h3 span { color: var(--primary); font-size: 1.2rem; display: block; margin-bottom: 10px; font-weight: 600; }
.km-director-info p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 30px; }
.km-history li { position: relative; padding-left: 20px; margin-bottom: 12px; font-size: 1.05rem; font-weight: 500; }
.km-history li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* Features & Process & Programs & Reviews */
.km-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.km-card { padding: 50px 40px; background: #fff; border-radius: 24px; border: 1px solid var(--border); transition: var(--transition); }
.km-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.km-icon-box { width: 70px; height: 70px; background: var(--primary-light); border-radius: 20px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 2rem; margin-bottom: 24px; }
.km-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.km-card p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* Reviews */
.km-review-card { padding: 40px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.km-stars { color: #F59E0B; font-size: 1.2rem; margin-bottom: 20px; }
.km-review-text { font-size: 1.1rem; line-height: 1.8; color: var(--secondary); font-style: italic; margin-bottom: 24px; }
.km-review-author { font-weight: 700; color: var(--text-muted); }

/* Animations */
.km-reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.km-reveal.active { opacity: 1; transform: translateY(0); }
.km-delay-1 { transition-delay: 0.1s; }
.km-delay-2 { transition-delay: 0.2s; }

/* FAQ, Footer, Modal (기존 동일 유지) */
.km-faq-item { border-bottom: 1px solid var(--border); }
.km-faq-question { width: 100%; text-align: left; padding: 24px 0; background: none; border: none; font-size: 1.2rem; font-weight: 700; color: var(--secondary); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.km-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--text-muted); }
.km-faq-answer-inner { padding-bottom: 24px; line-height: 1.8; }
.km-faq-item.active .km-faq-question i { transform: rotate(180deg); color: var(--primary); }

.km-footer { background: #0F172A; color: #94A3B8; padding: 80px 0 40px; }
.km-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.km-footer-logo { font-size: 2rem; font-weight: 900; color: #fff; display: block; margin-bottom: 20px; }

@media (max-width: 992px) { .km-director { flex-direction: column; } .km-stats-wrap { flex-direction: column; gap: 40px; text-align: center; } }
@media (max-width: 768px) { .km-nav-links { display: none; } .km-hero h1 { font-size: 2.8rem; } }