/* ═══════════════════════════════════════
   HANA STORY — SHARED STYLESHEET
   taesungenc.co.kr 스타일 기준
   body: 16px | header: 100px | container: 1200px
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { position: relative; width: 100%; margin: 0; padding: 0; }
body, div, ul, li, dl, dt, dd, ol, p, h1, h2, h3, h4, h5, h6, table, form {
  margin: 0; padding: 0; border: 0;
}

body {
  font-family: 'Noto Sans KR', 'Malgun Gothic', '맑은 고딕', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #444;
  background-color: #fff;
  word-break: keep-all;
  word-wrap: break-word;
  line-height: 1.67em;
  min-width: 320px;
}

h1 { font-weight: 700; color: #222; font-size: 34px; line-height: 1.3; }
h2 { font-weight: 700; color: #222; font-size: 30px; line-height: 1.3; }
h3 { font-weight: 700; color: #222; font-size: 24px; line-height: 1.3; }
h4 { font-weight: 700; color: #222; font-size: 20px; line-height: 1.4; }
h5 { font-weight: 700; color: #222; font-size: 16px; line-height: 1.5; }
h6 { font-weight: 700; color: #222; font-size: 14px; line-height: 1.5; }

dl, dt, dd, ul, ol, li, p {
  list-style: none;
  vertical-align: middle;
  letter-spacing: 0;
  line-height: 1.67em;
}

img { border: none; margin: 0; padding: 0; max-width: 100%; display: block; }
a { text-decoration: none; color: #444; outline: 0; letter-spacing: 0; }
a:hover { text-decoration: underline; color: #222; }

/* ── CSS VARIABLES ── */
:root {
  --navy:        #1a2b45;
  --navy-light:  #253d5e;
  --green:       #1a2b45;
  --green-dark:  #0f1e33;
  --green-light: #253d5e;
  --text:        #444;
  --text-dark:   #222;
  --text-light:  #777;
  --bg-light:    #f9f9f9;
  --bg-gray:     #f4f4f4;
  --border:      #ddd;
  --border-dark: #999;
  --header-h:    100px;
  --container:   1200px;
}

/* ── LANGUAGE TOGGLE ── */
.en-only { display: none; }
.ko-only { display: block; }
span.ko-only { display: inline; }
body.en .ko-only { display: none !important; }
body.en span.ko-only { display: none !important; }
body.en .en-only { display: block; }
body.en span.en-only { display: inline; }

/* ── SCROLL REVEAL ── */
.reveal-item {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-item.in-view { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────
   HEADER
───────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--header-h); z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background 0.3s;
}

.header-inner {
  position: relative;
  max-width: var(--container);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

/* Logo */
.header-logo {
  position: absolute; left: 20px; top: 0;
  display: flex; align-items: center; gap: 10px;
  height: var(--header-h); text-decoration: none;
  z-index: 1;
}
.header-logo img { height: 72px; object-fit: contain; }
.header-logo .logo-name {
  color: var(--navy); font-size: 18px; font-weight: 700;
  letter-spacing: 0.02em; white-space: nowrap;
}
.header-logo:hover { text-decoration: none; }

/* GNB */
nav.gnb {
  position: absolute; right: 170px; top: 0;
  display: flex; align-items: center;
  height: var(--header-h);
}
.gnb-item { position: relative; }
.gnb-item > a {
  display: block;
  padding: 0 26px;
  height: var(--header-h);
  line-height: var(--header-h);
  font-size: 18px; font-weight: 500;
  color: rgba(26,43,69,0.82);
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.gnb-item > a:hover,
.gnb-item > a.active {
  color: #fff;
  background-color: rgba(26,43,69,1.0);
  text-decoration: none;
}
.gnb-item:hover .gnb-drop { display: block; }

.gnb-drop {
  display: none;
  position: absolute; top: var(--header-h); left: 0;
  background: rgba(240,240,240,0.97);
  min-width: 160px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  border-top: 3px solid var(--green);
  z-index: 100;
}
.gnb-drop a {
  display: block; padding: 11px 18px;
  font-size: 14px; color: #444; font-weight: 400;
  border-bottom: 1px solid #ebebeb;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.gnb-drop a:hover { background: rgba(26,43,69,0.14); color: var(--navy); text-decoration: none; }

/* Right-side header group (lang toggle + mobile nav button) */
.header-right {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 14px;
  z-index: 1;
}

/* Lang toggle */
.lang-wrap {
  display: flex; gap: 2px;
  background: rgba(0,0,0,0.05); border-radius: 20px; padding: 3px;
}
.lang-btn {
  padding: 5px 14px; border-radius: 16px; border: none;
  cursor: pointer; font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; color: rgba(26,43,69,0.5);
  background: transparent; transition: all 0.2s;
  font-family: inherit;
}
.lang-btn.active { background: var(--green); color: #fff; }

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 6px;
  width: 30px; height: 26px; padding: 0;
  border: none; background: transparent; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: var(--navy);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.page-offset { padding-top: var(--header-h); }

/* ─────────────────────────────────────
   SUB-PAGE BANNER (taesungenc #bnSubArea style)
───────────────────────────────────── */
.page-banner {
  position: relative;
  width: 100%;
  height: 380px;
  padding-top: var(--header-h);
  background: url('./images/p01_img01_1000x300.jpeg') center center no-repeat;
  background-size: cover;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(20,16,60,0.82) 0%,
    rgba(14,28,47,0.75) 60%,
    rgba(10,30,15,0.70) 100%);
}
.page-banner-inner {
  position: relative; z-index: 1;
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
@keyframes bannerFadeUp {
  from { opacity: 0; margin-top: 18px; }
  to   { opacity: 1; margin-top: 0; }
}
.page-banner-title {
  position: absolute;
  bottom: 80px; left: 20px;
  font-size: 52px; font-weight: 700;
  color: #fff; letter-spacing: -0.03em;
  line-height: 1.15;
  animation: bannerFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}
.page-banner-title span { position: relative; padding-left: 20px; }
.page-banner-title span::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  height: 38px;
  transform: translateY(calc(-50% + 3px));
  width: 1.5px;
  background: rgba(255,255,255,0.55);
}
.page-banner-sub {
  position: absolute;
  bottom: 44px; left: 24px;
  font-size: 15px; color: rgba(255,255,255,0.65);
  font-weight: 300; letter-spacing: 0;
  animation: bannerFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.28s;
}

/* 가운데 정렬 배너 (회사소개 페이지 등) */
.page-banner--center { height: 420px; }
.page-banner--center .page-banner-title {
  left: 50%; right: auto; transform: translateX(-50%);
  width: 100%; text-align: center;
}
.page-banner--center .page-banner-sub {
  left: 50%; right: auto; transform: translateX(-50%);
  width: 100%; text-align: center;
}

/* Sub-tab row (taesungenc #subHeader style) */
.sub-tab-row {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  height: 60px;
  display: flex; justify-content: center;
  background: transparent;
}
.sub-tab-inner {
  max-width: var(--container);
  width: 100%; margin: 0 auto; padding: 0 20px;
  display: flex;
}
.sub-tab-row a {
  display: flex; align-items: center; justify-content: center;
  height: 60px; padding: 0 28px;
  font-size: 14px; font-weight: 400; color: #fff;
  background: rgba(33,30,62,0.45);
  border-top: 1px solid rgba(255,255,255,0.25);
  border-right: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.sub-tab-row a:first-child { border-left: 1px solid rgba(255,255,255,0.15); }
.sub-tab-row a:hover { background: rgba(33,30,62,0.7); text-decoration: none; color: #fff; }
.sub-tab-row a.active { background: rgba(33,30,62,0.88); font-weight: 600; }

/* ─────────────────────────────────────
   SUB-NAV BAR (본문 흰 배경 서브탭)
───────────────────────────────────── */
.sub-nav-bar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.sub-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}
@keyframes navTabIn {
  from { opacity: 0; margin-top: -8px; }
  to   { opacity: 1; margin-top: 0; }
}
.sub-nav-bar a {
  padding: 16px 26px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  display: block;
  transition: background .2s, color .2s;
  white-space: nowrap;
  animation: navTabIn 0.45s ease both;
}
.sub-nav-bar a:nth-child(1) { animation-delay: 0.05s; }
.sub-nav-bar a:nth-child(2) { animation-delay: 0.10s; }
.sub-nav-bar a:nth-child(3) { animation-delay: 0.15s; }
.sub-nav-bar a:nth-child(4) { animation-delay: 0.20s; }
.sub-nav-bar a:nth-child(5) { animation-delay: 0.25s; }
.sub-nav-bar a:hover { background: #f4f5f7; color: var(--navy); }
.sub-nav-bar a.active {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

/* ─────────────────────────────────────
   BREADCRUMB (taesungenc .whereIsLine)
───────────────────────────────────── */
.breadcrumb-bar {
  width: 100%;
  height: 52px;
  background: var(--bg-light);
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #ebebeb;
}
.breadcrumb-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 0;
}
.breadcrumb-inner a,
.breadcrumb-inner span {
  display: inline-flex; align-items: center;
  font-size: 15px; color: #777; font-weight: 400;
  padding: 0 12px; height: 52px;
  border-right: 1px solid #e8e8e8;
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb-inner a:first-child { padding-left: 0; }
.breadcrumb-inner a:hover { color: #222; text-decoration: none; }
.breadcrumb-inner span:last-child { color: #333; font-weight: 500; border-right: none; }
.bc-sep { color: #bbb; padding: 0 4px; border: none; }

/* ─────────────────────────────────────
   CONTAINER & SECTION
───────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 96px 0 108px; }
.section-sm { padding: 10px 0 60px; }
.section-gray { background: var(--bg-light); }
.section-dark { background: var(--green-dark); }

/* ─────────────────────────────────────
   SECTION TITLE (taesungenc .subTitleArea)
───────────────────────────────────── */
.sec-head {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 16px;
  display: flex; align-items: flex-end; gap: 0;
}
.sec-head::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: calc(100% - 220px); height: 1px;
  background: #ebebeb;
}
.sec-title {
  font-size: 32px; font-weight: 700;
  color: var(--text-dark); letter-spacing: -0.04em;
  line-height: 1.2; min-width: 220px;
}
.sec-title::after {
  content: '';
  display: block; width: 40px; height: 3px;
  background: var(--green); margin-top: 10px;
}
.sec-label {
  font-size: 14px; letter-spacing: 0.2em;
  color: #888; font-weight: 600;
  text-transform: uppercase; margin-bottom: 8px;
}
.sec-desc {
  font-size: 15px; color: #666; line-height: 1.75;
  margin-top: 14px; max-width: 680px;
}

/* ─────────────────────────────────────
   TABLE — BULLETIN BOARD STYLE (taesungenc)
───────────────────────────────────── */
.board-table {
  table-layout: fixed;
  width: 100%; margin: 0; padding: 0;
  border-collapse: collapse;
  border-top: 2px solid var(--text-dark);
  border-bottom: 1px solid var(--border-dark);
  font-size: 15px;
}
.board-table caption { display: none; }
.board-table th {
  text-align: center;
  background: var(--bg-gray);
  color: #333; font-weight: 600;
  padding: 12px 10px;
  border: 1px solid #ddd;
  line-height: 1.5;
}
.board-table tr:first-child th { border-top: 0; }
.board-table tr:first-child td { border-top: 0; }
.board-table td {
  padding: 12px 10px;
  border: 1px solid #ddd;
  color: #444; font-weight: 400;
  line-height: 1.6;
  vertical-align: middle;
}
.board-table tr th:first-child,
.board-table tr td:first-child { border-left: 0; }
.board-table tr th:last-child,
.board-table tr td:last-child { border-right: 0; }
.board-table tbody tr:last-child th,
.board-table tbody tr:last-child td { border-bottom: 0; }
.board-table tbody tr:hover td { background: #fafafa; }

/* Compact info table */
.info-table {
  table-layout: fixed;
  width: 100%; border-collapse: collapse;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--border-dark);
  font-size: 15px;
}
.info-table th {
  background: var(--bg-gray);
  padding: 13px 16px; width: 160px;
  font-weight: 600; color: #333;
  border: 1px solid #ddd;
  text-align: left; vertical-align: top;
  white-space: nowrap;
}
.info-table td {
  padding: 13px 16px;
  border: 1px solid #ddd;
  color: #444; line-height: 1.65;
  vertical-align: top;
}
.info-table tr:first-child th,
.info-table tr:first-child td { border-top: 0; }
.info-table tbody tr:last-child th,
.info-table tbody tr:last-child td { border-bottom: 0; }
.info-table tr th:first-child,
.info-table tr td:first-child { border-left: 0; }
.info-table tr th:last-child,
.info-table tr td:last-child { border-right: 0; }

/* 찾아오시는 길 — 지도 + 표 */
.cm-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }

/* ─────────────────────────────────────
   PROJECT LIST (게시판 스타일)
───────────────────────────────────── */
.proj-year-block { margin-bottom: 50px; }
.proj-year-head {
  font-size: 20px; font-weight: 700; color: var(--navy);
  padding: 10px 0 10px 14px;
  border-left: 4px solid var(--green);
  margin-bottom: 0;
}
.proj-board {
  width: 100%; border-collapse: collapse;
  border-top: 2px solid #222;
  border-bottom: 1px solid #999;
  font-size: 15px; margin-top: 0;
  table-layout: fixed;
}
.proj-board th {
  background: var(--bg-gray); text-align: center;
  padding: 12px 10px; font-weight: 600; color: #333;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}
.proj-board td {
  padding: 11px 12px; border-bottom: 1px solid #eee;
  color: #444; font-size: 14px; line-height: 1.6;
  vertical-align: middle;
}
.proj-board tr:last-child td { border-bottom: 0; }
.proj-board td.num { text-align: center; color: #888; width: 54px; }
.proj-board td.month { text-align: center; color: var(--green); font-weight: 600; width: 80px; }
.proj-board td.client { text-align: right; color: #777; width: 140px; }
.proj-board tbody tr:hover td { background: #fafafa; }

/* ─────────────────────────────────────
   CERT GRID
───────────────────────────────────── */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card {
  border: 1px solid var(--border); border-top: 3px solid var(--navy);
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cert-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.09); transform: translateY(-3px); }
.cert-img { height: 220px; background: var(--bg-light); overflow: hidden; }
.cert-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.cert-img.emoji-holder {
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
}
.cert-info { padding: 18px 20px; }
.cert-code {
  font-size: 14px; letter-spacing: 0.1em; color: var(--green);
  font-weight: 700; margin-bottom: 6px; text-transform: uppercase;
}
.cert-name { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.cert-desc { font-size: 14px; color: #666; line-height: 1.7; }

/* ─────────────────────────────────────
   PRODUCT BLOCK
───────────────────────────────────── */
.prod-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 52px; align-items: start;
  margin-bottom: 60px; padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.prod-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.prod-block.reverse { direction: rtl; }
.prod-block.reverse > * { direction: ltr; }
.prod-thumb img { width: 100%; height: 300px; object-fit: cover; }
.prod-num { font-size: 14px; color: var(--green); font-weight: 700; letter-spacing: 0.18em; margin-bottom: 8px; }
.prod-name { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.prod-desc { font-size: 15px; color: #555; line-height: 1.75; margin-bottom: 18px; }
.prod-features { display: flex; flex-direction: column; gap: 7px; }
.prod-feature {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: #555;
}
.prod-feature::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* Spec table */
.spec-wrap { margin-top: 40px; }
.spec-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.spec-table {
  width: 100%; border-collapse: collapse;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid #999;
  font-size: 14px;
}
.spec-table th {
  background: var(--bg-gray); text-align: center;
  padding: 11px 12px; font-weight: 600; color: #333;
  border: 1px solid #ddd; font-size: 14px;
}
.spec-table td {
  padding: 11px 12px; border: 1px solid #ddd; color: #444;
  text-align: center;
}
.spec-table tr:first-child th { border-top: 0; }
.spec-table tr th:first-child, .spec-table tr td:first-child { border-left: 0; }
.spec-table tr th:last-child, .spec-table tr td:last-child { border-right: 0; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover td { background: #fafafa; }
.grade-1 { background: #eeeff4; color: #1a2b45; font-weight: 600; padding: 2px 8px; border-radius: 2px; font-size: 14px; }
.grade-2 { background: #eeeff4; color: #1a2b45; font-weight: 600; padding: 2px 8px; border-radius: 2px; font-size: 14px; }

/* 가로 스크롤 표 전용 — 항상 보이는 진행바 (iOS는 네이티브 스크롤바를 숨기므로 직접 그려줌) */
.pd-scrollbar { height: 4px; background: #e8e8e8; border-radius: 2px; margin-top: 8px; overflow: hidden; }
.pd-scrollbar-thumb { height: 100%; background: var(--green, #1a7d4a); border-radius: 2px; }

/* Product card grid */
.prod-group { margin-top: 56px; }
.prod-group:first-child { margin-top: 0; }
.prod-group-title {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); border-left: 3px solid var(--green); padding-left: 12px;
  margin-bottom: 20px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  border: 1px solid #e2e2ee;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 14px 34px rgba(0,0,0,0.13);
  transform: scale(1.04);
  z-index: 2;
}
.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: left center;
  display: block;
  background: #f5f5f5;
  transition: transform 0.4s;
}
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-card-body { padding: 18px 20px 20px; }
.product-card-code {
  font-size: 11px; font-weight: 700; color: var(--green);
  letter-spacing: 0.05em; margin-bottom: 5px;
}
.product-card-name {
  font-size: 17px; font-weight: 700; color: var(--navy);
  margin-bottom: 12px; line-height: 1.4;
}
.product-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.product-card-tag {
  font-size: 11px; padding: 2px 7px; border-radius: 2px; font-weight: 600;
}
.tag-ks    { background: #eeeff4; color: #1a2b45; }
.tag-g1    { background: #eeeff4; color: #1a2b45; }
.tag-g2    { background: #eeeff4; color: #1a2b45; }
.tag-koneps{ background: #eeeff4; color: #1a2b45; }
.product-card-id { font-size: 11px; color: #aaa; margin-top: 4px; }
.product-card-price {
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-top: 8px; text-align: right;
}
/* 금속제창 페이지 카드 — 홈 주요제품 카드 스타일(이미지 상단 + 명칭, 버튼 제외) */
.product-card.pc-window-card {
  border: 1px solid #e2e2ee;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
  display: block;
  position: relative;
}
.product-card.pc-window-card:hover {
  box-shadow: 0 14px 34px rgba(0,0,0,0.13);
  transform: scale(1.04);
  z-index: 2;
}
.pc-window-card .pc-img {
  width: 100%;
  height: 200px;
  min-height: 0;
  background: #f5f6fa;
  padding: 0;
  overflow: hidden;
}
.pc-window-card .pc-img img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card.pc-window-card:hover .pc-img img { transform: scale(1.05); }
.pc-window-card .pc-info {
  padding: 18px 20px 20px;
  display: block;
}
.pc-window-card .pc-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.35;
}
/* 카드 내부 스펙 테이블 */
.pspec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 0;
}
.pspec-table th {
  width: 72px;
  padding: 5px 8px;
  background: #f5f6fa;
  color: #555;
  font-weight: 600;
  border-bottom: 1px solid #e8e8ee;
  text-align: left;
  white-space: nowrap;
}
.pspec-table td {
  padding: 5px 8px;
  color: var(--navy);
  border-bottom: 1px solid #e8e8ee;
  font-weight: 500;
}
.pspec-table tr:last-child th,
.pspec-table tr:last-child td { border-bottom: none; }
.pspec-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 2px;
}
.pspec-badge.g1 { background: #eeeff4; color: #1a2b45; }
.pspec-badge.g2 { background: #eeeff4; color: #1a2b45; }
.pspec-badge.ks { background: #eeeff4; color: #1a2b45; }
.pspec-badge.id { background: #eeeff4; color: #1a2b45; font-family: monospace; }
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Tab nav */
.tab-nav-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: var(--header-h); z-index: 100;
}
.tab-nav { display: flex; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.tab-btn {
  padding: 0 28px; height: 54px;
  font-size: 16px; font-weight: 500;
  color: #666; background: none; border: none;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
  cursor: pointer; transition: all 0.2s;
  font-family: inherit; letter-spacing: -0.02em;
}
.tab-btn.active, .tab-btn:hover {
  color: var(--navy); border-bottom-color: var(--navy);
}

/* ─────────────────────────────────────
   GALLERY
───────────────────────────────────── */
/* 홈화면 6칸 프리뷰 그리드 */
.home-gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.home-gal-grid .gal-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.home-gal-grid .gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.home-gal-grid .gal-item:hover img { transform: scale(1.04); }
.home-gal-grid .gal-overlay { background: rgba(8,16,30,0.72); }
.home-gal-grid .gal-caption {
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
  font-size: 26px;
  transform: scale(0.94); transition: opacity 0.3s, transform 0.3s;
}
.home-gal-grid .gal-item:hover .gal-caption { transform: scale(1); }

/* 갤러리 페이지 masonry */
.gallery-grid {
  columns: 3;
  column-gap: 6px;
  padding: 0 40px;
}
.gal-item {
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  margin-bottom: 6px;
  display: block;
}
.gal-item img { width: 100%; height: auto; display: block; transition: transform 0.4s; }
.gal-item:hover img { transform: scale(1.04); }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.72) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-caption {
  position: absolute; bottom: 12px; left: 14px;
  color: #fff; font-size: 13px; font-weight: 600;
  opacity: 0; transform: translateY(5px); transition: all 0.3s;
}
.gal-item:hover .gal-caption { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────
   CONTACT
───────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.ci-row { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; width: 28px; text-align: center; }
.ci-label {
  font-size: 14px; letter-spacing: 0.1em; color: var(--green);
  font-weight: 700; margin-bottom: 3px; text-transform: uppercase;
}
.ci-value { font-size: 15px; color: var(--navy); font-weight: 500; line-height: 1.6; }

.form-box { background: var(--bg-light); padding: 32px; border-top: 2px solid var(--navy); }
.form-box h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 22px; }
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block; font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; color: #666; margin-bottom: 5px;
  text-transform: uppercase;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 10px 13px;
  border: 1px solid var(--border); border-radius: 0;
  font-size: 15px; font-family: inherit;
  background: #fff; color: var(--text);
  transition: border-color 0.2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--navy);
}
.form-row textarea { height: 120px; resize: vertical; }
.form-submit {
  width: 100%; padding: 13px;
  background: var(--navy); color: #fff;
  border: none; font-size: 15px; font-weight: 700;
  letter-spacing: 0.05em; cursor: pointer;
  transition: background 0.2s; font-family: inherit;
}
.form-submit:hover { background: var(--navy-light); }

/* ─────────────────────────────────────
   STATS ROW
───────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-box {
  padding: 36px 24px; background: #f2f5f9; text-align: center;
  border-right: 1px solid #dde3ec;
}
.stat-box:last-child { border-right: none; }
.stat-box:nth-child(4) { background: var(--navy); }
.stat-num { font-size: 42px; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-unit { font-size: 18px; font-weight: 700; color: var(--navy); }
.stat-label { font-size: 15px; color: #6a7a8c; margin-top: 8px; font-weight: 400; }
.stat-box:nth-child(4) .stat-num { color: #fff; }
.stat-box:nth-child(4) .stat-unit { color: rgba(255,255,255,0.8); }
.stat-box:nth-child(4) .stat-label { color: rgba(255,255,255,0.65); }

/* Stats cards (centered, boxed variant used on home) */
.stats-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  padding: 36px 24px; background: #fff; text-align: center;
  border: 1px solid #ecedf0; border-radius: 16px;
  box-shadow: 0 4px 20px rgba(20,30,50,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(20,30,50,0.13); }
.stat-card .stat-num { font-size: 42px; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-card .stat-unit { font-size: 18px; font-weight: 700; color: var(--navy); }
.stat-card .stat-label { font-size: 15px; color: #6a7a8c; margin-top: 8px; font-weight: 400; }

/* ─────────────────────────────────────
   ORG CHART
───────────────────────────────────── */
.org-wrap { margin-top: 40px; }
.org-ceo-box { display: flex; flex-direction: column; align-items: center; }
.ceo-card {
  background: var(--navy); color: #fff;
  padding: 13px 44px; font-size: 15px; font-weight: 700;
  letter-spacing: 0.04em;
}
.ceo-line { width: 2px; height: 32px; background: #ccc; }
.dept-connector { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.dept-connector::before {
  content: ''; position: absolute; top: 0; left: 8.33%; right: 8.33%;
  height: 2px; background: #ccc;
}
.dept-col { display: flex; flex-direction: column; align-items: center; }
.dept-vline { width: 2px; height: 24px; background: #ccc; }
.dept-card {
  width: 100%; border: 1px solid #ddd; border-top: 3px solid var(--green);
  background: #fff; padding: 14px 10px; text-align: center;
}
.dept-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.dept-tasks { font-size: 14px; color: #777; line-height: 1.85; text-align: left; padding-left: 2px; }

/* ─────────────────────────────────────
   TIMELINE
───────────────────────────────────── */
.tl-wrap { margin-top: 40px; position: relative; }
.tl-wrap::before {
  content: ''; position: absolute;
  left: 113px; top: 8px; bottom: 8px;
  width: 2px; background: #e0e0e0;
}
.tl-group { margin-bottom: 48px; }
.tl-year { display: flex; align-items: center; margin-bottom: 24px; }
.tl-year-badge {
  background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 5px 18px; border-radius: 18px;
  letter-spacing: 0.04em; position: relative; z-index: 2;
}
.tl-entry {
  display: grid; grid-template-columns: 100px 28px 1fr;
  gap: 0; margin-bottom: 18px; align-items: start;
}
.tl-date {
  font-size: 14px; font-weight: 700; color: var(--green);
  padding-top: 3px; text-align: right; padding-right: 14px;
}
.tl-dot-col { display: flex; flex-direction: column; align-items: center; padding-top: 5px; }
.tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--green);
  position: relative; z-index: 2;
}
.tl-content { padding-left: 18px; }
.tl-content p { font-size: 14px; color: #555; line-height: 1.75; margin: 0; }
.tl-content strong { color: var(--navy); font-weight: 700; }
.tl-sub { display: block; font-size: 15px; color: #888; padding-left: 10px; line-height: 1.8; }

/* ─────────────────────────────────────
   HERO (index only)
───────────────────────────────────── */
.hero {
  height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.8s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; cursor: pointer;
  background: linear-gradient(to bottom, rgba(10,18,32,0.60) 0%, rgba(10,18,32,0.45) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 0 24px; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title, .hero-sub, .hero-cta {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-title { animation-delay: 0.15s; }
.hero-sub { animation-delay: 0.4s; }
.hero-cta { animation-delay: 0.65s; }
.hero-title {
  font-size: clamp(32px, 5vw, 60px); font-weight: 900; color: #fff;
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 48px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.35);
}
.hero-title em { color: #a8e06c; font-style: normal; display: block; }
.hero-title .tw-bold {
  font-weight: 900;
  display: inline-block;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.hero-title .tw-bold:hover {
  transform: translateY(-3px);
  text-shadow: 0 6px 22px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.35);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 21px); color: rgba(255,255,255,0.9);
  margin-bottom: 32px; line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3);
}
.hero-sub .tw-thin { font-weight: 300; display: inline; }
.hero-sub .tw-medium {
  font-weight: 600; display: block; margin-top: 8px;
  font-size: clamp(20px, 2.8vw, 28px);
  transition: letter-spacing 0.4s ease;
}
.hero-sub .tw-medium:hover { letter-spacing: 0.02em; }
.hero-cta {
  display: inline-block; padding: 17px 46px;
  background: #1e5e68; color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.25);
  font-size: 17px; font-weight: 700; letter-spacing: 0.05em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s; text-decoration: none;
}
.hero-cta:hover {
  background: #164a52; text-decoration: none; color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.42), 0 3px 10px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.hero-dots {
  position: absolute; bottom: 92px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; align-items: center; gap: 12px;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: 2px solid transparent;
  padding: 0; cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.hero-dot:hover { background: rgba(255,255,255,0.75); }
.hero-dot.active { background: #fff; transform: scale(1.35); }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.3); font-size: 14px; letter-spacing: 0.2em;
}
.scroll-bar {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ─────────────────────────────────────
   HOME — Company intro
───────────────────────────────────── */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-img { position: relative; }
.intro-img img { width: 100%; height: 420px; object-fit: cover; }
.intro-badge {
  position: absolute; bottom: -16px; left: -16px;
  background: var(--navy); color: #fff;
  padding: 18px 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.intro-badge-num { font-size: 34px; font-weight: 700; color: #fff; line-height: 1; }
.intro-badge-txt { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ─────────────────────────────────────
   HOME — Quick menu
───────────────────────────────────── */
.quick-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #e2e7ee; border-bottom: 1px solid #e2e7ee; }
.quick-item {
  padding: 44px 28px; background: #fff; text-align: center;
  text-decoration: none; display: flex; flex-direction: column; gap: 14px;
  border-right: 1px solid #e2e7ee;
  transition: background 0.2s;
}
.quick-item:last-child { border-right: none; }
.quick-item:hover { background: #f4f7fb; text-decoration: none; }
.q-ico { font-size: 38px; }
.q-tit { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: 0.02em; }
.q-dsc { font-size: 16px; color: #888; line-height: 1.6; }

/* ─────────────────────────────────────
   HOME — Product preview
───────────────────────────────────── */
.prod-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.pp-card {
  border-top: 3px solid var(--navy);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.pp-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,0.14); transform: scale(1.06); z-index: 2; }
.pp-thumb { height: 220px; overflow: hidden; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pp-card:hover .pp-thumb img { transform: scale(1.05); }
.pp-body { padding: 20px 22px; }
.pp-num { font-size: 15px; color: var(--green); font-weight: 700; letter-spacing: 0.2em; margin-bottom: 2px; }
.pp-name { font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.pp-desc { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 18px; }
.pp-link {
  display: inline-block; padding: 6px 16px;
  font-size: 13px; font-weight: 700; color: #1e5e68;
  border: 2px solid #1e5e68; border-radius: 0;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.pp-link:hover { background: #1e5e68; color: #fff; text-decoration: none; }

/* ─────────────────────────────────────
   BUTTON
───────────────────────────────────── */
.btn {
  display: inline-block; padding: 14px 36px;
  font-size: 16px; font-weight: 600; color: #fff;
  background: var(--navy); border: none; cursor: pointer;
  text-decoration: none; transition: background 0.2s; font-family: inherit;
}
.btn:hover { background: var(--navy-light); color: #fff; text-decoration: none; }
.btn-green { background: var(--green); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
#site-footer { background: #050a14; padding: 48px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 32px;
}
.footer-brand img { height: 60px; opacity: 0.8; margin-bottom: 14px; }
.footer-brand p { font-size: 15px; color: rgba(255,255,255,0.32); line-height: 1.8; }
.footer-col h4 {
  font-size: 14px; letter-spacing: 0.16em; color: rgba(255,255,255,0.42);
  font-weight: 700; text-transform: uppercase; margin-bottom: 12px;
}
.footer-col a {
  display: block; font-size: 15px; color: rgba(255,255,255,0.32);
  margin-bottom: 8px; transition: color 0.2s; text-decoration: none;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 15px; color: rgba(255,255,255,0.22); }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.f-badge {
  font-size: 14px; color: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 10px;
}

/* ─────────────────────────────────────
   UTILITY
───────────────────────────────────── */
.divider { width: 40px; height: 3px; background: var(--green); margin: 14px 0; }

/* About: overview photo+table */
.overview-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 52px; align-items: start; margin-top: 40px; }
.overview-photo img { width: 100%; height: 440px; object-fit: cover; }
.overview-photo-caption {
  background: rgba(14,10,40,0.78); color: rgba(255,255,255,0.8);
  font-size: 14px; padding: 10px 14px; letter-spacing: 0.04em;
}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 16px; }
  #site-header { padding: 0; }
  .header-logo img { height: 56px; }
  .nav-toggle { display: flex; order: 2; }
  .lang-wrap { order: 1; }
  nav.gnb {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    height: auto; max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  nav.gnb.open { display: flex; }
  .gnb-item > a {
    height: auto; line-height: 1.4; padding: 16px 24px;
    border-bottom: 1px solid #f0f1f3;
  }
  .gnb-drop { display: none !important; }
  .prod-block { grid-template-columns: 1fr; gap: 32px; }
  .prod-block.reverse { direction: ltr; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
  .home-gal-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-row { grid-template-columns: 1fr 1fr; }
  .prod-preview { grid-template-columns: 1fr 1fr; }
  .dept-connector { grid-template-columns: repeat(3, 1fr); }
  .page-banner-title { font-size: 38px; }
  .sec-title { font-size: 26px; }
  .overview-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 84px; }
  .header-logo { left: 8px; }
  .header-logo img { height: 64px; }
  .header-right { right: 10px; gap: 14px; top: 60%; }
  .lang-wrap { padding: 2px; }
  .lang-btn { padding: 7px 10px; font-size: 12px; line-height: 1; }
  .cert-grid, .prod-preview, .stats-row, .stats-cards { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; padding: 0 16px; }
  .section { padding: 48px 0 56px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col h4 { font-size: 12px; margin-bottom: 8px; }
  .footer-col a { font-size: 13px; margin-bottom: 6px; }
  .dept-connector { grid-template-columns: repeat(2, 1fr); }
  .page-banner-title { font-size: 30px; }
  .sec-title { font-size: 22px; }

  /* 회사소개 표(설립일/대표자/보유면허/연락처/이메일) — 셀 폭 고정 해제 + 줄바꿈 */
  .board-table { table-layout: auto; font-size: 13px; }
  .board-table th, .board-table td { padding: 8px 6px; word-break: keep-all; overflow-wrap: break-word; }
  .board-table th[style*="width"] { width: auto !important; }

  /* 주요 제품 카드 — 모바일에서는 확대/그림자 인터랙션 끔 */
  .pp-card:hover { box-shadow: none; transform: none; }
  .pp-card:hover .pp-thumb img { transform: none; }

  /* 홈화면 시공갤러리 미리보기 캡션 */
  .home-gal-grid .gal-caption { font-size: 15px; padding: 0 14px; }

  /* 배너 밑 서브탭 — 개수 많으면 줄바꿈되면서 삐뚤빼뚤해 보이던 문제.
     한 줄에 3개씩 고정하고 연한 회색 선으로 칸을 나눠서 정돈된 느낌으로.
     양끝 탭(1,3번째)도 화면 끝까지 딱 붙게 좌우 패딩 제거, 등장 애니메이션도 꺼서 선이 안 흔들리게 함 */
  .sub-nav-inner { gap: 0; padding: 0; }
  .sub-nav-bar a {
    flex: 0 0 33.333%; box-sizing: border-box;
    text-align: center; padding: 12px 6px;
    font-size: 13px; line-height: 1.3; white-space: normal;
    border-right: 1px solid #eee; border-bottom: 1px solid #eee;
    animation: none;
  }
  .sub-nav-bar a:nth-child(3n) { border-right: none; }

  /* 주요납품실적 표 — 납품처/품목 칸이 너무 좁아 줄바꿈되던 문제.
     가로 스크롤 가능하게 하고 최소 폭을 줘서 한 줄로 읽히게 함 */
  .proj-board-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .proj-board { min-width: 640px; table-layout: auto; }
  .proj-board th, .proj-board td { white-space: nowrap; }

  /* 제품 규격 상세표 — width:100%라 눌리기만 하고 실제로는 스크롤이 안 되던 문제 수정.
     최소 폭을 줘서 컬럼이 읽을 수 있는 크기를 유지한 채 가로 스크롤되게 하고,
     오른쪽 끝 페이드 효과로 "더 있다"는 걸 시각적으로만 암시(별도 안내 문구 없음). */
  .spec-table { min-width: 640px; }
  .spec-wrap { position: relative; }
  .spec-wrap div[style*="overflow-x"] { -webkit-overflow-scrolling: touch; }
  .spec-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 24px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.95));
    pointer-events: none;
  }

  /* 배너 밑 서브텍스트(가운데 정렬형) — 화면 끝에 너무 붙던 문제(좌우 10px 여백) +
     line-height 미지정으로 body 기본값(1.67em)을 물려받아 2줄로 꺾일 때 제목과 겹치던 문제.
     (해당 클래스를 쓰는 모든 페이지의 가운데 정렬 배너에 공통 적용됨) */
  .page-banner--center .page-banner-sub { box-sizing: border-box; padding: 0 10px; font-size: 13px; line-height: 1.35; }

  /* 찾아오시는 길 — 지도/표 위아래로 쌓기 */
  .cm-grid { grid-template-columns: 1fr; gap: 24px; }

  /* 위치정보 표 — 라벨 칸(주소/전화/자가용/대중교통) 줄여서 값 칸이 덜 접히게 */
  .info-table th { width: 74px; padding: 10px 8px; font-size: 13px; white-space: normal; }
  .info-table td { padding: 10px 8px; font-size: 13px; line-height: 1.5; }
}
