/**
 * 교육과정 허브 — 개설 과정과 시간표 요약을 거쳐 program / schedule 로 보낸다.
 * 브랜드 색(민트 #00CCC6 / 블루 #067FFF)과 심해 톤(#0b1622)을 그대로 쓴다.
 */

.cu-wrap {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── 히어로 ───────────────────────────────── */
.cu-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 88vh;
    padding: 170px 0 96px;
    background: #0b1622;
    overflow: hidden;
}

.cu-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 78% 18%, rgba(6, 127, 255, .42), transparent 62%),
                radial-gradient(90% 80% at 12% 92%, rgba(0, 204, 198, .3), transparent 60%);
}

.cu-hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 22, 34, .55), rgba(11, 22, 34, .2) 45%, rgba(11, 22, 34, .85));
}

.cu-hero .underwater-environment {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cu-hero .bubble {
    position: absolute;
    bottom: -80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, .3);
    animation: cuRise 15s infinite ease-in;
}

.cu-hero .bubble-1 { width: 30px; height: 30px; left: 14%; animation-duration: 13s; }
.cu-hero .bubble-3 { width: 52px; height: 52px; left: 52%; animation-duration: 19s; animation-delay: 3s; }
.cu-hero .bubble-5 { width: 20px; height: 20px; left: 82%; animation-duration: 11s; animation-delay: 6s; }

@keyframes cuRise {
    0% { transform: translateY(0) scale(.6); opacity: 0; }
    20% { opacity: .5; }
    100% { transform: translateY(-95vh) scale(1.3); opacity: 0; }
}

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

.cu-eyebrow {
    margin: 0 0 18px;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--point-mint);
}

.cu-hero-title {
    margin: 0;
    font-size: clamp(2.4rem, 5.6vw, 4.9rem);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -.045em;
    color: #fff;
}

.cu-hero-title span {
    background: linear-gradient(96deg, var(--point-mint), #7fe6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cu-hero-lead {
    max-width: 660px;
    margin: 26px 0 0;
    font-size: 1.06rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .68);
    word-break: keep-all;
}

.cu-figures {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 46px;
}

.cu-fig { display: flex; align-items: baseline; gap: 9px; }

.cu-fig strong {
    font-size: 2.9rem;
    font-weight: 900;
    letter-spacing: -.05em;
    color: var(--point-mint);
}

.cu-fig span {
    font-size: .92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
}

.cu-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 2;
    width: 24px;
    height: 38px;
    margin-left: -12px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
}

.cu-scroll span {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 4px;
    height: 7px;
    margin-left: -2px;
    border-radius: 999px;
    background: var(--point-mint);
    animation: cuScroll 1.8s infinite;
}

@keyframes cuScroll {
    0% { transform: translateY(0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ── 공통 블록 ────────────────────────────── */
.cu-block { padding: 110px 0; }

.cu-head { margin-bottom: 54px; }

.cu-no {
    display: block;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .22em;
    color: var(--point-mint-deep);
}

.cu-title {
    margin: 10px 0 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -.045em;
    color: #0d1f2b;
}

.cu-sub {
    margin: 14px 0 0;
    font-size: 1.02rem;
    color: #55636b;
    word-break: keep-all;
}

.cu-more { margin-top: 46px; }

.cu-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 16px 34px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: .98rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
}

.cu-btn::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.cu-btn-main {
    background: #0d1f2b;
    color: #fff;
}

.cu-btn-main:hover { background: var(--point-mint-deep); color: #fff; }

/* ── 01 개설 과정 ─────────────────────────── */
.cu-programs { background: #f6fbfc; }

.cu-rows {
    border-top: 1px solid #dfeaee;
}

/* 카드 격자 대신 한 줄씩 크게 — 과정 수가 적어도 빈약해 보이지 않는다 */
/* 썸네일이 없는 과정이 있다. 고정 격자로 두면 빈 칸이 생기는 게 아니라
   뒤 요소가 앞 칸으로 당겨져 본문이 썸네일 폭에 갇힌다. 유연 배치로 둔다 */
.cu-row {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 30px 10px;
    border-bottom: 1px solid #dfeaee;
    transition: background .3s, padding-left .3s;
}

.cu-row:hover {
    background: #fff;
    padding-left: 26px;
}

.cu-row-no {
    flex: 0 0 auto;
    min-width: 54px;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -.04em;
    color: rgba(0, 204, 198, .45);
}

.cu-row-thumb {
    display: block;
    flex: 0 0 220px;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    background: #e6f1f4;
}

.cu-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .8, .3, 1);
}

.cu-row:hover .cu-row-thumb img { transform: scale(1.06); }

.cu-row-body { flex: 1 1 auto; min-width: 0; }

.cu-row-en {
    display: block;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--point-mint-deep);
}

.cu-row-name {
    display: block;
    margin-top: 6px;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -.04em;
    color: #0d1f2b;
}

.cu-row-target {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(6, 127, 255, .1);
    font-size: .78rem;
    font-weight: 700;
    color: var(--point-blue);
}

.cu-row-desc {
    display: block;
    max-width: 720px;
    margin-top: 12px;
    font-size: .98rem;
    line-height: 1.7;
    color: #55636b;
    word-break: keep-all;
}

.cu-row-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.cu-row-tags span {
    padding: 6px 12px;
    border: 1px solid #dcebee;
    border-radius: 999px;
    background: #fff;
    font-size: .8rem;
    font-weight: 600;
    color: #3d4b53;
}

.cu-row-go {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 800;
    white-space: nowrap;
    color: #9aa8af;
    transition: color .25s;
}

.cu-row-go::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.cu-row:hover .cu-row-go { color: var(--point-mint-deep); }

/* ── 02 시간표 ────────────────────────────── */
.cu-schedule {
    background: #0b1622;
}

.cu-schedule .cu-no { color: var(--point-mint); }
.cu-schedule .cu-title { color: #fff; }
.cu-schedule .cu-sub { color: rgba(255, 255, 255, .6); }

.cu-schedule .cu-btn-main {
    background: var(--point-mint);
    color: #05221f;
}

.cu-schedule .cu-btn-main:hover { background: #fff; }

/* 요일별 반 수를 막대로. 언제 붐비는지 표보다 빨리 읽힌다 */
.cu-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
}

.cu-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    background: rgba(255, 255, 255, .03);
}

.cu-day-name {
    font-size: 1.05rem;
    font-weight: 900;
    color: #fff;
}

.cu-day-bar {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 130px;
    padding: 0 22%;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
}

.cu-day-bar i {
    display: block;
    width: 100%;
    min-height: 4px;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, var(--point-mint), rgba(6, 127, 255, .85));
}

.cu-day-count {
    font-size: .88rem;
    font-weight: 800;
    color: var(--point-mint);
}

.cu-day-time {
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    text-align: center;
}

.cu-day.is-off .cu-day-name,
.cu-day.is-off .cu-day-time { color: rgba(255, 255, 255, .28); }
.cu-day.is-off .cu-day-bar i { background: rgba(255, 255, 255, .1); }

/* ── 03 운영 방식 ─────────────────────────── */
.cu-system { background: #fff; }

.cu-branches {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 46px;
}

.cu-branch {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 20px 28px;
    border-radius: 20px;
    background: #f2fbfb;
}

.cu-branch strong {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -.05em;
    color: var(--point-mint-deep);
}

.cu-branch span {
    font-size: .92rem;
    font-weight: 700;
    color: #55636b;
}

.cu-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.cu-note {
    padding: 36px 32px;
    border: 1px solid #e6eef1;
    border-radius: 26px;
    transition: border-color .3s, transform .3s;
}

.cu-note:hover {
    border-color: var(--point-mint);
    transform: translateY(-4px);
}

.cu-note h3 {
    margin: 0 0 12px;
    font-size: 1.24rem;
    font-weight: 900;
    letter-spacing: -.03em;
    color: #0d1f2b;
}

.cu-note p {
    margin: 0;
    font-size: .98rem;
    line-height: 1.8;
    color: #55636b;
    word-break: keep-all;
}

/* ── 마무리 ───────────────────────────────── */
.cu-cta {
    padding: 118px 0;
    background: linear-gradient(140deg, #067fff, #00ccc6);
    text-align: center;
}

.cu-cta-label {
    margin: 0 0 16px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

.cu-cta-title {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.04em;
    color: #fff;
}

.cu-cta-title span { color: #04252a; }

.cu-cta-desc {
    margin: 20px 0 0;
    font-size: 1.02rem;
    color: rgba(255, 255, 255, .84);
}

.cu-cta-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.cu-btn-white {
    background: #fff;
    color: #04252a;
}

.cu-btn-white:hover { background: rgba(255, 255, 255, .86); }

.cu-btn-ghost {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.cu-btn-ghost:hover { background: rgba(255, 255, 255, .16); }

/* ── 반응형 ───────────────────────────────── */
@media (max-width: 1100px) {
    /* 썸네일은 좁아지면 자리만 차지한다. 글을 우선한다 */
    .cu-row { gap: 20px; }

    .cu-row-thumb,
    .cu-row-go { display: none; }

    .cu-days { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .cu-wrap { padding: 0 20px; }
    .cu-hero { min-height: 78vh; padding: 140px 0 74px; }
    .cu-figures { gap: 26px; margin-top: 34px; }
    .cu-fig strong { font-size: 2.2rem; }
    .cu-block { padding: 70px 0; }
    .cu-head { margin-bottom: 34px; }
    .cu-row { padding: 22px 0; }
    .cu-row:hover { padding-left: 0; }
    .cu-row-name { font-size: 1.35rem; }
    .cu-days { grid-template-columns: repeat(2, 1fr); }
    .cu-day-bar { height: 90px; }
    .cu-cta { padding: 78px 0; }
    .cu-cta-btns { flex-direction: column; }
}

/* ── 학원 사진 ────────────────────────────── */

/* 히어로 배경 — 실제 공간·작품 사진을 옅게 깐다 */
.cu-hero-strip {
    position: absolute;
    inset: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    z-index: 1;
    opacity: .34;
}

.cu-hero-strip span {
    display: block;
    background-size: cover;
    background-position: center;
    filter: grayscale(.35);
}

.cu-hero-veil { z-index: 1; }

/* 섹션 사이 사진 띠 */
.cu-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 320px;
}

.cu-band span {
    display: block;
    background-size: cover;
    background-position: center;
    transition: transform .8s cubic-bezier(.2, .8, .3, 1);
}

.cu-band:hover span { transform: scale(1.03); }

@media (max-width: 768px) {
    .cu-band { grid-template-columns: repeat(2, 1fr); height: 260px; }
}
