/* =========================================================
   T.Lab — 기술사업화 토탈솔루션
   기존 브랜드 컬러(#0061ae / #00b6fa) 유지, 레이아웃 전면 재구성
   ========================================================= */
:root {
  --blue-900: #062a4d;
  --blue-800: #003f73;
  --blue-700: #0061ae;   /* 기존 메인 컬러 */
  --blue-500: #1a86d6;
  --sky-400: #00b6fa;    /* 기존 포인트 컬러 */
  --sky-100: #e6f6fe;
  --blue-50: #f2f7fc;

  --ink-900: #1b1f24;
  --ink-700: #3d4550;
  --ink-500: #6b7380;
  --ink-300: #b8bec7;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 56, .06), 0 2px 8px rgba(16, 32, 56, .05);
  --shadow: 0 6px 24px rgba(16, 40, 80, .08);
  --shadow-lg: 0 18px 50px rgba(6, 42, 77, .16);

  --container: 1200px;
  --header-h: 76px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; display: block; }
.btn > span[data-icon] { display: inline-flex; align-items: center; flex: none; } /* 화살표를 글자 높이 가운데에 */
.btn { line-height: 1; }
.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--blue-800); box-shadow: 0 8px 20px rgba(0, 97, 174, .28); }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { background: var(--sky-100); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-50); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 16px rgba(16,32,56,.05); }
/* 스크롤 내릴 때 메뉴 숨김 → 헤더 아래 고정 요소는 맨 위로 올라붙음 */
.site-header { transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, border-color .2s, box-shadow .2s; }
body.header-hidden .site-header { transform: translateY(-100%); box-shadow: none; }
.sub-tabs, .qf-top, .company-media { transition: top .35s cubic-bezier(.2,.8,.2,1); }
body.header-hidden .sub-tabs { top: 0; }
body.header-hidden .qf-top { top: 0; }
body.header-hidden .company-media { top: 24px; }
@media (prefers-reduced-motion: reduce) { .site-header, .sub-tabs, .qf-top { transition: none; } }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 46px; width: auto; }
.gnb { display: flex; align-items: center; gap: 6px; }
.gnb > li { position: relative; }
.gnb > li > a {
  display: block; padding: 10px 18px; font-weight: 600; font-size: 16px; color: var(--ink-700);
  border-radius: 999px; transition: color .2s, background .2s;
}
.gnb > li > a:hover, .gnb > li.active > a { color: var(--blue-700); }
.gnb > li.active > a { background: var(--blue-50); }
.gnb .sub {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 6px);
  min-width: 190px; padding: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.gnb > li:hover .sub, .gnb > li:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb .sub a { display: block; padding: 9px 14px; border-radius: var(--radius-sm); font-size: 15px; color: var(--ink-700); white-space: nowrap; }
.gnb .sub a:hover { background: var(--blue-50); color: var(--blue-700); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink-900); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu: 어두운 전체 화면 */
body.nav-open .site-header, body.nav-open .site-header.scrolled { background: transparent !important; backdrop-filter: none !important; box-shadow: none; border-bottom-color: transparent; z-index: 60; }
body.nav-open .site-header .logo img { filter: brightness(0) invert(1) !important; }
body.nav-open .site-header .menu-toggle span { background: #fff !important; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 55; display: none; flex-direction: column; overflow-y: auto;
  padding: calc(var(--header-h) + 16px) 24px 28px; color: #fff;
  background:
    radial-gradient(500px 360px at 100% 0%, rgba(0,182,250,.35), transparent 65%),
    radial-gradient(420px 360px at 0% 100%, rgba(26,134,214,.4), transparent 60%),
    linear-gradient(160deg, #041a33, var(--blue-900) 55%, var(--blue-800));
  clip-path: circle(0 at calc(100% - 46px) 32px); transition: clip-path .55s cubic-bezier(.7,0,.2,1), visibility .55s;
  visibility: hidden;
}
.nav-open .mobile-nav { clip-path: circle(150% at calc(100% - 46px) 32px); visibility: visible; }
.mn-list { flex: 1; }
.mn-item { border-bottom: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .4s; }
.nav-open .mn-item { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .06s); }
.mn-link { display: flex; align-items: center; gap: 14px; width: 100%; padding: 20px 2px; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; }
.mn-no { flex: none; width: 26px; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--sky-400); }
.mn-label { flex: 1; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.mn-link > svg { width: 22px; height: 22px; color: rgba(255,255,255,.5); transition: transform .25s, color .25s; }
.mn-link:active > svg, .mn-link:hover > svg { transform: translateX(4px); color: #fff; }
.mn-item.active .mn-label { color: transparent; background: linear-gradient(90deg, #fff, var(--sky-400)); -webkit-background-clip: text; background-clip: text; }
.mn-plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); transition: background .25s, border-color .25s; }
.mn-plus::before, .mn-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: #fff; transition: transform .3s; }
.mn-plus::after { transform: rotate(90deg); }
.mn-item.open .mn-plus { background: var(--sky-400); border-color: var(--sky-400); }
.mn-item.open .mn-plus::after { transform: rotate(0); }
.mn-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.mn-item.open .mn-sub { grid-template-rows: 1fr; }
.mn-sub > div { overflow: hidden; padding-left: 40px; }
.mn-item.open .mn-sub > div { padding-bottom: 14px; }
.mn-sub a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; margin-bottom: 4px; border-radius: 12px; font-size: 16px; font-weight: 600; color: rgba(255,255,255,.78); background: rgba(255,255,255,.05); }
.mn-sub a svg { width: 16px; height: 16px; opacity: .5; }
.mn-sub a:active, .mn-sub a:hover { background: rgba(0,182,250,.2); color: #fff; }
.mn-foot { margin-top: 28px; opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .4s; }
.nav-open .mn-foot { opacity: 1; transform: none; transition-delay: .5s; }
.mn-cta { width: 100%; height: 56px; font-size: 17px; }
.mn-cta svg { width: 18px; height: 18px; }
.mn-contact { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.mn-contact a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,.7); }
.mn-contact svg { width: 15px; height: 15px; color: var(--sky-400); }
@media (prefers-reduced-motion: reduce) { .mobile-nav, .mn-item, .mn-foot, .mn-sub { transition: none; } }

/* ---------- Section ---------- */
.section { padding: 110px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .12em;
  color: var(--blue-700); text-transform: uppercase;
}
.section-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.section-desc { margin-top: 16px; font-size: 18px; color: var(--ink-500); }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-700); white-space: nowrap; }
.more-link svg { width: 16px; height: 16px; transition: transform .2s; }
.more-link:hover svg { transform: translateX(3px); }

/* ---------- Hero (main) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(0,182,250,.45), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(26,134,214,.55), transparent 60%),
    linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 45%, var(--blue-700) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; min-height: 640px; padding-top: 80px; padding-bottom: 100px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.08);
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-400); box-shadow: 0 0 0 4px rgba(0,182,250,.25); }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.22; font-weight: 800; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--sky-400); }
.hero p.lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.82); max-width: 560px; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; height: 440px; }
.orbit { position: absolute; inset: 0; margin: auto; border: 1px dashed rgba(255,255,255,.25); border-radius: 50%; }
.orbit.o1 { width: 420px; height: 420px; }
.orbit.o2 { width: 280px; height: 280px; border-style: solid; border-color: rgba(255,255,255,.14); }
.hero-core {
  position: absolute; inset: 0; margin: auto; width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 22px; line-height: 1.25;
  background: linear-gradient(145deg, var(--sky-400), var(--blue-500)); box-shadow: 0 20px 60px rgba(0,182,250,.45);
}
.hero-core small { display: block; font-size: 12px; font-weight: 600; opacity: .85; letter-spacing: .08em; }
.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px;
  background: rgba(255,255,255,.96); color: var(--ink-900); font-weight: 700; font-size: 15px; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-700); }
.hero-chip .ic svg { width: 18px; height: 18px; }
.hero-chip.c1 { top: 6%; left: 8%; }
.hero-chip.c2 { top: 18%; right: 0; animation-delay: -1.5s; }
.hero-chip.c3 { bottom: 26%; left: -2%; animation-delay: -3s; }
.hero-chip.c4 { bottom: 6%; right: 10%; animation-delay: -4.5s; }
.hero-chip.c5 { top: 52%; right: -4%; animation-delay: -2.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-chip { animation: none; } html { scroll-behavior: auto; } }

/* Quick cards overlapping hero */
.quick { position: relative; margin-top: -64px; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quick-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.quick-card .ic {
  flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-700), var(--sky-400)); color: #fff;
}
.quick-card .ic svg { width: 26px; height: 26px; }
.quick-card h3 { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.quick-card h3 svg { width: 16px; height: 16px; color: var(--ink-300); transition: transform .2s, color .2s; }
.quick-card:hover h3 svg { transform: translateX(3px); color: var(--blue-700); }
.quick-card p { margin-top: 6px; font-size: 15px; color: var(--ink-500); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.service-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-700), var(--sky-400)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card .num { font-size: 14px; font-weight: 800; color: var(--sky-400); letter-spacing: .06em; }
.service-card .ic { width: 52px; height: 52px; margin: 18px 0 22px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); }
.service-card .ic svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.service-card p { margin-top: 10px; color: var(--ink-500); font-size: 15px; flex: 1; }
.service-card .tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--bg-soft); color: var(--ink-700); }
.service-card .go { margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-700); font-size: 15px; }
.service-card .go svg { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .go svg { transform: translateX(4px); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.process-step .step-no { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--sky-400); }
.process-step h3 { margin-top: 10px; font-size: 20px; font-weight: 800; }
.process-step p { margin-top: 8px; color: var(--ink-500); font-size: 15px; }
.process-step ul { margin-top: 16px; display: grid; gap: 8px; }
.process-step li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-700); }
.process-step li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-400); }
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -15px; width: 10px; height: 10px; z-index: 1;
  border-top: 2px solid var(--ink-300); border-right: 2px solid var(--ink-300); transform: rotate(45deg);
}
.process-dark .process-step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.process-dark .process-step p { color: rgba(255,255,255,.7); }

/* Strength band */
.strength { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff; position: relative; overflow: hidden; }
.strength::after { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(0,182,250,.35), transparent 65%); }
.strength .container { position: relative; z-index: 1; }
.strength .eyebrow { color: var(--sky-400); }
.strength .section-desc { color: rgba(255,255,255,.75); }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strength-item { padding: 34px 30px; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.strength-item .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,182,250,.18); color: var(--sky-400); }
.strength-item .ic svg { width: 26px; height: 26px; }
.strength-item h3 { margin-top: 22px; font-size: 22px; font-weight: 800; }
.strength-item p { margin-top: 10px; color: rgba(255,255,255,.75); font-size: 15px; }

/* ---------- Board preview (main) ---------- */
.board-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.board-box { padding: 32px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.board-box-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.board-box-head h3 { font-size: 22px; font-weight: 800; }
.mini-list li { border-bottom: 1px solid var(--line); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list a { display: flex; align-items: center; gap: 14px; padding: 15px 0; }
.mini-list a:hover .t { color: var(--blue-700); }
.mini-list .t { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.mini-list .d { flex: none; font-size: 14px; color: var(--ink-500); font-variant-numeric: tabular-nums; }
.badge { flex: none; display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--sky-100); color: var(--blue-700); }
.badge.gray { background: var(--bg-soft); color: var(--ink-500); }
.badge.new { background: #ffeef0; color: #d62d45; }

/* Company marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee-track { gap: 24px; }
.marquee-item { width: 360px; flex: none; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.marquee-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.marquee-item img { width: 100%; aspect-ratio: 10 / 9; object-fit: cover; }
.marquee-item span { display: block; padding: 16px 20px; font-weight: 700; font-size: 17px; }

/* CTA band */
.cta-band { padding: 0 0 110px; }
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 60px; border-radius: 28px; color: #fff;
  background: radial-gradient(500px 300px at 90% 0%, rgba(0,182,250,.55), transparent 70%), linear-gradient(120deg, var(--blue-800), var(--blue-700));
}
.cta-box h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.35; }
.cta-box p { margin-top: 10px; color: rgba(255,255,255,.8); }
.cta-box .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Sub page hero ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(700px 380px at 90% 0%, rgba(0,182,250,.45), transparent 65%), linear-gradient(130deg, var(--blue-900), var(--blue-700));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.page-hero .container { position: relative; padding-top: 72px; padding-bottom: 72px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.page-hero p { margin-top: 16px; max-width: 760px; font-size: 18px; color: rgba(255,255,255,.82); }

/* Sub tabs */
.sub-tabs { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.sub-tabs ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sub-tabs ul::-webkit-scrollbar { display: none; }
.sub-tabs a, .sub-tabs button {
  display: block; padding: 18px 20px; font-weight: 600; color: var(--ink-500); white-space: nowrap;
  border: 0; background: none; border-bottom: 3px solid transparent; cursor: pointer; transition: color .2s, border-color .2s;
}
.sub-tabs a:hover, .sub-tabs button:hover { color: var(--ink-900); }
.sub-tabs .active { color: var(--blue-700); border-bottom-color: var(--blue-700); }

/* ---------- Consulting detail ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.intro-grid .section-title { font-size: clamp(26px, 3vw, 34px); }
.intro-text { font-size: 18px; color: var(--ink-700); line-height: 1.85; }
.keyword-list { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.keyword-list .tag { padding: 8px 14px; font-size: 14px; background: var(--blue-50); color: var(--blue-700); }

.track-tabs { display: inline-flex; padding: 6px; gap: 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 32px; }
.track-tabs button { height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; color: var(--ink-500); cursor: pointer; }
.track-tabs button.active { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }

.cases { display: grid; gap: 28px; }
.case-card { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.case-head { display: flex; align-items: center; gap: 14px; padding: 22px 32px; border-bottom: 1px solid var(--line); }
.case-head .label { flex: none; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: #fff; background: linear-gradient(90deg, var(--blue-700), var(--sky-400)); }
.case-head h3 { font-size: 20px; font-weight: 800; }
.case-flow { display: grid; grid-template-columns: 1fr 36px 1.15fr 36px 1fr; align-items: stretch; padding: 32px; }
.case-col { padding: 26px 24px; border-radius: var(--radius); }
.case-col h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; font-weight: 800; letter-spacing: .1em; }
.case-col h4 svg { width: 18px; height: 18px; }
.case-col.needs { background: var(--bg-soft); }
.case-col.needs h4 { color: var(--blue-700); }
.case-col.needs p { color: var(--ink-700); font-size: 15px; }
.case-col.consult { background: var(--blue-700); color: #fff; box-shadow: 0 12px 30px rgba(0, 97, 174, .25); }
.case-col.consult h4 { color: var(--sky-100); }
.case-col.consult ul { display: grid; gap: 8px; }
.case-col.consult li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.55; }
.case-col.consult li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-400); }
.case-col.achieve { border: 1px solid var(--line); }
.case-col.achieve h4 { color: var(--blue-700); }
.case-col.achieve ul { display: grid; gap: 12px; }
.case-col.achieve li { font-size: 15px; color: var(--ink-700); line-height: 1.55; padding-left: 26px; position: relative; }
.case-col.achieve li svg { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; color: var(--sky-400); }
.case-col.achieve li b { display: block; color: var(--ink-900); }
.case-arrow { display: grid; place-items: center; color: var(--ink-300); }
.case-arrow svg { width: 22px; height: 22px; }
.case-programs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 20px 32px 26px; background: var(--blue-50); }
.case-programs strong { margin-right: 6px; font-size: 14px; color: var(--blue-700); }
.case-programs .tag { background: #fff; border: 1px solid var(--line); font-weight: 500; }

.other-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.other-services a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-weight: 700; transition: border-color .2s, color .2s; }
.other-services a:hover { border-color: var(--blue-700); color: var(--blue-700); }
.other-services svg { width: 18px; height: 18px; flex: none; }

/* ---------- Toolbar / filters ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px; margin-bottom: 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.toolbar .grow { flex: 1; min-width: 220px; }
.field-inline { position: relative; }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; transition: border-color .2s, box-shadow .2s; outline: none;
}
.select { padding-right: 40px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7380' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.textarea { height: auto; min-height: 180px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue-700); box-shadow: 0 0 0 4px rgba(0,97,174,.12); }
.search-wrap { position: relative; }
.search-wrap .input { padding-left: 44px; }
.search-wrap svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-500); pointer-events: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-700); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--blue-700); color: var(--blue-700); }
.chip.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

.list-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 15px; color: var(--ink-500); flex-wrap: wrap; }
.list-meta strong { color: var(--blue-700); }
.sort-tabs { display: flex; gap: 2px; }
.sort-tabs button { border: 0; background: none; padding: 6px 10px; font-size: 14px; color: var(--ink-500); cursor: pointer; border-radius: 6px; }
.sort-tabs button.active { color: var(--ink-900); font-weight: 700; background: var(--bg-soft); }

/* Board list */
.board-list { border-top: 2px solid var(--ink-900); }
.board-list li { border-bottom: 1px solid var(--line); }
.board-list a { display: grid; grid-template-columns: 70px auto 1fr 120px 80px; align-items: center; gap: 16px; padding: 20px 12px; transition: background .2s; }
.board-list a:hover { background: var(--blue-50); }
.board-list .no { text-align: center; color: var(--ink-500); font-size: 14px; font-variant-numeric: tabular-nums; }
.board-list .t { font-weight: 600; min-width: 0; }
.board-list .d, .board-list .v { font-size: 14px; color: var(--ink-500); text-align: center; font-variant-numeric: tabular-nums; }
.board-list .closed .t { color: var(--ink-500); font-weight: 500; }

/* Support list (cards) */
.support-list { display: grid; gap: 12px; }
.support-item { display: flex; align-items: center; gap: 20px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.support-item:hover { border-color: var(--blue-700); box-shadow: var(--shadow-sm); }
.support-item .body { flex: 1; min-width: 0; }
.support-item .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.support-item h3 { font-size: 17px; font-weight: 700; line-height: 1.5; }
.support-item .sub-meta { margin-top: 6px; font-size: 14px; color: var(--ink-500); }
.support-item .ext { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-700); transition: all .2s; }
.support-item:hover .ext { border-color: var(--blue-700); color: var(--blue-700); }
.support-item .ext svg { width: 14px; height: 14px; }
.notice-box { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; margin-bottom: 24px; border-radius: var(--radius); background: var(--sky-100); color: var(--blue-800); font-size: 15px; }
.notice-box svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* Skeleton */
.skeleton { height: 96px; border-radius: var(--radius); background: linear-gradient(90deg, #eef2f6 25%, #f7f9fb 50%, #eef2f6 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination button { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink-700); cursor: pointer; }
.pagination button:hover:not(:disabled) { border-color: var(--blue-700); color: var(--blue-700); }
.pagination button.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: default; }
.empty { padding: 80px 20px; text-align: center; color: var(--ink-500); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Event cards */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.event-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.event-card .top { padding: 24px; background: linear-gradient(135deg, var(--blue-700), var(--sky-400)); color: #fff; }
.event-card .top .date { font-size: 32px; font-weight: 800; line-height: 1; }
.event-card .top .ym { font-size: 14px; opacity: .85; margin-top: 6px; }
.event-card .bd { padding: 24px; display: grid; gap: 10px; }
.event-card h3 { font-size: 18px; font-weight: 700; }
.event-card dl { display: grid; grid-template-columns: 48px 1fr; gap: 6px 8px; font-size: 14px; margin: 0; }
.event-card dt { color: var(--ink-500); }
.event-card dd { margin: 0; color: var(--ink-700); }

/* Company grid */
.company-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.company-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; padding: 0; transition: transform .25s, box-shadow .25s; }
.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.company-card .thumb { aspect-ratio: 10 / 9; overflow: hidden; background: var(--bg-soft); }
.company-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.company-card:hover .thumb img { transform: scale(1.04); }
.company-card .info { padding: 18px 20px 20px; }
.company-card h3 { font-size: 17px; font-weight: 700; }
.company-card .info span { font-size: 14px; color: var(--ink-500); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(6, 20, 40, .6); backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal-panel { position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; display: grid; place-items: center; z-index: 1; box-shadow: var(--shadow-sm); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 32px; }
.modal-body h2 { font-size: 24px; font-weight: 800; }
.modal-small .modal-panel { max-width: 440px; text-align: center; }
.modal-small .modal-body { padding: 44px 32px 32px; }
.success-ic { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-700); }
.success-ic svg { width: 36px; height: 36px; }

/* Post view */
.post-head { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.4; margin-top: 12px; }
.post-head .meta { margin-top: 14px; display: flex; gap: 18px; font-size: 14px; color: var(--ink-500); }
.post-body { padding: 40px 0 56px; font-size: 16px; line-height: 1.8; color: var(--ink-700); overflow-wrap: anywhere; }
.post-body img { max-width: 100% !important; height: auto !important; margin: 0 auto; }
.post-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.post-body iframe { display: block; width: 100%; max-width: 760px; aspect-ratio: 16 / 9; height: auto; margin: 0 auto 24px; border: 0; border-radius: var(--radius); }
.post-body a { color: var(--blue-700); text-decoration: underline; word-break: break-all; }
.post-body [style*="font-size"] { line-height: 1.8; }
.post-files { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.post-files h3 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.post-files li + li { border-top: 1px solid var(--line); }
.post-files a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; font-size: 15px; font-weight: 500; }
.post-files a:hover .n { color: var(--blue-700); text-decoration: underline; }
.post-files a svg { width: 18px; height: 18px; flex: none; color: var(--blue-700); }
.post-files .n { flex: 1; min-width: 0; word-break: break-all; }
.post-files .s { flex: none; font-size: 13px; color: var(--ink-500); }
.post-pn { margin-top: 40px; border-top: 1px solid var(--line); }
.post-pn a { display: flex; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.post-pn a:hover .t { color: var(--blue-700); }
.post-pn .k { flex: none; width: 56px; color: var(--ink-500); font-weight: 600; }
.post-pn .t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-head .event-meta { margin-top: 14px; display: grid; grid-template-columns: 48px 1fr; gap: 4px 8px; font-size: 15px; }
.post-head .event-meta dt { color: var(--ink-500); }
.post-head .event-meta dd { margin: 0; }
.company-body { margin-top: 16px; color: var(--ink-700); font-size: 15px; line-height: 1.75; }
.company-body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); margin-bottom: 16px; }
.company-body img { max-width: 100%; height: auto; }
.yt-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 16px; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: #000; cursor: pointer; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.yt-facade:hover img { opacity: 1; }
.yt-facade .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); border-radius: 14px; background: #ff0033; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .2s; }
.yt-facade .yt-local { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; color: #fff; background: rgba(4,26,51,.9); cursor: default; }
.yt-facade .yt-local b { font-size: 18px; }
.yt-facade .yt-local > span { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.8); }
.yt-facade .yt-local strong { color: var(--sky-400); }
.yt-facade .yt-local a { margin-top: 4px; padding: 8px 18px; border-radius: 999px; background: #fff; color: var(--blue-700); font-size: 14px; font-weight: 700; }
.yt-facade:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.yt-facade .play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.company-body p { margin: 0; }
/* 약관·방침 */
.policy { max-width: 900px; color: var(--ink-700); font-size: 16px; line-height: 1.85; }
.policy h2 { margin: 48px 0 16px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 22px; font-weight: 800; color: var(--ink-900); }
.policy h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.policy h3 { margin: 26px 0 8px; font-size: 17px; font-weight: 700; color: var(--blue-700); }
.policy p { margin: 0 0 6px; }
.policy p.item { padding-left: 14px; }
.policy a { color: var(--blue-700); text-decoration: underline; word-break: break-all; }
.company-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.company-media { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.company-media > img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-soft); }
.company-media .yt-facade { margin: 0; border-radius: var(--radius-lg); }
.company-media iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-lg); }
.company-info .company-body { margin-top: 0; font-size: 17px; line-height: 1.9; }
@media (max-width: 1080px) {
  .company-detail { grid-template-columns: 1fr; gap: 32px; }
  .company-media { position: static; }
}
.post-nav { margin-top: 32px; display: flex; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 40px; align-items: start; }
.form-card { padding: 44px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 26px; font-weight: 800; }
.form-card .desc { margin-top: 8px; color: var(--ink-500); font-size: 15px; }
.form-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--ink-700); }
.field label .req { color: #e0364f; margin-left: 2px; }
.field .hint { margin-top: 6px; font-size: 13px; color: var(--ink-500); }
.field .err { display: none; margin-top: 6px; font-size: 13px; color: #e0364f; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: #e0364f; }
.field.invalid .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field-chips input { position: absolute; opacity: 0; pointer-events: none; }
.field-chips label { margin: 0; height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink-700); cursor: pointer; transition: all .2s; }
.field-chips label:hover { border-color: var(--blue-700); color: var(--blue-700); }
.field-chips input:checked + label { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.field-chips input:focus-visible + label { box-shadow: 0 0 0 4px rgba(0,97,174,.2); }
.agree-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.agree-box .terms { max-height: 150px; overflow-y: auto; padding: 16px 18px; font-size: 14px; color: var(--ink-500); background: var(--bg-soft); line-height: 1.7; }
.agree-box .terms table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13px; }
.agree-box .terms th, .agree-box .terms td { border: 1px solid var(--line); padding: 8px; text-align: left; background: #fff; }
.agree-box .terms th { background: #eef2f6; color: var(--ink-700); width: 120px; }
.check { display: flex; align-items: center; gap: 10px; padding: 16px 18px; cursor: pointer; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--blue-700); }
.form-actions { margin-top: 32px; display: flex; justify-content: flex-end; }
.form-actions .btn { min-width: 200px; }

.side-card { padding: 32px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.side-card + .side-card { margin-top: 20px; }
.side-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 18px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.contact-line .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blue-700); border: 1px solid var(--line); }
.contact-line .ic svg { width: 20px; height: 20px; }
.contact-line small { display: block; font-size: 13px; color: var(--ink-500); }
.contact-line strong { font-size: 17px; }
.steps-mini li { display: flex; gap: 14px; padding: 10px 0; }
.steps-mini .n { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blue-700); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.steps-mini p { font-size: 15px; color: var(--ink-700); }
.steps-mini p b { display: block; color: var(--ink-900); }

.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office-card { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.office-card .badge { margin-bottom: 14px; }
.office-card h3 { font-size: 20px; font-weight: 800; }
.office-card p { margin-top: 10px; font-size: 15px; color: var(--ink-500); }
.office-card a { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--blue-700); }
.office-card a svg { width: 14px; height: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #0d1622; color: rgba(255,255,255,.65); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding: 64px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { margin-top: 18px; line-height: 1.8; }
.footer-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-offices h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.footer-offices p { line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 0 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a:hover { color: #fff; }
.footer-links a.strong { color: #fff; font-weight: 700; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-contact b { color: #fff; font-weight: 600; margin-right: 6px; }
.partners { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.partners img { height: 30px; width: 150px; object-fit: contain; object-position: center; padding: 8px 14px; background: #fff; border-radius: 8px; box-sizing: content-box; }
.copyright { width: 100%; font-size: 13px; color: rgba(255,255,255,.4); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Prototype ribbon */
.proto-note { position: fixed; left: 16px; bottom: 16px; z-index: 90; padding: 8px 14px; border-radius: 999px; background: rgba(13,22,34,.85); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gnb, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: flex; }
  .hero .container { grid-template-columns: 1fr; min-height: 0; padding-top: 72px; }
  .hero-visual { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; }
  .service-card:nth-child(5) { grid-column: 1 / -1; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
  .company-grid { grid-template-columns: repeat(3, 1fr); }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-flow { grid-template-columns: 1fr; gap: 0; }
  .case-arrow { height: 40px; }
  .case-arrow svg { transform: rotate(90deg); }
  .other-services { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .logo img { height: 34px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .section-desc { font-size: 16px; }
  .hero .container { padding-top: 56px; padding-bottom: 96px; }
  .hero-actions .btn { flex: 1; }
  .quick-grid, .strength-grid, .board-cols, .office-grid, .footer-offices { grid-template-columns: minmax(0, 1fr); }
  .quick-card { padding: 22px; }
  .service-grid, .process, .other-services { grid-template-columns: 1fr; }
  .service-card:nth-child(5) { grid-column: auto; }
  .process-step::after { display: none !important; }
  .company-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .company-card .info { padding: 12px 14px 14px; }
  .company-card h3 { font-size: 15px; }
  .board-box { padding: 24px 20px; }
  .cta-band { padding-bottom: 72px; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
  .cta-box .actions, .cta-box .actions .btn { width: 100%; }
  .page-hero .container { padding-top: 48px; padding-bottom: 48px; }
  .page-hero p { font-size: 16px; }
  .board-list a { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 4px; }
  .board-list .no, .board-list .v { display: none; }
  .board-list .badge { grid-column: 1 / -1; justify-self: start; }
  .board-list .t { grid-column: 1 / 2; }
  .case-head { padding: 18px 20px; flex-wrap: wrap; gap: 10px; }
  .case-head h3 { font-size: 18px; }
  .case-flow { padding: 20px; }
  .case-col { padding: 22px 20px; }
  .case-programs { padding: 18px 20px 22px; }
  .case-programs strong { width: 100%; }
  .support-item { flex-direction: column; align-items: stretch; padding: 20px; gap: 14px; }
  .support-item .ext { justify-content: center; }
  .toolbar { padding: 14px; }
  .toolbar > * { width: 100%; }
  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .side-card { padding: 24px 20px; }
  .modal-body { padding: 24px 20px; }
  .marquee-item { width: 260px; }
  .proto-note { display: none; }
}

/* ---------- 아주 좁은 화면 (갤럭시 폴드 커버 344px, 구형 폰 320~380px) ---------- */
@media (max-width: 380px) {
  html body .container { padding: 0 14px; }
  html body .btn { padding: 0 18px; }
  html body .section-title { font-size: 24px; }
  html body .section-desc { font-size: 15px; }
  /* 메인 */
  html body .hero-fx h1 { font-size: 33px; }
  html body .hero-fx p.lead { font-size: 15px; }
  html body .hero-actions { flex-direction: column; }
  html body .hero-actions .btn, html body .c-hero .hero-actions .btn { width: 100%; flex: none; } /* 세로로 쌓일 때 flex:1이 높이를 0으로 만들지 않게 */
  html body .stat strong { font-size: 42px; }
  html body .stat > span { font-size: 13px; }
  html body .partners-fx .marquee-item { width: 240px; }
  html body .cta-box h2 { font-size: 21px; }
  /* 서브페이지·컨설팅 */
  html body .page-hero.fx h1, html body .co-hero h1 { font-size: 32px; }
  html body .page-hero.fx .hero-stats b { font-size: 28px; }
  html body .c-hero h1 { font-size: 34px; }
  html body .c-statement p.big { font-size: 21px; }
  html body .t-step, html body .case-col { padding: 22px 18px; }
  html body .co-actions .btn { flex-basis: 100%; }
  html body .support-item .acts { flex-direction: column; }
  html body .support-item .acts > a { flex: none; } /* 세로로 쌓일 때 높이가 0으로 줄지 않게 */
  html body .featured { padding: 22px 18px; }
  html body .company-grid.fx { grid-template-columns: 1fr; }
  /* 문의 폼 */
  html body .qf-top { padding: 14px 16px 12px; }
  html body .qf-step { padding: 22px 14px; }
  html body .qf-topic small { white-space: normal; }
  html body .qf-program { margin: 12px 14px 0; }
  /* 모바일 메뉴 */
  html body .mobile-nav { padding-left: 18px; padding-right: 18px; }
  html body .mn-label { font-size: 22px; }
}

/* 정보마당 통합 게시판: 종류 뱃지 */

.board-list .badge { min-width: 68px; text-align: center; }
.board-list .t .st { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 5px; font-size: 12px; font-weight: 700; vertical-align: 1px; background: var(--bg-soft); color: var(--ink-500); }
.board-list .t .where { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--ink-500); }
.mini-list .badge { min-width: 64px; text-align: center; }
.mini-list .st, .post-head .st { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 5px; font-size: 12px; font-weight: 700; vertical-align: 1px; background: var(--bg-soft); color: var(--ink-500); }
.mini-list .closed .t { color: var(--ink-500); }

/* 정보마당 분류 색 (관리자에서 고름) */
.badge.c-blue { background: var(--sky-100); color: var(--blue-700); }
.badge.c-green { background: #e3f6ee; color: #0b7a55; }
.badge.c-orange { background: #fff1e3; color: #b85a00; }
.badge.c-purple { background: #f0eafd; color: #6236c9; }
.badge.c-red { background: #ffeef0; color: #c8243b; }
.badge.c-gray { background: var(--bg-soft); color: var(--ink-700); }

/* 관리자에서 메뉴를 꺼서 칸이 줄어든 묶음 (PC·태블릿) */
@media (min-width: 761px) {
  .board-cols[data-n="1"], .quick-grid[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
  .quick-grid[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.policy .pv-table { width: 100%; margin: 10px 0 6px; border-collapse: collapse; font-size: 15px; }
.policy .pv-table th, .policy .pv-table td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy .pv-table th { background: var(--bg-soft); font-weight: 700; color: var(--ink-900); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* 메인 '정보마당·지원사업' 미리보기: 좁은 화면에서는 뱃지·날짜 한 줄, 제목은 아래 줄에 두 줄까지 */
@media (max-width: 760px) {
  .mini-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "b . d" "t t t"; align-items: center; gap: 8px 10px; padding: 14px 0; }
  .mini-list .badge { grid-area: b; min-width: 0; }
  .mini-list .d { grid-area: d; font-size: 13px; }
  .mini-list .t { grid-area: t; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.5; }
}

/* 페이지 안 탭 줄: 옆으로 더 있으면 가장자리를 흐리게 */
.sub-tabs ul { --fl: 0px; --fr: 0px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); }
.sub-tabs ul.more-l { --fl: 36px; }
.sub-tabs ul.more-r { --fr: 36px; }
@media (max-width: 760px) { .sub-tabs a, .sub-tabs button { padding: 15px 14px; font-size: 15px; } }
@media (max-width: 760px) {
  .pagination { flex-wrap: nowrap; gap: 4px; }
  .pagination button { min-width: 36px; height: 38px; padding: 0 8px; font-size: 14px; }
}

/* 로고 (관리자 '로고·파비콘'): 크기는 --logo-h, 어두운 배경용 로고가 따로 있으면 .lg-w로 바꿔 보여 줌 */
.logo img { height: var(--logo-h, 46px); }
.logo .lg-w { display: none; }
body.brand-w[data-page="home"] .site-header:not(.scrolled) .logo .lg-c,
body.brand-w[data-page="consulting"] .site-header:not(.scrolled) .logo .lg-c,
body.brand-w.hero-dark .site-header:not(.scrolled) .logo .lg-c,
body.brand-w.nav-open .site-header .logo .lg-c { display: none; }
body.brand-w[data-page="home"] .site-header:not(.scrolled) .logo .lg-w,
body.brand-w[data-page="consulting"] .site-header:not(.scrolled) .logo .lg-w,
body.brand-w.hero-dark .site-header:not(.scrolled) .logo .lg-w,
body.brand-w.nav-open .site-header .logo .lg-w { display: block; filter: none !important; }
.footer-brand img.no-filter { filter: none; opacity: 1; }
@media (max-width: 760px) { .logo img { height: calc(var(--logo-h, 46px) * .74); } }

/* 정부지원사업 지역 뱃지: 전국 사업만 강조, 나머지 지역은 기본(회색) */
.badge.nat { background: linear-gradient(90deg, var(--blue-700), var(--sky-400)); color: #fff; }

/* 푸터 인증·등록 표시 (예전 협력기관 로고 3개 자리) */
.gov-badges { gap: 10px; }
.gov-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 8px; background: #fff; color: #1d2733; line-height: 1.35; }
.gov-badge .gov-mark { width: 28px; height: 28px; flex: none; padding: 0; border-radius: 50%; background: none; object-fit: contain; box-sizing: border-box; }
.gov-badge span { display: flex; flex-direction: column; font-size: 11.5px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.gov-badge b { font-size: 11.5px; font-weight: 800; }
@media (max-width: 760px) { .gov-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; width: 100%; } .gov-badge span { white-space: normal; } .gov-badge span, .gov-badge b { font-size: 11px; } }

/* ---------- 한글 줄바꿈 정리 ----------
   제목은 줄 길이를 고르게, 본문은 마지막 줄에 한두 글자만 남지 않게.
   낱말 단위로 줄을 바꾸고(keep-all), 칸보다 긴 낱말만 예외로 자름(break-word). */
h1, h2, h3, h4, legend, button, .section-title, .section-desc, .page-title, .src-note { text-wrap: balance; }
p, li, dd, dt, figcaption, label, small, td, .t, .lead { text-wrap: pretty; }
.featured .k, .qf-count > span:last-child, .badge, .pill, .st, .sub-meta .mi, .nw { white-space: nowrap; }
@media (max-width: 400px) {
  .gov-badges { grid-template-columns: 1fr; }
}
/* 바로가기 카드: 태블릿 폭에서는 아이콘을 위로 올려 글자 칸을 넓게 */
@media (min-width: 761px) and (max-width: 1080px) {
  .quick-card { flex-direction: column; gap: 14px; padding: 24px; }
  .quick-card .ic { width: 48px; height: 48px; border-radius: 14px; }
}
/* 진행 단계 탭(예: 사업 아이템(BI) 검증): 휴대폰에서 칸을 꽉 채우고 한 줄로 */
@media (max-width: 760px) {
  .track-tabs { display: flex; }
  .track-tabs button { flex: 1; min-width: 0; padding: 0 10px; font-size: 13.5px; letter-spacing: -.02em; white-space: nowrap; }
}
@media (max-width: 400px) {
  .track-tabs { border-radius: 18px; }
  .track-tabs button { height: auto; min-height: 44px; padding: 7px 8px; border-radius: 14px; line-height: 1.3; white-space: normal; }
}
