/* =========================================================
   WellTech Lab — site.css
   브랜드: 로고 그라데이션(#3048a3 → #6bbbe8), 네이비(#161b45)
   ========================================================= */
:root {
  --navy-900: #0e1233;
  --navy-800: #161b45;
  --navy-700: #1f2760;
  --blue-700: #1d46a8;
  --blue-600: #2557c7;
  --blue-500: #3a6fe0;
  --sky-400: #5fb3e6;
  --sky-100: #e8f3fc;
  --grad: linear-gradient(120deg, #3048a3 0%, #4a86d4 60%, #6bbbe8 100%);
  --grad-deep: linear-gradient(135deg, #0e1233 0%, #1b2766 55%, #23439a 100%);
  --text: #1c2233;
  --text-2: #4a5468;
  --muted: #7a8396;
  --line: #e2e7ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --kakao: #fee500;
  --success: #12805c;
  --danger: #c23434;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 64, .06), 0 2px 8px rgba(16, 24, 64, .05);
  --shadow: 0 10px 30px rgba(16, 24, 64, .10);
  --header-h: 76px;
  --container: 1200px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--text);
  background: var(--bg); word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--navy-800); margin: 0 0 .6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 36px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(48, 72, 163, .28); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(48, 72, 163, .36); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-outline { border-color: var(--blue-600); color: var(--blue-600); background: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn-kakao { background: var(--kakao); color: #191919; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(226, 231, 239, .8); transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(16, 24, 64, .06); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: block; flex: none; }
.brand-logo { height: 40px; width: auto; }
.brand-logo--light { display: none; }
.gnb { margin-left: auto; }
.gnb-list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gnb-item { position: relative; }
.gnb-link { display: flex; align-items: center; height: var(--header-h); padding: 0 18px; color: var(--navy-800); font-weight: 600; font-size: 16px; text-decoration: none !important; }
.gnb-item.is-current > .gnb-link { color: var(--blue-600); }
.gnb-toggle { display: none; }
.gnb-sub {
  position: absolute; top: calc(var(--header-h) - 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 230px; list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.gnb-item:hover .gnb-sub, .gnb-item:focus-within .gnb-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb-sub a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--text); font-size: 15px; white-space: nowrap; text-decoration: none; }
.gnb-sub a:hover, .gnb-sub a[aria-current] { background: var(--sky-100); color: var(--blue-700); }
.gnb-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; color: var(--navy-800); font-weight: 700; font-size: 14px; border: 1px solid var(--line); text-decoration: none !important; }
.lang-switch:hover { border-color: var(--blue-500); color: var(--blue-600); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* 홈: 처음엔 투명 헤더 */
.is-home .site-header.is-transparent:not(.is-scrolled):not(.menu-open) { background: transparent; border-color: transparent; backdrop-filter: none; }
.is-home .site-header.is-transparent:not(.is-scrolled):not(.menu-open) .brand-logo--dark { display: none; }
.is-home .site-header.is-transparent:not(.is-scrolled):not(.menu-open) .brand-logo--light { display: block; }
.is-home .site-header.is-transparent:not(.is-scrolled):not(.menu-open) .gnb-link,
.is-home .site-header.is-transparent:not(.is-scrolled):not(.menu-open) .lang-switch { color: #fff; border-color: rgba(255, 255, 255, .35); }
.is-home .site-header.is-transparent:not(.is-scrolled):not(.menu-open) .menu-btn span { background: #fff; }

/* ---------- Home hero ---------- */
.home-hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-900); }
.home-hero-bg { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 18, 51, .94) 0%, rgba(22, 27, 69, .78) 45%, rgba(35, 67, 154, .35) 100%), var(--hero-image) center/cover no-repeat; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.home-hero-inner { position: relative; padding-top: var(--header-h); padding-bottom: 64px; }
.home-hero-title { color: #fff; font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; line-height: 1.18; margin-bottom: 24px; max-width: 900px; }
.home-hero-desc { font-size: clamp(17px, 1.6vw, 21px); color: rgba(255, 255, 255, .82); max-width: 640px; margin-bottom: 40px; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--blue-600); text-transform: uppercase; margin-bottom: 12px; }
.eyebrow--light { color: var(--sky-400); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Sub page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 64px) 0 0; background: var(--grad-deep); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% 10%, rgba(107, 187, 232, .28), transparent 60%), radial-gradient(600px 300px at 10% 100%, rgba(58, 111, 224, .25), transparent 60%); pointer-events: none; }
.page-hero.has-image::after { content: ""; position: absolute; inset: 0; background: var(--hero-image) center/cover no-repeat; opacity: .16; mix-blend-mode: luminosity; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; padding-bottom: 56px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .65); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.page-title { color: #fff; font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-bottom: 12px; }
.page-subtitle { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .8); max-width: 880px; margin: 0; }
.subnav-wrap { position: relative; z-index: 1; background: rgba(255, 255, 255, .06); border-top: 1px solid rgba(255, 255, 255, .12); }
.subnav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav-wrap .container { position: relative; }
.subnav-wrap.fade-l .subnav { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px); mask-image: linear-gradient(90deg, transparent 0, #000 40px); }
.subnav-wrap.fade-r .subnav { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent 100%); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent 100%); }
.subnav-wrap.fade-l.fade-r .subnav { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 48px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 48px), transparent 100%); }
.subnav a { display: block; padding: 16px 20px; color: rgba(255, 255, 255, .75); font-weight: 600; font-size: 15px; white-space: nowrap; border-bottom: 3px solid transparent; text-decoration: none; }
.subnav a:hover { color: #fff; }
.subnav a[aria-current] { color: #fff; border-bottom-color: var(--sky-400); }

/* ---------- Sections & content components (에디터에서도 사용) ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--grad-deep); color: rgba(255, 255, 255, .85); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 48px; }
.section-head.left { margin-left: 0; }
.section-title { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.section-desc, .lead { font-size: 18px; color: var(--text-2); }
.page-body { min-height: 30vh; }
.page-body > .container, .page-body > p, .page-body > h2, .page-body > h3, .page-body > ul { max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.page-body > p:first-child, .page-body > h2:first-child { margin-top: 64px; }

.grid { display: grid; gap: 24px; }
.grid-2 { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.align-center { align-items: center; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-num { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--sky-100); color: var(--blue-600); font-weight: 800; margin-bottom: 18px; }
.card--dark { background: #15172a; color: rgba(255, 255, 255, .78); border-color: #15172a; }
.card--dark h3 { color: #fff; }
.card--dark .card-kicker { color: var(--sky-400); }
.card-kicker { font-size: 14px; font-weight: 700; color: var(--blue-600); letter-spacing: .06em; margin-bottom: 14px; display: block; }

/* 서비스 카드 (홈) */
.svc-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; color: inherit; text-decoration: none !important; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-card .svc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-card .svc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-card .svc-tag { font-size: 13px; font-weight: 700; color: var(--blue-600); letter-spacing: .04em; }
.svc-card h3 { font-size: 20px; margin: 0; }
.svc-card p { color: var(--text-2); font-size: 15.5px; margin: 0; flex: 1; }
.svc-card .svc-more { margin-top: 12px; font-weight: 600; color: var(--blue-600); font-size: 15px; }
.svc-card .svc-more::after { content: " →"; }

/* 숫자 강조 */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat strong { display: block; white-space: nowrap; font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--dark .stat strong { background: linear-gradient(120deg, #9fd3f5, #fff); -webkit-background-clip: text; background-clip: text; }
.stat span { display: block; margin-top: 8px; color: var(--text-2); font-size: 15px; }
.section--dark .stat span { color: rgba(255, 255, 255, .7); }

/* 이미지 + 글 */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-split.reverse > :first-child { order: 2; }
.media-split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.figure { margin: 0; }
.figure img { border-radius: var(--radius); }
.figure figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }
.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }

/* 체크 목록 */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding: 6px 0 6px 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--sky-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%232557c7' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.dot-list { list-style: none; padding: 0; margin: 0; }
.dot-list li { position: relative; padding: 5px 0 5px 18px; color: var(--text-2); }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); }
.sub-list { list-style: none; padding: 0 0 0 4px; margin: 4px 0 8px; }
.sub-list li { font-size: 15px; color: var(--muted); padding: 2px 0 2px 14px; position: relative; }
.sub-list li::before { content: "–"; position: absolute; left: 0; }

/* 기능 블록 (Smart HR 등) */
.feature-block { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
.feature-block:first-of-type { border-top: 0; }
.feature-block .fb-head h3 { font-size: 24px; margin-bottom: 12px; }
.feature-block .fb-head img { border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); max-width: 240px; }
.feature-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-item { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 22px 24px; }
.section--alt .feature-item { background: #fff; border: 1px solid var(--line); }
.feature-item h4 { font-size: 17px; margin-bottom: 6px; color: var(--navy-800); }
.feature-item p, .feature-item li { font-size: 15.5px; color: var(--text-2); margin: 0; }

/* 단계 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0 0 48px; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 20px 20px; font-weight: 700; color: var(--navy-800); }
.steps li::before { content: "STEP " counter(step, decimal-leading-zero); display: block; font-size: 12px; letter-spacing: .1em; color: var(--blue-600); margin-bottom: 6px; }

/* 연혁 */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline > li { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 0 0 40px; position: relative; }
.timeline > li::before { content: ""; position: absolute; left: 104px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-600); }
.timeline .tl-year { font-size: 30px; font-weight: 800; color: var(--navy-800); line-height: 1.1; }
.timeline .tl-body h3 { font-size: 19px; margin-bottom: 8px; }

/* 안내 박스 */
.callout { border-radius: var(--radius); padding: 28px 32px; background: var(--sky-100); color: var(--navy-800); }
.callout strong { color: var(--blue-700); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text-2); }

/* 표 */
.table-wrap { overflow-x: auto; }
.page-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.page-body th, .page-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.page-body th { background: var(--bg-alt); }

/* 지도 */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 440px; border: 0; }

/* 글 위주 페이지 (개인정보처리방침 등) */
.prose { max-width: 860px; margin: 0 auto; padding: 64px 24px; }
.prose h2 { font-size: 22px; margin-top: 2em; }
.prose h3 { font-size: 18px; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-2); font-size: 16px; }

/* ---------- Partners ---------- */
.partner-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.partner-card a, .partner-card > img { text-decoration: none !important; }
.partner-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, transform .25s; }
.partner-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.partner-card a, .partner-card { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.partner-card a { width: 100%; height: 100%; padding: 20px 16px 16px; color: var(--muted); }
.partner-card img { width: 100%; height: 100px; object-fit: contain; }
.partner-name { font-size: 13px; margin-top: 8px; color: var(--muted); }
.partner-card:not(:has(a)) { padding: 20px 16px 16px; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 20px; width: max-content; animation: marquee 50s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item { flex: none; width: 230px; height: 116px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 14px 20px; }
.logo-item img { width: 100%; height: 100%; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Library ---------- */
.dl-group { margin-bottom: 48px; }
.dl-group-title { font-size: 22px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--navy-800); }
.dl-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dl-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s; }
.dl-card:hover { box-shadow: var(--shadow-sm); }
.dl-card.is-disabled { background: var(--bg-alt); }
.dl-card.is-disabled .dl-icon { color: var(--muted); background: #fff; }
.dl-icon { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--sky-100); color: var(--blue-600); }
.dl-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dl-title { font-size: 17px; color: var(--navy-800); }
.dl-desc { font-size: 14.5px; color: var(--text-2); }
.dl-meta { font-size: 13px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.contact-intro p { color: var(--text-2); }
.contact-side { position: sticky; top: calc(var(--header-h) + 24px); }
.info-card { background: var(--grad-deep); color: rgba(255, 255, 255, .85); border-radius: var(--radius); padding: 32px; }
.info-title { color: #fff; font-size: 15px; letter-spacing: .14em; margin-bottom: 20px; }
.info-card dl { margin: 0 0 24px; }
.info-card dt { font-size: 13px; color: var(--sky-400); font-weight: 700; margin-top: 14px; }
.info-card dd { margin: 2px 0 0; font-size: 15.5px; }
.info-card a { color: #fff; }
.info-card a.btn-kakao { color: #191919; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--navy-800); padding: 0; }
.label em { color: var(--danger); font-style: normal; }
.input { width: 100%; font: inherit; font-size: 16px; padding: 13px 16px; border: 1px solid #cfd6e2; border-radius: var(--radius-sm); background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(58, 111, 224, .15); }
textarea.input { resize: vertical; min-height: 180px; }
.input-file { padding: 10px 12px; }
.help { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid #cfd6e2; cursor: pointer; font-weight: 600; font-size: 15px; transition: all .2s; }
.chip input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--sky-400); outline-offset: 2px; }
.agree-box { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 18px 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 600; margin-top: 10px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue-600); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 24px; }
.notice ul { margin: 0; padding-left: 18px; }
.notice--error { background: #fdeeee; color: var(--danger); }
.notice--success { display: flex; gap: 18px; align-items: center; background: #e9f6f0; color: var(--success); padding: 28px; }
.notice--success strong { font-size: 20px; color: var(--navy-800); }
.notice--success p { margin: 4px 0 0; color: var(--text-2); }

/* ---------- CTA & Footer ---------- */
.cta-band { background: var(--grad); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.cta-title { color: #fff; font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.cta-desc { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .62); font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.3fr 2.1fr; gap: 48px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand img { height: 30px; width: auto; }
.footer-tag { margin-top: 14px; font-size: 14px; }
.footer-info { margin: 0; display: grid; gap: 10px; }
.footer-info div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.footer-info dt { color: rgba(255, 255, 255, .4); }
.footer-info dd { margin: 0; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-nav strong { display: block; color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { padding: 3px 0; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer-bottom p { margin: 0; }
.footer-links { display: flex; gap: 20px; }


/* ---------- 서비스 상세 구성요소 (사실 패널, V-모델, 산출물, SIL, 표준 태그, FAQ) ---------- */
.fact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; background-image: var(--grad-deep); box-shadow: var(--shadow); }
.fact { padding: 32px 26px; display: flex; flex-direction: column; gap: 6px; border: 1px solid rgba(255,255,255,.08); }
.fact strong { font-size: 24px; line-height: 1.25; color: #fff; letter-spacing: -.02em; }
.fact span { font-size: 14.5px; color: rgba(255,255,255,.72); }
.vmodel-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; overflow-x: auto; }
.vmodel { display: block; width: 100%; min-width: 720px; height: auto; font-family: var(--font); }
.vm-hint { display: none; text-align: center; font-size: 13.5px; color: var(--muted); margin: 0 0 8px; }
.vm-legend { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 14.5px; color: var(--text-2); }
.vm-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; vertical-align: -2px; }
.deliv-phase { font-size: 13px; font-weight: 700; color: var(--blue-600); letter-spacing: .04em; margin: 0 0 4px; }
.deliv h3 { font-size: 20px; }
.deliv .dot-list li { font-size: 15px; }
.deliv--key { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(58,111,224,.12); }
.sil-band { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sil-band li { border-radius: var(--radius-sm); padding: 22px 12px; text-align: center; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.sil-band li:nth-child(1) { background: #5fb3e6; } .sil-band li:nth-child(2) { background: #3a8fdc; } .sil-band li:nth-child(3) { background: #2f6fd0; }
.sil-band li:nth-child(4) { background: #2450b0; } .sil-band li:nth-child(5) { background: #161b45; }
.sil-band strong { font-size: 22px; } .sil-band span { font-size: 13.5px; opacity: .85; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { padding: 9px 16px; border-radius: 999px; background: var(--sky-100); color: var(--navy-800); font-weight: 600; font-size: 15px; }
.ref-logos { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0; }
.ref-logos img { height: 84px; width: auto; max-width: 220px; object-fit: contain; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; color: var(--navy-800); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue-600); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--text-2); }


/* ---------- 브랜드 보드 (회사소개 Color & Symbol) ---------- */
.brand-board { display: grid; grid-template-columns: 1.6fr 1fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.bb-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 48px 32px; }
.bb-logo img { width: min(100%, 420px); height: auto; }
.bb-tag { margin: 0; font-weight: 600; color: var(--navy-800); font-size: 17px; text-align: center; }
.bb-elements { background: #60bceb; display: grid; grid-template-columns: 1fr 1fr; padding: 28px; }
.bb-el { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 22px 12px; color: #fff; }
.bb-el:nth-child(1), .bb-el:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.75); }
.bb-el:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.75); }
.bb-icon { height: 64px; width: auto; max-width: 130px; object-fit: contain; margin-bottom: 10px; }
.bb-el strong { font-size: 15px; } .bb-el span { font-size: 13px; opacity: .9; }
.brand-colors { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.brand-colors li { padding: 34px 16px 14px; color: #fff; display: flex; flex-direction: column; gap: 1px; }
.brand-colors li.is-light { color: var(--navy-800); box-shadow: inset 0 0 0 1px var(--line); }
.brand-colors strong { font-size: 17px; font-weight: 600; } .brand-colors span { font-size: 12px; letter-spacing: .04em; opacity: .9; }


/* ---------- Smart HR 차별점·비교표 ---------- */
.diff-row { align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.diff-row:first-of-type { border-top: 0; padding-top: 8px; }
.diff-row h3 { font-size: 24px; margin: 10px 0 10px; }
.diff-row p { color: var(--text-2); }
.diff-row .img-frame { width: 100%; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 680px; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare-table thead th { background: var(--navy-800); color: #fff; font-weight: 700; }
.compare-table tbody th { background: var(--bg-alt); color: var(--navy-800); white-space: nowrap; }
.compare-table td { color: var(--text-2); }
.compare-table .is-us { background: var(--sky-100); color: var(--navy-800); font-weight: 600; }
.compare-table thead th.is-us { background: var(--blue-600); color: #fff; }


/* ---------- SIL 실적 카드 ---------- */
.sil-record { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 10px; }
.sil-stat { border-radius: var(--radius-sm); padding: 18px 20px; background: var(--grad-deep); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.sil-stat strong { font-size: 28px; line-height: 1.2; }
.sil-stat span { font-size: 15px; } .sil-stat b { color: #9fd3f5; }
.sil-stat small { font-size: 13px; color: rgba(255,255,255,.72); margin-top: 4px; }


.record-years { list-style: none; padding: 0; margin: 4px 0 12px; font-size: 15px; color: var(--text-2); }
.record-years li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.record-years b { color: var(--blue-600); min-width: 44px; }
/* ---------- 개발 사례 ---------- */
.case-group { font-size: 18px; color: var(--blue-600); margin: 28px 0 14px; letter-spacing: .02em; }
.case-group:first-of-type { margin-top: 0; }
.case-card h3 { font-size: 18px; }
.case-card p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.case-card--intl { grid-column: 1 / -1; background: var(--grad-deep); color: rgba(255,255,255,.85); border: 0; }
.case-card--intl h3 { color: #fff; font-size: 22px; }
.case-card--intl p { color: rgba(255,255,255,.82); }
.case-card--intl .case-site { margin-top: 12px; color: #9fd3f5; font-weight: 600; font-size: 15px; }
.badge-intl { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #0e1233; background: #9fd3f5; border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }


/* ---------- 회사 개요 ---------- */
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stats--5 .stat strong { font-size: clamp(24px, 2.6vw, 40px); }
.company-stats { margin-bottom: 40px; }
.company-stats .stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; }
.company-split { align-items: start; }
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); font-size: 15.5px; }
.info-table th { width: 110px; text-align: left; vertical-align: top; padding: 14px 16px; background: var(--navy-800); color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--text); }
.team-title { font-size: 20px; margin-bottom: 6px; } .team-desc { color: var(--text-2); font-size: 15px; }
.team-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.team-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; }
.team-list strong { color: var(--navy-800); font-size: 15.5px; } .team-list span { color: var(--blue-600); font-weight: 800; }
.team-list small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--5 .stat:last-child { grid-column: 1 / -1; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-block { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .gnb {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; margin: 0;
    padding: 12px 24px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .site-header.menu-open .gnb { transform: none; visibility: visible; }
  .site-header.menu-open { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .gnb { height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); bottom: auto; overscroll-behavior: contain; }
  .gnb-list { flex-direction: column; gap: 0; }
  .gnb-item { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 48px; }
  .gnb-link { height: 60px; padding: 0; font-size: 18px; color: var(--navy-800) !important; }
  .gnb-toggle { display: block; border: 0; background: transparent; cursor: pointer; position: relative; }
  .gnb-toggle span::before, .gnb-toggle span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--navy-800); transform: translate(-50%, -50%); transition: transform .2s; }
  .gnb-toggle span::after { transform: translate(-50%, -50%) rotate(90deg); }
  .gnb-toggle[aria-expanded="true"] span::after { transform: translate(-50%, -50%) rotate(0); }
  .gnb-sub { grid-column: 1 / -1; position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px; display: none; min-width: 0; }
  .gnb-item:hover .gnb-sub, .gnb-item:focus-within .gnb-sub { transform: none; }
  .gnb-item.is-open .gnb-sub { display: block; }
  .gnb-sub a { padding: 10px 12px; font-size: 16px; }
  .gnb-mobile-extra { display: block; margin-top: 24px; }
  .site-header.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand-logo { height: 32px; }
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .media-split, .contact-layout { grid-template-columns: 1fr; }
  .media-split { gap: 32px; }
  .media-split.reverse > :first-child { order: 0; }
  .contact-side { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .page-hero { padding-top: calc(var(--header-h) + 40px); }
  .page-hero .container { padding-bottom: 40px; }
}
@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .page-body > .container, .page-body > p, .page-body > h2, .page-body > h3, .page-body > ul { padding-left: 16px; padding-right: 16px; }
  .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature-items { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-card img { height: 72px; }
  .logo-item { width: 180px; height: 96px; padding: 12px 16px; }
  .field-row { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .timeline::before { left: 6px; }
  .timeline > li { grid-template-columns: 1fr; gap: 8px; padding-left: 32px; }
  .timeline > li::before { left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .dl-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; padding: 18px; align-items: start; }
  .dl-icon { width: 48px; height: 48px; border-radius: 12px; grid-row: span 2; }
  .dl-card .btn, .dl-card .badge { grid-column: 2; justify-self: start; margin-top: 8px; }
  .home-hero-actions .btn { flex: 1 1 auto; }
  .lang-switch span { display: none; }
  .lang-switch { padding: 8px; }
  .home-hero-title { font-size: 29px; }
  .link-arrow { display: inline-flex; align-items: center; min-height: 44px; }
  .info-card dd a { display: inline-block; padding: 8px 0; }
  .stats--3 { grid-template-columns: 1fr; }
  .team-list { grid-template-columns: 1fr; }
  .info-table th { width: 84px; padding: 12px; }
  .diff-row { padding: 28px 0; }
  .diff-row h3 { font-size: 20px; }
  .brand-board { grid-template-columns: 1fr; }
  .bb-logo { padding: 32px 20px; }
  .bb-logo img { width: min(100%, 260px); }
  .bb-elements { padding: 14px; }
  .brand-colors { grid-template-columns: 1fr 1fr; }
  .brand-colors li { padding: 22px 14px 12px; }
  .fact { padding: 22px 18px; }
  .fact strong { font-size: 19px; }
  .sil-band { grid-template-columns: 1fr; }
  .sil-band li { flex-direction: row; justify-content: space-between; align-items: center; padding: 14px 18px; }
  .vmodel-wrap { padding: 12px; }
  .vm-hint { display: block; }
  .subnav a { padding: 14px 14px; font-size: 14.5px; }
}
@media print {
  .site-header, .cta-band, .site-footer, .subnav-wrap { display: none; }
  .page-hero { background: none; color: #000; padding: 0; }
  .page-title { color: #000; }
}
