@charset "utf-8";
/* ========================================
   엔비솔테크 홈페이지 스타일
   - 브랜드 컬러: 블루 #186FAB / 그린 #80BE3C (홈페이지트리.xlsx)
   - 시안 기준 폭 1896px → 컨텐츠 1400px
   ======================================== */

/* === 디자인 토큰 === */
:root {
  --c-blue: #186fab;
  --c-blue-deep: #0a78ba;
  --c-green: #80be3c;
  --c-teal: #2e9a9a;
  --c-orange: #f7931e;
  --c-text: #111;
  --c-text-2: #333;
  --c-text-3: #666;
  --c-line: #dddddd;
  --c-line-2: #cccccc;
  --c-bg-gray: #f4f4f4;
  --grad-text: linear-gradient(90deg, #1478b4 0%, #3e9e8e 55%, #80be3c 100%);
  --grad-bar: linear-gradient(180deg, #2e9a9a 0%, #186fab 100%);
  --grad-bar-green: linear-gradient(180deg, #1b75bc 0%, #80be3c 100%);
  --container: 1400px;
  --header-h: 90px;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
}

/* === Reset & Base (사이트 영역만) === */
body.site-body { margin: 0; font-family: var(--font); color: var(--c-text); background: #fff; font-size: 16px; line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
.site-body * { box-sizing: border-box; }
/* 리셋은 :where() 로 명시도 0 → 컴포넌트 클래스가 항상 우선 */
:where(.site-body) :where(h1, h2, h3, h4, h5, p, ul, ol, dl, dd) { margin: 0; padding: 0; }
:where(.site-body) :where(ul, ol) { list-style: none; }
:where(.site-body) a { color: inherit; text-decoration: none; }
:where(.site-body) img { max-width: 100%; vertical-align: top; border: 0; }
:where(.site-body) button { font-family: inherit; cursor: pointer; }
:where(.site-body) :where(input, select, textarea) { font-family: inherit; }
/* 플랫폼 default.css 전역 규칙 무력화 (a:hover 주황, 나눔고딕 제목, 12px 표, 체크박스 appearance:none) */
.site-body a:hover { color: inherit; }
.site-body :is(h1, h2, h3, h4, h5, strong, b, th, dt) { font-family: var(--font); }
.site-body :is(strong, b) { font-weight: 700; }
.site-body :is(table, thead, tbody, tr, th, td) { font-size: inherit; }
.site-body input[type=checkbox], .site-body input[type=radio] { -webkit-appearance: auto; appearance: auto; }
.site-body .wrap { min-height: 50vh; }
.inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; box-sizing: content-box; }
.blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ========================================
   헤더
   ======================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h); transition: background .25s, box-shadow .25s; }
.header-inner { position: relative; z-index: 2; display: flex; align-items: center; height: 100%; max-width: 1720px; margin: 0 auto; padding: 0 40px; }
.site-header .logo { flex: 0 0 auto; line-height: 0; }
.site-header .logo-img { height: 46px; width: auto; }
.site-header .logo-dark { display: none; }

/* GNB */
.gnb { flex: 1; display: flex; justify-content: center; height: 100%; }
.gnb-list { display: flex; height: 100%; }
.gnb-item { position: relative; height: 100%; }
.site-header .gnb-link { display: flex; align-items: center; height: 100%; padding: 0 clamp(18px, 3.4vw, 64px); font-size: 17px; font-weight: 600; color: #fff; white-space: nowrap; transition: color .2s; }
.site-header .gnb-item.active > .gnb-link, .site-header .gnb-item:hover > .gnb-link { color: var(--c-green); }

/* 드롭다운 (호버 시 전체 하위메뉴 펼침) */
.sub-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 190px; padding: 18px 0 22px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .2s; }
.site-header .sub-menu > li > a { display: block; padding: 8px 10px; font-size: 16px; font-weight: 600; color: #222; white-space: nowrap; }
.site-header .sub-menu > li > a:hover { color: var(--c-blue); }
/* 소메뉴(3차) : 중메뉴보다 작고 옅게 + 구분 박스 */
.sub-menu-3 { margin: 2px 14px 8px; padding: 6px 0; border-radius: 6px; background: #f5f7f9; }
.site-header .sub-menu-3 a { display: block; padding: 3px 10px; font-size: 13px; font-weight: 400; color: #777; white-space: nowrap; }
.site-header .sub-menu-3 a::before { content: '- '; color: #aaa; }
.site-header .sub-menu-3 a:hover { color: var(--c-green); }
/* 영문 : 메뉴명이 길어 옆 칸과 겹침 → 서브메뉴 폭을 GNB 한 칸에 맞추고 줄바꿈 허용 + 폰트 한 단계 축소 */
.lang-en .sub-menu { width: 100%; min-width: 170px; }
.lang-en.site-body .site-header .sub-menu > li > a { padding: 7px 12px; font-size: 15px; line-height: 1.3; white-space: normal; word-break: keep-all; }
.lang-en.site-body .site-header .sub-menu-3 a { padding: 3px 10px; font-size: 12px; line-height: 1.35; white-space: normal; word-break: keep-all; }
.gnb-dropdown-bg { position: absolute; top: var(--header-h); left: 0; right: 0; height: 0; background: #fff; border-top: 1px solid #eee; box-shadow: 0 10px 20px rgba(0,0,0,.06); opacity: 0; transition: height .25s, opacity .2s; z-index: 1; }
.site-header.menu-open .sub-menu { opacity: 1; visibility: visible; }
.site-header.menu-open .gnb-dropdown-bg { opacity: 1; height: 330px; }

/* 헤더 우측 */
.header-right { flex: 0 0 auto; display: flex; align-items: center; gap: 28px; }
.site-header .lang-toggle { font-size: 15px; font-weight: 600; color: #fff; }
.header-quote-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: 8px; background: var(--c-green); color: #fff !important; font-size: 15px; font-weight: 700; transition: background .2s; }
.header-quote-btn:hover { background: #6faa2f; }
.mobile-menu-btn { display: none; width: 34px; height: 34px; padding: 6px 4px; border: 0; background: none; }
.mobile-menu-btn span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; }

/* 스크롤/메뉴오픈/흰배경 상태 */
.site-header.is-solid, .site-header.menu-open { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header.is-solid .logo-light, .site-header.menu-open .logo-light { display: none; }
.site-header.is-solid .logo-dark, .site-header.menu-open .logo-dark { display: inline; }
.site-header.is-solid .gnb-link, .site-header.menu-open .gnb-link, .site-header.is-solid .lang-toggle, .site-header.menu-open .lang-toggle { color: #111; }
.site-header.is-solid .gnb-item.active > .gnb-link, .site-header.menu-open .gnb-item:hover > .gnb-link { color: var(--c-blue); }
.site-header.is-solid .mobile-menu-btn span, .site-header.menu-open .mobile-menu-btn span { background: #111; }

/* 모바일 메뉴 패널 */
.mobile-nav { position: fixed; top: 0; right: -360px; z-index: 1100; width: 340px; max-width: 88vw; height: 100%; background: #fff; overflow-y: auto; transition: right .3s; display: flex; flex-direction: column; }
.mobile-nav.open { right: 0; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #eee; }
.mobile-nav-head img { height: 36px; }
.mobile-nav-close { border: 0; background: none; font-size: 32px; line-height: 1; color: #333; }
.mobile-nav-list { flex: 1; }
.mobile-nav-toggle { position: relative; display: block; width: 100%; padding: 16px 20px; border: 0; border-bottom: 1px solid #f0f0f0; background: #fff; font-size: 17px; font-weight: 700; text-align: left; color: #111; }
.mobile-nav-toggle::after { content: ''; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #999; border-bottom: 2px solid #999; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.mobile-nav-item.open .mobile-nav-toggle { color: var(--c-blue); }
.mobile-nav-item.open .mobile-nav-toggle::after { transform: translateY(-30%) rotate(-135deg); }
.mobile-sub { display: none; padding: 8px 0 12px; background: #f8f9fa; }
.mobile-nav-item.open .mobile-sub { display: block; }
.mobile-sub > li > a { display: block; padding: 8px 28px; font-size: 15px; color: #333; }
.mobile-sub-3 a { display: block; padding: 4px 40px; font-size: 13px; color: #777; }
.mobile-nav-foot { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-top: 1px solid #eee; }
.mobile-nav-foot .lang-toggle { font-size: 15px; font-weight: 600; color: #111; }
.mobile-nav-dim { position: fixed; inset: 0; z-index: 1050; background: rgba(0,0,0,.45); display: none; }
.mobile-nav-dim.open { display: block; }
body.nav-locked { overflow: hidden; }

/* ========================================
   공통 컴포넌트
   ======================================== */
/* 그라데이션 헤드라인 */
.lead-gradient { margin: 0 auto; font-size: clamp(26px, 2.6vw, 48px); font-weight: 700; line-height: 1.35; text-align: center; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; }
.lead-desc { margin-top: 36px; font-size: 18px; line-height: 1.75; color: var(--c-text-2); }
.lead-desc.center { text-align: center; }

/* 섹션 소제목 (좌측 세로 막대) */
.sec-title { position: relative; padding-left: 20px; font-size: clamp(22px, 1.6vw, 30px); font-weight: 700; line-height: 1.3; color: var(--c-text); }
.sec-title::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 0.8em; transform: translateY(-50%); background: var(--grad-bar); }
.sec-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sec-desc { margin-top: 18px; padding-left: 20px; font-size: 18px; line-height: 1.7; color: #222; font-weight: 500; }
.sub-section { margin-top: 90px; }
.sub-section:first-child { margin-top: 0; }
.sub-section > .sec-title + * { margin-top: 26px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 200px; height: 46px; padding: 0 26px; border: 1px solid transparent; border-radius: 4px; font-size: 16px; font-weight: 600; transition: filter .2s, background .2s; }
.btn:hover { filter: brightness(0.95); }
.btn-green { background: var(--c-green); color: #fff !important; }
.btn-blue { background: var(--c-blue-deep); color: #fff !important; }
.btn-line { background: #fff; border-color: var(--c-teal); color: #111; }
.btn-gray { background: #f2f2f2; border-color: var(--c-line-2); color: #111; font-weight: 700; }
.btn-row { display: flex; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }

/* 표 (구분 | 내용) */
.site-body .spec-table { width: 100%; border-collapse: collapse; border-top: 2px solid #333; border-bottom: 2px solid #333; font-size: 18px; }
.spec-table th, .spec-table td { font-size: inherit; padding: 18px 20px; border-bottom: 1px solid var(--c-line); text-align: center; line-height: 1.5; color: #222; }
.spec-table thead th { font-weight: 700; background: #fafafa; }
.spec-table tbody th { width: 28%; font-weight: 600; border-right: 1px solid var(--c-line); }
.spec-table thead th:first-child { border-right: 1px solid var(--c-line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* 적용제품 / 적용분야 연결 행 */
.link-row { display: flex; align-items: center; gap: 12px; }
.link-row-label { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 190px; height: 46px; padding: 0 20px; border-radius: 4px; background: var(--c-green); color: #fff; font-size: 17px; font-weight: 600; }
.link-row-arrow { flex: 0 0 44px; height: 20px; background: radial-gradient(circle, var(--c-green) 1.6px, transparent 2px) 0 50% / 6px 6px repeat-x; position: relative; margin-right: 4px; }
.link-row-arrow::after { content: ''; position: absolute; right: -2px; top: 50%; width: 10px; height: 10px; border-top: 3px dotted var(--c-green); border-right: 3px dotted var(--c-green); transform: translateY(-50%) rotate(45deg); }
.link-row-items { flex: 1; display: flex; gap: 12px; min-width: 0; }
.link-row-items a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 14px; border: 1px solid #bbb; border-radius: 4px; background: #fff; font-size: 17px; color: #222; text-align: center; line-height: 1.3; transition: border-color .2s, color .2s; }
.link-row-items a:hover { border-color: var(--c-green); color: var(--c-blue); }

/* 3차 탭 */
.depth3-tabs { display: flex; gap: 14px; margin-bottom: 70px; }
.depth3-tabs a { flex: 1; display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid #5aae7e; border-radius: 4px; font-size: 17px; font-weight: 500; color: #111; background: #fff; }
.depth3-tabs a.on { background: var(--c-green); border-color: var(--c-green); color: #fff; font-weight: 700; }

/* ========================================
   메인
   ======================================== */
.is-main .wrap { min-height: 0; }
.main-sec { position: relative; }
.main-sec-title { font-size: clamp(28px, 2.4vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
.main-sec-title .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 히어로 */
.hero { position: relative; height: 100vh; min-height: 560px; max-height: 1080px; overflow: hidden; background: #0d2b1f; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 7s ease-out; }
.hero-slide.active img { transform: scale(1); }
/* 히어로 문구 : 좌측 그라데이션 위 흰 글씨 */
.hero-slide::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.18) 45%, transparent 70%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%, #000 85%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 28%, #000 85%, transparent 100%); }
.hero-slide.is-bright::before { background: linear-gradient(90deg, rgba(10,30,50,.62) 0%, rgba(10,30,50,.34) 45%, transparent 75%); }
/* 좌우 여백 : 넓은 화면은 컨테이너 기준선, 1400~1800px 노트북 화면에서도 최소 8vw 확보 */
.hero-text { position: absolute; left: 0; right: 0; top: 50%; z-index: 2; padding: 0 max(8vw, calc((100% - var(--container)) / 2)); box-sizing: border-box; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.3); transform: translateY(-50%); }
.hero-text h2, .hero-text p { opacity: 0; transform: translateY(40px); transition: opacity 1s ease-out, transform 1s ease-out; }
.hero-slide.active .hero-text h2 { opacity: 1; transform: none; transition-delay: .4s; }
.hero-slide.active .hero-text p { opacity: .95; transform: none; transition-delay: .8s; }
/* 첫 진입 : is-intro 상태에서 시작값 유지 → JS 가 클래스를 제거하면 첫 슬라이드도 줌·텍스트 애니메이션 재생 */
.hero.is-intro .hero-slide.active img { transform: scale(1.15); }
.hero.is-intro .hero-slide.active .hero-text h2, .hero.is-intro .hero-slide.active .hero-text p { opacity: 0; transform: translateY(40px); }
.hero-text h2 { font-size: clamp(30px, 3.6vw, 64px); font-weight: 700; line-height: 1.25; letter-spacing: -0.03em; }
.hero-text p { margin-top: 22px; font-size: clamp(17px, 1.4vw, 24px); font-weight: 500; }
.hero-slide::after { content: ''; position: absolute; inset: 0 0 auto; height: 180px; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent); }
.hero-ctrl { position: absolute; left: 50%; bottom: 48px; z-index: 5; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; color: #fff; font-size: 16px; font-weight: 600; }
.hero-progress { position: relative; width: 90px; height: 2px; background: rgba(255,255,255,.4); }
.hero-progress i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: #fff; }
.hero-ctrl button { width: 22px; height: 22px; padding: 0; border: 0; background: none; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.hero-ctrl button svg { width: 16px; height: 16px; }

/* 핵심 기술 */
.main-core { padding: 150px 0 140px; }
.main-core-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 64px; }
.main-core-head p { font-size: clamp(20px, 1.7vw, 32px); font-weight: 600; letter-spacing: -0.02em; }
.core-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; }
.core-card .core-img { overflow: hidden; border-radius: 24px; aspect-ratio: 483 / 570; border: 1px solid #e5e5e5; }
.core-card .core-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.core-card:hover .core-img img { transform: scale(1.05); }
.core-card h3 { margin-top: 34px; padding-left: 12px; font-size: clamp(20px, 1.5vw, 28px); font-weight: 700; }
.core-card p { margin-top: 6px; padding-left: 12px; font-size: 17px; color: #777; }

/* 제품·솔루션 */
.main-products { padding: 120px 0 150px; background: #6d8796 url('../img/main/products_bg.jpg') center / cover no-repeat; }
.main-products .main-sec-title { text-align: center; margin-bottom: 70px; }
.product-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; }
.product-card { position: relative; display: flex; flex-direction: column; min-height: 540px; padding: 110px 44px 48px; border-radius: 28px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, box-shadow .3s; }
.product-card h3 { font-size: clamp(24px, 1.9vw, 36px); font-weight: 700; letter-spacing: -0.03em; color: #222; }
.product-card p { margin-top: 22px; font-size: 17px; line-height: 1.55; color: #666; }
.product-card .pc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: #888; letter-spacing: 0.02em; opacity: 0; transition: opacity .3s; }
.product-card .pc-more i { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #111; color: #fff; font-style: normal; }
.product-card .pc-icon { position: absolute; right: 44px; bottom: 44px; width: 96px; height: 96px; color: #666; }
.product-card .pc-icon svg { width: 100%; height: 100%; }
.product-card:hover, .product-card.on { background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.12); }
.product-card:hover h3, .product-card.on h3 { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product-card:hover .pc-more, .product-card.on .pc-more { opacity: 1; }
.product-card:hover .pc-icon, .product-card.on .pc-icon { color: var(--c-blue); }
.product-card .pc-icon .accent { transition: stroke .3s; }
.product-card:hover .pc-icon .accent, .product-card.on .pc-icon .accent { stroke: var(--c-green); }

/* 신제품 */
.main-new { padding: 130px 0 70px; }
.new-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.new-text { position: relative; min-height: 520px; padding-top: 10px; }
.new-text h3 { margin-top: 34px; font-size: clamp(24px, 1.9vw, 36px); font-weight: 600; }
.new-text p { margin-top: 26px; font-size: 19px; line-height: 1.6; color: #555; position: relative; z-index: 2; }
.new-text .more-link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; font-size: 13px; color: #888; }
.new-text .more-link i { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #111; color: #fff; font-style: normal; }
.new-badge { position: absolute; left: 44%; top: 200px; width: 300px; max-width: 52%; pointer-events: none; }
.new-img { overflow: hidden; border-radius: 28px; }
.new-img img { width: 100%; aspect-ratio: 799 / 571; object-fit: cover; }

/* 퀵 박스 (MSDS 검색 / 견적) */
.main-quick { padding: 0 0 130px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quick-grid > * { min-width: 0; }
.quick-box { display: flex; flex-direction: column; justify-content: center; min-height: 180px; padding: 36px 64px; border-radius: 18px; color: #fff; }
.quick-box.blue { background: #1a6fae; }
.quick-box.green { background: var(--c-green); flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
.quick-box h4 { font-size: clamp(20px, 1.5vw, 28px); font-weight: 700; }
.quick-box.green h4 { flex: 1 1 auto; min-width: 0; font-weight: 500; font-size: clamp(20px, 1.6vw, 30px); line-height: 1.35; word-break: keep-all; text-wrap: balance; }
.quick-search { display: flex; gap: 14px; margin-top: 18px; }
.quick-search input { flex: 1; min-width: 0; height: 54px; padding: 0 24px; border: 0; font-size: 15px; }
.quick-search button, .quick-box .quick-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 128px; height: 54px; padding: 0 24px; border: 0; background: #000; color: #fff; font-size: 16px; font-weight: 700; }

/* 공지·소식 */
.main-news { padding: 110px 0 140px; background: #f5f5f5; }
.main-news .main-sec-title { text-align: center; }
.news-tabs-wrap { position: relative; display: flex; justify-content: center; margin: 54px 0 56px; }
.news-tabs { display: flex; gap: 50px; }
.news-tabs button { position: relative; padding: 4px 6px 12px; border: 0; background: none; font-size: 19px; font-weight: 500; color: #666; }
.news-tabs button.on { color: #111; font-weight: 700; font-size: 22px; }
.news-tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--c-blue), var(--c-green)); }
.news-more { position: absolute; right: 0; top: 8px; font-size: 15px; color: #999; }
.news-tabs-wrap .news-more:hover { color: var(--c-blue); }
.news-panel { display: none; }
.news-panel.on { display: block; }
.news-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1240px; margin: 0 auto; }
.news-card { display: flex; flex-direction: column; min-height: 270px; padding: 46px 30px 36px; border: 2px solid #e2e2e2; border-radius: 28px; background: #fff; transition: border-color .25s, transform .25s; }
.news-card:hover { border-color: var(--c-green); transform: translateY(-4px); }
.news-card h5 { font-size: 17px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card p { margin-top: 20px; font-size: 14px; line-height: 1.55; color: #888; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-card span { margin-top: auto; padding-top: 22px; font-size: 14px; color: #999; }
.news-empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: #999; }

/* ========================================
   서브 공통
   ======================================== */
.sub-banner { position: relative; display: flex; align-items: center; justify-content: center; height: 400px; padding-top: 50px; background: #234 center / cover no-repeat; color: #fff; text-align: center; }
.sub-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,.18) 100%); }
.sub-banner-content { position: relative; z-index: 1; padding: 0 20px; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.sub-banner-line1 { font-size: clamp(22px, 2.4vw, 46px); font-weight: 400; line-height: 1.3; letter-spacing: -0.02em; }
.sub-banner-line2 { font-size: clamp(22px, 2.4vw, 46px); font-weight: 700; line-height: 1.35; }

/* 로케이션 바 */
.location-bar { position: relative; z-index: 20; background: var(--c-bg-gray); border-top: 1px solid #e3e3e3; border-bottom: 1px solid #e3e3e3; }
.location-inner { display: flex; max-width: var(--container); margin: 0 auto; padding: 0 20px; box-sizing: content-box; }
.loc-home { display: flex; align-items: center; justify-content: center; width: 60px; height: 54px; color: #222; border-left: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0; }
.loc-drop { position: relative; border-right: 1px solid #e0e0e0; }
.loc-drop-btn { position: relative; display: flex; align-items: center; min-width: 230px; height: 54px; padding: 0 50px 0 22px; border: 0; background: none; font-size: 15px; color: #222; text-align: left; white-space: nowrap; }
.loc-drop-btn.current { font-weight: 700; }
.loc-drop-btn::after { content: ''; position: absolute; right: 22px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid #333; border-bottom: 1.5px solid #333; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.loc-drop.open .loc-drop-btn::after { transform: translateY(-20%) rotate(-135deg); }
.loc-drop-list { position: absolute; top: 100%; left: -1px; right: -1px; display: none; padding: 8px 0; background: #fff; border: 1px solid #ddd; box-shadow: 0 8px 18px rgba(0,0,0,.08); }
.loc-drop.open .loc-drop-list { display: block; }
.loc-drop-list a { display: block; padding: 9px 22px; font-size: 14px; color: #444; white-space: nowrap; }
.loc-drop-list a:hover, .loc-drop-list a.on { color: var(--c-blue); font-weight: 600; background: #f6f9fc; }

/* 페이지 타이틀 */
.page-head { max-width: var(--container); margin: 70px auto 0; padding: 0 20px 44px; box-sizing: content-box; text-align: center; }
.page-head::after { content: ''; display: block; height: 1px; margin-top: 44px; background: #e5e5e5; }
.page-head-cate { font-size: 20px; font-weight: 500; color: var(--c-green); }
.page-head-title { margin-top: 10px; font-size: clamp(30px, 2.4vw, 46px); font-weight: 700; letter-spacing: -0.02em; }

/* 서브 컨텐츠 */
.sub-content { padding: 30px 0 160px; }
.sub-content-inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; box-sizing: content-box; }
.sub-content .lead-gradient + .sub-body { margin-top: 90px; }

/* 하단 CTA */
.sub-cta { padding: 54px 0; background: #0d1a2a center / cover no-repeat; }
.sub-cta-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; max-width: var(--container); margin: 0 auto; padding: 0 20px; box-sizing: content-box; }
.sub-cta-card { display: flex; align-items: center; justify-content: center; gap: 16px; height: 116px; border-radius: 16px; background: rgba(255,255,255,.22); color: #fff !important; font-size: clamp(17px, 1.3vw, 23px); font-weight: 700; backdrop-filter: blur(2px); transition: background .25s; }
.sub-cta-card:hover { background: rgba(255,255,255,.36); }
.cta-arrow { position: relative; width: 26px; height: 2px; background: #fff; }
.cta-arrow::after { content: ''; position: absolute; right: 0; top: 50%; width: 11px; height: 11px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translateY(-50%) rotate(45deg); }

/* ========================================
   푸터
   ======================================== */
.site-footer { background: #2b2b2b; color: #ddd; }
.footer-inner { display: flex; align-items: center; gap: 48px; max-width: 1720px; margin: 0 auto; padding: 46px 40px 50px; }
.footer-logo img { height: 46px; width: auto; }
.footer-info { flex: 1; font-size: 14px; line-height: 1.8; }
.footer-info .bar { margin: 0 10px; color: #777; }
.footer-info .dot { margin: 0 8px; }
.footer-info .copyright { margin-left: 14px; }
.footer-links a { font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; }

.top-btn { position: fixed; right: 28px; bottom: 28px; z-index: 900; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--c-blue); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transition: opacity .25s; }
.top-btn.show { opacity: 1; visibility: visible; }

/* ========================================
   회사소개
   ======================================== */
/* 회사개요 */
.about-desc p { font-size: 18px; line-height: 1.8; color: #333; }
.about-desc p + p { margin-top: 28px; }
.about-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-mission-list { padding-left: 20px; }
.about-mission-list li + li { margin-top: 44px; }
.about-mission-list strong { display: block; font-size: 20px; font-weight: 700; color: #111; }
.about-mission-list p { margin-top: 8px; font-size: 18px; line-height: 1.6; color: #222; }
.about-mission-img { overflow: hidden; border-radius: 24px; }
.about-mission-img img { width: 100%; aspect-ratio: 684 / 384; object-fit: cover; }

/* 사업분야 카드 */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 52px; margin-top: 90px; }
.biz-card { border: 1px solid #0b78b8; border-radius: 24px; overflow: hidden; }
.biz-card-head { position: relative; display: flex; align-items: center; min-height: 100px; padding: 16px 36px; line-height: 1.3; word-break: keep-all; background: #0b78b8; color: #fff; font-size: clamp(20px, 1.6vw, 30px); font-weight: 700; }
.biz-card-body { min-height: 200px; padding: 36px; font-size: 20px; line-height: 1.75; color: #222; }
.biz-card.green { border-color: var(--c-green); }
.biz-card.green .biz-card-head { background: var(--c-green); padding-right: 140px; } /* NEW 뱃지 영역 확보 */
.badge-new { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); padding: 6px 26px 6px 18px; background: var(--c-orange); color: #fff; font-size: 17px; font-weight: 800; clip-path: polygon(0 0, 100% 0, 86% 50%, 100% 100%, 0 100%); }

/* 사업 간 연계 다이어그램 */
.biz-flow { position: relative; display: flex; justify-content: center; gap: 35px; padding: 60px 0 60px; }
.biz-circle { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 345px; height: 345px; padding: 30px; border-radius: 50%; border: 18px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12); color: #fff; text-align: center; }
.biz-circle svg { width: 46px; height: 46px; }
.biz-circle h4 { margin-top: 10px; font-size: 34px; font-weight: 800; }
.biz-circle p { margin-top: 10px; font-size: 15px; line-height: 1.55; }
.biz-circle.c1 { background: #0b78b8; }
.biz-circle.c2 { background: #00b4de; }
.biz-circle.c3 { background: var(--c-green); }
/* 원을 감싸는 화살표 : 원과 같은 중심, 지름 = 원 외곽(테두리 포함) × 1.35 (viewBox 단위로 원 반지름 100) */
.biz-circle svg.biz-ring { position: absolute; left: 50%; top: 50%; width: calc((100% + 36px) * 1.35); height: calc((100% + 36px) * 1.35); transform: translate(-50%, -50%); fill: none; stroke: #222; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }

/* 연혁 */
.history-wide { margin-top: 90px; overflow: hidden; border-radius: 16px; }
.history-wide img { width: 100%; aspect-ratio: 1387 / 236; object-fit: cover; }
.history-list { margin-top: 56px; display: flex; flex-direction: column; gap: 44px; }
.history-card { display: flex; align-items: center; min-height: 228px; padding: 40px 0; border: 1px solid var(--c-line); border-radius: 12px; }
.history-year { position: relative; flex: 0 0 300px; padding-left: 90px; font-size: 32px; font-weight: 600; }
.history-year::before { content: ''; position: absolute; left: 70px; top: 50%; width: 6px; height: 26px; transform: translateY(-50%); background: var(--grad-bar); }
.history-items { flex: 1; padding-left: 70px; border-left: 1px solid var(--c-line); }
.history-items li { display: flex; gap: 22px; padding: 7px 0; font-size: 19px; color: #222; }
.history-items .month { flex: 0 0 36px; font-weight: 600; }

/* R&D */
.rnd-tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px; }
.rnd-card { display: flex; align-items: center; gap: 26px; min-height: 190px; padding: 30px 34px; border: 1px solid var(--c-line-2); border-radius: 12px; }
.rnd-card img { flex: 0 0 90px; width: 90px; }
.rnd-card h4 { font-size: clamp(19px, 1.4vw, 26px); font-weight: 700; }
.rnd-card p { margin-top: 8px; font-size: 18px; color: #333; }
.cert-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; padding: 60px 100px; border: 1px solid var(--c-line-2); border-radius: 14px; }
.cert-box a { display: block; border: 1px solid #eee; transition: box-shadow .2s; }
.cert-box a:hover { box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.cert-box img { width: 100%; }

/* 오시는길 */
.site-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.site-photo { overflow: hidden; border-radius: 24px; }
.site-photo img { width: 100%; aspect-ratio: 645 / 390; object-fit: cover; }
.site-item .sec-title { margin-top: 36px; }
.site-item .sec-desc { margin-top: 12px; }
.visit-box { padding: 36px 40px; border: 1px solid var(--c-line-2); border-radius: 14px; }
.visit-box li { display: flex; align-items: center; gap: 24px; padding: 10px 0; font-size: 20px; font-weight: 600; }
.visit-box .pill { flex: 0 0 auto; min-width: 110px; padding: 4px 14px; border-radius: 30px; background: #6e6e6e; color: #fff; font-size: 15px; font-weight: 500; text-align: center; }
.note { margin-top: 18px; font-size: 17px; color: #333; }
.map-box { margin-top: 26px; height: 420px; border-radius: 14px; overflow: hidden; border: 1px solid var(--c-line-2); background: #f2f2f2; }
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ========================================
   제품·솔루션
   ======================================== */
.img-cards { display: grid; gap: 22px; }
.img-cards.col-3 { grid-template-columns: repeat(3, 1fr); }
.img-cards.col-2 { grid-template-columns: repeat(2, 1fr); }
.img-cards.col-1 { grid-template-columns: 1fr; }
.img-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 250px; padding: 30px; border-radius: 20px; overflow: hidden; color: #fff; text-align: center; background: #333 center / cover no-repeat; }
/* 배경 이미지 자체가 어둡게 처리되어 있음(시안 원본) → 오버레이는 호버 시에만 살짝 */
.img-card::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .3s; }
.img-card:hover::before { background: rgba(0,0,0,.15); }
.img-card > * { position: relative; }
.site-body .img-card h4 { font-size: clamp(22px, 2vw, 38px); font-weight: 700; color: #fff; }
.img-card-sub { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.site-body .img-card p { font-size: 17px; font-weight: 500; color: #fff; }
.img-card .go { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-green); }
.img-card .go::before { content: ''; width: 8px; height: 8px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translateX(-2px) rotate(45deg); }
.img-card.wide { align-items: flex-start; text-align: left; padding-left: 70px; background-position: center 55%; }
/* 수소 카드 : 밝은 원본(hero_2)을 시안 톤(회청색)으로 어둡게 */
.img-card.wide::before { background: linear-gradient(90deg, rgba(20,28,38,.72) 0%, rgba(20,28,38,.5) 45%, rgba(20,28,38,.3) 100%); }
.img-card.wide:hover::before { background: linear-gradient(90deg, rgba(20,28,38,.62) 0%, rgba(20,28,38,.4) 45%, rgba(20,28,38,.2) 100%); }
.img-card .badge-new { position: absolute; top: 40px; transform: none; }

.prod-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 90px; }
.prod-intro.no-img { grid-template-columns: 1fr; }
.prod-photo { text-align: center; }
.prod-photo img { max-height: 380px; width: auto; }
.prod-photo .btn { margin-top: 26px; }
.prod-photo.cover img { width: 100%; max-height: none; border-radius: 20px; aspect-ratio: 799 / 571; object-fit: cover; }
.prod-points { display: flex; flex-direction: column; gap: 46px; }
.prod-points .sec-desc { font-size: 18px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compare-head { display: flex; align-items: center; justify-content: center; height: 70px; border-radius: 4px; background: #a5a5a5; color: #fff; font-size: 22px; font-weight: 700; }
.compare-col.solution .compare-head { background: var(--c-blue-deep); }
.compare-body { margin-top: 10px; padding: 30px 40px; border: 1px solid var(--c-line); border-radius: 4px; min-height: 180px; }
.compare-col.solution .compare-body { border-color: #3e9ea0; }
.compare-body li { position: relative; padding: 6px 0 6px 18px; font-size: 18px; color: #222; }
.compare-body li::before { content: '·'; position: absolute; left: 0; top: 6px; font-weight: 700; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 52px; }
.feature-card { display: flex; align-items: center; gap: 30px; min-height: 190px; padding: 30px 40px; border: 1px solid #d6d6d6; border-radius: 14px; }
.feature-card img { flex: 0 0 74px; width: 74px; }
.feature-card h4 { font-size: clamp(19px, 1.35vw, 25px); font-weight: 700; }
.feature-card p { margin-top: 8px; font-size: 17px; line-height: 1.5; color: #333; }

.process-list { display: flex; flex-direction: column; align-items: stretch; }
.process-step { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 135px; padding: 26px 20px; border: 3px solid transparent; border-radius: 12px; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(180deg, var(--c-green), #1a7daf) border-box; text-align: center; }
.process-step h4 { font-size: clamp(20px, 1.4vw, 26px); font-weight: 700; }
.process-step p { margin-top: 8px; font-size: 19px; color: #555; }
.process-arrow { width: 30px; height: 56px; margin: 4px auto; background: radial-gradient(circle, #1a7daf 2.4px, transparent 3px) 50% 0 / 10px 10px repeat-y; position: relative; }
.process-arrow::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 14px; height: 14px; border-right: 4px dotted var(--c-green); border-bottom: 4px dotted var(--c-green); transform: translateX(-50%) rotate(45deg); }

.text-box { padding: 34px 40px; border: 1px solid #d6d6d6; border-radius: 10px; font-size: 19px; line-height: 1.7; text-align: center; color: #222; }
.text-plain { font-size: 18px; line-height: 1.8; color: #222; font-weight: 500; }

/* ========================================
   응용분야
   ======================================== */
.app-top-btn { display: flex; justify-content: flex-end; margin-top: 60px; }
.app-bullets li { position: relative; padding: 8px 0 8px 22px; font-size: 18px; font-weight: 600; color: #222; }
.app-bullets li::before { content: ''; position: absolute; left: 4px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #222; transform: translateY(-50%); }
.app-sec { margin-top: 70px; }
.app-sec:first-of-type { margin-top: 20px; }
.app-sec .sec-title + * { margin-top: 22px; padding-left: 20px; }
.app-sec .link-wrap { padding-left: 0; }
.related-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 18px; font-weight: 700; color: #222; }
.related-row a { display: inline-flex; align-items: center; height: 40px; padding: 0 40px; border: 1px solid var(--c-teal); border-radius: 4px; font-size: 15px; font-weight: 500; color: #222; }
.related-row a:hover { background: #f2f9f9; }

/* ========================================
   기술·품질
   ======================================== */
.tech-block { scroll-margin-top: 120px; }
.tech-block .sec-desc + .link-row { margin-top: 30px; }

/* ========================================
   문의
   ======================================== */
.contact-guide { margin-top: 0; font-size: 17px; font-weight: 500; line-height: 1.8; text-align: center; color: #222; }
.contact-form { margin-top: 70px; }
.cf-row { margin-top: 64px; }
.cf-row:first-child { margin-top: 0; }
.cf-row .sec-title { font-size: clamp(20px, 1.5vw, 28px); }
.cf-row .req { margin-left: 4px; }
.cf-field { margin-top: 22px; }
.cf-field.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-input, .cf-select, .cf-textarea { display: block; width: 100%; height: 50px; padding: 0 22px; border: 1px solid var(--c-line-2); border-radius: 4px; background: #fff; font-size: 16px; color: #111; outline: none; transition: border-color .2s; }
.cf-input:focus, .cf-select:focus, .cf-textarea:focus { border-color: var(--c-blue); }
.cf-input::placeholder, .cf-textarea::placeholder { color: #999; }
.cf-select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.6'/%3E%3C/svg%3E") right 22px center no-repeat; }
.cf-textarea { height: 130px; padding: 16px 22px; resize: vertical; line-height: 1.6; }
.cf-textarea.tall { height: 160px; }
.cf-file { display: flex; gap: 14px; }
.cf-file .cf-input { flex: 1; background: #fafafa; }
.cf-file label { flex: 0 0 auto; min-width: 200px; display: inline-flex; align-items: center; justify-content: center; height: 50px; border: 1px solid var(--c-line-2); border-radius: 4px; background: #f2f2f2; font-size: 16px; font-weight: 700; cursor: pointer; }
.cf-file input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cf-agree { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 70px; font-size: 15px; color: #222; }
.cf-agree label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cf-agree input { width: 18px; height: 18px; accent-color: var(--c-blue); }
.cf-agree button { height: 32px; padding: 0 16px; border: 1px solid var(--c-line-2); border-radius: 3px; background: #fff; font-size: 14px; }
.cf-submit { display: flex; justify-content: center; margin-top: 40px; }
.cf-submit button { min-width: 320px; height: 54px; border: 0; border-radius: 4px; background: var(--c-blue-deep); color: #fff; font-size: 18px; font-weight: 700; }
.cf-submit button:hover { background: #0866a0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.privacy-detail { display: none; max-width: 760px; margin: 20px auto 0; padding: 24px 28px; border: 1px solid #e3e3e3; border-radius: 8px; background: #fafafa; font-size: 14px; line-height: 1.8; color: #444; }
.privacy-detail.open { display: block; }

.form-result { max-width: 760px; margin: 0 auto 40px; padding: 18px 24px; border-radius: 8px; font-size: 16px; text-align: center; }
.form-result.ok { background: #eef7e4; color: #3d6b10; border: 1px solid #cfe6b5; }
.form-result.fail { background: #fdeeee; color: #a33; border: 1px solid #f3c9c9; }
.form-result-btn { display: flex; justify-content: center; margin-bottom: 20px; }
/* 접수 완료 후에는 안내문/입력 폼 숨김 */
.form-result.ok ~ .contact-guide, .form-result.ok ~ .contact-form { display: none; }

.step-row { display: flex; align-items: center; gap: 16px; }
.step-row .step { flex: 1; display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 3px; background: var(--c-green); color: #fff; font-size: 17px; font-weight: 700; }
.step-row .link-row-arrow { flex-basis: 50px; }

.faq-list { border-top: 1px solid #e5e5e5; }
.faq-item { border-bottom: 1px solid #e5e5e5; }
.faq-q { display: flex; align-items: center; gap: 20px; width: 100%; min-height: 76px; padding: 14px 70px 14px 30px; border: 0; background: #f6f8fa; font-size: 17px; font-weight: 600; color: #111; text-align: left; position: relative; }
.faq-q::after { content: ''; position: absolute; right: 32px; top: 50%; width: 9px; height: 9px; border-right: 2px solid #333; border-bottom: 2px solid #333; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item.open .faq-q { background: #d5dbe8; }
.faq-item.open .faq-q::after { transform: translateY(-20%) rotate(-135deg); }
.faq-a { display: none; align-items: center; gap: 20px; padding: 30px 30px; font-size: 17px; font-weight: 500; color: #111; }
.faq-item.open .faq-a { display: flex; }
.faq-badge { flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #0a5bb5; color: #fff; font-weight: 700; }
.faq-a .faq-badge { background: #6c7580; }

/* ========================================
   자료실 (게시판) - board/op_head.php 에서 .bbs 로 감쌈
   ======================================== */
.board-wrap { padding-top: 10px; }
.board-wrap .bbs { font-size: 15px; }
.board-wrap .bbs table { width: 100%; }
.board-wrap .bbs a:hover { color: var(--c-blue); }
.board-wrap .basic_list, .board-wrap .list_table { border-top: 2px solid #333 !important; }
.board-wrap .btn_area a, .board-wrap .btn_area button, .board-wrap .btnWrap a { border-radius: 4px; }

/* 인증서 그리드 (photo 스킨) */
.cert-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.cert-tab { padding: 10px 24px; border: 1px solid #ddd; border-radius: 30px; font-size: 15px; color: #555; }
.cert-tab.active { background: var(--c-blue); border-color: var(--c-blue); color: #fff !important; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
.cert-card { display: block; }
.cert-card-img { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid #e3e3e3; border-radius: 10px; background: #f7f7f7; }
.cert-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cert-card:hover .cert-card-img img { transform: scale(1.04); }
/* 이미지 첨부가 없는 게시물 (PDF 만 첨부 등) */
.cert-card-noimg { display: flex; align-items: center; justify-content: center; height: 100%; }
.cert-card-img .cert-card-noimg img { width: 45%; height: auto; object-fit: contain; opacity: .35; transform: none; }
.cert-card-title { margin-top: 14px; font-size: 16px; font-weight: 600; text-align: center; line-height: 1.4; }
.cert-card-date { margin-top: 4px; font-size: 13px; color: #999; text-align: center; }
.cert-empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; color: #999; }

/* 개인정보처리방침 */
.privacy-content { font-size: 16px; line-height: 1.9; color: #333; }

/* ========================================
   스크롤 애니메이션
   ======================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========================================
   반응형
   ======================================== */
@media (max-width: 1400px) {
  .gnb-link { padding: 0 22px; font-size: 16px; }
  .lang-en.site-body .site-header .gnb-link { padding: 0 clamp(14px, 1.6vw, 22px); font-size: 16px; }   /* 영문 : 메뉴명이 길어 우측 버튼 잘림 방지 */
  .lang-en .sub-menu { min-width: 150px; }
  .header-inner, .footer-inner { padding-left: 24px; padding-right: 24px; }
  .biz-circle { width: 290px; height: 290px; }
  .biz-circle h4 { font-size: 28px; }
  .biz-flow { gap: 20px; }
  .cert-box { padding: 50px; gap: 40px; }
  .feature-grid { gap: 22px; }
}

@media (max-width: 1200px) {
  :root { --header-h: 72px; }
  .gnb, .header-right .lang-toggle, .header-right .header-quote-btn { display: none; }
  .header-inner { justify-content: space-between; }
  .site-header .logo-img { height: 38px; }
  .mobile-menu-btn { display: block; }
  .core-list, .product-cards { gap: 26px; }
  .product-card { min-height: 440px; padding: 70px 30px 36px; }
  .product-card .pc-more { opacity: 1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .rnd-tech { gap: 20px; }
  .rnd-card { flex-direction: column; text-align: center; }
  .biz-flow { flex-wrap: wrap; }
  .biz-ring { display: none; }
  .history-year { flex-basis: 200px; padding-left: 50px; }
  .history-year::before { left: 32px; }
  .history-items { padding-left: 40px; }
  .footer-inner { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 900px) {
  .sub-banner { height: 300px; }
  .sub-banner-line2, .hero-text .hide-m { display: none; }   /* 모바일 : 회사명(엔비솔테크) 줄 생략 */
  .page-head { margin-top: 48px; padding-bottom: 30px; }
  .page-head::after { margin-top: 30px; }
  .sub-content { padding-bottom: 100px; }
  .sub-section { margin-top: 64px; }
  .loc-drop-btn { min-width: 0; padding-right: 40px; }
  .loc-drop:first-of-type { display: none; }
  .main-core { padding: 90px 0; }
  .main-core-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .core-list, .product-cards, .news-list, .quick-grid, .new-wrap { grid-template-columns: 1fr; }
  .core-card .core-img { aspect-ratio: 16 / 10; }
  .news-list { grid-template-columns: 1fr 1fr; gap: 16px; }
  .new-text { min-height: 0; }
  .new-badge { position: static; display: block; width: 180px; margin: 20px 0 0 auto; }
  .main-products, .main-news { padding: 80px 0; }
  .main-new { padding: 80px 0 40px; }
  .main-quick { padding-bottom: 80px; }
  .quick-box { padding: 30px; }
  .quick-box.green { flex-direction: column; gap: 20px; }
  .quick-box.green h4 { white-space: normal; text-align: center; }
  /* 공지·소식 탭 : 모바일은 가로 스크롤 + 더보기는 탭 아래 우측 */
  .news-tabs-wrap { flex-direction: column; align-items: stretch; margin: 36px 0 30px; }
  .news-tabs { gap: 26px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; justify-content: flex-start; }
  .news-tabs::-webkit-scrollbar { display: none; }
  .news-tabs button { flex: 0 0 auto; white-space: nowrap; font-size: 17px; }
  .news-tabs button.on { font-size: 19px; }
  .news-more { position: static; align-self: flex-end; margin-top: 12px; }
  .about-mission, .prod-intro, .site-grid, .biz-grid, .compare { grid-template-columns: 1fr; gap: 30px; }
  .rnd-tech, .img-cards.col-3, .img-cards.col-2 { grid-template-columns: 1fr; }
  .cert-box { grid-template-columns: 1fr 1fr; padding: 24px; gap: 20px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .history-card { flex-direction: column; align-items: flex-start; padding: 30px; }
  .history-year { flex-basis: auto; padding-left: 20px; }
  .history-year::before { left: 0; }
  .history-items { margin-top: 20px; padding-left: 0; border-left: 0; }
  .sub-cta-inner { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sub-cta-card { height: 80px; }
  .link-row { flex-direction: column; align-items: stretch; }
  .link-row-arrow { display: none; }
  .link-row-items { flex-direction: column; }
  .step-row { flex-direction: column; align-items: stretch; }
  .img-card.wide { padding-left: 30px; }
  .site-body .spec-table { font-size: 15px; }
  .spec-table th, .spec-table td { padding: 14px 10px; }
  .depth3-tabs { flex-direction: column; margin-bottom: 40px; }
  .cf-field.split { grid-template-columns: 1fr; }
  .cf-submit button { min-width: 0; width: 100%; }
  .cf-agree { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .header-inner { padding: 0 16px; }
  .inner, .sub-content-inner, .page-head, .location-inner, .sub-cta-inner { padding-left: 16px; padding-right: 16px; }
  .news-list, .feature-grid, .cert-box { grid-template-columns: 1fr; }
  .feature-card { padding: 24px; }
  .biz-circle { width: 260px; height: 260px; }
  .biz-card-body { font-size: 17px; padding: 24px; }
  .visit-box li { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 17px; }
  .cf-file { flex-direction: column; }
  .quick-search button { min-width: 90px; padding: 0 16px; }
  .quick-search input { padding: 0 16px; }
  .footer-info .bar { display: none; }
  .footer-info p span { display: block; }
  .footer-info .copyright { margin-left: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .biz-card-head, .biz-card.green .biz-card-head { padding-right: 100px; font-size: 19px; }
  .badge-new { right: 16px; font-size: 14px; padding: 4px 20px 4px 12px; }
  .loc-drop-btn { font-size: 14px; padding-left: 14px; }
  .hero { height: 70vh; min-height: 420px; }
}
