/* ============================================================
   BESTJOB 프론트 스타일 v2 — 토스 스타일 (개발_기획서 5장 디자인 가이드)
   토큰: 흰 배경 / 연회색 섹션 / #191F28 본문 / #3182F6 액센트
   v2: 볼륨감 보강 — 히어로 그라데이션·플로팅 칩, 숫자 밴드,
       비대칭 그리드, 좌우 교차 + 미디어 프레임, 스텝, 다크 CTA 밴드
   ============================================================ */

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/PretendardVariable.woff2') format('woff2-variations');
  font-weight: 45 920;
  font-style: normal;
  /* fallback: 로드가 순간이면(프리로드 덕에 보통 그렇다) 폴백 글꼴이 아예 안 보임 — 메뉴 크기 출렁임 방지 */
  font-display: fallback;
}

:root {
  --bg: #FFFFFF;
  --bg-soft: #F9FAFB;
  --bg-gray: #F2F4F6;
  --ink: #191F28;
  --ink-sub: #4E5968;
  --ink-weak: #8B95A1;
  --line: #E5E8EB;
  --blue: #3182F6;
  --blue-hover: #1B64DA;
  --blue-soft: #E8F1FE;
  --dark: #17171C;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 4px 16px rgba(0, 0, 0, .04);
  --shadow-float: 0 12px 32px rgba(25, 31, 40, .10);
  --wrap: 1120px;
  --font: 'Pretendard', -apple-system, 'Malgun Gothic', '맑은 고딕', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; } /* 페이지별 스크롤바 유무로 폭이 출렁이는 것 방지 */
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ── 헤더 ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 90px; }
.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; display: block; }
.gnb { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.gnb a {
  padding: 8px 14px; border-radius: 10px;
  font-size: 18px; font-weight: 600; color: var(--ink-sub);
}
.gnb a:hover { background: var(--bg-gray); color: var(--ink); }
.gnb a.on { color: var(--blue); }
.gnb-en { color: var(--ink-weak); font-weight: 700; letter-spacing: .04em; }
.nav-toggle { display: none; }

/* ── GNB 드롭다운(사업분야) — 전면 재작성 (2026-07-06)
   원칙: 숨김/펼침 규칙을 화면 모드별 미디어쿼리에 완전 격리.
   PC(721px+)는 display:none↔block 토글(상속 부작용 없음), 모바일은 항상 펼침. ── */
.gnb-sub a { display: block; border-radius: 10px; }
.gnb-sub a.on { color: var(--blue); background: var(--blue-soft); } /* 현재 보고 있는 페이지 */

@media (min-width: 721px) {
  .gnb-item { position: relative; }
  .gnb-sub {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    min-width: 190px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-float);
  }
  .gnb-sub::before { /* hover 이동 시 끊김 방지 브리지 */
    content: ""; position: absolute; top: -9px; left: 0; right: 0; height: 9px;
  }
  .gnb-item:hover .gnb-sub,
  .gnb-item:focus-within .gnb-sub { display: block; }
  .gnb-sub a { padding: 10px 14px; font-size: 15.5px; white-space: nowrap; }
}

/* ── 공통 섹션/타이포 ── */
.section { padding: 108px 0; }
.section.soft { background: var(--bg-soft); }
.sec-label {
  display: inline-block; margin-bottom: 14px;
  font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--blue);
}
.sec-title {
  margin: 0 0 12px; font-size: 38px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.3; text-wrap: balance;
}
.sec-desc { margin: 0; font-size: 18px; color: var(--ink-sub); text-wrap: pretty; }
.center { text-align: center; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border: 0; border-radius: 14px;
  font-family: inherit; font-size: 16.5px; font-weight: 700; cursor: pointer;
  background: var(--blue); color: #fff;
  transition: background .15s ease, transform .08s ease;
}
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: var(--bg-gray); color: var(--ink); }
.btn.ghost:hover { background: var(--line); }
.btn.big { padding: 17px 34px; font-size: 17.5px; border-radius: 16px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── 히어로: 그라데이션 배경 + 플로팅 스탯 칩 ── */
.hero {
  position: relative; overflow: hidden;
  padding: 180px 0; text-align: center;
  background: linear-gradient(180deg, #FDFEFF 0%, #F6F9FD 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url('../img/home/hero-outsourcing-hub.webp') center bottom / cover no-repeat;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 {
  margin: 0 0 18px; font-size: 56px; font-weight: 800;
  letter-spacing: -.03em; line-height: 1.2; text-wrap: balance;
  /* 딤 없이 배경 이미지 위 가독 확보 — 글자 주변 흰 후광만 */
  text-shadow: 0 1px 22px rgba(255, 255, 255, .9), 0 0 3px rgba(255, 255, 255, .7);
}
.hero p {
  margin: 0 0 36px; font-size: 20px; color: var(--ink-sub);
  text-shadow: 0 1px 16px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .8);
}
.hero .btn-row { justify-content: center; }

/* 플로팅 칩 — 데스크톱에서만. 이미지 수령 전에도 화면에 부유하는 포인트 */
.hero-chip {
  position: absolute; z-index: 1;
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(229, 232, 235, .9);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(6px);
  text-align: left;
  animation: chip-float 5.2s ease-in-out infinite;
}
.hero-chip .k { font-size: 13px; font-weight: 700; color: var(--ink-weak); }
.hero-chip .v { font-size: 21px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-chip .v em { font-style: normal; color: var(--blue); }
.hero-chip.c1 { left: 6%; top: 26%; animation-delay: 0s; }
.hero-chip.c2 { right: 7%; top: 20%; animation-delay: 1.4s; }
.hero-chip.c3 { right: 12%; bottom: 16%; animation-delay: 2.6s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── 숫자 밴드 (카운트업) ── */
.stats { padding: 64px 0; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat .num {
  font-size: 46px; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.15;
}
.stat .num em { font-style: normal; color: var(--blue); }
.stat .lbl { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink-weak); }

/* ── 카드 그리드 ── */
.grid { display: grid; gap: 20px; margin-top: 52px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  padding: 34px 30px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 15.5px; color: var(--ink-sub); }
a.card { transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0, 0, 0, .08); }
a.card .more { display: inline-block; margin-top: 18px; font-size: 14.5px; font-weight: 700; color: var(--blue); }

/* 아이콘 타일 (SVG) */
.icon-tile {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 16px; background: var(--blue-soft);
}
.icon-tile svg { width: 26px; height: 26px; stroke: var(--blue); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ── 사업분야: 비대칭 그리드 (첫 카드 피처드) ── */
.biz-grid {
  display: grid; gap: 20px; margin-top: 52px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas: "feat a b" "feat c c";
}
.biz-grid .feat { grid-area: feat; }
.biz-grid .a { grid-area: a; } .biz-grid .b { grid-area: b; } .biz-grid .c { grid-area: c; }
.biz-card { position: relative; overflow: hidden; }
.biz-card.feat {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px; color: #fff; border: 0;
  background:
    radial-gradient(420px 300px at 85% -10%, rgba(255, 255, 255, .18), transparent 60%),
    linear-gradient(160deg, #3182F6 0%, #1B64DA 74%);
}
.biz-card.feat h3 { font-size: 26px; color: #fff; }
.biz-card.feat p { color: rgba(255, 255, 255, .85); font-size: 16px; }
.biz-card.feat .more { color: #fff; }
.biz-card.feat .icon-tile { background: rgba(255, 255, 255, .16); }
.biz-card.feat .icon-tile svg { stroke: #fff; }
.biz-card.wide { display: flex; align-items: center; gap: 24px; }
.biz-card.wide .icon-tile { margin-bottom: 0; flex: none; }
.biz-card.wide h3 { margin-bottom: 4px; }
.biz-card.wide .more { margin-top: 10px; }

/* ── 신뢰: 좌우 교차 + 미디어 프레임 ── */
.feature-rows { display: flex; flex-direction: column; gap: 88px; margin-top: 64px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row.flip .feature-media { order: 2; }
.feature-copy .idx {
  display: inline-block; margin-bottom: 14px; padding: 6px 12px;
  border-radius: 999px; background: var(--blue-soft);
  font-size: 13.5px; font-weight: 800; color: var(--blue);
}
.feature-copy h3 { margin: 0 0 10px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.feature-copy p { margin: 0; font-size: 16.5px; color: var(--ink-sub); }

/* 미디어 프레임 — AI 이미지 수령 후 <img>로 교체. 그 전에도 그라데이션 패널로 볼륨 유지 */
.feature-media {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-float);
  background:
    radial-gradient(340px 240px at 20% 15%, rgba(49, 130, 246, .22), transparent 65%),
    radial-gradient(300px 220px at 85% 80%, rgba(27, 100, 218, .16), transparent 65%),
    linear-gradient(150deg, #EEF4FC 0%, #DCE9FA 100%);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.feature-media .ph svg { width: 64px; height: 64px; stroke: rgba(49, 130, 246, .45); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ── 거래처 스트립 ── */
.clients { padding: 58px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-label { text-align: center; font-size: 14px; font-weight: 700; color: var(--ink-weak); margin-bottom: 18px; }
.clients-list { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; }
.clients-list span {
  padding: 10px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-sub); font-size: 15px; font-weight: 700;
}

/* 거래처 로고 스트립 (실로고 — JPG 흰 배경도 흰 카드라 자연스럽게 흡수) */
.clients-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.clients-logos .cl {
  display: flex; align-items: center; justify-content: center;
  min-height: 64px; padding: 14px 28px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.clients-logos .cl:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .07); }
.clients-logos img { width: auto; display: block; }
@media (max-width: 720px) {
  .clients-logos .cl { min-height: 54px; padding: 10px 18px; }
  .clients-logos img { transform: scale(.9); }
}

/* ── 도입 절차: 가로 스텝 ── */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding: 26px 20px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-block; margin-bottom: 12px;
  font-size: 14px; font-weight: 800; color: var(--blue); letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.step::after { /* 연결선 */
  content: ""; position: absolute; top: 50%; right: -14px;
  width: 14px; height: 2px; background: var(--line);
}
.step:last-child::after { display: none; }
.step h4 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.step p { margin: 0; font-size: 13.5px; color: var(--ink-weak); }

/* ── 다크 CTA 밴드 ── */
.cta-band {
  position: relative; overflow: hidden;
  margin: 0; padding: 116px 0;
  background:
    radial-gradient(700px 420px at 82% 0%, rgba(49, 130, 246, .28), transparent 60%),
    radial-gradient(500px 340px at 8% 100%, rgba(49, 130, 246, .14), transparent 60%),
    var(--dark);
  color: #fff; text-align: center;
}
.cta-band h2 {
  margin: 0 0 14px; font-size: 42px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.28; text-wrap: balance;
}
.cta-band p { margin: 0 0 36px; font-size: 18px; color: rgba(255, 255, 255, .72); }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn.ghost { background: rgba(255, 255, 255, .10); color: #fff; }
.cta-band .btn.ghost:hover { background: rgba(255, 255, 255, .18); }

/* ── 푸터 ── */
.site-footer {
  padding: 56px 0 130px;
  background: var(--bg-soft); border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-weak);
}
.footer-brand { margin-bottom: 14px; }
.footer-brand img { height: 30px; width: auto; display: block; }
.footer-info { margin: 0 0 10px; line-height: 1.8; }
.footer-links { margin: 0 0 14px; }
.footer-links a strong { color: var(--ink-sub); }
.footer-links a:hover strong { color: var(--blue); }
.footer-copy { margin: 0; font-size: 12.5px; letter-spacing: .02em; }

/* ── 모바일 하단 고정 CTA ── */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.cta-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center;
  height: 52px; border-radius: 14px; font-size: 17px; font-weight: 800;
}
.cta-apply { background: var(--blue); color: #fff; }
.cta-call { background: var(--bg-gray); color: var(--ink); }

/* ── 스크롤 등장 모션 (+그리드 스태거) ── */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.on { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.grid .reveal:nth-child(2), .stats-grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .07s; }
.grid .reveal:nth-child(3), .stats-grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .14s; }
.grid .reveal:nth-child(4), .stats-grid .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .21s; }
.steps .reveal:nth-child(5) { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .reveal.on { transition: none; }
  .hero-chip { animation: none; }
}

/* ── 반응형 ── */
@media (max-width: 1180px) {
  .hero-chip.c1 { left: 2%; }
  .hero-chip.c2 { right: 2%; }
  .hero-chip.c3 { right: 4%; }
}
@media (max-width: 960px) {
  .hero-chip { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "feat feat" "a b" "c c"; }
  .biz-card.feat { min-height: 300px; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.flip .feature-media { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step::after { display: none; }
  .cta-band h2 { font-size: 32px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  /* 블러(backdrop-filter)는 fixed 자식(풀스크린 메뉴)의 기준을 헤더로 바꿔버림 → 모바일은 불투명 헤더 */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header-inner { height: 72px; }
  .logo img { height: 30px; }
  .section { padding: 72px 0; }
  .hero { padding: 88px 0 84px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }
  /* 모바일: 배경은 cover(기본값) 그대로 두고, 텍스트 가독용 밝은 딤만 살짝 (PC는 딤 없음) */
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(252, 254, 255, .82) 0%, rgba(252, 254, 255, .48) 55%, rgba(248, 251, 255, .22) 100%);
  }
  .sec-title { font-size: 27px; }
  .stats { padding: 48px 0; }
  .stat .num { font-size: 34px; }
  .biz-grid { grid-template-columns: 1fr; grid-template-areas: "feat" "a" "b" "c"; }
  .biz-card.wide { flex-direction: column; align-items: flex-start; }
  .feature-copy h3 { font-size: 23px; }
  .cta-band { padding: 84px 0; }
  .cta-band h2 { font-size: 27px; }
  .cta-bar { display: flex; }
  .site-footer { padding-bottom: 150px; }

  /* ── 모바일 내비: 풀스크린 메뉴 ── */
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    margin-left: auto; padding: 10px; border: 0; background: none; cursor: pointer;
  }
  .nav-toggle span {
    width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  /* 열리면 햄버거 → X (site.js가 aria-expanded 갱신) */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .gnb {
    display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; /* 헤더 아래 화면 전체 */
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 18px 20px 48px; margin: 0;
    background: #fff; overflow-y: auto;
  }
  .gnb.open { display: flex; animation: menu-in .22s ease; }
  body.menu-open { overflow: hidden; } /* 메뉴 열림 중 배경 스크롤 잠금 */

  /* 항목 스태거 등장 */
  .gnb > * { animation: menu-item .34s ease backwards; }
  .gnb > *:nth-child(1) { animation-delay: .03s; }
  .gnb > *:nth-child(2) { animation-delay: .08s; }
  .gnb > *:nth-child(3) { animation-delay: .13s; }
  .gnb > *:nth-child(4) { animation-delay: .18s; }
  .gnb > *:nth-child(5) { animation-delay: .23s; }

  .gnb a { padding: 15px 12px; font-size: 21px; font-weight: 700; border-radius: 12px; }
  .gnb-item { display: block; }
  .gnb-item > a { display: block; }
  .gnb-sub {
    display: block; margin: 0 0 8px 14px;
    padding-left: 14px; border-left: 2px solid var(--line);
  }
  .gnb-sub a { padding: 11px 12px; font-size: 16px; font-weight: 600; color: var(--ink-weak); }
  .gnb-en { margin-top: 6px; color: var(--ink-weak); }

  @keyframes menu-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes menu-item {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ============================================================
   서브페이지 공통 + 채용 (Phase 3)
   ============================================================ */

/* ── 스플릿 히어로 (회사소개·사업분야 허브 — 좌 텍스트 / 우 이미지) ── */
.split-hero {
  padding: 76px 0 84px;
  background: linear-gradient(180deg, #FBFDFF 0%, #FFFFFF 100%);
}
.split-hero .cols {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.split-hero h1 {
  margin: 0 0 14px; font-size: 42px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.24; text-wrap: balance;
}
.split-hero .lead { margin: 0; font-size: 17.5px; color: var(--ink-sub); text-wrap: pretty; }
.split-hero .btn-row { margin-top: 28px; }
.split-hero .visual {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-float);
}
.split-hero .visual img { width: 100%; height: 100%; object-fit: cover; }
.split-hero .visual .chip {
  position: absolute; left: 18px; bottom: 18px;
  padding: 11px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .93);
  font-size: 13.5px; font-weight: 800;
  box-shadow: var(--shadow); backdrop-filter: blur(4px);
}
.split-hero .visual .chip em { font-style: normal; color: var(--blue); }

/* ── 포토 히어로 (사업분야 상세 — 이미지 배경 다크 밴드) ── */
.photo-hero {
  position: relative; overflow: hidden;
  padding: 118px 0 104px; color: #fff; background: var(--dark);
}
.photo-hero .bg { position: absolute; inset: 0; }
.photo-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.photo-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(23, 23, 28, .88) 0%, rgba(23, 23, 28, .58) 55%, rgba(23, 23, 28, .28) 100%);
}
.photo-hero .wrap { position: relative; z-index: 1; }
.photo-hero .crumb { color: rgba(255, 255, 255, .65); }
.photo-hero .crumb a:hover { color: #fff; }
.photo-hero .crumb .sep { color: rgba(255, 255, 255, .3); }
.photo-hero h1 {
  margin: 0 0 12px; font-size: 44px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.22; text-wrap: balance;
}
.photo-hero p { margin: 0; font-size: 18px; color: rgba(255, 255, 255, .82); text-wrap: pretty; }

/* ── 포토 밴드 (섹션 사이 와이드 이미지 배너 — 밝은 전용 이미지라 딤 없이 어두운 텍스트+후광) ── */
.photo-band { position: relative; overflow: hidden; }
.photo-band > img { display: block; width: 100%; height: 360px; object-fit: cover; }
.photo-band .overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 0 20px; text-align: center;
  color: var(--ink);
}
.photo-band h2 {
  margin: 0; font-size: 31px; font-weight: 800; letter-spacing: -.02em; text-wrap: balance;
  text-shadow: 0 1px 18px rgba(255, 255, 255, .95), 0 0 3px rgba(255, 255, 255, .85);
}
.photo-band p {
  margin: 0; font-size: 16px; color: var(--ink-sub);
  text-shadow: 0 1px 14px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .9);
}

/* ── 이미지 카드 (분야 카드 — 썸네일형) ── */
.card.img-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.img-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.img-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
a.img-card:hover .thumb img { transform: scale(1.04); }
.img-card .body { padding: 24px 26px 28px; }

/* ── 서브페이지 헤드 (홈 히어로보다 낮은 톤) ── */
.page-head {
  padding: 84px 0 46px;
  background: linear-gradient(180deg, #FBFDFF 0%, #FFFFFF 100%);
}
.page-head h1 {
  margin: 0 0 10px; font-size: 40px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.25; text-wrap: balance;
}
.page-head p { margin: 0; font-size: 17.5px; color: var(--ink-sub); text-wrap: pretty; }
.crumb { margin-bottom: 14px; font-size: 14px; font-weight: 700; color: var(--ink-weak); }
.crumb a:hover { color: var(--blue); }
.crumb .sep { margin: 0 6px; color: var(--line); }

/* ── 폼 요소 (프론트 공통) ── */
.input, .select, .textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.select {
  appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B95A1' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 15px center / 12px;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 130, 246, .14);
}
.field { margin-bottom: 20px; }
.field > label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.field .req { color: var(--blue); }
.field .hint { margin-top: 7px; font-size: 13.5px; color: var(--ink-weak); }
.field-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* 허니팟 — 사람 눈에 안 보이는 필드 (봇 걸러내기) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert-error {
  padding: 15px 18px; margin-bottom: 22px;
  background: #FDECEC; color: #C7383D; border-radius: 12px; font-size: 14.5px;
}
.alert-error ul { margin: 0; padding-left: 18px; }
.notice-strip {
  padding: 13px 18px; margin-bottom: 22px;
  background: #FFF7E6; color: #A05A00; border-radius: 12px; font-size: 14.5px;
}

/* ── 채용: 필터 바 ── */
.filter-bar {
  display: grid; grid-template-columns: 170px 170px 1fr auto; gap: 10px;
  padding: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.job-count { margin: 28px 0 14px; font-size: 15px; color: var(--ink-sub); }
.job-count b { color: var(--blue); }

/* ── 채용: 공고 카드 ── */
.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-card {
  display: flex; align-items: center; gap: 22px;
  padding: 25px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.job-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, .08); }
.job-main { flex: 1; min-width: 0; }
.job-title {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 0 9px; font-size: 18.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.4;
}
.job-meta { display: flex; flex-wrap: wrap; gap: 5px 16px; font-size: 14.5px; color: var(--ink-sub); }
.job-side { flex: none; text-align: right; }
.job-pay { font-size: 17px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.job-dday { margin-top: 5px; font-size: 13.5px; font-weight: 600; color: var(--ink-weak); }
.job-empty {
  padding: 76px 20px; text-align: center;
  background: var(--bg-soft); border-radius: var(--radius); color: var(--ink-sub);
}

/* 배지 */
.badge-u, .badge-v, .badge-c {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; line-height: 1.5;
}
.badge-u { background: #FDECEC; color: #E5484D; }              /* 급구 */
.badge-v { background: var(--blue-soft); color: var(--blue); } /* 외국인 가능 */
.badge-c { background: var(--bg-gray); color: var(--ink-weak); } /* 마감 */

/* 페이지네이션 */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a, .pager span.cur {
  min-width: 40px; height: 40px; padding: 0 9px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--ink-sub);
}
.pager a:hover { background: var(--bg-gray); color: var(--ink); }
.pager .cur { background: var(--blue); color: #fff; }

/* ── 채용: 공고 상세 ── */
.job-view-head { padding: 66px 0 38px; }
.job-view-head .badges { display: flex; gap: 6px; margin-bottom: 14px; }
.job-view-head h1 {
  margin: 0 0 14px; font-size: 35px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.3; text-wrap: balance;
}
.spec {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.spec-row {
  display: grid; grid-template-columns: 140px 1fr; gap: 4px 14px;
  padding: 15px 24px; border-top: 1px solid var(--bg-gray);
}
.spec-row:first-child { border-top: 0; }
.spec-row dt { font-size: 14.5px; font-weight: 700; color: var(--ink-weak); }
.spec-row dd { margin: 0; font-size: 15.5px; font-weight: 600; }
.spec-row dd.pay { color: var(--blue); font-weight: 800; }
.job-section { margin-top: 46px; }
.job-section h2 { margin: 0 0 14px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.job-text {
  padding: 26px 28px; background: var(--bg-soft);
  border-radius: var(--radius); font-size: 15.5px; line-height: 1.8;
}
.job-apply-band {
  margin-top: 56px; padding: 40px 30px; text-align: center;
  background: var(--blue-soft); border-radius: var(--radius-lg);
}
.job-apply-band h2 { margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.job-apply-band p { margin: 0 0 22px; font-size: 15.5px; color: var(--ink-sub); }
.job-apply-band .btn-row { justify-content: center; }

/* ── 지원 폼 ── */
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-card {
  padding: 36px 32px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.apply-jobbox {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; margin-bottom: 26px;
  background: var(--blue-soft); border-radius: 14px;
  font-size: 15.5px; font-weight: 700;
}
.apply-jobbox .k { flex: none; font-size: 13px; font-weight: 800; color: var(--blue); }
.agree {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 16px 18px; background: var(--bg-soft); border-radius: 12px;
  font-size: 14.5px; color: var(--ink-sub); line-height: 1.6;
}
.agree input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.agree a { color: var(--blue); font-weight: 700; }

/* 문의 유형 토글 (구직/기업) */
.type-toggle { display: flex; gap: 8px; }
.type-toggle label {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 13px 10px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15.5px; font-weight: 700; color: var(--ink-sub);
  cursor: pointer; transition: all .15s ease; text-align: center;
}
.type-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.type-toggle input:checked + span { color: var(--blue); }
.type-toggle label:has(input:checked) {
  border-color: var(--blue); background: var(--blue-soft); color: var(--blue);
}

/* 완료 화면 */
.done-panel {
  max-width: 560px; margin: 0 auto; padding: 58px 32px; text-align: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.done-icon {
  width: 66px; height: 66px; margin: 0 auto 20px;
  border-radius: 999px; background: var(--blue-soft);
  display: grid; place-items: center;
}
.done-icon svg { width: 30px; height: 30px; stroke: var(--blue); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.done-panel h1 { margin: 0 0 10px; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.done-panel p { margin: 0 0 26px; font-size: 15.5px; color: var(--ink-sub); }

/* ============================================================
   콘텐츠 페이지 (Phase 5)
   ============================================================ */

/* 대표 인사말 */
.greeting {
  max-width: 820px; margin: 52px auto 0; padding: 46px 48px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.greeting p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.9; color: var(--ink-sub); }
.greeting p:last-of-type { margin-bottom: 0; }
.greeting .sign { margin-top: 28px; font-size: 16px; font-weight: 800; color: var(--ink); }
.greeting .sign small { display: block; margin-bottom: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-weak); }

/* 인사말 — 두 가지 약속 리스트 */
.greeting .promise { list-style: none; margin: 0 0 18px; padding: 0; }
.greeting .promise li {
  position: relative; margin: 2px 0; padding-left: 20px;
  font-size: 16.5px; line-height: 1.9; font-weight: 700; color: var(--ink);
}
.greeting .promise li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 7px; height: 7px; border-radius: 999px; background: var(--blue);
}

/* ── 조직도 (회사소개) ──
   구조: 대표이사 → (좌)경영지원실 / (우)자문변호사·자문노무사[점선]
        → (좌)충남지사 / (우)경남지사 → 하단 5개 부서
   연결선 규칙: .org-row 좌우 간격(gap)의 절반 = .org-cell::after 가로선 길이 */
.org { display: flex; flex-direction: column; align-items: center; max-width: 960px; margin: 56px auto 0; }
.org-ceo {
  padding: 13px 54px; text-align: center;
  background: var(--dark); color: #fff;
  border-radius: 16px; box-shadow: var(--shadow-float);
}
.org-ceo small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ink-weak); }
.org-ceo b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.org-stem { width: 2px; height: 26px; background: var(--line); }
.org-row { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 150px; padding: 11px 0; }
.org-row::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); }
.org-cell { position: relative; display: flex; gap: 8px; align-items: center; }
.org-cell.l { justify-self: end; }
.org-cell.r { justify-self: start; }
.org-cell::after { content: ""; position: absolute; top: 50%; width: 75px; height: 2px; margin-top: -1px; background: var(--line); }
.org-cell.l::after { left: 100%; }
.org-cell.r::after { right: 100%; }
.org-chip {
  padding: 11px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  font-size: 15.5px; font-weight: 700; white-space: nowrap;
}
.org-chip.adv { border-style: dashed; box-shadow: none; color: var(--ink-sub); }
.org-deps { position: relative; width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding-top: 26px; }
.org-deps::before { content: ""; position: absolute; top: 0; left: calc((100% - 48px) / 10); right: calc((100% - 48px) / 10); height: 2px; background: var(--line); }
.org-dep {
  position: relative; padding: 19px 10px; text-align: center;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
  font-size: 15.5px; font-weight: 800; letter-spacing: -.01em;
}
.org-dep::before { content: ""; position: absolute; top: -26px; left: 50%; width: 2px; height: 26px; margin-left: -1px; background: var(--line); }

/* 비교표 (파견 vs 도급) */
.table-scroll { overflow-x: auto; margin-top: 48px; }
.cmp-table {
  width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.cmp-table th, .cmp-table td { padding: 17px 22px; text-align: left; font-size: 15px; line-height: 1.6; }
.cmp-table thead th { background: var(--bg-soft); font-weight: 800; border-bottom: 1px solid var(--line); }
.cmp-table tbody tr + tr th, .cmp-table tbody tr + tr td { border-top: 1px solid var(--bg-gray); }
.cmp-table tbody th { font-weight: 700; color: var(--ink-weak); white-space: nowrap; }
.cmp-table .hl { color: var(--blue); font-weight: 700; }

/* "이런 고민이 있다면" 체크 카드 */
.pain-list {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.pain-list.c2 { grid-template-columns: repeat(2, 1fr); }
.pain-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 24px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: 16px; font-weight: 700; line-height: 1.5;
}
.pain-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px;
  border-radius: 999px; background: var(--blue-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%233182F6' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / 14px;
}

/* 서비스 설명 (무엇을/어떻게) — 좌 제목 / 우 화이트 카드 2열 */
.biz-duo {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 24px 52px; align-items: start;
}
.biz-duo + .biz-duo { margin-top: 56px; }
.biz-duo-head .sec-title { margin-bottom: 0; font-size: 30px; }
.biz-lead {
  padding: 30px 34px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: 17px; line-height: 1.85;
}
.biz-lead b { color: var(--blue); }
.biz-note { margin: 14px 4px 0; font-size: 15px; color: var(--ink-sub); }
.biz-note a { color: var(--blue); font-weight: 700; }

/* 직무 칩 */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip-row span {
  padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 700; color: var(--ink-sub);
}

/* 절차 요약 (한 줄) */
.mini-steps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 26px; }
.mini-steps span {
  padding: 11px 20px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 15px; font-weight: 800;
}
.mini-steps i { font-style: normal; color: var(--ink-weak); font-weight: 700; }

/* FAQ 아코디언 */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 48px; }
.faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  display: flex; gap: 12px; align-items: baseline;
  padding: 20px 24px; cursor: pointer;
  font-size: 16.5px; font-weight: 800; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; flex: none; color: var(--blue); font-weight: 800; }
.faq details[open] summary { border-bottom: 1px solid var(--bg-gray); }
.faq .a { padding: 18px 24px 22px; font-size: 15.5px; line-height: 1.75; color: var(--ink-sub); }

/* 절차 스텝 4단 변형 */
.steps.c4 { grid-template-columns: repeat(4, 1fr); }

/* 법정 문서 (개인정보처리방침) */
.legal { max-width: 780px; margin: 0 auto; font-size: 15.5px; line-height: 1.8; color: var(--ink-sub); }
.legal h2 { margin: 42px 0 10px; font-size: 19px; font-weight: 800; color: var(--ink); }
.legal ul { margin: 8px 0; padding-left: 20px; }
.legal .box { margin: 12px 0; padding: 18px 22px; background: var(--bg-soft); border-radius: 12px; }

@media (max-width: 960px) {
  .split-hero .cols { grid-template-columns: 1fr; gap: 30px; }
}

/* ── 서브페이지 반응형 ── */
@media (max-width: 720px) {
  .split-hero { padding: 52px 0 60px; }
  .split-hero h1 { font-size: 30px; }
  .split-hero .lead { font-size: 16px; }
  .photo-hero { padding: 80px 0 68px; }
  .photo-hero h1 { font-size: 30px; }
  .photo-hero p { font-size: 16px; }
  .photo-band > img { height: 250px; }
  .photo-band h2 { font-size: 22px; }
  .photo-band p { font-size: 14.5px; }
  .img-card .body { padding: 20px; }
  .greeting { padding: 30px 22px; }
  .org { margin-top: 40px; }
  .org-row { gap: 44px; }
  .org-cell { flex-direction: column; align-items: stretch; gap: 6px; }
  .org-cell::after { width: 22px; }
  .org-chip { padding: 9px 13px; font-size: 13.5px; text-align: center; white-space: normal; }
  .org-ceo { padding: 11px 40px; }
  .org-deps { grid-template-columns: 1fr; gap: 10px; padding-top: 22px; }
  .org-deps::before, .org-dep::before { display: none; }
  .org-dep { padding: 15px 12px; }
  .pain-list, .pain-list.c2 { grid-template-columns: 1fr; }
  .biz-duo { grid-template-columns: 1fr; gap: 16px; }
  .biz-duo-head .sec-title { font-size: 25px; }
  .biz-lead { padding: 24px 20px; font-size: 16px; }
  .steps.c4 { grid-template-columns: 1fr; }
  .page-head { padding: 54px 0 32px; }
  .page-head h1 { font-size: 28px; }
  .page-head p { font-size: 16px; }
  .filter-bar { grid-template-columns: 1fr 1fr; padding: 12px; }
  .filter-bar .f-q, .filter-bar .f-btn { grid-column: 1 / -1; }
  .job-card { flex-direction: column; align-items: stretch; gap: 14px; padding: 20px; }
  .job-side { display: flex; align-items: baseline; justify-content: space-between; text-align: left; }
  .job-dday { margin-top: 0; }
  .job-view-head { padding: 46px 0 26px; }
  .job-view-head h1 { font-size: 25px; }
  .spec-row { grid-template-columns: 1fr; padding: 13px 18px; }
  .job-text { padding: 20px; }
  .field-2col { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .job-apply-band { padding: 32px 20px; }
}
