:root {
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --navy: #0f172a;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg-soft: #f5f7fb;
  --white: #ffffff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: -0.3px; }
.logo-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.logo-text { line-height: 1.15; }
.logo-slogan { display: block; font-size: 10px; font-weight: 700; color: var(--primary); letter-spacing: 1.2px; margin-bottom: 3px; font-family: 'Consolas', 'Menlo', monospace; }
.logo small { display: block; font-size: 9px; font-weight: 500; color: var(--muted); letter-spacing: 2px; margin-top: 3px; }
footer .logo { color: #fff; }
footer .logo-slogan { color: #60a5fa; }
.menu { display: flex; gap: 40px; list-style: none; }
.menu a { font-weight: 500; font-size: 16px; color: var(--text); transition: color .2s; position: relative; padding: 26px 0; }
.menu a:hover, .menu a.active { color: var(--primary); }
.menu a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--primary); }
.btn { display: inline-block; padding: 12px 26px; border-radius: 6px; font-weight: 700; font-size: 15px; transition: all .2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-line { border: 1px solid var(--line); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--primary); color: var(--primary); }
.nav .btn { padding: 9px 20px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--navy); }

/* Main hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; background: var(--navy) url('../images/hero.png') center/cover no-repeat; margin-top: 76px; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.7) 50%, rgba(15,23,42,.3) 100%); }
.hero .container { position: relative; width: 100%; }
.hero-label { display: inline-block; font-size: 14px; font-weight: 500; letter-spacing: 2px; color: #93c5fd; margin-bottom: 18px; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.3; margin-bottom: 22px; }
.hero p { font-size: 18px; color: #cbd5e1; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sub page hero */
.page-hero { position: relative; margin-top: 76px; height: 300px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--navy) center/cover no-repeat; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(15,23,42,.68); }
.page-hero .container { position: relative; }
.page-hero .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: #93c5fd; }
.page-hero h1 { font-size: 40px; font-weight: 800; margin: 6px 0 8px; }
.page-hero p { color: #cbd5e1; font-size: 16px; }
.breadcrumb { border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.breadcrumb .container { display: flex; gap: 10px; height: 52px; align-items: center; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb strong { color: var(--navy); font-weight: 500; }

/* Sections */
section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: 2px; }
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--navy); margin: 8px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-more { text-align: center; margin-top: 44px; }
.bg-soft { background: var(--bg-soft); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: #dbe3f0; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text .eyebrow { color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: 2px; }
.about-text h2 { font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.4; margin: 8px 0 22px; }
.about-text p { color: #4b5563; margin-bottom: 16px; }
.about-text .btn { margin-top: 10px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.value { border-top: 3px solid var(--primary); padding-top: 14px; }
.value strong { display: block; color: var(--navy); font-size: 16px; }
.value span { color: var(--muted); font-size: 14px; }

/* Vision cards */
.vision { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vision-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px 30px; }
.vision-card .num { font-size: 14px; font-weight: 800; color: var(--primary); letter-spacing: 1px; }
.vision-card h3 { font-size: 20px; color: var(--navy); margin: 8px 0 10px; }
.vision-card p { color: var(--muted); font-size: 15px; }

/* Info table */
.info-table { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; border-top: 2px solid var(--navy); }
.info-table th, .info-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; vertical-align: top; }
.info-table th { width: 200px; background: var(--bg-soft); color: var(--navy); font-weight: 700; }

/* Map */
.map-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: stretch; }
.map-wrap iframe { width: 100%; min-height: 380px; border: 0; border-radius: 12px; background: #e5e7eb; }
.map-info { background: var(--bg-soft); border-radius: 12px; padding: 32px; }
.map-info h3 { color: var(--navy); font-size: 20px; margin-bottom: 18px; }
.map-info dl { font-size: 15px; }
.map-info dt { color: var(--muted); font-size: 13px; margin-top: 16px; }
.map-info dd { color: var(--text); font-weight: 500; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px 28px; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08); }
.service-icon { width: 54px; height: 54px; border-radius: 12px; background: #eff4ff; color: var(--primary); display: grid; place-items: center; margin-bottom: 22px; }
.service-icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.service ul, .service-detail ul { list-style: none; font-size: 14px; color: #4b5563; }
.service li, .service-detail li { padding: 3px 0 3px 14px; position: relative; }
.service li::before, .service-detail li::before { content: ''; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

/* Service detail rows */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: 0; padding-bottom: 0; }
.service-detail:nth-child(even) .sd-img { order: 2; }
.sd-img { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: #dbe3f0; }
.sd-img img { width: 100%; height: 100%; object-fit: cover; }
.sd-text .num { font-size: 14px; font-weight: 800; color: var(--primary); letter-spacing: 1px; }
.sd-text h3 { font-size: 28px; color: var(--navy); margin: 6px 0 14px; }
.sd-text > p { color: #4b5563; margin-bottom: 18px; }
.service-detail ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; font-size: 15px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); }
.step { text-align: center; padding: 0 14px; position: relative; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 36px; right: -12px; width: 24px; height: 2px; background: #c7d2fe; }
.step-num { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.step h4 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* Works */
.filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 8px 20px; border-radius: 30px; font: inherit; font-size: 14px; font-weight: 500; color: #4b5563; cursor: pointer; }
.filters button.active, .filters button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.work-thumb { aspect-ratio: 16/10; background: #dbe3f0; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work:hover .work-thumb img { transform: scale(1.04); }
.work-body { padding: 22px 24px 26px; }
.work-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary); background: #eff4ff; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.work-body h4 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.work-body p { font-size: 14px; color: var(--muted); }
.work-body .scope { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: #4b5563; }

/* Tech */
.tech-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-group { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.tech-group h4 { font-size: 15px; color: var(--primary); letter-spacing: 1px; margin-bottom: 12px; }
.tech-group span { display: inline-block; margin: 0 6px 8px 0; padding: 5px 12px; background: var(--bg-soft); border-radius: 20px; font-size: 14px; color: #374151; }

/* CTA */
.cta { background: var(--primary); color: #fff; padding: 64px 0; }
.cta .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: 28px; font-weight: 800; }
.cta p { color: #dbeafe; }
.cta .btn { background: #fff; color: var(--primary); }
.cta .btn:hover { background: var(--navy); color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 26px; background: var(--navy); color: #fff; border-radius: 14px; padding: 40px 34px; }
.contact-info h3 { font-size: 22px; }
.contact-info > p { color: #94a3b8; font-size: 15px; margin-top: -14px; }
.info-item { display: flex; gap: 16px; }
.info-icon { flex: 0 0 46px; height: 46px; border-radius: 10px; background: rgba(147,197,253,.12); color: #93c5fd; display: grid; place-items: center; }
.info-icon svg { width: 22px; height: 22px; }
.info-item strong { display: block; font-size: 14px; color: #94a3b8; font-weight: 500; }
.info-item span, .info-item a { font-size: 16px; color: #fff; }
form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field label .req { color: #dc2626; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 15px; background: #fafbfc; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.agree { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #4b5563; margin: 4px 0 18px; }
form .btn { width: 100%; border: 0; cursor: pointer; padding: 14px; font-size: 16px; }

/* Footer */
footer { background: #0b1120; color: #94a3b8; padding: 50px 0 40px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 26px; border-bottom: 1px solid #1e293b; margin-bottom: 26px; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: #fff; }
.biz-info { line-height: 2; }
.biz-info span { display: inline-block; margin-right: 18px; }
.biz-info em { font-style: normal; color: #cbd5e1; margin-right: 6px; }
.copyright { margin-top: 18px; color: #64748b; font-size: 13px; }

/* Responsive */
@media (max-width: 1024px) {
  .services, .tech-groups { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .step::after { display: none; }
}
@media (max-width: 768px) {
  .menu, .nav .btn { display: none; }
  .menu-toggle { display: block; }
  .menu.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); }
  .menu.open a { display: block; padding: 14px 24px; }
  .menu.open a.active::after { display: none; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .page-hero { height: 220px; }
  .page-hero h1 { font-size: 30px; }
  section { padding: 64px 0; }
  .section-head h2, .about-text h2 { font-size: 26px; }
  .about-grid, .contact-grid, .map-wrap, .service-detail { grid-template-columns: 1fr; gap: 28px; }
  .service-detail:nth-child(even) .sd-img { order: 0; }
  .services, .works, .vision, .tech-groups { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .values, .form-row, .service-detail ul { grid-template-columns: 1fr; }
  .info-table th { width: 110px; padding: 14px; }
  .info-table td { padding: 14px; }
  .cta { text-align: center; }
  .cta .container { justify-content: center; }
  form { padding: 24px; }
}
