@charset "UTF-8";

/* ==========================================================================
   KSA솔루션 디자인 시스템

   색상과 구성은 운영 중인 ksas.co.kr 에서 실제로 쓰는 값을 그대로 가져왔다.
   (src/assets/css/base.css, layout.css, contents.css 분석)

     #3b419a  주색 (남보라)
     #70489d  강조 (보라)
     #ecedf5  연보라 배경
     #292929  제목
     #333333  본문
     #dddddd  선

   기존 사이트의 구성 방식을 유지한다.
     - 대형 사진 히어로 위에 투명 헤더를 얹고, 스크롤하면 흰 배경으로 전환
     - 히어로 아래 서브 내비게이션 바 (좌: 섹션명 / 우: 앵커, 활성 항목 밑줄)
     - 보라색 영문 eyebrow + 큰 먹색 제목
     - 넉넉한 여백, 중앙 정렬된 본문 폭
   ========================================================================== */

/* ── 웹폰트 ───────────────────────────────────────────────────────────────
   Noto Sans KR 을 자체 호스팅한다. 외부 CDN 을 쓰지 않는 이유는
   금융권 고객사 중 외부 호출을 제한하는 곳이 있고, CDN 이 끊기면
   글꼴이 통째로 깨지기 때문이다.

   TTF 는 1종당 6MB 라 웹에 부적합해 woff2 를 쓴다(1종 약 210KB).
   woff 는 구형 브라우저용 대체본이고, font-display: swap 으로
   폰트를 내려받는 동안에도 글자가 먼저 보이게 한다. */

@font-face {
    font-family: 'NotoSansKR'; font-weight: 400; font-style: normal; font-display: swap;
    src: url('/assets/fonts/NotoSansKR-regular.woff2') format('woff2'),
         url('/assets/fonts/NotoSansKR-regular.woff') format('woff');
}
@font-face {
    font-family: 'NotoSansKR'; font-weight: 500; font-style: normal; font-display: swap;
    src: url('/assets/fonts/NotoSansKR-500.woff2') format('woff2'),
         url('/assets/fonts/NotoSansKR-500.woff') format('woff');
}
@font-face {
    font-family: 'NotoSansKR'; font-weight: 700; font-style: normal; font-display: swap;
    src: url('/assets/fonts/NotoSansKR-700.woff2') format('woff2'),
         url('/assets/fonts/NotoSansKR-700.woff') format('woff');
}
@font-face {
    font-family: 'NotoSansKR'; font-weight: 900; font-style: normal; font-display: swap;
    src: url('/assets/fonts/NotoSansKR-900.woff2') format('woff2'),
         url('/assets/fonts/NotoSansKR-900.woff') format('woff');
}

:root {
    --primary:    #3b419a;   /* 남보라 - 주버튼, 활성 상태 */
    --accent:     #70489d;   /* 보라 - eyebrow, 포인트 */
    --primary-dk: #2f347e;
    --tint:       #ecedf5;   /* 연보라 배경 */

    --heading: #292929;
    --body:    #333333;
    --muted:   #767676;
    --line:    #dddddd;
    --line-2:  #e5e5e5;
    --bg-soft: #f8f8f8;

    --header-h: 88px;
    --maxw:     1200px;
    --content:  980px;
    --gutter:   24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'NotoSansKR', 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
                 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--body);
    background: #fff;
    word-break: keep-all;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--heading); font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.inner { max-width: var(--content); margin: 0 auto; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── 헤더 ─────────────────────────────────────────────────────────────────
   히어로 위에 투명하게 얹혀 있다가, 스크롤하면 흰 배경으로 바뀐다.
   기존 사이트의 js_sticky 동작을 그대로 따랐다. */

.hd {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    background: transparent;
    transition: background-color .25s ease, box-shadow .25s ease;
}
.hd__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}

/* 로고는 실제 로고 파일을 쓴다.
   히어로 위에서는 흰색 버전, 스크롤해 헤더가 흰 배경이 되면 컬러 버전으로 바꾼다.
   기존 사이트가 logo-white.svg / logo-colored.svg 를 교체하는 방식 그대로다. */
.logo {
    display: block; width: 168px; height: 48px;
    background: url('/assets/img/logo-white.svg') no-repeat left center / contain;
    text-indent: -9999px; overflow: hidden; white-space: nowrap;
}
.hd.is-solid .logo { background-image: url('/assets/img/logo-colored.svg'); }

.gnb { display: flex; align-items: center; gap: 10px; }
.gnb__link {
    display: block; padding: 10px 20px;
    font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
    color: rgba(255,255,255,.92);
    transition: color .2s ease;
}
/* 패널 위에 마우스가 있는 동안에도 상위 메뉴가 눌린 상태로 보이게 한다 */
.gnb__link:hover,
.gnb__item:hover > .gnb__link { color: #fff; }

/* 스크롤 후 (혹은 히어로가 없는 페이지) */
.hd.is-solid {
    background: #fff;
    box-shadow: 0 1px 0 var(--line-2);
}
.hd.is-solid .gnb__link { color: var(--heading); }
.hd.is-solid .gnb__link:hover,
.hd.is-solid .gnb__item:hover > .gnb__link,
.hd.is-solid .gnb__link.is-active { color: var(--accent); }

/* 드롭다운.
   각진 흰 상자가 툭 떨어지는 모양이라, 모서리를 둥글리고 그림자를 깔아
   떠 있는 카드처럼 보이게 했다. 위쪽에 말풍선 꼭지를 달아 어느 메뉴에서
   나온 것인지 드러낸다. */
.gnb__item { position: relative; }
.gnb__panel {
    position: absolute; top: 100%; left: 50%;
    transform: translate(-50%, 14px) scale(.98);
    transform-origin: top center;
    min-width: 232px; padding: 10px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(41, 41, 41, .18), 0 2px 8px rgba(41, 41, 41, .06);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s ease, transform .22s cubic-bezier(.2, .8, .3, 1), visibility .22s;
}

/* 메뉴와 패널 사이의 빈 틈. 여기를 덮어 두지 않으면
   내려오는 도중에 hover 가 끊겨 패널이 깜박인다. */
.gnb__panel::before {
    content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
/* 말풍선 꼭지. 그림자가 겹치지 않도록 패널 아래에 깔고 윗변만 보이게 한다. */
.gnb__panel::after {
    content: ""; position: absolute; left: 50%; top: -5px;
    width: 14px; height: 14px; border-radius: 3px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
}

.gnb__item:hover .gnb__panel, .gnb__item:focus-within .gnb__panel {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translate(-50%, 10px) scale(1);
}

.gnb__panel a {
    position: relative; z-index: 1;
    display: block; padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px; font-weight: 500; color: var(--body);
    transition: background-color .15s ease, color .15s ease;
}
.gnb__panel a:hover {
    background: var(--tint); color: var(--primary); font-weight: 700;
}

/* 모바일 토글 */
.navchk { display: none; }
.navbtn {
    display: none; width: 40px; height: 40px; cursor: pointer; padding: 11px 8px;
}
.navbtn span { display: block; height: 2px; background: #fff; margin-bottom: 5px; transition: background .25s; }
.navbtn span:last-child { margin-bottom: 0; }
.hd.is-solid .navbtn span { background: var(--heading); }

/* ── 히어로 ───────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 420px;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 40px) 0 60px;
    background: linear-gradient(130deg, #2f347e 0%, var(--primary) 45%, var(--accent) 100%);
    background-size: cover; background-position: center;
    color: #fff;
    overflow: hidden;
}
/* 배경 영상. 사진 위, 어둡게 덮는 층 아래에 깔린다.
   다 받아 재생할 수 있을 때 서서히 드러나므로 첫 화면이 깜박이지 않는다. */
.hero__video {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .6s ease;
}
.hero__video.is-ready { opacity: 1; }

/* 사진을 쓸 때 어둡게 덮는 층 */
.hero--photo::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 60%, rgba(0,0,0,.12) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero__title { color: #fff; font-size: 42px; font-weight: 900; letter-spacing: -0.03em; }
.hero__lead { margin-top: 14px; font-size: 16px; font-weight: 500; color: rgba(255,255,255,.9); max-width: 60ch; }

/* ── 서브 내비게이션 ──────────────────────────────────────────────────── */

/* 헤더 바로 아래에 붙어 따라다닌다. 원본 .sticky_wrap 과 같은 동작이다. */
.subnav {
    position: sticky; top: var(--header-h); z-index: 80;
    border-bottom: 1px solid var(--line); background: #fff;
}
/* 앵커로 뛸 때 제목이 헤더와 이 막대 뒤로 숨지 않게 자리를 비워 둔다 */
[id] { scroll-margin-top: calc(var(--header-h) + 76px); }

.subnav__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.subnav__label {
    font-size: 17px; font-weight: 700; color: var(--heading);
    letter-spacing: .02em; padding: 22px 0;
}
/* 항목이 많아도 스크롤바를 만들지 않는다. 넘치면 줄바꿈으로 흘린다. */
.subnav__list { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.subnav__list a {
    display: block; padding: 22px 18px;
    font-size: 16px; color: var(--muted); white-space: nowrap;
    border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.subnav__list a:hover { color: var(--heading); }
.subnav__list a.is-active { color: var(--heading); font-weight: 700; border-bottom-color: var(--heading); }

/* ── 섹션 ─────────────────────────────────────────────────────────────── */

.sec { padding: 110px 0; }
.sec--tight { padding: 72px 0; }
.sec--tint { background: var(--bg-soft); }

.eyebrow {
    font-size: 15px; font-weight: 700; letter-spacing: .06em;
    color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
.sec__title { font-size: 34px; }
.sec__lead { margin-top: 22px; font-size: 16px; color: var(--body); max-width: 76ch; }
.sec__head { margin-bottom: 56px; }

/* ── 버튼 ─────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 52px; padding: 0 34px;
    font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1;
    border: 1px solid transparent; cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dk); }

.btn--line { background: #fff; color: var(--heading); border-color: var(--line); }
.btn--line:hover { border-color: var(--primary); color: var(--primary); }

.btn--onhero { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.65); }
.btn--onhero:hover { background: #fff; color: var(--primary); border-color: #fff; }

.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { background: #eee; color: #aaa; border-color: #eee; pointer-events: none; }

.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btns--center { justify-content: center; }

/* ── 3열 특징 그리드 ─────────────────────────────────────────────────── */

.feat { display: grid; grid-template-columns: repeat(3, 1fr); }
.feat__item { padding: 0 28px; text-align: center; border-left: 1px dashed var(--line); }
.feat__item:first-child { border-left: 0; }
.feat__title { font-size: 21px; margin-bottom: 18px; }
.feat__text { font-size: 15px; color: var(--body); }

/* ── 카드 ─────────────────────────────────────────────────────────────── */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 30px; }

.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); }
.card:hover { border-color: var(--accent); }
.card__media { aspect-ratio: 16/9; background: var(--tint); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--none { background: linear-gradient(140deg, var(--accent), var(--primary)); }
.card__body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 20px; margin-bottom: 12px; }
.card__text { font-size: 15px; color: var(--body); flex: 1; }
.card__foot { margin-top: 26px; }

/* ── 정의형 목록 ─────────────────────────────────────────────────────── */

.dl { border-top: 2px solid var(--heading); }
.dl__row { display: flex; gap: 24px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.dl__k { width: 140px; flex: none; color: var(--muted); }
.dl__v { color: var(--heading); font-weight: 500; }

/* ── 연혁 ─────────────────────────────────────────────────────────────── */

.hist { border-top: 2px solid var(--heading); }
.hist__year { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.hist__y { font-size: 38px; font-weight: 700; color: var(--primary); letter-spacing: -0.03em; line-height: 1; }
.hist__row { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 8px 0; }
.hist__m { font-size: 15px; font-weight: 700; color: var(--accent); padding-top: 2px; }
.hist__t { font-size: 16px; }

/* ── 본문 ─────────────────────────────────────────────────────────────── */

.prose { white-space: pre-line; line-height: 1.95; font-size: 16px; }

/* ── 사이드 박스 ─────────────────────────────────────────────────────── */

.sidebox { border: 1px solid var(--line); padding: 30px; position: sticky; top: calc(var(--header-h) + 20px); }
.sidebox__t { font-size: 16px; font-weight: 700; color: var(--heading); padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.stack > * + * { margin-top: 10px; }

.split { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 64px; }
.muted { color: var(--muted); }
.empty { padding: 90px 0; text-align: center; color: var(--muted); }

/* ── 하단 CTA ────────────────────────────────────────────────────────── */

.cta {
    padding: 96px 0; text-align: center; color: #fff;
    background: linear-gradient(130deg, var(--accent) 0%, var(--primary) 100%);
}
.cta h2 { color: #fff; font-size: 32px; }
.cta p { margin: 18px 0 34px; color: rgba(255,255,255,.88); }

/* ── 푸터 ─────────────────────────────────────────────────────────────── */

.ft { background: #292929; color: rgba(255,255,255,.62); padding: 60px 0 44px; font-size: 14px; line-height: 1.95; }
.ft__logo {
    display: block; width: 150px; height: 42px; margin-bottom: 22px;
    background: url('/assets/img/logo-white.svg') no-repeat left center / contain;
    text-indent: -9999px; overflow: hidden; white-space: nowrap;
}
.ft__copy { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.4); font-size: 13px; }

/* ── 반응형 ───────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .sec { padding: 80px 0; }
    .split { grid-template-columns: 1fr; gap: 44px; }
    .sidebox { position: static; }
    .hero__title { font-size: 34px; }
    .sec__title { font-size: 28px; }
    .feat { grid-template-columns: 1fr; gap: 44px; }
    .feat__item { border-left: 0; padding: 0; }
    .hist__year { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
    .hist__y { font-size: 30px; }
}

@media (max-width: 768px) {
    :root { --header-h: 68px; }

    .navbtn { display: block; }

    .gnb {
        position: absolute; top: var(--header-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 6px var(--gutter) 14px;
        box-shadow: 0 14px 24px rgba(0,0,0,.1);
        display: none;
    }
    .navchk:checked ~ .gnb { display: flex; }
    .gnb__link { color: var(--heading); padding: 14px 4px; }

    /* 모바일에서는 카드가 아니라 메뉴 안에 그대로 펼쳐진다.
       그림자·꼭지·둥근 모서리는 모두 걷어낸다. */
    .gnb__panel {
        position: static; transform: none; opacity: 1; visibility: visible;
        pointer-events: auto; background: transparent;
        border: 0; border-radius: 0; box-shadow: none; padding: 0 0 6px 14px;
        border-left: 2px solid var(--line-2); margin-left: 4px; min-width: 0;
    }
    .gnb__panel::before, .gnb__panel::after { display: none; }
    .gnb__panel a { padding: 11px 10px; border-radius: 8px; }

    .hero { min-height: 300px; padding: calc(var(--header-h) + 30px) 0 44px; }
    .hero__title { font-size: 27px; }

    .subnav__inner { flex-direction: column; align-items: stretch; gap: 0; }
    .subnav__label { padding: 16px 0 6px; font-size: 15px; }
    .subnav__list a { padding: 12px 14px; font-size: 15px; }

    .sec { padding: 56px 0; }
    .sec__head { margin-bottom: 36px; }
    .sec__title { font-size: 24px; }
    .cards { grid-template-columns: 1fr; gap: 20px; }
    .dl__row { flex-direction: column; gap: 4px; }
    .dl__k { width: auto; }
    .cta { padding: 64px 0; }
    .cta h2 { font-size: 24px; }
}

/* ── 폼 ───────────────────────────────────────────────────────────────── */

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__field { margin-bottom: 20px; }
.form__field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--heading); }
.form__field label em { color: #d0342c; font-style: normal; }

.form__field input,
.form__field textarea {
    width: 100%; padding: 13px 15px;
    font-family: inherit; font-size: 15px; color: var(--heading);
    border: 1px solid var(--line); background: #fff;
    transition: border-color .15s ease;
}
.form__field input:focus,
.form__field textarea:focus { outline: none; border-color: var(--primary); }
.form__field textarea { resize: vertical; line-height: 1.7; }

.form__note { font-size: 13px; color: var(--muted); margin-top: 4px; }

.form-ok {
    padding: 16px 20px; margin-top: 24px;
    background: var(--tint); border-left: 3px solid var(--primary);
    color: var(--primary); font-weight: 700; font-size: 15px;
}
.form-err {
    padding: 16px 20px; margin-top: 24px;
    background: #fdf0ef; border-left: 3px solid #d0342c;
    color: #b32b23; font-size: 14px;
}

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

/* ── 컬러 시스템 (기업 Identity) ─────────────────────────────────────── */

.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.swatch i { display: block; height: 72px; margin-bottom: 12px; }
.swatch b { display: block; font-size: 15px; color: var(--heading); margin-bottom: 4px; }
.swatch span { font-size: 13px; color: var(--muted); }

@media (max-width: 768px) {
    .swatches { grid-template-columns: 1fr; gap: 14px; }
    .swatch i { height: 54px; }
}

/* ── 솔루션 상세 이미지 ──────────────────────────────────────────────── */

.figs { margin-top: 52px; }
.fig { margin: 0 0 44px; }
.fig img {
    width: 100%; height: auto;
    border: 1px solid var(--line-2);
    background: #fff;
}
.fig figcaption {
    margin-top: 14px; padding-left: 14px;
    border-left: 3px solid var(--accent);
    font-size: 14px; color: var(--muted); line-height: 1.6;
}

@media (max-width: 768px) {
    .figs { margin-top: 36px; }
    .fig { margin-bottom: 32px; }
}

/* ── 연혁 상세 (펼침) ────────────────────────────────────────────────────
   상세가 있는 항목만 <details> 로 감싸므로, 없는 항목은 눌러도 반응이 없다. */

.hist__d { font-size: 16px; }
.hist__d > summary {
    list-style: none; cursor: pointer;
    position: relative; padding-right: 26px;
    transition: color .15s ease;
}
.hist__d > summary::-webkit-details-marker { display: none; }
.hist__d > summary:hover { color: var(--primary); }

/* 펼침 표시는 + / − 로 둔다. 아이콘 파일을 쓰지 않는다. */
.hist__d > summary::after {
    content: '+';
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; line-height: 18px; text-align: center;
    font-size: 15px; font-weight: 700; color: var(--primary);
    border: 1px solid var(--line); border-radius: 50%;
}
.hist__d[open] > summary { color: var(--primary); font-weight: 700; }
.hist__d[open] > summary::after { content: '\2212'; border-color: var(--primary); }

.hist__body {
    margin: 14px 0 6px;
    padding: 20px 22px;
    background: var(--tint);
    border-left: 3px solid var(--primary);
    font-size: 15px; line-height: 1.8;
}
.hist__body p { color: var(--body); }

.hist__meta {
    display: grid; grid-template-columns: 74px 1fr;
    gap: 6px 14px; margin: 14px 0 0; font-size: 14px;
}
.hist__meta dt { color: var(--muted); }
.hist__meta dd { margin: 0; color: var(--heading); font-weight: 500; }

@media (max-width: 768px) {
    .hist__body { padding: 16px 18px; font-size: 14px; }
    .hist__meta { grid-template-columns: 64px 1fr; }
}

.feats { display: flex; flex-direction: column; gap: 72px; }

.feat-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: center;
}
.feat-row--flip .feat-row__media { order: 2; }

.feat-row__media {
    background: var(--tint);
    display: flex; align-items: center; justify-content: center;
    padding: 30px; min-height: 240px;
}
.feat-row__media img { max-height: 210px; width: auto; }

.feat-row__no {
    display: block; font-size: 14px; font-weight: 700;
    letter-spacing: .1em; color: var(--accent); margin-bottom: 12px;
}
.feat-row__text h3 { font-size: 23px; margin-bottom: 16px; }
.feat-row__text p { font-size: 16px; color: var(--body); line-height: 1.85; }

/* ── 반응형 ──────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .feat-row { gap: 32px; }
}

@media (max-width: 768px) {


    .feats { gap: 48px; }
    .feat-row { grid-template-columns: 1fr; gap: 20px; }
    /* 모바일에서는 항상 이미지가 위로 오게 한다 */
    .feat-row--flip .feat-row__media { order: 0; }
    .feat-row__media { min-height: 0; padding: 24px; }
    .feat-row__media img { max-height: 160px; }
    .feat-row__text h3 { font-size: 20px; }
    .feat-row__text p { font-size: 15px; }
}


/* ══════════════════════════════════════════════════════════════════════
   회사소개 페이지
   운영 중인 ksas.co.kr 의 구성을 따르되, 좁은 화면에서 접히도록 했다.
   ══════════════════════════════════════════════════════════════════════ */

/* ── 회사 소개 사진 ──────────────────────────────────────────────────── */
.about__photo { width: 100%; height: 330px; object-fit: cover; margin: 40px 0; }

/* ── 사업 분야 (아이콘 3열) ──────────────────────────────────────────── */
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.field { text-align: center; padding: 0 18px; }
.field__icon { display: block; width: 88px; height: 88px; margin: 0 auto 26px; object-fit: contain; }
.field h3 { font-size: 22px; margin-bottom: 18px; }
.field p { font-size: 15px; color: var(--body); line-height: 1.9; }

/* ── 주요 사업 (이미지 + 목록, 좌우 교차) ────────────────────────────── */
.mains { display: flex; flex-direction: column; gap: 72px; }
.main-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.main-row--flip .main-row__media { order: 2; }
.main-row__media img { width: 100%; height: 320px; object-fit: cover; }
.main-row__en { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: 10px; }
.main-row__text h3 { font-size: 25px; margin-bottom: 16px; }
.main-row__text > p { font-size: 15px; color: var(--body); line-height: 1.9; }
.main-row__list { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--body); line-height: 2; }
.main-row__list li { padding-left: 12px; position: relative; }
.main-row__list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 4px; height: 1px; background: var(--muted); }

/* ── 경영 철학 (원본의 200px 원형 테두리) ───────────────────────────── */
.philos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.philo { text-align: center; }
.philo__circle {
    width: 200px; height: 200px; margin: 0 auto 28px; padding: 12px;
    border: 2px solid var(--heading); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.philo__circle span { font-size: 24px; font-weight: 700; color: var(--heading); line-height: 1.4; }

/* 원과 문구를 잇는 세로 연결선.
   원본의 .info::before 를 그대로 옮긴 것으로, 16x108px 이미지를 가운데 세운다. */
.philo > p {
    position: relative; padding-top: 120px;
    font-size: 15px; color: var(--body); line-height: 1.9;
}
.philo > p::before {
    content: ""; display: block;
    position: absolute; left: 50%; top: -8px; transform: translateX(-50%);
    width: 16px; height: 108px;
    background: url('/assets/img/company/bg_philosophy_circle.png') no-repeat;
}

/* ── 핵심 가치 ──────────────────────────────────────────────────────────
   원본 .m_list.type_radius > .box_figure 규격을 그대로 옮겼다.
     · 모서리는 오른쪽 위 / 왼쪽 아래만 30px
     · 그림자 5px 5px 20px rgba(0,0,0,.25)
     · 마우스를 올리면 이미지만 1.1배로 커진다 (바깥은 overflow:hidden)
     · 문구는 하단 108px 반투명 바 안에 들어간다
     · 짝수 카드는 40px 아래로 내려 어긋나게 배치 */

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

.value {
    position: relative; margin: 0; height: 300px; overflow: hidden;
    border-radius: 0 30px 0 30px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, .25);
    background: var(--heading);
}
/* 짝수 카드를 내려 원본의 어긋난 배치를 만든다 */
.value:nth-child(even) { margin-top: 40px; }

.value__img {
    display: block; position: absolute; inset: 0;
    background: none center/cover no-repeat;
    transition: transform .3s ease-in-out;
}
.value:hover .value__img { transform: scale(1.1); }

.value figcaption {
    position: absolute; left: 0; bottom: 0; width: 100%;
    min-height: 108px; display: flex; align-items: center;
    padding: 22px 28px;
    background: rgba(0, 0, 0, .5);
    border-radius: 0 0 0 30px;
}
.value p { font-size: 16px; line-height: 1.7; color: #fff; }

/* ── 경영진 (사진 + 경력 좌우 배치) ─────────────────────────────────── */
.people { display: flex; flex-direction: column; gap: 40px; }
.person {
    display: grid; grid-template-columns: 320px 1fr; gap: 56px;
    align-items: start; background: #fff; padding: 48px;
    border: 1px solid var(--line-2);
}
/* 짝수 번째는 사진을 오른쪽에 둔다 */
.person:nth-child(even) { grid-template-columns: 1fr 320px; }
.person:nth-child(even) .person__top { order: 2; }

.person__top { text-align: center; }
.person__photo {
    display: block; width: 100%; aspect-ratio: 1 / 1;
    object-fit: cover; object-position: center 20%;
    margin: 0 0 22px;
}
.person__photo--none {
    display: flex; align-items: center; justify-content: center;
    font-size: 72px; font-weight: 700; color: #fff;
    background: linear-gradient(140deg, var(--accent), var(--primary));
}
.person__pos { display: block; font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.person__name { font-size: 24px; font-weight: 700; color: var(--heading); letter-spacing: .06em; }

/* 인용 부호는 원본 이미지가 0바이트라 CSS 로 그린다 */
.person__body { min-width: 0; }
.person__tag {
    position: relative; font-size: 20px; font-weight: 700; color: var(--heading);
    line-height: 1.6; padding-top: 46px; padding-bottom: 26px; margin-bottom: 26px;
    border-bottom: 1px solid var(--line-2);
}
.person__tag::before {
    content: "\201C"; position: absolute; top: -8px; left: 0;
    font-size: 58px; line-height: 1; color: var(--accent); font-family: Georgia, serif;
}
.person__label { display: block; font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.person__careers ul { font-size: 15px; color: var(--body); line-height: 2; }
.person__careers li { padding-left: 13px; position: relative; }
.person__careers li::before { content: ""; position: absolute; left: 0; top: 15px; width: 5px; height: 1px; background: var(--muted); }

/* ── 기업 Identity ──────────────────────────────────────────────────── */
/* 원본 list_disc — 항목 앞에 점을 찍는다 */
.ci { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; list-style: none; }
.ci__block { position: relative; padding-left: 16px; }
.ci__block::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.ci__block h3 { font-size: 20px; margin-bottom: 14px; }
.ci__block p { font-size: 15px; color: var(--body); line-height: 1.9; }

.palettes { margin-top: 28px; }
.palette { margin-bottom: 16px; overflow: hidden; }
.palette i { display: block; height: 60px; margin-bottom: 8px; }
.palette b { font-size: 17px; color: var(--heading); float: left; }
.palette span { float: right; font-size: 15px; color: var(--muted); }

/* 원본 .identity_symbol 은 col_4 / col_8 2단이다.
   심볼을 왼쪽에 두고 문구를 오른쪽에 붙여야 읽는 흐름이 끊기지 않는다. */
.btt {
    margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center;
}
.btt__mark { text-align: center; }
.btt__mark img { max-width: 260px; width: 100%; }
.btt__text h3 { font-size: 24px; font-weight: 700; color: var(--heading); line-height: 1.5; margin-bottom: 18px; }
.btt__text p { font-size: 16px; color: var(--body); line-height: 1.9; }

@media (max-width: 768px) {
    .btt { grid-template-columns: 1fr; gap: 28px; text-align: center; margin-top: 44px; padding-top: 36px; }
    .btt__mark img { max-width: 200px; }
    .btt__text h3 { font-size: 19px; margin-bottom: 12px; }
    .btt__text p { font-size: 15px; }
    /* 좁은 화면에서는 원본의 줄바꿈 위치가 어색해 흐름대로 흐르게 둔다 */
    .btt__text p br { display: none; }
}

/* ── 인증 내역 ──────────────────────────────────────────────────────── */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert { margin: 0; text-align: center; }
.cert img { width: 100%; aspect-ratio: 255 / 360; object-fit: contain; border: 1px solid var(--line-2); background: #fff; padding: 14px; }
.cert__none { display: flex; align-items: center; justify-content: center; aspect-ratio: 255 / 360; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }
.cert figcaption { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--heading); }
.cert figcaption small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; font-size: 13px; }

/* ── 오시는 길 ──────────────────────────────────────────────────────── */
/* 지도를 옆이 아니라 전체 폭으로 두고, 회사 정보는 그 아래 띠에 담는다.
   좁은 칸에 표로 넣으니 글자가 한 줄씩 떨어져 읽기 나빴다. */
.direction { display: block; }
.map { width: 100%; height: 440px; border: 1px solid var(--line-2); }
.map--none { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--bg-soft); text-align: center; padding: 24px; }
.map--none p { font-size: 17px; font-weight: 700; color: var(--heading); }
.map--none small { color: var(--muted); font-size: 13px; }

/* 원본 .map_info 와 같은 구성이다. 지도 바로 아래 보라색 띠에 흰 글씨. */
.mapinfo { background: var(--primary); color: #fff; }
.mapinfo ul {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 10px 40px; padding: 20px 32px;
}
.mapinfo li { display: inline-flex; align-items: baseline; gap: 10px; font-size: 15px; }
.mapinfo__k { font-weight: 700; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.mapinfo__v { color: #fff; }

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.way h3 { font-size: 15px; color: var(--accent); margin-bottom: 10px; padding-left: 12px; border-left: 3px solid var(--accent); }
.way p { font-size: 15px; color: var(--body); line-height: 1.8; }

/* ── 반응형 ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .fields { grid-template-columns: 1fr; gap: 48px; }
    .main-row { grid-template-columns: 1fr; gap: 26px; }
    .main-row--flip .main-row__media { order: 0; }
    .philos { grid-template-columns: 1fr; gap: 48px; }
    .person, .person:nth-child(even) { grid-template-columns: 1fr; gap: 30px; padding: 32px; }
    .person:nth-child(even) .person__top { order: 0; }
    .person__photo { max-width: 300px; margin-left: auto; margin-right: auto; }
    .ci { grid-template-columns: 1fr; gap: 40px; }
    .certs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .about__photo { height: 220px; margin: 28px 0; }
    .field__icon { width: 72px; height: 72px; margin-bottom: 20px; }
    .field h3 { font-size: 19px; }
    .main-row__media img { height: 220px; }
    .main-row__text h3 { font-size: 21px; }
    .philo__circle { width: 164px; height: 164px; margin-bottom: 20px; }
    .philo__circle span { font-size: 20px; }
    .values { grid-template-columns: 1fr; gap: 18px; }
    .value { height: 220px; }
    .value:nth-child(even) { margin-top: 0; }
    .value figcaption { padding: 18px 22px; min-height: 88px; }
    .value p { font-size: 15px; }
    .person { padding: 26px 22px; }
    .person__photo { max-width: 240px; }
    .person__tag { font-size: 17px; padding-top: 38px; }
    .btt { margin-top: 44px; padding-top: 34px; }
    .btt img { max-width: 190px; }
    .certs { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .map { height: 280px; }
    /* 좁은 화면에서는 항목을 한 줄씩 쌓는다 */
    .mapinfo ul { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
    .mapinfo li { font-size: 14px; }
    .mapinfo__k { width: 62px; flex: none; }
    .ways { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
}

/* ══ 우하단 퀵바 ═══════════════════════════════════════════════════════
   원본 사이트의 .quick_bar / .floating_btn 구성을 그대로 옮겼다.
   기본은 + 버튼만 보이고, 마우스를 올리거나(데스크톱) 누르면(터치)
   위쪽으로 항목이 펼쳐진다. */

.quick {
    position: fixed; right: 30px; bottom: 30px; z-index: 90;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.quick__bar { position: relative; }

/* TOP 은 접히는 그룹 밖에 따로 있는 독립 버튼이다.
   + 버튼 아래에 항상 같이 떠 있어서 언제든 바로 누를 수 있다.
   흰 바탕이라 보라색 + 버튼과 구분된다. */
.quick__top {
    display: flex;
    width: 60px; height: 60px;
    flex-direction: column; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #fff; border: 1px solid var(--line);
    color: var(--primary);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
    transition: border-color .15s ease, color .15s ease;
}
.quick__top:hover { border-color: var(--primary); color: var(--accent); }
.quick__top strong { font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; }

/* 화살표는 CSS 로 그린다. 원본 아이콘 PNG 는 보라 배경에 얹히도록
   흰색으로 그려져 있어 흰 버튼에서는 보이지 않는다.
   정사각형을 45도 돌리고 두 변만 남기면 위쪽 꺾쇠가 된다. */
.quick__top .quick__ico--top {
    width: 13px; height: 13px;
    margin: 5px 0 7px;
    background: none;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

/* + 버튼. 항상 맨 아래에 떠 있고, 열리면 X 로 회전한다. */
.quick__toggle {
    position: relative; z-index: 2;
    display: block; width: 60px; height: 60px; padding: 0;
    border: 0; border-radius: 50%; cursor: pointer;
    background: linear-gradient(180deg, #70489D 0%, #3B419A 100%);
    box-shadow: 0 6px 18px rgba(59, 65, 154, .35);
    transition: transform .25s ease;
}
.quick__toggle::before {
    content: ""; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 16px; height: 16px;
    background: url('/assets/img/common/ico_quick_plus.png') no-repeat center / contain;
}
.quick.is-open .quick__toggle { transform: rotate(135deg); }

/* 항목은 원본처럼 보라색 그라데이션 캡슐 하나로 묶여 + 버튼 뒤에서 올라온다.
   아래쪽 여백은 + 버튼이 겹쳐 앉을 자리다.
   hover 로는 열지 않는다. 그러면 X 를 눌러 닫아도 포인터가 위에 있는 동안
   다시 펼쳐져 닫히지 않는 것처럼 보인다. */
.quick__group {
    position: absolute; right: 0; bottom: 0; z-index: 1;
    width: 60px; padding: 14px 0 68px;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    border-radius: 30px; color: #fff;
    background: linear-gradient(360deg, #3B419A 0%, #70489D 98.08%);
    box-shadow: 0 6px 18px rgba(59, 65, 154, .3);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.quick.is-open .quick__group { opacity: 1; visibility: visible; transform: translateY(0); }

.quick__btn {
    width: 60px; height: 56px; flex: none;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; text-align: center;
    transition: opacity .15s ease;
}
.quick__btn:hover { opacity: .75; }
.quick__btn strong { font-size: 10px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }

/* 아이콘 PNG 는 보라 배경에 얹히도록 흰색으로 그려져 있다 */
.quick__ico { display: block; width: 20px; height: 20px; margin-bottom: 5px; }
.quick__ico--ask   { background: url('/assets/img/common/ico_quick_ask.png') no-repeat center / contain; }
.quick__ico--intro { background: url('/assets/img/common/ico_quick_intro.png') no-repeat center / contain; }
.quick__ico--top   { background: url('/assets/img/common/ico_floating_top.png') no-repeat center / contain; height: 10px; margin-bottom: 8px; }

@media (max-width: 768px) {
    .quick { right: 16px; bottom: 16px; gap: 10px; }
    .quick__toggle, .quick__top { width: 52px; height: 52px; }
    .quick__group { width: 52px; padding: 12px 0 58px; }
    .quick__btn { width: 52px; height: 50px; }
    .quick__btn strong, .quick__top strong { font-size: 9px; }
}

/* ── 로고 표기 (국문 / 영문) ─────────────────────────────────────────────
   원본 .identity > .item.col_6 > .figure (585x230) 를 옮긴 것이다. */

.logotypes { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 64px; }
.logotype { margin: 0; }
.logotype__head {
    display: block; font-size: 15px; font-weight: 700;
    color: var(--heading); margin-bottom: 14px;
}
.logotype img {
    width: 100%; height: 230px; object-fit: contain;
    background: var(--bg-soft); padding: 30px;
    border: 1px solid var(--line-2);
}

@media (max-width: 768px) {
    .logotypes { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
    .logotype img { height: 160px; padding: 22px; }
}

/* 인증 섹션 상단 배경. 원본 .o_section.bg_common::before 를 옮긴 것으로
   섹션 위쪽 500px 에 이미지를 깔고 그 위에 내용이 얹힌다. */
#credentials { position: relative; }
#credentials::before {
    content: ""; position: absolute; left: 0; top: 0; z-index: 0;
    width: 100%; height: 500px;
    background: url('/assets/img/company/bg_common.jpg') no-repeat center / cover;
    opacity: .18;
}
#credentials > .wrap { position: relative; z-index: 1; }

/* ══ VIPER 상세 ═══════════════════════════════════════════════════════
   원본 .m_list_case.solution1 의 info_1 / info_2 / info_3 구성을 옮겼다.
   구간마다 위쪽에 구분선을 긋고 넉넉한 여백을 둔다. */

.vcase { display: flex; flex-direction: column; }
.vcase__row { padding: 90px 0; }
.vcase__row:first-child { padding-top: 0; }
.vcase__row + .vcase__row { border-top: 1px solid var(--line); }

.vcase__lead {
    font-size: 24px; font-weight: 700; color: var(--heading);
    line-height: 1.6; text-align: center; margin-bottom: 70px;
}
.vcase__pitch {
    font-size: 32px; font-weight: 700; color: var(--heading);
    line-height: 1.5; text-align: center; margin-bottom: 50px;
}

/* 가로로 긴 이미지는 좁은 화면에서 글씨가 뭉개지므로 스크롤 상자에 넣는다 */
.vcase__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vcase__wide { width: 100%; height: auto; }

/* ── Viper-C / W / T (실린더 좌측, 설명 우측) ───────────────────────── */

.vlayers { display: flex; flex-direction: column; gap: 44px; }
.vlayers > li {
    display: grid; grid-template-columns: 280px 1fr;
    gap: 48px; align-items: center;
}
.vlayer__mark { display: block; }
.vlayer__mark img { width: 280px; height: 110px; object-fit: contain; }
.vlayer__text { font-size: 16px; color: var(--body); line-height: 1.9; }

/* ── 구축 사례 ──────────────────────────────────────────────────────── */

.vcases { display: flex; flex-direction: column; gap: 64px; }
.vcase2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vcase2--flip .vcase2__media { order: 2; }
.vcase2__media img { width: 100%; height: auto; }
.vcase2__text h3 { font-size: 23px; margin-bottom: 16px; }
.vcase2__text p { font-size: 16px; color: var(--body); line-height: 1.9; }
.vcase2__text b { color: var(--primary); }

/* ── 반응형 ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .vlayers > li { grid-template-columns: 1fr; gap: 20px; justify-items: center; text-align: center; }
    .vcase2 { grid-template-columns: 1fr; gap: 26px; }
    .vcase2--flip .vcase2__media { order: 0; }
}

@media (max-width: 768px) {
    .vcase__row { padding: 56px 0; }
    .vcase__lead { font-size: 19px; margin-bottom: 40px; }
    .vcase__pitch { font-size: 22px; margin-bottom: 32px; }
    /* 구성도는 원본 비율을 지키고 가로로 넘긴다 */
    .vcase__scroll .vcase__wide { min-width: 680px; }
    .vlayers { gap: 34px; }
    .vlayer__mark img { width: 220px; height: 86px; }
    .vlayer__text { font-size: 15px; }
    .vcases { gap: 44px; }
    .vcase2__text h3 { font-size: 20px; }
}


/* ── 히어로 위 작은 라벨 ────────────────────────────────────────────────
   원본 .visual_text 의 영문 카테고리에 해당한다.
   VIPER·전자명함·금융 프로젝트·채용이 모두 이것을 쓴다. */

.page-head__eyebrow {
    margin-bottom: 16px;
    font-size: 13px; font-weight: 700; letter-spacing: .22em;
    text-transform: uppercase; color: rgba(255, 255, 255, .75);
}

/* ══ 금융 프로젝트 ═════════════════════════════════════════════════════
   원본 .section_case 를 그대로 옮겼다. 2단이 아니라 한 단이다.

     .case_head h3      3.2rem bold
     .case_head p       1.8rem
     .section_case img  display:block; margin: 6rem auto 0   ← 아래 가운데
     .section_case.case1  padding: 8.2rem 0 20rem
     .o_section.common    margin: 18rem 0
     [class|=description] + .binds > :only-child
                        → 견적문의 버튼은 제목 줄 오른쪽 끝

   원본 여백이 상당히 크다. 좁히면 글과 그림이 붙어 보인다. */

.bizgroup { padding-bottom: 40px; }
.bizgroup__head { margin-bottom: 0; padding: 110px 0 10px; }

.bizcase { padding: 90px 0 110px; }
.bizcase--dark {
    background: linear-gradient(120deg, #3B419A 0%, #5a3f9c 100%);
    color: #fff;
}

/* 제목과 버튼을 한 줄에 둔다. 원본은 버튼을 절대 배치했지만
   제목이 길어지면 겹치므로 같은 결과를 flex 로 낸다. */
.bizcase__top {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 30px; margin-bottom: 26px;
}
.bizcase__title { font-size: 32px; font-weight: 700; line-height: 1.4; color: var(--heading); }
.bizcase__btn { flex: none; }

.bizcase__desc p { font-size: 18px; line-height: 1.9; color: var(--body); }
.bizcase__desc p + p { margin-top: 14px; }

.bizcase--dark .bizcase__title { color: #fff; }
.bizcase--dark .bizcase__desc p { color: rgba(255, 255, 255, .9); }

/* 이미지는 설명 아래 가운데. 원본의 margin-top 6rem 을 지킨다.
   컨테이너를 넓혔더니 구성도가 과하게 커지고, 본문이 분류 제목과
   좌우 끝이 어긋났다. 컨테이너는 제목과 같은 폭으로 두고
   이미지만 따로 최대 폭을 잡는다. */
.bizcase__info { margin-top: 60px; text-align: center; }
.bizcase__info img { margin: 0 auto; width: 100%; max-width: 1034px; }
.bizcase__info img + img { margin-top: 40px; }

/* 남색 배경 위의 이미지. img_sism_case1(내부통제), case8(PEF) 처럼
   그림 자체가 보라 계열이라 배경에 묻힌다. 흰 판을 깔아 준다. */
.bizcase--dark .bizcase__info img {
    background: #fff; padding: 26px; border-radius: 12px;
}

/* 인터넷뱅킹처럼 이미지가 둘이면 원본은 가로로 나눠 놓는다 */
.bizcase__info--pair {
    display: flex; flex-wrap: wrap;
    justify-content: space-evenly; align-items: center; gap: 40px;
}
/* 이 두 장은 원본이 510px 이라 늘리면 뭉개진다. 제 크기로 둔다. */
.bizcase__info--pair img { width: auto; max-width: 100%; }
.bizcase__info--pair img + img { margin-top: 0; }

@media (max-width: 768px) {
    .bizgroup__head { padding: 60px 0 6px; }
    .bizcase { padding: 52px 0 60px; }
    .bizcase__top { flex-direction: column; gap: 18px; margin-bottom: 18px; }
    .bizcase__title { font-size: 21px; }
    .bizcase__desc p { font-size: 15px; }
    .bizcase__info { margin-top: 34px; }
    .bizcase__info--pair { gap: 24px; }
}

/* ══ 채용 ══════════════════════════════════════════════════════════════ */

/* ── 인재상 ─────────────────────────────────────────────────────────────
   원본 .talent .m_list 은 아이콘(18rem 폭) / 제목(24rem) / 설명(78rem)
   을 한 줄에 놓고 항목 사이에 1px 선을 긋는다. 한 칸 높이는 24rem. */

.talents { display: flex; flex-direction: column; }
.talent {
    display: grid; grid-template-columns: 180px 240px 1fr;
    align-items: center; min-height: 200px; padding: 30px 0;
}
.talent + .talent { border-top: 1px solid #ccc; }
.talent__ico { width: 100px; height: 100px; object-fit: contain; }
.talent__head { font-size: 24px; font-weight: 600; line-height: 1; color: var(--heading); }
.talent__data { font-size: 18px; line-height: 1.9; color: var(--body); padding: 0 30px; }

/* ── 복리후생 ───────────────────────────────────────────────────────────
   원본은 370x370 카드. 위 230px 흰 바탕에 그림, 아래 140px 회색 바탕에 글.
   모서리는 20px, 그림자는 0 0 10px rgba(0,0,0,.1). */

.welfares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.welfare {
    display: flex; flex-direction: column;
    border-radius: 20px; overflow: hidden; background: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
    transition: transform .25s ease, box-shadow .25s ease;
}
.welfare:hover { transform: translateY(-6px); box-shadow: 0 6px 20px 0 rgba(0, 0, 0, .16); }
.welfare__img {
    display: flex; align-items: center; justify-content: center;
    height: 230px; background: #fff;
}
.welfare__img img { max-height: 160px; width: auto; }
.welfare__info {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 140px; padding: 20px; text-align: center; background: #eee;
}
.welfare__title { font-size: 22px; font-weight: 700; color: var(--heading); }
.welfare__sub { padding-top: 10px; font-size: 16px; line-height: 1.7; color: var(--body); }

/* ── 채용절차 ───────────────────────────────────────────────────────────
   원본 .recruitment_process 는 200px 원 네 개를 화살표로 잇고,
   마지막 '최종합격'만 보라색 그라데이션에 흰 글씨다. */

.steps {
    display: flex; align-items: center; justify-content: space-between;
    margin: 0 auto 20px; list-style: none;
}
.step { display: flex; align-items: center; }
/* 화살표를 품은 칸이 남는 폭을 먹어 원들이 고르게 벌어진다 */
.step:not(:first-child) { flex: 1 1 auto; }
.step__circle {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 200px; height: 200px; border-radius: 50%;
    background: #f8f8f8; box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .25);
}
.step--last .step__circle { background: linear-gradient(90deg, #3B419A 0%, #70489D 100%); }
.step__circle img { width: 52px; height: 52px; object-fit: contain; }
.step__circle strong { padding-top: 20px; font-size: 20px; font-weight: 700; color: var(--heading); }
.step--last .step__circle strong { color: #fff; }

/* 원 사이를 잇는 화살표. 남는 폭을 이 칸이 먹어 원들이 고르게 벌어진다. */
.step__arrow {
    flex: 1 1 auto; min-width: 40px; height: 18px;
    background: url('/assets/img/recruit/ico_recruit_arrow.png') no-repeat center / 36px 18px;
}

.steps__note { font-size: 18px; font-weight: 600; text-align: center; color: var(--body); }
.steps__note::before { content: "\203B"; padding-right: 4px; }

/* ── FAQ ────────────────────────────────────────────────────────────────
   원본 .accordion 은 위에 2px 먹선을 긋고 질문 앞에 Q, 답 앞에 A 를 단다.
   답 영역 배경은 연보라(#ECEDF5). */

.faqs { list-style: none; border-top: 2px solid #333; }
.faqs > li { border-bottom: 1px solid var(--line); }

.faq__q {
    position: relative; cursor: pointer; list-style: none;
    display: flex; align-items: flex-start; gap: 30px;
    padding: 30px 44px 30px 30px;
    font-size: 20px; font-weight: 500; color: var(--heading); line-height: 1.5;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before { content: "Q"; flex: none; font-size: 24px; line-height: 1.3; color: var(--primary); }
/* 펼침 표시는 원본과 같은 삼각형이다 */
.faq__q::after {
    content: ""; position: absolute; right: 20px; top: 40px;
    border: 9px solid transparent; border-top: 9px solid var(--line);
    transition: transform .2s ease;
}
.faq[open] .faq__q { color: var(--primary); }
.faq[open] .faq__q::after { transform: rotate(180deg); top: 32px; }

.faq__a { display: flex; gap: 30px; padding: 30px; background: var(--tint); }
.faq__a::before { content: "A"; flex: none; font-size: 24px; font-weight: 700; line-height: 1.6; color: var(--accent); }
.faq__a p { font-size: 18px; line-height: 1.9; color: var(--body); }
.faq__a p + p { margin-top: 8px; }

/* ── 지원하기 ───────────────────────────────────────────────────────── */

.applies { display: flex; justify-content: space-around; align-items: flex-start; list-style: none; }
.apply { text-align: center; }
.apply img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto; }
.apply strong { display: block; font-size: 24px; font-weight: 700; color: var(--heading); padding: 30px 0 40px; }
.apply__tel { font-size: 22px; font-weight: 700; color: var(--primary); }

@media (max-width: 1024px) {
    .welfares { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .talent { grid-template-columns: 130px 1fr; gap: 10px 16px; min-height: 0; }
    .talent__ico { width: 84px; height: 84px; }
    /* 설명은 아이콘·제목 아래로 내려 전체 폭을 쓴다 */
    .talent__data { grid-column: 1 / -1; padding: 0; }
    .step__circle { width: 150px; height: 150px; }
    .step__circle img { width: 40px; height: 40px; }
    .step__circle strong { padding-top: 14px; font-size: 16px; }
}

@media (max-width: 768px) {
    .welfares { grid-template-columns: 1fr; gap: 16px; }
    .welfare__img { height: 190px; }
    .welfare__img img { max-height: 130px; }
    .welfare__title { font-size: 19px; }
    .welfare__sub { font-size: 15px; }

    .talent { padding: 24px 0; }
    .talent__head { font-size: 19px; }
    .talent__data { font-size: 15px; }

    /* 좁은 화면에서는 2열로 접고 화살표는 지운다 */
    .steps { flex-wrap: wrap; justify-content: center; gap: 24px 16px; }
    .step { width: calc(50% - 8px); justify-content: center; }
    .step__arrow { display: none; }
    .step__circle { width: 130px; height: 130px; }

    .steps__note { font-size: 15px; }

    .faq__q { font-size: 16px; gap: 14px; padding: 22px 36px 22px 4px; }
    .faq__q::before { font-size: 20px; }
    .faq__a { gap: 14px; padding: 22px 16px; }
    .faq__a::before { font-size: 20px; }
    .faq__a p { font-size: 15px; }

    .applies { flex-direction: column; gap: 36px; align-items: center; }
    .apply strong { font-size: 20px; padding: 20px 0 26px; }
}
