/* 웅테크 홈페이지 — 시안 A(신뢰형) 기준 */
:root {
  --navy: #0E2A56; --navy-dark: #0A1F40; --ink: #1A2233; --muted: #4A5568; --muted-2: #6B7689;
  --line: #E3E8F0; --bg-gray: #F4F6FA; --accent: #B9531A; --accent-dark: #8A3B10; --warm: #FFB37D;
  --badge-bg: #E6ECF6; --radius: 10px; --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: 'Noto Sans KR', system-ui, -apple-system, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 920px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; color: #fff; }
.center { text-align: center; }
.mt-l { margin-top: 48px; }
.nowrap { white-space: nowrap; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 6px; font-weight: 700; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-line { border-color: #C7D0DD; color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-white { background: #fff; color: var(--accent-dark); }
.btn-white:hover { background: #FFF3EA; color: var(--accent-dark); }
.btn-line-white { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-line-white:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* 상단 */
.topbar { background: var(--navy-dark); color: #C9D3E3; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.topbar strong { color: #fff; }
.topbar a { color: #C9D3E3; }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand img { height: 44px; width: auto; }
.brand span { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; }
.gnb > ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gnb-item { position: relative; }
.gnb-link { display: flex; align-items: center; height: 80px; padding: 0 18px; font-size: 16px; font-weight: 500; color: var(--ink); }
.gnb-item.is-active > .gnb-link, .gnb-link:hover { color: var(--accent); }
.gnb-item.is-active > .gnb-link { font-weight: 700; }
.gnb-sub { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); min-width: 200px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px rgba(14,42,86,.12); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.gnb-item:hover .gnb-sub, .gnb-item:focus-within .gnb-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb-sub a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 15px; color: var(--ink); white-space: nowrap; }
.gnb-sub a:hover { background: var(--bg-gray); color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 10px; }
/* 언어 바꾸기 KO | EN */
.lang-switch { display: flex; border: 1px solid #D5DCE6; border-radius: 6px; overflow: hidden; }
.lang-switch a { padding: 7px 10px; font-size: 13px; font-weight: 700; color: var(--muted-2); line-height: 1; }
.lang-switch a + a { border-left: 1px solid #D5DCE6; }
.lang-switch a:hover { color: var(--accent); }
.lang-switch a.is-active { background: var(--navy); color: #fff; }
.lang-note { font-size: 13px; font-weight: 500; color: var(--muted-2); }
.lang-banner { margin: 0 0 20px; padding: 12px 16px; background: var(--bg-gray); border-radius: 8px; font-size: 14px; color: var(--muted); }
/* 영어: 단어가 길어 메뉴·제목을 조금 줄임 */
.lang-en .gnb-link { padding: 0 14px; font-size: 15px; }
.lang-en .hero-copy { max-width: 820px; }
.lang-en .hero h1 { font-size: 58px; letter-spacing: -0.02em; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #D5DCE6; background: #fff; border-radius: 6px; color: var(--navy); cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; padding: 16px 24px 24px; max-height: calc(100vh - 80px); overflow-y: auto; }
.mnav-group { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mnav-title { width: 100%; font-weight: 700; font-size: 17px; color: var(--navy); padding: 4px 0; }
.mnav-link { font-size: 15px; color: var(--muted); padding: 6px 0; }
.mobile-nav .btn { margin-top: 16px; }

/* 공통 섹션 */
.sec { padding: 104px 0; }
.sec-gray { background: var(--bg-gray); }
.sec-navy { background: var(--navy); color: #fff; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; }
.eyebrow-light, .eyebrow-warm { color: var(--warm); }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.sec-head h2 { font-size: 36px; font-weight: 900; color: var(--navy); }
.sec-head p { font-size: 16px; color: var(--muted); }
.sec-head.is-center { align-items: center; text-align: center; }
.sec-head.is-light h2 { color: #fff; }
.sec-head.is-light p { color: #C9D3E3; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head-row .sec-head { margin-bottom: 0; }
.sec-head-row.tight { margin-bottom: 16px; align-items: baseline; }
.sec-side { max-width: 460px; font-size: 16px; color: var(--muted); }
.lead { font-size: 17px; line-height: 1.8; color: var(--muted); }
.lead-light { color: #C9D3E3; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack .sec-head { margin-bottom: 0; }
.h-sm { font-size: 26px; font-weight: 900; color: var(--navy); }
.h-md { font-size: 32px; font-weight: 900; color: var(--navy); margin: 12px 0 16px; }
.h-xs { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.link-more { font-size: 15px; font-weight: 700; align-self: flex-start; }
.link-light { color: var(--warm); }
.link-light:hover { color: #fff; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-top { align-items: start; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

/* 첫 화면 */
.hero { position: relative; min-height: 660px; display: flex; align-items: center; overflow: hidden; background: var(--navy-dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: rgba(8, 24, 52, 0.72); }
.hero-in { position: relative; width: 100%; padding: 96px 24px; }
.hero-copy { max-width: 720px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 68px; line-height: 1.2; font-weight: 900; color: #fff; letter-spacing: -0.03em; }
.hero p { font-size: 19px; line-height: 1.7; color: #DCE4F0; }
.hero .btn-row { padding-top: 8px; }

/* 숫자 띠 */
.stats { background: var(--navy); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 8px; padding-bottom: 8px; }
.stat { --c: #FFB37D; position: relative; padding: 34px 24px; border-right: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 13%, transparent), transparent 75%); }
.stat:nth-child(2) { --c: #7CC4FF; }
.stat:nth-child(3) { --c: #7FDDB5; }
.stat:nth-child(4) { --c: #FFD866; }
.stat::before { content: ''; position: absolute; left: 24px; top: 0; width: 40px; height: 3px; border-radius: 0 0 3px 3px; background: var(--c); }
.stat:last-child { border-right: 0; }
.stat-plus { color: var(--c); font-size: .72em; font-weight: 800; vertical-align: top; margin-left: 2px; }
.stat-num { font-size: 42px; font-weight: 900; line-height: 1; white-space: nowrap; }
.stat-num small { font-size: 20px; font-weight: 700; padding-left: 4px; }
.stat-label { font-size: 14px; color: #BFCBE0; padding-top: 10px; }
.stats-light { background: var(--bg-gray); color: var(--navy); }
.stats-light .stat { border-color: var(--line); --c: #C8601F; }
.stats-light .stat:nth-child(2) { --c: #1F6FB5; }
.stats-light .stat:nth-child(3) { --c: #17855C; }
.stats-light .stat:nth-child(4) { --c: #B98600; }
.stats-light .stat-label { color: var(--muted); }

/* 카드 */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(14,42,86,.10); color: var(--ink); }
.card-photo img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card-body strong { font-size: 19px; color: var(--navy); }
.card-body span { font-size: 15px; color: var(--muted); }
.card-product { padding: 20px; gap: 12px; }
.card-thumb { height: 190px; display: flex; align-items: center; justify-content: center; background: #fff; }
.card-thumb img { max-height: 180px; width: auto; object-fit: contain; }
.card-product strong { font-size: 18px; color: var(--navy); }
.card-product > span { font-size: 14px; color: var(--muted); line-height: 1.6; }
.card-product .card-en { font-size: 13px; color: var(--muted-2); margin-top: -8px; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid.compact .card-thumb { height: 150px; }
.product-grid.compact .card-thumb img { max-height: 140px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 12px; font-weight: 700; color: var(--navy); background: var(--badge-bg); padding: 4px 8px; border-radius: 4px; }
.badge-lg { font-size: 14px; padding: 6px 12px; }
.product-group + .product-group { margin-top: 56px; }
.group-title { font-size: 20px; font-weight: 700; color: var(--navy); padding-bottom: 12px; margin-bottom: 24px; border-bottom: 2px solid var(--navy); }

/* 사진 묶음 */
.photo-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.photo-mosaic img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }
.photo-mosaic img.wide { grid-column: 1 / 3; height: 280px; }
.record-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.record-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.record-list span { font-size: 14px; color: var(--muted-2); }
.record-list strong { font-size: 15px; color: var(--navy); }

/* 로고 */
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.logo-cell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 150px; display: flex; align-items: center; justify-content: center; padding: 20px 28px; }
.logo-cell img { width: 100%; height: 100%; max-height: 96px; object-fit: contain; }
.logo-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.logo-grid-6 .logo-cell { height: 120px; padding: 16px 20px; }
.logo-grid-6 .logo-cell img { max-height: 80px; }

/* 인증 */
.cert-groups { display: flex; flex-direction: column; gap: 48px; }
.cert-group-head { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 20px; }
.cert-group-head strong { font-size: 20px; color: var(--navy); }
.cert-group-head span { font-size: 14px; color: var(--muted-2); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.cert { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cert img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.cert figcaption { display: flex; flex-direction: column; gap: 2px; }
.cert figcaption strong { font-size: 15px; color: var(--navy); }
.cert figcaption span { font-size: 13px; color: var(--muted-2); }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; }
.zoom img { transition: transform .3s; }
.zoom:hover img { transform: scale(1.02); }
.lab-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lab-logos > div { background: #fff; border-radius: var(--radius); height: 120px; display: flex; align-items: center; justify-content: center; padding: 20px 32px; }
.lab-logos img { max-height: 72px; width: auto; object-fit: contain; }
.lab-logos-light > div { border: 1px solid var(--line); }
/* 4개짜리: 칸과 로고를 조금 작게 */
.lab-logos-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lab-logos-4 > div { height: 100px; padding: 16px 20px; }
.lab-logos-4 img { max-height: 56px; max-width: 100%; }
.lab-reports { margin-top: 56px; text-align: left; }

/* 공장 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.chip-accent { background: var(--accent); border-color: var(--accent); }
.chips-dark .chip { border-color: #C7D0DD; color: var(--navy); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; }
.facts strong { display: block; font-size: 40px; font-weight: 900; line-height: 1.15; white-space: nowrap; }
.facts strong .unit { font-size: 20px; font-weight: 700; margin-left: 3px; }
.facts > div > span { font-size: 14px; color: #BFCBE0; }
.facts-dark { border-color: var(--line); }
.facts-dark strong { color: var(--navy); }
.facts-dark > div > span { color: var(--muted); }
.photo-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.photo-card img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.photo-card figcaption { font-weight: 700; color: var(--navy); }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.process-step { position: relative; background: var(--bg-gray); border-radius: var(--radius); padding: 28px 22px; display: flex; flex-direction: column; gap: 6px; }
.process-step:not(.is-last)::after { content: ''; position: absolute; right: -12px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
.process-step.is-last { background: var(--accent); color: #fff; }
.process-no { font-size: 14px; font-weight: 700; color: var(--accent); }
.process-step.is-last .process-no, .process-step.is-last .process-en { color: #FFE7D6; }
.process-step strong { font-size: 19px; }
.process-en { font-size: 13px; color: var(--muted-2); }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; font-size: 16px; }
.check-list li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.dot-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }

/* 회사 */
.prose p { font-size: 17px; line-height: 1.9; color: var(--muted); margin-bottom: 16px; }
.sign { font-size: 16px; color: var(--muted); }
.sign strong { font-size: 20px; color: var(--navy); padding-left: 6px; }
.profile-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.profile-card > img { width: 100%; height: 240px; object-fit: cover; }
.profile { margin: 0; padding: 12px 28px 20px; }
.profile > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile > div:last-child { border-bottom: 0; }
.profile dt { font-size: 14px; color: var(--muted-2); }
.profile dd { margin: 0; font-size: 15px; font-weight: 500; }
.profile small { color: var(--muted-2); font-weight: 400; }
.value-card, .strength { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.sec-gray .value-card { border: 0; }
.value-no, .strength-no { font-size: 15px; font-weight: 900; color: var(--accent); }
.value-card strong, .strength strong { font-size: 21px; color: var(--navy); }
.value-card p, .strength p { font-size: 15px; color: var(--muted); line-height: 1.75; }
.history { max-width: 880px; margin: 0 auto; border-left: 2px solid var(--navy); }
.history-year { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 0 0 36px 32px; }
.history-year::before { content: ''; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.history-year > strong { font-size: 26px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.history-year ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.history-year li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; font-size: 16px; }
.history-year li span { color: var(--accent); font-weight: 700; }

/* 서브페이지 머리 */
.page-hero { position: relative; overflow: hidden; background: var(--navy-dark); color: #fff; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-shade { position: absolute; inset: 0; background: rgba(8, 24, 52, 0.74); }
.page-hero-in { position: relative; padding-top: 88px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 12px; }
.page-hero h1 { font-size: 44px; font-weight: 900; }
.crumbs { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #C9D3E3; }
.crumbs li + li::before { content: '›'; margin-right: 8px; color: #8EA0BC; }
.crumbs a { color: #C9D3E3; }
.crumbs a:hover { color: #fff; }
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 80px; z-index: 40; }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; display: flex; align-items: center; height: 60px; padding: 0 20px; font-size: 15px; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--navy); }
.subnav a.is-active { color: var(--navy); font-weight: 700; border-bottom-color: var(--accent); }

/* 제품 상세 */
.product-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pg-main { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 460px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.pg-main img { max-height: 100%; width: auto; object-fit: contain; }
.pg-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pg-thumb { padding: 4px; border: 2px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; aspect-ratio: 1; }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.pg-thumb.is-active { border-color: var(--accent); }
.product-info { display: flex; flex-direction: column; gap: 18px; }
.product-info h2 { font-size: 36px; font-weight: 900; color: var(--navy); }
.product-en { font-size: 15px; color: var(--muted-2); margin-top: -10px; }
.product-info .btn-row { padding-top: 8px; }
.info-box { background: var(--bg-gray); border-radius: 14px; padding: 28px 32px; }
.case-client { font-size: 15px; font-weight: 700; color: var(--accent); }

/* 표 */
.table-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.table th { background: var(--navy); color: #fff; font-weight: 500; text-align: left; padding: 14px 18px; white-space: nowrap; }
.table td { padding: 13px 18px; border-top: 1px solid var(--line); }
.table tbody tr:hover td { background: #FAFBFD; }
.table-group td { background: var(--bg-gray); font-weight: 700; color: var(--navy); }
.note { font-size: 14px; color: var(--muted-2); margin-top: 14px; text-align: center; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.tag-power { background: #FCEBDD; color: var(--accent-dark); }
.tag-defense { background: #E2EADF; color: #2F5130; }
.tag-edu { background: #E6ECF6; color: var(--navy); }
.tag-public { background: #EDE7F6; color: #4B2E83; }
.tag-corp { background: #EEF0F3; color: #3D4452; }

/* 납품 사례 */
.case-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 56px; }
.case-tabs a { font-size: 14px; padding: 9px 16px; border: 1px solid #C7D0DD; border-radius: 999px; color: var(--navy); }
.case-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.cases { display: flex; flex-direction: column; gap: 72px; }
.case { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; scroll-margin-top: 160px; }
.case.is-flip .case-photos { order: 2; }
.case-photos { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-photos img { width: 100%; height: 210px; object-fit: cover; border-radius: var(--radius); }
.case-photos.count-1 { grid-template-columns: 1fr; }
.case-photos.count-1 img { height: 380px; }
.case-photos.count-3 .zoom:first-child { grid-column: 1 / 3; }
.case-photos.count-3 .zoom:first-child img { height: 280px; }
.case-body { display: flex; flex-direction: column; gap: 14px; }
.case-no { font-size: 14px; font-weight: 900; color: var(--accent); letter-spacing: .08em; }
.case-body h3 { font-size: 28px; font-weight: 900; color: var(--navy); }
.case-body p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.case-body .case-client { color: var(--accent); }
.sector-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.sector-filter button { min-height: 44px; padding: 0 16px; border: 1px solid #C7D0DD; border-radius: 999px; background: #fff; color: var(--navy); font-size: 15px; cursor: pointer; }
.sector-filter button span { color: var(--muted-2); font-size: 13px; padding-left: 2px; }
.sector-filter button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.sector-filter button.is-active span { color: #BFCBE0; }

/* 공지·연락처 */
.notice-mini { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.notice-mini li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.notice-mini a { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-mini a:hover { color: var(--accent); }
.notice-mini span { color: var(--muted-2); flex-shrink: 0; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-card { background: var(--bg-gray); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.contact-card svg { color: var(--accent); }
.contact-card strong { font-size: 16px; color: var(--navy); }
.contact-card .big { font-size: 22px; font-weight: 900; color: var(--navy); }
.contact-card .mail { font-size: 14px; font-weight: 700; color: var(--navy); white-space: nowrap; letter-spacing: -0.01em; }
.contact-card span { font-size: 13px; color: var(--muted); }
.contact-card .addr { font-size: 15px; color: var(--ink); }
.contact-card.span-2 { grid-column: 1 / 3; }
a.contact-card:hover { background: #EBEFF5; color: var(--ink); }
@media (min-width: 901px) and (max-width: 1240px) { .contact-cards { grid-template-columns: 1fr; } .contact-card.span-2 { grid-column: auto; } }

/* 게시판 */
.board-search { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 20px; }
.board-search input { width: 280px; max-width: 100%; height: 48px; border: 1px solid #C7D0DD; border-radius: 6px; padding: 0 14px; }
.board { border-top: 2px solid var(--navy); }
.board-head, .board-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) 120px; gap: 16px; align-items: center; padding: 16px 8px; border-bottom: 1px solid var(--line); }
.board-head { font-size: 14px; font-weight: 700; color: var(--muted-2); background: var(--bg-gray); }
.board-row { color: var(--ink); font-size: 16px; }
.board-row:hover { background: #FAFBFD; color: var(--accent); }
.c-no, .c-date { text-align: center; color: var(--muted-2); font-size: 14px; }
.c-title svg { display: inline; vertical-align: -2px; color: var(--muted-2); }
.board-empty { padding: 48px 0; text-align: center; color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a { min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
.pager a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.post { border-top: 2px solid var(--navy); }
.post-head { padding: 28px 8px 20px; border-bottom: 1px solid var(--line); }
.post-head h2 { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.45; }
.post-head p { display: flex; gap: 16px; margin-top: 12px; font-size: 14px; color: var(--muted-2); }
.post-body { padding: 40px 8px; font-size: 16px; line-height: 1.85; min-height: 200px; }
.post-body img { height: auto; margin: 16px auto; border-radius: 6px; }
.post-body p { margin: 0 0 8px; }
.post-files { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--bg-gray); border-radius: 8px; margin-bottom: 20px; }
.post-files strong { font-size: 14px; color: var(--navy); }
.post-comments { border-top: 1px solid var(--line); padding: 20px 8px; }
.comment { background: #FAFBFD; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
.comment-meta { font-size: 13px; color: var(--muted-2); margin-bottom: 6px; }
.post-nav { border-top: 1px solid var(--line); margin: 24px 0 32px; }
.post-nav a { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 16px 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
.post-nav a span { color: var(--muted-2); font-size: 14px; }

/* 견적 문의 */
.inquiry-wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: start; }
.inquiry-side { position: sticky; top: 170px; display: flex; flex-direction: column; gap: 20px; background: var(--bg-gray); border-radius: 14px; padding: 32px; }
.inquiry-side > p { font-size: 15px; color: var(--muted); line-height: 1.75; }
.side-contact { margin: 0; border-top: 1px solid #D5DCE6; padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.side-contact > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; font-size: 15px; }
.side-contact dt { color: var(--muted-2); }
.side-contact dd { margin: 0; font-weight: 700; white-space: nowrap; }
.side-contact dd a[href^="mailto:"] { font-size: 14px; letter-spacing: -0.01em; }
.form fieldset { border: 0; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.form legend { font-size: 19px; font-weight: 700; color: var(--navy); padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--navy); width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field em { color: var(--accent); font-style: normal; }
.field small { color: var(--muted-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid #C7D0DD; border-radius: 6px; padding: 10px 14px; font-size: 16px; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder, .board-search input::placeholder { color: #B4BCC8; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(185,83,26,.35); border-color: var(--accent); }
.file-field input { padding: 12px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.agree a { text-decoration: underline; }
.agree-note { font-size: 13px; color: var(--muted-2); margin: 8px 0 24px 30px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 10px; padding: 20px 24px; margin-bottom: 24px; }
.alert strong { display: block; font-size: 17px; margin-bottom: 6px; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert-ok { background: #EAF5EC; color: #1F4D2A; }
.alert-err { background: #FDECEA; color: #8A1C12; }

/* 오시는 길 */
.map-box { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); height: 460px; background: var(--bg-gray); }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.location-info { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; margin-top: 40px; }
.loc-main { display: flex; flex-direction: column; gap: 10px; }
.loc-main h2 { font-size: 28px; font-weight: 900; color: var(--navy); }
.loc-main .addr { font-size: 20px; font-weight: 700; }
.loc-main .addr-sub { font-size: 15px; color: var(--muted); }
.loc-main .btn-row { margin-top: 10px; }
.loc-list { margin: 0; background: var(--bg-gray); border-radius: 14px; padding: 12px 28px; }
.loc-list > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid #DDE3EC; }
.loc-list > div:last-child { border-bottom: 0; }
.loc-list dt { color: var(--muted-2); font-size: 14px; }
.loc-list dd { margin: 0; font-weight: 700; }
.loc-list dd a[href^="mailto:"] { white-space: nowrap; font-size: 14px; letter-spacing: -0.01em; }
.loc-list small { color: var(--muted-2); font-weight: 400; }

/* 정책 */
.policy h2 { font-size: 20px; color: var(--navy); margin: 36px 0 12px; }
.policy ul { color: var(--muted); padding-left: 20px; }
.policy li { margin-bottom: 6px; }
.not-found { padding: 140px 0; }

/* CTA · 하단 */
.cta-band { background: var(--accent); color: #fff; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta-in h2 { font-size: 30px; font-weight: 900; }
.cta-in p { font-size: 17px; color: #FFE7D6; margin-top: 8px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer { background: var(--navy-dark); color: #AEB9CC; padding: 56px 0 40px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand-footer { color: #fff; }
.brand-footer img { height: 36px; filter: brightness(0) invert(1); }
.brand-footer span { font-size: 18px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: #AEB9CC; }
.footer-nav a:hover, .footer-nav a.strong { color: #fff; }
.footer-nav a.strong { font-weight: 700; }
.footer-info { display: flex; flex-direction: column; gap: 4px; line-height: 1.7; padding-top: 24px; }
.footer-info .copy { color: #7F8BA0; padding-top: 8px; }

/* 확대 보기 */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 14, 28, .88); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1000px, 100%); max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; background: #fff; }
.lightbox-cap { color: #fff; margin-top: 14px; font-size: 15px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; cursor: pointer; }

/* 움직임 */
.js .reveal { opacity: 0; transform: translateY(56px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes heroRise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
.hero-rise { animation: heroRise 1s cubic-bezier(.2,.7,.2,1) .15s both; }
/* 메인 제목: 첫 줄 단어가 발전소가 → 병원이 → 학교가 로 3초마다 바뀜 (움직임 줄이기 설정이면 고정 문장) */
.hero-static { display: none; }
.hero-rotate { display: inline-grid; overflow: hidden; vertical-align: bottom; }
.hero-rotate > span { grid-area: 1 / 1; opacity: 0; animation: heroWord 3s infinite; }
.hero-rotate > span:nth-child(2) { animation-delay: 1s; }
.hero-rotate > span:nth-child(3) { animation-delay: 2s; }
.hero-rotate em { font-style: normal; color: var(--warm); }
@keyframes heroWord {
  0% { opacity: 0; transform: translateY(60%); }
  5%, 30% { opacity: 1; transform: none; }
  35%, 100% { opacity: 0; transform: translateY(-60%); }
}
/* 메인 배경: 아주 천천히 다가왔다 물러남 */
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-bg { animation: heroZoom 24s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-rise, .hero-bg { animation: none; }
  .hero-static { display: inline; }
  .hero-rotate { display: none; }
  html { scroll-behavior: auto; }
}

/* 반응형 */
@media (max-width: 1080px) {
  .gnb-link { padding: 0 12px; }
  .lang-en .gnb-link { padding: 0 8px; font-size: 14px; }
  .grid-4, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split, .product-top, .case, .inquiry-wrap, .location-info { grid-template-columns: 1fr; gap: 36px; }
  .case.is-flip .case-photos { order: 0; }
  .inquiry-side { position: static; }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-step::after { display: none; }
  .stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .stats-light .stat:nth-child(-n+2) { border-bottom-color: var(--line); }
}
@media (max-width: 900px) {
  .gnb { display: none; }
  .menu-btn { display: flex; }
  .header-in { height: 68px; }
  .subnav { top: 68px; }
  .grid-3, .two-col { grid-template-columns: 1fr; }
  .logo-grid, .logo-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-card img { height: 320px; }
}
@media (max-width: 640px) {
  .sec { padding: 72px 0; }
  .wrap { padding: 0 16px; }
  .hero { min-height: 560px; }
  .hero-in { padding: 72px 16px; }
  .hero h1 { font-size: 40px; }
  .lang-en .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .page-hero-in { padding-top: 60px; padding-bottom: 48px; }
  .page-hero h1 { font-size: 32px; }
  .sec-head h2, .product-info h2 { font-size: 26px; }
  .grid-4, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-product { padding: 14px; }
  .card-thumb { height: 130px; }
  .card-thumb img { max-height: 120px; }
  .card-product > span:not(.card-en) { display: none; }
  .card-product strong { font-size: 16px; }
  .logo-grid, .logo-grid-6, .lab-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .logo-cell { height: 110px; padding: 14px 18px; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 24px 14px; }
  .stat::before { left: 14px; }
  .stat-num { font-size: 32px; }
  .stat-num small { font-size: 16px; }
  .facts strong { font-size: 32px; }
  .facts strong .unit { font-size: 17px; }
  .photo-mosaic img { height: 140px; }
  .photo-mosaic img.wide { height: 200px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card.span-2 { grid-column: auto; }
  .case-photos img { height: 150px; }
  .case-photos.count-1 img { height: 240px; }
  .case-body h3 { font-size: 22px; }
  .pg-main { height: 320px; }
  .pg-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .field-row, .field-row.three { grid-template-columns: 1fr; }
  .board-head, .board-row { grid-template-columns: 1fr; gap: 4px; }
  .board-head { display: none; }
  .board-row .c-no { display: none; }
  .board-row .c-date { text-align: left; }
  .history-year { grid-template-columns: 1fr; gap: 10px; padding-left: 22px; }
  .profile > div { grid-template-columns: 1fr; gap: 4px; }
  .topbar-mail { display: none; }
  .brand span { font-size: 18px; }
  /* KO/EN 자리를 위해 휴대폰에서는 상단 견적 버튼을 숨김 (메뉴·하단 띠에서 이동 가능) */
  .header-cta .btn-sm { display: none; }
  .lang-switch a { padding: 7px 8px; }
  .map-box { height: 320px; }
  .loc-list { padding: 8px 18px; }
  .loc-list > div { grid-template-columns: 56px minmax(0, 1fr); }
  .cta-in h2 { font-size: 24px; }
  .post-nav a { grid-template-columns: 1fr; gap: 2px; }
}
