/* (주)넥시온 홈페이지 — 색상 출처: 명함 인쇄용 PDF (2026-10-17) */
:root {
  --color-navy: #0B1F33;          /* 명함: 로고·이름 */
  --color-orange: #D86A30;        /* 명함: 로고 X·밑줄 — 장식 전용 (흰 배경 글자로는 대비 부족) */
  --color-orange-on-dark: #E8804A;/* 명함 뒷면: 남색 배경 위 주황 */
  --color-accent: #A8461A;        /* 명함: 직함 글씨 — 흰 배경 위 링크/강조 글자 (대비 6:1 이상) */
  --color-accent-strong: #8A3914;
  --color-text: #0B1F33;
  --color-muted: #4A5866;         /* 명함: 보조 글씨 */
  --color-line: #E3E1DA;
  --color-bg: #ffffff;
  --color-bg-alt: #F4F3EF;        /* 명함: 앞면 배경 */
  --color-footer-bg: #0B1F33;     /* 명함: 뒷면 배경 */
  --color-footer-text: #A3AFBB;   /* 명함: 뒷면 보조 글씨 */
  --radius: 10px;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7;
  color: var(--color-text); background: var(--color-bg); word-break: keep-all; overflow-wrap: anywhere;
}
/* 내용이 짧은 페이지에서도 푸터를 화면 하단에 고정 */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-text); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--color-line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 28px; width: auto; }
@media (max-width: 767px) { .logo img { height: 24px; } }
.gnb { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.gnb a { color: var(--color-text); text-decoration: none; font-weight: 600; padding: 8px 0; }
.gnb a:hover, .gnb a[aria-current="page"] { color: var(--color-accent); }
.nav-toggle { display: none; }

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after {
    display: block; width: 22px; height: 2px; background: var(--color-text); position: relative; content: "";
  }
  .nav-toggle .bar::before { position: absolute; top: -7px; }
  .nav-toggle .bar::after { position: absolute; top: 7px; }
  .gnb {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--color-line);
  }
  .gnb.open { display: flex; }
  .gnb a { display: block; padding: 14px var(--gutter); }
}

/* 히어로 */
.hero { background: var(--color-navy); color: #fff; padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero::after { /* 명함 뒷면의 점 패턴 */
  content: ""; position: absolute; right: 6%; bottom: 18%; width: 132px; height: 132px; opacity: .55;
  background-image: radial-gradient(circle, #2A4C70 5px, transparent 5.5px); background-size: 33px 33px;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow { font-size: .85rem; letter-spacing: .35em; color: var(--color-footer-text); margin-bottom: 18px; } /* 명함 뒷면 자간 */
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; }
.hero-summary { font-size: 1.15rem; color: var(--color-footer-text); max-width: 640px; }
.hero .btn-primary { background: var(--color-orange-on-dark); border-color: var(--color-orange-on-dark); color: var(--color-navy); }
.hero .btn-primary:hover { background: #F09468; }
.hero .btn:not(.btn-primary) { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 767px) { .hero::after { display: none; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border: 1px solid var(--color-line); border-radius: var(--radius); background: #fff;
  color: var(--color-text); text-decoration: none; font-weight: 600;
}
.btn-primary { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.btn-primary:hover { background: #1A3350; }

/* 섹션 */
.page-head { background: var(--color-bg-alt); padding: 56px 0 40px; border-bottom: 1px solid var(--color-line); }
.page-head h1::after { content: ""; display: block; width: 48px; height: 4px; margin-top: 14px; background: var(--color-orange); } /* 명함 직함 밑줄 */
.page-head h1 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin: 0; }
.section { padding: 64px 0; }
.section.alt { background: var(--color-bg-alt); }
.section-title { font-size: 1.5rem; }
.lead { font-size: 1.15rem; color: var(--color-muted); }
.prose { max-width: 760px; }
.sign { text-align: right; font-weight: 600; margin-top: 2em; }
.meta { color: var(--color-muted); }
.empty { color: var(--color-muted); padding: 24px 0; }

.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--color-muted); }
.more { font-weight: 600; text-decoration: none; }

.detail { padding: 8px 0 40px; border-bottom: 1px solid var(--color-line); margin-bottom: 40px; }
.detail:last-child { border-bottom: 0; margin-bottom: 0; }
.detail img { margin: 16px 0; border-radius: var(--radius); }
.features { padding-left: 1.2em; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--color-line); }
.info-list .label { min-width: 96px; font-weight: 600; color: var(--color-muted); }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.timeline .date { min-width: 88px; font-weight: 700; color: var(--color-accent); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--color-line); }
th { background: var(--color-bg-alt); }

/* 푸터 */
.site-footer { background: var(--color-footer-bg); color: var(--color-footer-text); padding: 40px 0; font-size: .9rem; }
.site-footer a { color: #fff; }
.footer-name { margin-bottom: 16px; }
.footer-name img { height: 24px; width: auto; }
.footer-info { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-info .label { margin-right: 6px; opacity: .75; }
.copyright { margin: 0; opacity: .75; }
