/* ================================================================
 * content.css — 일반페이지(page_content) 본문 컴포넌트 모음.
 *   대상 : templates/front/pages/page.html 의 .page_content 안에 들어가는 운영자 입력 HTML.
 *   원칙 : 디자이너 원본 sub.css / main.css 는 수정하지 않고 overrides 로 분리.
 *   변경 : 2026-07-23 인사말(.greet) 컴포넌트 신규.
 * ================================================================ */

/* ===== 인사말 상단 슬로건 (hero) =====
 *  스크롤해서 화면에 들어오면 글자색이 좌→우로 "스르륵" 채워지는 효과.
 *  - 무 JS / IntersectionObserver 미지원 / prefers-reduced-motion → 완성색 그대로(접근성).
 *  - JS 가 .anim(회색 시작) 부여 후, 뷰포트 진입 시 .filled 로 채움.
 *  마크업(에디터 안전): <h2 class="greet-hero"> + <span class="gh1/gh2"> + <span class="gf [pt]">
 */
.greet-hero {
	text-align: left;
	margin: 0 0 3.4rem;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.greet-hero .gh1 { display: block; font-size: 2.8rem; font-weight: 700; color: #1a1f36; line-height: 1.2;}
.greet-hero .gh2 { display: block; font-size: 2.8rem; font-weight: 700; line-height: 1.2; }
/* 채움 조각 — 연한 회색으로 시작 → 폰트색이 좌→우로 "스르륵" 채워짐. 페이지 로드 시 자동 재생(JS 불필요, anim/filled 클래스 유무 무관). */
.greet-hero .gf {
	--fill: #1a1f36;
	color: transparent;
	background: linear-gradient(90deg, var(--fill) 50%, #d7dbe3 50%) no-repeat;   /* 채움색 | 연한 회색 */
	background-size: 200% 100%;
	background-position: 100% 0;                 /* 시작 = 연한 회색 노출 */
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: greetFill 2.4s cubic-bezier(.6, 0, .2, 1) both;
}
.greet-hero .gf.pt { --fill: var(--main-color-dark); }          /* 포인트 문구 = 레드로 채워짐 */
.greet-hero .gh1 .gf { animation-delay: .25s; }
.greet-hero .gh2 .gf { animation-delay: 1.1s; }  /* 윗줄 → 큰 줄 순서로 천천히 채워져 "스르륵" 느낌 */
@keyframes greetFill { to { background-position: 0 0; } }   /* 좌 → 우로 채움 */
@media (max-width: 900px) {
	.greet-hero { margin-bottom: 2.6rem; }
	.greet-hero .gh1 { font-size: 1.5rem; }
	.greet-hero .gh2 { font-size: 2.2rem; }
}
/* 히어로 채움은 1.4s 짧은 장식 효과 → OS '동작 최소화' 설정과 무관하게 새로고침마다 항상 재생(요청).
   (prefers-reduced-motion 으로 끄지 않음 — 이 가드가 켜져 있으면 정적으로만 보였음) */

/* ===== 인사말 (CEO greeting) ===== */
/* 좌: 대표 사진(라운드) + 캡션 / 우: 인사말 본문(리드 + 섹션별 강조 헤딩 + 문단) */
.greet {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 3.5rem;
	align-items: start;
	margin: 1rem 0 2.5rem;
}
/* sub.css 의 옛 인사말 데코(.greet::before radial) 비활성 — 화면 밖으로 삐져나가 모바일 가로 스크롤 유발. 현재 인사말은 이 레이아웃 사용. */
.greet::before { content: none !important; }

/* 좌측 — 사진(라운드) + 캡션. 스크롤 시 사진 고정 */
.greet-photo { position: sticky; top: 2rem; }
.greet-photo img {
	width: 100%;
	aspect-ratio: 4 / 4.4;
	object-fit: cover;
	border-radius: 24px;
	background: #eef0f4;
	display: block;
}
/* 사진 미등록 시 — 공통 .none_image 플레이스홀더(회색 박스 + 아이콘)에 사진 비율/라운드만 부여 */
.greet-photo .none_image {
	width: 100%;
	aspect-ratio: 4 / 4.4;
	border-radius: 24px;
}
/* 사진 — 배경 이미지 방식(에디터가 <img> 태그를 제거하는 경우 대체).
   사용: <div class="greet-pic greet-pic--ceo" role="img" aria-label="…"></div> */
.greet-photo .greet-pic {
	width: 100%;
	aspect-ratio: 4 / 4.4;
	border-radius: 24px;
	background: #eef0f4 center / cover no-repeat;
}
.greet-pic--ceo { background-image: url("../../img/sub/ceo_img.png"); }

.greet-cap {
	margin: 1.1rem 0 0;
	text-align: center;
	font-size: 1rem;
	color: #5f697e;
}
.greet-cap b { color: #1a1f36; font-weight: 700; font-size: 1.08rem; }

/* 우측 — 인사말 본문 */
.greet-body { padding-top: .3rem; }
.greet-lead {
	font-size: 1.35rem;
	font-weight: 700;
	color: #1a1f36;
	line-height: 1.55;
	letter-spacing: -.02em;
	margin: 0 0 2.6rem;
}
.greet-sec { margin-bottom: 2.8rem; }
.greet-sec:last-child { margin-bottom: 0; }
.greet-h {
	font-size: 1.6rem;
	font-weight: 800;
	color: #1a1f36;
	line-height: 1.45;
	letter-spacing: -.02em;
	margin: 0 0 1.3rem;
}
/* 포인트 강조 문구 — 인사말 헤딩의 핵심 키워드 */
.greet-h .pt { color: var(--black); }
/* 본문 문단 (리드 제외) */
.greet-body p:not(.greet-lead) {
	font-size: 1rem;
	color: #6b7280;
	line-height: 1.95;
	margin: 0 0 .55rem;
}
.greet-sec p:last-child { margin-bottom: 0; }

/* 반응형 — 900px 이하 1단(사진 위, 본문 아래) */
@media (max-width: 900px) {
	.greet { grid-template-columns: 1fr; gap: 2rem; }
	.greet-photo { position: static; max-width: 360px; margin: 0 auto; }
	.greet-lead { font-size: 1.2rem; margin-bottom: 2rem; }
	.greet-h { font-size: 1.35rem; }
	.greet-sec { margin-bottom: 2.2rem; }
}
@media (max-width: 600px) {
	.greet-h { font-size: 1.2rem; }
	.greet-lead { font-size: 1.1rem; }
}

/* =====================================================================
 * 찾아오시는 길 (.loc) — 좌: 지도 / 우: 카드(탭 + 정보). 탭은 카드 안 상단.
 *   탭(.loc-tab)·지도(.loc-frame)·정보(.loc-item)를 순번(index)으로 매칭해 .on 전환(vanilla JS, jQuery 불필요).
 *   지도는 Google Maps embed(iframe). '지도 바로가기'는 common.css .btn 기반 아웃라인 pill.
 * ===================================================================== */
.loc { position: relative; }

.loc-inner {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 2rem;
	align-items: stretch;
}

/* 좌측 지도 — 두 iframe 을 겹쳐두고 활성(.on)만 표시 */
.loc-map {
	position: relative;
	min-height: 470px;
	border-radius: 20px;
	overflow: hidden;
	background: #eef0f4;
	box-shadow: 0 12px 32px rgba(20, 30, 60, 0.08);
}
.loc-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: none; }
.loc-frame.on { display: block; }

/* 우측 카드 (회색 박스) — 안에 탭 + 정보 블록 */
.loc-card {
	background: #f5f7fa;
	border-radius: 20px;
	padding: 1.8rem 1.9rem 2rem;
	display: flex;
	flex-direction: column;
}

/* 탭 = common.css .nav_tabsSt3(알약형 세그먼트) 기반 + .loc-seg 변형:
   폭 꽉 채워 균등 분할 + 활성 알약을 메인 컬러(파랑)로 (nav_tabsSt3 원본은 검정 유지). */
.loc-card .nav_tabsSt3 { margin: 0 0 1.6rem 0; background-color: #fff;}
.loc-seg { display: flex; width: 100%; }
.loc-seg > li { flex: 1; text-align: center; }
.loc-seg li a { width: 100%; }
.loc-seg li a.active,
.loc-seg li a.on {
	background: var(--main-color-dark);
	box-shadow: 0 4px 12px rgba(26, 148, 255, 0.35);
}

/* 정보 블록(탭별) — 활성(.on)만 표시 */
.loc-item { display: none; flex: 1; flex-direction: column; }
.loc-item.on { display: flex; }

.loc-eyebrow {
	display: inline-block;
	color: var(--main-color-dark);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 0.5rem;
}
.loc-name {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin: 0 0 1.4rem;
	font-size: 2rem !important;
	font-weight: 800;
	color: #1a1f36;
	line-height: 1.2;
}
.loc-name .material-symbols-outlined {
	flex: none;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--main-color-dark);
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(20, 30, 60, 0.1);
}

.loc-info {
	list-style: none;
	margin: 0;
	padding: 1.4rem 0 0;
	border-top: 1px solid #e2e6ef;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.loc-info li { display: flex; align-items: flex-start; gap: 0.8rem; color: #4b5563; font-size: 1.02rem; line-height: 1.55; }
.loc-info .material-symbols-outlined { flex: none; margin-top: 0.15rem; font-size: 20px; color: #9aa3b2; }

/* 지도 바로가기 버튼 — common.css .btn 기반, 아웃라인 pill 로 스킨 */
.loc-btn {
	margin-top: auto;
	align-self: stretch;
	height: 58px !important;
	padding: 0 1.6rem !important;
	border-radius: 999px !important;
	border: 1.5px solid #cbd2e0;
	background: #fff;
	color: #1a1f36 !important;
	font-weight: 500;
	font-size: 1rem !important;
	justify-content: space-between !important;
}
.loc-btn:hover { border-color: var(--main-color-dark); color: var(--main-color-dark) !important; box-shadow: 0 10px 24px rgba(26, 148, 255, 0.18); }
.loc-btn .material-symbols-outlined { color: inherit; }

@media (max-width: 900px) {
	.loc-inner { grid-template-columns: 1fr; gap: 1.2rem; }
	.loc-map { min-height: 340px; }
	.loc-name { font-size: 1.6rem; }
}

/* =====================================================================
 * 조직도 (.org) — 대표(다크) + 좌우 스태프(화이트) / 본부(홈페이지 블루) + 팀(그레이).
 *   대표=org-rep, 좌우 스태프=org-box(.org-mid-l/-r), 본부=org-div-h, 팀=org-div-t.
 *   연결선: 중앙 세로 스템 + 좌우 가로선 + 본부 버스/드롭. 라벨만 교체.
 * ===================================================================== */
.org-title { text-align: center; font-size: 1.6rem; font-weight: 800; color: #1a1f36; line-height: 1.4; letter-spacing: -.02em; margin: 0 0 2.5rem; }
/* 조직도 상단 타이틀 = 인사말 슬로건과 동일한 채움 효과(.greet-hero) + 가운데 정렬 */
.greet-hero.org-hero { text-align: left; margin: 0 0 2.8rem; }
.org { padding: 3rem 0 2.5rem; overflow-x: auto;gap: 2rem;display: flex;flex-direction: column; }

/* 대표 (다크) */
.org-top { display: flex; justify-content: center; }
.org-rep { position: relative; min-width: 180px; text-align: center; padding: 1.1rem 2rem; border-radius: 10px; background: #3f434c; color: #fff; font-weight: 600; font-size: 1.35rem; letter-spacing: .35rem; box-shadow: 0 8px 20px rgba(20, 30, 60, .15); }
.org-rep::after { content: ''; position: absolute; top: 100%; left: 50%; width: 2px; height: 3rem; background: #cbd2e0; transform: translateX(-1px); }

/* 중간 — 좌 스태프 | 세로 스템 | 우 스태프 */
.org-mid { display: grid; grid-template-columns: 1fr 10rem 1fr; align-items: center; }
.org-mid-l { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.org-mid-r { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.org-mid-c {height: calc(100% + 2rem);justify-self: center; align-self: stretch; width: 2px; background: #cbd2e0; }
.org-box { position: relative; min-width: 200px; text-align: center; padding: .9rem 1.2rem; border-radius: 10px; background: #fff; border: 1.5px solid #e2e6ef; color: #1a1f36; font-weight: 600; font-size: 1rem; box-shadow: 0 3px 12px rgba(20, 30, 60, .05); }
.org-mid-l .org-box::after { content: ''; position: absolute; top: 50%; left: 100%; width: 5rem; height: 2px; background: #cbd2e0; }
.org-mid-r .org-box::before { content: ''; position: absolute; top: 50%; right: 100%; width: 5rem; height: 2px; background: #cbd2e0; }

/* 본부 행 (홈페이지 블루) + 팀(그레이) */
.org-divs { display: flex; gap: 1.5rem; flex-wrap: wrap; width: fit-content; max-width: 100%; margin: 0 auto; padding-top: 1.6rem; position: relative; width: 1000px;    justify-content: space-between;}
/* 버스선 = 첫 본부 중앙 ~ 마지막 본부 중앙 (본부 폭 절반 = 90px 만큼 안쪽) */
.org-divs::before { content: ''; position: absolute; top: 0; left: 90px; right: 90px; height: 2px; background: #cbd2e0; margin: 0 46px;}
.org-div { width: 270px; display: flex; flex-direction: column; gap: .7rem; position: relative; }
.org-div::before { content: ''; position: absolute; top: -1.6rem; left: 50%; width: 2px; height: 1.6rem; background: #cbd2e0; transform: translateX(-1px); }
.org-div-h { background: var(--main-color-dark); color: #fff; font-weight: 700; font-size: 1.2rem; text-align: center; padding: 1rem .6rem; border-radius: 10px; box-shadow: 0 6px 16px rgba(26, 148, 255, .28); }
.org-div-t { background: #eef0f4; color: #3d4452; font-weight: 500; font-size: 1.1rem; text-align: center; padding: .85rem .6rem; border-radius: 10px; }

/* 반응형 — 1024px 이하: 상단 스태프 + 본부 모두 세로 스택, 트리 연결선 숨김.
   (본부 행이 넓어[≈1000px] 좁은 화면에서 줄바꿈·연결선 깨짐 방지) */
@media (max-width: 1024px) {
	/* 상단 스태프 세로 스택 */
	.org-mid { grid-template-columns: 1fr; justify-items: center; }
	.org-mid-c { display: none; }
	.org-mid-l, .org-mid-r { align-items: center; }
	.org-mid-r { margin-top: 1rem; }
	.org-mid-l .org-box::after, .org-mid-r .org-box::before { display: none; }
	/* 본부 세로 스택 + 연결선 숨김 (데스크톱 1000px/space-between 무효화) */
	.org-divs { width: auto; flex-wrap: nowrap; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; padding-top: 0; }
	.org-divs::before { display: none; }
	.org-div { width: 280px; }
	.org-div::before { display: none; }
}

/* =====================================================================
 * 비전 (.vis) — 상단 슬로건(인사말 채움 효과) + 핵심가치 3카드(CORE VALUE).
 *   카드: 번호 원형 배지 + 영문 키워드(+밑줄) + 국문 설명. 홈페이지 블루, hover 리프트.
 * ===================================================================== */
.greet-hero.vis-hero { text-align: center; margin: 0 0 3.4rem; }

.vis { padding: 0 0 1rem; }
.vis-label { text-align: center; margin: 0 0 2rem; font-size: 1.4rem; font-weight: 800; color: #1a1f36; }
.vis-label span { display: block; margin-top: .35rem; font-size: .85rem; font-weight: 700; letter-spacing: .22em; color: var(--main-color-dark); }

.vis-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vis-card {
	position: relative; text-align: center;
	background: #fff; border: 1px solid #e8ebf2; border-radius: 20px;
	padding: 2.6rem 1.8rem 2.2rem;
	box-shadow: 0 8px 24px rgba(20, 30, 60, .05);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.vis-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(26, 148, 255, .16); border-color: #cfe4ff; }
/* 아이콘 원형 배지 — 둥둥 떠다니는 애니메이션(무한), hover 시 확대·회전 */
.vis-ic {
	display: inline-flex; align-items: center; justify-content: center;
	width: 74px; height: 74px; margin-bottom: 1.1rem; border-radius: 50%;
	color: #fff; background: linear-gradient(135deg, var(--main-color), var(--main-color-dark));
	box-shadow: 0 12px 24px rgba(26, 148, 255, .34);
	animation: visFloat 3s ease-in-out infinite;
	transition: transform .3s ease, box-shadow .3s ease;
}
.vis-ic .material-symbols-outlined { font-size: 36px; }
.vis-values .vis-card:nth-child(2) .vis-ic { animation-delay: .5s; }
.vis-values .vis-card:nth-child(3) .vis-ic { animation-delay: 1s; }
@keyframes visFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.vis-card:hover .vis-ic { animation: none; transform: translateY(-4px) scale(1.1) rotate(-6deg); box-shadow: 0 16px 30px rgba(26, 148, 255, .45); }
/* 작은 번호 */
.vis-num { display: block; font-size: .85rem; font-weight: 800; letter-spacing: .15em; color: var(--main-color-dark); margin: 0 0 .3rem; }
.vis-key { font-size: 1.5rem; font-weight: 800; color: #1a1f36; letter-spacing: .06em; margin: 0 0 1rem; }
.vis-key::after { content: ''; display: block; width: 36px; height: 3px; border-radius: 3px; background: var(--main-color-dark); margin: .9rem auto 0; }
.vis-desc { font-size: 1rem; color: #6b7280; line-height: 1.8; word-break: keep-all; margin: 0; }

@media (max-width: 800px) {
	.vis-values { grid-template-columns: 1fr; gap: 1.2rem; }
	.vis-card { padding: 2.2rem 1.6rem 1.9rem; }
}

/* 비전 하단 — 영상이 글자 안에서만 보이는 마스크 섹션.
   SVG 마스크: 흰 배경(=다크 커버 표시) + 검정 글자(=커버 뚫려 뒤 영상 노출). 영상은 .vt-video(무음·자동·루프). */
/* .wFix(패딩/최대폭) 안에 있어도 좌우 마진을 빼내 뷰포트 전체 폭(full-bleed)으로.
   하단 마진 -2rem = .page_content 의 padding-bottom(2rem) 상쇄 → 이 페이지만 하단 여백 없이 바닥에 붙음. */
.vt { position: relative; margin: 4rem calc(50% - 50vw) -4rem; width: auto; border-radius: 0; overflow: hidden; background: #1a1a1a; }
.vt-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; animation: vtZoom 22s ease-in-out infinite alternate; }
@keyframes vtZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.vt-svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.vt-word { fill: #000; font-family: "Pretendard", sans-serif; font-weight: 900; font-size: 100px; letter-spacing: .02em; }
/* 영상 섹션 상단 라벨(핵심가치 / CORE VALUE) — 다크 위 흰색 오버레이 */
.vt-label { position: absolute; top: 11%; left: 0; right: 0; z-index: 2; text-align: center; font-size: 1.7rem; font-weight: 800; letter-spacing: .03em; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.55); pointer-events: none; }
.vt-label span { display: flex; align-items: center; justify-content: center; gap: .85rem; margin-top: .55rem; font-size: .8rem; font-weight: 700; letter-spacing: .32em; color: #6fc2ff; }
.vt-label span::before, .vt-label span::after { content: ""; width: 36px; height: 1px; }
.vt-label span::before { background: linear-gradient(90deg, transparent, #6fc2ff); }
.vt-label span::after { background: linear-gradient(90deg, #6fc2ff, transparent); }
@media (max-width: 600px) {
	.vt { margin-top: 2.5rem; }
	.vt-label { top: 9%; font-size: 1.15rem; }
	.vt-label span { gap: .5rem; font-size: .62rem; letter-spacing: .22em; }
	.vt-label span::before, .vt-label span::after { width: 22px; }
}

/* =====================================================================
 * 비전 — 하나의 고정(sticky) 다크 배경 위에서 스크롤에 따라 문구가 바뀌는 스테이지(.vsr-stage)
 *   + 방향과 철학 카드(.vphil).
 *   .vsr-stage(200vh) 안에서 .vsr-bg 를 sticky 로 고정하고, .vsr-txt-1/2 를 위·아래 100vh 구간에 배치
 *   → 배경은 그대로, 스크롤하면 텍스트가 전환됨.
 * ===================================================================== */
/* full-bleed(.vsr-stage) 폭 100vw 가 세로 스크롤바 폭만큼 콘텐츠보다 넓어져 생기는 가로 스크롤 방지.
   overflow-x: clip 은 스크롤 컨테이너를 만들지 않아 내부 position:sticky 를 깨지 않음(overflow:hidden 과 차이). */
.sub_main { overflow-x: clip; }
.vsr-stage { position: relative; margin: 4rem calc(50% - 50vw) 0; width: auto; height: 200vh; view-timeline-name: --vsrStage; view-timeline-axis: block; }
.vsr-bg { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #0a0d14; }
/* height 100% !important — sub.css 전역 규칙 `.page_content img{height:auto}` 를 이겨 모바일에서도 cover 로 꽉 차게 */
.vsr-media { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: 0; opacity: .6; pointer-events: none; animation: vsrKen 22s ease-in-out infinite alternate; }
@keyframes vsrKen { from { transform: scale(1); } to { transform: scale(1.12); } }
/* 진입 시: 작은 둥근 박스 → 풀화면(100vh)으로 촥 커지며 채워짐 (스크롤 연동) */
@keyframes vsrGrow { from { clip-path: inset(15% 12% round 44px); } to { clip-path: inset(0 0 0 0 round 0); } }
@supports (animation-timeline: view()) {
	.vsr-bg { animation: vsrGrow linear both; animation-timeline: --vsrStage; animation-range: entry 20% entry 100%; }
}
.vsr-bg::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 50% 55%, rgba(6,10,18,.25), rgba(6,10,18,.78)); }
/* 텍스트 — 같은 중앙에 겹쳐두고, 스크롤 위치에 따라 활성 문구만 표시 + 타이핑(JS) */
.vsr-copy { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 2rem 1.2rem; pointer-events: none; }
.vsr-line { grid-area: 1 / 1; margin: 0; text-align: center; color: #fff; font-weight: 800; letter-spacing: -.01em; font-size: clamp(1.6rem, 3.6vw, 3.2rem); line-height: 1.35; text-shadow: 0 2px 30px rgba(0,0,0,.5); word-break: keep-all; opacity: 0; transition: opacity .3s ease; }
.vsr-line.on { opacity: 1; }
.vsr-line .kw { color: #6fc2ff; margin-right: .5rem; font-weight: 900; }
/* 타이핑 캐럿(깜빡임) */
.vsr-line .caret { display: inline-block; width: 2px; height: 1em; margin-left: .08em; background: #6fc2ff; vertical-align: -.12em; animation: vsrCaret .8s steps(1) infinite; }
@keyframes vsrCaret { 50% { opacity: 0; } }

/* 우리의 방향과 철학 — Mission / Vision / Core Value 3카드 */
.vphil { padding: 5rem 0 1rem; }
.vphil-head { margin: 0 0 2.6rem; }
.vphil-head h3 { font-size: 2.2rem; font-weight: 800; color: #1a1f36; letter-spacing: -.02em; margin: 0 0 .8rem; }
.vphil-head p { color: #6b7280; font-size: 1.05rem; line-height: 1.7; margin: 0; }
.vphil-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vphil-card { text-align: center; background: #f7f9fc; border: 1px solid #eef1f6; border-radius: 22px; padding: 3.2rem 2rem 2.8rem; transition: transform .3s ease, box-shadow .3s ease; }
.vphil-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(20, 30, 60, .10); }
.vphil-ic { display: inline-flex; align-items: center; justify-content: center; width: 92px; height: 92px; margin-bottom: 1.6rem; border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--main-color), var(--main-color-dark)); box-shadow: 0 14px 30px rgba(26, 148, 255, .32); }
.vphil-ic .material-symbols-outlined { font-size: 46px; }
.vphil-title { font-size: 1.8rem; font-weight: 800; color: #1a1f36; margin: 0 0 .5rem; letter-spacing: .01em; }
.vphil-tag { color: #9aa3b2; font-weight: 600; font-size: .98rem; margin: 0 0 1.2rem; }
.vphil-desc { color: #4b5563; font-size: 1.02rem; line-height: 1.75; word-break: keep-all; margin: 0; }
@media (max-width: 800px) {
	.vphil { padding: 3.5rem 0 1rem; }
	.vphil-head h3 { font-size: 1.7rem; }
	.vphil-cards { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* =====================================================================
 * CI 소개 (.ci) — 로고 / 배경별 사용 / 전용 색상 / 최소여백·크기 / 금지 규정.
 *   로고는 <img>(logo.svg=기본 컬러, logo_w.svg=화이트). 색상 스와치는 인라인 --c.
 * ===================================================================== */
.ci { display: flex; flex-direction: column; gap: 4.5rem; padding: 1rem 0 2rem; }
.ci-sec-head { margin: 0 0 1.8rem; }
.ci-eyebrow { display: inline-block; color: var(--main-color-dark); font-weight: 800; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .5rem; }
.ci-title { font-size: 1.9rem; font-weight: 800; color: #1a1f36; letter-spacing: -.02em; margin: 0 0 .6rem; }
.ci-desc { color: #6b7280; font-size: 1.02rem; line-height: 1.7; margin: 0; word-break: keep-all; }

/* 로고 히어로 */
.ci-logo-box {
	display: flex; align-items: center; justify-content: center; padding: 4.5rem 2rem;
	border: 1px solid #eef1f6; border-radius: 20px; overflow: hidden;
	/* 격자무늬(그래프 페이퍼) — 흰 배경 */
	background-color: #fff;
	background-image: linear-gradient(rgba(20, 40, 90, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 40, 90, .06) 1px, transparent 1px);
	background-size: 26px 26px;
	background-position: center;
}
.ci-logo-img { width: min(460px, 82%); height: auto; }
.ci-dl { align-self: flex-start; margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .4rem; }
.ci-dl .material-symbols-outlined { font-size: 20px; }

/* 로고 타입(심볼·영문 조합) 4열 */
.ci-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ci-types .ci-var-box { height: 230px; padding: 1.6rem; }
.ci-types .ci-var-box img { width: auto; max-width: 96%; max-height: 88%; }

/* 배경별 변형 */
.ci-var, .ci-dont { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ci-var-item, .ci-dont-item { text-align: center; }
.ci-var-box { display: flex; align-items: center; justify-content: center; height: 150px; border-radius: 16px; margin-bottom: .85rem; padding: 1.6rem; }
.ci-var-box img { width: 80%; height: auto; }
.ci-var--light { background: #fff; border: 1px solid #e5e8ee; }
.ci-var--brand { background: linear-gradient(135deg, var(--main-color), var(--main-color-dark)); }
.ci-var--dark { background: #14181f; }
.ci-var-item span, .ci-rule span, .ci-dont-item span { color: #6b7280; font-size: .92rem; font-weight: 600; }

/* 전용 색상 */
.ci-colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ci-color { border: 1px solid #eef1f6; border-radius: 16px; overflow: hidden; }
.ci-swatch { height: 110px; background: var(--c); }
.ci-color b { display: block; padding: .9rem 1rem .1rem; font-size: 1rem; color: #1a1f36; }
.ci-color span { display: block; padding: 0 1rem 1rem; color: #9aa3b2; font-size: .88rem; font-weight: 600; letter-spacing: .04em; }

/* 최소 여백 · 최소 크기 */
.ci-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ci-rule { text-align: center; }
.ci-rule-box { position: relative; display: flex; align-items: center; justify-content: center; height: 200px; background: #f5f7fa; border: 1px solid #eef1f6; border-radius: 16px; margin-bottom: .85rem; }
.ci-clear::before { content: ''; position: absolute; inset: 40px; border: 1px dashed #b9c5da; border-radius: 8px; }
.ci-rule-box img { position: relative; width: 62%; height: auto; }

/* 금지 규정 */
.ci-dont-box { position: relative; display: flex; align-items: center; justify-content: center; height: 140px; background: #fff; border: 1px solid #e5e8ee; border-radius: 16px; margin-bottom: .85rem; overflow: hidden; }
.ci-dont-box img { width: 72%; height: auto; }
.ci-dont-box::after { content: '✕'; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: var(--sub-01-color); color: #fff; border-radius: 50%; font-size: 15px; font-weight: 700; }

@media (max-width: 800px) {
	.ci { gap: 3.2rem; }
	.ci-title { font-size: 1.6rem; }
	.ci-var, .ci-colors, .ci-dont, .ci-types { grid-template-columns: repeat(2, 1fr); }
	.ci-rules { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.ci-var, .ci-colors, .ci-dont { grid-template-columns: 1fr; }
}

/* =====================================================================
 * 인증 (.cert) — 인증서 이미지(코너 금색 씰) + 제목 카드 갤러리.
 *   실제 인증서 이미지는 .cert-img 안 .cert-ph(샘플)를 <img> 로 교체.
 * ===================================================================== */
.cert { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2rem 1.6rem; padding: 1rem 0 2rem; }
.cert-card { margin: 0; text-align: center; }
.cert-img { position: relative; aspect-ratio: 3 / 4.1; background: #fbfcfe; border: 1px solid #e5e8ee; border-radius: 10px; box-shadow: 0 10px 28px rgba(20, 30, 60, .07); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.cert-card:hover .cert-img { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(20, 30, 60, .14); }
.cert-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* 샘플 플레이스홀더(문서 느낌) — 실제 인증서 이미지로 교체하세요 */
.cert-ph { position: absolute; inset: 0; background: #fff; padding: 15% 13% 9%; display: flex; flex-direction: column; }
.cert-ph i { display: block; border-radius: 3px; background: #e3e8f0; }
.cert-ph .t { width: 62%; height: 7%; margin: 0 auto 6%; }
.cert-ph .s { width: 40%; height: 3.5%; margin: 0 auto 9%; background: #eef1f6; }
.cert-ph .b { flex: 1; background: repeating-linear-gradient(#eef1f6 0 2px, transparent 2px 12px); }
.cert-ph .lg { width: 44%; height: 11%; margin: 9% auto 0; }
/* 금색 씰 + 리본 */
.cert-seal { position: absolute; top: 6%; right: 7%; width: 24%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 36% 32%, #ffeeb0, #e7bb56 58%, #c8992f); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55), 0 4px 10px rgba(180, 140, 40, .4); }
.cert-seal::before { content: ''; position: absolute; left: 50%; bottom: 62%; transform: translateX(-50%); width: 52%; height: 55%; background: linear-gradient(#b8873f, #8a6329); clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%); }

.cert-name { margin: 1rem 0 0; font-size: 1.02rem; font-weight: 700; color: #1a1f36; line-height: 1.45; word-break: keep-all; }

@media (max-width: 1100px) { .cert { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px)  { .cert { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .cert { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; } }

/* =====================================================================
 * 고객사·협력사 (.clients) — 카테고리(공공기관·기관·대학)별 로고 + 사용 시스템명 카드.
 *   로고는 .client-logo 안 .client-ph(샘플)를 <img> 로 교체.
 * ===================================================================== */
.clients { display: flex; flex-direction: column; gap: 3.5rem; padding: 1rem 0 2rem; }
.clients-group-head { display: flex; align-items: baseline; gap: .7rem; margin: 0 0 1.4rem; padding-bottom: .9rem; border-bottom: 2px solid #eef1f6; }
.clients-group-head h3 { font-size: 1.5rem; font-weight: 800; color: #1a1f36; letter-spacing: -.01em; margin: 0; }
.clients-group-head em { color: var(--main-color-dark); font-weight: 700; font-size: .95rem; font-style: normal; letter-spacing: .04em; }

.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.client-card { text-align: center; background: #fff; border: 1px solid #eef1f6; border-radius: 16px; padding: 1.8rem 1.2rem 1.5rem; transition: transform .3s ease, box-shadow .3s ease; }
.client-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(20, 30, 60, .10); }
.client-logo { display: flex; align-items: center; justify-content: center; height: 66px; margin-bottom: 1.1rem; }
.client-logo img { max-width: 82%; max-height: 100%; width: auto; height: auto; filter: grayscale(1); opacity: .82; transition: filter .3s ease, opacity .3s ease; }
.client-card:hover .client-logo img { filter: none; opacity: 1; }
.client-ph { display: inline-flex; align-items: center; justify-content: center; min-width: 72%; max-width: 100%; height: 46px; padding: 0 1rem; border-radius: 8px; background: #f2f5fa; color: #9aa3b2; font-weight: 800; font-size: .92rem; letter-spacing: .01em; white-space: nowrap; }
.client-name { display: block; font-size: 1.02rem; font-weight: 700; color: #1a1f36; margin: 0 0 .3rem; word-break: keep-all; }
.client-sys { display: block; color: #6b7280; font-size: .9rem; line-height: 1.45; word-break: keep-all; }
.client-sys .material-symbols-outlined { font-size: 15px; vertical-align: -2px; margin-right: 3px; color: var(--main-color-dark); }

@media (max-width: 1024px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .clients-grid { grid-template-columns: repeat(2, 1fr); } .clients-group-head h3 { font-size: 1.3rem; } }

/* ========================================ㄹㅍ=============================
 * 연구소 소개 (.lab) — 개요 + 핵심 지표 + 연구 분야 카드 + 성과·인증 리스트.
 * ===================================================================== */
.lab { display: flex; flex-direction: column; gap: 6rem; padding: 1rem 0 2rem; }
.lab-eyebrow { display: inline-block; color: var(--main-color-dark); font-weight: 800; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem; }

/* 개요 — 다른 일반페이지와 동일한 greet-hero 채움 슬로건 사용 */
.lab-intro { text-align: center; }
.greet-hero.lab-hero { text-align: center; margin: 0 0 2.4rem; }
.lab-desc { max-width: 860px; margin: 0 auto; text-align: left; color: #5b6474; font-size: 1.28rem; line-height: 1.9; letter-spacing: -.005em; word-break: keep-all; }

/* 핵심 지표 — 미니멀 화이트 */
.lab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: #fff; border: 1px solid #edf0f5; border-radius: 24px; padding: 3rem 1.2rem; box-shadow: 0 20px 54px rgba(20, 30, 60, .06); }
.lab-stat { position: relative; text-align: center; }
.lab-stat + .lab-stat::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 50%; background: #edf0f5; }
.lab-stat b { display: block; font-size: 2.9rem; font-weight: 800; color: #1a1f36; letter-spacing: -.03em; line-height: 1.2; }
.lab-stat b i { color: #1a1f36; font-weight: 200; font-style: normal; }
.lab-stat span { display: block; margin-top: .5rem; color: #8a93a6; font-size: .9rem; font-weight: 600; letter-spacing: .01em; word-break: keep-all; }

/* 섹션 헤더 (좌측 정렬 — ci·비전 방향과 철학과 통일) */
.lab-sec-head { text-align: left; margin: 0 0 2.4rem; }
.lab-sec-head h3 { font-size: 2.05rem; font-weight: 800; color: #1a1f36; letter-spacing: -.025em; margin: 0 0 .7rem; }
.lab-sec-head p { color: #8a93a6; font-size: 1.05rem; line-height: 1.7; margin: 0; word-break: keep-all; }

/* 연구 분야 카드 — 기본 소프트 틴트 아이콘 → hover 시 그라데이션 채움 */
.lab-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.lab-field { text-align: center; background: #fff; border: 1px solid #edf0f5; border-radius: 22px; padding: 2.8rem 1.5rem 2.4rem; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.lab-field:hover { transform: translateY(-8px); box-shadow: 0 26px 52px rgba(20, 30, 60, .10); border-color: #dfe9fb; }
.lab-field-ic { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 1.5rem; border-radius: 50%; color: var(--main-color-dark); background: #eaf4ff; transition: background .35s ease, color .35s ease, transform .35s ease; }
.lab-field:hover .lab-field-ic { background: linear-gradient(135deg, var(--main-color), var(--main-color-dark)); color: #fff; transform: scale(1.06); }
.lab-field-ic .material-symbols-outlined { font-size: 34px; }
.lab-field h4 { font-size: 1.18rem; font-weight: 800; color: #1a1f36; letter-spacing: -.01em; margin: 0 0 .7rem; }
.lab-field p { color: #8a93a6; font-size: .96rem; line-height: 1.65; margin: 0; word-break: keep-all; }

/* 성과·인증 — 라인형(하단 보더) + 원형 체크 */
.lab-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.6rem; }
.lab-list li { display: flex; align-items: center; gap: 1rem; padding: 1.4rem .3rem; border-bottom: 1px solid #edf0f5; color: #3d4452; font-size: 1.2rem; line-height: 1.5; word-break: keep-all; }
.lab-list li .material-symbols-outlined { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--main-color-dark); background: #eaf4ff; border-radius: 50%; }

@media (max-width: 900px) {
	.lab { gap: 4rem; }
	.lab-desc { font-size: 1.15rem; }
	.lab-stats { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 0; }
	.lab-stat + .lab-stat::before { display: none; }
	.lab-sec-head h3 { font-size: 1.6rem; }
	.lab-fields { grid-template-columns: repeat(2, 1fr); }
	.lab-list { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 520px) {
	.lab-stats { grid-template-columns: 1fr; }
	.lab-fields { grid-template-columns: 1fr; }
}

/* 특허 · 지식재산 — 인증(.cert) 카드 재사용, 연구소 페이지에선 6열 + 특허 뱃지 */
.lab-patents { grid-template-columns: repeat(6, 1fr); gap: 2rem 1.6rem; padding: 0; }
.lab-patents .cert-name { font-size: .92rem; line-height: 1.45; }
.lab-patents .cert-badge { display: inline-flex; align-items: center; gap: .3rem; margin: .7rem 0 0; padding: .24rem .6rem; border-radius: 999px; background: #eaf4ff; color: var(--main-color-dark); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.lab-patents .cert-badge .material-symbols-outlined { font-size: 14px; }
@media (max-width: 1100px) { .lab-patents { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px)  { .lab-patents { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .lab-patents { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.1rem; } }

/* =====================================================================
 * 플랫폼 — 여러 플랫폼을 한 페이지에. 좌측 sticky 사이드메뉴 + 우측 플랫폼 섹션들.
 *   섹션 스크롤/하이라이트는 page_script(JS)가 처리(.plat-sidenav).
 * ===================================================================== */
.plat-layout { display: grid; grid-template-columns: 210px 1fr; gap: 2.6rem; align-items: start; padding: 1rem 0 2rem; }
.plat-main { min-width: 0; }   /* 그리드 칸이 넓은 자식으로 넘치지 않게 */
.plat-side { position: sticky; top: 6rem; }
.plat-sidenav { display: flex; flex-direction: column; }
.plat-sidenav a { position: relative; display: flex; align-items: center; padding: .82rem 0 .82rem 1.3rem;
	color: #98a1b2; font-weight: 600; font-size: 1.02rem; text-decoration: none;
	border-left: 2px solid #eef1f6; transition: color .2s ease, border-color .2s ease; }
.plat-sidenav a .arr { display: none; }
.plat-sidenav a:hover { color: #1a1f36; }
.plat-sidenav a.is-active { color: var(--main-color-dark); font-weight: 800; border-left-color: var(--main-color); }

.plat-platform { scroll-margin-top: 6rem; }
/* 플랫폼 사이 점선 구분선 — '이전 섹션 하단'에 배치해 다음 섹션 스크롤 정렬(상단 딱 붙기)을 깨지 않음 */
.plat-platform:not(:last-child) { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); border-bottom: 2px dashed #d4dbe6; }
.plat-platform + .plat-platform { margin-top: clamp(3.5rem, 7vw, 5.5rem); }

/* 준비중 플랫폼 placeholder */
.plat-ph { text-align: center; padding: clamp(3.5rem, 8vw, 6rem) 1.5rem; border: 1px dashed #d7deea; border-radius: 22px; background: #f8fafc; }
.plat-ph .plat-ph-tag { display: inline-block; margin: 0 0 1rem; padding: .3rem .9rem; border-radius: 999px; background: #eaf2ff; color: var(--main-color-dark); font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.plat-ph h3 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; color: #1a1f36; letter-spacing: -.02em; margin: 0 0 .6rem; }
.plat-ph p { color: #8a93a6; font-size: 1.05rem; line-height: 1.7; margin: 0; word-break: keep-all; }

/* 좁은 화면 — 사이드메뉴를 상단 가로 스크롤 바로 전환 */
@media (max-width: 900px) {
	.plat-layout { grid-template-columns: 1fr; gap: 1.4rem; }
	.plat-side { position: sticky; top: 4.5rem; z-index: 30; width: 100vw; margin-left: calc(50% - 50vw); padding: .6rem 2vw; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid #eef1f6; transition: top .6s ease; }
	/* 헤더가 스크롤로 숨겨지면(.header-hide) 상단 여백 제거 — plat-side 를 최상단에 붙임 */
	body:has(.main_header.header-hide) .plat-side { top: 0; }
	.plat-sidenav { flex-direction: row; overflow-x: auto; gap: .5rem; }
	.plat-sidenav a { flex: 0 0 auto; padding: .55rem 1.1rem; font-size: .92rem; font-weight: 700; color: #5b6474; background: #f4f6fa; border-left: 0; border-radius: 999px; }
	.plat-sidenav a.is-active { color: #fff; background: var(--main-color-dark); }
	.plat-sidenav a .arr { display: none; }
}

/* =====================================================================
 * 플랫폼 본문 — Mondrian 참고: 다크 히어로(글로우) + 화이트 본문 + 번호 시스템.
 * ===================================================================== */
.plat { display: flex; flex-direction: column; gap: clamp(4rem, 8vw, 7rem); padding: 0 0 2rem; }
.plat-no { font-weight: 700; letter-spacing: .04em; font-feature-settings: "tnum"; }

/* 공통 섹션 헤더 (가운데) */
.plat-sec-head { text-align: center; margin: 0 0 3rem; }
.plat-sec-head h3 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: #12141c; letter-spacing: -.03em; margin: 0 0 .8rem; }
.plat-sec-head h3 .lt { font-weight: 400; }
.plat-sec-head p { color: #8a93a6; font-size: 1.05rem; line-height: 1.7; margin: 0; word-break: keep-all; }

/* ===== HERO — 다크 라운드 패널(wFix 폭 안) + 글로우 blob ===== */
/* 배경 = (위)네이비 오버레이 + (중간)배경이미지 + (아래)네이비 그라데이션.
   ▸ 이미지는 아래 경로에 저장하면 바로 반영: img/knl/platform/plat-hero.jpg (없으면 네이비만 표시).
   ▸ 이미지를 더 진하게: 오버레이 alpha(.94/.82/.5) 를 낮춤 / 더 은은하게: alpha 를 높임. */
.plat-hero { position: relative; overflow: hidden; color: #fff; border-radius: 28px;
	background:
		linear-gradient(112deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.3) 100%), url(/front/themes/simple/img/knl/platform/plat-hero.jpg) center / cover no-repeat, radial-gradient(125% 125% at 82% 26%, #262626 0%, #121212 46%, #040404 100%); }
/* 블랙톤 — 파란 글로우 blob 제거(이미지가 자연스럽게 깔리도록) */
.plat-hero-glow { display: none; }
.plat-hero-inner { position: relative; z-index: 2; padding: clamp(3rem, 6vw, 5rem) clamp(1.8rem, 5vw, 4rem) clamp(3rem, 6vw, 4.5rem); }
.plat-hero-eyebrow { color: #9fc0ff; font-weight: 600; font-size: clamp(1rem, 2vw, 1.2rem); margin: 0 0 .7rem; }
.plat-hero-tit { font-size: clamp(2.4rem, 7vw, 3rem) !important; font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin: 0 0 1.4rem; }
.plat-hero-kr { max-width: 620px; color: rgba(255,255,255,.85); font-size: clamp(1.8rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.5; margin: 0 0 2.2rem; word-break: keep-all; }
.plat-hero-kr b { color: #fff; }
.plat-hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0 0 clamp(2.5rem, 6vw, 4rem); }
/* 히어로 버튼 — 공통 .btn 재사용, 다크 컨텍스트 고스트 색만 오버라이드 */
.plat-hero .btn { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); color: #fff; box-shadow: none; }
.plat-hero .btn:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.plat-hero .btn > .material-symbols-outlined { color: #fff; }
/* 히어로 미니 글래스 카드 */
.plat-hero-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 1rem; }
.plat-gcard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 1.4rem 1.5rem 1.6rem; backdrop-filter: blur(6px); transition: transform .3s ease, background .3s ease, border-color .3s ease; }
.plat-gcard:hover { transform: translateY(-5px); background: rgba(255,255,255,.11); border-color: rgba(140,180,255,.5); }
.plat-gcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.plat-gcard-top b { font-size: 1.3rem; font-weight: 800; color: #fff; }
.plat-gcard-top .material-symbols-outlined { font-size: 22px; color: #9fc0ff; }
.plat-gcard h4 { font-size: 1.02rem; font-weight: 700; color: #fff; margin: 0 0 .3rem; }
.plat-gcard p { font-size: .86rem; color: rgba(255,255,255,.6); margin: 0; line-height: 1.5; word-break: keep-all; }

/* ===== STATEMENT (화이트, 가운데) ===== */
.plat-statement { text-align: center; padding: clamp(.5rem, 2vw, 2rem) 0; }
.plat-statement-btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; align-items: center; }
.plat-statement h3 { font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 800; color: #12141c; letter-spacing: -.03em; line-height: 1.4; margin: 0 0 1.6rem; word-break: keep-all; }
.plat-statement p { max-width: 780px; margin: 0 auto 2.2rem; color: #8a93a6; font-size: 1.08rem; line-height: 1.9; word-break: keep-all; }

/* ===== OVERVIEW — 화이트 배경 + 다크 글로우 카드 (4열) ===== */
.plat-over { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.plat-ocard { position: relative; overflow: hidden; min-height: 340px; display: flex; flex-direction: column;
	background:
		radial-gradient(120% 85% at 12% -5%, rgba(56,120,255,.28), transparent 60%),
		linear-gradient(158deg, #0f1a33 0%, #0a1020 100%);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 22px; padding: 2.2rem 1.8rem 2.4rem; color: #fff; transition: transform .35s ease, box-shadow .35s ease; }
.plat-ocard:hover { transform: translateY(-6px); box-shadow: 0 30px 64px rgba(10,20,50,.4); }
/* 배경 글로우 — 천천히 떠다니며 맥동 (하단 큰 블루 + 상단 작은 보조) */
/* 배경 글로우 — 하단 우측 블루 라이트가 은은하게 둥둥 떠다님 */
.plat-ocard::after { content: ''; position: absolute; right: -30%; bottom: -34%; width: 88%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
	background: radial-gradient(circle at 40% 40%, rgba(90,150,255,.85), rgba(40,90,220,.35) 45%, rgba(10,25,70,0) 72%);
	opacity: .55; animation: platFloat 7s ease-in-out infinite; will-change: transform; }
.plat-ocard:nth-child(2)::after { animation-delay: -1.75s; }
.plat-ocard:nth-child(3)::after { animation-delay: -3.5s; }
.plat-ocard:nth-child(4)::after { animation-delay: -5.25s; }
@keyframes platFloat {
	0%   { transform: translate(0, 0) scale(1); }
	50%  { transform: translate(-7%, -9%) scale(1.06); }
	100% { transform: translate(0, 0) scale(1); }
}
.plat-ocard .plat-no { position: relative; z-index: 1; color: #6b7ba0; font-size: 1rem; margin-bottom: 1.4rem; }
.plat-ocard h4 { position: relative; z-index: 1; font-size: 1.32rem; font-weight: 800; line-height: 1.32; letter-spacing: -.02em; margin: 0; }
.plat-ocard h4 i { display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: #4f8bff; }
.plat-ocard p { position: relative; z-index: 1; margin: auto 0 0; padding-top: 2rem; color: rgba(255,255,255,.72); font-size: .95rem; line-height: 1.7; word-break: keep-all; }

/* ===== KEY FEATURE — 화이트 번호형 카드 (좌측정렬) ===== */
.plat-feat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.plat-fcard { background: #fff; border: 1px solid #e9edf3; border-radius: 18px; padding: 2rem 1.4rem 2.1rem; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.plat-fcard:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(20,30,60,.1); border-color: #d7e3fb; }
.plat-fcard .plat-no { display: block; font-size: 1.4rem; color: var(--main-color); margin-bottom: 1rem; }
.plat-fcard h4 { font-size: 1.08rem; font-weight: 800; color: #12141c; margin: 0 0 .6rem; }
.plat-fcard h4 em { display: block; font-style: normal; font-weight: 700; font-size: .7rem; color: var(--main-color-dark); letter-spacing: .08em; text-transform: uppercase; margin-top: .3rem; }
.plat-fcard p { color: #8a93a6; font-size: .9rem; line-height: 1.6; margin: 0; word-break: keep-all; }

/* ===== COMPONENTS — 번호형 텍스트 카드 (3열) ===== */
.plat-comp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.plat-ccard { background: #fff; border: 1px solid #e9edf3; border-radius: 18px; padding: 1.9rem 1.7rem 1.9rem; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.plat-ccard:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(20,30,60,.09); border-color: #d7e3fb; }
.plat-ccard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.plat-ccard .plat-no { font-size: 1.25rem; color: var(--main-color); }
.plat-ccard-ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #eef4ff; color: var(--main-color-dark); }
.plat-ccard-ic .material-symbols-outlined { font-size: 24px; }
.plat-ccard-img { background: #f4f7fb; border-radius: 12px; padding: 1.1rem; margin: 0 0 1.2rem; display: flex; align-items: center; justify-content: center; min-height: 150px; }
.plat-ccard-img img { max-width: 100%; max-height: 200px; height: auto; display: block; }
.plat-ccard h5 { font-size: 1.1rem; font-weight: 800; color: #12141c; margin: 0 0 .5rem; }
.plat-ccard h5 em { font-style: normal; font-weight: 600; font-size: .8rem; color: var(--main-color-dark); margin-left: .4rem; }
.plat-ccard p { color: #6b7280; font-size: .93rem; line-height: 1.6; margin: 0; word-break: keep-all; }
/* 전체 구성 — 가로 전체 폭 카드 */
.plat-ccard--wide { grid-column: 1 / -1; }
.plat-ccard--wide .plat-ccard-img { min-height: 0; padding: 1.6rem; }
.plat-ccard--wide .plat-ccard-img img { max-height: 560px; }

/* ===== 서비스 화면 — 실제 스크린샷 영역 (이미지는 프레임 안 <img> 로 교체) ===== */
.plat-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.plat-shot { margin: 0; }
.plat-shot--wide { grid-column: 1 / -1; }
.plat-shot-approw { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem 2rem; }
.plat-shot-approw .plat-shot { flex: 0 0 auto; }
.plat-shot-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid #e9edf3;
	background: #fff; box-shadow: 0 16px 40px rgba(20,30,60,.06); display: flex; align-items: center; justify-content: center;
	transition: transform .35s ease, box-shadow .35s ease; }
.plat-shot--wide .plat-shot-frame { aspect-ratio: 21 / 9; }
.plat-shot:hover .plat-shot-frame { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(20,30,60,.12); }
/* 이미지가 들어간 프레임은 고정 비율 해제 + 이미지 크기에 맞게 축소(가운데) → 좌우 여백 없이 적당한 크기.
   높이 상한으로 과대 방지. 빈 프레임(placeholder)은 aspect-ratio 유지. */
.plat-shot-frame:has(img),
.plat-shot--wide .plat-shot-frame:has(img) { aspect-ratio: auto; width: fit-content; max-width: 100%; margin-inline: auto; }
.plat-shot-frame img { display: block; width: auto; height: auto; max-width: 100%; max-height: 400px; }
.plat-shot--wide .plat-shot-frame img { max-height: 460px; }

/* HICS 히어로 — 전용 배경 이미지(plat-hics.jpg). 오버레이는 공통 .plat-hero 와 동일 */
#plat-hics .plat-hero {
	background:
		linear-gradient(112deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.3) 100%),
		url('/front/themes/simple/img/knl/platform/plat-hics.jpg') center / cover no-repeat,
		radial-gradient(125% 125% at 82% 26%, #262626 0%, #121212 46%, #040404 100%); }

/* Digital Twin 히어로 — 전용 배경 이미지(plat-digital.jpg) */
#plat-dt .plat-hero {
	background:
		linear-gradient(112deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.3) 100%),
		url('/front/themes/simple/img/knl/platform/plat-digital.png') center / cover no-repeat,
		radial-gradient(125% 125% at 82% 26%, #262626 0%, #121212 46%, #040404 100%); }

/* Digital Twin 주요 기능 — 4개 2×2 배치 */
#plat-dt .plat-comp { grid-template-columns: repeat(2, 1fr); }

/* 섬유기술 히어로 — 전용 배경 이미지(textile.png) + 블랙 오버레이 */
#tech-textile .plat-hero {
	background:
		linear-gradient(112deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.3) 100%),
		url('/front/themes/simple/img/knl/platform/textile.png') center / cover no-repeat,
		radial-gradient(125% 125% at 82% 26%, #262626 0%, #121212 46%, #040404 100%); }
/* IoT 히어로 — 전용 배경 이미지(Iot.png) + 블랙 오버레이 */
#tech-iot .plat-hero {
	background:
		linear-gradient(112deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.3) 100%),
		url('/front/themes/simple/img/knl/platform/Iot.png') center / cover no-repeat,
		radial-gradient(125% 125% at 82% 26%, #262626 0%, #121212 46%, #040404 100%); }
/* RFID 히어로 — 전용 배경 이미지(rfid.png) + 블랙 오버레이 */
#tech-rfid .plat-hero {
	background:
		linear-gradient(112deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.3) 100%),
		url('/front/themes/simple/img/knl/platform/rfid.png') center / cover no-repeat,
		radial-gradient(125% 125% at 82% 26%, #262626 0%, #121212 46%, #040404 100%); }
/* 스마트오더 히어로 — 전용 배경 이미지(smartoreder.png) + 블랙 오버레이 */
#tech-order .plat-hero {
	background:
		linear-gradient(112deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.3) 100%),
		url('/front/themes/simple/img/knl/platform/smartoreder.png') center / cover no-repeat,
		radial-gradient(125% 125% at 82% 26%, #262626 0%, #121212 46%, #040404 100%); }
/* 특장점 카드 4개 → 2×2 배치 헬퍼 */
.plat-comp.cols2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .plat-comp.cols2 { grid-template-columns: 1fr; } }
/* RFID 서비스 화면 — 동일 크기 4장, 프레임을 칸에 꽉 채워 2×2 정렬 */
#tech-rfid .plat-shots .plat-shot-frame:has(img) { width: 100%; }
#tech-rfid .plat-shots .plat-shot-frame img { width: 100%; max-height: none; }
@media (max-width: 560px) { #tech-rfid .plat-shots { grid-template-columns: 1fr; } }
/* 이미지 자체에 프레임(둥근 박스)이 있어 이중 박스 → 래퍼 프레임 장식 제거 */
#tech-rfid .plat-shots .plat-shot-frame { border: 0; background: transparent; box-shadow: none; border-radius: 0; }
#tech-rfid .plat-shots .plat-shot:hover .plat-shot-frame { transform: none; box-shadow: none; }
/* 스마트오더 서비스 화면 — 스크린샷 4장 한 줄 2개(2×2), 높이 동일 통일 */
#tech-order .svc-shots { grid-template-columns: repeat(2, 1fr); align-items: start; }
#tech-order .svc-shots .plat-shot-frame:has(img) { width: 100%; aspect-ratio: 16 / 9; }
#tech-order .svc-shots .plat-shot-frame img { width: 100%; height: 100%; object-fit: contain; max-height: none; }
@media (max-width: 560px) { #tech-order .svc-shots { grid-template-columns: 1fr; } }
/* 스마트오더 이용 흐름 일러스트 3장 — 한 줄 3개 꽉 채움 */
#tech-order .flow-shots { grid-template-columns: repeat(3, 1fr); }
#tech-order .flow-shots .plat-shot-frame:has(img) { width: 100%; }
#tech-order .flow-shots .plat-shot-frame img { width: 100%; max-height: none; }
@media (max-width: 760px) { #tech-order .flow-shots { grid-template-columns: 1fr; } }

/* 홈페이지·웹앱(.plat-layout.web) — 동일 패턴(히어로 다크 + 갤러리 auto-fit) */
.plat-layout.web .plat-hero {
	background:
		linear-gradient(112deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.3) 100%),
		url('/front/themes/simple/img/knl/platform/homepage.png') center / cover no-repeat,
		radial-gradient(130% 130% at 80% 20%, #1b2230 0%, #12141b 46%, #06070a 100%); }
.plat-layout.web .plat-shots { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.plat-layout.web .plat-shot-frame:has(img) { width: 100%; }
.plat-layout.web .plat-shot-frame img { width: 100%; max-height: none; }
/* 홈페이지 — CMS 관리자 화면 6장 한 줄 3개(2줄) */
#web-home .plat-shots { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { #web-home .plat-shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { #web-home .plat-shots { grid-template-columns: 1fr; } }
/* 쇼핑몰 — 관리자 화면 4장 한 줄 2개(2줄) */
#web-shop .plat-shots { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { #web-shop .plat-shots { grid-template-columns: 1fr; } }
/* APP — 관리자 앱 화면 4장 한 줄 2개(2줄) */
#web-app .plat-shots { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { #web-app .plat-shots { grid-template-columns: 1fr; } }

/* 기업솔루션(.plat-layout.ent) — 대학솔루션과 동일 패턴(히어로 다크 + 갤러리 auto-fit) */
.plat-layout.ent .plat-hero {
	background:
		linear-gradient(112deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.3) 100%),
		url('/front/themes/simple/img/knl/platform/enterprise.png') center / cover no-repeat,
		radial-gradient(125% 125% at 82% 26%, #262626 0%, #121212 46%, #040404 100%); }
.plat-layout.ent .plat-shots { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.plat-layout.ent .plat-shot-frame:has(img) { width: 100%; }
.plat-layout.ent .plat-shot-frame img { width: 100%; max-height: none; }
/* 그룹웨어 — 이미지 4장 2×2 */
#ent-groupware .plat-shots { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { #ent-groupware .plat-shots { grid-template-columns: 1fr; } }

/* 대학솔루션(.plat-layout.uni) — 히어로 다크 + 솔루션 갤러리 auto-fit */
.plat-layout.uni .plat-hero {
	background:
		linear-gradient(112deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.3) 100%),
		url('/front/themes/simple/img/knl/platform/university.png') center / cover no-repeat,
		radial-gradient(125% 125% at 82% 26%, #262626 0%, #121212 46%, #040404 100%); }
.plat-layout.uni .plat-comp { grid-template-columns: repeat(2, 1fr); }   /* 특장점·도입 카드 4개 → 2×2 */
.plat-layout.uni .plat-shots { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.plat-layout.uni .plat-shot-frame:has(img) { width: 100%; }
.plat-layout.uni .plat-shot-frame img { width: 100%; max-height: none; }
/* 간호관리 서브 제목(솔루션 내 소구분) */
.uni-subhead { margin: .5rem 0 1.6rem; padding-left: 1rem; border-left: 4px solid var(--main-color); }
.uni-subhead h4 { font-size: 1.5rem; font-weight: 800; color: #12141c; margin: 0 0 .3rem; letter-spacing: -.02em; }
.uni-subhead p { margin: 0; color: #8a93a6; font-size: .98rem; line-height: 1.6; word-break: keep-all; }
.uni-blocklabel { display: block; text-align: center; color: var(--main-color); font-weight: 800; font-size: .92rem; letter-spacing: .16em; margin: 0 0 .7rem; }
.uni-blocktit { text-align: center; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: #12141c; letter-spacing: -.03em; margin: 0 0 2.4rem; }
/* One-Stop 4단계 플로우 */
.uni-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.uni-flow-step { position: relative; text-align: center; background: #fff; border: 1px solid #e9edf3; border-radius: 16px; padding: 1.6rem 1rem; box-shadow: 0 12px 30px rgba(20,30,60,.05); }
.uni-flow-step:not(:last-child)::after { content: 'chevron_right'; font-family: 'Material Symbols Outlined'; position: absolute; right: -1.35rem; top: 50%; transform: translateY(-50%); font-size: 1.7rem; line-height: 1; color: #b7c0d0; z-index: 2; }
.uni-flow-step .n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--main-color), var(--main-color-dark)); color: #fff; font-weight: 800; margin-bottom: .8rem; }
.uni-flow-step b { display: block; color: #1a1f36; font-weight: 700; font-size: 1rem; word-break: keep-all; }
/* 도입효과 3열(헤더 + 불릿) */
.uni-effect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.uni-effect-card { background: #fff; border: 1px solid #e9edf3; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(20,30,60,.05); }
.uni-effect-card h5 { margin: 0; padding: 1rem 1.2rem; background: linear-gradient(135deg, var(--main-color), var(--main-color-dark)); color: #fff; font-size: 1rem; font-weight: 800; text-align: center; word-break: keep-all; }
.uni-effect-card ul { list-style: none; margin: 0; padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.uni-effect-card li { position: relative; padding-left: 1.1rem; color: #5b6474; font-size: .92rem; line-height: 1.55; word-break: keep-all; }
.uni-effect-card li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--main-color); }
.uni-summary { margin: 1.6rem 0 0; text-align: center; background: #f5f8ff; border: 1px solid #e3ecfb; border-radius: 14px; padding: 1.4rem 1.6rem; color: #3d4452; font-size: 1rem; line-height: 1.7; word-break: keep-all; }
/* 프로세스 STEP 칩 */
.uni-steps { display: flex; flex-wrap: wrap; gap: 1.1rem 1.5rem; }
.uni-step { position: relative; flex: 1 1 150px; min-width: 140px; background: #fff; border: 1px solid #e9edf3; border-radius: 12px; padding: 1rem 1.1rem; box-shadow: 0 8px 22px rgba(20,30,60,.04); }
.uni-step em { display: block; font-style: normal; font-size: .72rem; font-weight: 800; color: var(--main-color); letter-spacing: .06em; margin-bottom: .35rem; }
.uni-step span { color: #3d4452; font-size: .9rem; font-weight: 600; word-break: keep-all; }
/* 스텝 사이 화살표 (chevron) — 마지막 제외 */
.uni-step:not(:last-child)::after { content: 'chevron_right'; font-family: 'Material Symbols Outlined'; position: absolute; right: -1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: #b7c0d0; z-index: 2; }
/* 문제점 vs 업무개선 */
.uni-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.uni-cmp { border-radius: 16px; padding: 1.7rem 1.9rem; }
.uni-cmp.prob { background: #f5f6f8; border: 1px solid #e9edf3; }
.uni-cmp.impr { background: #eef4ff; border: 1px solid #d7e3fb; }
.uni-cmp h5 { margin: 0 0 1.1rem; font-size: 1.12rem; font-weight: 800; }
.uni-cmp.prob h5 { color: #6b7280; }
.uni-cmp.impr h5 { color: var(--main-color-dark); }
.uni-cmp ol { counter-reset: unicmp; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.uni-cmp li { position: relative; padding-left: 2.2rem; color: #5b6474; font-size: .95rem; line-height: 1.6; word-break: keep-all; }
.uni-cmp li::before { counter-increment: unicmp; content: "0" counter(unicmp); position: absolute; left: 0; top: .02em; font-weight: 800; font-size: .82rem; letter-spacing: .02em; }
.uni-cmp.prob li::before { color: #a7b0c0; }
.uni-cmp.impr li { color: #3d4452; }
.uni-cmp.impr li::before { color: var(--main-color); }
@media (max-width: 900px) {
	.uni-flow { grid-template-columns: repeat(2, 1fr); }
	.uni-effect { grid-template-columns: 1fr; }
	.uni-compare { grid-template-columns: 1fr; }
}
/* ── 반응형 보정 (스코프 규칙이 전역 media 를 이겨 안 접히던 문제 등) ── */
@media (max-width: 760px) {
	/* 줄바꿈되면 스텝/플로우 화살표 방향이 어긋나므로 숨김 */
	.uni-flow-step::after, .uni-step::after { display: none; }
	/* 기술 페이지 대시보드는 모바일에서 폭 꽉 채움 */
	.tech-dash .plat-shot-frame:has(img) { width: 100%; }
}
@media (max-width: 560px) {
	/* 2열 카드(스코프)들 모바일 1열 */
	.plat-layout.uni .plat-comp,
	#tech-textile .plat-comp,
	#plat-dt .plat-comp { grid-template-columns: 1fr; }
	.uni-flow { grid-template-columns: 1fr; }
}
/* 가로 오버플로 방지 — 그리드/플렉스 컨테이너가 넓은 자식으로 부모를 밀지 않게 */
.plat-side, .plat-sidenav,
.plat-main, .plat, .plat-platform, .plat-sec, .plat-statement,
.plat-comp, .plat-over, .plat-shots, .plat-cases,
.uni-effect, .uni-steps, .uni-compare, .uni-flow { min-width: 0; }
.plat-ccard, .plat-case, .uni-effect-card, .uni-step, .plat-shot { min-width: 0; }
/* 모바일 사이드메뉴는 항목이 많아도 페이지를 밀지 않고 자체 가로 스크롤로 가둠 */
@media (max-width: 900px) {
	.plat-side { overflow: hidden; }   /* full-bleed(100vw) 유지 — max-width 두면 안 됨 */
	.plat-sidenav { max-width: 100%; -webkit-overflow-scrolling: touch; }
}

/* IoT 기술 사례 카드 — 이미지 + 제목 + 설명 (2열) */
.plat-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.plat-case { display: flex; flex-direction: column; background: #fff; border: 1px solid #e9edf3; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 36px rgba(20,30,60,.05); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.plat-case:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20,30,60,.1); border-color: #d7e3fb; }
.plat-case-img {width: 100%;height: 100%;background: #f4f7fb;display: inline-flex;align-items: center;justify-content: center;}
.plat-case-img img { width: 100%; height: auto; display: block; }
.plat-case-txt { padding: 1.4rem 1.7rem 1.7rem; }
.plat-case-txt h5 { font-size: 1.15rem; font-weight: 800; color: #12141c; margin: 0 0 .6rem; }
.plat-case-txt h5 em { font-style: normal; font-weight: 700; font-size: .8rem; color: var(--main-color-dark); margin-left: .4rem; }
.plat-case-txt p { color: #6b7280; font-size: .95rem; line-height: 1.65; margin: 0; word-break: keep-all; }
@media (max-width: 760px) { .plat-cases { grid-template-columns: 1fr; } }

/* 기술 페이지 — 주요 기능 4개는 2×2 */
#tech-textile .plat-comp { grid-template-columns: repeat(2, 1fr); }
/* 대시보드(.tech-dash) — 박스 없이 상단에 크게 */
.tech-dash .plat-shot-frame { border: 0; background: transparent; box-shadow: none; border-radius: 0; }
.tech-dash .plat-shot-frame:has(img) { width: 70%; margin-inline: auto; }
.tech-dash .plat-shot-frame img { width: 100%; max-height: none; }
.tech-dash:hover .plat-shot-frame { transform: none; box-shadow: none; }
/* 서비스 화면 하단 3개(다중클래스·원격관리·데이터분석) — 한 줄에 3개 나란히(칸 채움) */
#tech-textile .plat-shot-approw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
#tech-textile .plat-shot-approw .plat-shot-frame:has(img) { width: 100%; }
#tech-textile .plat-shot-approw .plat-shot-frame img { width: 100%; max-height: none; }
@media (max-width: 760px) { #tech-textile .plat-shot-approw { grid-template-columns: 1fr; } }

/* HICS 서비스 화면 — 박스(프레임) 없이 이미지 100% 폭 */
#plat-hics .plat-shot-frame { border: 0; background: transparent; box-shadow: none; border-radius: 0; }
#plat-hics .plat-shot-frame:has(img) { width: 100%; max-width: 100%; }
#plat-hics .plat-shot-frame img { width: 100%; height: auto; max-width: 100%; max-height: none; }
#plat-hics .plat-shot:hover .plat-shot-frame { transform: none; box-shadow: none; }
.plat-shot-ph { display: flex; flex-direction: column; align-items: center; gap: .4rem; color: #b3bdcd; background: repeating-linear-gradient(45deg,#f6f8fb,#f6f8fb 12px,#f1f4f8 12px,#f1f4f8 24px); width: 100%; height: 100%; justify-content: center; }
.plat-shot-ph .material-symbols-outlined { font-size: 40px; }
.plat-shot-ph span:not(.material-symbols-outlined) { font-size: .88rem; font-weight: 600; letter-spacing: .02em; }
.plat-shot figcaption { margin: 1rem 0 0; text-align: center; font-size: 1.02rem; font-weight: 700; color: #1a1f36; }
.plat-shot figcaption em { display: block; font-style: normal; font-weight: 500; font-size: .82rem; color: #a7b0c0; margin-top: .25rem; }

/* ===== 반응형 ===== */
@media (max-width: 960px) {
	.plat-hero-cards { grid-template-columns: 1fr; }
	.plat-over { grid-template-columns: repeat(2, 1fr); }
	.plat-feat { grid-template-columns: repeat(2, 1fr); }
	.plat-comp { grid-template-columns: repeat(2, 1fr); }
	.plat-shots { grid-template-columns: 1fr; }
	.plat-shot-approw { grid-template-columns: 1fr; }
	.plat-ocard { min-height: 240px; }
}
@media (max-width: 560px) {
	.plat-over { grid-template-columns: 1fr; }
	.plat-feat { grid-template-columns: 1fr; }
	.plat-comp { grid-template-columns: 1fr; }
}

/* =====================================================================
 * 준비중(빈 페이지) placeholder — 모래시계 아이콘.
 *   원형 배지: 둥둥 떠다님(prepFloat) / 안의 모래시계: 뒤집힘(prepFlip).
 *   page.html 의 page 미연결/본문 없음 분기에서 사용(.prep).
 * ===================================================================== */
.prep { text-align: center; padding: 4rem 1rem 5rem; }
.prep-ic {
	display: inline-flex; align-items: center; justify-content: center;
	width: 110px; height: 110px; margin-bottom: 1.9rem; border-radius: 50%;
	background: linear-gradient(135deg, var(--main-color), var(--main-color-dark));
	box-shadow: 0 18px 40px rgba(26, 148, 255, .32);
	animation: prepFloat 3s ease-in-out infinite;
}
.prep-ic .material-symbols-outlined {
	font-size: 54px; color: #fff;
	animation: prepFlip 2.6s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes prepFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
/* 0~180° 뒤집고 잠깐 멈춤 → 다시 360°(=0)로 이어져 무한 반복 */
@keyframes prepFlip { 0%, 34% { transform: rotate(0deg); } 50%, 84% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }

.prep-tit { font-size: 1.9rem; font-weight: 800; color: #1a1f36; margin: 0 0 .8rem; letter-spacing: -.01em; }
.prep-desc { font-size: 1.05rem; color: #6b7280; line-height: 1.7; margin: 0 0 2.2rem; word-break: keep-all; }
/* 홈으로 버튼 = common.css 조합(btn_main_dark + btn_arrow + btn_shine + btn_l) 그대로 사용 */
/* 관리자 안내 — 연한 블루 info 박스(배지 컬러와 어우러짐) */
.prep-note {
	display: flex; align-items: flex-start; gap: .6rem;
	max-width: 580px; margin: 1.9rem auto 0; padding: .95rem 1.35rem;
	border-radius: 14px; background: #f2f7ff; border: 1px solid #dbe8ff;
	color: #5b6b86; font-size: .92rem; line-height: 1.65; text-align: left; word-break: keep-all;
}
.prep-note .material-symbols-outlined { flex: none; margin-top: .1rem; font-size: 20px; color: var(--main-color-dark); }
.prep-note strong { color: #1a1f36; font-weight: 700; }

@media (max-width: 600px) {
	.prep { padding: 2.5rem 1rem 3.5rem; }
	.prep-ic { width: 90px; height: 90px; margin-bottom: 1.4rem; }
	.prep-ic .material-symbols-outlined { font-size: 44px; }
	.prep-tit { font-size: 1.5rem; }
	.prep-desc { font-size: .98rem; }
	.prep-note { margin-top: 1.6rem; font-size: .86rem; padding: .8rem 1.1rem; }
}

/* =====================================================================
 * 연혁 (.hist) — 상단 전체폭 연대 탭(sticky) + 연대별(좌 큰 라벨 / 우 연도 타임라인 레일).
 *   탭 클릭 = 해당 구간 스크롤 / 스크롤 = 현재 구간 자동 활성(.on). JS = page_script.
 *   HTML: .hist > ul.hist-seg(탭) + .hist-main > section.hist-era > .hist-era-head + .hist-era-body > .hist-year
 * ===================================================================== */
.hist { padding: .5rem 0 2rem; }

/* 상단 히어로 — 회전하는 도트 지구본(순수 CSS) + 영문 헤드라인 */
.hist-hero { position: relative; text-align: center; padding: 3.5rem 1rem 3rem; margin-bottom: 1.5rem; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; min-height: 560px; }
/* 지구본 — 업로드 PNG(도트 구체). 하단에 깔고 위아래 둥실 + 빛 스윕(도트에만 반짝) */
.hist-globe {
	position: absolute; left: 50%; bottom: -8%; width: min(1200px, 116%);
	z-index: 0; pointer-events: none; user-select: none; isolation: isolate;
	animation: histGlobeFloat 7s ease-in-out infinite;
}
.hist-globe-img { display: block; width: 100%; height: auto; }
@keyframes histGlobeFloat {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50%      { transform: translateX(-50%) translateY(-16px); }
}
/* 빛 스윕 — 대각선 빛이 좌→우로 지나감. screen 합성이라 흰 배경엔 무영향, 도트만 반짝 */
.hist-globe-shine {
	position: absolute; inset: 0;
	background: linear-gradient(115deg, rgba(120,170,255,0) 43%, rgba(120,170,255,.55) 50%, rgba(120,170,255,0) 57%);
	background-size: 220% 100%; background-repeat: no-repeat;
	mix-blend-mode: screen;
	animation: histGlobeShine 4.5s ease-in-out infinite;
}
@keyframes histGlobeShine { 0% { background-position: 170% 0; } 55%, 100% { background-position: -70% 0; } }

.hist-hero-inner { position: relative; z-index: 1; }
.hist-hero-eyebrow { color: var(--main-color-dark); font-weight: 800; font-size: 1.25rem; letter-spacing: .05em; margin: 0 0 1.4rem; }
.hist-hero-tit { font-size: clamp(2.6rem, 6.4vw, 5rem) !important; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: #111; margin: 0 0 1.8rem; }
.hist-hero-tit .pt { color: var(--main-color-dark); }
.hist-hero-sub { color: #6b7280; font-size: clamp(1.05rem, 1.7vw, 1.2rem) !important; line-height: 1.75; margin: 0; word-break: keep-all; }
@media (max-width: 600px) { .hist-hero { padding: 2.5rem 1rem 3rem; min-height: 340px; } .hist-hero-tit { margin-bottom: 1.1rem; } }

/* 상단 연대 탭 = common.css .nav_tabsSt3(알약) 기반. 전체폭 + 상단 sticky */
.hist-seg.nav_tabsSt3 { --tab-h: 64px; --stick: 18px; display: flex; flex-wrap: wrap; width: 100%; margin: 0 0 3rem; padding: 8px; background: #eef1f7; border-radius: 999px; position: sticky; top: var(--stick); z-index: 6; box-shadow: 0 6px 20px rgba(20, 30, 60, .06); }
/* 탭바 위 틈(스크롤 시 뒤 콘텐츠가 비치는 부분)을 전체폭 흰 배경으로 가림 — 탭바와 함께 sticky */
.hist-seg.nav_tabsSt3::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); top: calc(-1 * var(--stick)); width: 100vw; height: var(--stick); background: #fff; }
.hist-seg > li { flex: 1; min-width: 120px; }
.hist-seg li a { width: 100%; border-radius: 999px; color: #8a93a6; font-weight: 800; font-size: 1.05rem; }
.hist-seg li a:hover { color: #1a1f36; background: rgba(0, 0, 0, .03); }

/* 연대 구간 — 좌: 큰 라벨(sticky) / 우: 연도 리스트(세로 레일) */
.hist-main { min-width: 0; }
.hist-era { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; column-gap: 3rem; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid #edf0f5; scroll-margin-top: 116px; }
.hist-era:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

/* 좌측 큰 라벨 */
.hist-era-head { position: sticky; top: 112px; align-self: start; }
.hist-era-since { display: block; color: var(--main-color-dark); font-weight: 800; font-size: 1rem; letter-spacing: .02em; margin: 0 0 .5rem; }
.hist-era-tit { font-size: 2.6rem !important; font-weight: 900 !important; color: #1f2642; letter-spacing: -.02em; line-height: 1.05; margin: 0; white-space: nowrap; }

/* 우측 연도 리스트 + 세로 레일(왼쪽 선 + 연도별 점) */
.hist-era-body { position: relative; padding-left: 2.6rem; border-left: 2px solid #e3e7ee; }
.hist-year { display: grid; grid-template-columns: 96px 1fr; gap: 1.6rem; padding-bottom: 2.6rem; position: relative; }
.hist-year:last-child { padding-bottom: 0; }
.hist-year::before { content: ''; position: absolute; left: -2.6rem; top: .55rem; transform: translateX(-50%); width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 3px solid #000; box-shadow: 0 0 0 5px rgba(0, 0, 0, .10); }
.hist-year-y { font-size: 2rem; font-weight: 800; color: #aeb6c4; line-height: 1.1; }
.hist-era:first-child .hist-year:first-child .hist-year-y { color: var(--main-color-dark); }   /* 최신 연도 강조 */
.hist-events { display: flex; flex-direction: column; gap: .7rem; padding-top: .3rem; }
.hist-desc { position: relative; padding-left: 1rem; color: #4b5563; line-height: 1.6; word-break: keep-all; }
.hist-desc::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #c2ccdb; }

/* 구간 내 소제목 + 인증·협약 뱃지 목록(2열) */
.hist-sub { margin: 1.4rem 0 .9rem; font-size: 1.1rem; font-weight: 800; color: #1a1f36; }
.hist-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1.8rem; }
.hist-badge { position: relative; padding-left: 1rem; color: #4b5563; line-height: 1.5; word-break: keep-all; }
.hist-badge::before { content: ''; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--main-color-dark); }

/* 태블릿 이하 — 좌 라벨/우 리스트 1단 스택 */
@media (max-width: 900px) {
	.hist-seg.nav_tabsSt3 { --tab-h: 52px; }
	.hist-seg li a { font-size: .92rem; }
	.hist-era { grid-template-columns: 1fr; column-gap: 0; row-gap: 1.4rem; scroll-margin-top: 100px; }
	.hist-era-head { top: 96px; }
	.hist-era-head { position: static; }
	.hist-era-tit { font-size: 2.2rem !important; white-space: normal; }
	.hist-era-body { padding-left: 2rem; }
	.hist-year::before {left: -2rem;}
}
@media (max-width: 600px) {
	.hist-era-tit { font-size: 1.9rem !important; }
	.hist-year { grid-template-columns: 64px 1fr; gap: 1rem; }
	.hist-year-y { font-size: 1.5rem; }
	.hist-badges { grid-template-columns: 1fr; }
}
