:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --text: #0f172a;
  --muted: #526077;
  --line: #e2e8f0;
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-soft: #e8efff;
  --hero-bg: #0b1530;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }

.lead { font-size: 18px; color: var(--muted); }

/* 정보 미입력 자리표시 */
[data-todo] { color: #b45309; }

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #2563eb; }
.btn-ghost { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { border-color: #fff; }

/* 헤더 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15,23,42,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; font-size: 18px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-weight: 600; font-size: 15px; }
.site-nav a:not(.nav-cta):hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: #fff; padding: 9px 18px; border-radius: 8px; }
.nav-cta:hover { background: #2563eb; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* 히어로 */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1000px 500px at 80% 0%, #1d3a8a 0%, transparent 60%), var(--hero-bg);
  color: #fff;
}
.hero-inner { position: relative; z-index: 1; padding: 140px 24px 150px; }
.hero .eyebrow { color: #93b4ff; }
.hero h1 { font-size: clamp(34px, 5.6vw, 60px); font-weight: 800; }
.hero h1 em { font-style: normal; color: #7aa2ff; }
.hero .lead { color: #c3cde0; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to left, #000 10%, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 70%);
}

.not-found { min-height: 100vh; display: flex; align-items: center; }

/* 섹션 공통 */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }

/* 회사소개 */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.about-body p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.facts { margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }

/* 사업분야 */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #bfd0ff; box-shadow: 0 12px 32px rgba(29,78,216,.08); transform: translateY(-2px); }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.card li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-right: 10px; vertical-align: middle; }

/* 수행방식 */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li { border-top: 2px solid var(--primary); padding-top: 22px; }
.step-no { font-size: 14px; font-weight: 800; color: var(--primary); }
.steps h3 { font-size: 19px; font-weight: 800; margin: 8px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* 문의 */
.contact { background: var(--hero-bg); color: #fff; }
.contact .eyebrow { color: #93b4ff; }
.contact .lead { color: #c3cde0; margin-top: 16px; }
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li {
  display: grid; grid-template-columns: 70px 1fr; align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}
.contact-list span { color: #93a3c0; font-size: 14px; }
.contact-list a, .contact-list address { font-style: normal; font-weight: 700; }
.contact-list a:hover { color: #7aa2ff; }
.contact [data-todo] { color: #fbbf24; }

/* 푸터 */
.site-footer { background: #070e22; color: #8492ad; font-size: 14px; padding: 40px 0; }
.site-footer strong { color: #fff; display: block; margin-bottom: 6px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.site-footer [data-todo] { color: #fbbf24; }

/* 반응형 */
@media (max-width: 900px) {
  .about, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .br-pc { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero-inner { padding: 96px 16px 104px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 28px; }
  .steps { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 12px; text-align: center; border: 0; }
}
