/* ============================================
   대청산업기술(주) 웹사이트
   Main Stylesheet  (Multi-page version)
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --primary:       #1e7fc2;
  --primary-dark:  #155e96;
  --primary-light: #5aaedd;
  --accent:        #29a0c4;
  --accent-dark:   #1a7fa0;
  --dark:          #163248;
  --dark-2:        #1e4a6b;
  --text:          #1e3a52;
  --text-light:    #5a7a94;
  --bg-light:      #d4eaf6;
  --bg-white:      #ffffff;
  --border:        #b8d8ef;
  --shadow:        rgba(21,94,150,0.12);
  --shadow-lg:     rgba(21,94,150,0.22);
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    0.3s ease;
  --font-main:     'Noto Sans KR', sans-serif;
  --font-display:  'Oswald', 'Noto Sans KR', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  /* 텍스트 드래그(선택) 방지 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* 이미지·콘텐츠 드래그 방지 */
  -webkit-user-drag: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section Base ---- */
.section { padding: 90px 0; }
.bg-light { background: var(--bg-light); }
.bg-dark  { background: var(--dark); }

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }

.section-sub {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.section-header.light .section-sub { color: #7bc8ff; }

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title em { color: var(--primary); font-style: normal; }
.section-header.light .section-title { color: #fff; }
.section-header.light .section-title em { color: #7bc8ff; }

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.8;
}
.section-header.light .section-desc { color: #a0b8cc; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-main);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm  { padding: 9px 22px; font-size: 14px; }
.btn-full{ width: 100%; justify-content: center; }

/* ============================================
   HEADER  (공통)
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--transition);
}

/* Top Bar */
.header-top {
  background: var(--dark);
  padding: 7px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  overflow: hidden;
}
.site-header.scrolled .header-top { padding: 0; max-height: 0; }
.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-slogan { display: flex; align-items: center; gap: 7px; }
.header-slogan i { color: var(--primary-light); }
.header-top-nav { display: flex; gap: 16px; }
.header-top-nav a { color: rgba(255,255,255,0.55); }
.header-top-nav a:hover { color: #fff; }

/* Main Bar */
.header-main {
  background: #ffffff;
  box-shadow: 0 2px 20px var(--shadow);
  position: relative;
}
.header-main .container {
  max-width: 90%;
  padding: 0 40px;
}
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 90px;
  position: static;
}

/* Logo */
.logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--primary); letter-spacing: 0.5px;
}
.logo-text small { font-size: 11px; color: var(--text-light); letter-spacing: 0.5px; }

/* 로고 이미지 */
.logo-img {
  display: block;
  height: 135px;        /* DAE CHEONG 가로형 로고 최적 높이 */
  width: auto;
  max-width: 320px;    /* 3:1 비율 로고 여유 확보 */
  object-fit: contain;
  object-position: left center;
  filter: none !important;
  opacity: 1 !important;
  -webkit-filter: none !important;
}
/* 헤더 로고 컬러 보정 — backdrop-filter 영향 차단 */
.logo { isolation: isolate; position: relative; z-index: 2; }
.footer-logo-img {
  height: 120px;        /* 푸터 그레이 로고, 가독성 확보 높이 */
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
  filter: none;
  opacity: 1;
}

/* GNB */
.gnb {
  display: flex;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
  z-index: 1;
}
.gnb-list { display: flex; align-items: center; justify-content: center; }
.gnb-item { position: relative; }
.gnb-link {
  display: block;
  padding: 24px 36px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  white-space: nowrap;
  position: relative;
}
.gnb-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  border-radius: 2px;
}
.gnb-link:hover,
.gnb-item.active > .gnb-link { color: var(--primary); }
.gnb-link:hover::after,
.gnb-item.active > .gnb-link::after { left: 16px; right: 16px; }

/* Dropdown */
.gnb-item.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  min-width: 180px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--shadow-lg);
  border-top: 3px solid var(--primary);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 15px; text-align: center;
  color: var(--text);
  transition: all var(--transition);
}
.dropdown li a:hover { color: var(--primary); background: var(--bg-light); padding-left: 26px; }

/* Mobile btn */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
}
.mobile-nav-overlay.active { display: block; }
.mobile-nav {
  position: fixed;
  top: 0; right: -300px;
  width: 280px; height: 100%;
  background: #fff;
  z-index: 1200;
  padding: 80px 24px 40px;
  transition: right var(--transition);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 22px; color: var(--text); padding: 8px;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  display: block;
  padding: 14px 16px;
  font-size: 16px; font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.mobile-nav-link:hover,
.mobile-nav-link.active { color: var(--primary); }

/* mobile-nav-sub 가운데 정렬 */
.mobile-nav-sub .mobile-nav-link {
  text-align: center;
  padding-left: 16px;
}
.mobile-nav-sub .mobile-nav-link:hover,
.mobile-nav-sub .mobile-nav-link.active {
  padding-left: 16px;
}

/* ============================================
   HERO SLIDER  (index.html 전용)
   ============================================ */
.hero-section {
  position: relative;
  height: 100vh; min-height: 620px;
  overflow: hidden;
}
/* 헤더 없는 메인 전용 — 콘텐츠를 화면 중앙 정렬 */
.hero-no-header .hero-content {
  padding-top: 0;
}
.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-content {
  max-width: 640px;
  padding-top: 100px; /* 헤더 있을 때 기본값 — 원복 */
  padding-bottom: 200px; /* 영상높이(286px) + 갭(50px) + bottom(44px) = 380px — 총 공간 유지 */
  animation: heroFadeIn 0.9s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  font-family: var(--font-display);
  font-size: 25px; font-weight: 600; letter-spacing: 4px;
  color: #364984; text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.hero-tag::before { content:''; display:block; width:30px; height:2px; background:#364984; }
.hero-title {
  font-size: clamp(43px, 5.5vw, 60px);  text-align: center; letter-spacing : 0.2em;
  font-weight: 800; color: #fff; line-height: 1.18;
  margin-bottom: 50px; /* 제목↔설명 여백 — 영상 위 갭과 동일 기준값 */
}
.hero-title strong { display: block; font-weight: 900; }
.hero-desc {
  font-size: clamp(20px, 2vw, 18px); text-align: center;
  color: rgba(255,255,255,0.82); line-height: 1.75;
  margin-bottom: 0; /* 영상 위 갭은 padding-bottom 계산으로 제어 */
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slider controls */
.hero-controls {
  position: absolute; bottom: 48px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; z-index: 10;
}
.hero-prev, .hero-next {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.hero-prev:hover, .hero-next:hover { background: var(--primary); border-color: var(--primary); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: all var(--transition);
}
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* ─────────────────────────────────────────
   HERO — YouTube 자동재생 카드 (index.html)
   ───────────────────────────────────────── */
.hero-yt-wrap {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: none;
}

/* 영상 제목 + 혁신제품 마크 행 */
.hero-yt-title-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* [왼쪽여백] [제목] [마크+오른쪽여백] */
  align-items: center;
  margin-bottom: 40px;
  pointer-events: none;
  width: 508px;
  animation: heroFadeIn 0.9s ease both; /* hero 텍스트와 동일한 애니메이션 */
}
.hero-yt-title-text {
  grid-column: 2;            /* 가운데 열 → 제목 텍스트만 중앙 정렬 */
  font-family: var(--font-main);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  white-space: nowrap;
  text-align: center;
}
.hero-yt-badge-wrap {
  grid-column: 3;            /* 오른쪽 열 → 제목 바로 오른편 */
  display: inline-flex;
  align-items: center;
  justify-self: start;       /* 열 안에서 왼쪽 정렬 (제목에 밀착) */
  margin-left: 10px;         /* 제목과의 간격 */
  overflow: visible;         /* 열 너비가 좁아도 마크가 잘리지 않도록 */
  pointer-events: none;
}
.hero-yt-badge-img {
  width: 100px;
  min-width: 100px;          /* 열 너비에 관계없이 항상 100px 유지 */
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}

/* 혁신제품 지정 부제목 */
.hero-yt-subtitle {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  letter-spacing: 0.2px;
  margin: -60px 0 20px 0;
  text-align: center;
  animation: heroFadeIn 0.9s ease both;
  pointer-events: none;
}

/* 영상 카드 링크 래퍼 */
.hero-yt-card-link {
  display: block;
  pointer-events: all;
  border-radius: 10px;
  overflow: hidden;
}
.hero-yt-card {
  pointer-events: all;
  width: 508px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.6), 0 0 0 3px rgba(255,255,255,0.18);
  background: #000;
  animation: heroFadeIn 0.9s ease both; /* hero 텍스트와 동일한 애니메이션 */
  /* 위아래 letterbox 클리핑을 위해 높이를 16:9 비율로 고정 */
  position: relative;
  height: calc(508px * 9 / 16); /* ≈ 286px — 갭 50px + 높이 286px + bottom 44px = 380px 유지 */
}
/* ytCardFadeIn 제거 — heroFadeIn 으로 통일 */
/* #hero-yt-player 래퍼: 카드보다 위아래로 확장해 letterbox 클리핑 */
#hero-yt-player {
  position: absolute;
  top: -40px;          /* 컨트롤바+여백 높이만큼 위로 오버플로우 */
  left: 0;
  width: 100%;
  height: calc(100% + 80px); /* 위 40px + 아래 40px 여유 */
  pointer-events: none; /* 클릭은 iframe에 위임 */
}
#hero-yt-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: all;
}
.hero-yt-iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

/* 모바일: 카드 너비 축소 & 위치 조정 */
@media (max-width: 768px) {
  .hero-yt-card {
    width: 86vw;
    height: calc(86vw * 9 / 16); /* 모바일: 16:9 비율 고정 */
  }
  .hero-yt-wrap  { bottom: 24px; }
  .hero-yt-title-row { width: 86vw; }
  .hero-yt-title-text { font-size: 12px; white-space: normal; word-break: keep-all; }
  .hero-yt-badge-img { width: 42px; height: 42px; }
  .hero-yt-badge-wrap { margin-left: 6px; }
  .hero-yt-subtitle { font-size: 11px; margin: -20px 0 14px 0; }
  .hero-content  { padding-bottom: 260px; } /* 모바일: 카드 높이 86vw×9/16 + bottom 24px + 여유 */
}

.hero-scroll {
  position: absolute; right: 40px; bottom: 50px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 10;
}
.hero-scroll span {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 3px;
  color: rgba(255,255,255,0.5); writing-mode: vertical-lr;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { height:50px; opacity:.5; }
  50%      { height:70px; opacity:1; }
}

/* ============================================
   PAGE HERO BANNER  (서브페이지 공통 상단)
   ============================================ */
.page-hero {
  padding-top: 260px;
  padding-bottom: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,30,60,0.82) 0%, rgba(0,80,150,0.60) 100%);
}
.page-hero .container { position: relative; z-index: 1; text-align: center; }
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero-breadcrumb a:hover { color: #fff; }
.page-hero-breadcrumb i { font-size: 10px; }
.page-hero-tag {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 3px;  text-align: center;
  color: #7bc8ff; text-transform: uppercase; display: block; margin-bottom: 10px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; color: #fff; line-height: 1.2;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 16px; color: rgba(255,255,255,0.75); max-width: 560px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--primary);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-icon { font-size: 22px; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 700; color: #fff; line-height: 1;
}
.stat-item > span {
  font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #7bc8ff;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ============================================
   INDEX - SECTION PREVIEW CARDS
   ============================================ */
.preview-section { padding: 90px 0; }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.preview-grid .preview-card {
  padding-left: 0;
  padding-right: 0;
  border: 1px solid #d0d5dd;
}
.preview-grid .preview-card:not(:last-child) {
  border-right: 1px solid #d0d5dd;
}
.preview-card {
  background: #fff;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
  transition: none !important;
  display: flex; flex-direction: column;
}
.preview-card:hover {
  transform: none !important;
  box-shadow: none !important;
}
.preview-card-img {
  height: 200px; overflow: hidden;
}
.preview-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: none !important;
}
.preview-card:hover .preview-card-img img { transform: none !important; }
.preview-card-body {
  padding: 24px; flex: 1;
  display: flex; flex-direction: column;
}
.preview-card-icon {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  margin-bottom: 14px;
}
.preview-card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.preview-card-body p  { font-size: 15.5px; color: var(--text-light); line-height: 1.75; flex: 1; }
.preview-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-size: 14px; font-weight: 600; color: var(--primary);
  transition: gap var(--transition);
}
.preview-card-link:hover { gap: 10px; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px var(--shadow-lg);
  object-fit: cover; height: 480px;
}
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--primary); color: #fff;
  border-radius: var(--radius); padding: 18px 20px;
  text-align: center; box-shadow: 0 8px 24px var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.about-badge i { font-size: 24px; color: #ffd700; }
.about-badge span { font-size: 12px; font-weight: 700; line-height: 1.4; }
.about-desc { font-size: 15.5px; color: var(--text-light); margin-bottom: 14px; line-height: 1.85; }
.about-keypoints { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.about-keypoints li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--text);
}
.about-keypoints li i { color: var(--accent); font-size: 16px; }

/* History Table */
.history-section { background: var(--bg-light); }
.history-list { display: flex; flex-direction: column; gap: 0; }
.history-item {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 32px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.history-item:last-child { border-bottom: none; }
.history-year {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; color: var(--primary);
}
.history-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.history-content p  { font-size: 15px; color: var(--text-light); }

/* Cert Grid */
.cert-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.cert-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; transition: all var(--transition);
}
.cert-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 8px 24px var(--shadow); }
.cert-card i { font-size: 40px; color: var(--primary); margin-bottom: 16px; }
.cert-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cert-card p  { font-size: 13.5px; color: var(--text-light); }

/* ============================================
   TECHNOLOGY PAGE
   ============================================ */
.tech-tabs {
  display: flex; gap: 4px; margin-bottom: 36px;
  background: #e6ecf6; padding: 5px;
  border-radius: var(--radius); width: fit-content;
}
.tech-tab {
  padding: 11px 28px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 14.5px; font-weight: 600;
  color: var(--text-light); transition: all var(--transition);
}
.tech-tab.active { background: #fff; color: var(--primary); box-shadow: 0 2px 8px var(--shadow); }
.tech-tab:hover:not(.active) { color: var(--primary); }

.tech-panel { display: none; }
.tech-panel.active { display: block; }
.tech-panel-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.tech-panel-img img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px var(--shadow);
  object-fit: cover; height: 380px;
}
.tech-panel-text h3 { font-size: 26px; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.tech-panel-text > p { font-size: 15px; color: var(--text-light); margin-bottom: 28px; line-height: 1.8; }

.tech-steps { display: flex; flex-direction: column; gap: 18px; }
.tech-steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--primary); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
}
.tech-steps li div strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.tech-steps li div p { font-size: 13.5px; color: var(--text-light); }

.structure-points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sp-item {
  background: var(--bg-light); padding: 18px;
  border-radius: var(--radius); border-left: 3px solid var(--primary);
}
.sp-item i { color: var(--primary); font-size: 18px; margin-bottom: 8px; }
.sp-item h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.sp-item p  { font-size: 12.5px; color: var(--text-light); }

.control-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-light); padding: 12px 16px;
  border-radius: var(--radius); font-size: 13.5px; font-weight: 500;
}
.cf-item i { color: var(--primary); font-size: 16px; }

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
.product-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow); overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px var(--shadow-lg); }
.product-img-wrap { position: relative; overflow: hidden; height: 220px; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px;
}
.product-badge.new { background: var(--accent); }
.product-body { padding: 24px; }
.product-name { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.product-desc { font-size: 13.5px; color: var(--text-light); line-height: 1.75; margin-bottom: 18px; }
.product-specs {
  border-top: 1px solid var(--border); padding-top: 14px; margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.product-specs li { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.product-specs li span { color: var(--text-light); }
.product-specs li strong { color: var(--text); font-weight: 600; }

/* ============================================
   STRENGTHS PAGE
   ============================================ */
.strengths-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
}
.strength-item {
  background: rgba(255,255,255,0.04); padding: 40px 32px;
  transition: all var(--transition);
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.strength-item:hover { background: rgba(255,255,255,0.08); }
.strength-icon-wrap {
  width: 56px; height: 56px; background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; margin-bottom: 20px;
  transition: all var(--transition);
}
.strength-item:hover .strength-icon-wrap { background: var(--accent); transform: scale(1.1); }
.strength-item h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.strength-item p  { font-size: 13.5px; color: #8aaabb; line-height: 1.8; }

/* Comparison Table */
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse; min-width: 560px;
}
.compare-table th, .compare-table td {
  padding: 14px 20px; text-align: center;
  border: 1px solid var(--border); font-size: 14px;
}
.compare-table thead tr { background: var(--primary); color: #fff; }
.compare-table thead th:first-child { text-align: left; }
.compare-table tbody td:first-child { text-align: left; font-weight: 600; background: var(--bg-light); }
.compare-table tbody tr:nth-child(even) { background: #f8fafd; }
.compare-table .good  { color: var(--accent); font-weight: 700; }
.compare-table .bad   { color: #c0392b; }

/* ============================================
   APPLICATIONS PAGE
   ============================================ */
.applications-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.app-card {
  background-size: cover; background-position: center;
  border-radius: var(--radius-lg); padding: 32px 24px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform var(--transition); overflow: hidden;
}
.app-card:hover { transform: translateY(-6px); }
.app-icon {
  width: 48px; height: 48px; background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; margin-bottom: 12px;
}
.app-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.app-card p  { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.7; }

/* App Detail Cards */
.app-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.app-detail-img { border-radius: var(--radius-lg); overflow: hidden; }
.app-detail-img img { width: 100%; height: 340px; object-fit: cover; }
.app-detail-text h3 { font-size: 24px; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.app-detail-text p  { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.app-detail-text ul { display: flex; flex-direction: column; gap: 10px; }
.app-detail-text ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
}
.app-detail-text ul li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.app-section-divider { border: none; border-top: 1px solid var(--border); margin: 60px 0; }

/* ============================================
   PROJECTS PAGE
   ============================================ */
.projects-filter {
  display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 22px; border-radius: 20px;
  font-size: 14px; font-weight: 600;
  color: var(--text-light); background: #fff;
  border: 1.5px solid var(--border); transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.projects-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.project-item {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  box-shadow: 0 4px 16px var(--shadow); transition: all var(--transition);
}
.project-item:hover { transform: translateY(-6px); box-shadow: 0 12px 36px var(--shadow-lg); }
.project-item img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.5s ease;
}
.project-item:hover img { transform: scale(1.06); }
.project-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,20,50,0.9) 0%, transparent 100%);
  padding: 20px 16px 16px;
}
.project-tag {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  margin-bottom: 6px;
}
.project-info h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.project-info p  { font-size: 12px; color: rgba(255,255,255,0.65); }

/* ============================================
   FOOTER  (공통)
   ============================================ */
.site-footer { background: #f3f3f3; }
.footer-top { padding: 56px 0 40px; border-bottom: 1px solid #dcdcdc; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
}
/* 간소화 footer (index 전용) */
.footer-grid-simple {
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

/* 3열 프리뷰 그리드 */
.preview-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ============================================
   RECORDS PAGE  (실적 게시판형)
   ============================================ */
.records-board-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px var(--shadow);
  overflow: hidden;
}

/* 검색바 */
.records-search-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}
.records-search-select {
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 14px; color: var(--text);
  background: #fff; cursor: pointer;
  min-width: 100px;
}
.records-search-input {
  flex: 1;
  padding: 9px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 14px; color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.records-search-input:focus { border-color: var(--primary); }
.records-search-btn {
  width: 40px; height: 40px;
  background: var(--primary); color: #fff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; cursor: pointer; border: none;
  transition: background var(--transition);
  flex-shrink: 0;
}
.records-search-btn:hover { background: var(--primary-dark); }

/* 레코드 카운트 */
.records-count {
  font-size: 13px; color: var(--text-light);
  padding: 10px 24px;
  border-bottom: 1px solid var(--border);
}
.records-count strong { color: var(--text); }

/* 게시판 테이블 */
.board-table {
  width: 100%; border-collapse: collapse;
}
.board-table th {
  padding: 14px 16px;
  background: var(--dark);
  color: #fff; font-size: 15px; font-weight: 600;
  text-align: center; white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.board-table th:last-child { border-right: none; }
.board-table td {
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--text);
  text-align: center; vertical-align: middle;
}
.board-table td.title-cell {
  text-align: left; cursor: pointer;
}
.board-table td.title-cell a {
  color: var(--text);
  transition: color var(--transition);
}
.board-table td.title-cell a:hover { color: var(--primary); }
.board-table tbody tr:hover { background: #f0f4fb; }
.board-table tbody tr:last-child td { border-bottom: none; }
.board-table .td-no   { width: 64px; }
.board-table .td-title { min-width: 260px; text-align: center; }
.board-table .td-author { white-space: nowrap; text-align: center; }
.board-table .td-date   { width: 72px; }
.board-table .td-spec   { min-width: 200px; text-align: center; font-size: 14px; line-height: 1.7; }
.board-table .td-file   { width: 60px; }
.board-table .td-views  { width: 80px; color: var(--text-light); }
.file-icon { color: var(--primary-light); font-size: 15px; }

/* 페이지네이션 */
.board-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; padding: 24px 16px;
}
.pg-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: #fff; color: var(--text-light);
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.pg-btn:hover  { border-color: var(--primary); color: var(--primary); }
.pg-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pg-btn.arrow  { font-size: 11px; color: var(--text-light); }
.pg-btn.arrow:hover { color: var(--primary); }
.pg-btn:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.footer-logo .logo-text strong { color: #333; }
.footer-logo .logo-text small  { color: #888; }
.footer-tagline {
  font-size: 15px; font-weight: 600;
  color: #444; margin: 16px 0 10px; line-height: 1.5;
}
.footer-desc { font-size: 13px; color: #888; line-height: 1.8; }
.footer-nav-group h4 { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 16px; }
.footer-nav-group ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-group ul a { font-size: 13.5px; color: #777; transition: all var(--transition); }
.footer-nav-group ul a:hover { color: #222; padding-left: 4px; }
.footer-contact-info h4 { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 16px; }
.footer-contact-info address { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-info p {
  font-size: 15px; color: #777;
  display: flex; align-items: flex-start; gap: 10px;
}
.footer-contact-info p i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact-info a:hover { color: #222; }
.footer-bottom { padding: 20px 0; border-top: 1px solid #dcdcdc; }
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
}
.copyright { font-size: 14px; color: #999; }
.footer-bottom-nav { display: flex; gap: 20px; }
.footer-bottom-nav a { font-size: 13px; color: #999; }
.footer-bottom-nav a:hover { color: #444; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--primary); color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px var(--shadow-lg); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: all var(--transition); z-index: 900;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ============================================
   SUB TAB NAV  (about, products, projects 서브탭)
   ============================================ */
.sub-tab-nav {
  position: sticky;
  top: 84px;
  z-index: 500;
  background: #fff;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow);
}
.sub-tab-list {
  display: flex;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.sub-tab-list::-webkit-scrollbar { display: none; }
.sub-tab-list li { flex: 1; }
.sub-tab-link {
  display: block;
  padding: 16px 28px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
  width: 100%;
}
.sub-tab-link:hover { color: var(--primary); }
.sub-tab-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ============================================
   SUB SECTION  (서브탭 개별 섹션)
   ============================================ */
.sub-section { scroll-margin-top: 130px; }

/* ============================================
   ABOUT - GREETING  (인사말)
   ============================================ */
.greeting-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: flex-start;
  margin-bottom: 60px;
}
/* 슬로건 영역 (사진 대체) */
.greeting-slogan-wrap {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  min-height: 360px;
  padding: 48px 40px;
  box-shadow: 0 12px 48px var(--shadow-lg);
}
.greeting-slogan-main {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700;
  color: #fff; line-height: 1.5;
  text-align: center; letter-spacing: 1px;
}
.greeting-body {
  font-size: 16px; color: var(--text-light);
  line-height: 1.9; margin-bottom: 28px;
}
.greeting-ceo-name {
  font-size: 17px; font-weight: 700;
  color: var(--primary); margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid var(--border);
}
/* (구) 이미지·배지·키포인트 스타일 유지 (다른 페이지 혹시 참조 시) */
.greeting-img-wrap { position: relative; }
.greeting-img {
  width: 100%; height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px var(--shadow-lg);
}
.greeting-cert-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--primary); color: #fff;
  border-radius: var(--radius); padding: 16px 18px;
  text-align: center; box-shadow: 0 8px 24px var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.greeting-cert-badge i { font-size: 22px; color: #ffd700; }
.greeting-cert-badge span { font-size: 12px; font-weight: 700; line-height: 1.4; }
.greeting-ceo { font-size: 13px; color: var(--primary); font-weight: 600; letter-spacing: 1px; margin-bottom: 4px; }
.greeting-name { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 20px; }

/* ============================================
   인사말 - 새 레이아웃 (Flexbox 기반)
   ============================================ */
.greeting-section {
  padding: 150px 0 100px;
  background: #fff;
}
.greeting-new-grid {
  display: flex;
  flex-direction: row;
  gap: 80px;
  align-items: flex-start;
}

/* 좌측 슬로건 타이틀 */
.greeting-left {
  flex: 0 0 38%;
  width: 38%;
}
.greeting-left-title {
  font-family: var(--font-main);
  font-size: 45px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--dark);
  word-break: keep-all;
  margin-bottom: 28px;
}
.gl-accent {
  color: var(--primary);
}
.greeting-left-line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* 우측 본문 */
.greeting-right {
  flex: 1 1 0;
  min-width: 0;
  padding-top: 6px;
}
.gr-para {
  font-size: 20px;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 45px;
  word-break: keep-all;
}
.gr-para:first-child {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0px;
}
.gr-accent {
  color: var(--primary);
  font-weight: 600;
}
.gr-sign-block {
  margin-top: 40px;
  text-align: right;
}
.gr-sign-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--text-light);
  margin-left: auto;
  margin-bottom: 14px;
}
.gr-sign {
  font-size: 25px;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.5px;
}



/* 회사 현황 통계 */
.company-stats-wrap {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow);
}
.company-stat {
  background: var(--primary);
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: background var(--transition);
}
.company-stat:last-child { border-right: none; }
.company-stat:nth-child(even) { background: var(--primary-dark); }
.company-stat:hover { background: var(--primary-light); }
.company-stat i { font-size: 24px; color: rgba(255,255,255,0.7); }
.company-stat strong {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700; color: #fff; line-height: 1;
}
.company-stat span { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ============================================
   ABOUT - TIMELINE  (연혁)
   ============================================ */
.timeline-wrap { position: relative; max-width: 100%; margin: 0; }
.timeline {
  position: relative;
  display: flex; flex-direction: column; gap: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 90px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  position: relative;
}
.timeline-item::after {
  content: '';
  position: absolute;
  left: 81px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(0,87,168,0.15);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--primary);
  text-align: right;
  padding-right: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.timeline-content {
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
  border-left: 3px solid var(--primary);
  margin-left: 20px;
  transition: all var(--transition);
}
.timeline-content:hover {
  box-shadow: 0 6px 24px var(--shadow-lg);
  transform: translateX(4px);
}
.timeline-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.timeline-content p  { font-size: 13.5px; color: var(--text-light); }
.timeline-content ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.timeline-content ul li { font-size: 19px; color: var(--text); line-height: 1.6; display: flex; gap: 6px; }
.tl-month { color: var(--primary); font-weight: 700; flex-shrink: 0; min-width: 26px; }

/* ============================================
   ABOUT - LOCATION  (찾아오시는길)
   ============================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
.location-map iframe {
  width: 100%; height: 420px;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 8px 32px var(--shadow);
}
.location-info {
  display: flex; flex-direction: column; gap: 0;
}
.loc-info-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.loc-info-card:last-child { border-bottom: none; }
.loc-info-card > i {
  font-size: 18px; color: var(--primary);
  width: 40px; height: 40px;
  background: rgba(0,87,168,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.loc-info-card h4 { font-size: 15px; font-weight: 700; color: var(--text-light); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.loc-info-card p  { font-size: 15px; font-weight: 500; color: var(--text); }
.loc-info-card a:hover { color: var(--primary); }
.loc-transport { padding: 20px; background: var(--bg-light); border-radius: var(--radius); }
.loc-transport h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; color: var(--dark); }
.loc-transport h4 i { color: var(--primary); }
.loc-transport ul { display: flex; flex-direction: column; gap: 8px; }
.loc-transport li { font-size: 13.5px; color: var(--text-light); line-height: 1.6; }
.loc-transport li strong { color: var(--text); }

/* ============================================
   PRODUCTS - DETAIL LAYOUT  (제품 상세)
   ============================================ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 52px;
}
.product-detail-grid.reverse { direction: rtl; }
.product-detail-grid.reverse > * { direction: ltr; }

.product-detail-img { position: relative; }
.product-detail-img img {
  width: 100%; height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px var(--shadow-lg);
}
.product-detail-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 20px;
}
.product-detail-badge.new { background: var(--accent); }

.product-detail-features {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px;
}
.pdf-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: var(--text);
}
.pdf-item i { color: var(--accent); flex-shrink: 0; font-size: 16px; }

.product-spec-table {
  width: 100%; border-collapse: collapse;
}
.product-spec-table th, .product-spec-table td {
  padding: 11px 16px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  text-align: left;
}
.product-spec-table th {
  background: var(--bg-light);
  font-weight: 700; color: var(--text);
  width: 38%;
}
.product-spec-table td { color: var(--text-light); }

/* 작동원리 스텝 */
.product-principle {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.product-principle h3 {
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  color: var(--dark); margin-bottom: 28px;
}
.product-principle h3 i { color: var(--primary); }

/* 제품특징 카드 섹션 */
.product-features-section { margin-top: 48px; }
.pf-title {
  font-size: 20px; font-weight: 700;
  color: var(--dark); margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pf-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  border-left: 4px solid var(--primary);
  transition: box-shadow var(--transition), transform var(--transition);
}
.pf-card:hover {
  box-shadow: 0 6px 24px var(--shadow-lg);
  transform: translateY(-2px);
}
.pf-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
  margin-bottom: 14px;
}
.pf-card h4 {
  font-size: 15px; font-weight: 700;
  color: var(--dark); margin-bottom: 10px;
  line-height: 1.5;
}
.pf-card p {
  font-size: 13.5px; color: var(--text-light);
  line-height: 1.8;
}
@media (max-width: 640px) {
  .pf-grid { grid-template-columns: 1fr; }
}
.principle-steps {
  display: flex; align-items: flex-start; gap: 16px;
}
.ps-item {
  flex: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  border-top: 3px solid var(--primary);
}
.ps-num {
  display: inline-flex;
  width: 36px; height: 36px;
  background: var(--primary); color: #fff;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  margin-bottom: 12px;
}
.ps-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.ps-item p  { font-size: 12.5px; color: var(--text-light); line-height: 1.7; }
.ps-arrow {
  display: flex; align-items: center;
  padding-top: 40px;
  color: var(--primary); font-size: 20px;
  flex-shrink: 0;
}

/* 제품 하이라이트 카드 */
.product-highlight {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; margin-top: 12px;
}
.ph-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}
.ph-item:hover { transform: translateY(-6px); border-bottom-color: var(--primary); box-shadow: 0 8px 28px var(--shadow-lg); }
.ph-item > i { font-size: 32px; color: var(--primary); margin-bottom: 14px; display: block; }
.ph-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.ph-item p  { font-size: 12.5px; color: var(--text-light); line-height: 1.7; }

/* ============================================
   PROJECTS - RECORDS TABLE  (실적 테이블)
   ============================================ */
.records-stat-banner {
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); border-radius: var(--radius-lg);
  padding: 28px 40px;
  margin-bottom: 40px;
  gap: 0;
}
.rsb-item {
  flex: 1; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.rsb-item strong {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700; color: #fff;
}
.rsb-item span { font-size: 13px; color: rgba(255,255,255,0.7); }
.rsb-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.2); flex-shrink: 0; margin: 0 20px; }

.records-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: 0 4px 20px var(--shadow); }
.records-table {
  width: 100%; border-collapse: collapse; min-width: 700px;
}
.records-table th, .records-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px; text-align: left;
}
.records-table thead tr {
  background: var(--dark);
  color: #fff;
}
.records-table thead th { font-weight: 700; }
.records-table tbody tr:hover { background: var(--bg-light); }
.records-table tbody tr:last-child td { border-bottom: none; }
.records-note {
  font-size: 12.5px; color: var(--text-light);
  margin-top: 16px;
}

/* 분류 태그 */
.rec-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  white-space: nowrap;
}
.rec-tag.national { background: rgba(0,87,168,0.1); color: var(--primary); }
.rec-tag.local    { background: rgba(0,168,107,0.1); color: var(--accent-dark); }
.rec-tag.agri     { background: rgba(255,152,0,0.12); color: #e65100; }
.rec-tag.coast    { background: rgba(33,150,243,0.12); color: #0277bd; }

/* ============================================
   PROJECTS - GALLERY  (실적사진)
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative;
  box-shadow: 0 4px 16px var(--shadow);
  transition: all var(--transition);
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: 0 12px 36px var(--shadow-lg); }
.gallery-item img {
  width: 100%; height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,20,50,0.92) 0%, transparent 100%);
  padding: 24px 16px 16px;
}
.gallery-info h4 { font-size: 14.5px; font-weight: 700; color: #fff; margin: 4px 0 2px; }
.gallery-info p  { font-size: 12px; color: rgba(255,255,255,0.65); }

/* gallery filter btn */
.gallery-btn {
  padding: 8px 22px; border-radius: 20px;
  font-size: 14px; font-weight: 600;
  color: var(--text-light); background: #fff;
  border: 1.5px solid var(--border); transition: all var(--transition);
  cursor: pointer;
}
.gallery-btn.active, .gallery-btn:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ============================================
   MOBILE NAV - 섹션형 (신규 구조)
   ============================================ */
.mobile-nav-section {
  display: block;
  padding: 14px 16px 6px;
  font-size: 11px; font-weight: 700;
  color: var(--primary); letter-spacing: 1.5px;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
}
.mobile-nav-section:first-child { border-top: none; }
.mobile-nav ul > li:first-child .mobile-nav-section { border-top: none; }
.mobile-nav-sub {
  display: flex; flex-direction: column; gap: 0;
}
.mobile-nav-sub .mobile-nav-link {
  padding: 10px 24px;
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-light);
}
.mobile-nav-sub .mobile-nav-link:hover { color: var(--primary); padding-left: 32px; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE - TABLET (1024px)
   ============================================ */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .gnb { display: none; position: static; transform: none; }
  .mobile-menu-btn { display: flex; }
  .header-top { display: none; }

  /* about */
  .greeting-grid { grid-template-columns: 1fr; gap: 48px; }
  .greeting-img { height: 320px; }
  .greeting-cert-badge { bottom: -14px; right: 14px; }
  .greeting-keypoints { grid-template-columns: 1fr; }
  .company-stats-wrap { grid-template-columns: repeat(2,1fr); }
  .company-stat:nth-child(2) { border-right: none; }
  .timeline::before { left: 90px; }
  .timeline-item { grid-template-columns: 90px 1fr; gap: 24px; }
  .timeline-item::after { left: 81px; }
  .timeline-year { font-size: 18px; padding-right: 10px; }
  .location-grid { grid-template-columns: 1fr; gap: 32px; }

  /* products */
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-detail-grid.reverse { direction: ltr; }
  .product-detail-img img { height: 280px; }
  .principle-steps { flex-direction: column; }
  .ps-arrow { padding-top: 0; transform: rotate(90deg); align-self: center; }
  .product-highlight { grid-template-columns: 1fr 1fr; }

  /* projects */
  .records-stat-banner { padding: 20px 24px; }
  .rsb-item strong { font-size: 28px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  /* index */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img { height: 340px; }
  .about-badge { bottom: -16px; right: 16px; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .strengths-grid { grid-template-columns: 1fr 1fr; }
  .applications-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(4,1fr); }
  .tech-panel-grid { grid-template-columns: 1fr; gap: 32px; }
  .tech-panel-img img { height: 260px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .app-detail-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================
   RESPONSIVE - MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 24px; }
  .section-header { margin-bottom: 36px; }

  /* sub-tab */
  .sub-tab-nav { top: 64px; }
  .sub-tab-link { padding: 12px 18px; font-size: 13.5px; }

  /* stats */
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .stat-item:nth-child(odd)    { border-right: 1px solid rgba(255,255,255,0.2); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  /* grids */
  .preview-grid    { grid-template-columns: 1fr; }
  .products-grid   { grid-template-columns: 1fr; }
  .strengths-grid  { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: 1fr; }
  .projects-grid   { grid-template-columns: 1fr 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 12px; text-align: center; }

  /* hero */
  .hero-scroll { display: none; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }

  /* tech */
  .structure-points { grid-template-columns: 1fr; }
  .control-features { grid-template-columns: 1fr; }
  .tech-tabs { overflow-x: auto; }
  .cert-grid { grid-template-columns: 1fr; }
  .history-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .page-hero { padding-top: 160px; padding-bottom: 120px; }

  /* about */
  .greeting-new-grid { flex-direction: column; gap: 40px; }
  .greeting-left { flex: none; width: 100%; }
  .greeting-left-title { font-size: 26px; }
  .gr-para { font-size: 15px; }
  .timeline::before { left: 68px; }
  .timeline-item { grid-template-columns: 68px 1fr; gap: 20px; }
  .timeline-item::after { left: 59px; top: 28px; width: 14px; height: 14px; }
  .timeline-year { font-size: 14px; padding-right: 10px; text-align: right; }
  .timeline-content { margin-left: 6px; padding: 14px 16px; }

  /* products */
  .product-highlight { grid-template-columns: 1fr 1fr; }
  .product-principle { padding: 24px 20px; }

  /* projects */
  .records-stat-banner { flex-wrap: wrap; gap: 20px; padding: 24px; }
  .rsb-divider { display: none; }
  .rsb-item { min-width: 100px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px; }
  .stat-num { font-size: 32px; }
  .product-highlight { grid-template-columns: 1fr; }
  .company-stats-wrap { grid-template-columns: 1fr 1fr; }
  .principle-steps { gap: 8px; }
  .greeting-keypoints { grid-template-columns: 1fr; }
  .records-stat-banner { justify-content: flex-start; }
  .rsb-item { flex: none; width: 45%; }
}

/* ============================================
   PROJECTS PAGE  (시공실적 메인 페이지)
   ============================================ */

/* 통계 섹션 */
.proj-stat-section {
  background: var(--primary);
  padding: 0;
}
.proj-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.proj-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: background var(--transition);
}
.proj-stat-item:last-child { border-right: none; }
.proj-stat-item:hover { background: rgba(255,255,255,0.08); }
.proj-stat-item i {
  font-size: 28px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.proj-stat-item strong {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 700;
  color: #fff; line-height: 1;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.proj-stat-item sup {
  font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.8);
}
.proj-stat-item span {
  font-size: 13px; color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
}

/* 페이지 진입 메뉴 */
.proj-page-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow);
}
.proj-page-nav .container {
  display: flex;
}
.proj-page-link {
  flex: 1;
  display: flex; align-items: center; gap: 18px;
  padding: 24px 32px;
  border-right: 1px solid var(--border);
  transition: all var(--transition);
  color: var(--text);
}
.proj-page-link:last-child { border-right: none; }
.proj-page-link:hover { background: var(--bg-light); color: var(--primary); }
.proj-page-link > i:first-child {
  font-size: 28px; color: var(--primary);
  flex-shrink: 0;
}
.proj-page-link div strong {
  display: block; font-size: 16px; font-weight: 700;
  color: var(--dark); margin-bottom: 2px;
  transition: color var(--transition);
}
.proj-page-link:hover div strong { color: var(--primary); }
.proj-page-link div span {
  font-size: 13px; color: var(--text-light);
}
.proj-arrow {
  margin-left: auto; font-size: 14px;
  color: var(--text-light); transition: all var(--transition);
}
.proj-page-link:hover .proj-arrow {
  color: var(--primary); transform: translateX(4px);
}

/* 최근 실적 카드 그리드 */
.recent-proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.rpj-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
}
.rpj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-lg);
}
.rpj-img {
  position: relative; overflow: hidden;
}
.rpj-img img {
  width: 100%; height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.rpj-card:hover .rpj-img img { transform: scale(1.05); }
.rpj-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
}
.rpj-badge.national { background: var(--primary); color: #fff; }
.rpj-badge.local    { background: var(--accent);  color: #fff; }
.rpj-badge.agri     { background: #e65100; color: #fff; }
.rpj-badge.coast    { background: #0277bd; color: #fff; }
.rpj-body { padding: 22px 24px; }
.rpj-meta {
  font-size: 12.5px; color: var(--text-light);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.rpj-meta i { color: var(--primary); font-size: 11px; }
.rpj-body h3 {
  font-size: 16px; font-weight: 700; color: var(--dark);
  margin-bottom: 10px; line-height: 1.4;
}
.rpj-body p {
  font-size: 13.5px; color: var(--text-light);
  line-height: 1.7; margin-bottom: 16px;
}
.rpj-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.rpj-tags span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--primary);
  background: rgba(0,87,168,0.07);
  padding: 4px 12px; border-radius: 20px;
}
.rpj-tags span i { font-size: 10px; }

/* 하단 버튼 영역 */
.proj-more-btns {
  display: flex; justify-content: center; gap: 16px;
  margin-top: 48px;
}

/* ============================================
   RECORDS PAGE  (실적 게시판 독립 페이지)
   ============================================ */

/* 카테고리 필터 바 */
.rec-category-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.rec-cat-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 24px;
  font-size: 13.5px; font-weight: 600;
  color: var(--text-light); background: #fff;
  border: 1.5px solid var(--border);
  cursor: pointer; transition: all var(--transition);
  white-space: nowrap;
}
.rec-cat-btn i { font-size: 12px; }
.rec-cat-btn:hover { border-color: var(--primary); color: var(--primary); }
.rec-cat-btn.active {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--shadow-lg);
}

/* 테이블 래퍼 */
.board-table-wrap {
  overflow-x: auto;
}

/* 위치/제품 열 */
.board-table .td-location { min-width: 120px; }
.board-table .td-product  { min-width: 100px; }

/* 레코드 노트 링크 */
.records-note a {
  color: var(--primary);
  text-decoration: underline;
}
.records-note a:hover { color: var(--primary-dark); }

/* 필터 상태 표시 */
.rec-count-filtered {
  color: var(--primary); font-weight: 600;
  margin-left: 6px; font-size: 12px;
}

/* ============================================
   PHOTOS PAGE  (실적사진 갤러리 독립 페이지)
   ============================================ */

/* 갤러리 필터 바 */
.gallery-filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.gallery-cat-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 24px;
  font-size: 13.5px; font-weight: 600;
  color: var(--text-light); background: #fff;
  border: 1.5px solid var(--border);
  cursor: pointer; transition: all var(--transition);
  white-space: nowrap;
}
.gallery-cat-btn i { font-size: 12px; }
.gallery-cat-btn:hover { border-color: var(--primary); color: var(--primary); }
.gallery-cat-btn.active {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--shadow-lg);
}

/* 갤러리 그리드 */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.photo-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
}
.photo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px var(--shadow-lg);
}
.photo-img-wrap {
  position: relative; overflow: hidden;
}
.photo-img-wrap img {
  width: 100%; height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.photo-item:hover .photo-img-wrap img { transform: scale(1.06); }

/* 오버레이 */
.photo-overlay {
  position: absolute; inset: 0;
  background: rgba(0,40,100,0.48);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.photo-item:hover .photo-overlay { opacity: 1; }
.photo-overlay-inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #fff;
}
.photo-overlay-inner i   { font-size: 28px; }
.photo-overlay-inner span{ font-size: 13px; font-weight: 600; }

/* 캡션 */
.photo-caption {
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.photo-caption h4 {
  font-size: 14.5px; font-weight: 700; color: var(--dark);
  margin: 4px 0 0;
}
.photo-caption p {
  font-size: 12px; color: var(--text-light);
  display: flex; align-items: center; gap: 6px;
}
.photo-caption p i { font-size: 10px; color: var(--primary); }

/* ===== 라이트박스 ===== */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1; pointer-events: auto;
}
.lb-content {
  max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
}
.lb-content img {
  max-width: 100%; max-height: 78vh;
  object-fit: contain; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lb-caption {
  margin-top: 16px; text-align: center; color: rgba(255,255,255,0.8);
  max-width: 600px;
}
.lb-caption h4 { font-size: 16px; font-weight: 700; color: #fff; }
.lb-caption p  { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }
.lb-close {
  position: fixed; top: 20px; right: 24px;
  color: rgba(255,255,255,0.7); font-size: 26px;
  background: rgba(255,255,255,0.1); border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); cursor: pointer; border: none;
}
.lb-close:hover { background: rgba(255,255,255,0.2); color: #fff; }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.7); font-size: 20px;
  background: rgba(255,255,255,0.1); border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); cursor: pointer; border: none;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,0.25); color: #fff;
}

/* ============================================
   PRODUCT PAGES  (제품 상세 신규 레이아웃)
   ============================================ */

/* 개요 그리드 */
.prod-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.prod-overview-img img {
  width: 100%; height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px var(--shadow-lg);
}
.prod-intro-text {
  font-size: 15px; color: var(--text-light);
  line-height: 1.9; margin-bottom: 24px;
}
.prod-feat-list {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 8px;
}
.prod-feat-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--text);
}
.prod-feat-list li i { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* 신제품 뱃지 */
.prod-new-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px;
  background: var(--accent); color: #fff;
  padding: 8px 18px; border-radius: 24px;
  font-size: 13px; font-weight: 700;
}
.prod-new-badge i { color: #ffd700; }
.prod-new-badge--2024 { background: #0277bd; }

/* 사양 테이블 */
.prod-spec-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow);
}
.prod-spec-table {
  width: 100%; border-collapse: collapse; min-width: 540px;
}
.prod-spec-table th, .prod-spec-table td {
  padding: 14px 20px;
  border: 1px solid var(--border);
  font-size: 14px;
}
.prod-spec-table th {
  background: var(--bg-light);
  font-weight: 700; color: var(--text);
  white-space: nowrap; width: 16%;
}
.prod-spec-table td { color: var(--text); width: 34%; }

/* 작동 원리 스텝 (4단계) */
.prod-steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.prod-step {
  flex: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  border-top: 3px solid var(--primary);
  transition: all var(--transition);
}
.prod-step:hover { transform: translateY(-4px); box-shadow: 0 8px 28px var(--shadow-lg); }
.prod-step-num {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  color: var(--primary); letter-spacing: 2px;
  margin-bottom: 12px; display: block;
}
.prod-step-icon {
  width: 52px; height: 52px;
  background: rgba(0,87,168,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px; color: var(--primary);
}
.prod-step h4 { font-size: 14.5px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.prod-step p  { font-size: 12.5px; color: var(--text-light); line-height: 1.7; }
.prod-step-arrow {
  display: flex; align-items: center;
  padding-top: 48px; flex-shrink: 0;
  color: var(--primary); font-size: 18px;
}

/* 적용 분야 그리드 */
.prod-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prod-app-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.prod-app-item:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--primary);
  box-shadow: 0 10px 32px var(--shadow-lg);
}
.prod-app-item > i {
  font-size: 32px; color: var(--primary);
  margin-bottom: 14px; display: block;
}
.prod-app-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.prod-app-item p  { font-size: 12.5px; color: var(--text-light); line-height: 1.7; }

/* 하이라이트 카드 그리드 (p3, p4) */
.prod-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prod-highlight-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
}
.prod-highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px var(--shadow-lg);
}
.phc-icon {
  width: 60px; height: 60px;
  background: rgba(0,87,168,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px; color: var(--primary);
  transition: all var(--transition);
}
.prod-highlight-card:hover .phc-icon {
  background: var(--primary); color: #fff;
}
.prod-highlight-card h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.prod-highlight-card p  { font-size: 13px; color: var(--text-light); line-height: 1.8; }

/* PAGE HERO 공통 (서브페이지) */
.page-hero {
  position: relative;
  background-size: cover; background-position: center;
  padding: 320px 0 200px;
  min-height: 300px;
  display: flex; align-items: flex-end;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,20,50,.75) 0%, rgba(0,60,120,.55) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero-breadcrumb a:hover { color: #fff; }
.page-hero-breadcrumb i { font-size: 10px; }
.page-hero-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 3px; color: #7bc8ff;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-hero h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800; color: #fff; line-height: 1.15;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 15px; color: rgba(255,255,255,0.72);
  max-width: 560px; line-height: 1.7;
}

/* ============================================
   PRODUCT NEW LAYOUT (사진 참고 재설계)
   ============================================ */

/* 상단 2단 개요: 좌=텍스트, 우=이미지 */
/*
  구조: grid 래퍼를 relative로 설정하고
  - 텍스트 컬럼: 자연스러운 흐름(padding-bottom 300px로 아래 여백 확보)
  - 이미지 컬럼: absolute로 텍스트 컬럼 top ~ 텍스트 컬럼 bottom(+300px) 까지 채움
*/
.prod-intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 0;
  padding: 120px 0 0;
}
.prod-intro-text-col {
  padding-bottom: 300px;
  padding-right: 56px;
  box-sizing: border-box;
}
.prod-intro-img-col {
  position: absolute;
  top: 120px;               /* 텍스트 시작점(grid padding-top)과 동일 */
  right: 0;
  width: calc(56% - 56px); /* grid 우측 컬럼 너비 */
  bottom: 0;                /* 텍스트 padding-bottom 300px 포함한 끝까지 */
  pointer-events: auto;
}
.prod-intro-img-col img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  display: block;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center;
}

/* 제품명 */
.prod-intro-name {
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

/* 소제목 */
.prod-intro-subtitle {
  font-size: 26px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.6;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--bg-light);
}

/* 특징 리스트 */
.prod-intro-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0; margin: 0;
}
.prod-intro-list li {
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.65;
  padding: 11px 0 11px 22px;
  border-bottom: none;
  position: relative;
}
.prod-intro-list li:last-child {
  border-bottom: none;
}
.prod-intro-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ---- 제품특징 섹션 ---- */
.prod-feat-section {
  padding: 80px 0 120px;
  border-top: 1px solid var(--border);
}

/* 섹션 타이틀 */
.prod-feat-section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 100px;
  letter-spacing: -0.2px;
}
.prod-feat-section-title::after {
  content: none;
}

/* 4열 카드 그리드 */
.prod-feat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 개별 카드 */
.prod-feat-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.prod-feat-card:hover {
  box-shadow: none;
  transform: none;
}

/* 카드 이미지: 4:3 비율 */
.prod-feat-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 30px;
  object-fit: cover;
  display: block;
  background: var(--bg-light);
}

/* 카드 텍스트 영역 */
.prod-feat-card-body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-feat-card h4 {
  font-size: 25px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
  margin-bottom: 30px;
  letter-spacing: -0.1px;
}
.prod-feat-card p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.85;
  flex: 1;
}

/* 3열×2행 그리드 (6개 카드용) */
.prod-feat-cards-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 3열 카드용 이미지 비율 조정 */
.prod-feat-cards-3col .prod-feat-card-img {
  aspect-ratio: 4 / 3;
}

/* 성능시험성적서 카드 그리드 (3열 × 2행, A4 세로 비율) */
.prod-cert-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prod-cert-card {
  display: block;
  border: none;
  overflow: hidden;
}
.prod-cert-card-img {
  width: 100%;
  aspect-ratio: 210 / 297; /* A4 세로 비율 */
  object-fit: cover;
  object-position: top;
  display: block;
}

/* 반응형 */
@media (max-width: 1024px) {
  .prod-intro-grid { grid-template-columns: 46% 1fr; padding: 64px 0 0; }
  .prod-intro-text-col { padding-right: 40px; padding-bottom: 220px; }
  .prod-intro-img-col { top: 64px; width: calc(54% - 40px); }
  .prod-feat-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .prod-feat-cards-3col { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .prod-cert-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
  .prod-intro-grid { display: flex; flex-direction: column; gap: 28px; padding: 40px 0 36px; }
  .prod-intro-text-col { width: 100%; padding-right: 0; padding-bottom: 0; }
  .prod-intro-img-col { position: static; width: 100%; bottom: auto; top: auto; }
  .prod-intro-img-col img { min-height: 220px; height: auto; object-fit: cover; }
  .prod-intro-name { font-size: 26px; }
  .prod-feat-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .prod-feat-cards-3col { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .prod-cert-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .prod-feat-section { padding: 48px 0 56px; }
  .prod-feat-section-title { font-size: 21px; }
  .prod-feat-card h4 { font-size: 14px; }
  .prod-feat-card p { font-size: 12.5px; }
  .prod-feat-card-body { padding: 16px 14px 18px; }
}
@media (max-width: 480px) {
  .prod-feat-cards { grid-template-columns: 1fr; gap: 14px; }
  .prod-feat-cards-3col { grid-template-columns: 1fr; gap: 14px; }
  .prod-feat-card-img { aspect-ratio: 16 / 9; }
  .prod-intro-list li { font-size: 14px; }
}

/* ============================================
   PREVIEW CARD (index 사업분야)
   ============================================ */
.preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.preview-card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
}
.preview-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px var(--shadow-lg); }
.preview-card-img { overflow: hidden; height: 220px; }
.preview-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s ease;
}
.preview-card:hover .preview-card-img img { transform: scale(1.07); }
.preview-card-body { padding: 24px 22px; }
.preview-card-icon {
  width: 44px; height: 44px;
  background: rgba(0,87,168,0.09); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--primary);
  margin-bottom: 12px;
}
.preview-card-body h3 { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 28px;  letter-spacing : 0.1em; text-align: center}
.preview-card-body p  { font-size: 18px; color: var(--text-light); line-height: 1.75; margin-bottom: 16px; }
.preview-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--primary);
  transition: gap var(--transition);
  margin-left: auto;
  display: flex; /* inline-flex를 flex로 변경하여 가로 전체를 차지하게 만듦 */
}
.preview-card-link:hover { gap: 10px; }

/* ============================================
   RESPONSIVE 추가 (신규 요소)
   ============================================ */
@media (max-width: 1024px) {
  .proj-stat-grid    { grid-template-columns: repeat(2, 1fr); }
  .proj-stat-item:nth-child(2) { border-right: none; }
  .recent-proj-grid  { grid-template-columns: 1fr 1fr; }
  .prod-overview-grid{ grid-template-columns: 1fr; gap: 36px; }
  .prod-overview-img img { height: 300px; }
  .prod-steps-grid   { flex-direction: column; }
  .prod-step-arrow   { transform: rotate(90deg); align-self: center; padding-top: 0; }
  .prod-app-grid     { grid-template-columns: 1fr 1fr; }
  .prod-highlight-grid { grid-template-columns: 1fr 1fr; }
  .proj-page-link    { padding: 20px 24px; }
}

@media (max-width: 768px) {
  .proj-stat-grid    { grid-template-columns: repeat(2, 1fr); }
  .proj-stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .proj-stat-item:nth-child(even){ border-right: none; }
  .proj-page-nav .container { flex-direction: column; }
  .proj-page-link    { border-right: none; border-bottom: 1px solid var(--border); }
  .recent-proj-grid  { grid-template-columns: 1fr; }
  .proj-more-btns    { flex-direction: column; align-items: center; }
  .photo-gallery-grid{ grid-template-columns: 1fr 1fr; }
  .rec-category-bar  { gap: 6px; }
  .rec-cat-btn       { padding: 7px 14px; font-size: 12.5px; }
  .gallery-cat-btn   { padding: 7px 14px; font-size: 12.5px; }
  .prod-app-grid     { grid-template-columns: 1fr 1fr; }
  .prod-highlight-grid { grid-template-columns: 1fr 1fr; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

@media (max-width: 480px) {
  .proj-stat-item strong { font-size: 30px; }
  .photo-gallery-grid { grid-template-columns: 1fr; }
  .prod-app-grid      { grid-template-columns: 1fr; }
  .prod-highlight-grid{ grid-template-columns: 1fr; }
  .prod-spec-table th, .prod-spec-table td { padding: 10px 12px; font-size: 13px; }
  .preview-grid       { grid-template-columns: 1fr; }
}

/* ============================================
   ARCHIVE (자료실) — patents / catalog / pr
   ============================================ */

/* ---- 공통 섹션 래퍼 ---- */
.archive-section {
  padding: 56px 0 80px;
}

/* 업로드 패널 (관리자 입력 폼) */
.archive-upload-panel {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 48px;
}
.archive-upload-panel h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.archive-upload-panel h3 i {
  color: var(--primary);
  font-size: 15px;
}
.archive-form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.archive-form-row input,
.archive-form-row textarea,
.archive-form-row select {
  flex: 1 1 200px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.archive-form-row input:focus,
.archive-form-row textarea:focus,
.archive-form-row select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,127,194,0.1);
}
.archive-form-row textarea {
  resize: vertical;
  min-height: 80px;
}
.archive-btn-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.archive-btn-add:hover { background: var(--primary-dark); }

/* ---- 특허증 그리드 ---- */
.patent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.patent-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.patent-card:hover {
  box-shadow: 0 8px 28px var(--shadow-lg);
  transform: translateY(-4px);
}
.patent-card-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-light);
  overflow: hidden;
}
.patent-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.patent-card:hover .patent-card-img-wrap img { transform: scale(1.04); }
.patent-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22,50,72,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.patent-card:hover .patent-card-overlay { opacity: 1; }
.patent-card-overlay i { color: #fff; font-size: 28px; }
.patent-card-body {
  padding: 14px 16px 16px;
}
.patent-card-body h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.patent-card-body span {
  font-size: 17px;
  color: var(--text-light);
}
.patent-card-del {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
  color: #e05;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-main);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.patent-card-del:hover { opacity: 1; }

/* ---- 라이트박스 (특허증) ---- */
.archive-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.archive-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.archive-lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.archive-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.archive-lightbox-close:hover { background: rgba(255,255,255,0.28); }
.archive-lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  background: rgba(0,0,0,0.5);
  padding: 8px 20px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ---- 카탈로그 그리드 ---- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.catalog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.catalog-card:hover {
  box-shadow: 0 8px 28px var(--shadow-lg);
  transform: translateY(-4px);
}
.catalog-card-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-light);
  overflow: hidden;
  cursor: pointer;
}
.catalog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.catalog-card:hover .catalog-card-img-wrap img { transform: scale(1.03); }
.catalog-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22,50,72,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}
.catalog-card:hover .catalog-card-overlay { opacity: 1; }
.catalog-overlay-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}
.catalog-overlay-btn:hover { background: rgba(255,255,255,0.4); }
.catalog-card-body {
  padding: 16px 18px 18px;
}
.catalog-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
  line-height: 1.4;
}
.catalog-card-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}
.catalog-card-del {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #e05;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-main);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.catalog-card-del:hover { opacity: 1; }

/* 카탈로그 뷰어 모달 */
.catalog-viewer-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.catalog-viewer-modal.active {
  opacity: 1;
  visibility: visible;
}
.catalog-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
  margin-bottom: 16px;
  color: #fff;
}
.catalog-viewer-header h3 { font-size: 16px; font-weight: 600; }
.catalog-viewer-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.catalog-viewer-close:hover { background: rgba(255,255,255,0.3); }
.catalog-viewer-img {
  max-width: 900px;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.catalog-viewer-nav {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.catalog-viewer-nav button {
  padding: 8px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition);
}
.catalog-viewer-nav button:hover { background: rgba(255,255,255,0.25); }
.catalog-viewer-nav button:disabled { opacity: 0.35; cursor: default; }
.catalog-page-indicator { color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 10px; }

/* ---- 홍보자료 리스트 ---- */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pr-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pr-card:hover {
  box-shadow: 0 8px 28px var(--shadow-lg);
  transform: translateY(-3px);
}
/* 유튜브 임베드 */
.pr-card-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.pr-card-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* 뉴스 썸네일 */
.pr-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-light);
  overflow: hidden;
}
.pr-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pr-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
}
.pr-type-badge.youtube { background: #e62117; }
.pr-type-badge.news    { background: var(--primary); }
.pr-card-body {
  padding: 18px 20px 20px;
}
.pr-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
  margin-bottom: 6px;
}
.pr-card-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pr-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pr-card-date { font-size: 12px; color: var(--text-light); }
.pr-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
.pr-card-link:hover { color: var(--primary-dark); }
.pr-card-del {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #e05;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-main);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.pr-card-del:hover { opacity: 1; }

/* ---- 빈 상태 (아이템 없을 때) ---- */
.archive-empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-light);
}
.archive-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  opacity: 0.4;
}
.archive-empty p { font-size: 15px; }

/* ---- 반응형 ---- */
@media (max-width: 1024px) {
  .patent-grid  { grid-template-columns: repeat(3, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .patent-grid  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pr-grid      { grid-template-columns: 1fr; gap: 16px; }
  .archive-upload-panel { padding: 24px 20px; }
  .archive-form-row { flex-direction: column; }
}
@media (max-width: 480px) {
  .patent-grid  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .catalog-grid { grid-template-columns: 1fr; }
}
