*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans KR', sans-serif; background: #f8f9fb; color: #374151; }

/* ── 헤더 ── */
#sh-header { width: 100%; background: #fff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
#sh-header .inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo a { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 36px; height: 36px; background: #1a56db; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo-text { font-size: 1.2rem; font-weight: 700; color: #111827; }
.logo-text span { color: #1a56db; }
#sh-nav { display: flex; align-items: center; gap: 2px; list-style: none; }
#sh-nav li a { display: block; padding: 8px 18px; font-size: 0.9rem; font-weight: 500; color: #374151; text-decoration: none; border-radius: 8px; transition: background 0.15s, color 0.15s; white-space: nowrap; }
#sh-nav li a:hover, #sh-nav li a.active { background: #eff6ff; color: #1a56db; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-contact { display: flex; align-items: center; gap: 6px; padding: 8px 16px; background: #1a56db; color: #fff; font-size: 0.85rem; font-weight: 500; border-radius: 8px; text-decoration: none; transition: background 0.15s; font-family: inherit; }
.btn-contact:hover { background: #1547b8; }
.btn-contact svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.btn-sitemap { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #d1d5db; color: #374151; font-size: 0.85rem; font-weight: 500; border-radius: 8px; text-decoration: none; transition: background 0.15s; font-family: inherit; }
.btn-sitemap:hover { background: #f9fafb; }
.btn-sitemap svg { width: 14px; height: 14px; fill: none; stroke: #6b7280; stroke-width: 2; stroke-linecap: round; }
#sh-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; border-radius: 8px; }
#sh-menu-toggle svg { width: 24px; height: 24px; fill: none; stroke: #374151; stroke-width: 2; stroke-linecap: round; }
#sh-drawer { display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: rgba(17,24,39,0.5); z-index: 999; }
#sh-drawer.open { display: block; }
#sh-drawer-inner { background: #fff; width: 280px; height: 100%; padding: 24px 20px; overflow-y: auto; }
#sh-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
#sh-drawer ul li a { display: block; padding: 12px 16px; font-size: 0.95rem; font-weight: 500; color: #374151; text-decoration: none; border-radius: 10px; }
#sh-drawer ul li a:hover { background: #eff6ff; color: #1a56db; }
.drawer-actions { margin-top: 20px; padding-top: 20px; border-top: 1px solid #f3f4f6; display: flex; flex-direction: column; gap: 8px; }

/* ── 페이지 배너 ── */
.page-banner { background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 100%); padding: 40px 24px; text-align: center; color: #fff; }
.breadcrumb { font-size: 0.82rem; opacity: 0.7; margin-bottom: 8px; }
.page-banner h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }

/* ── 서브메뉴 ── */
.sub-nav-wrap { background: #fff; border-bottom: 1px solid #e5e7eb; }
.sub-nav { max-width: 1100px; margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; gap: 4px; }
.sub-nav a { display: inline-block; padding: 8px 16px; font-size: 0.85rem; font-weight: 500; color: #6b7280; text-decoration: none; white-space: nowrap; border-radius: 6px; border: 1px solid #e5e7eb; background: #f9fafb; transition: all 0.15s; }
.sub-nav a:hover { color: #1a56db; background: #eff6ff; border-color: #93c5fd; }
.sub-nav a.active { color: #fff; background: #1a56db; border-color: #1a56db; font-weight: 600; }

/* ── 본문 ── */
.content-wrap { max-width: 900px; margin: 0 auto; padding: 48px 20px 72px; }

/* ── 연혁 ── */
.history-wrap { max-width: 600px; margin: 0 auto; }
.history-year { font-size: 1rem; font-weight: 700; color: #111827; margin: 28px 0 0; padding-bottom: 8px; border-bottom: 2px solid #1a56db; display: inline-block; }
.history-table { margin-top: 0; }
.history-row { display: flex; gap: 0; border-bottom: 1px solid #e5e7eb; padding: 10px 0; }
.hmonth { min-width: 80px; font-size: 0.85rem; font-weight: 600; color: #1a56db; padding-top: 2px; }
.hcontent { font-size: 0.88rem; color: #374151; line-height: 1.7; }

/* ── 납품실적 테이블 ── */
.record-block { margin-bottom: 36px; }
.year-label { display: inline-block; background: #1a56db; color: #fff; font-size: 0.9rem; font-weight: 700; padding: 7px 20px; border-radius: 6px 6px 0 0; }
.record-table { width: 100%; border-collapse: collapse; }
.record-table thead th { background: #f1f5f9; color: #374151; font-size: 0.83rem; font-weight: 600; padding: 10px 14px; border: 1px solid #e2e8f0; text-align: left; }
.record-table thead th:first-child { width: 70px; text-align: center; }
.record-table tbody td { padding: 9px 14px; font-size: 0.85rem; border: 1px solid #e2e8f0; vertical-align: middle; }
.record-table tbody td:first-child { text-align: center; font-weight: 700; color: #1a56db; background: #eff6ff; white-space: nowrap; }
.record-table tbody tr:hover td { background: #f8faff; }
.record-table tbody tr:hover td:first-child { background: #dbeafe; }

/* ── 인증서 ── */
.cert-wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.cert-wrap a img { width: 160px; border-radius: 8px; border: 1px solid #e5e7eb; transition: box-shadow 0.2s; display: block; }
.cert-wrap a img:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

/* ── 푸터 ── */
#sh-footer { background: #111827; padding: 36px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-icon { background: #1f2937; }
.footer-brand-name { font-size: 1rem; font-weight: 600; color: #f9fafb; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.83rem; color: #9ca3af; text-decoration: none; }
.footer-links a:hover { color: #f9fafb; }
.footer-copy { font-size: 0.78rem; color: #4b5563; width: 100%; margin-top: 8px; }

/* ── 반응형 ── */
@media (max-width: 768px) {
  #sh-nav, .header-actions { display: none; }
  #sh-menu-toggle { display: flex; align-items: center; justify-content: center; }
  .record-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .record-table thead th, .record-table tbody td { text-align: left !important; padding: 8px 10px; font-size: 0.82rem; }
  .record-table tbody td:first-child { text-align: left !important; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .content-wrap { padding: 28px 16px 48px; }
  .prod-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sub-nav { padding: 8px 12px; }
}

/* ── 전체 모바일 오버플로 방지 ── */
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; }
table { max-width: 100%; }

/* ── 푸터 ── */
#sh-footer { background: #0f1f33; color: #cbd5e1; padding: 48px 24px 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand { margin-bottom: 1.6rem; }
.footer-brand img { height: 32px; width: auto; mix-blend-mode: screen; }
.footer-address-wrap { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 1.8rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-address-block { display: flex; gap: 1rem; align-items: flex-start; }
.footer-address-label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: #7ec8e3; background: rgba(79,163,209,0.15); border: 1px solid rgba(79,163,209,0.35); border-radius: 3px; padding: 3px 8px; white-space: nowrap; margin-top: 2px; }
.footer-address-detail { display: flex; flex-direction: column; gap: 4px; }
.footer-address-text { font-size: 13px; color: #e2e8f0; line-height: 1.5; }
.footer-address-contact { font-size: 12px; color: #94a3b8; line-height: 1.5; }
.footer-address-contact a { color: #7ec8e3; text-decoration: none; }
.footer-address-contact a:hover { color: #fff; }
.footer-copy { font-size: 11px; color: #94a3b8; margin: 0; }
@media (max-width: 768px) {
  .footer-address-wrap { flex-direction: column; gap: 1.2rem; }
}
