:root {
  --bg: #0d1117;
  --bg-alt: #131a22;
  --steel: #8b98a5;
  --steel-light: #c7d0d9;
  --accent: #e0932e;
  --accent-dark: #b8721c;
  --text: #e8ecef;
  --text-dim: #9aa5ae;
  --line: #232d38;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* 헤더 */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; flex-wrap: wrap; gap: 12px; }
.logo { font-size: 20px; font-weight: bold; letter-spacing: 1px; }
.logo span { color: var(--accent); }
nav ul { display: flex; gap: 32px; list-style: none; font-size: 14px; flex-wrap: wrap; }
nav a:hover { color: var(--accent); }
.header-cta {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 3px;
  font-size: 13px;
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent); color: #1a1200; }

/* 히어로 */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(224,147,46,0.12), transparent 45%),
    repeating-linear-gradient(135deg, #131a22 0px, #131a22 2px, #0d1117 2px, #0d1117 40px);
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero .eyebrow {
  color: var(--accent); font-size: 13px; letter-spacing: 3px; font-weight: bold; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--steel-light);
}
.hero h1 b { color: #fff; }
.hero p { color: var(--text-dim); font-size: 16px; max-width: 560px; margin-bottom: 32px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 3px; font-weight: bold; font-size: 14px;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: #1a1200; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* 스탯 바 */
.stats {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 36px 24px; }
.stats .num { font-size: 30px; font-weight: bold; color: var(--accent); }
.stats .label { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

/* 섹션 공통 */
section.block { padding: 80px 24px; }
.section-head { max-width: 560px; margin: 0 auto 50px; text-align: center; }
.section-head .eyebrow { color: var(--accent); font-size: 12px; letter-spacing: 3px; font-weight: bold; }
.section-head h2 { font-size: 28px; margin-top: 10px; color: var(--steel-light); }
.section-head p { color: var(--text-dim); margin-top: 12px; font-size: 14px; }
section.alt { background: var(--bg-alt); }

/* 사업분야 카드 */
.biz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.biz-card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: 30px 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.biz-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.biz-card .icon { font-size: 26px; margin-bottom: 16px; }
.biz-card h3 { font-size: 17px; margin-bottom: 10px; color: #fff; }
.biz-card p { font-size: 13px; color: var(--text-dim); }

/* 사업분야 상세 (business.html) */
.biz-detail {
  max-width: 760px; margin: 0 auto 20px auto;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px;
  padding: 26px 28px;
}
.biz-detail h3 { color: #fff; margin-bottom: 8px; font-size: 17px; }
.biz-detail p { color: var(--text-dim); font-size: 14px; }

/* 공정 타임라인 */
.process { background: var(--bg-alt); }
.timeline { display: flex; justify-content: space-between; position: relative; gap: 12px; flex-wrap: wrap; }
.timeline::before {
  content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: var(--line);
}
.step { flex: 1; min-width: 140px; text-align: center; position: relative; z-index: 1; }
.step .dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg-alt); border: 2px solid var(--accent);
  color: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-weight: bold;
}
.step h4 { font-size: 14px; color: #fff; margin-bottom: 6px; }
.step p { font-size: 12px; color: var(--text-dim); }

/* 고객업종 밴드 */
.industries { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.industries span {
  border: 1px solid var(--line); padding: 10px 22px; border-radius: 20px; font-size: 13px; color: var(--text-dim);
}

/* CTA 배너 */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #1a1200; text-align: center; padding: 70px 24px;
}
.cta-banner h2 { font-size: 26px; margin-bottom: 12px; }
.cta-banner p { margin-bottom: 26px; opacity: .85; }
.cta-banner .btn.primary { background: #1a1200; color: var(--accent); }
.cta-banner .btn.primary:hover { background: #000; }

/* 회사소개 정보 리스트 (about.html) */
.info-list { max-width: 700px; margin: 0 auto; }
.info-list li {
  display: flex; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--text-dim);
}
.info-list li strong { flex: 0 0 120px; color: var(--steel-light); }

/* 문의 폼 */
form { display: flex; flex-direction: column; gap: 14px; max-width: 480px; margin: 0 auto; }
form input, form textarea {
  padding: 12px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
}
form input::placeholder, form textarea::placeholder { color: var(--text-dim); }
form input:focus, form textarea:focus { outline: none; border-color: var(--accent); }
form button {
  background: var(--accent);
  color: #1a1200;
  border: none;
  padding: 14px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}
form button:hover { background: var(--accent-dark); }

/* placeholder 박스 (지도 등) */
.placeholder-box {
  max-width: 760px; margin: 0 auto;
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  color: var(--text-dim);
  border-radius: 6px;
  padding: 48px;
  text-align: center;
  font-size: 14px;
}

/* 푸터 */
footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 60px 24px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer-grid p, .footer-grid li { font-size: 13px; color: var(--text-dim); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { text-align: center; font-size: 12px; color: var(--text-dim); border-top: 1px solid var(--line); padding-top: 24px; }

@media (max-width: 760px) {
  .stats .wrap { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 28px 12px; }
  .stats .num { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  nav ul { display: none; }
  .info-list li { flex-direction: column; gap: 4px; }
  .info-list li strong { flex: none; }
}
