@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800&display=swap');

:root {
    --damda-primary: #488C5A;
    --damda-primary-dark: #3A7049;
    --damda-primary-light: #6BAF7B;
    --damda-secondary: #F5A623;
    --damda-secondary-light: #FFD17A;
    --damda-accent: #E8725C;
    --damda-bg: #FAFAF5;
    --damda-bg-warm: #FFF8F0;
    --damda-bg-card: #FFFFFF;
    --damda-text: #333333;
    --damda-text-light: #666666;
    --damda-text-muted: #999999;
    --damda-border: #E8E4DC;
    --damda-shadow: 0 2px 20px rgba(0,0,0,0.06);
    --damda-shadow-hover: 0 8px 32px rgba(72,140,90,0.15);
    --damda-radius: 12px;
    --damda-radius-lg: 20px;
}

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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--damda-text);
    background: var(--damda-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADER / NAV ===== */
.damda-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--damda-border);
    transition: box-shadow 0.3s;
}
.damda-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.damda-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.damda-logo img {
    height: 44px;
    width: auto;
}
.damda-nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}
.damda-nav-links a {
    text-decoration: none;
    color: var(--damda-text-light);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.damda-nav-links a:hover,
.damda-nav-links a.active {
    color: var(--damda-primary);
}
.damda-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--damda-primary);
    transition: width 0.3s;
}
.damda-nav-links a:hover::after {
    width: 100%;
}
.damda-nav-cta {
    background: var(--damda-primary);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}
.damda-nav-cta:hover {
    background: var(--damda-primary-dark) !important;
}
.damda-nav-cta::after { display: none !important; }
.damda-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.damda-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--damda-text);
    margin: 5px 0;
    transition: 0.3s;
}

/* ===== HERO ===== */
.damda-hero {
    padding: 120px 24px 80px;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, var(--damda-bg-warm) 100%);
    position: relative;
    overflow: hidden;
}
.damda-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(72,140,90,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.damda-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.damda-hero-badge {
    display: inline-block;
    background: var(--damda-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.damda-hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--damda-text);
}
.damda-hero .subtitle {
    font-size: 18px;
    color: var(--damda-text-light);
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 400;
}
.damda-hero-img {
    width: 100%;
    max-width: 800px;
    border-radius: var(--damda-radius-lg);
    box-shadow: var(--damda-shadow);
    margin-top: 40px;
}

/* ===== SECTION COMMON ===== */
.damda-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.damda-section-title {
    text-align: center;
    margin-bottom: 48px;
}
.damda-section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--damda-text);
}
.damda-section-title p {
    font-size: 16px;
    color: var(--damda-text-light);
}
.damda-section-title .accent-line {
    width: 48px;
    height: 3px;
    background: var(--damda-primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== FEATURE GRID ===== */
.damda-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.damda-feature-card {
    background: var(--damda-bg-card);
    border-radius: var(--damda-radius);
    padding: 36px 28px;
    border: 1px solid var(--damda-border);
    transition: transform 0.3s, box-shadow 0.3s;
}
.damda-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--damda-shadow-hover);
}
.damda-feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(72,140,90,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.damda-feature-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--damda-primary);
    fill: none;
    stroke-width: 2;
}
.damda-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.damda-feature-card p {
    font-size: 15px;
    color: var(--damda-text-light);
    line-height: 1.6;
}

/* ===== PROGRAMS ===== */
.damda-programs-bg {
    background: var(--damda-bg-warm);
}
.damda-programs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.damda-program-card {
    background: var(--damda-bg-card);
    border-radius: var(--damda-radius);
    overflow: hidden;
    border: 1px solid var(--damda-border);
    transition: transform 0.3s, box-shadow 0.3s;
}
.damda-program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--damda-shadow-hover);
}
.damda-program-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.damda-program-body {
    padding: 24px;
}
.damda-program-tag {
    display: inline-block;
    background: rgba(72,140,90,0.1);
    color: var(--damda-primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}
.damda-program-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.damda-program-body p {
    font-size: 14px;
    color: var(--damda-text-light);
    line-height: 1.6;
}

/* ===== BENEFITS ===== */
.damda-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.damda-benefits-img {
    width: 100%;
    border-radius: var(--damda-radius-lg);
    box-shadow: var(--damda-shadow);
}
.damda-benefit-list {
    list-style: none;
}
.damda-benefit-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--damda-border);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.damda-benefit-list li:last-child {
    border-bottom: none;
}
.damda-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--damda-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.damda-check svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    fill: none;
    stroke-width: 3;
}
.damda-benefit-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.damda-benefit-text p {
    font-size: 14px;
    color: var(--damda-text-light);
}

/* ===== FAQ ===== */
.damda-faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.damda-faq-item {
    background: var(--damda-bg-card);
    border: 1px solid var(--damda-border);
    border-radius: var(--damda-radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.damda-faq-q {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s;
    user-select: none;
}
.damda-faq-q:hover {
    background: var(--damda-bg);
}
.damda-faq-q .arrow {
    transition: transform 0.3s;
    color: var(--damda-text-muted);
}
.damda-faq-item.open .damda-faq-q .arrow {
    transform: rotate(180deg);
}
.damda-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.damda-faq-item.open .damda-faq-a {
    max-height: 500px;
}
.damda-faq-a-inner {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--damda-text-light);
    line-height: 1.7;
}

/* ===== CTA ===== */
.damda-cta-section {
    background: var(--damda-primary);
    padding: 60px 24px;
    text-align: center;
    color: #fff;
}
.damda-cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}
.damda-cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 28px;
}
.damda-cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--damda-primary);
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.damda-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ===== BLOG CARDS (최근 글) ===== */
.damda-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.damda-blog-card {
    background: var(--damda-bg-card);
    border-radius: var(--damda-radius);
    overflow: hidden;
    border: 1px solid var(--damda-border);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.damda-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--damda-shadow-hover);
}
.damda-blog-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.damda-blog-body {
    padding: 20px;
}
.damda-blog-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}
.damda-blog-body p {
    font-size: 14px;
    color: var(--damda-text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== FOOTER ===== */
.damda-footer {
    background: #2C2C2C;
    color: #ccc;
    padding: 48px 24px 32px;
}
.damda-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}
.damda-footer-brand img {
    height: 36px;
    margin-bottom: 16px;
}
.damda-footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
}
.damda-footer h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
.damda-footer-links {
    list-style: none;
}
.damda-footer-links li {
    margin-bottom: 8px;
}
.damda-footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.damda-footer-links a:hover {
    color: var(--damda-primary-light);
}
.damda-footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* ===== WP POST STYLES ===== */
.damda-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 24px 60px;
}
.damda-post-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}
.damda-post-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--damda-primary);
    color: var(--damda-text);
}
.damda-post-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--damda-primary-dark);
}
.damda-post-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--damda-text);
}
.damda-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--damda-radius);
    margin: 24px 0;
}
.damda-post-content ul,
.damda-post-content ol {
    margin: 16px 0;
    padding-left: 24px;
}
.damda-post-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.damda-post-content blockquote {
    border-left: 4px solid var(--damda-primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--damda-bg-warm);
    border-radius: 0 var(--damda-radius) var(--damda-radius) 0;
    font-size: 15px;
    color: var(--damda-text-light);
}
.damda-info-box {
    background: rgba(72,140,90,0.08);
    border: 1px solid rgba(72,140,90,0.2);
    border-radius: var(--damda-radius);
    padding: 20px 24px;
    margin: 24px 0;
}
.damda-info-box h4 {
    color: var(--damda-primary-dark);
    font-size: 16px;
    margin-bottom: 8px;
}
.damda-info-box p {
    font-size: 14px;
    margin-bottom: 0;
}
.damda-post-meta {
    display: flex;
    gap: 16px;
    color: var(--damda-text-muted);
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--damda-border);
}
.damda-post-featured {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--damda-radius-lg);
    margin-bottom: 32px;
}

/* ===== TABLE ===== */
.damda-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}
.damda-post-content th {
    background: var(--damda-primary);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}
.damda-post-content td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--damda-border);
}
.damda-post-content tr:nth-child(even) td {
    background: var(--damda-bg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .damda-features { grid-template-columns: repeat(2, 1fr); }
    .damda-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .damda-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .damda-hero h1 { font-size: 30px; }
    .damda-hero .subtitle { font-size: 16px; }
    .damda-features { grid-template-columns: 1fr; }
    .damda-programs { grid-template-columns: 1fr; }
    .damda-benefits { grid-template-columns: 1fr; gap: 32px; }
    .damda-blog-grid { grid-template-columns: 1fr; }
    .damda-section { padding: 60px 20px; }
    .damda-section-title h2 { font-size: 26px; }
    .damda-nav-links { display: none; }
    .damda-mobile-toggle { display: block; }
    .damda-nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 24px;
        border-bottom: 1px solid var(--damda-border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .damda-footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .damda-post-content h1 { font-size: 26px; }
    .damda-post-featured { height: 240px; }
}
@media (max-width: 480px) {
    .damda-hero { padding: 100px 16px 60px; }
    .damda-hero h1 { font-size: 26px; }
    .damda-cta-section h2 { font-size: 22px; }
}
