/* ================= YTINS — light & airy, type-forward ================= */

/* ── 웹폰트 (자체 호스팅) ────────────────────────────────────────────
   Paperlogy (디스플레이·제목) → assets/fonts/paperlogy.css
   Pretendard Variable (본문) → assets/fonts/pretendard.css
   둘 다 동적 서브셋: 페이지에 실제로 쓰인 글자 조각만 내려받습니다. */

:root {
  --ink: #0c0e13;
  --text: #3a3f4a;
  --muted: #8a909c;
  --line: #ececf0;
  --line2: #f2f3f6;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-alt: #e9f1fd;
  --accent: #2f6fed;
  --accent-ink: #1746c4;
  --accent-soft: #eef3fe;
  --header-h: 68px;
  /* 라운딩 스케일 */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-pill: 999px;
  /* 스페이싱 스케일 (디자인 가이드 기준값) */
  --sp-1: 8px;   /* 아이콘-라벨 최소 간격 */
  --sp-2: 12px;  /* 아이콘-텍스트, 제목-본문 */
  --sp-3: 16px;  /* 카드 그리드 간격 */
  --sp-4: 24px;  /* 설명-콘텐츠 블록 간격 */
  --sp-5: 32px;  /* 블록 간 간격 */
  --sp-6: 40px;  /* 섹션 도입부-본문 간격 */
  --sp-7: 56px;  /* 서브섹션 간격 */
  /* 라인하이트 스케일 */
  --lh-tight: 1.3;  /* 제목·라벨 */
  --lh-small: 1.55; /* 캡션·보조 텍스트 */
  --lh-body: 1.7;   /* 본문 */
  --font-display: 'Paperlogy', 'Pretendard Variable', 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-body: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --maxw: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; word-break: keep-all; overflow-wrap: break-word; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink); letter-spacing: -0.02em; font-weight: 800; margin: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* selection */
::selection { background: var(--accent); color: #fff; }

/* ---------- Header (white, airy) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,0.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.97); box-shadow: 0 10px 30px rgba(12,14,19,0.10); }
/* 스크롤 시 현재 섹션명을 헤더 아래 고정 표시 */
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
.logo .logo-img { height: 30px; width: auto; display: block; }
.logo .footer-logo { height: 34px; }
.logo .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.logo .name { color: var(--ink); font-size: 20px; }
.logo .kr { color: var(--text); font-size: 15px; font-weight: 600; font-family: var(--font-body); margin-top: 3px; }
.gnb { display: flex; gap: 2px; }
.gnb > a, .gnb .has-sub > .sub-toggle {
  color: #4a4f5a; font-size: 11.5px; font-weight: 600; font-family: var(--font-body);
  padding: 8px 13px; border-radius: var(--r-sm); transition: color .15s ease, background .15s ease;
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
}
.gnb > a:hover, .gnb .has-sub:hover > .sub-toggle { color: var(--ink); background: var(--bg-soft); }
.gnb .has-sub > .sub-toggle.active, .gnb > a.active { color: var(--accent); background: var(--accent-soft); }
.has-sub { position: relative; }
.has-sub .caret { font-size: 9px; transition: transform .2s ease; opacity: .6; }
.sub {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px;
  min-width: 220px; display: none; flex-direction: column;
  box-shadow: 0 20px 48px rgba(12,14,19,0.12);
}
.sub::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.sub a { font-size: 14px; font-weight: 500; padding: 10px 12px; border-radius: var(--r-sm); color: #4a4f5a; transition: background .12s ease, color .12s ease; }
.sub a:hover { background: var(--bg-soft); color: var(--accent); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* ---------- Home hero (airy, giant type) ---------- */
.hero { padding: calc(var(--header-h) + 48px) 0 72px; background: var(--bg); position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; min-height: 100dvh; display: flex; align-items: center; }
/* 홈(히어로 있는 페이지)만: 스크롤 시 화면 단위로 섹션에 스냅 */
html:has(.hero) { scroll-snap-type: y proximity; }
.hero, #explore { scroll-snap-align: start; scroll-snap-stop: normal; }
/* 푸터 부근에도 스냅 지점을 둬서 하단에서 드래그해도 살펴보기로 튕겨 올라가지 않게 */
html:has(.hero) .site-footer { scroll-snap-align: end; }
/* 어드민에서 글 상자 너비를 직접 지정한 요소는 기본 CSS 상한(max-width)을 해제 —
   지정한 %(span.ta의 max-width)가 그대로 적용되게 한다 */
*:has(> .ta[style*="max-width"]) { max-width: none !important; }
/* 부모 래퍼(.ceo 등)의 상한도 한 단계까지 함께 해제 — 레이아웃 기준인 .container/.bw 는 유지 */
*:not(.container):not(.bw):has(> * > .ta[style*="max-width"]) { max-width: none !important; }
/* 블록 배치: 12열 CSS 그리드 — 너비(열 span)와 높이(행 span)를 자유롭게 조절해
   좌우 배치는 물론 "좌측 세로로 길게 + 우측 상/하 분할" 같은 중첩 구성까지 가능(dense pack).
   기본 블록은 span 12(한 줄 전체)이라 기존 페이지는 그대로 세로로 쌓인다. */
/* 기본: 블록 세로 흐름 (구성이 없는 섹션·기존 페이지는 그대로) */
.blocks { display: block; }
/* 자유 배치 섹션: 12열 그리드 + 벽돌(masonry) — 각 블록이 자기 높이만큼만 행을 차지해
   블록 영역이 콘텐츠에 딱 맞고(선택 테두리=내용), 높이를 콘텐츠보다 작게도 줄일 수 있다.
   grid-auto-flow:dense 로 "좌측 세로 길게 + 우측 상/하 분할" 같은 중첩 배치 가능.
   행 span 은 site.js(ytLayoutGrid) 가 실제 높이를 재서 지정한다. */
.blocks-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 6px; grid-auto-flow: row dense; column-gap: 26px; row-gap: 0; align-items: start; }
.blocks-grid > .bw { grid-column: span 12; grid-row: auto / span 60; min-width: 0; overflow: hidden; }
.blocks-grid > .add-blk { grid-column: 1 / -1; grid-row: auto / span 12; }
@media (max-width: 720px) {
  /* 모바일·태블릿: 자유 배치는 세로 한 줄로 자연스럽게 접힘 */
  .blocks-grid { display: block; }
  .blocks-grid > .bw { grid-column: auto; grid-row: auto; height: auto !important; overflow: visible; }
}
/* 블록을 작게 줄여도 박스 밖으로 내용이 튀어나오지 않게 — 박스 프리미티브는 컨테이너 크기에 맞춰 글자·여백 반응형 */
.ubox { container-type: inline-size; }
.ubox .ubox-t { font-size: clamp(13px, 6.2cqi, 18px); }
.ubox .ubox-c { font-size: clamp(10px, 4.6cqi, 14.5px); }
.ubox-num .ubox-n { font-size: clamp(17px, 9cqi, 26px); }
.ubox-fic { width: clamp(30px, 18cqi, 46px); height: clamp(30px, 18cqi, 46px); }
.ubox-panel .ubox-list li { font-size: clamp(10px, 4.4cqi, 14px); }
/* 빈 박스 프리미티브 (박스 카테고리) — 좌우 배치와 조합해 다이어그램을 자유 구성 */
.ubox { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 24px 26px; box-sizing: border-box; overflow: hidden; }
/* 높이를 명시한 블록에서만 박스가 지정 높이를 꽉 채운다(측정은 data-h 로) */
.blocks-grid > .bw[data-h] > .ubox { height: 100%; }
.ubox.tone-soft { background: var(--bg-soft); border-color: transparent; }
.ubox.tone-blue { background: var(--accent); border-color: transparent; color: #fff; }
.ubox.tone-dark { background: var(--ink); border-color: transparent; color: #fff; }
.ubox.tone-line { background: transparent; }
.ubox .ubox-t { font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.ubox.tone-blue .ubox-t, .ubox.tone-dark .ubox-t { color: #fff; }
.ubox .ubox-c { font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.ubox.tone-blue .ubox-c, .ubox.tone-dark .ubox-c { color: rgba(255,255,255,0.88); }
.ubox .ubox-t:only-child, .ubox .ubox-c:only-child { margin-bottom: 0; }
.ubox-fic { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 14px; }
.ubox-fic .ico-svg { width: 24px; height: 24px; }
.ubox.tone-blue .ubox-fic, .ubox.tone-dark .ubox-fic { background: rgba(255,255,255,0.16); color: #fff; }
.ubox-num { display: flex; gap: 16px; align-items: flex-start; }
.ubox-num .ubox-n { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.05; color: var(--accent); flex-shrink: 0; }
.ubox.tone-blue .ubox-n, .ubox.tone-dark .ubox-n { color: #fff; }
.ubox-num .ubox-numtx { flex: 1; min-width: 0; }
.ubox-panel { padding: 0; overflow: hidden; }
.ubox-panel .ubox-ph { padding: 22px 24px 18px; }
.ubox-panel .ubox-chip { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.82; margin-bottom: 9px; }
.ubox-panel .ubox-t { margin-bottom: 0; }
.ubox-panel .ubox-list { list-style: none; margin: 0; padding: 16px 24px 22px; display: grid; gap: 9px; }
.ubox-panel.tone-plain .ubox-list, .ubox-panel.tone-soft .ubox-list { background: var(--bg-soft); }
.ubox-panel.tone-dark .ubox-list, .ubox-panel.tone-blue .ubox-list { background: rgba(255,255,255,0.05); }
.ubox-panel .ubox-list li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.6; }
.ubox-panel.tone-plain .ubox-list li, .ubox-panel.tone-soft .ubox-list li { color: var(--text); }
.ubox-panel.tone-dark .ubox-list li, .ubox-panel.tone-blue .ubox-list li { color: rgba(255,255,255,0.9); }
.ubox-panel .ubox-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.uarrow { display: flex; align-items: center; justify-content: center; min-height: 44px; height: 100%; color: var(--muted); font-size: 30px; line-height: 1; font-weight: 400; }
@media (max-width: 720px) {
  .uarrow.dir-right span, .uarrow.dir-left span { display: inline-block; transform: rotate(90deg); }
}
/* 풀스크린 히어로 하단 스크롤 유도 */
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--muted); }
.scroll-cue span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.scroll-cue .ico-svg { width: 20px; height: 20px; animation: cueBounce 1.7s ease-in-out infinite; }
@keyframes cueBounce { 0%, 100% { transform: translateY(0); opacity: 0.55; } 50% { transform: translateY(7px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue .ico-svg { animation: none; } }
.hero .container { position: relative; z-index: 1; }
/* 메인 히어로 애니메이션 배경: 부유하는 광원 + 회전 빔 + 그리드 */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(110,120,140,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(110,120,140,0.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 68% 22%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 80% 70% at 68% 22%, #000 15%, transparent 72%); }
.hero-bg canvas { position: absolute; inset: 0; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; margin-bottom: 26px; }
.hero .eyebrow { margin-bottom: min(26px, 2.8dvh); } /* 화면이 낮으면 여백부터 줄인다 */
.hero .eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block; }
.hero h1 { font-size: clamp(38px, 6vw, 70px); line-height: 1.08; font-weight: 900; margin: 0 0 26px; }
/* 첫 화면 안에 항상 들어오도록 — 뷰포트 높이(dvh)에도 연동해 자동 축소 (제목은 최대한 크게 유지) */
.hero h1 { font-size: clamp(30px, min(6vw, 8dvh), 70px); margin-bottom: min(26px, 2.6dvh); }
.hero h1 .rot-wrap { white-space: nowrap; }
.hero h1 .en { color: var(--accent); }
/* 히어로 키워드 로테이션 */
.hero h1 .rot { display: inline-block; color: var(--accent); }
.hero h1 .rot-sfx { color: var(--ink); }
.hero h1 .rot-word { display: inline-block; }
.hero h1 .rot-word.swap { animation: rotSwap .5s cubic-bezier(.2,.8,.2,1); }
@keyframes rotSwap { 0% { transform: translateY(0.55em); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

.hero p.lead { font-size: clamp(16px, 2vw, 20px); color: var(--text); max-width: 620px; line-height: 1.7; margin: 0 0 48px; }
.hero p.lead { font-size: clamp(14px, min(2vw, 2.3dvh), 20px); line-height: 1.6; margin-bottom: min(48px, 4dvh); }
.hero .stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero .stats { gap: min(44px, 4.4dvh) 44px; }
.stat .num { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.stat .num { font-size: clamp(26px, min(4vw, 5.2dvh), 46px); }
.stat .num small { font-size: 15px; font-weight: 700; margin-left: 4px; color: var(--muted); }
.stat .label { font-size: 13.5px; color: var(--muted); margin-top: 10px; font-weight: 500; }
.stat .label { font-size: clamp(11px, 1.4dvh, 13.5px); margin-top: min(10px, 1.2dvh); }

/* ---------- Sub-page hero (light) ---------- */
.page-hero { padding: calc(var(--header-h) + 72px) 0 56px; background: var(--bg-alt); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .ph-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero .ph-bg canvas { position: absolute; inset: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }
.page-hero .eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block; }
.page-hero h1 { font-size: clamp(34px, 5.5vw, 60px); font-weight: 900; line-height: 1.08; margin: 0 0 16px; }
.page-hero p { font-size: clamp(15px, 2vw, 18px); color: var(--text); max-width: 1000px; line-height: 1.7; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; scroll-margin-top: var(--header-h); }
.section.alt { background: var(--bg-alt); }
/* 섹션 타이틀: 액센트 바 + 배경 스트립과 함께 헤더 아래 고정 (상태 전환 없음 → 무진동) */
.section h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; line-height: 1.15; position: sticky; top: var(--header-h); z-index: 20; margin: 0 0 20px; padding: 13px 0 15px; background: var(--bg); display: flex; align-items: center; gap: 15px; }
.section.alt h2 { background: var(--bg-alt); }
.section h2::before { content: ""; width: 6px; height: 0.8em; border-radius: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-ink)); flex-shrink: 0; }
.section .sec-desc { color: var(--muted); font-size: 17px; line-height: var(--lh-body); max-width: 900px; margin: 0 0 var(--sp-6); }
/* 서브섹션 제목 공통 리듬: 위 56px · 아래 12px */
.section h3.sub-h { margin: var(--sp-7) 0 var(--sp-2); }
.section h3.sub-h.tight { margin-top: var(--sp-3); }
.section h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; margin: 0 0 10px; }

/* Info table */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: stretch; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 20px 4px; font-size: 15.5px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 120px; color: var(--muted); font-weight: 600; font-family: var(--font-body); }
.info-table td { color: var(--ink); line-height: 1.6; font-weight: 500; }
.about-side { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: var(--sp-3); }
.about-side.col { grid-template-columns: 1fr; }
.about-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.about-card .num { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.about-card .num small { font-size: 14px; font-weight: 700; margin-left: 3px; color: rgba(255,255,255,0.6); }
.about-card .label { font-size: 13.5px; color: rgba(255,255,255,0.6); margin-top: 6px; }
.about-card .ac-ic { width: 42px; height: 42px; border-radius: var(--r-sm); background: rgba(255,255,255,0.14); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.about-card .ac-ic .ico-svg { width: 23px; height: 23px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; scroll-margin-top: calc(var(--header-h) + 24px); }
.card:hover { box-shadow: 0 18px 44px rgba(12,14,19,0.09); transform: translateY(-4px); border-color: #dfe3ea; }
.card .icon { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.card h4 { margin: 0 0 12px; font-size: 19px; font-weight: 800; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.block { margin-bottom: 64px; scroll-margin-top: calc(var(--header-h) + 24px); }
.block:last-child { margin-bottom: 0; }
.block-desc { color: var(--muted); font-size: 15.5px; line-height: var(--lh-body); max-width: 900px; margin: 0 0 var(--sp-4); }
.clients-bar { margin-top: 26px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 26px; display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; }
.section.alt .clients-bar { background: #fff; }
.clients-bar .t { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--accent); flex-shrink: 0; letter-spacing: 0; }
.clients-bar .list { font-size: 14.5px; color: var(--text); line-height: 1.75; }

/* Cloud partnership band */
.cloud-partners { margin-top: 40px; background: linear-gradient(180deg, var(--accent-soft), #fff); border: 1px solid #dce6fb; border-radius: var(--r-lg); padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cloud-partners .cp-head { display: flex; flex-direction: column; gap: 6px; max-width: 460px; }
.cloud-partners .cp-kicker { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.cloud-partners .cp-head b { font-family: var(--font-display); font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.cloud-partners .cp-sub { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.cloud-partners .cp-logos { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cloud-partners .cp-logo { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); height: 76px; min-width: 150px; display: flex; align-items: center; justify-content: center; padding: 16px 24px; box-shadow: 0 8px 22px rgba(12,14,19,0.05); }
.cloud-partners .cp-logo img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; }
.cloud-partners .cp-plus { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--accent); }
.cloud-partners .cp-with { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent-ink); padding-left: 4px; }
.cloud-partners .cp-with-logo { height: 22px; width: auto; display: block; }
@media (max-width: 720px) {
  .cloud-partners { padding: 22px 18px; }
  .cloud-partners .cp-head { max-width: none; }
  .cloud-partners .cp-logos { width: 100%; justify-content: center; gap: 10px; flex-wrap: wrap; }
  .cloud-partners .cp-logo { flex: 1 1 0; min-width: 0; height: 62px; padding: 12px 10px; }
  .cloud-partners .cp-logo img { max-height: 30px; }
  .cloud-partners .cp-plus { font-size: 18px; flex-shrink: 0; }
  .cloud-partners .cp-with { width: 100%; justify-content: center; text-align: center; margin-top: 2px; padding-left: 0; }
}

/* Home nav cards */
.nav-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-3); }
/* 살펴보기: 히어로처럼 화면 높이에 맞춰 꽉 차게 */
#explore { min-height: 100vh; min-height: 100svh; min-height: 100dvh; display: flex; align-items: center; scroll-margin-top: 0; }
#explore .container { width: 100%; }
.nav-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; min-height: 220px; }
.nav-card:hover { box-shadow: 0 20px 50px rgba(12,14,19,0.10); transform: translateY(-5px); border-color: var(--accent); }
.nav-card .nc-ic { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background .25s ease, color .25s ease, transform .25s ease; }
.nav-card:hover .nc-ic { transform: translateY(-4px); }
.nav-card .nc-ic .ico-svg { width: 28px; height: 28px; }
.nav-card:hover .nc-ic { background: linear-gradient(135deg, var(--accent), var(--accent-ink)); color: #fff; }
.nav-card .no { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.14em; }
.nav-card h3 { margin: 12px 0 12px; font-size: 24px; font-weight: 800; }
.nav-card p { margin: 0 0 auto; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.nav-card .go { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--accent); transition: color .2s ease, transform .2s ease; }
.nav-card:hover .go { color: var(--accent-ink); transform: translateX(5px); }
/* 모바일 압축 카드 — 기본 스타일보다 뒤에 있어야 적용됨 */
@media (max-width: 720px) {
  .nav-cards { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
  .nav-card { min-height: 0; min-width: 0; padding: 18px 14px; border-radius: var(--r-md); }
  .nav-card .nc-ic { width: 40px; height: 40px; border-radius: var(--r-sm); margin-bottom: var(--sp-2); }
  .nav-card .nc-ic .ico-svg { width: 22px; height: 22px; }
  .nav-card h3 { font-size: 17px; margin: 6px 0 4px; }
  .nav-card p { display: none; }
  .nav-card .go { margin-top: 6px; font-size: 12.5px; }
  .nav-card .no { font-size: 9.5px; letter-spacing: 0.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Timeline */
/* 다단(columns) 배치: 왼쪽 열 위→아래를 먼저 채우고 오른쪽 열로 이어짐 */
.timeline { display: block; columns: 2; column-gap: 56px; }
.tl-item { position: relative; padding: 0 0 36px 30px; border-left: 2px solid var(--line); break-inside: avoid; }
.tl-item:last-child { border-left-color: transparent; }
.tl-item::before { content: ""; position: absolute; left: -11px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); z-index: 1; transition: background .45s ease .5s, box-shadow .45s ease .5s; }
.tl-item::after { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 0; background: linear-gradient(180deg, var(--accent), var(--accent-ink)); transition: height .9s cubic-bezier(.2,.8,.2,1) .25s; }
.tl-item:last-child::after { display: none; }
.js-reveal .tl-item.reveal.in::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(47,111,237,0.14); }
.js-reveal .tl-item.reveal.in::after { height: 100%; }
.tl-item .year { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.02em; }
.tl-item ul { margin: 0; padding-left: 18px; }
.tl-item li { font-size: 14.5px; color: var(--text); line-height: 1.85; }

/* Org chart */
.org { text-align: center; }
.org-top { display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-ink)); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.02em; padding: 22px 76px; border-radius: var(--r-md); margin-bottom: 8px; box-shadow: 0 14px 32px rgba(47,111,237,0.28); }
.org-line { width: 2px; height: 26px; background: var(--line); margin: 0 auto; }
.org-staff { display: flex; justify-content: center; gap: 16px; margin: 8px 0; flex-wrap: wrap; }
.org-staff span { background: #fff; border: 1.5px solid #b9cdf5; color: var(--accent); font-weight: 700; font-size: 14px; padding: 10px 22px; border-radius: var(--r-sm); box-shadow: 0 4px 12px rgba(12,14,19,0.05); }
.org-divs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 14px; }
.org-div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.org-div .head { background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; padding: 16px; font-size: 15px; }
.org-div .team { padding: 14px; font-size: 14px; color: var(--text); border-top: 1px solid var(--line2); font-weight: 500; }
.org-stat { margin-top: 24px; background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.org-stat .t { font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.org-stat .nums { display: flex; gap: 36px; flex-wrap: wrap; }
.org-stat .n { display: flex; align-items: baseline; gap: 3px; }
.org-stat .n b { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; }
.org-stat .n b.hi { color: #fff; }
.org-stat .n span { font-size: 12px; color: rgba(255,255,255,0.78); }

/* Certifications */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 22px; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.cert:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(12,14,19,0.07); }
.cert .badge { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 16px; }
.cert .name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.cert .meta { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--sp-3); }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 18px; display: flex; align-items: center; justify-content: center; min-height: 96px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner:hover { border-color: #dfe3ea; box-shadow: 0 10px 26px rgba(12,14,19,0.07); transform: translateY(-3px); }
.partner img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; }
.partner .p-text { align-items: center; justify-content: center; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #4a5163; line-height: 1.35; }

/* Download button */
.btn { display: inline-flex; align-items: center; gap: 9px; background: var(--accent); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: var(--r-sm); transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.btn:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(47,111,237,0.28); }
.btn .ico { font-size: 17px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 40px; }
.btn-note { font-size: 13px; color: var(--muted); }

/* Performance */
.perf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; margin-bottom: 36px; }
.perf-stat { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 26px 26px; }
.perf-stat b { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.03em; } .perf-stat b small { font-size: 14px; font-weight: 700; margin-left: 3px; color: rgba(255,255,255,0.6); }
.perf-stat span { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; }
.perf-table { width: 100%; border-collapse: collapse; }
.perf-table thead th { text-align: left; padding: 16px 18px; font-family: var(--font-display); font-size: 14px; color: var(--ink); border-bottom: 2px solid var(--ink); }
.perf-table td { padding: 18px; font-size: 14.5px; color: var(--text); border-bottom: 1px solid var(--line); font-weight: 500; }
.perf-table tbody tr { transition: background .15s ease; }
.perf-table tbody tr:hover { background: var(--bg-soft); }
.perf-table .when { white-space: nowrap; color: var(--muted); }
.perf-table .cli { font-weight: 600; color: var(--ink); }
.perf-table .perf-empty { text-align: center; color: var(--muted); padding: 34px 18px; }
.table-wrap { overflow-x: auto; }
/* 모바일 주요실적: 가로 스크롤 표 대신 간소화 카드 리스트 */
@media (max-width: 720px) {
  .table-wrap { overflow: visible; }
  .perf-table thead { display: none; }
  .perf-table, .perf-table tbody, .perf-table tr, .perf-table td { display: block; width: 100%; }
  .perf-table tr { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px 12px; margin-bottom: 10px; box-shadow: 0 6px 16px rgba(12,14,19,0.04); }
  .perf-table tbody tr:hover { background: #fff; }
  .perf-table td { border-bottom: 0; padding: 0; }
  .perf-table td.cli { font-size: 12px; font-weight: 700; color: var(--accent-ink); margin-bottom: 4px; }
  .perf-table td:nth-child(2) { font-weight: 700; color: var(--ink); font-size: 14px; line-height: 1.5; margin-bottom: 7px; }
  .perf-table td.when { font-size: 12px; }
}
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }


/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; }
.contact-card .t { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 12px; letter-spacing: 0.14em; }
.contact-card .v { font-size: 16px; color: var(--ink); line-height: 1.7; word-break: keep-all; font-weight: 500; }
.contact-card .v small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; font-weight: 400; }

/* ---------- Footer (light) ---------- */
.site-footer { background: var(--bg-soft); color: var(--muted); padding: 68px 0 44px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.footer-brand .logo { font-family: var(--font-display); }
.footer-brand .logo .name { color: var(--ink); font-size: 20px; }
.footer-brand .slogan { margin-top: 12px; font-size: 13.5px; color: var(--accent); font-weight: 600; }
.footer-info { font-size: 13.5px; line-height: 2; color: var(--text); }
.footer-info .sep { color: var(--line); margin: 0 8px; }
.footer-info a:hover { color: var(--accent); text-decoration: underline; }
/* 모바일: 연락처 항목을 한 줄에 하나씩 */
@media (max-width: 720px) {
  .footer-info .fi { display: block; }
  .footer-info .fi + .sep { display: none; }
}
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom .fnav { display: flex; gap: 18px; }
.footer-bottom .fnav a { font-weight: 500; }
.footer-bottom .fnav a:hover { color: var(--accent); }

/* ===== Rich section components (brochure-informed, non-boxy) ===== */

/* Two-panel comparison (DX/AX, Hadoop) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-panel { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.duo-panel .dhead { padding: 24px 26px; color: #fff; }
.duo-panel .dhead .kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.82; }
/* STEP 칩 + 부제 헤더 — 두 패널 헤더 높이 동일 고정 */
.duo:not(.duospec) .duo-panel .dhead { display: flex; flex-direction: column; justify-content: space-between; gap: 7px; min-height: 86px; box-sizing: border-box; }
.duo-panel .kick-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.duo-panel .step-chip { background: #fff; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; padding: 3px 13px; border-radius: var(--r-pill); }
.duo-panel.blue .step-chip { color: var(--accent-ink); }
.duo-panel .kick-sub { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.duo-panel .dhead h3 { color: #fff; font-size: 22px; margin: 6px 0 0; }
.duo-panel.ink .dhead { background: var(--ink); }
.duo-panel.blue .dhead { background: linear-gradient(135deg, var(--accent), var(--accent-ink)); }
.duo-panel .dbody { padding: 10px 26px 4px; flex: 1; display: flex; flex-direction: column; }
.duo-panel .srv { padding: 15px 0; border-bottom: 1px solid var(--line2); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.duo-panel .srv.iconed { flex-direction: row; align-items: center; justify-content: flex-start; gap: 13px; }
.duo-panel .srv .s-ic { width: 36px; height: 36px; border-radius: var(--r-sm); background: #eef1f6; color: #64748b; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.duo-panel .srv .s-ic .ico-svg { width: 19px; height: 19px; }
.duo-panel .srv:last-child { border-bottom: 0; }
.duo-panel .srv b { display: block; font-family: var(--font-display); font-size: 15.5px; color: var(--ink); margin-bottom: 3px; }
.duo-panel .srv span { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.duo-vals { margin-top: auto; display: flex; gap: 8px; padding: 20px 28px 24px; }
.duo-vals .v { flex: 1; }
.duo-vals .v b { font-family: var(--font-display); font-size: 22px; color: var(--accent); letter-spacing: -0.02em; }
.duo-vals .v b small { font-size: 12px; }
.duo-vals .v span { font-size: 11.5px; color: var(--muted); display: block; margin-top: 2px; }
/* Before/After 대비 강화 (duospec 전용): Before는 회색 톤, After는 파란 강조 + 전환 화살표 */
.duo.duospec { position: relative; }
.duospec .duo-panel.ink { background: #f6f7f9; border-color: #e2e6ec; }
.duospec .duo-panel.blue { border: 1.5px solid var(--accent); background: #f8faff; box-shadow: 0 14px 34px rgba(47,111,237,0.13); }
.duospec .dhead .kicker { display: inline-block; background: rgba(255,255,255,0.16); border-radius: var(--r-pill); padding: 3px 12px; opacity: 1; letter-spacing: 0.12em; }
.duospec::after { content: "→"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 17px; line-height: 34px; text-align: center; z-index: 2; box-shadow: 0 6px 16px rgba(12,14,19,0.14); font-family: var(--font-display); }
/* After(오픈소스 기반 구축) 강조 펄스 */
.duospec .duo-panel.blue { animation: afterPulse 2.6s ease-in-out infinite; }
@keyframes afterPulse { 0%, 100% { box-shadow: 0 14px 34px rgba(47,111,237,0.13), 0 0 0 0 rgba(47,111,237,0.28); } 55% { box-shadow: 0 14px 34px rgba(47,111,237,0.16), 0 0 0 11px rgba(47,111,237,0); } }
/* STEP 1 → STEP 2 진행감: 패널 사이 화살표 배지가 앞으로 나아가는 애니메이션 (글로우 없음) */
.duo:not(.duospec) { position: relative; }
.duo:not(.duospec)::after { content: "→"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 17px; line-height: 34px; text-align: center; z-index: 2; box-shadow: 0 6px 16px rgba(12,14,19,0.14); font-family: var(--font-display); animation: nudgeX 1.8s ease-in-out infinite; }
@keyframes nudgeX { 0%, 100% { transform: translate(calc(-50% - 2px), -50%); } 50% { transform: translate(calc(-50% + 2px), -50%); } }
/* 플로우 다이어그램: 여정의 종착지(마지막 스텝) 펄스 */
.flow .fstep:last-child { animation: stepPulse 2.6s ease-in-out infinite; }
@keyframes stepPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,111,237,0.32); } 55% { box-shadow: 0 0 0 9px rgba(47,111,237,0); } }
/* 연혁 타임라인: 최신 항목(첫 번째)의 점 링 펄스 */
.timeline .tl-item:first-child::before { animation: dotPulse 2.6s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,111,237,0.35); } 60% { box-shadow: 0 0 0 9px rgba(47,111,237,0); } }
/* 솔루션 핵심 구성 카드(stack 상단 레이어) 테두리 강조 */
.stack .layer.top { animation: layerGlow 3s ease-in-out infinite; }
@keyframes layerGlow { 0%, 100% { border-color: var(--line); box-shadow: none; } 50% { border-color: rgba(47,111,237,0.55); box-shadow: 0 8px 26px rgba(47,111,237,0.13); } }

/* Arrow process flow */
.flow { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.flow .fstep { flex: 1 1 0; min-width: 130px; padding: 16px 14px; text-align: center; border-radius: var(--r-sm); font-family: var(--font-display); font-weight: 700; font-size: 14.5px; position: relative; background: var(--accent-soft); color: var(--accent-ink); border: 1px solid rgba(34,69,159,0.16); }
.flow .fstep small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11.5px; opacity: 0.85; margin-top: 4px; }
.flow .fstep .fs-ic { display: flex; width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; background: rgba(255,255,255,0.55); color: currentColor; align-items: center; justify-content: center; }
.flow .fstep .fs-ic .ico-svg { width: 18px; height: 18px; }
.flow .fstep::after { content: "›"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); font-size: 20px; color: #c3ccdb; font-weight: 700; }
.flow .fstep:last-child::after { display: none; }
@media (max-width: 720px) {
  .flow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .flow .fstep { min-width: 0; }
  .flow .fstep::after { display: none; }
  .flow .fstep:nth-child(odd):last-child { grid-column: 1 / -1; } /* 홀수 개수일 때 마지막 박스는 전체폭 */
}
.flow.grad .fstep:nth-child(1) { background: #eaf1fe; color: #2b52c4; }
.flow.grad .fstep:nth-child(2) { background: #d4e0fc; color: #22459f; }
.flow.grad .fstep:nth-child(3) { background: #a9c3f7; color: #143a86; }
.flow.grad .fstep:nth-child(4) { background: #4d80e6; color: #fff; }
.flow.grad .fstep:nth-child(5) { background: #1e4fc0; color: #fff; }

/* Numbered ghost-number features */
.numbered { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--sp-3); }
.num-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; box-shadow: 0 8px 22px rgba(12,14,19,0.05); }
.num-item .gh { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; color: #cdddfb; }
.num-item h4 { margin: 6px 0 8px; font-size: 17px; }
.num-item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Core-value circles */
.circles { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.circle { flex: 1 1 200px; text-align: center; max-width: 300px; }
.circle .disc { width: 116px; height: 116px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 34px; color: #fff; box-shadow: 0 12px 28px rgba(47,111,237,0.18); }
.circle:nth-child(1) .disc { background: linear-gradient(135deg, var(--accent), var(--accent-ink)); }
.circle:nth-child(2) .disc { background: var(--ink); }
.circle:nth-child(3) .disc { background: linear-gradient(135deg, var(--accent2), var(--accent)); }
.circle b { font-family: var(--font-display); font-size: 17px; display: block; color: var(--ink); }
.circle .en { font-size: 11.5px; color: var(--muted); letter-spacing: 0.12em; }
.circle p { font-size: 13px; color: var(--muted); margin: 10px 0 0; line-height: 1.6; }

/* Central hub diagram */
.hub { display: grid; grid-template-columns: 1fr minmax(180px, 230px) 1fr; align-items: center; gap: 0 34px; margin-top: 10px; }
.hub-col { display: flex; flex-direction: column; gap: 18px; }
.hnode { display: flex; align-items: center; gap: var(--sp-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; box-shadow: 0 8px 22px rgba(12,14,19,0.05); position: relative; }
.hnode .hic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.hnode .htxt { display: flex; flex-direction: column; line-height: 1.3; }
.hnode b { font-family: var(--font-display); font-size: 14px; color: var(--ink); }
.hnode em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.hub-col:first-child .hnode::after { content: ""; position: absolute; top: 50%; right: -34px; width: 34px; height: 2px; background: linear-gradient(90deg, var(--line), var(--accent-soft)); }
.hub-col:last-child .hnode::before { content: ""; position: absolute; top: 50%; left: -34px; width: 34px; height: 2px; background: linear-gradient(90deg, var(--accent-soft), var(--line)); }
.hub-center { display: flex; align-items: center; justify-content: center; }
.hc-inner { width: 196px; height: 196px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, var(--accent), var(--accent-ink)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 22px 52px rgba(47,111,237,0.34); }
.hc-inner b { font-family: var(--font-display); font-size: 22px; line-height: 1.22; }
.hc-inner span { font-size: 12.5px; opacity: 0.85; margin-top: 8px; letter-spacing: 0.05em; }

/* 원형 다이어그램·허브: 모바일에서 가로 배치 (세로 길이 단축) */
@media (max-width: 720px) {
  .circles { gap: 10px; flex-wrap: nowrap; }
  .circle { flex: 1 1 0; min-width: 0; max-width: none; }
  .circle .disc { width: 60px; height: 60px; font-size: 23px; margin-bottom: 10px; }
  .circle b { font-size: 12.5px; }
  .circle .en { font-size: 9px; letter-spacing: 0.06em; }
  .circle p { font-size: 10.5px; margin-top: 6px; line-height: 1.5; }
  .hub { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hub-col { display: contents; }
  .hub-center { grid-column: 1 / -1; order: -1; margin-bottom: 6px; }
  .hc-inner { width: 148px; height: 148px; }
  .hc-inner b { font-size: 18px; }
  .hnode::before, .hnode::after { display: none !important; }
}

/* Smart-screening system diagram */
.ssd { max-width: 860px; margin: 40px auto 0; }
.ssd-link { width: 2px; height: 48px; background: #c9d6f2; margin: 0 auto; position: relative; z-index: 0; }
.ssd-link::after { content: ""; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(47,111,237,0.55); animation: linkFlow 2.2s ease-in-out infinite; }
@keyframes linkFlow { 0% { top: -4px; opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { top: calc(100% - 2px); opacity: 0; } }
/* 반대 방향(아래→위) 점 — 데이터 양방향 흐름 표현 */
.ssd-link::before { content: ""; position: absolute; left: 50%; bottom: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #7fa4f0; opacity: 0; box-shadow: 0 0 8px rgba(47,111,237,0.45); animation: linkFlowUp 2.2s ease-in-out infinite; animation-delay: 1.1s; }
@keyframes linkFlowUp { 0% { bottom: -4px; opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { bottom: calc(100% - 2px); opacity: 0; } }
/* system container (스마트 심사 / 온라인 심사) */
.ssd-sys { border: 1.5px solid #d5e1fb; background: #f4f8ff; border-radius: var(--r-lg); padding: 40px 22px 24px; position: relative; }
.ssd-sys-label { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 15px; padding: 8px 24px; border-radius: var(--r-pill); white-space: nowrap; box-shadow: 0 8px 20px rgba(12,14,19,0.18); z-index: 2; }
/* 스마트 심사 시스템 배지는 박스 하단에 — 시스템 ↔ 통합DB ↔ 시스템 흐름이 명확하게 */
.ssd > .ssd-sys:first-child { padding: 26px 22px 38px; }
.ssd > .ssd-sys:first-child .ssd-sys-label { top: auto; bottom: -17px; }
.ssd > .ssd-sys:first-child + .ssd-link { margin-top: 23px; }
.ssd-db + .ssd-link { margin-bottom: 21px; }
/* ACS / AAS engines */
.ssd-engines { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 0; }
.ssd-eng { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; box-shadow: 0 8px 22px rgba(12,14,19,0.05); }
.ssd-eng-head { text-align: center; min-height: 62px; margin-bottom: 12px; }
.ssd-eng-head .tag { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 11.5px; color: #fff; background: var(--accent); padding: 2px 13px; border-radius: var(--r-lg); letter-spacing: 0.03em; }
.ssd-eng-head .tag.alt { background: var(--accent-ink); }
.ssd-eng-head .nm { display: block; font-family: var(--font-display); font-weight: 800; font-size: 13.5px; color: var(--ink); margin-top: 7px; }
.ssd-eng-head .ko { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.ssd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ssd-list li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--text); text-align: center; }
.ssd-list li.link { background: var(--accent-soft); border: 1.5px solid var(--accent); color: var(--accent-ink); font-weight: 700; }
/* REST API bridge — links only the two 'link' rows */
.ssd-bridge { align-self: start; padding: 68px 24px 0; display: flex; justify-content: center; }
.ssd-bridge .rest { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 1px; font-family: var(--font-display); font-weight: 800; font-size: 11px; color: var(--accent); background: #fff; border: 1.5px dashed var(--accent); border-radius: var(--r-sm); padding: 7px 11px; white-space: nowrap; }
.ssd-bridge .rest i { font-style: normal; font-size: 17px; line-height: 1; }
.ssd-bridge .rest { animation: restPulse 2.4s ease-in-out infinite; }
@keyframes restPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,111,237,0.28); } 55% { box-shadow: 0 0 0 8px rgba(47,111,237,0); } }
@media (prefers-reduced-motion: reduce) { .ssd-link::after, .ssd-link::before { display: none; } .ssd-bridge .rest, .ssd-db, .duo-panel.blue, .stack .layer.top, .ssd-bridge .rest::before, .ssd-bridge .rest::after, .duo:not(.duospec)::after, .flow .fstep:last-child, .timeline .tl-item:first-child::before, .js-reveal .flow-chk .fstep.in, .js-reveal .flow-chk .fstep.in .fs-chk { animation: none; } .js-reveal .flow-chk .fstep .fs-chk { opacity: 1; transform: none; } .finchart .fc-bar { transition: none; } .tl-item::before, .tl-item::after { transition: none; } }
/* REST API 연결선: 통합 DB 연결선처럼 데이터가 흐르는 애니메이션 (양방향) */
.ssd-bridge .rest::before, .ssd-bridge .rest::after { content: ""; position: absolute; top: 50%; margin-top: -1px; width: 24px; height: 2.5px; background: repeating-linear-gradient(90deg, var(--accent) 0 4px, rgba(47,111,237,0.18) 4px 9px); background-size: 9px 2.5px; animation: dashL 0.9s linear infinite; }
.ssd-bridge .rest::before { right: 100%; }
.ssd-bridge .rest::after { left: 100%; animation-name: dashR; }
@keyframes dashL { to { background-position: -9px 0; } }
@keyframes dashR { to { background-position: 9px 0; } }
/* shared integrated DB — compact hub between the two systems */
.ssd-db { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1.5px solid #b9cdf5; border-radius: var(--r-pill); padding: 8px 22px 8px 10px; width: max-content; max-width: 92%; margin: 0 auto; box-shadow: 0 10px 26px rgba(12,14,19,0.06); animation: dbPulse 2.4s ease-in-out infinite; }
@keyframes dbPulse { 0%, 100% { box-shadow: 0 10px 26px rgba(12,14,19,0.06), 0 0 0 0 rgba(47,111,237,0.22); } 55% { box-shadow: 0 10px 26px rgba(12,14,19,0.06), 0 0 0 9px rgba(47,111,237,0); } }
.ssd-db-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ssd-db-ic .ico-svg { width: 20px; height: 20px; }
.ssd-db-tx { text-align: left; }
.ssd-db-tx b { font-family: var(--font-display); font-size: 15px; color: var(--ink); display: block; line-height: 1.25; }
.ssd-db-tx em { font-style: normal; font-size: 11.5px; color: var(--muted); }
/* online-screening components (inside container) */
.ssd-comps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.ssd-comp { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 14px; text-align: center; box-shadow: 0 8px 22px rgba(12,14,19,0.05); }
.ssd-comp .ic { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.ssd-comp .ic .ico-svg { width: 24px; height: 24px; }
.ssd-comp b { font-family: var(--font-display); font-size: 13.5px; color: var(--ink); line-height: 1.35; display: flex; align-items: center; justify-content: center; min-height: 37px; }
.ssd-comp .ssd-sub { list-style: none; margin: 11px 0 0; padding: 10px 6px 0; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 6px; text-align: left; }
.ssd-comp .ssd-sub li { font-size: 12.5px; color: var(--muted); line-height: 1.45; position: relative; padding-left: 13px; }
.ssd-comp .ssd-sub li::before { content: ""; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@media (max-width: 720px) {
  /* ACS·AAS 2열 유지 — REST API 연동 대상이 좌우로 명확히 보이도록 */
  .ssd-engines { grid-template-columns: 1fr auto 1fr; }
  .ssd-eng { padding: 10px 7px; }
  .ssd-eng-head { min-height: 84px; margin-bottom: 8px; }
  .ssd-eng-head .nm { font-size: 12px; }
  .ssd-eng-head .ko { font-size: 10px; }
  .ssd-list { gap: 6px; }
  .ssd-list li { padding: 9px 4px; font-size: 11.5px; }
  .ssd-bridge { padding: 101px 12px 0; }
  .ssd-bridge .rest { font-size: 9.5px; padding: 6px 7px; gap: 0; }
  .ssd-bridge .rest i { font-size: 14px; }
  .ssd-bridge .rest::before, .ssd-bridge .rest::after { width: 12px; }
  .ssd-link { height: 38px; }
  .ssd-db { gap: 8px; padding: 7px 16px 7px 8px; }
  .ssd-db-ic { width: 32px; height: 32px; }
  .ssd-db-tx b { font-size: 13.5px; }
  .ssd-db-tx em { font-size: 10.5px; }
  .ssd-comps { gap: 8px; }
  .ssd-comp { padding: 14px 6px; }
  .ssd-comp .ic { font-size: 24px; }
  .ssd-comp b { font-size: 11px; min-height: 30px; }
  .ssd-comp .ssd-sub { margin-top: 8px; padding-top: 8px; gap: 4px; }
  .ssd-comp .ssd-sub li { font-size: 10px; }
  .ssd-sys-label { font-size: 13px; padding: 7px 16px; }
  .ssd-sys { padding: 36px 14px 18px; }
  /* 모바일: 스마트 심사 시스템 배지를 박스 하단(통합 DB 쪽)에 배치 */
  .ssd > .ssd-sys:first-child { padding: 20px 14px 32px; }
  .ssd > .ssd-sys:first-child .ssd-sys-label { top: auto; bottom: -16px; }
  /* 배지가 박스 밖으로 나온 만큼 연결선을 띄워 텍스트를 가리지 않게 */
  .ssd > .ssd-sys:first-child + .ssd-link { margin-top: 21px; }
  .ssd-db + .ssd-link { margin-bottom: 20px; }
}

/* Mission / Vision rows */
.mvrows { margin-bottom: 40px; }
.mvrow { display: flex; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.mvrow:first-child { border-top: 1px solid var(--line); }
.mvrow .lbl { flex: 0 0 160px; font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 16px; }
.mvrow p { margin: 0; font-size: 16.5px; color: var(--ink); line-height: 1.7; }

/* Layered stack (Data & AI) */
.stack { display: grid; gap: 16px; }
.layer { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; background: #fff; }
.layer.top { background: linear-gradient(135deg, #eef3fe, #f7f9ff); border-color: #dbe5fb; }
.layer .lsub { font-size: 12.5px; color: var(--accent); font-weight: 700; letter-spacing: 0.06em; }
.layer .ltitle { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); margin: 2px 0 12px; }
.layer ul { margin: 0; padding-left: 18px; } .layer li { font-size: 14.5px; color: var(--text); line-height: 1.8; }
.stack-arrow { text-align: center; color: var(--accent); font-size: 22px; }
.layer .lhead { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: 14px; }
.layer .lhead .licon { width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #dbe5fb; color: var(--accent); }
.layer .lhead .licon .ico-svg { width: 28px; height: 28px; }
.layer.top .lhead .licon { color: #fff; }
.layer.top .lhead .licon { background: linear-gradient(135deg, var(--accent), var(--accent-ink)); border: 0; }
.layer .lhead .ltitle { margin: 2px 0 0; }
/* icon feature grid */
.featgrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-top: var(--sp-3); }
@media (max-width: 640px) { .featgrid { grid-template-columns: 1fr; } }
.feat { display: flex; align-items: center; gap: var(--sp-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; }
.feat .fic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.feat .fic .ico-svg { width: 24px; height: 24px; }
/* 자체 제작 라인 아이콘 */
.ico-svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.feat .ftx b { font-family: var(--font-display); font-size: 14.5px; color: var(--ink); display: block; }
.feat .ftx span { font-size: 12.5px; color: var(--muted); line-height: var(--lh-small); }

/* card highlight points */
.card-points { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.card-points li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text); line-height: 1.55; }
.card-points li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, var(--accent), var(--accent-ink)); }

/* rough finance bar chart */
.finchart { margin-top: 34px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 24px 26px; }
.finchart .fc-title { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 22px; }
.finchart .fc-title span { font-weight: 500; font-size: 12px; color: var(--muted); }
.finchart .fc-plot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: end; border-bottom: 2px solid var(--line); padding-bottom: 0; }
.finchart .fc-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.finchart .fc-val { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--accent-ink); margin-bottom: 9px; }
.finchart .fc-bar { width: 100%; max-width: 88px; border-radius: 7px 7px 0 0; background: linear-gradient(180deg, #6a9bf3, var(--accent-ink)); transition: height 1.1s cubic-bezier(.2,.8,.2,1) .15s; }
.js-reveal .finchart.reveal:not(.in) .fc-bar { height: 0 !important; }
.finchart .fc-axis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px; }
.finchart .fc-axis span { text-align: center; font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* Process phases */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
@media (max-width: 760px) { .phases { grid-template-columns: 1fr 1fr; } }
.phase { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: 0 8px 22px rgba(12,14,19,0.05); }
.phase .ph { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px; text-align: center; padding: 12px; }
.phase:nth-child(1) .ph { background: #6aa2f5; }
.phase:nth-child(2) .ph { background: var(--accent); }
.phase:nth-child(3) .ph { background: var(--accent-ink); }
.phase:nth-child(4) .ph { background: var(--ink); }
.phase ul { list-style: none; margin: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.phase li { font-size: 13px; color: var(--text); padding-left: 15px; position: relative; }
.phase li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Location / map */
.map-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; } }
.map-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 12px 30px rgba(12,14,19,0.06); aspect-ratio: 16 / 10; background: var(--bg-soft); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-info .info-table { width: 100%; }
.map-info .btn { margin-top: 18px; }

/* IT outsourcing foundation */
.found .top4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.found .p4 { text-align: center; padding: 22px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.found .p4 .ic { width: 50px; height: 50px; margin: 0 auto 6px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.found .p4 .ic .ico-svg { width: 26px; height: 26px; }
.found .p4 b { display: block; font-family: var(--font-display); font-size: 15px; margin-top: 10px; color: var(--ink); }
.found .p4 span { font-size: 12.5px; color: var(--muted); }
.found .base { background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 24px 28px; }
.found .base .bt { font-family: var(--font-display); font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.found .base .cols { display: flex; gap: 14px; flex-wrap: wrap; }
.found .base .cols > span { flex: 1 1 160px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-sm); padding: 14px 18px; font-size: 14px; display: flex; align-items: center; gap: 13px; }
.found .base .cols .col-tx { display: block; min-width: 0; }
.found .base .cols span b { font-family: var(--font-display); display: block; margin-bottom: 3px; }

@media (max-width: 760px) {
  .found .top4 { grid-template-columns: 1fr 1fr; }
  /* 좌우 비교 블록(duo·duospec)은 모바일에서도 2열 대비 유지 — 압축 스타일
     가운데 열 간격은 화살표 배지(30px)가 텍스트를 가리지 않게 넓힘 */
  .duo { grid-template-columns: 1fr 1fr; gap: 10px 36px; }
  .duo::after { width: 30px; height: 30px; font-size: 14px; border-width: 1.5px; line-height: 27px; }
  .duo .dhead { padding: 13px 12px; }
  .duo:not(.duospec) .duo-panel .dhead { min-height: 104px; gap: 5px; }
  .duo-panel .step-chip { font-size: 10.5px; padding: 2px 10px; }
  .duo-panel .kick-sub { font-size: 9.5px; letter-spacing: 0.08em; }
  .duo .dhead h3 { font-size: 14.5px; }
  .duo .dhead .kicker { font-size: 10px; letter-spacing: 0.06em; }
  .duospec .dhead .kicker { padding: 2px 9px; }
  .duo .dbody { padding: 4px 12px 4px; }
  .duo .srv { padding: 10px 0; }
  .duo .srv.iconed { gap: 8px; }
  .duo .srv .s-ic { width: 26px; height: 26px; }
  .duo .srv .s-ic .ico-svg { width: 14px; height: 14px; }
  .duo .srv b { font-size: 12.5px; margin-bottom: 2px; }
  .duo .srv span { font-size: 11px; line-height: 1.5; }
  .duospec .spec th { display: block; width: auto; padding: 8px 2px 0; border-bottom: 0; font-size: 10.5px; }
  .duospec .spec td { display: block; padding: 1px 2px 8px; font-size: 11.5px; }
}

/* Brochure diagram image */
.diagram { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(12,14,19,0.05); }
.diagram img { width: 100%; height: auto; display: block; }

/* Certificate document cards */
.cert-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--sp-3); }
.cert-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.cert-doc:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(12,14,19,0.10); }
.cert-doc .thumb { width: 100%; background: #fff; padding: 0; display: block; border-bottom: 1px solid var(--line); overflow: hidden; opacity: 1; }
.cert-doc .thumb img { display: block; width: 100%; height: auto; }
.cert-doc .cap { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.cert-doc .cap .name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.35; }
.cert-doc .cap .meta { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
@media (max-width: 720px) {
  .cert-docs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 10px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
  .cert-docs .cert-doc { flex: 0 0 66%; max-width: 250px; scroll-snap-align: center; }
}

/* Partner logo groups */
.pcat-group { margin-bottom: 40px; }
.pcat-group:last-child { margin-bottom: 0; }
.pcat-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pcat-head h4 { font-family: var(--font-display); font-size: 18px; color: var(--ink); margin: 0; }
.pcat-head span { font-size: 13px; color: var(--muted); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--sp-3); }
.lg { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); height: 96px; display: flex; align-items: center; justify-content: center; padding: 18px 22px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.lg:hover { border-color: #dfe3ea; box-shadow: 0 10px 26px rgba(12,14,19,0.07); transform: translateY(-3px); }
.lg img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; }
.lg .lg-text { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #6b7385; letter-spacing: 0.02em; }

/* ===== Floating buttons: 맨 위로 + 연락처 ===== */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 200; display: flex; align-items: flex-end; gap: 14px; transition: opacity .2s ease; }
.fab-btn { width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: var(--accent); color: #fff; font-size: 23px; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(47,111,237,0.42); transition: transform .18s ease, background .18s ease; position: relative; }
.fab-btn:hover { background: var(--accent-ink); transform: translateY(-2px) scale(1.04); }
.fab-btn .ico-svg { width: 25px; height: 25px; }
.contact-pop .cp-ic .ico-svg { width: 19px; height: 19px; }

/* 연락처 팝오버 */
.fab-unit { position: relative; }
.contact-pop { position: absolute; right: 0; bottom: 70px; width: 244px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(12,14,19,0.22); padding: 8px; transform-origin: bottom right; opacity: 0; transform: scale(.7) translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s cubic-bezier(.2,.8,.2,1); }
.fab-unit.open .contact-pop { opacity: 1; transform: none; pointer-events: auto; }
.contact-pop .cp-title { font-family: var(--font-display); font-weight: 800; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; padding: 8px 10px 6px; }
.contact-pop .cp-row { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-sm); text-decoration: none; transition: background .15s ease; }
.contact-pop .cp-row:hover { background: var(--accent-soft); }
.contact-pop .cp-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.contact-pop .cp-txt { display: flex; flex-direction: column; line-height: 1.3; }
.contact-pop .cp-txt b { font-size: 10.5px; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
.contact-pop .cp-txt em { font-style: normal; font-size: 14.5px; color: var(--ink); font-weight: 600; }

/* 맨 위로 + 진행률 링 */
.totop-btn .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop-btn .ring-bg { fill: none; stroke: rgba(255,255,255,0.28); stroke-width: 3; }
.totop-btn .ring-fg { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset .12s linear; }
.totop-btn .totop-pct { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: -0.03em; }
.totop-btn .totop-pct::after { content: "↑"; font-size: 0; }
.totop-btn:hover .totop-pct { font-size: 0; }
.totop-btn:hover .totop-pct::after { font-size: 23px; }
@media (max-width: 520px) { .fab { right: 16px; bottom: 16px; gap: 12px; } .fab-btn { width: 52px; height: 52px; font-size: 21px; } }

/* ===== 로고 마퀴: 데스크톱 그리드 · 모바일 좌우 자동 슬라이딩 ===== */
.marquee .marquee-track[aria-hidden="true"] { display: none; }
@media (max-width: 720px) {
  .marquee { display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; width: 100%;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee .marquee-track { display: flex; flex-wrap: nowrap; width: max-content; gap: 12px; padding-right: 12px; animation: marqueeX var(--mq-loop, 48s) linear infinite; }
  .marquee.js-flow .marquee-track { animation: none; } /* JS가 scrollLeft로 흐름 구동 (터치 슬라이드 겸용) */
  .marquee .marquee-track[aria-hidden="true"] { display: flex; }
  .marquee:hover .marquee-track, .marquee:active .marquee-track { animation-play-state: paused; }
  .marquee .partner, .marquee .lg { flex: 0 0 auto; width: 138px; min-height: 82px; height: 82px; padding: 14px 16px; }
  .marquee .partner img, .marquee .lg img { max-height: 38px; }
  .marquee .marquee-track.taglist { gap: 8px; padding-right: 8px; }
  .marquee .tag { flex: 0 0 auto; white-space: nowrap; }
  /* 내용이 넘치지 않으면: 복제 숨김·애니메이션 정지·페이드 마스크 제거 */
  .marquee.static { -webkit-mask-image: none; mask-image: none; }
  .marquee.static .marquee-track { animation: none; padding-right: 0; }
  .marquee.static .marquee-track[aria-hidden="true"] { display: none; }
}
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee .marquee-track { animation: none; } }

/* CEO message */
.ceo { max-width: 840px; }
.ceo-lead { font-family: var(--font-display); font-weight: 800; font-size: clamp(21px, 2.8vw, 30px); color: var(--ink); line-height: 1.5; letter-spacing: -0.02em; margin: 0 0 30px; }
.ceo-body, .ceo p { }
.ceo > p { font-size: 16px; line-height: 1.9; color: var(--text); margin: 0 0 18px; }
.ceo-sign { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 36px; }
.ceo-signimg { height: 60px; width: auto; }
.ceo-name { text-align: right; }
.ceo-name b { font-family: var(--font-display); font-size: 19px; color: var(--ink); display: block; letter-spacing: -0.01em; }
.ceo-name span { font-size: 13.5px; color: var(--muted); }

/* Steps (process) */
.steps { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.step { flex: 1 1 150px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 20px; }
.step .n { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 14px; }
.step h5 { margin: 10px 0 6px; font-size: 15.5px; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.step p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.65; }

/* Tag chips */
.taglist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag { background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: var(--r-pill); }

/* Spec (definition) rows — reuse info-table look */
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 13px 4px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 150px; color: var(--accent); font-weight: 700; font-family: var(--font-display); white-space: nowrap; }
.spec td { color: var(--ink); font-weight: 500; }

/* Feature list with check marks */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.checks li { position: relative; padding: 14px 16px 14px 42px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 14.5px; color: var(--ink); line-height: 1.6; }
.checks li::before { content: "✓"; position: absolute; left: 15px; top: 14px; color: var(--accent); font-weight: 800; }

/* ---------- Scroll reveal (progressive: visible unless JS opts in) ---------- */
.js-reveal .reveal { transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.16,.8,.24,1), filter .6s ease; }
/* 숨김 상태는 전부 :not(.in)에만 적용 — 등장 후에는 어떤 변형도 남지 않음 */
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(20px); filter: blur(3px); }
.js-reveal .duo .duo-panel.reveal:not(.in):nth-child(1) { transform: translateX(-28px) translateY(6px); }
.js-reveal .duo .duo-panel.reveal:not(.in):nth-child(2) { transform: translateX(28px) translateY(6px); }
.js-reveal .ssd-engines .ssd-eng.reveal:not(.in):nth-child(1) { transform: translateX(-24px); }
.js-reveal .ssd-engines .ssd-eng.reveal:not(.in):nth-child(3) { transform: translateX(24px); }
.js-reveal :is(.num-item, .feat, .cert-doc, .about-card, .phase, .found .p4, .ssd-comp, .nav-card, .perf-stat).reveal:not(.in) { transform: translateY(15px) scale(0.96); }
.js-reveal .fstep.reveal:not(.in) { transform: translateY(11px) scale(0.95); }
.js-reveal :is(.sec-desc, .block-desc, .pcat-head).reveal:not(.in) { transform: translateY(13px); filter: blur(2px); }
.js-reveal :is(.map-wrap, .finchart, .cloud-partners, .ssd-db).reveal:not(.in) { transform: translateY(17px) scale(0.985); }
.js-reveal .reveal.in { opacity: 1; transform: none; filter: none; }
/* 조직도 연결선: 위→아래로 그리기 */
.org-line { transform-origin: top; transition: transform .45s cubic-bezier(.2,.8,.2,1) .15s; }
.org-staff ~ .org-line { transition-delay: .55s; }
.js-reveal .org.reveal:not(.in) .org-line { transform: scaleY(0); }
/* 로고 그리드 물결 등장 (PC 전용 — 모바일 마퀴는 그대로) */
@media (min-width: 901px) {
  .js-reveal .marquee.reveal.in :is(.partner, .lg) { animation: cellIn .5s ease backwards; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg):nth-child(2) { animation-delay: .05s; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg):nth-child(3) { animation-delay: .1s; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg):nth-child(4) { animation-delay: .15s; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg):nth-child(5) { animation-delay: .2s; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg):nth-child(6) { animation-delay: .25s; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg):nth-child(7) { animation-delay: .3s; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg):nth-child(8) { animation-delay: .35s; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg):nth-child(9) { animation-delay: .4s; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg):nth-child(10) { animation-delay: .45s; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg):nth-child(11) { animation-delay: .5s; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg):nth-child(n+12) { animation-delay: .55s; }
}
@keyframes cellIn { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
/* KPI 카운트업 완료 팝 */
.count-pop { animation: countPop .45s cubic-bezier(.34,1.56,.64,1) both; }
b.count-pop { display: inline-block; }
@keyframes countPop { 40% { transform: scale(1.12); } }
/* 모바일: 좌우 슬라이드 대신 위로 떠오르기 (가로 오버플로·정렬 흔들림 방지) */
@media (max-width: 720px) {
  .js-reveal .duo .duo-panel.reveal:not(.in):nth-child(1),
  .js-reveal .duo .duo-panel.reveal:not(.in):nth-child(2),
  .js-reveal .ssd-engines .ssd-eng.reveal:not(.in):nth-child(1),
  .js-reveal .ssd-engines .ssd-eng.reveal:not(.in):nth-child(3) { transform: translateY(20px); }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal, .js-reveal .reveal:not(.in) { opacity: 1; transform: none !important; filter: none; transition: none; }
  .js-reveal .marquee.reveal.in :is(.partner, .lg), .count-pop { animation: none; }
  .org-line { transition: none; }
  .js-reveal .org.reveal:not(.in) .org-line { transform: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .container { padding: 0 22px; }
  /* backdrop-filter가 fixed 메뉴의 기준을 헤더로 만들어 풀스크린이 깨짐 → 모바일은 불투명 배경으로 대체 */
  .site-header { backdrop-filter: none; background: rgba(255,255,255,0.98); }
  /* 풀스크린 다크 메뉴: 번호 매긴 대분류 + 텍스트 서브링크 */
  .gnb {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; gap: 0;
    background: linear-gradient(180deg, #fff, #eef4fe);
    display: none; padding: 10px 26px calc(16px + env(safe-area-inset-bottom)); height: auto; max-height: none; overflow-y: auto;
    justify-content: space-evenly; /* 한 화면에 스크롤 없이 균등 배치 */
    counter-reset: gnbcat;
  }
  .gnb.open { display: flex; animation: menuIn .28s cubic-bezier(.2,.8,.2,1); }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } }
  html.menu-open, html.menu-open body { overflow: hidden; } /* 메뉴 열림 시 배경 스크롤 잠금 */
  html.menu-open .fab { opacity: 0; pointer-events: none; } /* 메뉴 열림 시 플로팅 버튼 숨김 */
  .gnb > a, .gnb .has-sub > .sub-toggle { padding: 10px 4px; border-radius: 0; color: var(--ink); }
  .gnb .has-sub > .sub-toggle { display: flex; align-items: baseline; gap: 13px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.01em; padding: 10px 4px 6px; }
  .gnb .has-sub > .sub-toggle::before { counter-increment: gnbcat; content: "0" counter(gnbcat); width: auto; height: auto; background: none; border-radius: 0; font-size: 11.5px; font-weight: 700; color: var(--accent); letter-spacing: 0.14em; flex-shrink: 0; }
  .gnb .has-sub > .sub-toggle.active, .gnb > a.active { background: transparent; color: var(--accent); }
  .gnb .has-sub + .has-sub { border-top: 1px solid var(--line2); padding-top: 8px; }
  .has-sub .caret { display: none; }
  /* 서브메뉴: 담백한 텍스트 링크 */
  .sub { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px 24px; background: transparent; border: 0; box-shadow: none; min-width: 0; padding: 0 4px 12px 34px; margin-top: 0; }
  .sub::before { display: none; }
  .sub a { background: transparent; border: 0; border-radius: 0; padding: 5px 0; font-size: 14px; font-weight: 500; color: var(--muted); }
  .sub a:hover, .sub a:active { background: transparent; color: var(--accent); }
  /* Solution 하위 메뉴: 제품명이 길어 한 줄에 하나씩 */
  .grp-solution .sub { flex-direction: column; gap: 2px; }
  .burger { display: block; }
  /* 지도·PDF 버튼 우측 정렬 */
  .map-info { display: flex; flex-direction: column; }
  .map-info .btn { align-self: flex-end; }
  .btn-row { justify-content: flex-end; }
  .section { padding: 72px 0; }
  .hero { padding: calc(var(--header-h) + min(56px, 3.2dvh)) 0 min(64px, 4.4dvh); }
  .hero .stats { gap: min(30px, 3dvh) 30px; }
  .hero p.lead { max-width: none; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-side { flex-direction: row; flex-wrap: wrap; } .about-card { flex: 1 1 150px; }
  .timeline { columns: 1; }
  .org-divs { grid-template-columns: 1fr 1fr; }
  .org-stat { padding: 15px 20px; gap: 10px; }
  .org-stat .n b { font-size: 22px; }
}
@media (max-width: 560px) { .org-divs { grid-template-columns: 1fr 1fr; gap: 10px; } .org-div .head { padding: 13px 12px; font-size: 13.5px; } .org-div .team { padding: 11px 12px; font-size: 12.5px; } .hero .stats { display: grid; grid-template-columns: 1fr 1fr; gap: min(20px, 2.2dvh) 18px; } }
/* 모바일 첫 화면: 제목·본문이 한 화면에 들어오도록 한 단계 더 압축 (우하단 연락 버튼과도 겹치지 않게) */
@media (max-width: 560px) {
  /* 제목은 크게, 본문·지표는 상대적으로 작게 — 좁은 화면에서도 헤드라인 존재감 유지 */
  .hero h1 { font-size: clamp(27px, min(8.6vw, 6.4dvh), 46px); line-height: 1.14; }
  .hero .eyebrow { font-size: 10.5px; letter-spacing: 0.14em; }
  .hero p.lead { font-size: clamp(12.5px, min(3.6vw, 1.9dvh), 15.5px); line-height: 1.55; margin-bottom: min(40px, 3dvh); }
  .hero .eyebrow { margin-bottom: min(22px, 2.2dvh); }
  .stat .num { font-size: clamp(22px, min(6.4vw, 3.6dvh), 32px); }
  .stat .label { font-size: clamp(10.5px, 1.3dvh, 12.5px); }
  .hero .stats { padding-right: 92px; }
  .scroll-cue { display: none; }
}
/* 아주 낮은 화면(브라우저 UI가 크게 차지하는 경우): 상단 라벨 생략 + 여백 최소화 */
@media (max-height: 520px) {
  .hero { padding: calc(var(--header-h) + 10px) 0 16px; }
  .hero .eyebrow { display: none; }
  .hero p.lead { margin-bottom: 12px; }
  .hero .stats { gap: 8px 18px; }
  .scroll-cue { display: none; }
}

/* ================= Dark-navy theme: header + alt sections =================
   롤백 시 이 블록 전체 삭제 (헤더·햄버거·alt 섹션 다크네이비 실험) */
:root { --navy: #101828; --navy-2: #131c30; }

/* 헤더: 다크네이비 반투명 */
.site-header { background: rgba(16,24,40,0.86); }
.site-header.scrolled { background: rgba(16,24,40,0.97); border-bottom-color: rgba(255,255,255,0.10); box-shadow: 0 10px 30px rgba(4,8,16,0.35); }
.logo .kr { color: #e8edf5; }
.gnb > a, .gnb .has-sub > .sub-toggle { color: #b9c4d8; }
.gnb > a:hover, .gnb .has-sub:hover > .sub-toggle { color: #fff; background: rgba(255,255,255,0.08); }
.gnb .has-sub > .sub-toggle.active, .gnb > a.active { color: #8db4f9; background: rgba(141,180,249,0.14); }
.burger span { background: #fff; }

/* alt 섹션: 다크네이비 배경 (흰 카드·표·다이어그램은 대비 유지를 위해 그대로) */
.section.alt { background: var(--navy); }
.section.alt h2 { background: var(--navy); color: #fff; }
.section.alt h3.sub-h { color: #fff; }
.section.alt .sec-desc, .section.alt .block-desc { color: #a7b3c8; }
.section.alt .pcat-head h4 { color: #fff; }
.section.alt .pcat-head span { color: #8592a8; }
.section.alt .pcat-head { border-bottom-color: rgba(255,255,255,0.14); }
/* 대표인사말 */
.section.alt .ceo-lead { color: #fff; }
.section.alt .ceo > p { color: #b6c0d2; }
.section.alt .ceo-name b { color: #fff; }
.section.alt .ceo-name span { color: #8fa0ba; }
.section.alt .ceo-signimg { filter: brightness(0) invert(1); }
/* 오시는길 정보표 */
.section.alt .info-table th { color: #8fa0ba; }
.section.alt .info-table td { color: #eef2f8; }
.section.alt .info-table th, .section.alt .info-table td { border-bottom-color: rgba(255,255,255,0.12); }
/* 조직도·다이어그램 보조선 */
.section.alt .org-line { background: rgba(255,255,255,0.25); }
.section.alt .org-div { border-color: rgba(255,255,255,0.18); }
.section.alt .org-div .head { background: #1d2b4a; } /* 검은 헤더가 네이비 배경에 묻히지 않도록 */
.section.alt .flow .fstep::after { color: rgba(255,255,255,0.4); }
.section.alt .stack-arrow { color: #7fa8f7; }
/* 연혁 타임라인 */
.section.alt .tl-item { border-left-color: rgba(255,255,255,0.18); }
.section.alt .tl-item:last-child { border-left-color: transparent; }
.section.alt .tl-item::before { background: var(--navy); }
.section.alt .tl-item .year { color: #fff; }
.section.alt .tl-item li { color: #cfd8e6; }

/* 모바일: 헤더·풀스크린 메뉴 다크네이비 */
@media (max-width: 900px) {
  .site-header { background: #101828; backdrop-filter: none; }
  .gnb { background: linear-gradient(180deg, var(--navy-2), #0d1424); }
  .gnb > a, .gnb .has-sub > .sub-toggle { color: #fff; }
  .gnb .has-sub > .sub-toggle::before { color: #7fa8f7; }
  .gnb .has-sub > .sub-toggle.active, .gnb > a.active { color: #8db4f9; background: transparent; }
  .gnb .has-sub + .has-sub { border-top-color: rgba(255,255,255,0.09); }
  .sub a { color: #8fa0ba; }
  .sub a:hover, .sub a:active { color: #fff; }
}

/* ---- 다크네이비 v2: 로고 원본 · 밝은 네이비 히어로 · 파란 글씨 → 네이비 ---- */
:root { --navy-text: #22355e; --navy-hero: #253853; }

/* 서브페이지 히어로(카테고리 메인): 밝은 네이비 */
.page-hero { background: var(--navy-hero); border-bottom-color: rgba(255,255,255,0.08); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #b9c4d8; }

/* 파란색 글씨 → 다크네이비 (밝은 배경 위 텍스트만) */
.page-hero .eyebrow { color: #9db9ee; }
.page-hero .eyebrow::before { background: #9db9ee; }
.clients-bar .t { color: var(--navy-text); }
.cloud-partners .cp-kicker, .cloud-partners .cp-plus, .cloud-partners .cp-with { color: var(--navy-text); }
.nav-card .no, .nav-card .go { color: var(--navy-text); }
.nav-card:hover .go { color: var(--ink); }
.org-staff span { color: var(--navy-text); }
.contact-card .t { color: var(--navy-text); }
.duo-vals .v b { color: var(--navy-text); }
.flow .fstep { color: var(--navy-text); }
.mvrow .lbl { color: var(--navy-text); }
.layer .lsub { color: var(--navy-text); }
.finchart .fc-val { color: var(--navy-text); }
.step .n { color: var(--navy-text); }
.tag { color: var(--navy-text); }
.spec th { color: var(--navy-text); }
.checks li::before { color: var(--navy-text); }
.ssd-list li.link { color: var(--navy-text); border-color: var(--navy-text); }
.ssd-bridge .rest { color: var(--navy-text); border-color: var(--navy-text); }
.ssd-bridge .rest::before, .ssd-bridge .rest::after { background: repeating-linear-gradient(90deg, var(--navy-text) 0 4px, rgba(34,53,94,0.18) 4px 9px); background-size: 9px 2.5px; }

/* 이미지 블록 (어드민 블록 에디터용) */
.img-block { margin: 26px auto; text-align: center; }
.img-block img { max-width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(12,14,19,0.06); display: inline-block; }
.img-block figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* PC: BigData 역량 태그 한 줄 고정 (자동 축소) */
@media (min-width: 721px) {
  .marquee-track.taglist { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 6px; }
  .marquee-track.taglist .tag { white-space: nowrap; flex: 0 1 auto; font-size: clamp(10px, 0.95vw, 12.5px); padding: 6px clamp(6px, 0.8vw, 11px); letter-spacing: -0.01em; }
}
/* 번호 카드 아이콘 (SI·BigData 등) */
.num-item { position: relative; }
.num-item .ni { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.num-item .ni .ico-svg { width: 21px; height: 21px; }
.num-item .nbadge { display: block; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; margin-top: 3px; }
/* 방법론 단계: 유령 번호 타이포 */
.phase .ph { display: flex; align-items: center; justify-content: center; gap: 9px; }
.phase .ph i { font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #8db4f9; letter-spacing: 0.02em; }
/* ITO 기반 바 아이콘 */
.found .base .cols .col-ic { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.14); color: #8db4f9; align-items: center; justify-content: center; flex-shrink: 0; }
.found .base .cols .col-ic .ico-svg { width: 18px; height: 18px; }
/* 라인업 박스: 우상단 아이콘과 제목·배지가 겹치지 않게 */
.num-item:has(.ni) h4 { padding-right: 52px; }

/* 대표 레퍼런스 제목 인라인 로고 (텍스트 'LH' 대체 · 뒤 단어와 줄바뀜 없음) */
.block h3 .lh-inline { height: 1.25em; width: auto; display: inline-block; vertical-align: -0.25em; margin: 0 2px 0 4px; }
/* 대표 레퍼런스: 카드 제목 로고 + 우측 포인트 박스 */
/* 줄바꿈 방지 단위 (항목 나열 텍스트가 단어 중간에서 꺾이지 않게) */
.nb { white-space: nowrap; }
.card .lh-card-logo { height: 38px; width: auto; display: block; margin: 2px 0 6px; }
.about-grid .card:has(.lh-card-logo) { display: flex; flex-direction: column; justify-content: center; }
.about-card.pt-card { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; padding: 10px 18px; }
.about-card.pt-card .pt-ic { width: 30px; height: 30px; flex: none; border-radius: var(--r-sm); background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; }
.about-card.pt-card .pt-ic .ico-svg { width: 16px; height: 16px; }
.about-card.pt-card .label { margin-top: 0; font-size: 13.5px; color: rgba(255,255,255,0.85); line-height: 1.5; }
/* 우측 포인트 박스 4개가 좌측 텍스트 카드 높이에 정확히 맞게 배분 */
.lh-grid .about-side { height: 100%; gap: 10px; }
.lh-grid > .card { padding-top: 26px; padding-bottom: 26px; }
/* 레이어 스택 우측 일러스트 (PC 전용) */
.layer { position: relative; }
.layer.has-img { padding-right: 210px; }
.layer-img { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); height: 82%; max-height: 130px; width: auto; }
@media (max-width: 900px) {
  .layer.has-img { padding-right: 26px; }
  .layer-img { display: none; }
}

/* ================= 범용 블록: 인용·CTA·동영상·갤러리·FAQ·구분선 ================= */
.bq { margin: 0; padding: 26px 30px; border-left: 4px solid var(--accent); background: var(--bg-soft); border-radius: 0 var(--r-md) var(--r-md) 0; }
.bq p { margin: 0; font-size: 17px; line-height: 1.8; color: var(--ink); font-weight: 600; }
.bq cite { display: block; margin-top: 10px; font-style: normal; font-size: 13.5px; color: var(--muted); }
.section.alt .bq { background: rgba(255,255,255,0.06); }
.section.alt .bq p { color: #fff; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, var(--accent), var(--accent-ink)); color: #fff; border-radius: var(--r-lg); padding: 26px 30px; }
.cta-band b { font-family: var(--font-display); font-size: 19px; }
.cta-band p { margin: 6px 0 0; font-size: 14px; opacity: .85; }
.cta-btn { display: inline-block; background: #fff; color: var(--accent-ink); border-radius: var(--r-pill); padding: 12px 26px; font-weight: 800; font-size: 14.5px; flex-shrink: 0; transition: transform .15s ease, box-shadow .15s ease; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(12,14,19,.25); }
.video-block { margin: 0; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; max-width: 860px; margin: 0 auto; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { display: flex; align-items: center; justify-content: center; color: #9fb0c8; background: var(--ink); font-size: 14px; }
.video-block figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.gal-item { margin: 0; }
.gal-item img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); display: block; background: #fff; }
.gal-item figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; }
.faq-q { display: flex; gap: 10px; align-items: baseline; }
.faq-q span { font-family: var(--font-display); font-weight: 800; color: var(--accent); }
.faq-q b { font-size: 15.5px; color: var(--ink); }
.faq-a { margin: 8px 0 0 24px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.section.alt .divider { border-top-color: rgba(255,255,255,0.14); }

/* ================= 범용 블록 2차: 좌우배치·숫자카드·타임라인·인물·헤드라인·로고 ================= */
.tcol { display: grid; grid-template-columns: var(--tc, 1fr 1fr); gap: 40px; align-items: center; margin: 4px 0 48px; }
.tcol.rev .tcol-img { order: 2; }
.tcol-img { margin: 0 auto 0 0; width: 100%; max-width: 350px; } /* 이미지 좌측 배치: 컨테이너 왼쪽 라인에 정렬 */
.tcol.rev .tcol-img { margin: 0 0 0 auto; } /* 이미지 우측 배치: 오른쪽 라인에 정렬 */
.tcol-img img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); display: block; background: #fff; aspect-ratio: 680 / 520; object-fit: contain; }
/* 일러스트가 로드되기 전에도 자리를 미리 확보해, 앵커(#섹션) 이동 위치가 밀리지 않게 한다 */
.tcol-ph { aspect-ratio: 4 / 3; border: 1.5px dashed var(--line); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; background: var(--bg-soft); }
.tcol-tx h3 { margin: 0 0 12px; font-size: 24px; }
.tcol-tx p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.85; }
.section.alt .tcol-tx h3 { color: #fff; }
.section.alt .tcol-tx p { color: #a7b3c8; }
.tcol-pts { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.tcol-pts li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text); line-height: 1.6; }
.tcol-pts li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.section.alt .tcol-pts { border-top-color: rgba(255,255,255,0.14); }
.section.alt .tcol-pts li { color: #cfd8e6; }
.section.alt .tcol-pts li::before { color: #7fa8f7; }
@media (max-width: 760px) { .tcol { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; } .tcol.rev .tcol-img { order: 0; } .tcol-img, .tcol.rev .tcol-img { margin: 0 auto; } }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-3); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 18px; text-align: center; }
.tc-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; display: block; }
.tc-ph { background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.team-card b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.tc-role { display: block; font-size: 12.5px; color: var(--accent-ink); margin-top: 2px; font-weight: 600; }
.team-card p { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.bigtext { text-align: center; padding: 10px 0; }
.bigtext h3 { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 4vw, 38px); font-weight: 800; color: var(--ink); line-height: 1.45; letter-spacing: -0.01em; }
.bigtext p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.section.alt .bigtext h3 { color: #fff; }
.logo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.logo-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); min-height: 84px; display: flex; align-items: center; justify-content: center; padding: 14px; font-weight: 700; color: var(--ink); font-size: 14px; text-align: center; }
.logo-box img { max-width: 80%; max-height: 44px; object-fit: contain; }

/* ================= 범용 블록 3차: 아코디언·알림·스텝·다운로드·지도·연락처·배너·다단·플랜 ================= */
.acc { display: flex; flex-direction: column; gap: 10px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.acc-item summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--ink); font-size: 15px; list-style: none; position: relative; padding-right: 44px; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 18px; color: var(--accent); }
.acc-item[open] summary::after { content: "−"; }
.acc-c { padding: 0 20px 16px; }
.acc-c p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.75; }
.notice { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-md); padding: 18px 20px; }
.notice.strong { background: var(--accent-soft); border-color: rgba(47,111,237,0.35); border-left-color: var(--accent); }
.notice .nt-ic { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--line); }
.notice .nt-ic .ico-svg { width: 18px; height: 18px; }
.notice b { font-size: 15px; color: var(--ink); }
.notice p { margin: 5px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.vsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vstep { display: flex; gap: 16px; padding: 0 0 24px 0; position: relative; }
.vstep::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 2px; width: 2px; background: var(--line); }
.vstep:last-child::before { display: none; }
.vs-no { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; }
.vs-tx b { display: block; font-family: var(--font-display); font-size: 15.5px; color: var(--ink); padding-top: 7px; }
.vs-tx p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.dl-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dl-desc { font-size: 13px; color: var(--muted); }
.map-ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); font-size: 13.5px; }
.cbox { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cbox-item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.cb-ic { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cb-ic .ico-svg { width: 20px; height: 20px; }
.cbox-item small { display: block; font-size: 11.5px; color: var(--muted); }
.cbox-item b, .cbox-item a { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.cbox-item a:hover { color: var(--accent); }
.banner { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 200px; background: var(--ink) center / cover no-repeat; display: flex; align-items: center; }
.banner-ov { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,16,26,0.72), rgba(12,16,26,0.25)); }
.banner-tx { position: relative; padding: 34px 38px; color: #fff; }
.banner-tx h3 { margin: 0; font-size: 26px; color: #fff; }
.banner-tx p { margin: 8px 0 0; font-size: 14.5px; color: rgba(255,255,255,0.82); }
.txt-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.txt-col b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.txt-col p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; }
.plan.hot { border: 2px solid var(--accent); box-shadow: 0 14px 34px rgba(47,111,237,0.12); }
.plan-hot { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 12px; border-radius: var(--r-pill); }
.plan-nm { font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.plan-pr { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--accent-ink); margin: 8px 0 14px; }
.plan ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.plan li { font-size: 13.5px; color: var(--text); padding-left: 18px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ================= 카테고리 하단 '다음 메뉴' 버튼 ================= */
.next-cat { padding: 8px 0 60px; }
.next-cat .container { display: flex; justify-content: flex-end; }
.next-btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-ink)); border-radius: var(--r-pill); padding: 13px 26px; box-shadow: 0 10px 26px rgba(47,111,237,0.30); transition: transform .2s ease, box-shadow .2s ease; }
.next-btn b { font-family: var(--font-display); font-size: 14.5px; font-weight: 800; color: #fff; }
.next-btn .nb-ar { color: #fff; font-weight: 800; font-size: 15px; transition: transform .2s ease; }
.next-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(47,111,237,0.40); }
.next-btn:hover .nb-ar { transform: translateX(4px); }
@media (max-width: 720px) { .next-cat { padding-bottom: 44px; } .next-cat .container { justify-content: stretch; } .next-btn { width: 100%; justify-content: space-between; } }

/* ===== 블록 기기별 숨김 ===== */
@media (max-width: 760px) { .hide-mo { display: none !important; } }
@media (min-width: 761px) { .hide-pc { display: none !important; } }

/* ===== 신규 블록: 탭 전환 ===== */
.tabs-blk { margin: 4px 0 40px; }
.tabs-blk > input { display: none; }
.tabs-nav { display: flex; gap: 6px; border-bottom: 2px solid #e2e8f2; flex-wrap: wrap; }
.tabs-nav label { padding: 10px 18px; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; border-radius: 8px 8px 0 0; margin-bottom: -2px; border-bottom: 2px solid transparent; }
.tabs-nav label:hover { color: var(--accent); background: #f2f6fd; }
.tab-pane { display: none; padding: 22px 4px 0; }
.tab-pane p { margin: 0; font-size: 15.5px; line-height: var(--lh-body); color: var(--text); white-space: pre-line; }
.tabs-blk > input:nth-of-type(1):checked ~ .tab-pane.tp-0, .tabs-blk > input:nth-of-type(2):checked ~ .tab-pane.tp-1,
.tabs-blk > input:nth-of-type(3):checked ~ .tab-pane.tp-2, .tabs-blk > input:nth-of-type(4):checked ~ .tab-pane.tp-3,
.tabs-blk > input:nth-of-type(5):checked ~ .tab-pane.tp-4, .tabs-blk > input:nth-of-type(6):checked ~ .tab-pane.tp-5 { display: block; }
.tabs-blk > input:nth-of-type(1):checked ~ .tabs-nav label:nth-child(1), .tabs-blk > input:nth-of-type(2):checked ~ .tabs-nav label:nth-child(2),
.tabs-blk > input:nth-of-type(3):checked ~ .tabs-nav label:nth-child(3), .tabs-blk > input:nth-of-type(4):checked ~ .tabs-nav label:nth-child(4),
.tabs-blk > input:nth-of-type(5):checked ~ .tabs-nav label:nth-child(5), .tabs-blk > input:nth-of-type(6):checked ~ .tabs-nav label:nth-child(6) { color: var(--accent-ink); border-bottom-color: var(--accent); }
.section.alt .tabs-nav { border-bottom-color: rgba(255,255,255,.18); }
.section.alt .tab-pane p { color: #cfd8e6; }
/* 주요실적 분야 탭 — 공용 tabs-blk 의 섹션 상단용 변형 */
.perf-tabs .tabs-nav label { font-size: 16px; padding: 12px 20px; display: inline-flex; align-items: center; gap: 8px; }
.perf-tabs .tab-pane { padding: 26px 0 0; }
/* 탭은 항상 한 줄 — 좁은 화면에서는 줄바꿈 대신 가로 스와이프 */
.perf-tabs .tabs-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
.perf-tabs .tabs-nav::-webkit-scrollbar { display: none; }
.perf-tabs .tabs-nav label { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 640px) {
  .perf-tabs .tabs-nav label { font-size: 13px; padding: 9px 12px; }
}

/* ===== 신규 블록: 진행바 ===== */
.prog { display: flex; flex-direction: column; gap: 18px; margin: 4px 0 40px; max-width: 720px; }
.prog-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.prog-top b { font-size: 15px; color: var(--ink); }
.prog-top span { font-size: 13px; font-weight: 800; color: var(--accent-ink); }
.prog-bar { height: 10px; border-radius: 999px; background: #e8edf6; overflow: hidden; }
.prog-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #6a9bf3, var(--accent-ink)); }
.section.alt .prog-top b { color: #fff; }
.section.alt .prog-bar { background: rgba(255,255,255,.14); }

/* ===== 신규 블록: 버튼 모음 ===== */
.blk-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 40px; }
.btn-ghost2 { background: transparent !important; color: var(--accent-ink) !important; border: 1.5px solid var(--accent) !important; }
.btn-ghost2:hover { background: #eef3fe !important; }

/* ===== 신규 블록: 자유 표 ===== */
.free-table { width: 100%; border-collapse: collapse; margin: 4px 0 40px; font-size: 14.5px; }
.free-table th { background: #f2f5fb; color: var(--ink); font-weight: 800; text-align: left; padding: 11px 14px; border-bottom: 2px solid #dfe6f2; white-space: nowrap; }
.free-table td { padding: 11px 14px; border-bottom: 1px solid #edf1f7; color: var(--text); }
.free-table tr:hover td { background: #fafcff; }
.section.alt .free-table th { background: rgba(255,255,255,.08); color: #fff; border-bottom-color: rgba(255,255,255,.2); }
.section.alt .free-table td { color: #cfd8e6; border-bottom-color: rgba(255,255,255,.09); }

/* ===== 신규 블록: 이미지 슬라이더 ===== */
.slider { margin: 4px 0 40px; }
.slides { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.slide { flex: 0 0 min(78%, 640px); scroll-snap-align: center; margin: 0; }
.slide img { width: 100%; border-radius: var(--r-md); display: block; }
.slide figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.slider-hint { text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
.slider-empty { border: 1.5px dashed #c4cfe0; border-radius: var(--r-md); padding: 46px 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* ===== 단계별 체크 애니메이션 (flow-chk) =====
   스크롤로 화면에 들어오면 단계가 하나씩 순서대로 체크된다. */
.flow-chk .fstep { transition: border-color .35s ease, box-shadow .35s ease; }
.fs-t { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
/* 체크 배지: 박스 안, 단계명 바로 앞 (자리는 미리 확보해 글자가 흔들리지 않게) */
.fs-chk { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: #FF9F00; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 7px rgba(255,159,0,0.42); }
.fs-chk svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
/* 사이트 스크립트가 동작할 때만: 처음엔 숨기고 순차 등장 */
.js-reveal .flow-chk .fstep .fs-chk { opacity: 0; transform: scale(.3); }
.js-reveal .flow-chk .fstep.in .fs-chk { animation: chkPop .6s cubic-bezier(.2,.9,.3,1.5) forwards; }
.js-reveal .flow-chk .fstep:nth-child(1).in .fs-chk { animation-delay: .39s; }
.js-reveal .flow-chk .fstep:nth-child(2).in .fs-chk { animation-delay: .81s; }
.js-reveal .flow-chk .fstep:nth-child(3).in .fs-chk { animation-delay: 1.22s; }
.js-reveal .flow-chk .fstep:nth-child(4).in .fs-chk { animation-delay: 1.64s; }
.js-reveal .flow-chk .fstep:nth-child(5).in .fs-chk { animation-delay: 2.06s; }
.js-reveal .flow-chk .fstep:nth-child(6).in .fs-chk { animation-delay: 2.48s; }
/* 체크되는 순간 단계 카드도 살짝 반응 */
.js-reveal .flow-chk .fstep.in { animation: chkStep .65s ease-out both; }
.js-reveal .flow-chk .fstep:nth-child(1).in { animation-delay: .39s; }
.js-reveal .flow-chk .fstep:nth-child(2).in { animation-delay: .81s; }
.js-reveal .flow-chk .fstep:nth-child(3).in { animation-delay: 1.22s; }
.js-reveal .flow-chk .fstep:nth-child(4).in { animation-delay: 1.64s; }
.js-reveal .flow-chk .fstep:nth-child(5).in { animation-delay: 2.06s; }
.js-reveal .flow-chk .fstep:nth-child(6).in { animation-delay: 2.48s; }
/* 마지막 강조 펄스는 모든 체크가 끝난 뒤 시작 */
.flow-chk .fstep:last-child { animation-delay: 2.9s; }
@keyframes chkPop { 0% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.18); } 100% { opacity: 1; transform: scale(1); } }
@keyframes chkStep { 0% { box-shadow: 0 0 0 0 rgba(255,159,0,0); } 45% { box-shadow: 0 0 0 6px rgba(255,159,0,0.20); } 100% { box-shadow: 0 0 0 0 rgba(255,159,0,0); } }
@media (max-width: 640px) { .fs-chk { width: 18px; height: 18px; } .fs-chk svg { width: 11px; height: 11px; } .fs-t { gap: 6px; } }

/* ===== 항목이 많은 특징 카드 그리드: 모바일 2열 압축 (예: 관리 방법론 8종) ===== */
@media (max-width: 640px) {
  .featgrid:has(.feat:nth-child(7)) { grid-template-columns: 1fr 1fr; gap: 10px; }
  .featgrid:has(.feat:nth-child(7)) .feat { flex-direction: column; align-items: flex-start; gap: 9px; padding: 13px 12px; }
  .featgrid:has(.feat:nth-child(7)) .feat .fic { width: 34px; height: 34px; }
  .featgrid:has(.feat:nth-child(7)) .feat .fic .ico-svg { width: 19px; height: 19px; }
  .featgrid:has(.feat:nth-child(7)) .feat .ftx b { font-size: 13px; }
  .featgrid:has(.feat:nth-child(7)) .feat .ftx span { font-size: 11.5px; line-height: 1.5; display: block; }
}
