/* =========================================================
   SpringWave Theme — main.css
   다크 히어로 + 화이트 본문 + 블루 포인트
   ========================================================= */

:root {
	--sw-blue:        #1b63b0;
	--sw-blue-dark:   #0f4a8a;
	--sw-green:       #7ac143;
	--sw-ink:         #1a1f26;
	--sw-body:        #4a525c;
	--sw-muted:       #8a929c;
	--sw-line:        #e4e8ee;
	--sw-bg:          #ffffff;
	--sw-bg-soft:     #f5f7fa;
	--sw-dark:        #0a1420;
	--sw-dark-2:      #0e1c2e;
	--sw-accent-cyan: #5cc6ff;
	--sw-header-h:    78px;
	--sw-maxw:        1200px;
	--sw-ease:        cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--sw-body);
	background: var(--sw-bg);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--sw-blue); text-decoration: none; transition: color .2s var(--sw-ease); }
a:hover { color: var(--sw-blue-dark); }

h1, h2, h3, h4 { color: var(--sw-ink); line-height: 1.25; font-weight: 700; }

/* ---------- 접근성 유틸 ---------- */
.screen-reader-text {
	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-link {
	position: absolute; left: 8px; top: -48px;
	z-index: 1000; padding: 10px 16px;
	background: var(--sw-blue); color: #fff; border-radius: 0 0 6px 6px;
	transition: top .2s var(--sw-ease);
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--sw-accent-cyan); outline-offset: 2px; }

/* =========================================================
   헤더
   ========================================================= */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--sw-line);
	transition: background .25s var(--sw-ease), border-color .25s var(--sw-ease);
}
.site-header__inner {
	max-width: var(--sw-maxw);
	margin: 0 auto;
	padding: 0 24px;
	height: var(--sw-header-h);
	display: flex;
	align-items: center;
	gap: 32px;
}

/* 프론트 오버레이 헤더 */
.site-header--overlay {
	position: fixed; left: 0; right: 0; top: 0;
	background: transparent;
	border-bottom-color: transparent;
}
.site-header--overlay .primary-nav__link,
.site-header--overlay .site-branding__name { color: #fff; }
.site-header--overlay.is-scrolled {
	background: rgba(10,20,32,.92);
	border-bottom-color: rgba(255,255,255,.08);
	backdrop-filter: blur(8px);
}

/* 브랜딩 */
.site-branding { flex: 0 0 auto; }
.custom-logo-link img { display: block; max-height: 44px; width: auto; }
.site-branding__text { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.site-branding__mark {
	display: inline-grid; place-items: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #2a7fd6, #0f4a8a 70%);
	color: #fff; font-size: 16px; letter-spacing: .5px;
	box-shadow: 0 0 0 3px rgba(122,193,67,.5);
}
.site-branding__name {
	font-size: 22px; color: var(--sw-blue);
	letter-spacing: -.01em;
}

/* 업로드 로고(사용자 정의) */
.site-branding__logo { display: inline-flex; align-items: center; vertical-align: middle; }
.site-branding__logo img { display: block; max-height: 46px; width: auto; }
.site-branding__logo-dark { display: none; } /* 기본: 밝은 배경용(main) 표시 */
/* 다크 히어로 헤더 상단(스크롤 전): 어두운 배경용 로고 */
.site-header--overlay:not(.is-scrolled) .site-branding__logo-main { display: none; }
.site-header--overlay:not(.is-scrolled) .site-branding__logo-dark { display: block; }
/* 푸터 로고 */
.site-footer__logo img { display: block; max-height: 40px; width: auto; }

/* 네비 */
.primary-nav { margin-left: auto; }
.primary-nav__list {
	display: flex; align-items: center; gap: 8px;
	list-style: none; margin: 0; padding: 0;
}
.primary-nav__item { position: relative; }
.submenu-toggle { display: none; } /* 데스크탑 숨김(호버로 펼침), 모바일에서만 표시 */
.primary-nav__link {
	display: inline-flex; align-items: center;
	padding: 0 18px; height: var(--sw-header-h);
	font-size: 17px; font-weight: 700; color: var(--sw-ink);
	white-space: nowrap;
}
.primary-nav__link:hover { color: var(--sw-blue); }

/* 드롭다운 (About) */
.dropdown {
	position: absolute; top: 100%; left: 0;
	min-width: 180px; padding: 8px;
	background: #fff; border: 1px solid var(--sw-line);
	border-radius: 10px; box-shadow: 0 18px 40px rgba(16,32,56,.14);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s var(--sw-ease), transform .2s var(--sw-ease), visibility .2s;
}
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__list a {
	display: block; padding: 10px 14px; border-radius: 6px;
	color: var(--sw-ink); font-weight: 500; font-size: 16px;
}
.dropdown__list a:hover { background: var(--sw-bg-soft); color: var(--sw-blue); }

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
	opacity: 1; visibility: visible; transform: translateY(0);
}

/* 메가메뉴 (Products) */
.megamenu {
	position: fixed; left: 0; right: 0; top: var(--sw-header-h);
	background: #fff; border-top: 1px solid var(--sw-line);
	box-shadow: 0 24px 48px rgba(16,32,56,.16);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s var(--sw-ease), transform .2s var(--sw-ease), visibility .2s;
}
.megamenu__inner {
	max-width: var(--sw-maxw); margin: 0 auto;
	padding: 36px 24px 40px;
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px;
}
.megamenu__col { min-width: 0; }
.megamenu__heading {
	display: block; padding-bottom: 12px; margin-bottom: 12px;
	border-bottom: 2px solid var(--sw-blue);
	color: var(--sw-blue); font-weight: 700; font-size: 16px;
}
.megamenu__items { list-style: none; margin: 0; padding: 0; }
.megamenu__items li { margin: 0; }
.megamenu__items a {
	display: block; padding: 7px 0;
	color: var(--sw-body); font-size: 16px;
}
.megamenu__items a:hover { color: var(--sw-blue); padding-left: 4px; }

.has-megamenu:hover .megamenu,
.has-megamenu:focus-within .megamenu,
.has-megamenu.is-open .megamenu {
	opacity: 1; visibility: visible; transform: translateY(0);
}

/* 모바일 토글 (데스크톱 숨김) */
.nav-toggle {
	display: none; margin-left: auto;
	width: 44px; height: 44px; padding: 10px;
	background: transparent; border: 0; cursor: pointer;
}
.nav-toggle__bar {
	display: block; height: 2px; width: 100%;
	background: var(--sw-ink); border-radius: 2px;
	transition: transform .25s var(--sw-ease), opacity .25s var(--sw-ease);
}
.nav-toggle__bar + .nav-toggle__bar { margin-top: 6px; }
.site-header--overlay .nav-toggle__bar { background: #fff; }
.site-header--overlay.is-scrolled .nav-toggle__bar { background: #fff; }

/* =========================================================
   히어로
   ========================================================= */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex; align-items: flex-end;
	color: #fff; overflow: hidden;
	background: var(--sw-dark);
	/* 콘텐츠를 하단에 정렬하되 바닥에서 약 10%(10vh) 띄움 */
	padding-bottom: 10vh;
}
.hero__bg {
	position: absolute; inset: 0; z-index: 0;
	/* 영상 로딩 전/실패 시 검정 대신 다크 네트워크 톤이 보이도록 fallback 배경 */
	background:
		radial-gradient(1200px 600px at 70% 40%, rgba(28,90,150,.45), transparent 70%),
		linear-gradient(160deg, #0a1420 0%, #0e1c2e 55%, #0a1420 100%);
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__placeholder {
	position: absolute; inset: 0;
	background:
		radial-gradient(1200px 600px at 70% 40%, rgba(28,90,150,.45), transparent 70%),
		linear-gradient(160deg, #0a1420 0%, #0e1c2e 55%, #0a1420 100%);
}
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(10,20,32,.85) 0%, rgba(10,20,32,.45) 50%, rgba(10,20,32,.2) 100%);
}
.hero__content {
	position: relative; z-index: 2;
	max-width: var(--sw-maxw); width: 100%;
	margin: 0 auto; padding: 0 24px;
}
.hero__eyebrow {
	margin: 0 0 14px; font-size: 16px; font-weight: 700;
	letter-spacing: .35em; color: var(--sw-accent-cyan);
}
.hero__title {
	margin: 0; color: #fff;
	font-size: clamp(40px, 7vw, 88px); font-weight: 900;
	letter-spacing: -.02em; line-height: 1.05;
}
.hero__lead {
	margin: 24px 0 0; max-width: 540px;
	font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.82);
}
.hero__scroll {
	position: absolute; left: 50%; bottom: 32px; z-index: 2;
	transform: translateX(-50%);
	width: 30px; height: 48px;
}
.hero__scroll-arrow {
	display: block; width: 22px; height: 22px;
	margin: 0 auto;
	border-right: 2px solid rgba(255,255,255,.7);
	border-bottom: 2px solid rgba(255,255,255,.7);
	transform: rotate(45deg);
	animation: sw-bounce 1.8s infinite;
}
@keyframes sw-bounce {
	0%,100% { transform: rotate(45deg) translate(0,0); opacity: .5; }
	50%     { transform: rotate(45deg) translate(5px,5px); opacity: 1; }
}

/* =========================================================
   섹션 공통
   ========================================================= */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head__title {
	margin: 0; font-size: clamp(26px, 4vw, 38px);
	letter-spacing: .02em;
}
.section-head__sub { margin: 12px 0 0; color: var(--sw-muted); font-size: 16px; }

/* 제품 개요 그리드 */
.products-overview { padding: 96px 0; background: #fff; }
.products-overview__inner { max-width: var(--sw-maxw); margin: 0 auto; padding: 0 24px; }

.product-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.product-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	height: 100%; padding: 40px 28px;
	background: var(--sw-bg-soft);
	border: 1px solid var(--sw-line); border-radius: 16px;
	transition: transform .25s var(--sw-ease), box-shadow .25s var(--sw-ease), border-color .25s var(--sw-ease);
}
.product-card:hover {
	transform: translateY(-6px);
	border-color: rgba(27,99,176,.4);
	box-shadow: 0 18px 40px rgba(16,32,56,.12);
}
.product-card__icon {
	display: grid; place-items: center;
	width: 72px; height: 72px; margin-bottom: 20px;
	color: var(--sw-blue);
}
.product-card__icon svg { width: 100%; height: 100%; }
.product-card__label {
	font-size: 20px; font-weight: 700; color: var(--sw-ink);
}
.product-card__tagline {
	margin-top: 10px; font-size: 16px; color: var(--sw-body);
}

/* =========================================================
   메인 하단 — Products & Solutions (좌 타이틀+글로브 / 우 카드)
   ========================================================= */
.home-prod {
	position: relative; overflow: hidden;
	padding: 96px 0 104px;
	background:#f3f9fe url(../img/bg_main.jpg) no-repeat left bottom / 1000px;
}
.home-prod__inner {
	position: relative; z-index: 1;
	max-width: var(--sw-maxw); margin: 0 auto; padding: 0 24px;
	display: grid; grid-template-columns: 0.82fr 1.55fr; gap: 56px; align-items: start;
}

/* 좌측 인트로 */
.home-prod__intro { position: relative; align-self: stretch; min-height: 540px; }
.home-prod__bar {
	display: block; width: 52px; height: 5px; border-radius: 3px;
	background: var(--sw-blue); margin: 6px 0 26px;
}
.home-prod__title {
	margin: 0 0 26px; display: flex; flex-direction: column;
	font-size: clamp(34px, 4.4vw, 48px); font-weight: 800;
	line-height: 1.04; letter-spacing: -.01em; color: #0f2c5c;
}
.home-prod__title-accent { color: var(--sw-blue); }
.home-prod__sub {
	margin: 0 0 30px; font-size: clamp(16px, 1.6vw, 19px);
	line-height: 1.5; color: #5b6b7f;
}
.home-prod__quote {
	position: relative; margin: 0; padding: 6px 0 0 4px;
	max-width: 360px; font-size: 16px; line-height: 1.65; color: #3f5168;
}
.home-prod__quote::before {
	content: "\201C"; position: absolute; left: -6px; top: -18px;
	font-size: 52px; line-height: 1; color: var(--sw-blue); opacity: .35;
	font-family: Georgia, "Times New Roman", serif;
}
.home-prod__globe {
	position: absolute; left: -70px; bottom: -56px;
	width: 360px; max-width: 80%; pointer-events: none;
	filter: drop-shadow(0 18px 40px rgba(31,95,192,.28));
}
.home-prod__globe svg { display: block; width: 100%; height: auto; }

/* 우측 카드 그리드 (3열, 5개 → 상3 하2) */
.home-prod__cards {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.hp-card { display: flex; }
.hp-card__link {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	width: 100%; padding: 34px 24px 30px;
	background: #fff; border: 1px solid #e6eef8; border-radius: 18px;
	box-shadow: 0 12px 34px rgba(20,50,90,.07);
	border-top: 4px solid transparent;
	transition: transform .25s var(--sw-ease), box-shadow .25s var(--sw-ease), border-color .25s var(--sw-ease);
}
.hp-card.is-active .hp-card__link { border-top-color: var(--sw-blue); }
.hp-card__link:hover {
	transform: translateY(-6px); border-top-color: var(--sw-blue);
	box-shadow: 0 22px 48px rgba(20,50,90,.15);
}
.hp-card__icon {
	display: grid; place-items: center;
	width: 96px; height: 96px; margin-bottom: 22px;
	background: #eaf2fd; border-radius: 50%;
}
.hp-card__icon svg { width: 54px; height: 54px; }
.hp-card__title {
	margin: 0 0 12px; font-size: clamp(17px, 1.5vw, 20px);
	font-weight: 800; color: var(--sw-blue); letter-spacing: -.01em;
}
.hp-card__rule {
	width: 26px; height: 3px; border-radius: 2px;
	background: var(--sw-blue); margin: 0 0 14px;
}
.hp-card__desc { margin: 0; font-size: 16px; line-height: 1.6; color: #5b6b7f; }

@media (max-width: 1024px) {
	.home-prod__inner { grid-template-columns: 1fr; gap: 40px; }
	.home-prod__intro { min-height: 0; padding-bottom: 200px; }
	.home-prod__globe { left: -40px; bottom: 0; width: 280px; }
}
@media (max-width: 680px) {
	.home-prod__cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.home-prod__intro { padding-bottom: 10px; }
	.home-prod__globe { width: 220px; left: -30px; }
}
@media (max-width: 460px) {
	.home-prod__cards { grid-template-columns: 1fr; }
}

/* =========================================================
   고객사 — 로고 그리드
   ========================================================= */
.entry-html .client-lead { margin: 0 0 36px; font-size: 17px; color: var(--sw-body); line-height: 1.7; }
.client-grid {
	list-style: none; margin: 0; padding: 0 !important;
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.client-grid__item {
	display: grid; place-items: center;
	height: 112px; padding: 18px 20px;
	background: #fff; border: 1px solid var(--sw-line); border-radius: 12px;
	transition: transform .22s var(--sw-ease), box-shadow .22s var(--sw-ease), border-color .22s var(--sw-ease);
}
.client-grid__item:hover {
	transform: translateY(-3px); border-color: rgba(27,99,176,.4);
	box-shadow: 0 14px 30px rgba(16,32,56,.1);
}
.entry-html .client-grid__item img {
	max-width: 100%; max-height: 56px; width: auto; height: auto;
	object-fit: contain; border-radius: 0;
}
@media (max-width: 1024px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .client-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .client-grid__item { height: 96px; } }

/* =========================================================
   제품 카드 (CPT 등록 제품 목록)
   ========================================================= */
.product-cards {
	list-style: none; margin: 8px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-cards__link {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--sw-line); border-radius: 16px; overflow: hidden;
	box-shadow: 0 10px 30px rgba(20,50,90,.06);
	transition: transform .25s var(--sw-ease), box-shadow .25s var(--sw-ease), border-color .25s var(--sw-ease);
}
.product-cards__link:hover {
	transform: translateY(-6px); border-color: rgba(27,99,176,.4);
	box-shadow: 0 22px 48px rgba(20,50,90,.14);
}
.product-cards__media {
	display: block; aspect-ratio: 4 / 3; background: var(--sw-bg-soft); overflow: hidden;
}
.product-cards__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-cards__media .img-ph { width: 100%; height: 100%; }
.product-cards__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; }
.product-cards__name { font-size: 19px; font-weight: 800; color: var(--sw-ink); letter-spacing: -.01em; }
.product-cards__desc { font-size: 16px; color: var(--sw-muted); line-height: 1.55; }
.product-cards__more { margin-top: auto; padding-top: 8px; font-size: 16px; font-weight: 700; color: var(--sw-blue); }

/* 제품 상세 — 자유 본문 */
.product-detail .product-body { margin: 32px 0 8px; }
.product-detail .product-image img { width: 100%; height: auto; border-radius: 16px; display: block; }
.product-detail .detail-image { margin: 32px 0 8px; }
.product-detail .detail-image { text-align: center; }
.product-detail .detail-image img { max-width: 100%; height: auto; border-radius: 16px; display: inline-block; }

/* 제품 상세 하단 이미지 자동 슬라이드 */
.detail-slider { position: relative; margin: 36px 0 8px; border-radius: 16px; overflow: hidden; background: var(--sw-bg-soft); }
.detail-slider__viewport { overflow: hidden; }
.detail-slider__track { display: flex; transition: transform .5s var(--sw-ease); will-change: transform; }
.detail-slider__slide { flex: 0 0 100%; min-width: 0; }
.detail-slider__slide img { width: 100%; height: auto; display: block; }
.detail-slider__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: rgba(15,28,46,.45); color: #fff; font-size: 30px; line-height: 1;
	cursor: pointer; display: grid; place-items: center; transition: background .2s var(--sw-ease);
}
.detail-slider__nav:hover { background: rgba(15,28,46,.78); }
.detail-slider__prev { left: 14px; }
.detail-slider__next { right: 14px; }
.detail-slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.detail-slider__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: background .2s var(--sw-ease); }
.detail-slider__dot.is-active { background: #fff; }
@media (max-width: 600px) {
	.detail-slider__nav { width: 38px; height: 38px; font-size: 24px; }
	.detail-slider__prev { left: 8px; } .detail-slider__next { right: 8px; }
}

@media (max-width: 900px) { .product-cards { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 560px) { .product-cards { grid-template-columns: 1fr; } }

/* =========================================================
   기술역량 — 포트폴리오 갤러리 + 라이트박스
   ========================================================= */
/* 포트폴리오 카테고리 필터 탭 */
.pf-filter {
	display: flex; flex-wrap: wrap; gap: 8px;
	margin: 28px 0 4px; padding-bottom: 4px;
}
.pf-filter__btn {
	appearance: none; cursor: pointer;
	padding: 9px 18px; border-radius: 999px; font-size: 16px; font-weight: 700;
	color: var(--sw-body); background: var(--sw-bg-soft);
	border: 1px solid var(--sw-line);
	transition: color .2s var(--sw-ease), background .2s var(--sw-ease), border-color .2s var(--sw-ease);
}
.pf-filter__btn:hover { color: var(--sw-blue); border-color: rgba(27,99,176,.4); }
.pf-filter__btn.is-active { color: #fff; background: var(--sw-blue); border-color: var(--sw-blue); }
.pf-item.is-hidden { display: none; }

.tech-gallery {
	list-style: none; margin: 28px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.tech-gallery__item { margin: 0; text-align: center; }
.tech-gallery__item > a {
	position: relative; display: block; overflow: hidden;
	aspect-ratio: 1 / 1.4; border-radius: 14px;
	border: 1px solid var(--sw-line); background: var(--sw-bg-soft);
}
.tech-gallery__item img,
.entry-html .tech-gallery__item img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	border-radius: 0; transition: transform .4s var(--sw-ease);
}
.tech-gallery__item > a:hover img { transform: scale(1.06); }
.tech-gallery__zoom {
	position: absolute; inset: 0; display: grid; place-items: center;
	background: rgba(15,44,92,.42); opacity: 0; transition: opacity .25s var(--sw-ease);
}
.tech-gallery__zoom::before {
	content: ""; width: 40px; height: 40px; border-radius: 50%;
	background: rgba(255,255,255,.92);
	-webkit-mask: no-repeat center/22px 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.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E");
	mask: no-repeat center/22px 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.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E");
	background: #16386f;
}
.tech-gallery__item > a:hover .tech-gallery__zoom { opacity: 1; }
.tech-gallery__cap { display: block; margin-top: 12px; font-size: 16px; color: var(--sw-muted); }

/* 카드 메타(제목/년도/업체) — 채워진 것만 노출 */
.pf-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding: 0 15px; word-break: keep-all; overflow-wrap: break-word; }
.pf-meta__title { font-size: 16px; font-weight: 700; color: var(--sw-ink); line-height: 1.45; }
.pf-meta__year { font-size: 16px; font-weight: 600; color: var(--sw-blue); }
.pf-meta__client { font-size: 16px; color: var(--sw-muted); }

/* 텍스트 전용 카드(이미지 없음) — 수행과제 등 */
.pf-item--text .pf-meta {
	margin-top: 0; gap: 7px; height: 100%;
	padding: 22px 24px; background: #fff;
	border: 1px solid var(--sw-line); border-radius: 14px;
	box-shadow: 0 8px 24px rgba(20,50,90,.05);
	transition: transform .22s var(--sw-ease), box-shadow .22s var(--sw-ease), border-color .22s var(--sw-ease);
}
.pf-item--text .pf-meta:hover {
	transform: translateY(-3px); border-color: rgba(27,99,176,.4);
	box-shadow: 0 16px 34px rgba(20,50,90,.1);
}
.pf-item--text .pf-meta__client { margin-top: auto; padding-top: 2px; }
@media (max-width: 768px) { .tech-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 460px) { .tech-gallery { grid-template-columns: 1fr; } }

/* 라이트박스 오버레이 */
body.lb-lock { overflow: hidden; }
.lightbox {
	position: fixed; inset: 0; z-index: 1000;
	display: flex; align-items: center; justify-content: center; padding: 40px;
	background: rgba(8,15,26,.93);
	opacity: 0; visibility: hidden; transition: opacity .25s var(--sw-ease), visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
	max-width: 90vw; max-height: 82vh; width: auto; height: auto;
	object-fit: contain; border-radius: 6px; box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.lightbox__cap {
	position: absolute; left: 0; right: 0; bottom: 22px; margin: 0;
	text-align: center; color: #dfe7f2; font-size: 16px;
}
.lightbox__close, .lightbox__nav {
	position: absolute; background: rgba(255,255,255,.10); border: 0; color: #fff;
	cursor: pointer; border-radius: 50%; line-height: 1;
	display: grid; place-items: center; transition: background .2s var(--sw-ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 20px; right: 24px; width: 48px; height: 48px; font-size: 30px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 32px; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox--single .lightbox__nav { display: none; }
@media (max-width: 600px) {
	.lightbox { padding: 16px; }
	.lightbox__nav { width: 44px; height: 44px; font-size: 26px; }
	.lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
}

/* =========================================================
   콘텐츠 영역 (일반 페이지)
   ========================================================= */
.content-area { padding: 64px 0; }
.content-area__inner { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.entry__title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 24px; }
.entry__content { font-size: 17px; }
.entry__content > * + * { margin-top: 1.1em; }

/* =========================================================
   푸터
   ========================================================= */
.site-footer { background: var(--sw-dark); color: rgba(255,255,255,.72); }
.site-footer__inner {
	max-width: var(--sw-maxw); margin: 0 auto; padding: 48px 24px;
}
.site-footer__name {
	display: inline-block; margin-bottom: 18px;
	color: #fff; font-weight: 700; font-size: 18px; letter-spacing: .02em;
}
.site-footer__contact p { margin: 4px 0; font-size: 16px; }
.site-footer__addr-en { color: rgba(255,255,255,.5); }
.site-footer__tel { margin-top: 10px !important; display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__tel a { color: rgba(255,255,255,.72); }
.site-footer__tel a:hover { color: #fff; }
.site-footer__copy {
	margin: 28px 0 0; padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: 16px; letter-spacing: .04em; color: rgba(255,255,255,.45);
}

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 900px) {
	.nav-toggle { display: block; }

	.primary-nav {
		position: fixed; top: var(--sw-header-h); left: 0; right: 0; bottom: 0;
		margin: 0; padding: 12px 16px 40px;
		background: #fff; overflow-y: auto;
		transform: translateX(100%); transition: transform .3s var(--sw-ease);
	}
	body.nav-open .primary-nav { transform: translateX(0); }
	body.nav-open { overflow: hidden; }

	.primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav__item { border-bottom: 1px solid var(--sw-line); }
	.primary-nav__link {
		height: auto; padding: 16px 8px; color: var(--sw-ink) !important;
		justify-content: space-between; font-size: 18px;
	}

	/* 모바일에선 오버레이 헤더도 항상 흰 배경 (스크롤해도 동일) */
	.site-header--overlay,
	.site-header--overlay.is-scrolled {
		position: sticky; background: #fff;
		border-bottom-color: var(--sw-line); backdrop-filter: none;
	}
	.site-header--overlay .primary-nav__link,
	.site-header--overlay.is-scrolled .primary-nav__link { color: var(--sw-ink); }
	.site-header--overlay .site-branding__name,
	.site-header--overlay.is-scrolled .site-branding__name { color: var(--sw-blue); }
	.site-header--overlay .nav-toggle__bar,
	.site-header--overlay.is-scrolled .nav-toggle__bar { background: var(--sw-ink); }

	/* 모바일 오버레이 헤더는 흰 배경 → 항상 기본(밝은배경용) 로고 */
	.site-header--overlay .site-branding__logo-main { display: block; }
	.site-header--overlay .site-branding__logo-dark { display: none; }

	/* 햄버거 → X 모션 */
	.nav-toggle { position: relative; z-index: 2; }
	body.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	body.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
	body.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	/* 드로어 메뉴 다듬기 — 그림자는 열렸을 때만 (닫힘 상태 우측 새어나옴 방지) */
	body.nav-open .primary-nav { box-shadow: -8px 0 30px rgba(16,32,56,.12); }
	.primary-nav__item:last-child { border-bottom: 0; }
	/* 부모 항목: 텍스트 링크 + 펼침 버튼을 한 줄에, 하위메뉴는 다음 줄 전체폭 */
	.primary-nav__item { display: flex; flex-wrap: wrap; align-items: center; }
	.primary-nav__link { flex: 1 1 auto; width: auto; font-weight: 700; }

	/* 펼침 전용 버튼(꺽쇠) — 텍스트 탭=이동, 버튼 탭=펼침만 (공간 분리) */
	.submenu-toggle {
		flex: 0 0 auto; align-self: stretch; width: 56px;
		display: flex; align-items: center; justify-content: center;
		background: transparent; border: 0; cursor: pointer;
	}
	.submenu-toggle::after {
		content: ""; width: 9px; height: 9px;
		border-right: 2px solid var(--sw-muted); border-bottom: 2px solid var(--sw-muted);
		transform: rotate(45deg); transition: transform .25s var(--sw-ease);
	}
	.primary-nav__item.is-open > .submenu-toggle::after {
		transform: rotate(-135deg); border-color: var(--sw-blue);
	}
	.primary-nav__item.is-open > .primary-nav__link { color: var(--sw-blue); }
	.dropdown, .megamenu { flex-basis: 100%; width: 100%; }

	/* 모바일 하위 메뉴: 펼침형 */
	.dropdown, .megamenu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; border-radius: 0;
		max-height: 0; overflow: hidden; padding: 0;
		background: var(--sw-bg-soft);
		transition: max-height .3s var(--sw-ease);
	}
	.has-dropdown.is-open .dropdown,
	.has-megamenu.is-open .megamenu { max-height: 1600px; }
	.dropdown__list { padding: 6px 8px; }
	.dropdown__list a { font-size: 16px; padding: 12px 14px; }
	.megamenu__inner {
		grid-template-columns: 1fr; gap: 8px; padding: 10px 14px 16px;
	}
	.megamenu__col { padding-bottom: 4px; }
	.megamenu__heading {
		border-bottom-color: var(--sw-line); margin-bottom: 8px; padding-bottom: 10px;
	}
	.megamenu__items a { padding: 9px 0 9px 10px; }

	.hero { min-height: 88vh; }
}

@media (max-width: 680px) {
	.product-grid { grid-template-columns: 1fr; }
	.products-overview { padding: 64px 0; }
	.hero__content { padding: 0 20px; }
	/* 모바일: 콘텐츠를 상단 정렬 + 위에서 10vh */
	.hero { align-items: flex-start; padding-top: 10vh; padding-bottom: 0; }
}

@media (max-width: 768px) {
	/* 모바일 히어로: 세로로 길게 (가로:세로 = 1 : 1.2) */
	.hero { min-height: 0; height: auto; aspect-ratio: 1 / 1.2; }
}

/* =========================================================
   내부 페이지 공통 — 배너 / 서브탭 / 블록 타이틀
   ========================================================= */
.page-banner {
	position: relative;
	min-height: 320px;
	display: flex; align-items: center;
	color: #fff; overflow: hidden;
	background: linear-gradient(160deg, #0a1420 0%, #0e1c2e 55%, #0a1420 100%);
}
.page-banner::before {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(900px 420px at 75% 30%, rgba(28,90,150,.5), transparent 70%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='720' viewBox='0 0 1440 720'%3E%3Cg stroke='%232f6f9e' stroke-width='1' fill='none' opacity='0.4'%3E%3Cpath d='M120 360 Q400 180 720 360 T1320 360'/%3E%3Cpath d='M120 360 Q400 540 720 360 T1320 360'/%3E%3Cpath d='M260 150 L720 360 L1180 150'/%3E%3Cpath d='M260 570 L720 360 L1180 570'/%3E%3C/g%3E%3Cg fill='%235cc6ff' opacity='0.55'%3E%3Ccircle cx='120' cy='360' r='4'/%3E%3Ccircle cx='720' cy='360' r='6'/%3E%3Ccircle cx='1320' cy='360' r='4'/%3E%3Ccircle cx='260' cy='150' r='4'/%3E%3Ccircle cx='1180' cy='150' r='4'/%3E%3Ccircle cx='260' cy='570' r='4'/%3E%3Ccircle cx='1180' cy='570' r='4'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
	opacity: .9;
}
.page-banner__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10,20,32,.8) 0%, rgba(10,20,32,.4) 60%, rgba(10,20,32,.2) 100%);
}
.page-banner__inner {
	position: relative; z-index: 2;
	max-width: var(--sw-maxw); width: 100%;
	margin: 0 auto; padding: 40px 24px;
}
.page-banner__eyebrow {
	margin: 0 0 12px; font-size: 16px; font-weight: 700;
	letter-spacing: .3em; color: var(--sw-accent-cyan);
}
.page-banner__title {
	margin: 0; color: #fff;
	font-size: clamp(28px, 5vw, 52px); font-weight: 900; letter-spacing: -.01em;
}
.page-banner__lead {
	margin: 18px 0 0; max-width: 680px;
	font-size: clamp(16px, 1.6vw, 18px); color: rgba(255,255,255,.82);
}

/* ACF 배경 이미지 배너 */
.page-banner--image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-banner--image::before { display: none; }
.page-banner--image .page-banner__overlay {
	background: linear-gradient(90deg, rgba(10,20,32,.86) 0%, rgba(10,20,32,.6) 55%, rgba(10,20,32,.4) 100%);
}

/* 서브탭 네비 */
.subtabs {
	position: sticky; top: var(--sw-header-h); z-index: 40;
	background: #fff; border-bottom: 1px solid var(--sw-line);
}
.subtabs__inner {
	max-width: var(--sw-maxw); margin: 0 auto; padding: 0 24px;
	display: flex; gap: 6px; flex-wrap: wrap;
}
.subtabs__btn {
	appearance: none; background: transparent; border: 0; cursor: pointer;
	padding: 18px 16px; font-size: 16px; font-weight: 700;
	color: var(--sw-muted); font-family: inherit;
	border-bottom: 3px solid transparent; margin-bottom: -1px;
	transition: color .2s var(--sw-ease), border-color .2s var(--sw-ease);
	text-decoration: none;
}
.subtabs__btn:hover { color: var(--sw-ink); }
.subtabs__btn.is-active,
.subtabs__btn[aria-selected="true"] {
	color: var(--sw-blue); border-bottom-color: var(--sw-blue);
}

.block-title { font-size: clamp(24px, 3vw, 32px); margin: 0 0 16px; }
.block-sub { margin: 0 0 32px; color: var(--sw-muted); }
.lead { font-size: 18px; color: var(--sw-body); }

/* 이미지 플레이스홀더 */
.img-ph {
	display: grid; place-items: center; gap: 12px;
	background: var(--sw-bg-soft);
	border: 1px dashed var(--sw-line); border-radius: 14px;
	color: var(--sw-muted);
}
.img-ph svg { width: 64px; height: 64px; opacity: .55; }
.img-ph--wide { aspect-ratio: 16 / 7; width: 100%; }
.img-ph--square { aspect-ratio: 4 / 3; width: 100%; }
.img-ph__label { font-size: 16px; }

/* 플레이스홀더 블록 */
.placeholder-block {
	display: grid; place-items: center; gap: 14px;
	padding: 72px 24px; text-align: center;
	background: var(--sw-bg-soft); border-radius: 16px; color: var(--sw-muted);
}
.placeholder-block svg { width: 48px; height: 48px; opacity: .5; }
.placeholder-block p { margin: 0; font-size: 16px; }

/* 라인 버튼 */
.btn-line {
	display: inline-block; padding: 12px 24px;
	border: 1px solid var(--sw-blue); border-radius: 999px;
	color: var(--sw-blue); font-weight: 700; font-size: 16px;
}
.btn-line:hover { background: var(--sw-blue); color: #fff; }

/* =========================================================
   About 패널
   ========================================================= */
.about-panels { padding: 80px 0 110px; }
.about-panels__inner { max-width: var(--sw-maxw); margin: 0 auto; padding: 0 24px; }
.fact-list { margin: 28px 0 0; display: grid; gap: 16px; }
.fact { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; }
.fact dt { margin: 0; font-weight: 700; color: var(--sw-blue); }
.fact dd { margin: 0; color: var(--sw-body); }

/* 연혁 타임라인 (연도 + 노드 + 내용 + 아이콘 배지) */
.timeline { list-style: none; margin: 0; padding: 0; }
.thist {
	display: grid;
	grid-template-columns: 88px 34px 1fr;
	gap: 0 22px;
	align-items: start;
	padding-bottom: 30px;
}
.thist__year {
	text-align: right; font-weight: 800; font-size: 20px;
	color: var(--sw-ink); line-height: 1.25; padding-top: 4px;
	letter-spacing: -.01em; word-break: keep-all;
}
/* 노드 + 연결선 */
.thist__node { position: relative; align-self: stretch; }
.thist__node::before {
	content: ""; position: absolute; left: 50%; top: 9px;
	transform: translateX(-50%);
	width: 2px; height: calc(100% + 30px); background: var(--sw-line);
}
.thist:last-child .thist__node::before { display: none; }
.thist__dot {
	position: absolute; left: 50%; top: 9px;
	transform: translate(-50%, 0);
	width: 15px; height: 15px; border-radius: 50%;
	background: var(--sw-blue); box-shadow: 0 0 0 4px rgba(27,99,176,.15);
	z-index: 1;
}
/* 내용 */
.thist__items { list-style: none; margin: 0; padding: 2px 0 0; }
.thist__items li { display: flex; gap: 14px; align-items: baseline; padding: 1px 0 6px 0; line-height: 1.55; }
.thist__month {
	flex: 0 0 auto; min-width: 30px;
	color: var(--sw-blue); font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.thist__month::after { content: "."; }
.thist__text { color: var(--sw-body); }

/* About 본문(WP 페이지 HTML) 기본 타이포 */
.entry-html { font-size: 17px; color: var(--sw-body); }
.entry-html > :first-child { margin-top: 0; }
.entry-html > :last-child { margin-bottom: 0; }
.entry-html h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 16px; }
.entry-html h3 { font-size: 20px; margin: 28px 0 12px; }
.entry-html p { margin: 0 0 16px; }
.entry-html a { color: var(--sw-blue); }
.entry-html img { max-width: 100%; height: auto; border-radius: 12px; }
.entry-html ul:not(.thist__items):not(.megamenu__items):not(.sw-areas),
.entry-html ol:not(.timeline) { padding-left: 20px; margin: 0 0 16px; }
.entry-html table { border-collapse: collapse; width: 100%; margin: 0 0 16px; }
.entry-html th, .entry-html td { border: 1px solid var(--sw-line); padding: 10px 14px; text-align: left; }

/* 기업소개 — 텍스트 + 실사 이미지 레이아웃 */
.entry-html .sw-media {
	display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px;
	align-items: center; margin: 0 0 76px;
}
.entry-html .sw-media__text > :first-child { margin-top: 0; }
.entry-html .sw-figure { margin: 0; }
.entry-html .sw-figure img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
	border-radius: 16px; display: block;
}
.entry-html .sw-figure .img-ph { aspect-ratio: 4 / 3; }
.entry-html .sw-figure .sw-art { width: 100%; height: auto; display: block; border-radius: 16px; }

/* 상단 포인트 — 아이라벨 + 헤드라인 */
.entry-html .sw-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 14px; font-size: 16px; font-weight: 700;
	letter-spacing: .22em; color: var(--sw-blue);
}
.entry-html .sw-eyebrow::before {
	content: ""; width: 28px; height: 2px; background: var(--sw-blue);
}
.entry-html .sw-headline {
	margin: 0 0 22px; font-size: clamp(24px, 3vw, 34px);
	font-weight: 800; line-height: 1.32; letter-spacing: -.01em; color: var(--sw-ink);
}
.entry-html .sw-headline span { color: var(--sw-blue); }

/* 핵심 사업 영역 — 아이콘 카드 그리드 */
.entry-html .sw-areas-title { margin: 40px 0 24px; }
.entry-html .sw-areas {
	list-style: none; margin: 0 0 76px; padding: 0;
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.entry-html .sw-areas li {
	display: flex; gap: 16px; align-items: flex-start;
	padding: 20px 22px; background: var(--sw-bg-soft);
	border: 1px solid var(--sw-line); border-radius: 14px;
	transition: transform .2s var(--sw-ease), box-shadow .2s var(--sw-ease), border-color .2s var(--sw-ease);
}
.entry-html .sw-areas li:hover {
	transform: translateY(-3px); border-color: rgba(27,99,176,.4);
	box-shadow: 0 14px 30px rgba(16,32,56,.1);
}
.entry-html .sw-areas__icon {
	flex: 0 0 auto; width: 46px; height: 46px;
	display: grid; place-items: center; color: var(--sw-blue);
	background: #fff; border: 1px solid var(--sw-line); border-radius: 12px;
}
.entry-html .sw-areas__icon svg { width: 26px; height: 26px; }
.entry-html .sw-areas__body { display: flex; flex-direction: column; gap: 4px; }
.entry-html .sw-areas__body strong { color: var(--sw-ink); font-size: 16px; font-weight: 700; }
.entry-html .sw-areas__body > span { color: var(--sw-muted); font-size: 16px; line-height: 1.5; }
@media (max-width: 768px) {
	.entry-html .sw-media { grid-template-columns: 1fr; gap: 24px; }
	.entry-html .sw-areas { grid-template-columns: 1fr; }
}

/* =========================================================
   Products 페이지
   ========================================================= */
.products-page { padding: 64px 0 96px; }
.products-page__inner { max-width: var(--sw-maxw); margin: 0 auto; padding: 0 24px; }

/* 카테고리 개요 (랜딩) */
.cat-overview {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.cat-overview__card {
	display: flex; flex-direction: column; height: 100%; padding: 32px 28px;
	background: var(--sw-bg-soft); border: 1px solid var(--sw-line); border-radius: 16px;
	transition: transform .25s var(--sw-ease), box-shadow .25s var(--sw-ease), border-color .25s var(--sw-ease);
}
.cat-overview__card:hover {
	transform: translateY(-6px); border-color: rgba(27,99,176,.4);
	box-shadow: 0 18px 40px rgba(16,32,56,.12);
}
.cat-overview__icon { width: 56px; height: 56px; color: var(--sw-blue); margin-bottom: 16px; }
.cat-overview__icon svg { width: 100%; height: 100%; }
.cat-overview__label { font-size: 20px; font-weight: 700; color: var(--sw-ink); }
.cat-overview__intro { margin-top: 10px; font-size: 16px; color: var(--sw-body); flex: 1; }
.cat-overview__more { margin-top: 18px; font-weight: 700; color: var(--sw-blue); font-size: 16px; }

/* 제품 그룹 행 */
.prod-group {
	display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center;
	padding: 48px 0; border-bottom: 1px solid var(--sw-line);
}
.prod-group:first-child { padding-top: 8px; }
.prod-group:last-child { border-bottom: 0; }
.prod-group__title { font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 20px; }
.model-table { border-collapse: collapse; }
.model-table th {
	text-align: left; font-size: 16px; color: var(--sw-muted);
	padding: 8px 18px 8px 0; vertical-align: middle; font-weight: 700;
}
.model-table td { padding: 8px 8px 8px 0; }
.model-chip {
	display: inline-block; padding: 10px 18px;
	background: var(--sw-bg-soft); border: 1px solid var(--sw-line); border-radius: 8px;
	font-weight: 700; color: var(--sw-ink); font-size: 16px;
	transition: all .2s var(--sw-ease);
}
.model-chip:hover { border-color: var(--sw-blue); color: var(--sw-blue); background: #fff; transform: translateY(-2px); }
.prod-group__hint { margin: 18px 0 0; font-size: 16px; color: var(--sw-muted); }
.prod-intro-block .lead { margin: 0 0 32px; }

/* =========================================================
   제품 상세 (레퍼런스 기준)
   ========================================================= */
.breadcrumb { border-bottom: 1px solid var(--sw-line); background: #fff; }
.breadcrumb__inner {
	max-width: var(--sw-maxw); margin: 0 auto; padding: 16px 24px;
	font-size: 16px; color: var(--sw-muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.breadcrumb__inner a { color: var(--sw-muted); }
.breadcrumb__inner a:hover { color: var(--sw-blue); }
.breadcrumb__current { color: var(--sw-ink); font-weight: 700; }

.product-detail { max-width: 1000px; margin: 0 auto; padding: 72px 24px 96px; color: #333; }
.product-header { text-align: center; margin-bottom: 52px; }
.product-header__group { margin: 0 0 12px; color: var(--sw-blue); font-weight: 700; letter-spacing: .02em; }
.product-header h1 { font-size: clamp(30px, 4.4vw, 42px); font-weight: 700; margin: 0 0 18px; }
.product-header__sub { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: var(--sw-body); word-break: keep-all; }
.product-header p { max-width: 800px; margin: 0 auto; color: #666; font-size: 18px; }
.product-image { margin-bottom: 80px; }

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 64px; }
.spec-table th {
	width: 190px; text-align: left; vertical-align: top;
	font-size: 28px; font-weight: 700; line-height: 1.15;
	padding-right: 40px; padding-bottom: 40px; white-space: nowrap; color: var(--sw-ink);
}
.spec-table td { vertical-align: top; padding-bottom: 40px; }
.feature-list {
	display: grid; grid-template-columns: repeat(2, minmax(250px, 1fr)); gap: 12px 50px;
	margin: 0; padding-left: 20px;
}
.feature-list li { line-height: 1.6; }
.field-list { margin: 0; padding-left: 20px; }
.field-list li { margin-bottom: 8px; }
.product-description { margin-bottom: 56px; }
.product-description h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 22px; }
.product-description h3 { font-size: 22px; font-weight: 700; margin: 30px 0 12px; color: var(--sw-ink); }
.product-description ul { padding-left: 20px; }
.product-description ul ul { margin-top: 8px; }
.product-description li { margin-bottom: 8px; }

/* 본문(.entry-html) 안 스펙표가 entry-html의 테이블 보더/패딩에 덮이지 않도록 정리 */
.product-body table { border-collapse: collapse; }
.product-body .spec-table th,
.product-body .spec-table td { border: 0; padding-top: 0; }
.product-body .spec-table th { padding-left: 0; }
.spec-note { margin-top: 18px; color: var(--sw-muted); font-size: 16px; }
.detail-image { margin-bottom: 40px; }
.product-detail__back { text-align: center; }

/* =========================================================
   Contact 페이지
   ========================================================= */
.contact-page { padding: 64px 0 96px; }
.contact-page__inner { max-width: var(--sw-maxw); margin: 0 auto; padding: 0 24px; }
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.contact-info__en { margin: 0 0 28px; color: var(--sw-muted); font-size: 16px; letter-spacing: .02em; }
.contact-list { margin: 0; display: grid; gap: 4px; }
.contact-list a{
	color: var(--sw-body);
}
.contact-row { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--sw-line); }
.contact-row:first-child { border-top: 0; }
.contact-row dt { margin: 0; font-weight: 700; color: var(--sw-ink); }
.contact-ico { margin-right: 4px; }
.contact-row dd { margin: 0; color: var(--sw-body); }
.contact-row__en { color: var(--sw-muted); font-size: 16px; }
.contact-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--sw-line); }
.contact-map iframe { display: block; width: 100%; height: 460px; border: 0; }

/* =========================================================
   내부 페이지 반응형
   ========================================================= */
@media (max-width: 900px) {
	.subtabs { top: 0; }
	.prod-group { grid-template-columns: 1fr; gap: 28px; }
	.contact-grid { grid-template-columns: 1fr; gap: 32px; }
	.cat-overview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.page-banner { min-height: 240px; }
	.cat-overview { grid-template-columns: 1fr; }
	.subtabs__inner { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.subtabs__btn { padding: 14px 12px; white-space: nowrap; font-size: 16px; }
	.thist {
		grid-template-columns: 72px 24px 1fr;
		gap: 0 14px;
		padding-bottom: 22px;
	}
	.thist__year { font-size: 17px; padding-top: 3px; }
	.feature-list { grid-template-columns: 1fr; gap: 10px; }
	.spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
	.spec-table th { padding: 0 0 14px; font-size: 22px; }
	.spec-table td { padding-bottom: 32px; }
	.contact-map iframe { height: 320px; }
}

/* 모션 최소화 선호 */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
