/* ═══════════ 헤더 — 라이트 모드에서도 다크모드와 같은 색으로 고정.
   시맨틱(Tier 2) 토큰만 :root[data-theme="dark"] 값으로 다시 매핑한다 —
   헤더 안의 모든 규칙이 이 토큰을 참조하므로 개별 규칙을 건드릴 필요가 없다. */
.site-header {
  color-scheme: dark;
  --background:           var(--color-zinc-950);
  --foreground:           var(--color-zinc-50);
  --card:                 var(--color-zinc-900);
  --card-foreground:      var(--color-zinc-50);
  --primary:              var(--color-zinc-200);
  --primary-foreground:   var(--color-zinc-900);
  --secondary:            var(--color-zinc-800);
  --secondary-foreground: var(--color-zinc-50);
  --muted:                var(--color-zinc-800);
  --muted-foreground:     var(--color-zinc-400);
  --accent:               var(--color-zinc-800);
  --accent-foreground:    var(--color-zinc-50);
  --border:               var(--color-zinc-800);
  --border-subtle:        var(--color-zinc-800);
  --input:                var(--color-zinc-800);
  --ring:                 var(--color-zinc-600);
}

/* ═══════════ 메인 랜딩(.sp-page) — project2.eworks.kr 과 같은 구성.
   색상·타이포 등 실제 .sp-* 스타일은 관리자 "추가 메타태그"(cf_add_meta) 쪽이 맡고,
   여긴 .container 폭을 벗어나 화면 끝까지 덮는 배치와 사이트 공통 폭 정합만 담당한다. */

.site-main:has(.sp-page) { padding-top: 0; overflow-x: clip; }
.sp-faq-item.on .sp-faq-a { display: block; }
.site-main .sp-page {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.site-main .sp-page .width {
  width: 100%; max-width: var(--site-max-width); margin: 0 auto;
  padding-inline: var(--content-gutter-x);
}

/* 히어로 제목 전용 글꼴 (KIMM_Bold — 한국기계연구원 무료 글꼴) */
@font-face {
  font-family: 'KIMM_Bold';
  src: url('../fonts/KIMM_Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
.site-main .sp-hero h1 {
  font-family: 'KIMM_Bold', var(--font-sans);
  font-size: 35px;
}
.site-main .sp-page p.sp-lead { font-size: 18px; }
.site-main .sp-hero__panel { transform: translateY(25px); font-weight: 700; }
.site-main .sp-hero__panel-list b { font-weight: 700; }
.site-main .sp-hero { padding-top: calc(clamp(96px, 11vw, 140px) - 50px); }

/* 확인되지 않는 수치(중소기업 전용 패키지)는 빼고 검증 가능한 3개만 쓴다 — 4열 대신 3열 */
.site-main .sp-stats__grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .site-main .sp-stats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .site-main .sp-stats__grid { grid-template-columns: 1fr; } }

/* ═══════════ company 전용 페이지 (index·content·new·connect·search) ═══════════ */

.co-hero { padding: 2rem 0; margin-bottom: 1.5rem; border-bottom: 2px solid var(--brand); }
.co-hero h1 { margin: 0 0 .375rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -.4px; }
.co-hero p { margin: 0; color: var(--muted-foreground); font-size: var(--text-sm); }

.co-doc-head { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap;
  padding-bottom: .875rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--brand); }
.co-doc-head h1 { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.3px; }
.co-doc-head .count { color: var(--muted-foreground); font-size: var(--text-sm); }

.co-board-list { display: grid; gap: 1.5rem; }
.co-board-block { background: var(--card); border: 1px solid var(--border); }
.co-board-head {
  display: flex; align-items: center; gap: .625rem; padding: .875rem 1.25rem;
  background: var(--muted); border-bottom: 1px solid var(--border);
}
.co-board-head h2 { margin: 0; font-size: 1rem; font-weight: 700; }
.co-board-head .more { margin-left: auto; font-size: var(--text-sm); color: var(--muted-foreground); }
.co-latest-list { padding: .5rem 1.25rem; }
.co-latest-list li {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: .6rem 0; border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
}
.co-latest-list li:last-child { border-bottom: none; }
.co-latest-list .d { margin-left: auto; font-size: var(--text-xs); color: var(--muted-foreground); }

/* ═══════════ 회사소개(인사말) — daon.eworks.kr/sub/company/01.php scontents 영역과 같은 구성 ═══════════ */

.co-about { padding-bottom: 1rem; }
.co-about-vline { display: block; width: 1px; height: 20px; margin: 0 auto; background: var(--border); }
.co-about-eng { display: block; margin: .625rem 0; text-align: center; font-size: 1.4rem; font-weight: 600; }
.co-about-eng em { color: var(--brand); font-style: normal; }
.co-about-stitle { margin-bottom: 1.5rem; text-align: center; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }

.co-about-greet { margin-bottom: 3rem; }
.co-about-greet::after { content: ""; display: block; clear: both; }
.co-about-greet-img {
  position: relative; width: 100%; height: 280px; margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-active) 100%);
}
.co-about-greet-badge {
  position: absolute; right: 4%; bottom: -25px; min-width: 40%; max-width: 90%;
  padding: 1.5rem; text-align: left; background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.co-about-greet-badge em { display: block; font-size: var(--text-xs); font-style: normal; letter-spacing: .2em; color: var(--brand); }
.co-about-greet-badge p { display: block; margin-top: .625rem; font-size: 1.05rem; line-height: 1.3; font-weight: 600; }

.co-about-greet-body { padding: 0 2%; }
.co-about-greet-texts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 4%; }
.co-about-greet-texts dl { width: 48%; }
.co-about-greet-texts dt { font-size: 1.2rem; font-weight: 600; line-height: 1.4; }
.co-about-greet-texts dd p { margin-top: 1rem; font-size: var(--text-sm); line-height: 1.7; color: var(--foreground); }
.co-about-greet-sign { margin-top: 1.5rem; text-align: right; font-size: var(--text-sm); }
.co-about-greet-sign span { display: block; margin-top: .25rem; font-size: 1.2rem; font-weight: 700; letter-spacing: .15em; }

.co-about-section-title { position: relative; margin: 3rem 0 1.5rem; text-align: center; }
.co-about-section-title::before {
  content: ""; display: block; width: 40px; height: 2px; margin: 0 auto .875rem; background: var(--foreground);
}
.co-about-section-title h2 { margin: 0; font-size: 1.4rem; font-weight: 700; }
.co-about-section-title p { margin-top: .625rem; font-size: var(--text-sm); color: var(--muted-foreground); }

.co-about-overview ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5%; }
.co-about-overview li { border: 1px solid var(--border); }
.co-about-overview .box { display: flex; align-items: center; gap: .875rem; padding: 1.5rem; }
.co-about-overview .box .icon { flex: none; color: var(--brand); }
.co-about-overview .box dt { font-size: var(--text-xs); color: var(--muted-foreground); }
.co-about-overview .box dd { margin-top: .375rem; font-size: 1.05rem; font-weight: 700; }

@media (max-width: 768px) {
  .co-about-greet-img { height: auto; padding-bottom: 55%; }
  .co-about-greet-badge { position: static; margin-top: -2rem; margin-left: 4%; margin-right: 4%; }
  .co-about-greet-texts dl { width: 100%; }
  .co-about-overview ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .co-about-overview ul { grid-template-columns: 1fr; }
}

/* ═══════════ 회사소개(연혁) — daon.eworks.kr/sub/company/02.php scontents 영역과 같은 구성 ═══════════ */

.co-history-list { padding-top: 2rem; }
.co-history-item { display: flex; align-items: flex-start; }
.co-history-year { flex: 0 0 20%; padding-top: .2rem; text-align: center; font-size: 1.2rem; font-weight: 600; }
.co-history-body { flex: 1; padding-left: 2rem; }
.co-history-body dl { position: relative; padding-bottom: 2rem; }
.co-history-body dl::before {
  content: ""; position: absolute; top: .6rem; left: -2rem; z-index: 0;
  width: 1px; height: 100%; background: var(--border);
}
.co-history-item:last-child .co-history-body dl { padding-bottom: 0; }
.co-history-body dt {
  position: relative; margin-top: 1rem; font-size: var(--text-base); font-weight: 600;
}
.co-history-body dt:first-child { margin-top: 0; }
.co-history-body dt::after {
  content: ""; position: absolute; top: .5rem; left: -2.25rem; z-index: 1;
  width: 8px; height: 8px; background: var(--brand); border-radius: 50%;
}
.co-history-body dd { margin-top: .5rem; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }

@media (max-width: 768px) {
  .co-history-list { padding-top: 1rem; }
  .co-history-item { display: block; }
  .co-history-year { display: inline-block; width: auto; padding: .375rem 1rem; margin-bottom: 1rem; background: var(--muted); border-radius: var(--radius-lg); text-align: left; }
  .co-history-body { padding-left: 1.25rem; }
  .co-history-body dl::before { left: -1.25rem; }
  .co-history-body dt::after { left: -1.5rem; }
}

/* ═══════════ 회사소개(조직도) ═══════════ */

.co-org { padding-top: 2.5rem; text-align: center; }

.co-org-ceo-wrap { position: relative; display: inline-block; padding-bottom: 2.5rem; }
.co-org-ceo {
  display: inline-block; padding: .875rem 2.5rem; background: var(--brand);
  color: var(--brand-foreground); font-size: 1.1rem; font-weight: 700;
}
.co-org-ceo-wrap::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 2.5rem; background: var(--border);
}

.co-org-branches { display: flex; justify-content: center; gap: 1.5rem; padding-top: 2.5rem; }
.co-org-branch { position: relative; flex: 1 1 0; max-width: 280px; }
.co-org-branch::before, .co-org-branch::after {
  content: ""; position: absolute; top: -2.5rem; width: 50%; height: 1px; background: var(--border);
}
.co-org-branch::before { left: 0; }
.co-org-branch::after  { right: 0; }
.co-org-branch:first-child::before { display: none; }
.co-org-branch:last-child::after   { display: none; }
.co-org-box { position: relative; height: 100%; border: 1px solid var(--border); background: var(--card); text-align: left; }
.co-org-box::before {
  content: ""; position: absolute; top: -2.5rem; left: 50%; width: 1px; height: 2.5rem; background: var(--border);
}
.co-org-box-head {
  padding: .875rem 1.25rem; background: var(--muted); border-bottom: 1px solid var(--border);
  font-size: var(--text-base); font-weight: 700; text-align: center;
}
.co-org-teams { padding: .75rem 1.25rem 1rem; }
.co-org-teams li {
  position: relative; padding: .45rem 0 .45rem .9rem; font-size: var(--text-sm); color: var(--muted-foreground);
  border-bottom: 1px solid var(--border-subtle);
}
.co-org-teams li:last-child { border-bottom: none; }
.co-org-teams li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 5px; height: 1px; background: var(--muted-foreground);
}

@media (max-width: 768px) {
  .co-org-branches { flex-direction: column; align-items: stretch; gap: 1.5rem; padding-top: 1.5rem; }
  .co-org-branch { max-width: none; }
  .co-org-branch::before, .co-org-branch::after { display: none; }
  .co-org-box::before { display: none; }
  .co-org-box-head::before {
    content: ""; display: block; width: 24px; height: 2px; margin: 0 auto .625rem; background: var(--brand);
  }
}

/* ═══════════ 회사소개(오시는 길) — daon.eworks.kr/sub/company/05.php scontents 영역과 같은 구성 ═══════════ */

.co-contact-map {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .625rem;
  height: 380px; background: var(--muted); border: 1px solid var(--border); color: var(--muted-foreground);
  text-align: center;
}
.co-contact-map .icon { color: var(--brand); }
.co-contact-map p { margin: 0; font-size: var(--text-sm); }
.co-contact-map-links { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }

.co-contact-info {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding: 1.5rem 0; margin-top: 1.5rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.co-contact-info span { font-size: var(--text-sm); }
.co-contact-info strong { margin-right: .5rem; color: var(--foreground); }

.co-contact-transit { margin-top: 2rem; }
.co-contact-transit table { width: 100%; border-collapse: collapse; }
.co-contact-transit th {
  width: 15%; padding: .875rem; background: var(--muted); border-bottom: 1px solid var(--border);
  font-weight: 600; text-align: center;
}
.co-contact-transit td { padding: .875rem 1.25rem; border-bottom: 1px solid var(--border); font-size: var(--text-sm); line-height: 1.6; }
.co-contact-transit .line {
  display: inline-block; margin-right: .5rem; padding: 0 .5rem; border-radius: var(--radius-sm);
  font-size: var(--text-xs); color: #fff;
}

@media (max-width: 768px) {
  .co-contact-info { flex-direction: column; gap: .5rem; }
  .co-contact-transit th { width: 20%; }
}
@media (max-width: 480px) {
  .co-contact-transit table, .co-contact-transit tbody, .co-contact-transit tr { display: block; width: 100%; }
  .co-contact-transit th { width: 100%; text-align: left; border-bottom: none; padding-bottom: .25rem; }
  .co-contact-transit td { width: 100%; padding-top: 0; padding-bottom: 1.25rem; }
}

/* ═══════════ 회사소개(기업이념) — daon.eworks.kr/sub/company/04.php scontents 영역과 같은 구성 ═══════════ */

.co-phil-quote {
  position: relative; max-width: 640px; margin: 0 auto 3.5rem; padding: 2rem 1.5rem;
  background: var(--muted); border-radius: var(--radius-lg); text-align: center;
}
.co-phil-quote::after {
  content: ""; position: absolute; left: 50%; bottom: -2.5rem; width: 1px; height: 2.5rem; background: var(--border);
}
.co-phil-quote p { margin: 0; font-size: 1.3rem; font-weight: 600; line-height: 1.4; }
.co-phil-quote p span { color: var(--brand); }

.co-phil-values { position: relative; display: flex; flex-wrap: wrap; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.co-phil-values::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: -2.5rem; height: 1px; background: var(--border);
}
.co-phil-value { position: relative; flex: 1 1 0; min-width: 160px; padding: 2rem 1.25rem; text-align: center; color: #fff; }
.co-phil-value::before {
  content: ""; position: absolute; left: 50%; top: -2.5rem; width: 1px; height: 2.5rem; background: var(--border);
}
.co-phil-value::after {
  content: ""; position: absolute; left: 50%; top: -2.5rem; transform: translate(-50%, -50%); width: 10px; height: 10px;
  background: var(--card); border: 2px solid var(--border); border-radius: 50%;
}
.co-phil-value.bg1 { background: var(--brand); }
.co-phil-value.bg2 { background: var(--brand-hover); }
.co-phil-value.bg3 { background: #001e5d; }
.co-phil-value.bg4 { background: #333; }
.co-phil-value .icon { color: #fff; }
.co-phil-value strong { display: block; margin: 1rem 0 .625rem; font-size: 1.1rem; }
.co-phil-value p { margin: 0; font-size: var(--text-sm); line-height: 1.6; opacity: .92; }
.co-phil-gap { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 2.5rem; font-size: 1.4rem; color: var(--muted-foreground); }

.co-phil-title { position: relative; margin: 3.5rem 0 1.5rem; text-align: center; }
.co-phil-title h2 {
  position: relative; z-index: 1; display: inline-block; margin: 0; padding: 0 .75rem;
  font-size: 1.4rem; font-weight: 700; background: var(--card);
}
.co-phil-title h2::after {
  content: ""; position: absolute; right: -6px; top: -2px; z-index: -1; width: 8px; height: 8px;
  background: var(--brand); border-radius: 50%;
}
.co-phil-title p { margin-top: .625rem; font-size: var(--text-sm); color: var(--muted-foreground); }

.co-phil-card { position: relative; max-width: 80%; margin: 1.5rem auto 0; padding: 2rem 1.5rem; background: var(--card); border: 1px solid var(--border); }
.co-phil-card::before, .co-phil-card::after { content: ""; position: absolute; width: 20px; height: 20px; }
.co-phil-card::before { left: 0; top: 0; border-left: 3px solid var(--foreground); border-top: 3px solid var(--foreground); }
.co-phil-card::after  { right: 0; bottom: 0; border-right: 3px solid var(--foreground); border-bottom: 3px solid var(--foreground); }
.co-phil-card-tit { display: inline-block; width: 22%; vertical-align: middle; text-align: center; }
.co-phil-card-tit span { font-size: 1.3rem; font-weight: 700; }
.co-phil-card-body { display: inline-block; width: 75%; vertical-align: middle; }
.co-phil-card-body dd {
  position: relative; margin-bottom: .5rem; padding-left: 1rem; font-size: var(--text-sm); line-height: 1.6; color: var(--foreground);
}
.co-phil-card-body dd::before { content: ""; position: absolute; left: 0; top: .65rem; width: 4px; height: 4px; background: var(--muted-foreground); border-radius: 50%; }
.co-phil-card-body dd:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .co-phil-quote { padding: 1.5rem 1.25rem; }
  .co-phil-quote p { font-size: 1.1rem; }
  .co-phil-values { flex-direction: column; margin-top: 1.5rem; }
  .co-phil-values::before { display: none; }
  .co-phil-value { width: 100%; margin-bottom: .75rem; padding: 1.5rem 1.25rem; }
  .co-phil-value::before, .co-phil-value::after { display: none; }
  .co-phil-gap { display: none; }

  .co-phil-card { max-width: 100%; padding: 1.5rem 1.25rem; text-align: center; }
  .co-phil-card-tit, .co-phil-card-body { display: block; width: 100%; }
  .co-phil-card-body { margin-top: 1rem; text-align: left; }
}

/* 이미지 자리를 대신하는 그라데이션 플레이스홀더 — 사업영역 페이지들에서 공통으로 쓴다 */
.co-busi-ph {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 180px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-active) 100%); color: #fff;
}

/* ═══════════ 사업영역 Type01 — daon.eworks.kr/sub/business/01.php scontents 영역과 같은 구성 ═══════════ */

.co-busi1 { display: flex; flex-wrap: wrap; gap: 2%; margin-top: 2.5rem; }
.co-busi1-item {
  display: flex; width: 49%; margin-bottom: 2%; background: var(--card); border: 1px solid var(--border);
  overflow: hidden;
}
.co-busi1-thumb { flex: 0 0 40%; }
.co-busi1-body { position: relative; flex: 1; padding: 2.25rem 1.25rem 1.25rem; }
.co-busi1-num {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: var(--muted); color: var(--muted-foreground); font-weight: 600; transition: .3s ease;
}
.co-busi1-item:hover .co-busi1-num { background: var(--brand); color: var(--brand-foreground); }
.co-busi1-body h4 { margin: 1rem 0; font-size: 1.3rem; font-weight: 700; }
.co-busi1-body p {
  margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 768px) {
  .co-busi1-item { width: 100%; flex-direction: row; }
}
@media (max-width: 480px) {
  .co-busi1-item { flex-direction: column; }
  .co-busi1-body { text-align: center; }
  .co-busi1-body p { -webkit-line-clamp: unset; }
}

/* ═══════════ 사업영역 Type02 — daon.eworks.kr/sub/business/02.php scontents 영역과 같은 구성 ═══════════ */

.co-busi2 { margin-top: 2.5rem; }
.co-busi2-item { display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; margin-bottom: 3.5rem; }
.co-busi2-item:last-child { margin-bottom: 0; }
.co-busi2-item:nth-child(even) { flex-direction: row-reverse; }
.co-busi2-thumb { flex: 1 1 320px; }
.co-busi2-body { flex: 1 1 320px; }
.co-busi2-num {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  color: #fff; font-weight: 600;
}
.co-busi2-item:nth-child(1) .co-busi2-num { background: var(--brand); }
.co-busi2-item:nth-child(2) .co-busi2-num { background: var(--brand-hover); }
.co-busi2-item:nth-child(3) .co-busi2-num { background: #001364; }
.co-busi2-body h3 { margin: 1rem 0 1.25rem; font-size: 1.5rem; font-weight: 700; }
.co-busi2-item:nth-child(1) h3 span { color: var(--brand); }
.co-busi2-item:nth-child(2) h3 span { color: var(--brand-hover); }
.co-busi2-item:nth-child(3) h3 span { color: #001364; }
.co-busi2-body p { margin-top: .625rem; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }

.co-busi2-table { width: 100%; margin-top: 4rem; border-collapse: collapse; border-top: 1px solid var(--foreground); }
.co-busi2-table th, .co-busi2-table td { border-bottom: 1px solid var(--border); }
.co-busi2-table thead th { padding: .875rem; background: var(--muted); font-weight: 600; text-align: center; }
.co-busi2-table tbody th { width: 28%; padding: 1.25rem; text-align: center; font-weight: 600; }
.co-busi2-table tbody th p { margin-top: .625rem; font-size: var(--text-sm); }
.co-busi2-table tbody td { width: 72%; padding: 1rem 1.5rem; text-align: left; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }
.co-busi2-table tbody .co-busi-ph { min-height: 90px; margin: 0 auto; max-width: 140px; }

@media (max-width: 768px) {
  .co-busi2-item, .co-busi2-item:nth-child(even) { flex-direction: column; text-align: center; }
  .co-busi2-table { margin-top: 2rem; }
  .co-busi2-table tbody th { width: 35%; padding: 1rem; }
}
@media (max-width: 480px) {
  .co-busi2-table, .co-busi2-table tbody, .co-busi2-table tr { display: block; width: 100%; }
  .co-busi2-table thead { display: none; }
  .co-busi2-table tbody th, .co-busi2-table tbody td { display: block; width: 100%; }
  .co-busi2-table tbody td { padding-top: 0; }
}

/* ═══════════ 사업영역 Type03 — daon.eworks.kr/sub/business/03.php scontents 영역과 같은 구성 ═══════════ */

.co-busi3 { margin-top: 2.5rem; border-top: 1px solid var(--foreground); }
.co-busi3-item {
  display: flex; align-items: center; gap: 2.5rem; padding: 2.25rem 2%; border-bottom: 1px solid var(--border);
}
.co-busi3-item:nth-child(even) { background: var(--muted); }
.co-busi3-thumb { flex: 0 0 40%; }
.co-busi3-body { position: relative; flex: 1; }
.co-busi3-num { display: inline-block; padding: .25rem .5rem; font-size: var(--text-sm); border-bottom: 1px solid var(--foreground); }
.co-busi3-body h4 { margin: 1rem 0; font-size: 1.3rem; font-weight: 700; }
.co-busi3-body p { margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }
.co-busi3-more {
  position: absolute; right: 0; top: 0; display: inline-block; min-width: 120px; padding: .5rem 1rem;
  text-align: center; font-size: var(--text-sm); background: var(--card); border: 1px solid var(--border);
  transition: .2s ease;
}
.co-busi3-item:hover .co-busi3-more { color: #fff; background: var(--brand); border-color: var(--brand); }

@media (max-width: 768px) {
  .co-busi3-item { flex-direction: column; text-align: center; }
  .co-busi3-thumb { flex-basis: 100%; }
  .co-busi3-more { position: static; display: block; margin-top: 1.5rem; }
}

/* ═══════════ 사업분야 — 지원 서버 유형 태그 (business1.php · 홈 요약 공통) ═══════════ */

.co-busi-tags {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none;
}
.co-busi-tags li {
  padding: .4rem .9rem; background: var(--muted); border: 1px solid var(--border);
  border-radius: 999px; font-size: var(--text-sm); color: var(--foreground);
}

/* ═══════════ 메인 — 사업분야 요약 ═══════════ */

.home-biz { margin: 2.5rem 0; }
.home-biz-head { margin-bottom: 1.25rem; text-align: center; }
.home-biz-head h2 { margin: 0 0 .375rem; font-size: 1.4rem; font-weight: 700; }
.home-biz-head p { margin: 0; font-size: var(--text-sm); color: var(--muted-foreground); }

.home-biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.home-biz-card {
  padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
}
.home-biz-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  margin-bottom: .875rem; background: var(--muted); color: var(--brand); border-radius: var(--radius-md);
}
.home-biz-card h3 { margin: 0 0 .375rem; font-size: 1rem; font-weight: 700; }
.home-biz-card p { margin: 0; font-size: var(--text-sm); line-height: 1.55; color: var(--muted-foreground); }

.home-biz-tags { justify-content: center; }
.home-biz-more { margin-top: 1.5rem; text-align: center; }

@media (max-width: 880px) { .home-biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .home-biz-grid { grid-template-columns: 1fr; } }

/* ═══════════ 메인 — 연락처 카드 ═══════════ */

.home-contact { margin: 1.5rem 0 2.5rem; }
.home-contact-body { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.home-contact-t { flex: 1 1 220px; }
.home-contact-t h2 { margin: 0 0 .25rem; font-size: 1.1rem; font-weight: 700; }
.home-contact-t p { margin: 0; font-size: var(--text-sm); color: var(--muted-foreground); }
.home-contact-list { display: flex; flex-direction: column; gap: .5rem; margin: 0; padding: 0; list-style: none; flex: 1 1 320px; }
.home-contact-list li { display: flex; align-items: center; gap: .5rem; font-size: var(--text-sm); }
.home-contact-list li svg { flex: none; color: var(--brand); }
.home-contact-link { flex: none; }

@media (max-width: 640px) {
  .home-contact-body { flex-direction: column; align-items: flex-start; }
  .home-contact-link { width: 100%; }
}

/* ═══════════ 헤더 로고 — 로고 파일(site_logo.png)이 흰색 워드마크를 포함하고 있어
   라이트 모드에서도 읽히도록 브랜드 컬러 배경 칩으로 감싼다 ═══════════ */

.site-header .gnb { margin-left: 50px; }
.site-header .gnb-1a { font-size: 16px; padding: 8px 11px; }

.brand-logo { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo img { display: block; height: 40px; width: auto; }
.menu-all-top .brand-logo img, .drawer-hd .brand-logo img { height: 32px; }

/* ═══════════ 푸터 — 사업자정보 줄 ═══════════ */

.ft-biz-info { margin: 0 0 6px; }
.ft-biz-info span:not(:last-child)::after { content: "|"; margin: 0 6px; opacity: .5; }
.ft-biz-info a { color: inherit; }
.ft-biz-info a:hover { color: var(--foreground); text-decoration: underline; }
