@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --font-display: 'Outfit', 'Noto Sans KR', Pretendard, sans-serif;
    --font-body: 'Noto Sans KR', Pretendard, -apple-system, sans-serif;

    --bg-white: #ffffff;
    --bg-page: #f4f1ec;
    --bg-soft: #ebe6df;
    --bg-accent: rgba(13, 148, 136, 0.11);
    --surface-glass: rgba(255, 253, 250, 0.78);
    --surface-elevated: #ffffff;

    --text-primary: #0f1412;
    --text-secondary: #4d4945;
    --text-light: #7c7670;

    --primary-teal: #0d9488;
    --primary-teal-bright: #14b8a6;
    --primary-blue: #0d9488;
    --primary-hover: #0f766e;
    --accent-cta: #ea580c;
    --accent-cta-hover: #c2410c;
    --accent-amber: #f59e0b;

    --shadow-sm: 0 2px 8px rgb(15 20 18 / 0.055);
    --shadow-md: 0 12px 36px rgb(15 20 18 / 0.09);
    --shadow-lg: 0 22px 56px rgb(15 20 18 / 0.11);
    --shadow-glow-teal: 0 8px 28px rgb(13 148 136 / 0.2);

    --border-light: #dfd9d1;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;

    --section-y: 108px;
    --section-y-tight: 80px;
    --container-pad-x: 24px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.65;
    word-break: keep-all;
    background-color: var(--bg-page);
    background-image:
        radial-gradient(ellipse 100% 70% at 0% -15%, rgb(13 148 136 / 0.11), transparent 52%),
        radial-gradient(ellipse 80% 50% at 100% 0%, rgb(234 88 12 / 0.06), transparent 48%),
        radial-gradient(ellipse 70% 45% at 50% 105%, rgb(13 148 136 / 0.05), transparent 55%);
    background-attachment: fixed;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

::selection {
    background: rgb(13 148 136 / 0.22);
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-pad-x);
}

.section {
    padding: var(--section-y) 0;
}

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

.text-blue {
    color: var(--primary-blue);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Strapi 상태 배너 */
.strapi-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.45;
}

.strapi-banner--error {
    background: #fef2f2;
    color: #991b1b;
    border-bottom: 1px solid #fecaca;
}

.strapi-banner--warn {
    background: #fffbeb;
    color: #92400e;
    border-bottom: 1px solid #fde68a;
}

body:has(#strapi-banner:not([hidden])) .navbar {
    top: 52px;
}

body:has(#strapi-banner:not([hidden])) .hero {
    padding-top: 200px;
}

.cms-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.25rem 1.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    border: 1px dashed rgb(13 148 136 / 0.25);
    box-shadow: var(--shadow-sm);
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--surface-glass);
    backdrop-filter: blur(22px) saturate(1.15);
    -webkit-backdrop-filter: blur(22px) saturate(1.15);
    border-bottom: 1px solid rgb(223 217 209 / 0.85);
    height: 72px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.28s ease, top 0.2s ease, border-color 0.2s ease;
}

.navbar.is-scrolled {
    box-shadow: 0 4px 24px rgb(15 20 18 / 0.06);
    border-bottom-color: rgb(223 217 209 / 0.65);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-container .site-nav {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    display: flex;
    align-items: center;
    line-height: 1;
}

.nav-links li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.nav-links li a:hover {
    color: var(--primary-blue);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-cta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.nav-links li a:hover::after {
    transform: scaleX(1);
}

.nav-links li a.nav-cta::after {
    display: none;
}

/* 내비게이션 「상담 · 신청」— 틸→오렌지 그라데이션 필 */
.nav-links li a.nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px 10px 18px;
    margin-left: 2px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff !important;
    text-shadow: 0 1px 1px rgb(0 0 0 / 0.12);
    border: 1px solid rgb(255 255 255 / 0.28);
    background:
        linear-gradient(180deg, rgb(255 255 255 / 0.2) 0%, transparent 45%),
        linear-gradient(135deg, #0d9488 0%, #0f766e 38%, #c2410c 88%, #ea580c 100%);
    box-shadow:
        0 1px 0 rgb(255 255 255 / 0.22) inset,
        0 2px 0 rgb(0 0 0 / 0.06) inset,
        0 6px 18px rgb(13 148 136 / 0.3),
        0 10px 26px rgb(234 88 12 / 0.16);
    transition:
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.22s ease,
        filter 0.2s ease,
        border-color 0.2s ease;
}

.nav-links li a.nav-cta:hover {
    color: #fff !important;
    filter: brightness(1.05);
    transform: translateY(-2px);
    border-color: rgb(255 255 255 / 0.4);
    box-shadow:
        0 1px 0 rgb(255 255 255 / 0.28) inset,
        0 2px 0 rgb(0 0 0 / 0.05) inset,
        0 10px 28px rgb(13 148 136 / 0.38),
        0 16px 36px rgb(234 88 12 / 0.22);
}

.nav-links li a.nav-cta:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.nav-links li a.nav-cta .nav-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92em;
    opacity: 0.95;
}

.nav-links li a.nav-cta .nav-cta__text {
    position: relative;
    z-index: 1;
}

/* 내비 외 .nav-cta (예: 신청 폼 대체 버튼) */
.nav-cta {
    color: white !important;
    border-radius: 999px;
}

/* 모바일 메뉴 토글 — 데스크톱에서 숨김 */
.nav-toggle {
    display: none;
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: var(--surface-elevated);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.nav-toggle:hover {
    border-color: rgb(13 148 136 / 0.35);
    color: var(--primary-teal);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

/* Font Awesome이 style.css 뒤에 로드되어 display를 덮어쓰므로 !important 로 한쪽만 표시 */
.nav-toggle .nav-toggle__icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.15rem;
    line-height: 1;
    pointer-events: none;
}

.nav-toggle .nav-toggle__icon--bars {
    display: block !important;
}

.nav-toggle .nav-toggle__icon--close {
    display: none !important;
}

.navbar.is-menu-open .nav-toggle .nav-toggle__icon--bars {
    display: none !important;
}

.navbar.is-menu-open .nav-toggle .nav-toggle__icon--close {
    display: block !important;
}

.nav-backdrop {
    display: none;
}

body.is-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
}

body.is-nav-open .navbar {
    z-index: 1100;
}

@media (min-width: 901px) {
    .nav-backdrop {
        display: none !important;
    }
}

@media (max-width: 900px) {
    /* backdrop-filter 는 fixed 자식의 containing block 이 될 수 있어 모바일에서 끔 */
    .navbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgb(255 253 250 / 0.98);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1090;
        background: rgb(15 20 18 / 0.48);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.28s ease,
            visibility 0.28s ease;
    }

    .navbar.is-menu-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-container .site-nav {
        display: block;
        position: fixed;
        top: 72px;
        right: 0;
        left: auto;
        z-index: 1091;
        width: min(300px, 88vw);
        height: calc(100dvh - 72px);
        max-height: calc(100svh - 72px);
        margin: 0;
        padding: 8px 0 max(20px, env(safe-area-inset-bottom));
        background: var(--surface-elevated);
        border-left: 1px solid var(--border-light);
        box-shadow: -12px 0 40px rgb(15 20 18 / 0.12);
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar.is-menu-open .site-nav {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
        max-width: none;
        font-size: 1rem;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        width: 100%;
        min-height: 48px;
        padding: 14px 20px;
        box-sizing: border-box;
        border-radius: 0;
        font-size: 1rem;
    }

    .nav-links li a:not(.nav-cta) {
        border-bottom: 1px solid rgb(223 217 209 / 0.85);
    }

    .nav-links li a::after {
        display: none;
    }

    .nav-links li a.nav-cta {
        margin: 18px 16px 8px;
        width: auto;
        min-height: 48px;
        justify-content: center;
        border-radius: 999px;
    }

    .logo-text {
        font-size: 1.22rem;
    }

    .logo-link svg {
        width: 32px;
        height: 32px;
    }
}

body:has(#strapi-banner:not([hidden])) .nav-backdrop {
    top: 124px;
}

body:has(#strapi-banner:not([hidden])) .nav-container .site-nav {
    top: 124px;
    height: calc(100dvh - 124px);
    max-height: calc(100svh - 124px);
}

@media (prefers-reduced-motion: reduce) {
    .nav-backdrop,
    .nav-container .site-nav {
        transition-duration: 0.01ms !important;
    }
}

/* Hero */
.hero {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero--dark {
    background:
        radial-gradient(ellipse 90% 60% at 15% 20%, rgb(20 184 166 / 0.18), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 30%, rgb(234 88 12 / 0.12), transparent 50%),
        linear-gradient(155deg, #071512 0%, #0d3d38 38%, #0c1f2e 100%);
    color: #f8fafc;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 18%, black 22%, transparent 78%);
    pointer-events: none;
}

.hero--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgb(13 148 136 / 0.15), transparent 45%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero--dark .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.88);
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #2dd4bf;
    border-radius: 50%;
    box-shadow: 0 0 12px rgb(45 212 191 / 0.7);
}

.hero--dark .badge-dot {
    background: #fbbf24;
    box-shadow: 0 0 12px rgb(251 191 36 / 0.6);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 5.5vw, 3.75rem);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero--dark h1 {
    color: #fff;
}

.hero p {
    font-size: 1.08rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
}

.hero--dark p {
    color: rgba(226, 232, 240, 0.88);
}

.hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.btn {
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* 탐색·정보: 청록 (과정 보기 등) */
.btn-explore,
.btn-primary {
    background: linear-gradient(135deg, #14b8a6 0%, var(--primary-teal) 100%);
    color: #fff !important;
    box-shadow: 0 8px 28px rgb(13 148 136 / 0.38);
}

.btn-explore:hover,
.btn-primary:hover {
    filter: brightness(1.04);
}

/* 밝은 배경용 청록 아웃라인 */
.btn-explore-outline {
    border: 2px solid var(--primary-teal);
    background: transparent;
    color: var(--primary-teal) !important;
    box-shadow: none;
}

.btn-explore-outline:hover {
    background: rgba(13, 148, 136, 0.08);
}

/* 행동 CTA: 오렌지 (상담·신청) */
.btn-action {
    background: linear-gradient(135deg, var(--accent-cta) 0%, #f97316 100%);
    color: #fff !important;
    box-shadow: 0 8px 26px rgb(234 88 12 / 0.38);
}

.btn-action:hover {
    filter: brightness(1.05);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    backdrop-filter: blur(8px);
}

.hero--dark .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 히어로 다음 — 정보보안 전문가 코딩 강의 */
.section--expert-edu {
    padding: var(--section-y-tight) 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.expert-edu__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.6vw, 1.95rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0 0 20px;
    padding-left: 20px;
    border-left: 5px solid var(--primary-teal);
    letter-spacing: -0.02em;
}

.expert-edu__lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 600;
    color: var(--primary-teal);
    line-height: 1.5;
    margin: 0 0 36px;
    max-width: 52rem;
}

.expert-edu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 52rem;
}

.expert-edu__item {
    position: relative;
    padding-left: 22px;
}

.expert-edu__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-teal);
}

.expert-edu__item-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
    line-height: 1.4;
}

.expert-edu__item-desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

@media (max-width: 768px) {
    .expert-edu__list {
        gap: 22px;
    }

    .expert-edu__lead {
        margin-bottom: 28px;
    }
}

/* 히어로 다음 — 코딩 방식 비교 */
.section--compare {
    padding: var(--section-y-tight) 0;
    background: var(--bg-soft);
    border-bottom: 1px solid rgba(232, 228, 222, 0.9);
}

.compare-models__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0 0 40px;
    padding-left: 20px;
    border-left: 5px solid var(--primary-teal);
    letter-spacing: -0.02em;
}

.compare-models__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.compare-models__card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.compare-models__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgb(13 148 136 / 0.22);
}

.compare-models__subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin: 0 0 16px;
    line-height: 1.4;
}

.compare-models__divider {
    height: 1px;
    background: var(--border-light);
    margin: 0 0 20px;
}

.compare-models__body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0 0 14px;
}

.compare-models__body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .compare-models__grid {
        grid-template-columns: 1fr;
    }

    .compare-models__card {
        padding: 24px 22px;
    }

    .compare-models__title {
        margin-bottom: 28px;
    }
}

/* 활동 소개 다음 — 교육·환경·현직자 */
.section--learning-env {
    padding: var(--section-y-tight) 0;
    background: var(--bg-soft);
    border-top: 1px solid rgba(232, 228, 222, 0.85);
}

.learning-env__title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0 0 36px;
    padding-left: 20px;
    border-left: 5px solid var(--primary-teal);
    letter-spacing: -0.02em;
    max-width: 48rem;
}

.learning-env__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.learning-env__card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.learning-env__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgb(13 148 136 / 0.2);
}

.learning-env__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-teal);
    font-size: 1.35rem;
}

.learning-env__card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
    line-height: 1.35;
}

.learning-env__card-text {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .learning-env__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .learning-env__title {
        margin-bottom: 28px;
    }
}

/* Instructors (Student Cards) */
.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-family: var(--font-display);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    display: inline-block;
    margin-bottom: 14px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--bg-accent);
    border: 1px solid rgb(13 148 136 / 0.18);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-teal-bright), var(--accent-cta));
    opacity: 0.95;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

.student-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.student-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), var(--shadow-glow-teal);
    border-color: rgba(13, 148, 136, 0.28);
}

/* 멘토 카드 — 활동 카드와 유사한 블록감 + 상단 아이콘 */
.mentor-card.instructor-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
}

.mentor-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    font-size: 1.45rem;
    color: var(--primary-teal);
    background: linear-gradient(135deg, rgb(20 184 166 / 0.14) 0%, rgb(234 88 12 / 0.08) 100%);
    border-bottom: 1px solid var(--border-light);
}

.mentor-card__body {
    padding: 22px 26px 28px;
}

.mentor-card .instructor-name {
    font-size: 1.35rem;
}

.mentor-card .instructor-role {
    margin-bottom: 16px;
}

.mentor-card .career-item {
    margin-bottom: 10px;
}

.mentor-card .career-desc {
    font-size: 0.82rem;
    line-height: 1.45;
}

.poster-fallback {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.poster-fallback-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.instructor-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 5px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mentor-linkedin {
    color: #0a66c2 !important;
    font-size: 0.85em;
    margin-left: 6px;
    vertical-align: middle;
}

.tech-stack-block {
    margin-top: 20px;
}

.tech-stack-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
}

.curr-head {
    margin-bottom: 10px;
}

.curr-class-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 800;
}

.curr-class-desc {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.curr-download-wrap {
    margin-top: 20px;
    text-align: center;
}

.instructor-role {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 24px;
    display: inline-block;
    border-bottom: 2px solid var(--bg-accent);
}

.career-item {
    margin-bottom: 12px;
}

.career-title {
    font-weight: 600;
    display: block;
    color: var(--text-primary);
}

.career-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tech-stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tech-badge {
    font-size: 0.75rem;
    background: var(--bg-soft);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-secondary);
    font-weight: 500;
    border: 1px solid #f1f5f9;
}

/* Slider */
.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 5px;
    scrollbar-width: none;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slide-item {
    min-width: 320px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.project-badges {
    margin-bottom: 12px;
    display: flex;
    gap: 6px;
}

.p-badge {
    font-size: 0.7rem;
    background: var(--bg-soft);
    padding: 2px 8px;
    border-radius: 4px;
}

.p-badge.highlight {
    background: var(--bg-accent);
    color: var(--primary-blue);
}

.project-link-btn {
    display: block;
    text-align: center;
    background: var(--bg-soft);
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 20px;
}

.disabled-link {
    color: var(--text-light);
    cursor: default;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--bg-soft);
    color: var(--primary-blue);
}

.btn-left {
    left: -20px;
}

.btn-right {
    right: -20px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    display: block;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-img {
    width: 100%;
    height: 180px;
    background-color: var(--bg-soft);
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

/* Activity — Swiper 무한 마퀴 */
.section--activities .section-header {
    margin-bottom: 8px;
}

.activity-marquee {
    width: 100%;
    margin-top: 20px;
}

.activity-marquee__viewport {
    overflow-x: hidden;
    padding: 12px 0 20px;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.activity-marquee__viewport:has(.cms-empty) {
    mask-image: none;
    -webkit-mask-image: none;
}

.activity-marquee-swiper {
    width: 100%;
    overflow: visible;
    cursor: grab;
}

.activity-marquee-swiper.swiper-grabbing,
.activity-marquee-swiper:active {
    cursor: grabbing;
}

.activity-marquee-swiper.swiper-horizontal > .swiper-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
}

.activity-marquee-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

/* Swiper 기본 .swiper-slide { width:100% } 가 CDN 뒤에 로드되어 한 장씩만 보이는 문제 방지 */
.activity-marquee-swiper.swiper-horizontal .swiper-slide.activity-marquee__slide {
    width: auto !important;
    max-width: none;
    height: auto !important;
    flex-shrink: 0;
    box-sizing: border-box;
}

.activity-marquee__slide .activity-card {
    height: 100%;
}

#activity-container:has(.cms-empty) {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

.activity-card {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    flex: 0 0 auto;
    width: min(400px, 54vw);
    max-width: min(400px, 58vw);
    min-height: 172px;
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    -webkit-user-drag: none;
    user-select: none;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 148, 136, 0.38);
}

.activity-img {
    width: 168px;
    min-width: 168px;
    height: auto;
    min-height: 172px;
    max-height: 240px;
    object-fit: cover;
    display: block;
    background: var(--bg-soft);
    flex-shrink: 0;
}

.activity-content {
    padding: 20px 22px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.activity-title {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 480px) {
    .activity-card {
        flex-direction: column;
        width: min(320px, 86vw);
        max-width: min(320px, 90vw);
        min-height: 0;
    }

    .activity-img {
        width: 100%;
        min-width: 0;
        height: 168px;
        min-height: 168px;
        max-height: 168px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .activity-marquee__viewport:not(:has(.cms-empty)) {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
    }

    .activity-marquee-swiper {
        cursor: default;
    }
}

/* Footer */
.site-footer,
footer {
    position: relative;
    text-align: center;
    padding: 56px 0 48px;
    color: rgba(248, 250, 252, 0.75);
    font-size: 0.9rem;
    margin-top: 0;
    background: linear-gradient(180deg, #0f172a 0%, #0c1a18 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer::before,
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgb(20 184 166 / 0.7), rgb(234 88 12 / 0.6), transparent);
    opacity: 0.85;
    pointer-events: none;
}

.site-footer strong,
footer strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.site-footer-copy {
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.45);
}

/* Contact — 멘토링·클래스 신청(전폭 비교 카드) */
#contact .container--contact {
    max-width: 1280px;
}

.contact-section {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.contact-header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.contact-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.contact-header h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-teal-bright), var(--accent-cta));
}

.contact-header .section-tag {
    margin-bottom: 12px;
}

.contact-header p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    max-width: 32rem;
    margin: 12px auto 0;
    line-height: 1.65;
}

.classes-apply {
    width: 100%;
    text-align: center;
}

/* 모집 클래스 비교 그리드: 모바일 1열 · 넓은 화면 2열 */
.classes-compare {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
    width: 100%;
    text-align: left;
}

@media (min-width: 960px) {
    .classes-compare {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 32px;
    }
}

#contact .class-card.class-card--compare {
    container-type: inline-size;
    container-name: contactClassCard;
}

@container contactClassCard (max-width: 36rem) {
    .class-card__main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .class-card__col--aside {
        padding-left: 0;
        border-left: none;
        padding-top: 16px;
        border-top: 1px solid rgb(15 23 42 / 0.08);
    }
}

#contact .curriculum-box.curriculum-box--classes {
    max-width: 100%;
    width: 100%;
    margin-inline: 0;
    margin-bottom: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    text-align: center;
}

#contact .curriculum-box.curriculum-box--classes::before {
    display: none;
}

#contact .curriculum-box--classes .curr-title {
    text-align: center;
}

#contact .curriculum-box__lead {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-actions {
    margin-top: 40px;
    text-align: center;
}

.contact-actions__icon {
    margin-left: 8px;
}

.poster-display {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 800 / 420;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 0 auto;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    display: grid;
    place-items: center;
}

.poster-display > .poster-img,
.poster-display > .poster-fallback {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
}

/* [hidden] 기본 display:none이 .poster-img/.poster-fallback의 display에 밀려 빈 src 이미지가 보이는 것 방지 */
.poster-display > .poster-img[hidden],
.poster-display > .poster-fallback[hidden] {
    display: none !important;
}

.poster-img {
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    /* Improved for wider container */
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.info-item {
    background: var(--bg-soft);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-icon {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Curriculum Box - Premium Redesign */
.curriculum-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 30px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

/* Gradient Top Bar */
.curriculum-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6 0%, #fbbf24 50%, #ea580c 100%);
}

.curriculum-box--classes {
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
    text-align: center;
}

.curriculum-box__lead {
    margin: -8px auto 0;
    max-width: 34rem;
    padding: 0 8px 4px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* 모집 클래스: 기본 세로 스택(다른 페이지 호환) */
.classes-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

/* 모집 클래스 카드 (Strapi class 컴포넌트) */
.class-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.class-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgb(13 148 136 / 0.12);
    border-color: rgba(13, 148, 136, 0.3);
}

#contact .class-card--compare:hover {
    transform: translateY(-2px);
}

#contact .class-card--compare.class-card--has-flip:hover {
    transform: none;
}

/* 플립 카드: 바깥 article은 투명 래퍼 — 테두리·그림자·호버는 scene이 담당해 전체 박스가 같이 뒤집힘 */
.class-card--has-flip.class-card {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    min-height: 0;
}

.class-card--has-flip:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.class-card--has-flip .class-card__flip-scene {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    perspective: 1200px;
    transform: translateZ(0);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.class-card--has-flip:hover .class-card__flip-scene {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgb(13 148 136 / 0.12);
    border-color: rgba(13, 148, 136, 0.3);
}

#contact .class-card--compare.class-card--has-flip:hover .class-card__flip-scene {
    transform: translateY(-2px);
}

/* 상세 로드맵: 카드 뒤집기 */
.class-card--has-flip .class-card__flip-inner {
    position: relative;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    min-height: 12rem;
}

.class-card--has-flip.class-card--is-flipped .class-card__flip-inner {
    transform: rotateY(180deg);
}

.class-card__face--front,
.class-card__face--back {
    grid-area: 1 / 1;
    align-self: stretch;
    min-height: 0;
    display: flex;
    flex-direction: column;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.class-card__face--front {
    transform: rotateY(0deg);
    background: #ffffff;
}

.class-card__face--back {
    transform: rotateY(180deg);
    background: #ffffff;
}

.class-card__back-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 18px 22px 20px;
    text-align: left;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.class-card__back-head {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgb(15 23 42 / 0.08);
}

.class-card__back-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
}

.class-card__back-title i {
    color: #0d9488;
}

.class-card--js .class-card__back-title i {
    color: #c2410c;
}

.class-card__face--back .class-card__timeline {
    margin: 0;
    padding: 0;
    flex: 1;
    min-height: 0;
}

.class-card__flip-back-btn {
    margin-top: 16px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgb(15 23 42 / 0.12);
    background: rgb(248 250 252);
    color: var(--text-primary);
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.class-card__flip-back-btn:hover {
    background: rgb(240 253 250);
    border-color: rgb(13 148 136 / 0.28);
    color: #0f766e;
}

.class-card__flip-back-btn:focus {
    outline: none;
}

.class-card__flip-back-btn:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

.class-card--js .class-card__flip-back-btn:hover {
    background: rgb(255 247 237);
    border-color: rgb(234 88 12 / 0.3);
    color: #c2410c;
}

.class-card__roadmap-trigger {
    padding: 14px 22px 6px;
    background: rgb(248 250 252);
    border-bottom: 1px solid var(--border-light);
}

.class-card__roadmap-flip-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgb(15 23 42 / 0.1);
    background: #ffffff;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.05);
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

.class-card__roadmap-flip-btn i {
    color: #0d9488;
}

.class-card__roadmap-flip-btn:hover {
    border-color: rgb(13 148 136 / 0.35);
    background: rgb(240 253 250 / 0.65);
    color: #0f766e;
}

.class-card__roadmap-flip-btn:focus {
    outline: none;
}

.class-card__roadmap-flip-btn:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

.class-card--js .class-card__roadmap-flip-btn i {
    color: #c2410c;
}

.class-card--js .class-card__roadmap-flip-btn:hover {
    border-color: rgb(234 88 12 / 0.35);
    background: rgb(255 247 237 / 0.85);
    color: #c2410c;
}

@media (prefers-reduced-motion: reduce) {
    .class-card--has-flip .class-card__flip-inner {
        transition: none;
    }
}

.class-card__head {
    position: relative;
    padding: 18px 22px 16px;
    background: linear-gradient(165deg, rgb(236 253 245) 0%, #ffffff 52%);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.class-card__head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.class-card__index {
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #0d9488;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgb(20 184 166 / 0.12);
}

.class-card__title {
    margin: 0;
    min-width: 12rem;
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.28;
    letter-spacing: -0.025em;
}

.class-card__head-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.class-card__intro {
    padding: 16px 22px 20px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(180deg, #ffffff 0%, rgb(248 250 252 / 0.55) 100%);
    text-align: left;
}

.class-card__intro::before {
    content: '클래스 소개';
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 8px;
}

#contact .class-card--compare .class-card__title {
    min-width: 0;
    width: 100%;
}

.class-card--scratch .class-card__head {
    background:
        linear-gradient(180deg, rgb(204 251 241 / 0.45) 0%, transparent 42%),
        linear-gradient(145deg, rgb(236 253 245) 0%, #ffffff 58%);
}

.class-card--js .class-card__head {
    background:
        linear-gradient(180deg, rgb(255 237 213 / 0.55) 0%, transparent 40%),
        linear-gradient(145deg, rgb(255 247 237) 0%, #ffffff 56%);
}

.class-card--js .class-card__index {
    color: #c2410c;
    background: rgb(234 88 12 / 0.12);
}

/* 핵심 정보 — Grid 2열 (표 대신: 레이블 너비는 내용만큼, 값은 바로 옆에서 시작) */
.class-card__info-wrap {
    margin: 0;
    padding: 0;
    background: rgb(248 250 252);
    border-bottom: 1px solid var(--border-light);
}

.class-card__info {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 0.92rem;
}

.class-card__info-row {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding: 13px 22px;
    border-bottom: 1px solid rgb(15 23 42 / 0.08);
    background: linear-gradient(90deg, rgb(248 250 252) 0%, rgb(252 252 253) 100%);
}

.class-card__info-row:last-child {
    border-bottom: none;
}

.class-card__info-label {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    text-align: left;
    font-weight: 700;
    color: #0f766e;
    white-space: nowrap;
}

.class-card__info-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgb(20 184 166 / 0.14);
    color: #0d9488;
    font-size: 0.8rem;
}

.class-card__info-name {
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.35;
}

.class-card__info-value {
    margin: 0;
    padding: 0;
    padding-top: 2px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.55;
    word-break: keep-all;
    min-width: 0;
}

.class-card--js .class-card__info-icon {
    background: rgb(234 88 12 / 0.12);
    color: #c2410c;
}

@media (max-width: 520px) {
    .class-card__info-row {
        grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
        column-gap: 10px;
        padding: 12px 18px;
    }

    .class-card__info-label {
        white-space: normal;
        align-items: flex-start;
    }

    .class-card__info-name {
        white-space: normal;
    }

    .class-card__info-value {
        font-size: 0.88rem;
        padding-top: 0;
    }
}

/* 본문: 소개(왼쪽) + 로드맵(오른쪽) */
.class-card__main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 0 28px;
    padding: 18px 20px 20px;
    align-items: start;
}

.class-card__main--single {
    grid-template-columns: 1fr;
}

.class-card__col {
    min-width: 0;
}

.class-card__col--aside {
    padding-top: 2px;
    padding-left: 22px;
    border-left: 1px solid rgb(15 23 42 / 0.08);
}

.class-card__main--single .class-card__col--aside {
    padding-left: 0;
    border-left: none;
    padding-top: 0;
}

.class-card__lead {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.68;
    font-style: italic;
    font-weight: 500;
    color: #0f766e;
    text-align: left;
}

.class-card__col--aside .class-card__section {
    padding: 0;
    margin: 0;
}

.class-card__section-title {
    margin: 0 0 12px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.class-card__section-title i {
    color: #0d9488;
}

.class-card__timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.class-card__timeline-item {
    display: flex;
    gap: 10px 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-top: 1px dashed rgb(15 23 42 / 0.1);
}

.class-card__timeline-item:first-child {
    border-top: none;
    padding-top: 0;
}

.class-card__step-num {
    flex-shrink: 0;
    background: rgb(20 184 166 / 0.14);
    color: #0f766e;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
    margin-top: 3px;
}

.class-card__step-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.class-card__step-body strong {
    font-size: 0.86rem;
    color: var(--text-primary);
}

.class-card__step-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.class-card__actions {
    margin-top: auto;
    padding: 20px 22px 22px;
    border-top: 1px solid var(--border-light);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.class-card__apply-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.12rem;
    font-weight: 800;
    min-height: 3.35rem;
    padding: 18px 22px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.class-card__apply-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.class-card__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: center;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgb(100 116 139);
    text-decoration: underline;
    text-decoration-color: rgb(148 163 184 / 0.55);
    text-underline-offset: 3px;
    padding: 6px 8px;
    border-radius: 8px;
    border: none;
    background: transparent;
    transition:
        color 0.15s ease,
        text-decoration-color 0.15s ease;
}

.class-card__download:hover {
    color: #0f766e;
    text-decoration-color: rgb(13 148 136 / 0.45);
    background: transparent;
}

.class-card__download:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 3px;
    border-radius: 6px;
}

.class-card__footer {
    padding: 14px 20px 18px;
    text-align: center;
    border-top: 1px solid var(--border-light);
    background: linear-gradient(180deg, rgb(248 250 252) 0%, rgb(240 253 250 / 0.4) 100%);
}

@media (max-width: 768px) {
    .classes-grid {
        max-width: none;
    }

    .class-card__main {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px 18px 18px;
    }

    .class-card__col--aside {
        padding-left: 0;
        border-left: none;
        padding-top: 16px;
        border-top: 1px solid rgb(15 23 42 / 0.08);
    }

    .class-card__info-row {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.curr-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.curr-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
    padding: 20px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.curr-item:last-child {
    margin-bottom: 0;
}

.curr-item:hover {
    background: #ffffff;
    box-shadow: 0 12px 32px rgb(13 148 136 / 0.12);
    border-color: rgba(13, 148, 136, 0.35);
    transform: translateY(-3px);
}

.curr-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.scratch-color {
    background: linear-gradient(135deg, #FFAB19 0%, #FF8C00 100%);
    color: white;
}

.js-color {
    background: linear-gradient(135deg, #F7DF1E 0%, #FFD700 100%);
    color: #333;
}

.curr-text {
    min-width: 0;
}

.curr-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 700;
}

.curr-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Class Detail Grid */
.class-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-light);
}

.detail-row {
    font-size: 0.85rem;
    display: flex;
    gap: 8px;
}

.detail-row span {
    color: var(--text-light);
    min-width: 55px;
    font-weight: 500;
}

.detail-row strong {
    color: var(--text-primary);
    font-weight: 600;
}

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

    .curr-item {
        flex-direction: column;
    }

    .curr-icon-box {
        margin-bottom: 12px;
    }

    .container {
        padding: 0 16px;
    }

    .curriculum-box {
        padding: 20px;
    }
}

/* Curriculum Steps */
.curriculum-steps {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.roadmap-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.step-num {
    background: var(--bg-accent);
    color: var(--primary-blue);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 100px;
    white-space: nowrap;
    margin-top: 2px;
}

.step-content {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
    min-width: 0;
}

.step-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.class-tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 0.75rem;
    padding: 3px 10px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 6px;
    font-weight: 500;
}

.difficulty-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 8px;
}

.diff-easy {
    background: #dcfce7;
    color: #166534;
}

.diff-medium {
    background: #fef9c3;
    color: #854d0e;
}

/* Mobile Responsive for Grid */
@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.contact-action .nav-cta,
#apply-btn-fallback.nav-cta {
    background: linear-gradient(135deg, var(--accent-cta) 0%, #f97316 100%);
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgb(234 88 12 / 0.4);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.contact-action .nav-cta:hover,
#apply-btn-fallback.nav-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 10px 28px rgb(234 88 12 / 0.45);
}

.contact-sub-text {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

@keyframes pulse-cta {
    0% {
        box-shadow: 0 0 0 0 rgb(234 88 12 / 0.45);
    }

    70% {
        box-shadow: 0 0 0 12px rgb(234 88 12 / 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgb(234 88 12 / 0);
    }
}

.btn-pulse {
    animation: pulse-cta 2.2s infinite;
}

/* Download Button */
.dl-btn {
    display: inline-block;
    padding: 12px 22px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 14px rgb(13 148 136 / 0.35);
}

.dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgb(13 148 136 / 0.4);
}

.dl-btn i {
    margin-right: 6px;
}

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

    .btn-left {
        left: -10px;
    }

    .btn-right {
        right: -10px;
    }
}

/* 학원형: 대상별 빠른 진입 카드 */
.track-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 48px;
    text-align: left;
}

.track-card {
    display: block;
    background: linear-gradient(145deg, rgb(255 255 255 / 0.1) 0%, rgb(255 255 255 / 0.04) 100%);
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: var(--radius-md);
    padding: 22px 22px 20px;
    box-shadow:
        0 4px 24px rgb(0 0 0 / 0.22),
        inset 0 1px 0 rgb(255 255 255 / 0.08);
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.2s ease, background 0.25s ease;
}

.track-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(145deg, rgb(255 255 255 / 0.14) 0%, rgb(255 255 255 / 0.06) 100%);
    border-color: rgb(94 234 212 / 0.55);
    box-shadow:
        0 20px 48px rgb(0 0 0 / 0.32),
        0 0 0 1px rgb(45 212 191 / 0.12),
        inset 0 1px 0 rgb(255 255 255 / 0.12);
}

.track-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgb(20 184 166 / 0.35) 0%, rgb(13 148 136 / 0.2) 100%);
    color: #99f6e4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgb(0 0 0 / 0.15);
}

.track-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
}

.track-card p {
    font-size: 0.88rem;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.5;
    margin: 0;
}

.track-card-meta {
    margin-top: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #5eead4;
}

/* 과정 안내 페이지 */
.page-hero {
    position: relative;
    padding: 168px 0 56px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, rgb(13 148 136 / 0.14), transparent 60%),
        linear-gradient(180deg, #e8e2da 0%, var(--bg-page) 45%, var(--bg-page) 100%);
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d9488' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.9;
    pointer-events: none;
}

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

.page-hero .section-tag {
    background: rgb(255 255 255 / 0.65);
    border-color: rgb(13 148 136 / 0.2);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.95rem, 4.2vw, 2.85rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.page-hero h1::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-teal-bright), var(--accent-cta));
}

.page-hero .lead {
    color: var(--text-secondary);
    max-width: 36rem;
    margin: 20px auto 0;
    font-size: 1.06rem;
    line-height: 1.7;
}

.courses-sticky-wrap {
    position: sticky;
    top: 72px;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
}

.courses-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.courses-subnav a {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 100px;
    background: var(--surface-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.courses-subnav a:hover {
    color: var(--primary-blue);
    border-color: rgb(13 148 136 / 0.45);
    background: white;
    transform: translateY(-1px);
}

.pricing-table-wrap {
    overflow-x: auto;
    margin: 32px 0 48px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--surface-elevated);
    box-shadow: var(--shadow-md);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.02rem;
    min-width: 720px;
}

.pricing-table th,
.pricing-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid rgb(223 217 209 / 0.75);
    vertical-align: top;
}

.pricing-col-stage {
    width: 7.5rem;
    white-space: nowrap;
}

.pricing-col-summary {
    min-width: 17rem;
    width: 36%;
}

.pricing-col-summary,
.pricing-table td:nth-child(2) {
    white-space: nowrap;
}

.pricing-col-goal {
    min-width: 7rem;
}

.pricing-table th {
    background: linear-gradient(180deg, rgb(235 230 223 / 0.95) 0%, rgb(228 222 214 / 0.9) 100%);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-table tbody tr:nth-child(even) {
    background: rgb(13 148 136 / 0.03);
}

.pricing-table tbody tr:hover td {
    background: rgb(13 148 136 / 0.06);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table .col-narrow {
    white-space: nowrap;
    width: 1%;
}

#courses-track-blocks {
    display: contents;
}

.course-track-block {
    scroll-margin-top: 120px;
    position: relative;
    background: var(--surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 30px 34px 28px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.28s ease, border-color 0.2s ease;
}

.course-track-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
    background: linear-gradient(180deg, var(--primary-teal-bright), var(--accent-cta));
}

.course-track-block:hover {
    box-shadow: var(--shadow-md);
    border-color: rgb(13 148 136 / 0.2);
}

.course-track-block h2 {
    font-family: var(--font-display);
    font-size: 1.42rem;
    margin-bottom: 12px;
    font-weight: 800;
    padding-bottom: 12px;
    border-bottom: 1px solid rgb(13 148 136 / 0.18);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.course-track-block .purpose {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.55;
}

.course-track-block .purpose strong {
    color: var(--primary-teal);
}

.course-track-detail-desc {
    color: var(--text-secondary);
    margin: 0 0 18px;
    padding: 14px 16px;
    font-size: 0.96rem;
    line-height: 1.7;
    white-space: pre-line;
    background: rgb(13 148 136 / 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgb(13 148 136 / 0.1);
}

.course-track-details {
    margin-top: 8px;
    border-radius: var(--radius-sm);
}

.course-track-details > summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary-teal);
    padding: 12px 16px;
    margin: 0 -8px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.course-track-details > summary::-webkit-details-marker {
    display: none;
}

.course-track-details > summary::before {
    content: "\25BC";
    font-size: 0.55rem;
    transition: transform 0.2s ease;
    line-height: 1;
}

.course-track-details[open] > summary::before {
    transform: rotate(180deg);
}

.course-track-details > summary:hover {
    background: rgb(13 148 136 / 0.08);
}

.course-track-details__inner {
    padding-top: 8px;
    padding-bottom: 4px;
}

.course-track-list {
    margin: 12px 0 18px;
    padding-left: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    list-style: none;
}

.course-track-list li {
    position: relative;
    padding-left: 1.55rem;
    margin-bottom: 8px;
}

.course-track-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0.05em;
    color: var(--primary-teal);
    font-weight: 800;
    font-size: 0.82em;
}

.course-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.course-meta-row span {
    color: var(--text-light);
    font-weight: 600;
    margin-right: 6px;
}

.disclaimer-box {
    font-size: 0.88rem;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgb(255 251 245 / 0.95) 0%, rgb(235 230 223 / 0.5) 100%);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 28px 0 28px;
    line-height: 1.65;
    border: 1px solid rgb(13 148 136 / 0.15);
    box-shadow: var(--shadow-sm);
}

.disclaimer-box a {
    color: var(--primary-teal);
    font-weight: 600;
    text-underline-offset: 3px;
}

.sources-foot {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 24px;
    line-height: 1.6;
}

.sources-foot a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* FAQ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    padding: 22px 24px;
    background: var(--surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.22s ease;
}

.faq-item:hover {
    border-color: rgb(13 148 136 / 0.22);
    box-shadow: var(--shadow-md);
}

.faq-q {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-q::before {
    content: 'Q';
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    color: var(--primary-teal);
    margin-top: 2px;
}

.faq-a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.68;
    padding-left: 36px;
}

.faq-a a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section-faq {
    background: linear-gradient(180deg, var(--bg-page) 0%, rgb(13 148 136 / 0.05) 42%, var(--bg-page) 100%);
}

/* 멘토 담당 분야 태그 */
.mentor-focus-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.focus-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgb(13 148 136 / 0.12) 0%, rgb(13 148 136 / 0.06) 100%);
    color: var(--primary-hover);
    border: 1px solid rgb(13 148 136 / 0.2);
}

/* ─── 과정 페이지 본문 · 하단 CTA ─── */
.section--courses-body {
    padding-top: 48px;
    padding-bottom: var(--section-y);
}

.courses-cta-wrap {
    text-align: center;
    margin-top: 48px;
    padding-top: 8px;
}

.section--activities {
    background: linear-gradient(180deg, var(--bg-page) 0%, rgb(255 255 255 / 0.55) 40%, var(--bg-page) 100%);
}