/*
  사이트 v2 공통 (Views/master.cshtml). v2.css = 이 파일 + product.css(pd-, 본문 에디터) + 견적·납품실적·인증 묶음.
  원본 CSS(common/sub/main/root.css)는 쓰지 않는다. 색·글꼴 토큰은 여기 한 곳.
*/
:root {
	--main: #015FD9;
	--main-dark: #0049a8;
	--black: #212933;
	--ink: #212933;
	--muted: #4b5563;
	--grayBg: #F0F3F5;
	--border: rgba(33, 41, 51, .15);
	--kor: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif;
	--eng: 'Pretendard Variable', Pretendard, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header: 80px;
	--space20: 20px;
	--space50: 50px;
}

/* ---------- 기본 ---------- */
*, *::before, *::after {box-sizing: border-box;}
html {-webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 70px);}
body {margin: 0; background: #fff; color: var(--ink); font-family: var(--kor); font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {margin: 0;}
ul, ol {padding: 0;}
ul[class], ol[class] {list-style: none;}
a {color: inherit; text-decoration: none;}
img {max-width: 100%; height: auto; vertical-align: middle;}
button, input, select, textarea {font: inherit; color: inherit;}
table {border-collapse: collapse;}
:focus-visible {outline: 2px solid var(--main); outline-offset: 2px;}
::selection {background: #cfe0f7; color: var(--ink);}
.sr, .blind {position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;}
.skip {position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: var(--main); color: #fff; font-weight: 700;}
.skip:focus {top: 12px;}
.wrap {width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);}

/* ---------- 버튼 ---------- */
.btn {display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 0 24px; border: 1px solid var(--main); border-radius: 10px; background: var(--main); color: #fff; font-size: 1rem; font-weight: 700; white-space: nowrap; transition: background .15s, box-shadow .15s, transform .15s; cursor: pointer;}
.btn:hover {background: #0154c2; border-color: #0154c2; box-shadow: 0 4px 12px -4px rgba(1, 95, 217, .35);}
.btn:active {transform: translateY(1px); box-shadow: none;}
/* 머리글 견적의뢰: 메뉴 끝에서 눈에 띄도록 서류+연필 아이콘, 조금 더 넓게. 그림자는 선 위에서 번져 보여 쓰지 않는다 */
.site-actions .btn {gap: 8px; min-height: 46px; padding: 0 22px 0 18px; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.02em; box-shadow: 0 0 0 4px rgba(1, 95, 217, .14);}
.site-actions .btn::before {content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M19 8 14 3'/%3E%3Cpath d='M9 13h4M9 17h2'/%3E%3Cpath d='m15.5 21 .6-2.6 4.2-4.2a1.4 1.4 0 0 1 2 2l-4.2 4.2z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M19 8 14 3'/%3E%3Cpath d='M9 13h4M9 17h2'/%3E%3Cpath d='m15.5 21 .6-2.6 4.2-4.2a1.4 1.4 0 0 1 2 2l-4.2 4.2z'/%3E%3C/svg%3E") center / contain no-repeat;}
.site-actions .btn:hover {box-shadow: 0 0 0 5px rgba(1, 95, 217, .22);}
.btn--sm {min-height: 44px; padding: 0 20px; font-size: .9375rem;}
.btn--line {background: #fff; border-color: var(--border); color: var(--ink);}
.btn--line:hover {background: #fff; border-color: var(--ink); box-shadow: none;}
.btn--light {background: #fff; border-color: #fff; color: var(--main);}
.btn--light:hover {background: #eaf2ff; border-color: #eaf2ff;}
.btn--ghost {background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff;}
.btn--ghost:hover {background: rgba(255, 255, 255, .1); border-color: #fff; box-shadow: none;}

/* ---------- 머리글 ---------- */
.site-header {position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border);}
.site-header-inner {display: flex; align-items: center; gap: 32px; height: var(--header);}
.site-logo {flex: none;}
.site-logo img {display: block; width: auto; height: 40px;}
.site-nav {display: flex; align-items: center; flex: 1; gap: 28px; height: 100%;}
.site-nav > ul {display: flex; height: 100%;}
.site-nav > ul > li {display: flex;}
.site-nav > ul > li > a {position: relative; display: flex; align-items: center; padding: 0 18px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); transition: color .15s;}
/* 지금 있는 곳·가리킨 메뉴: 머리글 아래 선에 붙는 막대 */
.site-nav > ul > li > a::after {content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; background: var(--main); transform: scaleX(0); transition: transform .25s cubic-bezier(.16, 1, .3, 1);}
.site-nav > ul > li > a:hover, .site-nav > ul > li:focus-within > a, .site-nav a[aria-current="page"] {color: var(--main);}
.site-nav > ul > li > a:hover::after, .has-mega:hover > a::after, .site-nav > ul > li > a[aria-current="page"]::after {transform: scaleX(1);}
/* 제품: 분야별 제품 전체 (머리글 아래 전체 폭) */
.site-mega {position: absolute; left: 0; right: 0; top: 100%; border-top: 1px solid var(--border); background: #fff; box-shadow: 0 24px 40px -12px rgba(16, 32, 56, .18); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .25s cubic-bezier(.16, 1, .3, 1), visibility .18s;}
.has-mega:hover .site-mega, .has-mega:focus-within .site-mega {opacity: 1; visibility: visible; transform: none;}
.site-mega-inner {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; padding-top: 28px; padding-bottom: 32px;}
.site-mega-col + .site-mega-col {padding-left: 32px; border-left: 1px solid var(--border);}
.site-mega-hub {display: block; margin-bottom: 12px; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink);}
.site-mega-hub:hover {color: var(--main);}
.site-mega ul {display: grid; gap: 2px;}
.site-mega li a {display: block; padding: 5px 0; font-size: .9375rem; color: var(--muted); transition: color .15s;}
.site-mega li a:hover {color: var(--main);}
/* 견적의뢰는 머리글 오른쪽 끝에 붙인다 */
.site-actions {display: flex; align-items: center; gap: 18px; flex: none; margin-left: auto;}
/* 머리글 검색 칸 → /search/?q= */
.site-search {position: relative; display: flex; align-items: center;}
.site-search input {width: 200px; height: 44px; padding: 0 44px 0 16px; border: 1px solid transparent; border-radius: 10px; background: #f4f6f8; font-size: .9375rem; transition: width .25s cubic-bezier(.16, 1, .3, 1), border-color .15s, background-color .15s, box-shadow .15s;}
.site-search input::placeholder {color: #6b7480;}
.site-search input:focus {width: 260px; outline: none; border-color: var(--main); background: #fff; box-shadow: 0 0 0 4px rgba(1, 95, 217, .12);}
.site-search input::-webkit-search-cancel-button {-webkit-appearance: none;}
.site-search button {position: absolute; right: 4px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer;}
.site-search button:hover {color: var(--main);}
/* 자동완성 목록 */
.site-suggest {position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; width: 360px; max-width: calc(100vw - 32px); margin: 0; padding: 6px; list-style: none; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 18px 40px -10px rgba(16, 32, 56, .25);}
.site-suggest a {display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: .9375rem; color: var(--ink);}
.site-suggest-t {flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.site-suggest-k {flex: none; font-size: .75rem; font-weight: 700; color: var(--muted);}
.site-suggest mark {background: none; color: var(--main); font-weight: 800;}
.site-suggest [aria-selected="true"] a, .site-suggest a:hover {background: #eef4fd;}
.site-suggest-all {margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--border);}
.site-suggest-all a {font-weight: 700; color: var(--main);}
.site-tel {display: inline-flex; align-items: center; gap: 8px; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink);}
.site-tel svg {color: var(--main);}
.site-tel:hover {color: var(--main);}
.site-menu-btn {display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;}
.site-menu-btn span[aria-hidden] {position: relative; display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--ink); transition: .2s;}
.site-menu-btn span[aria-hidden]::before, .site-menu-btn span[aria-hidden]::after {content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: .2s;}
.site-menu-btn span[aria-hidden]::before {top: -7px;}
.site-menu-btn span[aria-hidden]::after {top: 7px;}
.site-menu-btn[aria-expanded="true"] span[aria-hidden] {background: transparent;}
.site-menu-btn[aria-expanded="true"] span[aria-hidden]::before {top: 0; transform: rotate(45deg);}
.site-menu-btn[aria-expanded="true"] span[aria-hidden]::after {top: 0; transform: rotate(-45deg);}

/* ---------- 바닥글 ---------- */
.site-footer {margin-top: 0; padding: 56px 0 40px; background: #151b23; color: #aeb7c2; font-size: .9375rem;}
.site-footer-inner {display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 48px;}
.site-footer-brand img {height: 32px; width: auto; filter: brightness(0) invert(1); opacity: .9;}
.site-footer-brand p {margin-top: 16px; max-width: 520px; line-height: 1.7;}
.site-footer-nav {display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px 22px;}
.site-footer-nav a {color: #fff; font-weight: 600;}
.site-footer-info {grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-style: normal;}
.site-footer-info strong {color: #fff;}
.site-footer-info a {color: #fff;}
.site-footer-copy {grid-column: 1 / -1; font-size: .8125rem; opacity: .7;}

/* ---------- 페이지 머리 (모든 페이지) ---------- */
.page {padding-top: clamp(20px, 3vw, 32px); padding-bottom: clamp(48px, 6vw, 80px);}
.page--narrow {max-width: calc(860px + var(--gutter) * 2);}
.page-head {margin: 0 0 clamp(28px, 4vw, 44px);}
.crumbs {display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; font-size: .875rem; color: var(--muted);}
.crumbs a:hover {color: var(--main);}
.crumbs span[aria-hidden] {opacity: .5;}
.crumbs [aria-current] {color: var(--ink); font-weight: 600;}
.eyebrow {margin: 0 0 10px; font-size: .9375rem; font-weight: 700; color: var(--main);}
.page-head h1 {font-size: clamp(1.875rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.25; letter-spacing: -.04em; color: var(--ink);}
.page-meta {margin-top: 10px; font-size: .9375rem; color: var(--muted);}
/* 한눈에 보기: 검색·AI 가 가져가는 2–3문장 답 */
.answer {position: relative; margin-top: 20px; padding: 18px 22px 18px 22px; border: 1px solid #cfe0f7; border-radius: 14px; background: #f3f8fe; font-size: clamp(1rem, 1.3vw, 1.125rem); font-weight: 500; line-height: 1.7; color: var(--ink);}
.answer-label {display: block; margin-bottom: 4px; font-size: .8125rem; font-weight: 800; letter-spacing: .02em; color: var(--main);}
.page-intro {margin: 0 0 clamp(32px, 4vw, 48px); max-width: 860px;}
.section-head {margin: 0 0 20px;}
.section-head p {max-width: 760px; margin-top: -8px; color: var(--muted);}
.section-head--row {display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;}
.section-head--row .pd-h2 {margin-bottom: 0;}
.section-head .pd-h2 a:hover {color: var(--main);}
.note-link {margin: 0 0 20px; color: var(--muted);}
.note-link a {font-weight: 700; color: var(--main);}

/* 핵심 사실 (제품·사례): 항목–값 */
.facts {display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0; margin-top: 22px; border-top: 1px solid var(--border);}
.facts > div {display: flex; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--border);}
.facts dt {flex: none; min-width: 72px; font-size: .9375rem; font-weight: 700; color: var(--muted);}
.facts dd {font-size: .9375rem; font-weight: 600; color: var(--ink);}
.facts--row {margin: 0 0 28px;}

/* ---------- 카드·격자 ---------- */
.grid {display: grid; gap: clamp(16px, 2vw, 24px);}
.grid--4 {grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));}
.grid--3 {grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));}
.grid > [data-tags] {display: contents;}
.card {display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s;}
.card:hover {border-color: transparent; box-shadow: 0 12px 30px rgba(33, 41, 51, .12); transform: translateY(-2px);}
.card-media {display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--grayBg); overflow: hidden;}
.card-media img {width: 100%; height: 100%; object-fit: cover;}
.card--product .card-media img {object-fit: contain; padding: 14px;}
/* 사진 없는 카드: 회사 로고를 한 색으로 가운데 (로고 모양을 마스크로 써서 색은 여기서 정한다) */
.card-media--empty {position: relative; background: radial-gradient(120% 90% at 50% 40%, #f5f8fc 0%, #e6edf6 100%);}
.card-media--empty::after {content: ""; width: 48%; aspect-ratio: 809 / 156; background: #8199b8; -webkit-mask: url("/img/logo.svg") center / contain no-repeat; mask: url("/img/logo.svg") center / contain no-repeat; transition: background-color .2s;}
.card:hover .card-media--empty::after {background: var(--main);}
.card-body {display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px;}
.card-meta {font-size: .8125rem; font-weight: 700; color: var(--main);}
.card-title {font-size: 1.0625rem; font-weight: 800; line-height: 1.4; letter-spacing: -.02em; color: var(--ink);}
.card-text {display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .9375rem; line-height: 1.6; color: var(--muted);}
.card--plain .card-body {padding: 22px;}

/* 거르기 단추 (사례·자료) */
.filter {display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px;}
.filter button {min-height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: 20px; background: #fff; font-size: .9375rem; font-weight: 600; cursor: pointer;}
.filter button[aria-pressed="true"] {border-color: var(--main); background: var(--main); color: #fff;}
[data-filter-items] [hidden] {display: none !important;}

/* 자료 목록 */
.files {border-top: 2px solid var(--ink);}
.files li {display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--border);}
.files li:target {background: #eaf2ff;}
.files-kind {display: inline-flex; justify-content: center; padding: 4px 10px; border-radius: 999px; background: var(--grayBg); font-size: .8125rem; font-weight: 700; color: var(--muted);}
.files-name {font-weight: 600;}
.files-products {display: flex; flex-wrap: wrap; gap: 6px;}
.files-products a {font-size: .8125rem; color: var(--main);}
.files-links {display: flex; gap: 6px;}
/* 자료실 카드: PDF 첫 페이지 썸네일 (tools/pdf_thumbs.py) */
.dl-grid {display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: clamp(16px, 2vw, 24px);}
.dl-card {display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s;}
.dl-card:hover {border-color: transparent; box-shadow: 0 12px 30px rgba(33, 41, 51, .12); transform: translateY(-2px);}
.dl-card:target {border-color: var(--main); box-shadow: 0 0 0 3px rgba(1, 95, 217, .18);}
.dl-card-media {position: relative; display: flex; align-items: flex-start; justify-content: center; aspect-ratio: 4 / 5; padding: 22px 22px 0; background: var(--grayBg); overflow: hidden;}
.dl-card-media img {width: 100%; height: auto; border-radius: 4px 4px 0 0; box-shadow: 0 6px 18px rgba(33, 41, 51, .14); transition: transform .25s;}
.dl-card:hover .dl-card-media img {transform: translateY(-4px);}
.dl-card-doc {align-self: center; display: flex; align-items: flex-end; justify-content: center; width: 46%; aspect-ratio: 3 / 4; margin-bottom: 22px; padding-bottom: 14%; border-radius: 6px; background: #fff; box-shadow: 0 6px 18px rgba(33, 41, 51, .12); font-size: .9375rem; font-weight: 800; letter-spacing: .04em; color: var(--main);}
.dl-card-body {display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 18px 18px;}
.dl-card-kind {align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #eaf2ff; font-size: .75rem; font-weight: 700; color: var(--main);}
.dl-card-title {font-size: 1rem; font-weight: 800; line-height: 1.45; letter-spacing: -.02em;}
.dl-card-title a:hover {color: var(--main);}
.dl-card-products {display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .8125rem; color: var(--muted);}
.dl-card-products a:hover {color: var(--main); text-decoration: underline;}
.dl-card-links {display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px;}
.dl-card-btn {display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; font-size: .8125rem; font-weight: 700; transition: background-color .15s, border-color .15s, color .15s;}
.dl-card-btn:hover, .dl-card-btn:focus-visible {border-color: var(--main); background: var(--main); color: #fff;}
.dl-card-size {font-weight: 500; opacity: .65; font-variant-numeric: tabular-nums;}
@media (max-width: 640px) {
	.dl-grid {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;}
	.dl-card-media {padding: 14px 14px 0;}
	.dl-card-body {padding: 12px 12px 14px;}
	.dl-card-title {font-size: .9375rem;}
}
@media (prefers-reduced-motion: reduce) {
	.dl-card, .dl-card-media img {transition: none;}
	.dl-card:hover, .dl-card:hover .dl-card-media img {transform: none;}
}


/* 사례 사진첩 */
.gallery {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 32px;}
.gallery li {aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--grayBg);}
.gallery-main {grid-column: span 2; grid-row: span 2;}
.gallery img {width: 100%; height: 100%; object-fit: cover; transition: transform .3s;}
.gallery a:hover img {transform: scale(1.03);}
.article-body {margin: 0 0 clamp(40px, 5vw, 64px);}

/* ---------- 홈 ---------- */
/* 첫 화면: 사진 전체 폭 + 왼쪽 글·오른쪽 분야 바로가기 + 아래 숫자 줄 */
.hero {position: relative; isolation: isolate; overflow: hidden; background: #0b1828; color: #fff;}
.hero-bg, .hero-bg img {position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;}
.hero-bg img {object-fit: cover; object-position: 60% 50%; animation: hero-settle 2.4s cubic-bezier(.16, 1, .3, 1) both;}
/* 사진이 밝아서 글 쪽(왼쪽·아래)을 브랜드 남색으로 눌러 준다 */
.hero::before {content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 22, 42, .94) 0%, rgba(8, 22, 42, .82) 38%, rgba(8, 22, 42, .6) 70%, rgba(8, 22, 42, .62) 100%), linear-gradient(0deg, rgba(8, 22, 42, .9) 0%, rgba(8, 22, 42, 0) 40%);}
@keyframes hero-settle {from {transform: scale(1.06);} to {transform: none;}}
.hero-inner {display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(32px, 6vw, 96px); align-items: end; padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(40px, 5vw, 64px);}
.hero h1 {font-size: clamp(2.125rem, 4.6vw, 3.625rem); font-weight: 800; line-height: 1.18; letter-spacing: -.04em; text-wrap: balance;}
.hero-lead {margin-top: 24px; max-width: 34em; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.8; color: rgba(232, 240, 250, .86);}
.hero-actions {display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px;}
.hero-actions .btn {min-width: 140px;}
.hero-hubs {display: grid; border-top: 1px solid rgba(255, 255, 255, .22);}
.hero-hubs a {display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name arrow" "count arrow"; align-items: center; column-gap: 16px; padding: 18px 4px; border-bottom: 1px solid rgba(255, 255, 255, .22); transition: background .2s, padding .3s cubic-bezier(.16, 1, .3, 1);}
.hero-hub-name {grid-area: name; font-size: 1.1875rem; font-weight: 700; letter-spacing: -.02em;}
.hero-hub-count {grid-area: count; margin-top: 2px; font-size: .875rem; color: rgba(232, 240, 250, .72);}
.hero-hubs svg {grid-area: arrow; color: rgba(255, 255, 255, .6); transition: transform .3s cubic-bezier(.16, 1, .3, 1), color .2s;}
.hero-hubs a:hover {background: rgba(255, 255, 255, .06); padding-left: 14px; padding-right: 10px;}
.hero-hubs a:hover svg {color: #fff; transform: translateX(4px);}
.hero-facts {display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0; border-top: 1px solid rgba(255, 255, 255, .22);}
.hero-facts div {padding: 22px 0 28px; }
.hero-facts div + div {padding-left: clamp(16px, 3vw, 32px); border-left: 1px solid rgba(255, 255, 255, .22);}
.hero-facts dt {font-size: .875rem; color: rgba(232, 240, 250, .72);}
.hero-facts dd {margin: 4px 0 0; font-size: clamp(1.625rem, 2.6vw, 2.125rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; font-variant-numeric: tabular-nums;}
.hero-facts small {margin-left: 2px; font-size: 1rem; font-weight: 700;}
.hero .btn:focus-visible, .hero a:focus-visible {outline-color: #fff;}
.wrap > .pd-section:first-child {margin-top: clamp(48px, 6vw, 80px);}
/* 홈 > 제품 분야: 원본 메인 '사업 분야'처럼 사진 판 네 장. 넓은 화면에서 마우스(또는 키보드 초점)가 간 판이 넓어지며 설명·제품이 드러난다. */
.hubs {display: flex; gap: 10px; height: clamp(440px, 40vw, 560px);}
.hub {position: relative; display: flex; flex-direction: column; justify-content: flex-end; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 24px; background: var(--ink); color: #fff; isolation: isolate; transition: flex-grow .5s cubic-bezier(.2, .7, .2, 1);}
.hub-bg {position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1);}
.hub::before {content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 30, 81, 0) 35%, rgba(3, 30, 81, .88) 100%); transition: background-color .4s;}
.hub-body {padding: 0 clamp(20px, 2.2vw, 32px) clamp(24px, 2.6vw, 36px);}
.hub h3 {font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 800; line-height: 1.3; letter-spacing: -.04em; text-wrap: balance;}
/* 판 전체를 분야 링크로 (제품 링크는 그 위에 올린다) */
.hub h3 a::after {content: ""; position: absolute; inset: 0; z-index: 0;}
.hub h3 a:focus-visible {outline: none;}
.hub h3 a:focus-visible::after {outline: 3px solid #fff; outline-offset: -6px; border-radius: 24px;}
.hub-more {position: relative; z-index: 1; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s cubic-bezier(.2, .7, .2, 1), opacity .3s;}
.hub-more p {width: min(460px, 100%); margin-top: 10px; font-size: .9375rem; line-height: 1.6; color: rgba(255, 255, 255, .82);}
.hub-links {display: flex; flex-wrap: wrap; gap: 6px; width: min(520px, 100%); margin-top: 14px;}
.hub-links a {display: inline-block; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; font-size: .8125rem; font-weight: 600; color: #fff; transition: background-color .2s, color .2s;}
.hub-links a:hover {background: #fff; color: var(--main);}
@media (hover: hover) and (min-width: 1024px) {
	.hubs:hover .hub, .hubs:focus-within .hub {flex-grow: .7;}
	.hubs .hub:hover, .hubs .hub:focus-within {flex-grow: 2.4;}
	.hub:hover .hub-bg, .hub:focus-within .hub-bg {transform: scale(1.05);}
	.hub:hover::before, .hub:focus-within::before {background-color: rgba(3, 30, 81, .35);}
	.hub:hover .hub-more, .hub:focus-within .hub-more {max-height: 320px; opacity: 1; transition-delay: .15s;}
}
/* 터치·좁은 화면: 판을 쌓고 설명·제품을 처음부터 보인다 */
@media (hover: none), (max-width: 1023px) {
	.hubs {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto;}
	.hub {min-height: 360px;}
	.hub::before {background-color: rgba(3, 30, 81, .5);}
	.hub-more {max-height: none; opacity: 1;}
}
@media (max-width: 640px) {
	.hubs {grid-template-columns: minmax(0, 1fr);}
	.hub {min-height: 320px; border-radius: 18px;}
}
@media (prefers-reduced-motion: reduce) {
	.hub, .hub-bg, .hub-more {transition: none;}
}

/* 제품 첫 단계(/products/): 분야 사진 판 2×2 로 먼저 고르고, 아래에 제품 이름만 짧게 */
.hub-entries {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(8px, 1.5vw, 16px);}
.hub-entry {position: relative; display: flex; align-items: flex-end; min-height: clamp(300px, 30vw, 400px); overflow: hidden; border-radius: 24px; background: var(--ink); color: #fff; isolation: isolate;}
.hub-entry-bg {position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1);}
.hub-entry::before {content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 30, 81, .05) 20%, rgba(3, 30, 81, .9) 100%); transition: background-color .4s;}
.hub-entry-body {display: grid; justify-items: start; gap: 8px; padding: clamp(22px, 2.6vw, 36px);}
.hub-entry-count {padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums;}
.hub-entry-name {font-size: clamp(1.5rem, 2.4vw, 2.125rem); font-weight: 800; line-height: 1.2; letter-spacing: -.045em;}
.hub-entry-text {max-width: 520px; font-size: .9375rem; line-height: 1.6; color: rgba(255, 255, 255, .84); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.hub-entry-go {display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .9375rem; font-weight: 800;}
.hub-entry-go svg {transition: transform .25s;}
.hub-entry:hover .hub-entry-bg, .hub-entry:focus-visible .hub-entry-bg {transform: scale(1.05);}
.hub-entry:hover::before, .hub-entry:focus-visible::before {background-color: rgba(3, 30, 81, .3);}
.hub-entry:hover .hub-entry-go svg, .hub-entry:focus-visible .hub-entry-go svg {transform: translateX(4px);}
.hub-entry:focus-visible {outline: 3px solid var(--main); outline-offset: 3px;}
.hub-index-cols {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); padding: clamp(22px, 2.6vw, 32px); border-radius: var(--pd-radius); background: var(--pd-soft);}
.hub-index h3 {margin: 0 0 10px; font-size: 1rem; font-weight: 800; letter-spacing: -.03em;}
.hub-index h3 a:hover {color: var(--main);}
.hub-index ul {margin: 0; padding: 0; list-style: none;}
.hub-index li + li {margin-top: 6px;}
.hub-index li a {font-size: .9375rem; color: var(--muted);}
.hub-index li a:hover {color: var(--main); text-decoration: underline; text-underline-offset: 3px;}
@media (max-width: 900px) {
	.hub-index-cols {grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 640px) {
	.hub-entries {grid-template-columns: minmax(0, 1fr);}
	.hub-entry {min-height: 260px; border-radius: 18px;}
}
@media (prefers-reduced-motion: reduce) {
	.hub-entry-bg, .hub-entry-go svg {transition: none;}
}

/* 홈 > 고객사: 제목·숫자 → 로고 판 → 주요 납품처 이름 → 납품실적 */
.clients {padding: clamp(48px, 6vw, 88px) 0; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #f7f9fb, #fff 70%);}
.clients-head {display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(24px, 3vw, 36px);}
.clients-head .pd-h2 {margin-bottom: 0;}
.clients-stats {display: flex; gap: clamp(24px, 3vw, 48px); margin: 0;}
.clients-stats div {display: grid; gap: 2px;}
.clients-stats dt {font-size: .875rem; font-weight: 700; color: var(--muted);}
.clients-stats dd {margin: 0; font-size: clamp(1.75rem, 2.8vw, 2.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink);}
.clients-stats small {margin-left: 2px; font-size: .5em; font-weight: 700; color: var(--muted);}
/* 로고는 잘라 둔 원래 크기(가로 170–260px) 이하로만 그려 흐려지지 않게 */
/* 넓은 화면은 7개 한 줄, 그 밖은 가운데 정렬로 줄바꿈 (마지막 줄이 왼쪽에 몰리지 않게) */
.clients-logos {display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none;}
.clients-logos li {flex: 0 1 calc((100% - 12px * 3) / 4); display: grid; place-items: center; height: 104px; padding: 20px 24px; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s;}
.clients-logos li:hover {border-color: #cfd8e3; box-shadow: 0 10px 24px -12px rgba(16, 32, 56, .18);}
.clients-logos img {display: block; width: auto; height: auto; max-width: 100%; max-height: 52px;}
.clients-names {display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-top: clamp(24px, 3vw, 32px); padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--border);}
/* 주요 납품처: 기업·대학·연구기관 묶음을 글자로 (칩 대신) */
.clients-groups {display: grid; gap: 10px; flex: 1; min-width: 0; margin: 0;}
.clients-groups div {display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: baseline; gap: 14px;}
.clients-groups dt {font-size: .9375rem; font-weight: 800; letter-spacing: .01em; color: var(--main);}
.clients-groups dd {margin: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.7; color: #2b333d; word-break: keep-all;}
.clients-more {display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: .9375rem; font-weight: 800; color: var(--main);}
.clients-more svg {transition: transform .2s;}
.clients-more:hover svg {transform: translateX(3px);}
@media (min-width: 1100px) {
	.clients-logos {flex-wrap: nowrap;}
	.clients-logos li {flex: 1 1 0; min-width: 0; padding: 18px 16px;}
	.clients-logos img {max-height: 46px;}
}
@media (max-width: 640px) {
	.clients-logos {gap: 8px;}
	.clients-logos li {flex-basis: calc((100% - 8px) / 2); height: 84px; padding: 14px;}
	.clients-logos img {max-height: 40px;}
	.clients-groups div {grid-template-columns: 1fr; gap: 2px;}
}
@media (prefers-reduced-motion: reduce) {
	.clients-logos li, .clients-more svg {transition: none;}
}

/* ---------- 견적 안내 (모든 페이지 끝) ---------- */
.cta {background: linear-gradient(120deg, #014bb0, var(--main)); color: #fff;}
.cta-inner {display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px;}
.cta-title {font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 800; letter-spacing: -.03em;}
.cta-text {margin-top: 6px; opacity: .9;}
.cta-actions {display: flex; flex-wrap: wrap; gap: 10px;}

/* 납품실적 표 (Views/Partials/Site/DeliveryTable.cshtml) */
.delivery_list {width: 100%; border-top: 2px solid var(--ink);}
.delivery_list th, .delivery_list td {padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: center; font-size: .9375rem;}
.delivery_list th {background: var(--grayBg); font-weight: 700;}
.delivery_list td.left {text-align: left;}

/* 메뉴가 한 줄에 다 들어가지 않는 폭부터 메뉴 단추로 */
@media (max-width: 1180px) {
	:root {--header: 68px;}
	.site-logo img {height: 34px;}
	.site-menu-btn {display: block;}
	/* 닫혀 있을 때는 아예 그리지 않는다 (화면 밖에 두면 가로 스크롤이 생긴다) */
	.site-nav {display: none; position: fixed; inset: var(--header) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; height: auto; padding: 8px var(--gutter) 32px; background: #fff; overflow-y: auto;}
	.site-nav.is-open {display: flex;}
	.site-nav > ul {flex-direction: column; height: auto; margin: 0;}
	.site-nav > ul > li {display: block; border-bottom: 1px solid var(--border);}
	.site-nav > ul > li > a {padding: 16px 2px; font-size: 1.125rem;}
	.site-nav > ul > li > a::after {display: none;}
	/* 제품: 분야만 두 줄로 (제품 목록은 분야 페이지에서) */
	.site-mega {position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: none; transition: none;}
	.site-mega-inner {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 0 0 12px;}
	.site-mega-col + .site-mega-col {padding-left: 0; border-left: 0;}
	.site-mega ul {display: none;}
	.site-mega-hub {margin: 0; padding: 8px 0; font-size: 1rem; font-weight: 600; color: var(--muted);}
	.site-actions {margin: 24px 0 0; flex-direction: column; align-items: stretch; gap: 12px;}
	.site-search input, .site-search input:focus {width: 100%; height: 50px; font-size: 1rem;}
	.site-suggest {left: 0; width: auto; max-width: none;}
	.site-actions .btn {width: 100%;}
}
/* ---------- 좁은 화면 ---------- */
@media (max-width: 1024px) {
	.hero-inner {grid-template-columns: minmax(0, 1fr); align-items: start;}
	.files li {grid-template-columns: 80px minmax(0, 1fr); }
	.files-products, .files-links {grid-column: 2;}
}
@media (max-width: 640px) {
	.site-footer-inner {grid-template-columns: minmax(0, 1fr);}
	.hub {grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px;}
	.gallery {grid-template-columns: repeat(2, minmax(0, 1fr));}
	.cta-actions .btn {flex: 1 1 auto;}
	.section-head--row {flex-direction: column; align-items: flex-start;}
	.hero-facts {grid-template-columns: repeat(2, minmax(0, 1fr));}
	.hero-facts div + div {padding-left: 0; border-left: 0;}
	.hero-facts div:nth-child(even) {padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .22);}
	.hero-facts div:nth-child(n+3) {border-top: 1px solid rgba(255, 255, 255, .22);}
	.hero-actions .btn {flex: 1 1 0;}
	.hero h1 br {display: none;}
	.hero h1 {font-size: 1.875rem;}
}
@media (prefers-reduced-motion: reduce) {
	.hero-bg img {animation: none;}
	html {scroll-behavior: auto;}
	.card, .btn, .gallery img, .site-nav {transition: none;}
}

/* ===== 제품·본문 에디터 (pd-, .pd-rt) ===== */
/*
  제품 페이지 (Views/Partials/Product/Standard.cshtml, Views/product.cshtml)
  - pd-*   : 페이지 틀 (대표 영역, 바로가기, 칸, 카드, 라인업 …)
  - .pd-rt : 본문 에디터 내용. 에디터는 class 를 남기지 않으므로 태그(p, h3, h4, ul, ol, table, img …)로만 꾸민다.
  색·글꼴은 root.css 토큰(--main, --black, --grayBg, --border, --kor)을 쓴다.
*/
.pd {
	--pd-ink: var(--black, #212933);
	--pd-muted: #4b5563;
	--pd-soft: var(--grayBg, #F0F3F5);
	--pd-line: var(--border, rgba(33, 41, 51, .15));
	--pd-accent: var(--main, #015FD9);
	--pd-radius: 20px;
	--pd-gap: clamp(16px, 2vw, 28px);
	text-align: left;
	color: var(--pd-ink);
	font-family: var(--kor);
	word-break: keep-all;
	overflow-wrap: anywhere;
}
.pd img {max-width: 100%; height: auto;}

/* ---------- 대표 영역 ---------- */
.pd-hero {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin: 8px 0 clamp(32px, 4vw, 56px);}
.pd-hero--text {grid-template-columns: minmax(0, 1fr); max-width: 880px;}
.pd-hero-media {display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: clamp(16px, 3vw, 40px); border-radius: calc(var(--pd-radius) * 1.4); background: var(--pd-soft); overflow: hidden;}
.pd-hero-media img {max-height: 100%; object-fit: contain;}
.pd-eyebrow {margin: 0 0 10px; font-size: .9375rem; font-weight: 700; color: var(--pd-accent); letter-spacing: -.01em;}
.pd-title {margin: 0 0 18px; font-size: clamp(1.875rem, 3.4vw, 2.875rem); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; color: var(--pd-ink);}
.pd-lead {margin: 0 0 16px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 600; line-height: 1.6; color: var(--pd-ink);}
.pd-intro {color: var(--pd-muted);}
.pd-actions {display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px;}
.pd-btn {display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 26px; background: var(--pd-accent); color: #fff; font-size: 1rem; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease;}
.pd-btn:hover {transform: translateY(-1px); box-shadow: 0 8px 20px rgba(1, 95, 217, .25); color: #fff;}
.pd-btn--line {background: #fff; color: var(--pd-ink); border: 1px solid var(--pd-line);}
.pd-btn--line:hover {color: var(--pd-ink); box-shadow: 0 6px 16px rgba(33, 41, 51, .08);}

/* ---------- 바로가기 ---------- */
.pd-toc {position: sticky; top: var(--header); z-index: 5; display: flex; gap: 8px; margin: 0 0 clamp(36px, 5vw, 64px); padding: 12px 0; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--pd-line); overflow-x: auto; scrollbar-width: none;}
.pd-toc::-webkit-scrollbar {display: none;}
/* 머리글은 아래로 내릴 때 숨고(header--hidden) 올릴 때 나온다: 바로가기가 그 자리를 따라간다 */
.pd-toc {top: var(--header);}
.pd-toc a {flex: none; padding: 8px 16px; border-radius: 999px; background: var(--pd-soft); font-size: .9375rem; font-weight: 600; color: var(--pd-ink); white-space: nowrap;}
.pd-toc a:hover, .pd-toc a:focus-visible {background: var(--pd-accent); color: #fff;}

/* ---------- 칸 ---------- */
.pd-section {margin: 0 0 clamp(56px, 7vw, 96px); scroll-margin-top: 150px;}
.pd-section [id] {scroll-margin-top: 150px;}
.pd-h2 {position: relative; margin: 0 0 clamp(20px, 2.4vw, 32px); padding-top: 18px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.3; letter-spacing: -.04em; color: var(--pd-ink);}
.pd-h2::before {content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 4px; border-radius: 2px; background: var(--pd-accent);}
.pd-h3 {margin: 0 0 12px; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 800; line-height: 1.4; letter-spacing: -.03em;}
.pd-group {margin: clamp(28px, 3vw, 40px) 0 16px; padding: 0 0 10px; border-bottom: 2px solid var(--pd-ink); font-size: 1.1875rem; font-weight: 800; letter-spacing: -.03em;}
.pd-group:first-of-type {margin-top: 0;}
.pd-note {margin: 10px 0 0; font-size: .9375rem; color: var(--pd-muted);}
.pd-more {display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-weight: 700; color: var(--pd-accent);}
.pd-more::after {content: "→";}

/* ---------- 핵심 특징 ---------- */
.pd-features {display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--pd-gap); counter-reset: feature; margin: 0; padding: 0; list-style: none;}
.pd-features li {counter-increment: feature; padding: 28px 28px 26px; border-radius: var(--pd-radius); background: var(--pd-soft);}
.pd-features li::before {content: counter(feature, decimal-leading-zero); display: block; margin: 0 0 14px; font-family: var(--eng); font-size: .875rem; font-weight: 800; color: var(--pd-accent);}
.pd-features h3 {margin: 0 0 8px; font-size: 1.125rem; font-weight: 800; letter-spacing: -.03em;}
.pd-features p {margin: 0; font-size: 1rem; line-height: 1.7; color: var(--pd-muted);}

/* ---------- 용도 ---------- */
.pd-chips {display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none;}
.pd-chips li {padding: 10px 18px; border: 1px solid var(--pd-line); border-radius: 999px; font-size: 1rem; font-weight: 600;}
.pd-chips--sm li {padding: 6px 14px; font-size: .9375rem;}
.pd-list {display: grid; gap: 10px; margin: 0; padding: 0; list-style: none;}
.pd-list li {position: relative; padding-left: 20px; font-size: 1.0625rem; line-height: 1.7;}
.pd-list li::before {content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--pd-accent);}

/* ---------- 라인업 ---------- */
.pd-models {display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--pd-gap);}
.pd-model {display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--pd-line); border-radius: var(--pd-radius); overflow: hidden; background: #fff;}
.pd-model-media {display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 18px; background: var(--pd-soft);}
.pd-model-media img {max-height: 100%; object-fit: contain;}
.pd-model-body {flex: 1; padding: 20px 22px 22px;}
.pd-model-body h3 {margin: 0 0 10px; font-size: 1.125rem; font-weight: 800; letter-spacing: -.03em;}
.pd-model--plain .pd-model-body {text-align: center;}
.pd-model--plain .pd-model-body h3 {margin: 0;}

/* ---------- 상세 콘텐츠 ---------- */
.pd-block {margin: 0 0 clamp(32px, 4vw, 48px);}
.pd-block--image {display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3.5vw, 48px); align-items: start;}
.pd-block-media {display: flex; justify-content: center; border-radius: var(--pd-radius); background: var(--pd-soft); overflow: hidden;}
.pd-block-media img {width: 100%; object-fit: cover;}
.pd-block-body {min-width: 0;}
.pd-cards {display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); align-items: start; gap: var(--pd-gap); margin: 0 0 clamp(32px, 4vw, 48px);}
/* 원본 카드 사진은 대부분 400px 보다 작다: 카드가 너무 넓어지지 않게 (2장이면 왼쪽부터 두 칸) */
.pd-cards--3 {grid-template-columns: repeat(3, minmax(0, 380px));}
.pd-cards--one {grid-template-columns: minmax(0, 480px);}
.pd-card {display: flex; flex-direction: column; min-width: 0; padding: 0 0 22px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius); overflow: hidden; background: #fff;}
.pd-card-media {display: flex; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 3 / 2; margin: 0 0 18px; background: var(--pd-soft);}
.pd-card-media img {width: 100%; height: 100%; object-fit: cover;}
/* 사진(jpg)은 틀을 꽉 채우고, 제품 누끼·도면(png·gif)은 잘리지 않게 여백을 두고 전부 */
.pd-card-media img:is([src$=".png"], [src$=".gif"]) {object-fit: contain; padding: 14px; box-sizing: border-box;}
/* 원본 아이콘(흰 선 SVG)은 큰 사진 칸 대신 파란 원 아이콘으로 */
.pd-card-media:has(> img[src$=".svg"]:only-child) {justify-content: flex-start; aspect-ratio: auto; margin: 22px 22px 14px; background: none;}
.pd-card-media > img[src$=".svg"]:only-child {width: 60px; height: 60px; padding: 13px; border-radius: 50%; background: var(--pd-accent); box-sizing: border-box;}
.pd-card:has(> .pd-card-media > img[src$=".svg"]:only-child) {padding-top: 0;}
.pd-card-media--pair img {width: calc(50% - 4px); height: 100%; object-fit: cover;}
.pd-card h3 {margin: 0 22px 8px; font-size: 1.0625rem; font-weight: 800; line-height: 1.45; letter-spacing: -.03em;}
.pd-card > p, .pd-card .pd-rt {margin: 0 22px; font-size: .9375rem; line-height: 1.7; color: var(--pd-muted);}
.pd-card:not(:has(.pd-card-media)) {padding-top: 22px;}
/* 카드 설명 안의 사진(예: 컨트롤러 하이·미디움·로우)은 크게 쌓지 않고 작은 정사각 썸네일로 한 줄에 */
.pd-card .pd-rt img {display: inline-block; width: calc((100% - 16px) / 3); aspect-ratio: 1; margin: 10px 8px 0 0; object-fit: cover; border-radius: 10px; background: var(--pd-soft); vertical-align: top;}
.pd-card .pd-rt img:nth-of-type(3n) {margin-right: 0;}
.pd-card .pd-rt img + p {margin-top: 6px; font-size: .8125rem; color: var(--pd-muted);}

.pd-media {position: relative; aspect-ratio: 16 / 9; margin: 0 0 16px; border-radius: var(--pd-radius); overflow: hidden; background: var(--pd-soft);}
.pd-media--3d {aspect-ratio: 5 / 3; max-width: 880px; border: 1px solid var(--pd-line); background: #fff;}
.pd-media iframe {position: absolute; inset: 0; width: 100%; height: 100%; border: 0;}

.pd-figure {margin: 0 0 var(--pd-gap); padding: clamp(16px, 3vw, 40px); border-radius: var(--pd-radius); background: var(--pd-soft); text-align: center;}
.pd-figure img {display: inline-block;}
.pd-figure figcaption {margin: 14px 0 0; font-size: .9375rem; color: var(--pd-muted);}

.pd-steps {display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--pd-gap); counter-reset: step; margin: 0; padding: 0; list-style: none;}
.pd-steps li {counter-increment: step; padding: 20px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius);}
.pd-steps img {display: block; width: 100%; margin: 0 0 14px; border-radius: 12px;}
.pd-steps h3 {margin: 0 0 6px; font-size: 1.0625rem; font-weight: 800;}
.pd-steps h3::before {content: counter(step) ". "; color: var(--pd-accent);}
.pd-steps p {margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--pd-muted);}

.pd-cases {display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--pd-gap); margin: 0; padding: 0; list-style: none;}
.pd-cases a {display: block; color: var(--pd-ink); font-weight: 600; line-height: 1.5;}
.pd-case-media {display: block; aspect-ratio: 4 / 3; margin: 0 0 10px; border-radius: 14px; overflow: hidden; background: var(--pd-soft);}
.pd-case-media img {width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease;}
.pd-cases a:hover img {transform: scale(1.04);}

.pd-delivery {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--pd-gap); padding: clamp(22px, 3vw, 36px); border-radius: var(--pd-radius); background: var(--pd-soft);}
.pd-delivery-stat {margin: 0;}
.pd-delivery-stat strong {display: block; font-family: var(--eng); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; color: var(--pd-accent);}
.pd-delivery-stat small {margin-left: 4px; font-size: 1.125rem; color: var(--pd-ink);}
.pd-delivery-stat span {display: block; margin-top: 6px; color: var(--pd-muted);}
.pd-delivery h3 {margin: 0 0 12px; font-size: 1rem; font-weight: 800;}
.pd-delivery .pd-chips li {background: #fff; border-color: transparent;}

.pd-resources {margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pd-ink);}
.pd-resources li {display: flex; justify-content: space-between; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--pd-line);}
.pd-resources a {font-weight: 600; color: var(--pd-ink);}
.pd-resources a:hover {color: var(--pd-accent);}
.pd-resources span {flex: none; font-size: .875rem; color: var(--pd-muted);}

/* FAQ (product.cshtml) */
.pd-faq details {border-bottom: 1px solid var(--pd-line);}
.pd-faq details:first-child {border-top: 1px solid var(--pd-ink);}
.pd-faq summary {position: relative; padding: 20px 44px 20px 4px; font-size: 1.0625rem; font-weight: 700; cursor: pointer; list-style: none;}
.pd-faq summary::-webkit-details-marker {display: none;}
.pd-faq summary::after {content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--pd-accent);}
.pd-faq details[open] summary::after {content: "−";}
.pd-faq .pd-rt {padding: 0 4px 22px; color: var(--pd-muted);}

/* ---------- 본문 에디터 내용 ---------- */
.pd-rt {font-size: 1.0625rem; line-height: 1.75; color: inherit;}
.pd-rt > :first-child {margin-top: 0;}
.pd-rt > :last-child {margin-bottom: 0;}
.pd-rt p {margin: 0 0 .9em;}
.pd-rt h2, .pd-rt h3 {margin: 1.6em 0 .6em; font-size: 1.25rem; font-weight: 800; line-height: 1.4; letter-spacing: -.03em; color: var(--pd-ink);}
.pd-rt h4, .pd-rt h5, .pd-rt h6 {position: relative; margin: 1.6em 0 .6em; padding-left: 14px; font-size: 1.125rem; font-weight: 800; line-height: 1.45; color: var(--pd-ink);}
.pd-rt h4::before, .pd-rt h5::before, .pd-rt h6::before {content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 4px; border-radius: 2px; background: var(--pd-accent);}
.pd-rt strong {font-weight: 700; color: var(--pd-ink);}
.pd-rt a {color: var(--pd-accent); text-decoration: underline; text-underline-offset: 3px;}
/* 사이트 공통 CSS(common.css)가 ol, ul, li 모두 list-style: none 이라 li 에서 다시 살려야 표시가 보인다 */
.pd-rt ul, .pd-rt ol {margin: 0 0 1.1em; padding-left: 1.4em;}
.pd-rt ul {list-style: disc;}
.pd-rt ol {list-style: decimal;}
.pd-rt ul ul {list-style: circle;}
.pd-rt li {display: list-item; list-style: inherit; margin: .45em 0; padding-left: .2em;}
.pd-rt li > p {margin: 0;}
.pd-rt li::marker {color: var(--pd-accent); font-weight: 700;}
.pd-rt img {display: block; margin: 1em 0; border-radius: 14px;}
/* 인용(“) = 강조 상자: 핵심 요약·주의사항. 첫 줄이 굵으면 상자 제목처럼 보인다 */
.pd-rt blockquote {margin: 1.4em 0; padding: 20px 24px; border: 1px solid #cfe0f7; border-radius: 14px; background: #f3f8fe; font-style: normal;}
.pd-rt blockquote p {margin: 0 0 .4em;}
.pd-rt blockquote p:last-child {margin-bottom: 0;}
.pd-rt blockquote > p:first-child:has(> strong:only-child) {margin-bottom: .7em; font-size: 1.0625rem; color: var(--pd-accent);}
.pd-rt blockquote > p:first-child > strong:only-child {color: inherit;}
/* 제목 줄이 있는 강조 상자(핵심 요약 등): 아래 항목을 나란한 칸으로 — 짧은 항목 두세 개가 넓은 상자에 덩그러니 있지 않게 */
.pd-rt blockquote:has(> p:first-child > strong:only-child):has(> p:nth-child(2)) {display: flex; flex-wrap: wrap; gap: 12px;}
.pd-rt blockquote:has(> p:first-child > strong:only-child) > p:first-child {flex: 1 1 100%; margin: 0;}
.pd-rt blockquote:has(> p:first-child > strong:only-child) > p:not(:first-child) {flex: 1 1 220px; display: flex; align-items: center; gap: 12px; margin: 0; padding: 18px 20px; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 #dbe7f8; font-size: 1.125rem; font-weight: 600; color: var(--pd-ink);}
.pd-rt blockquote:has(> p:first-child > strong:only-child) > p:not(:first-child) > strong:first-child {margin-right: 0; flex: none;}
.pd-rt blockquote > p:not(:first-child) > strong:first-child {display: inline-block; min-width: 3.2em; margin-right: .5em; padding: 1px 10px; border-radius: 999px; background: var(--pd-accent); color: #fff; font-size: .875rem; text-align: center;}
.pd-rt hr {margin: 2em 0; border: 0; border-top: 1px solid var(--pd-line);}
.pd-rt--sm {font-size: .9375rem; line-height: 1.7;}

/* 표: 화면에서 감싸는 상자(.rt-scroll)가 좁은 화면의 가로 스크롤을 맡는다 */
.rt-scroll {margin: 1em 0 1.4em; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--pd-line); border-radius: 14px;}
.rt-scroll:focus-visible {outline: 2px solid var(--pd-accent); outline-offset: 2px;}
.pd-rt table {width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; line-height: 1.6;}
.pd-rt--sm table {min-width: 0;}
.pd-rt th, .pd-rt td {padding: 12px 16px; border-bottom: 1px solid var(--pd-line); text-align: left; vertical-align: top;}
.pd-rt th + th, .pd-rt td + td, .pd-rt th + td, .pd-rt td + th {border-left: 1px solid var(--pd-line);}
.pd-rt tr:last-child > * {border-bottom: 0;}
.pd-rt th {background: var(--pd-soft); font-weight: 700; color: var(--pd-ink);}
.pd-rt tr:first-child > th {background: #e6ecf3;}
.pd-rt td p, .pd-rt th p {margin: 0;}
.pd-rt td img, .pd-rt th img {margin: 8px 0 0; max-width: 220px;}
.pd-spec table {min-width: 640px;}

/* ---------- 좁은 화면 ---------- */
@media (max-width: 1024px) {
	.pd-cards--3 {grid-template-columns: repeat(2, minmax(0, 1fr));}
	.pd-delivery {grid-template-columns: minmax(0, 1fr);}
}
@media (max-width: 768px) {
	.pd-hero, .pd-block--image {grid-template-columns: minmax(0, 1fr);}
	.pd-toc {margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px;}
	.pd-actions .pd-btn {flex: 1 1 auto;}
}
@media (max-width: 560px) {
	.pd-actions .pd-btn {flex-basis: 100%;}
	.pd-cards--3 {grid-template-columns: minmax(0, 1fr);}
	.pd-features li {padding: 22px;}
}
@media (prefers-reduced-motion: reduce) {
	.pd-btn, .pd-case-media img {transition: none;}
}

/* ===== 납품실적 표 ===== */
.delivery_total {margin: 0 0 var(--space20); color: #3d4652;}
.delivery_total strong {color: var(--main);}
.delivery_filter {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; margin: 0 0 var(--space20);}
.delivery_cats {display: flex; flex-wrap: wrap; gap: 8px;}
.delivery_cats button {padding: 10px 18px; border: 1px solid var(--border); border-radius: 22px; background: #fff; font-size: 0.9375rem; font-weight: 600; color: var(--black); cursor: pointer;}
.delivery_cats button.on {background: var(--main); border-color: var(--main); color: #fff;}
.delivery_search {display: flex; gap: 8px;}
.delivery_search select, .delivery_search input {height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.9375rem;}
.delivery_search input {width: 220px;}
.delivery_list td {font-size: 0.9375rem;}
.delivery_empty {padding: 40px 0; text-align: center; color: #6b7480;}
@media (max-width: 768px) {
	.delivery_search {width: 100%;}
	.delivery_search input {flex: 1; width: auto;}
	.delivery_list th:nth-child(2), .delivery_list td:nth-child(2), .delivery_list th:nth-child(4), .delivery_list td:nth-child(4) {display: none;}
}

/* ===== 견적의뢰 폼 ===== */
.quote {max-width: 900px; margin: 0 auto; text-align: left;}
.q_alert {margin: 0 0 20px; padding: 16px 20px; border-radius: 12px; background: #fff1f0; color: #c4320a; font-weight: 600;}
.q_step {margin: 0 0 24px; padding: 28px 30px; border: 1px solid var(--border); border-radius: 20px;}
.q_step legend {display: flex; align-items: center; gap: 10px; padding: 0 8px; font-size: 1.25rem; font-weight: 800; color: var(--black); letter-spacing: -0.03em;}
.q_step legend em, .q_label em, .q_strip_title em {font-style: normal; font-size: 0.875rem; font-weight: 500; color: #6b7480;}
.q_num {display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--main); color: #fff; font-size: 0.9375rem;}
.q_group {margin: 14px 0 0;}
.q_group_name {margin: 0 0 8px; font-size: 0.875rem; font-weight: 700; color: #6b7480;}
.q_chips {display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px;}
.q_chip input {position: absolute; opacity: 0; pointer-events: none;}
.q_chip span {display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--border); border-radius: 21px; font-size: 0.9375rem; font-weight: 600; color: var(--black); cursor: pointer; transition: all .15s;}
.q_chip input:checked + span {border-color: var(--main); background: var(--main); color: #fff;}
.q_chip input:focus-visible + span {outline: 2px solid var(--main); outline-offset: 2px;}
.q_chip--unknown span {border-style: dashed;}
/* ① 분야 카드 (먼저 고르는 4개 + 잘 모르겠어요) → 고른 분야의 제품 칩 */
.q_hubs {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px;}
.q_hub {position: relative; display: block; cursor: pointer;}
.q_hub input {position: absolute; opacity: 0; pointer-events: none;}
.q_hub_box {display: grid; gap: 4px; height: 100%; padding: 16px 18px 16px 50px; border: 1.5px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .15s, background-color .15s;}
.q_hub_box::before {content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; border: 1.5px solid #c3ccd7; border-radius: 6px; background: #fff center / 12px no-repeat; transition: background-color .15s, border-color .15s;}
.q_hub_name {font-size: 1.0625rem; font-weight: 800; letter-spacing: -.02em; color: var(--black);}
.q_hub_eg {font-size: .8125rem; color: #6b7480;}
.q_hub:hover .q_hub_box {border-color: #a9bbd1;}
.q_hub input:checked + .q_hub_box {border-color: var(--main); background: #f3f8fe;}
.q_hub input:checked + .q_hub_box::before {border-color: var(--main); background-color: var(--main); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
.q_hub input:focus-visible + .q_hub_box {outline: 2px solid var(--main); outline-offset: 2px;}
.q_hub--unknown .q_hub_box {border-style: dashed;}
.q_sub {margin-top: 14px; padding: 18px 20px 12px; border-radius: 14px; background: var(--grayBg);}
.q_sub[hidden] {display: none;}
.q_sub_title {margin: 0 0 10px; font-size: .9375rem; font-weight: 700; color: var(--black);}
.q_sub_title em {margin-left: 4px; font-style: normal; font-size: .8125rem; font-weight: 500; color: #6b7480;}
.q_sub .q_chip span {min-height: 38px; padding: 0 14px; background: #fff; font-size: .875rem;}
@media (max-width: 640px) {
	.q_hubs {grid-template-columns: minmax(0, 1fr);}
}
.q_strip {margin: 20px 0 0; padding: 22px; border-radius: 16px; background: var(--grayBg);}
.q_strip_title {margin: 0 0 14px; font-weight: 700; color: var(--black);}
.q_grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px;}
.q_field {display: block; margin: 0 0 14px;}
.q_grid .q_field {margin: 0;}
.q_label {display: block; margin: 0 0 6px; font-size: 0.9375rem; font-weight: 700; color: var(--black);}
.q_label b, .q_check b {margin-left: 4px; font-size: 0.75rem; font-weight: 700; color: var(--main);}
.q_field input[type=text], .q_field input[type=tel], .q_field input[type=email], .q_field input[type=number], .q_field select, .q_field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-size: 1rem; box-sizing: border-box;}
.q_field textarea {min-height: 110px; resize: vertical;}
.q_field input:focus, .q_field select:focus, .q_field textarea:focus {outline: none; border-color: var(--main); box-shadow: 0 0 0 3px rgba(1, 95, 217, .12);}
.q_field.is-error input {border-color: #d92d20;}
.q_error {display: block; margin: 6px 0 0; font-size: 0.875rem; font-weight: 600; color: #d92d20;}
.q_error[hidden] {display: none;}
.q_price {margin: 16px 0 0; padding: 14px 18px; border-radius: 12px; background: #fff; color: var(--black);}
.q_price strong {font-size: 1.375rem; color: var(--main);}
.q_price span {display: block; margin: 4px 0 0; font-size: 0.8125rem; color: #6b7480;}
.q_agree {margin: 0 0 24px; padding: 18px 22px; border-radius: 16px; background: var(--grayBg);}
.q_check {display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--black); cursor: pointer;}
.q_check input {width: 20px; height: 20px; margin: 2px 0 0; flex: none;}
.q_agree details {margin: 8px 0 0 30px; font-size: 0.875rem; color: #3d4652;}
.q_agree summary {cursor: pointer; text-decoration: underline;}
.q_submit {width: 100%; height: 60px; border: 0; border-radius: 14px; background: var(--main); color: #fff; font-size: 1.125rem; font-weight: 800; cursor: pointer;}
.q_submit:disabled {opacity: .6; cursor: default;}
.q_done {padding: 50px 30px; border-radius: 24px; background: var(--grayBg); text-align: center;}
.q_done_icon {display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 0 16px; border-radius: 50%; background: var(--main); color: #fff; font-size: 2rem; font-weight: 800;}
.q_done h2 {margin: 0 0 8px; font-size: 1.75rem; font-weight: 800; color: var(--black);}
.q_done > p {color: #3d4652;}
.q_summary {display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; max-width: 520px; margin: 26px auto; padding: 22px 26px; border-radius: 16px; background: #fff; text-align: left;}
.q_summary dt {font-weight: 700; color: #6b7480;}
.q_summary dd {margin: 0; color: var(--black); word-break: keep-all;}
.q_done_btns {display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;}
.q_btn {display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border-radius: 10px; background: var(--main); color: #fff; font-weight: 700;}
.q_btn--line {background: #fff; color: var(--black); border: 1px solid var(--border);}
@media (max-width: 640px) {
	.q_step {padding: 22px 16px;}
	.q_grid {grid-template-columns: minmax(0, 1fr);}
	.q_summary {grid-template-columns: 1fr; gap: 2px;}
	.q_summary dd {margin: 0 0 10px;}
}
@media (max-width: 640px) {
	.q_step legend {flex-wrap: wrap; font-size: 1.125rem;}
	.q_step legend em {flex-basis: 100%; padding-left: 38px;}
}
.delivery_list tr.is-target td {background: #eaf2ff; font-weight: 700;}

/* ===== 인증·특허 + 크게 보기 ===== */
.cert_list {text-align: left;}
.cert_group {margin: var(--space50) 0 var(--space20); padding: 0 0 10px; border-bottom: 2px solid var(--black); font-size: 1.375rem; font-weight: 800; color: var(--black);}
.cert_group:first-child {margin-top: 0;}
.cert_group span {margin-left: 6px; font-size: 1rem; color: var(--main);}
.cert_grid {display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 0 0 var(--space20);}
.cert_grid a {display: block; color: var(--black);}
.cert_thumb {display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--grayBg); box-sizing: border-box; overflow: hidden; transition: border-color .15s, box-shadow .15s;}
.cert_thumb img {max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 10px rgba(0,0,0,.12);}
.cert_grid a:hover .cert_thumb, .cert_grid a:focus-visible .cert_thumb {border-color: var(--main); box-shadow: 0 6px 20px rgba(1,95,217,.15);}
.cert_name {display: block; margin: 10px 0 0; font-size: 0.9375rem; font-weight: 600; line-height: 140%; word-break: keep-all;}
.cert_meta {display: block; margin: 2px 0 0; font-size: 0.8125rem; color: #6b7480;}
.pd-section .cert_grid {grid-template-columns: repeat(6, minmax(0, 1fr));}
html.lb-open {overflow: hidden;}
.lb {position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(10, 14, 20, .88);}
.lb[hidden] {display: none;}
.lb_body {position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 60px 70px; box-sizing: border-box;}
.lb_figure {display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; margin: 0;}
.lb_figure img {max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.4);}
.lb_figure figcaption {margin: 14px 0 0; text-align: center; color: #fff;}
.lb_figure figcaption strong {display: block; font-size: 1.125rem;}
.lb_caption {font-size: 0.875rem; opacity: .8;}
.lb button {position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 2rem; line-height: 1;}
.lb button:hover {background: rgba(255,255,255,.25);}
.lb_close {top: 16px; right: 16px;}
.lb_prev {left: 16px; top: 50%; transform: translateY(-50%);}
.lb_next {right: 16px; top: 50%; transform: translateY(-50%);}
.lb--single .lb_prev, .lb--single .lb_next, .lb--single .lb_count {display: none;}
.lb_count {position: absolute; top: 26px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.875rem; opacity: .8;}
@media (max-width: 1024px) { .cert_grid, .pd-section .cert_grid {grid-template-columns: repeat(4, minmax(0, 1fr));} }
@media (max-width: 640px) {
	.cert_grid, .pd-section .cert_grid {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;}
	.lb_body {padding: 60px 12px 40px;}
	.lb_prev, .lb_next {top: auto; bottom: 14px; transform: none;}
}

/* ===== 제품 대표 영역: 사진 + 작은 사진 줄 ===== */
.pd-hero-gallery {min-width: 0;}
.pd-thumbs {display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px;}
.pd-thumbs a {display: block; aspect-ratio: 1; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--pd-soft);}
.pd-thumbs img {width: 100%; height: 100%; object-fit: cover;}
.pd-hero-body .page-head {margin: 0;}
.pd-hero-body .pd-actions {margin-top: 24px;}
.pd .wrap, .pd.wrap {padding-top: clamp(20px, 3vw, 32px);}
.cert_group.pd-h2 {border-bottom: 0; padding-bottom: 0;}

/* 제품 디자인 변수는 모든 페이지가 같이 쓴다 (목록·사례·글도 pd- 칸·본문 에디터 모양을 쓴다) */
:root {--pd-ink: var(--black); --pd-muted: #4b5563; --pd-soft: var(--grayBg); --pd-line: var(--border); --pd-accent: var(--main); --pd-radius: 20px; --pd-gap: clamp(16px, 2vw, 28px);}

/* 머리글·바닥글 메뉴 목록에는 표시를 두지 않는다 (class 없는 ul 이라 기본 점이 보였다) */
.site-nav ul, .site-sub {list-style: none; margin: 0; padding: 0;}

/* 회사소개 > 연혁: 원본(/company/history.php)의 어두운 배너 + 가운데 선 좌우 번갈이 타임라인을 이어 간다.
   본문은 에디터의 "연도(H3) + 목록" 그대로이고, 진행선과 지난 연도 표시는 v2.js 가 붙인다 (없어도 읽힌다). */
.history-banner {position: relative; overflow: hidden; display: grid; place-content: center; gap: 14px; min-height: clamp(220px, 30vw, 420px); padding: 48px 6%; border-radius: clamp(16px, 2.6vw, 40px); background: #0b1626; color: #fff; text-align: center; isolation: isolate;}
.history-banner picture, .history-banner img {position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;}
.history-banner-title {margin: 0; font-size: clamp(1.625rem, 3.2vw, 2.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; text-wrap: balance;}
.history-banner-text {margin: 0; font-size: clamp(.9375rem, 1.4vw, 1.25rem); font-weight: 400; line-height: 1.5; color: rgba(255, 255, 255, .86); text-wrap: balance;}

.history {--gap: 70px; position: relative; padding-top: clamp(48px, 6vw, 80px);}
.history::before {content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--border);}
.history-progress {position: absolute; left: 50%; top: 0; z-index: 1; width: 3px; height: 0; margin-left: -1px; background: var(--main); transition: height .5s ease;}
.history-progress::before, .history-progress::after {content: ""; position: absolute; left: 50%; bottom: 0; border-radius: 50%; background: var(--main); transform: translate(-50%, 50%);}
.history-progress::before {width: 25px; height: 25px; opacity: .2;}
.history-progress::after {width: 11px; height: 11px;}
.history .pd-rt {max-width: none;}
.history .pd-rt > h3, .history .pd-rt > ul {box-sizing: border-box; width: calc(50% - var(--gap));}
.history .pd-rt > h3:nth-of-type(odd), .history .pd-rt > ul:nth-of-type(odd) {margin-left: calc(50% + var(--gap));}
.history .pd-rt > h3:nth-of-type(even), .history .pd-rt > ul:nth-of-type(even) {margin-right: calc(50% + var(--gap)); text-align: right;}
.history .pd-rt > h3 {position: relative; margin-top: 0; margin-bottom: 0; padding: 0; font-family: var(--eng); font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 900; line-height: 1.2; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--ink); transition: color .4s;}
/* 연도에서 가운데 선으로 가는 짧은 가로줄 */
.history .pd-rt > h3::before {content: ""; position: absolute; top: 50%; width: 45px; height: 1px; background: var(--border); transition: background-color .4s;}
.history .pd-rt > h3:nth-of-type(odd)::before {left: calc(var(--gap) * -1);}
.history .pd-rt > h3:nth-of-type(even)::before {right: calc(var(--gap) * -1);}
.history .pd-rt > ul {margin-top: 0; margin-bottom: 0; padding: 18px 0 clamp(36px, 4vw, 54px); list-style: none;}
.history .pd-rt li {display: block; margin: 0; padding: 0;}
.history .pd-rt li + li {margin-top: 10px;}
.history .pd-rt li > p:first-child {display: flex; gap: 12px; margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.6; color: var(--ink);}
.history .pd-rt li > p:first-child strong {flex: 0 0 auto; min-width: 2.6em; font-family: var(--eng); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums;}
.history .pd-rt li > p + p {margin: 2px 0 0; padding-left: calc(2.6em + 12px); font-size: .875rem; line-height: 1.6; color: var(--muted);}
.history .pd-rt > ul:nth-of-type(even) li > p:first-child {flex-direction: row-reverse;}
.history .pd-rt > ul:nth-of-type(even) li > p:first-child strong {text-align: right;}
.history .pd-rt > ul:nth-of-type(even) li > p + p {padding-left: 0; padding-right: calc(2.6em + 12px);}
/* 진행선이 아직 닿지 않은 연도는 옅게, 지난 연도는 짙게 + 가로줄 파랑 */
.history.is-live .pd-rt > h3 {color: #b8c1cd;}
.history.is-live .pd-rt > h3.is-past {color: var(--ink);}
.history.is-live .pd-rt > h3.is-past::before {background: var(--main);}
@media (prefers-reduced-motion: reduce) {
	.history-progress, .history .pd-rt > h3, .history .pd-rt > h3::before {transition: none;}
}
@media (max-width: 760px) {
	.history {--gap: 0px; padding-left: 30px;}
	.history::before {left: 8px;}
	.history-progress {left: 8px; width: 2px; margin-left: -.5px;}
	.history-progress::before {width: 15px; height: 15px;}
	.history-progress::after {width: 7px; height: 7px;}
	.history .pd-rt > h3, .history .pd-rt > ul {width: auto;}
	.history .pd-rt > h3:nth-of-type(n), .history .pd-rt > ul:nth-of-type(n) {margin-left: 0; margin-right: 0; text-align: left;}
	.history .pd-rt > h3::before, .history .pd-rt > h3:nth-of-type(n)::before {left: -22px; right: auto; width: 14px;}
	.history .pd-rt > ul {padding: 8px 0 30px;}
	.history .pd-rt > ul:nth-of-type(n) li > p:first-child {flex-direction: row;}
	.history .pd-rt > ul:nth-of-type(n) li > p:first-child strong {text-align: left;}
	.history .pd-rt > ul:nth-of-type(n) li > p + p {padding-left: calc(2.6em + 12px); padding-right: 0;}
	.history .pd-rt li > p:first-child {font-size: 1rem;}
}

/* 회사소개 > 인사말·사업분야: 원본의 큰 둥근 사진, 벌집(육각형) 배지, 3장 나란히 전시장 사진을 이어 간다.
   본문 구조는 그대로 두고 칸 제목 id(greeting, business) 기준으로 모양만 바꾼다. 육각형 그림: /img/company_merit_*.svg */
section[aria-labelledby="greeting"] .pd-block--image {grid-template-columns: minmax(0, 1fr);}
section[aria-labelledby="greeting"] .pd-block--image .pd-block-media {order: 2; border-radius: clamp(16px, 2.6vw, 40px);}
section[aria-labelledby="greeting"] .pd-block--image .pd-block-media img {aspect-ratio: 21 / 9; max-height: 520px;}
section[aria-labelledby="greeting"] .pd-block--image .pd-h3,
section[aria-labelledby="business"] .pd-block:first-of-type .pd-h3 {margin-bottom: 16px; font-size: clamp(1.5rem, 2.8vw, 2.375rem); font-weight: 800; line-height: 1.3; letter-spacing: -.045em; text-wrap: balance;}
section[aria-labelledby="greeting"] .pd-block--image .pd-rt {max-width: 980px; font-size: 1.0625rem;}

/* 장점 네 가지: 겹쳐 놓은 육각형, 파랑·초록 번갈아, 하나씩 위아래로 엇갈림 */
section[aria-labelledby="greeting"] .pd-cards {display: flex; justify-content: center; gap: 0; margin: clamp(8px, 2vw, 24px) 0 clamp(40px, 6vw, 72px); padding-top: clamp(50px, 6vw, 78px);}
section[aria-labelledby="greeting"] .pd-card {flex: 0 1 250px; aspect-ratio: 1; justify-content: center; align-items: center; gap: 10px; margin-left: clamp(-70px, -5vw, -36px); padding: 0; border: 0; border-radius: 0; overflow: visible; text-align: center; background: url("/img/company_merit_sub.svg") center / contain no-repeat; mix-blend-mode: multiply;}
section[aria-labelledby="greeting"] .pd-card:first-child {margin-left: 0;}
section[aria-labelledby="greeting"] .pd-card:nth-child(2n) {margin-top: clamp(-78px, -6vw, -50px); margin-bottom: clamp(50px, 6vw, 78px); background-image: url("/img/company_merit_main.svg");}
section[aria-labelledby="greeting"] .pd-card .pd-card-media {margin: 0; justify-content: center;}
section[aria-labelledby="greeting"] .pd-card .pd-card-media > img {width: clamp(40px, 4.4vw, 56px); height: clamp(40px, 4.4vw, 56px); padding: 0; border-radius: 0; background: none; object-fit: contain;}
section[aria-labelledby="greeting"] .pd-card .pd-rt {margin: 0 18%; font-size: clamp(.875rem, 1.3vw, 1.0625rem); font-weight: 800; line-height: 1.35; color: #fff;}

/* 장비전시장: 사진 3장 나란히, 바깥 모서리만 크게 둥글게 */
section[aria-labelledby="greeting"] .pd-block:not(.pd-block--image) .pd-rt:has(> img) {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: hidden; border-radius: clamp(16px, 2.6vw, 40px);}
section[aria-labelledby="greeting"] .pd-block:not(.pd-block--image) .pd-rt:has(> img) img {width: 100%; height: 100%; aspect-ratio: 4 / 5; margin: 0; border-radius: 0; object-fit: cover;}

/* 사업분야: 가운데 정렬 머리말 + 사업부마다 육각형 배지(아이콘·영문 이름)와 설명 한 줄씩 */
section[aria-labelledby="business"] .pd-block:first-of-type {text-align: center;}
section[aria-labelledby="business"] .pd-block:first-of-type .pd-rt {max-width: 920px; margin: 0 auto; font-size: 1.0625rem;}
section[aria-labelledby="business"] .pd-cards {display: block; margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--border);}
section[aria-labelledby="business"] .pd-card {position: relative; display: grid; grid-template-columns: clamp(150px, 17vw, 220px) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(24px, 4vw, 50px); padding: clamp(22px, 2.6vw, 30px) 0; border: 0; border-bottom: 1px dashed var(--border); border-radius: 0; overflow: visible; background: none;}
section[aria-labelledby="business"] .pd-card .pd-card-media {grid-row: 1 / 3; align-self: start; flex-direction: column; justify-content: center; aspect-ratio: 1; margin: 0; padding-bottom: 22%; background: url("/img/company_merit_main.svg") center / contain no-repeat; mix-blend-mode: multiply;}
section[aria-labelledby="business"] .pd-card:nth-child(2) .pd-card-media {background-image: url("/img/company_merit_sub2.svg");}
section[aria-labelledby="business"] .pd-card:nth-child(3) .pd-card-media {background-image: url("/img/company_merit_sub.svg");}
section[aria-labelledby="business"] .pd-card .pd-card-media > img {width: 30%; height: auto; padding: 0; border-radius: 0; background: none; object-fit: contain;}
/* 본문 첫 줄(CLEAN · D&P · MATERIAL)을 육각형 안 아이콘 아래로 */
section[aria-labelledby="business"] .pd-card .pd-rt > p:first-child {position: absolute; left: 0; top: calc(clamp(22px, 2.6vw, 30px) + clamp(150px, 17vw, 220px) * .62); width: clamp(150px, 17vw, 220px); margin: 0; text-align: center; font-family: var(--eng); font-size: clamp(.9375rem, 1.4vw, 1.25rem); font-weight: 800; letter-spacing: 0; color: #fff;}
section[aria-labelledby="business"] .pd-card h3 {grid-column: 2; align-self: end; margin: clamp(12px, 2vw, 24px) 0 8px; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -.04em; color: var(--ink);}
section[aria-labelledby="business"] .pd-card .pd-rt {grid-column: 2; margin: 0; font-size: 1rem; color: var(--ink);}
section[aria-labelledby="business"] .pd-card .pd-rt li::marker {color: var(--main);}
section[aria-labelledby="business"] .pd-card:nth-child(2) .pd-rt li::marker {color: #2993ce;}
section[aria-labelledby="business"] .pd-card:nth-child(3) .pd-rt li::marker {color: #7bbf3a;}
@media (max-width: 640px) {
	section[aria-labelledby="greeting"] .pd-cards {flex-wrap: wrap; padding-top: 0; row-gap: 0; padding-left: 4%;}
	section[aria-labelledby="greeting"] .pd-card {flex: 0 0 46%; margin: 0 0 0 -4%;}
	section[aria-labelledby="greeting"] .pd-card:nth-child(odd) {margin-left: 0;}
	section[aria-labelledby="greeting"] .pd-card:nth-child(2n) {margin-top: 13%; margin-bottom: -13%;}
	section[aria-labelledby="greeting"] .pd-cards {padding-bottom: 13%;}
	section[aria-labelledby="greeting"] .pd-card .pd-rt {font-size: .9375rem;}
	section[aria-labelledby="greeting"] .pd-block:not(.pd-block--image) .pd-rt:has(> img) {grid-template-columns: minmax(0, 1fr); border-radius: 16px;}
	section[aria-labelledby="greeting"] .pd-block:not(.pd-block--image) .pd-rt:has(> img) img {aspect-ratio: 4 / 3;}
	section[aria-labelledby="business"] .pd-card {grid-template-columns: 112px minmax(0, 1fr); column-gap: 18px;}
	section[aria-labelledby="business"] .pd-card .pd-rt > p:first-child {top: calc(clamp(22px, 2.6vw, 30px) + 112px * .62); width: 112px; font-size: .8125rem;}
	section[aria-labelledby="business"] .pd-card h3 {margin-top: 6px;}
}

/* 오시는 길: 원본처럼 지도 + 네이버(초록)·카카오(노랑) 바로가기 */
.location-map {margin: 0 0 20px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--pd-radius); line-height: 0; background: var(--pd-soft);}
.location-map .root_daum_roughmap_landing {width: 100% !important; height: clamp(320px, 38vw, 480px);}
.location-map .wrap_map {width: 100% !important; height: 100% !important;}
.location-map .root_daum_roughmap .wrap_controllers, .location-map .root_daum_roughmap .cont, .location-map .map_border {display: none;}
.location-map noscript p {padding: 24px; line-height: 1.6;}
.location-links {display: flex; flex-wrap: wrap; gap: 8px;}
.location-btn {display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 180px; min-height: 50px; padding: 0 22px; border: 1px solid #10d265; border-radius: 999px; background: #10d265; color: #fff; font-weight: 700; transition: background-color .2s, color .2s, border-color .2s;}
.location-btn:hover {background: #fff; color: #0a9e4b;}
.location-btn--kakao {border-color: #fedd0d; background: #fedd0d; color: #1a0000;}
.location-btn--kakao:hover {border-color: #1a0000; background: #1a0000; color: #fedd0d;}

/* 자주 묻는 질문 검색 (Views/listPage.cshtml, /comm/js/v2.js) */
/* 사이트 검색 결과 (/search/) */
.search-form {position: relative; display: flex; gap: 10px; max-width: 760px; margin-top: clamp(16px, 2vw, 24px);}
.search-form svg {position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none;}
.search-form input {flex: 1; min-width: 0; height: 56px; padding: 0 18px 0 52px; border: 1px solid var(--border); border-radius: 12px; background: #fff; font-size: 1.0625rem; transition: border-color .15s, box-shadow .15s;}
.search-form input:focus {outline: none; border-color: var(--main); box-shadow: 0 0 0 4px rgba(1, 95, 217, .14);}
.search-form .btn {min-height: 56px;}
.search-status {margin-top: 16px; color: var(--muted);}
.search-status strong {color: var(--ink);}
.search-jump {display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;}
.search-jump a {display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; font-size: .9375rem; font-weight: 700; transition: border-color .15s, color .15s;}
.search-jump a span {font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums;}
.search-jump a:hover {border-color: var(--main); color: var(--main);}
.search-group {margin-top: clamp(32px, 4vw, 48px); scroll-margin-top: calc(var(--header) + 16px);}
.search-group h2 {display: flex; align-items: baseline; gap: 8px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em;}
.search-group h2 span {font-size: 1rem; color: var(--main); font-variant-numeric: tabular-nums;}
.search-list {list-style: none;}
.search-list li {border-bottom: 1px solid var(--border);}
.search-hit {display: flex; align-items: flex-start; gap: 18px; padding: 18px 4px;}
.search-hit img {flex: none; width: 96px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--grayBg);}
.search-hit-body {display: grid; gap: 4px; min-width: 0;}
.search-hit-title {font-size: 1.0625rem; font-weight: 800; letter-spacing: -.02em; transition: color .15s;}
.search-hit:hover .search-hit-title {color: var(--main);}
.search-hit-text {font-size: .9375rem; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.search-hit mark {padding: 0 1px; border-radius: 3px; background: #fff1a8; color: inherit;}
.search-empty {display: grid; justify-items: start; gap: 8px; margin-top: 32px; padding: 28px; border-radius: 14px; background: var(--grayBg); color: var(--muted);}
.search-empty .btn {margin-top: 8px;}
@media (max-width: 640px) {
	.search-form .btn {display: none;}
	.search-hit {gap: 12px;}
	.search-hit img {width: 72px; height: 56px;}
}
.faq-search {position: sticky; top: var(--header); z-index: 5; margin: 0 0 clamp(24px, 3vw, 36px); padding: 14px 0; background: #fff;}
.faq-search-box {position: relative; max-width: 720px;}
.faq-search-box svg {position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none;}
.faq-search input {width: 100%; height: 56px; padding: 0 48px 0 52px; border: 1px solid var(--border); border-radius: 12px; background: #fff; font-size: 1.0625rem; transition: border-color .15s, box-shadow .15s;}
.faq-search input::placeholder {color: #6b7480;}
.faq-search input:focus {outline: none; border-color: var(--main); box-shadow: 0 0 0 4px rgba(1, 95, 217, .14);}
.faq-search input::-webkit-search-cancel-button {-webkit-appearance: none;}
.faq-search-clear {position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 1.25rem; cursor: pointer;}
.faq-search-clear:hover {background: var(--grayBg); color: var(--ink);}
.faq-search-status {margin-top: 10px; font-size: .9375rem; color: var(--muted);}
.faq-search-status strong {color: var(--ink);}
.faq-empty {padding: 40px 0; text-align: center; color: var(--muted);}
.faq-empty a {color: var(--main); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;}
mark.faq-hit {padding: 0 1px; border-radius: 3px; background: #fff1a8; color: inherit;}
