/* program.css - 전환용 페이지에 필요한 최소 스타일만 */
:root {
    --bg: #fbfaf7;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: rgba(0, 0, 0, .10);
    --shadow: 0 12px 28px rgba(0, 0, 0, .06);
    --orange: #f59e0b;
    --brown: #6b4f3a;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Pretendard Variable", Pretendard, system-ui, -apple-system, BlinkMacSystemFont,
        "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    color: var(--text);
    background: var(--bg);
}

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

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

.wrap {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 84px 16px 56px;
}

/* Topbar */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(251, 250, 247, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.topbar__inner {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand__logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    flex: 0 0 auto;
}

.brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.brand__text b {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand__text span {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 700;
    font-size: 12.5px;
    white-space: nowrap;
}

.btn--ghost {
    background: rgba(255, 255, 255, .7);
}

.btn--primary {
    border: 0;
    background: var(--orange);
    color: #fff;
}

.btn--tel {
    border: 1px solid rgba(245, 158, 11, .35);
    background: rgba(245, 158, 11, .10);
    color: #7c4a00;
}

.btn--lg {
    height: 44px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 14px;
}

.btn:hover {
    filter: brightness(.98);
}

/* Hero */
.hero {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 24px 18px 18px;
}

.kicker {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--muted);
}

.hero__title {
    margin: 0;
    font-size: clamp(24px, 4.2vw, 36px);
    letter-spacing: -.6px;
    line-height: 1.15;
}

.accent {
    color: var(--brown);
}

.hero__desc {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.hero__cta {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero__mini {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.mini {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px 12px;
    background: #fff;
}

.mini b {
    display: block;
    font-size: 13px;
}

.mini span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
}

/* Sections */
.section {
    margin-top: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 22px 18px;
}



.section__head h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -.3px;
}

.section__head .muted {
    margin-top: 8px;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 12px;
}

.define {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 16px;
    align-items: start;
}

.define__media img {
    border-radius: 18px;
    border: 1px solid var(--line);
}

.lead {
    display: block !important;
    width: fit-content;
    margin: 0 auto 10px !important;
    font-size: 18px;
    font-weight: 800;
    color: var(--brown);
    text-align: center;
}

.brandword {
    color: var(--orange);
}

.bullets {
    font-size: 0.9rem;
    /* 지금보다 살짝 작게 */
    line-height: 1.4;
    /* 가독성 유지 */
}

.bullets p {
    margin: 8px 0;
    line-height: 1.55;
    color: var(--muted);
}

.em {
    font-weight: 800;
    color: #4b4a4a;
}

.inline-cta {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Grid/cards */
.grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px 14px;
    background: #fff;
}

.card h3 {
    margin: 0 0 6px;
    font-size: 14px;
}

.card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

/* Bar CTA */
.bar-cta {
    margin-top: 14px;
    padding: 14px 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(245, 158, 11, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.bar-cta--soft {
    background: rgba(0, 0, 0, .03);
}

.bar-cta__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Steps */
.steps {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.step {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px 14px;
    background: #fff;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.step__num {
    flex: 0 0 auto;
    font-weight: 900;
    font-size: 12px;
    color: #7c4a00;
    background: rgba(245, 158, 11, .14);
    border: 1px solid rgba(245, 158, 11, .24);
    border-radius: 14px;
    padding: 8px 10px;
}

.step__body b {
    display: block;
    font-size: 14px;
    margin-bottom: 3px;
}

.step__body p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* List */
.list {
    margin: 14px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.list b {
    color: var(--text);
}

/* Reviews */
.quote {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px 14px;
    background: #fff;
}

.quote p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 13px;
}

.quote__by {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
}

/* PROGRAM – 수업 생생후기 가로 배치 */
.program-reviews {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}



#reviews { scroll-margin-top: 90px; }


.review-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 12px;
    border-radius: 16px;
    background: #fafafa;
}

.review-row img {
    width: 140px;
    max-width: 40%;
    border-radius: 12px;
    object-fit: cover;
}

.review-text{
    width: 100%;
    min-width: 0;
    word-break: break-all;
    overflow-wrap: break-word;
}

.review-text p {
    margin: 0;
    line-height: 1.7;
    color: #444;
}

.review-text em {
    font-style: normal;
    color: #888;
    font-size: 0.9rem;
}

/* 모바일 대응 */
@media (max-width: 767px) {
    .review-row {
        flex-direction: row;
        /* 사진 좌 / 글 우 유지 */
        gap: 12px;
    }

    .review-row img {
        width: 96px;
    }

    .program-reviews .review-text p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .program-reviews .review-text em {
        font-size: 0.8rem;
    }
}


/* Final CTA */
.final {
    margin-top: 16px;
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 26px;
    padding: 22px 18px;
    text-align: center;
}

.final h2 {
    margin: 0;
    font-size: 20px;
}

.final .muted {
    color: #cbd5e1;
    margin-top: 8px;
}

.final__actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    margin-top: 16px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

.footer__line {
    margin: 0 0 10px;
}

.footer__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sep {
    opacity: .5;
}

/* Responsive */
@media (max-width: 860px) {
    .hero__mini {
        grid-template-columns: 1fr 1fr;
    }

    .define {
        grid-template-columns: 1fr;
    }

    .grid--3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .topbar__actions {
        display: none;
    }

    /* 모바일에서는 상단 메뉴 과감히 숨김 */
    .wrap {
        padding-top: 72px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}