:root {
    /* --brand: #2C6E49; */
    --brand: #82CFFF;
    /* 메인 컬러 */
    --brand-2: #5BB9FF;
    /* 서브 그린 */
    --accent: #D68C45;
    /* 포인트(베이지 오렌지) */
    --ink: #182024;
    /* 본문 텍스트 */
    --muted: #6B7780;
    /* 보조 텍스트 */
    --bg: #F6F8F7;
    /* 배경 */
    --card: #ffffff;
    /* 카드 배경 */
    --radius: 16px;
    /* 둥근 모서리 */
    --shadow: 0 10px 25px rgba(0, 0, 0, .08);
    --maxw: 1100px;
}

.ft50 {
    font-size: 50px;
    font-weight: bold;
    color: #0078FF;
}

.ft20 {
    font-size: 20px;
}

.highlight {
    display: inline-block;
    background: linear-gradient(transparent 60%, #A7DBFF 60%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 .2em;
}

* {
    box-sizing: border-box
}

.section-cor {
    background-image:
        radial-gradient(1200px 500px at 80% -100px, rgba(160, 206, 224, 0.18), transparent 60%), linear-gradient(#fff, #8FD3FF 60%, #fff)
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans KR", sans-serif;
    color: var(--ink);
    background: var(--bg)
}

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

.container {
    /* max-width: var(--maxw);
    margin: 0 auto; */
    padding: 0 40px
}

/* 헤더 */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: #82CFFF;
}

.brand-badge {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: url('/img/JobBreeze_logo_blue.ico');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    font-weight: 900;
    filter: brightness(1.5);
}

.menu {
    display: flex;
    gap: 18px;
    align-items: center
}

.menu a {
    padding: 8px 10px;
    border-radius: 10px;
    color: #2b2b2b
}

.menu a:hover {
    background: #F0F5F2
}

.cta {
    padding: 10px 14px;
    border-radius: 12px;
    background: #82CFFF;
    color: #fff;
    font-weight: 700;
    border: none;
}

.hamburger {
    display: none;
    background: transparent;
    border: 0;
    font-size: 24px;
    color: #82CFFF;
}

@media (max-width:880px) {
    .menu {
        display: none
    }

    .hamburger {
        display: block
    }

    #mobile {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        background: #fff;
        border-bottom: 1px solid #ebf7ff
    }

    #mobile a {
        display: block;
        padding: 14px 20px;
        border-top: 1px solid #ebf7ff
    }

    #mobile .cta {
        margin: 10px 20px;
        display: inline-block
    }
}

/* 큰 화면일 때 모바일 네비/버튼 숨김 */
@media (min-width:881px) {
    .hamburger {
        display: none !important
    }

    #mobile {
        display: none !important
    }
}

@media (min-width: 880px) {
    #home {
        background: url('/img/home_top_img3.png') no-repeat center center;
        background-size: cover;
        filter: brightness(0.95) contrast(0.9) saturate(0.9);
    }
}

/* ===== 조직도 스타일 ===== */
.tree {
    --line: #8FD3FF;
}

.tree .level {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 26px 0;
    flex-wrap: wrap;
}

.tree .node {
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 14px 16px;
    min-width: 270px;
    text-align: center;
    border-left: 6px solid #82CFFF;
}

.tree .node .ul-st {
    list-style: none;
    padding: 8px 0 0;
    margin: 0;
    text-align: left;
    color: var(--muted);
    font-size: 14px;
    line-height: 23px;
}

.tree .node h4 {
    margin: 0;
    font-size: 18px;
}

.tree .node small {
    color: var(--muted);
}

/* 상단 노드 밑 연결선 */
.tree .level.top .node::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;
    width: 2px;
    height: 14px;
    background: #82CFFF;
}

/* 하단 노드 구간선 */
.tree .level.children {
    padding-top: 26px;
}

.tree .level.children::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #82CFFF;
}

.tree .level.children .node::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 14px;
    background: #82CFFF;
}

/* 반응형 */
@media (max-width:880px) {
    .tree .level.children::before {
        left: 8%;
        right: 8%;
    }
}


/* 히어로 */
.hero {
    position: relative;
    padding: 64px 20px;
    overflow: hidden;
    background: radial-gradient(1200px 500px at 80% -100px, rgba(160, 206, 224, 0.18), transparent 60%), linear-gradient(#fff, #8FD3FF 60%, #fff);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: center;
    padding: 72px 0px 72px 65px;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.2;
    margin: 15px 0 14px
}

.hero p {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 22px;
}

.pill {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #CBE8FF;
    color: #0078FF;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .3px
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px
}

.mini-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow)
}

.mini-card b {
    display: block;
    margin-bottom: 6px
}

@media (max-width:880px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 48px 0
    }

    .cards-row {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:560px) {
    .cards-row {
        grid-template-columns: 1fr
    }
}

/* 공통 섹션 */
section {
    padding: 64px 0
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px
}

.section-head h2 {
    margin: 0;
    font-size: 28px
}

.section-head p {
    margin: 6px 0 0;
    color: var(--muted);
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.6;
}

/* 카드 그리드 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

@media (max-width:880px) {
    .grid-3 {
        grid-template-columns: 1fr
    }

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

.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px
}

.card h3 {
    margin: 0 0 8px;
    font-size: 25px
}

.card p {
    margin: 4px 0;
    color: var(--muted);
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.card .footer {
    margin: 4px 0;
    color: var(--muted);
    line-height: 1.6;
    display: flex;
    gap: 10px;
}

.card .footer b {
    width: 59px;
    min-width: 59px;
}

.chip {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #CBE8FF;
    font-size: 12px;
    margin-right: 6px;
    margin-top: 6px
}

/* ===== 성과·영역(Work/Portfolio) 보강 ===== */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px
}

.badge {
    background: #CBE8FF;
    border: 1px solid #dfe9f0;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px
}

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

.kpi {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    box-shadow: var(--shadow)
}

.kpi b {
    display: block;
    font-size: 22px;
    margin-bottom: 4px;
    color: var(--brand)
}

@media(max-width:880px) {
    .kpis {
        grid-template-columns: repeat(2, 1fr)
    }
}

/* .milestones {
            border-left: 2px solid #e8edef;
            margin-top: 8px;
            padding-left: 14px
        }

        .milestones li {
            margin: 10px 0;
            color: var(--muted)
        } */

.work-card .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px
}

.work-card .head h3 {
    margin: 0;
    font-size: 18px
}

/* 비전·미션·핵심가치 */
.vmk {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
    /* 그리드 아이템(카드) 높이 맞춤 */
}

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

.vmk .card {
    /* 기존 스타일 + 아래만 추가 */
    display: grid;
    grid-template-rows: auto 1fr auto;
    /* 제목 / 본문 / 칩 */
    height: 100%;
    /* (선택) 안전하게 같은 높이 유지 */
    border-left: 6px solid #82CFFF;
}

/* 본문 p의 고정 min-height는 제거/완화 추천 */
.vmk .card p {
    min-height: 0;
}

/* 칩 영역이 아래에 붙도록 여백만 살짝 */
.vmk .card>div:last-child {
    margin-top: 12px;
}


/* 파트너 로고 */
.partners {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px
}

.partner {
    background: #fff;
    border-radius: 12px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px dashed #CBE8FF;
    color: #7C8B83
}

@media (max-width:880px) {
    .partners {
        grid-template-columns: repeat(3, 1fr)
    }
}

/* 참여 섹션 */
.cta-card {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    border: 2px solid var(--brand);
    color: var(--brand);
    font-weight: 700;
    cursor: pointer;
    background: #fff
}

.btn:hover {
    background: #CBE8FF
}

.cta-card .btn {
    margin-top: auto
}

/* 공지 */
.notice {
    padding-left: 10px;
}

.notice li {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #CBE8FF
}

.notice time {
    display: inline-block;
    min-width: 90px;
    color: #5BB9FF;
    font-size: 12px
}

/* 연락처 */
/* .contact-box {
            display: grid;
            grid-template-columns: 1.2fr .8fr;
            gap: 18px
        }

        @media (max-width:880px) {
            .contact-box {
                grid-template-columns: 1fr
            }
        } */

/* 푸터 */
footer {
    background: #0f1a14;
    color: #CBE8FF;
    margin-top: 24px
}

footer .container {
    padding: 24px 20px
}

.foot-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px
}

.foot-copy {
    color: #CBE8FF;
    font-size: 12px
}

/* 모바일 여백 조정 */
@media (max-width:880px) {
    #home .container {
        padding: 0 12px;
    }
}

/* ===== 모달(팝업) 공통 스타일 ===== */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 80;
    background: rgba(0, 0, 0, .45);
}

.modal .panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 560px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08);
    z-index: 90;
}

.modal .head {
    padding: 16px 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e8edef;
}

.modal .body {
    padding: 18px;
}

.modal .foot {
    padding: 16px 18px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    background: #e8edef;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.field label {
    font-weight: 700;
}

.field input,
.field textarea,
.field select {
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .12);
    outline: none;
}

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

.btn.ghost {
    background: #fff;
}

.req {
    color: #ef4444;
}

/* 모바일 여백 재확인 */
@media (max-width:880px) {
    #home .container {
        padding: 0 20px;
    }
}

/* ===== 조직도 ===== */
.org-wrap {
    position: relative
}

.org-top {
    display: grid;
    place-items: center;
    margin-bottom: 18px
}

.org-node {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 16px 18px;
    text-align: center;
    border-left: 6px solid var(--brand);
}

.org-node h4 {
    margin: 0 0 6px;
    font-size: 18px
}

.org-node small {
    color: var(--muted)
}

.org-branches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 16px 0 18px
}

@media (max-width:880px) {
    .org-branches {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:520px) {
    .org-branches {
        grid-template-columns: 1fr
    }
}

.org-support {
    display: grid;
    place-items: center
}

.org-connector {
    width: 2px;
    height: 22px;
    background: linear-gradient(#e8edef, #e8edef);
    margin: 0 auto 12px;
    border-radius: 2px;
}

.sucPop[hidden] {
    display: none;
}

.sucPop {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 9999;
}

.sucPop__bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.sucPop__box {
    position: relative;
    width: min(440px, 90%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 30px 24px 20px;
    text-align: center;
    animation: popIn 0.2s ease-out;
}

.sucPop__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.sucPop__text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.6;
}

.sucPop__btn {
    background: #0078FF;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
}

.sucPop__btn:hover {
    background: #0078FF;
}

@keyframes popIn {
    from {
        transform: translateY(10px) scale(0.97);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

body.sucPop-open {
    overflow: hidden;
}

/* 리빌 공통 */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 520ms ease, transform 520ms ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    display: grid;
    gap: 10px;
    transform: translateY(0);
}

/* 그룹 내 개별 요소 지연(스태거) */
.reveal[data-reveal-delay="1"] {
    transition-delay: 60ms;
}

.reveal[data-reveal-delay="2"] {
    transition-delay: 120ms;
}

.reveal[data-reveal-delay="3"] {
    transition-delay: 180ms;
}

.reveal[data-reveal-delay="4"] {
    transition-delay: 240ms;
}

.reveal[data-reveal-delay="5"] {
    transition-delay: 300ms;
}

/* 모션 감소 설정 사용자 배려 */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

.sub-img {
    filter: brightness(0.95) contrast(0.9) saturate(0.9);
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .sub-img {
        height: 300px;
    }
}

.sub-img.img1 {
    background: url('/img/job-home-img1.png') no-repeat center center;
    background-size: cover;
}

.sub-img.img2 {
    background: url('/img/job-home-img2.png') no-repeat center center;
    background-size: cover;
}

.sub-img.img3 {
    background: url('/img/job-home-img3.png') no-repeat center center;
    background-size: cover;
}

.sub-img.img4 {
    background: url('/img/job-home-img4.png') no-repeat center center;
    background-size: cover;
}

/* 공지 팝업 */
.notice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* 팝업 박스 */
.notice-modal {
    width: min(92vw, 640px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
    overflow: hidden;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.notice-header {
    padding: 16px 18px;
    border-bottom: 1px solid #eee;
}

.notice-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.notice-date {
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.notice-body {
    padding: 16px 18px;
    line-height: 1.6;
    color: #111827;
}

.notice-footer {
    padding: 12px 16px;
    border-top: 1px solid #e8edef;
    text-align: right;
}

.notice-btn {
    padding: 8px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}