@charset "utf-8";

/*
 * CI 소개 (/ci)
 * 회사소개(company-intro.css)·인재채용(recruit.css)과 같은 형식:
 * 라벨 + 왼쪽 제목 + 섹션 탭, 100px 섹션, 흰/연회색 교대, 얇은 테두리 카드.
 * 주의: 회사소개 페이지도 'ci-' 접두어를 쓰지만 CSS 파일이 따로라 서로 섞이지 않는다.
 */

/* ============================== 토큰 (회사소개와 같은 값) */
:root {
    --cis-navy: #1e3a5f;
    --cis-navy-deep: #14283f;
    --cis-text: #1f2937;
    --cis-muted: #6b7280;
    --cis-light: #9aa4b2;
    --cis-line: #e5e9ef;
    --cis-bg: #ffffff;
    --cis-bg-gray: #f6f8fa;
    --cis-chip-bg: #eef2f7;
    --cis-chip-line: #dde5ee;
    --cis-pad: 24px;
}

/* content-wrapper 하단 여백 제거 */
.content-wrapper {
    margin-bottom: 0 !important;
}

html {
    scroll-behavior: smooth;
}

/* ============================== 공통 레이아웃 */
.ci-pagehead,
.ci-block {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    color: var(--cis-text);
    background: var(--cis-bg);
}

/* sh_common.css 의 h1~h6 Noto Sans 지정을 덮는다 */
.ci-pagehead h1,
.ci-block h2,
.ci-block h3 {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

/* 서브페이지 공통 콘텐츠 폭: 1280px + 좌우 24px (768px 이하 16px) */
.ci-block__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--cis-pad);
}

.ci-block {
    padding: 100px 0;
    /* 헤더(sticky 77px) 아래로 섹션 제목이 보이게 */
    scroll-margin-top: 90px;
}

.ci-block--gray {
    background: var(--cis-bg-gray);
}

/* ============================== 페이지 헤더 + 섹션 탭 */
.ci-pagehead {
    padding: 56px 0 0;
}

.ci-pagehead__label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.4px;
    color: var(--cis-light);
}

.ci-pagehead__title {
    margin: 0 0 28px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--cis-navy-deep);
}

.ci-pagetabs {
    display: flex;
    gap: 34px;
    border-bottom: 1px solid var(--cis-line);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ci-pagetabs::-webkit-scrollbar {
    display: none;
}

.ci-pagetab {
    position: relative;
    flex: none;
    padding: 0 2px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--cis-light);
    white-space: nowrap;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ci-pagetab:hover {
    color: var(--cis-navy);
}

.ci-pagetab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--cis-navy-deep);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ci-pagetab.is-active {
    font-weight: 700;
    color: var(--cis-navy-deep);
}

.ci-pagetab.is-active::after {
    opacity: 1;
}

.ci-pagetab:focus-visible {
    outline: 2px solid #2f6fb5;
    outline-offset: 4px;
    border-radius: 2px;
}

/* ============================== 섹션 제목 */
.ci-eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.4px;
    color: var(--cis-light);
}

.ci-heading {
    margin: 0 0 48px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: var(--cis-navy-deep);
}

/* 섹션 안 소제목 (색상 활용 규정 / 전용 색상 규정) */
.ci-sub {
    margin: -16px 0 28px;
}

.ci-sub__title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--cis-navy);
}

.ci-sub__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: var(--cis-muted);
    word-break: keep-all;
}

/* ============================== CI 소개 */
.ci-intro {
    max-width: 820px;
    margin: -20px 0 56px;
    font-size: 15px;
    line-height: 2;
    color: var(--cis-muted);
    word-break: keep-all;
}

.ci-logo-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ci-logo-col__title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--cis-navy);
}

/* 로고 카드: 회사소개 카드와 같은 얇은 테두리 + 옅은 격자(정렬 기준선 느낌) */
.ci-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 48px 32px;
    background-color: var(--cis-bg);
    background-image:
        linear-gradient(90deg, #f1f4f8 1px, transparent 1px),
        linear-gradient(180deg, #f1f4f8 1px, transparent 1px);
    background-size: 24px 24px;
    border: 1px solid var(--cis-line);
    border-radius: 4px;
}

.ci-logo-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 110px;
}

/* 다운로드: 회사소개 칩 계열의 네모 버튼 */
.ci-download {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.ci-download__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cis-navy);
    background: var(--cis-bg);
    border: 1px solid var(--cis-chip-line);
    border-radius: 4px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ci-download__btn:hover {
    color: #ffffff;
    background: var(--cis-navy-deep);
    border-color: var(--cis-navy-deep);
}

.ci-download__btn:focus-visible {
    outline: 2px solid #2f6fb5;
    outline-offset: 2px;
}

/* ============================== CI 규정: 색상 활용 표 */
.ci-color-table-wrap {
    overflow-x: auto;
    background: var(--cis-bg);
    border: 1px solid var(--cis-line);
    border-radius: 4px;
}

.ci-color-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.ci-color-table thead th {
    padding: 16px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cis-navy);
    text-align: center;
    background: var(--cis-bg);
    border-bottom: 1px solid var(--cis-line);
}

.ci-color-table__label {
    width: 150px;
    min-width: 130px;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--cis-muted);
    text-align: left;
    vertical-align: middle;
    background: var(--cis-bg);
    border-bottom: 1px solid var(--cis-line);
}

.ci-color-table tbody tr:last-child td {
    border-bottom: 0;
}

.ci-color-table__cell {
    height: 96px;
    padding: 22px 12px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid rgba(20, 40, 63, 0.06);
}

.ci-color-table__cell--empty {
    background: inherit;
}

.ci-color-table__logo {
    width: auto;
    max-width: 100%;
    max-height: 56px;
}

/* 로고 색상 변형 (CSS filter) */
.ci-logo--white {
    filter: brightness(0) invert(1);
}
.ci-logo--black {
    filter: brightness(0);
}
.ci-logo--silver {
    filter: brightness(0) invert(1) brightness(.75);
}
.ci-logo--gold {
    filter: brightness(0) invert(1) sepia(1) saturate(.6) hue-rotate(-10deg) brightness(.85);
}

/* 흑백 사용 규정 */
.ci-grayscale {
    margin-top: 40px;
}

.ci-grayscale__header {
    margin-bottom: 12px;
}

.ci-grayscale__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--cis-navy);
}

.ci-grayscale__bar {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border: 1px solid var(--cis-line);
    border-radius: 4px;
    overflow: hidden;
}

.ci-grayscale__cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 12px;
}

.ci-grayscale__logo {
    width: auto;
    max-width: 100%;
    max-height: 46px;
}

.ci-grayscale__scale {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 10px;
}

.ci-grayscale__scale span {
    font-size: 12px;
    color: var(--cis-light);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* ============================== 컬러시스템 */
.ci-color-system__main {
    margin-bottom: 28px;
}

.ci-color-system__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.ci-color-system__row:last-child {
    margin-bottom: 0;
}

/* 색상 하나 = 카드 하나 (회사소개 카드와 같은 테두리) */
.ci-color-system__main,
.ci-color-system__item {
    overflow: hidden;
    background: var(--cis-bg);
    border: 1px solid var(--cis-line);
    border-radius: 4px;
}

.ci-color-swatch {
    height: 120px;
}

.ci-color-swatch--large {
    height: 180px;
}

.ci-color-swatch__info {
    padding: 22px 24px 24px;
}

.ci-color-swatch__name {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--cis-navy-deep);
}

.ci-color-system__main .ci-color-swatch__name {
    font-size: 20px;
}

.ci-color-swatch__spec {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* PANTONE / CMYK / RGB / HEX 값을 회사소개 태그 칩처럼 */
.ci-color-swatch__spec li {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--cis-navy);
    background: var(--cis-chip-bg);
    border: 1px solid var(--cis-chip-line);
    border-radius: 4px;
    font-variant-numeric: tabular-nums;
}

/* ============================== 반응형 */
@media (max-width: 768px) {
    :root {
        --cis-pad: 16px;
    }

    .ci-pagehead {
        padding-top: 36px;
    }

    .ci-pagehead__title {
        margin-bottom: 22px;
        font-size: 24px;
    }

    .ci-pagetabs {
        gap: 26px;
    }

    .ci-pagetab {
        font-size: 14px;
    }

    .ci-block {
        padding: 64px 0;
        scroll-margin-top: 70px;
    }

    .ci-heading {
        margin-bottom: 32px;
        font-size: 22px;
    }

    .ci-heading br,
    .ci-intro br {
        display: none;
    }

    .ci-intro {
        margin: -12px 0 36px;
        font-size: 14px;
    }

    .ci-logo-area {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .ci-logo-card {
        min-height: 160px;
        padding: 36px 24px;
    }

    .ci-logo-img {
        max-height: 90px;
    }

    .ci-download__btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .ci-grayscale__cell {
        padding: 14px 4px;
    }

    .ci-grayscale__logo {
        max-height: 24px;
    }

    .ci-grayscale__scale span {
        font-size: 10px;
    }

    .ci-color-system__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .ci-color-swatch--large {
        height: 140px;
    }

    .ci-color-swatch {
        height: 100px;
    }
}
