@charset "utf-8";
.container { padding-top: 0; }
.br-m { display: none; }

/* ==============================================
   K-SIMA AX 연구소 페이지 스타일
   voucher 사이트 디자인 시스템 준수
   — De-AI Styling: 솔리드 다크 + 절제된 단색 보더
   ============================================== */

/* --- K-SIMA 디자인 토큰 --- */
:root {
  --ks-bg-main: #1A1A1A;
  --ks-bg-card: #292929;
  --ks-bg-fade: linear-gradient(180deg, rgba(26,26,26,0) 0%, rgba(26,26,26,1) 100%);
  --ks-text-primary: #FFFFFF;
  --ks-text-secondary: #E4E4E4;
  --ks-text-tertiary: #BABABA;
  --ks-text-muted: #757575;
  --ks-border-card: #3C3C3C;
  --ks-border-light: #4D4D4D;
  --ks-point-primary: #464DF2;
  --ks-point-green: #66CBA4;
  --ks-point-blue: #464DF2;
  --ks-point-pink: #FF1066;
  --ks-point-indigo: #6168FF;
  --ks-point-mint: #66CBA4;
}

/* --- 공통 --- */
.ctt_ksima { color: #fff; }
.ctt_ksima .inner {
  max-width: calc(1180px + 40px);
  margin: 0 auto;
  padding: 0 20px;
}

/* 섹션 레이블 */
.ks-section__label {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--ks-point-primary);
  margin-bottom: 16px;
}
.ks-section__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--ks-text-primary);
  margin-bottom: 20px;
  line-height: 1.5;
}
.ks-section__desc {
  font-size: 18px;
  font-weight: 300;
  color: var(--ks-text-tertiary);
  line-height: 1.8;
  margin-bottom: 50px;
}
.ks-subsection__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--ks-text-primary);
  margin: 60px 0 30px;
}

/* --- 배지 (투명 배경 + 단색 보더) --- */
.ks-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 500;
  vertical-align: middle;
  background: transparent;
}
.ks-badge--green {
  color: var(--ks-point-green);
  border: 1px solid var(--ks-border-light);
}
.ks-badge--purple {
  color: var(--ks-point-primary);
  border: 1px solid var(--ks-border-light);
}
.ks-badge--amber {
  color: var(--ks-text-muted);
  border: 1px solid var(--ks-border-light);
}
.ks-badge--sm {
  font-size: 12px;
  padding: 3px 10px;
  margin-left: 8px;
}
.ks-badge--float {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

/* --- 버튼 --- */
.ks-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.ks-btn--primary {
  background: var(--ks-point-primary);
  color: #fff;
}
.ks-btn--primary:hover {
  box-shadow: 0 6px 30px rgba(70, 77, 242, .35);
  transform: translateY(-2px);
  color: #fff;
}
.ks-btn--secondary {
  background: transparent;
  color: var(--ks-text-secondary);
  border: 1px solid var(--ks-border-card);
}
.ks-btn--secondary:hover {
  border-color: var(--ks-point-primary);
  color: #fff;
}

/* --- 알림 배너 (좌측 컬러 바 스타일) --- */
.ks-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 10px;
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ks-text-secondary);
  background: var(--ks-bg-card);
  border: none;
  border-left: 4px solid var(--ks-point-primary);
}
.ks-notice--green {
  border-left-color: var(--ks-point-green);
}
.ks-notice--purple {
  border-left-color: var(--ks-point-primary);
}
.ks-notice--amber {
  border-left-color: var(--ks-text-muted);
}
.ks-notice__badge {
  flex-shrink: 0;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  color: var(--ks-point-green);
  border: 1px solid var(--ks-border-light);
  margin-top: 2px;
}
.ks-notice__badge--amber {
  color: var(--ks-text-muted);
  border-color: var(--ks-border-light);
  background: transparent;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  padding: 0;
}
.ks-notice p { flex: 1; }

/* --- 플레이스홀더 (이미지 대체) --- */
.ks-placeholder {
  background: var(--ks-bg-card);
  border: 2px dashed #424242;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #707070;
  overflow: hidden;
}
.ks-placeholder span {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
.ks-placeholder small {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  padding: 0 20px;
}
.ks-placeholder--wide {
  width: 100%;
  height: 340px;
  margin-bottom: 40px;
}
.ks-placeholder--card {
  width: 100%;
  height: 160px;
  margin-top: 16px;
  border-radius: 10px;
}
.ks-placeholder--scene {
  width: 100%;
  height: 320px;
}
.ks-placeholder--thumb {
  width: 100%;
  aspect-ratio: 270 / 140;
}
.ks-placeholder--ref {
  width: 100%;
  height: 160px;
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}
.ks-ref-card__placeholder {
  width: 100%;
  height: 120px;
  border-radius: 10px 10px 0 0;
  background: var(--ks-bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,.08);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- 그리드 시스템 --- */
.ks-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}
.ks-grid--2col { grid-template-columns: repeat(2, 1fr); }
.ks-grid--3col { grid-template-columns: repeat(3, 1fr); }
.ks-grid--4col { grid-template-columns: repeat(4, 1fr); }
.ks-grid--gap30 { gap: 30px; }
.ks-grid--ref {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

/* 메인 씬 이미지 (PoC 2컬럼) */
.ks-scene-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--ks-border-card, #3C3C3C);
  display: block;
}
.ks-grid--gap30 .ks-lightbox-trigger {
  display: block;
  text-decoration: none;
  transition: transform .3s ease;
  overflow: hidden;
  border-radius: 14px;
}
.ks-grid--gap30 .ks-lightbox-trigger:hover {
  transform: translateY(-4px);
}

/* ============================================
   섹션 01 — Hero (company 패턴 동일)
   ============================================ */
.ctt_ksima .sec_1 {
  width: 100%;
  height: 100%;
  position: relative;
}
/* con_1: 비디오 배경 + 타이틀 (company 패턴) */
.ctt_ksima .sec_1 .con_1 {
  width: 100%;
  height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  padding-bottom: 180px;
}
.ctt_ksima .sec_1 .con_1 .video_bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  overflow: hidden;
}
.ctt_ksima .sec_1 .con_1 .video_bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ctt_ksima .sec_1 .con_1 .gradi_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(./img/sec1_bg.png) center/cover no-repeat;
  z-index: 5;
}
.ctt_ksima .sec_1 .con_1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(180deg, rgba(26,26,26,0) 0%, rgba(26,26,26,1) 100%);
  z-index: 5;
}
.ctt_ksima .sec_1 .con_1 .con__tit {
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  position: relative;
  z-index: 15;
  text-align: center;
  line-height: 1.8;
  word-break: keep-all;
}
.ctt_ksima .sec_1 .con_1 .con__tit p {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 40px;
  margin-top: 16px;
}

/* con_2: 배지+설명+태그+CTA (company 패턴) */
.ctt_ksima .sec_1 .con_2 {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #1A1A1A;
  position: relative;
  z-index: 8;
  padding: 0 20px 80px;
}
.ctt_ksima .sec_1 .con_2 .con__desc {
  font-size: 18px;
  font-weight: 300;
  line-height: 40px;
  color: var(--ks-text-secondary);
  text-align: center;
  margin: 0 0 30px;
  word-break: keep-all;
}
.ks-hero__badges {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.ks-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
  list-style: none;
  padding: 0;
  max-width: 600px;
}
.ks-tags li {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--ks-border-light);
  border-radius: 3px;
  font-size: 14px;
  color: var(--ks-text-tertiary);
}

/* ============================================
   섹션 02 — 자체 핵심 기술
   ============================================ */
.ctt_ksima .sec_2 {
  background: var(--ks-bg-main);
  padding: 100px 0;
}
.ks-card {
  background: var(--ks-bg-card);
  border-radius: 10px;
  padding: 30px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--ks-border-card);
}
.ks-card:hover {
  transform: translateY(-4px);
}
.ks-card--green:hover {
  border-color: var(--ks-point-green);
}
.ks-card__dot {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ks-point-green);
}
.ks-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ks-text-primary);
}
.ks-card p {
  font-size: 15px;
  color: var(--ks-text-tertiary);
  line-height: 1.7;
}

/* ============================================
   섹션 03 — PoC: 미들어스
   ============================================ */
.ctt_ksima .sec_3 {
  background: var(--ks-bg-main);
  padding: 100px 0;
}
.ks-poc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}
.ks-poc-detail__text h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--ks-text-primary);
}
.ks-poc-detail__text > p {
  font-size: 15px;
  color: var(--ks-text-tertiary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.ks-checklist {
  list-style: none;
  padding: 0;
}
.ks-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--ks-text-secondary);
  line-height: 1.6;
}
.ks-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--ks-point-green);
  font-weight: 700;
}
.ks-poc-detail__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ks-poc-detail__gallery .ks-lightbox-trigger {
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease;
  display: block;
}
.ks-poc-detail__gallery .ks-lightbox-trigger:hover {
  transform: translateY(-2px);
}
.ks-poc-detail__gallery .ks-thumb-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--ks-border-card, #3C3C3C);
  filter: brightness(.85) contrast(.9);
  transition: filter .3s ease;
  display: block;
  background: #1a1a1a;
}
.ks-poc-detail__gallery .ks-lightbox-trigger:hover .ks-thumb-img {
  filter: brightness(1) contrast(1);
}
.ks-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.ks-kpi__item {
  background: var(--ks-bg-card);
  border: 1px solid var(--ks-border-card);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.3s ease;
}
.ks-kpi__item:hover {
  border-color: var(--ks-point-green);
}
.ks-kpi__item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ks-point-green);
  margin-bottom: 8px;
}
.ks-kpi__item span {
  font-size: 13px;
  color: var(--ks-text-tertiary);
  line-height: 1.5;
}

/* ============================================
   섹션 04 — 연구 로드맵
   ============================================ */
.ctt_ksima .sec_4 {
  background: var(--ks-bg-main);
  padding: 100px 0;
}
.ks-timeline {
  display: flex;
  gap: 0;
  position: relative;
  margin: 50px 0 40px;
}
.ks-timeline__line {
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--ks-point-primary), var(--ks-point-blue), var(--ks-point-green));
  border-radius: 2px;
  z-index: 0;
}
.ks-timeline__phase {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}
.ks-timeline__num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 20px;
  background: var(--ks-bg-card);
}
.ks-timeline__phase--1 .ks-timeline__num {
  border: 2px solid var(--ks-point-primary);
}
.ks-timeline__phase--2 .ks-timeline__num {
  border: 2px solid var(--ks-point-blue);
}
.ks-timeline__phase--3 .ks-timeline__num {
  border: 2px solid var(--ks-point-green);
}
.ks-timeline__phase h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ks-point-primary);
  margin-bottom: 6px;
}
.ks-timeline__phase h3 span {
  color: var(--ks-text-muted);
  font-weight: 400;
  margin-left: 6px;
}
.ks-timeline__phase h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ks-text-primary);
  margin-bottom: 12px;
}
.ks-timeline__phase p {
  font-size: 14px;
  color: var(--ks-text-tertiary);
  line-height: 1.7;
}

/* ============================================
   섹션 05 — AI 페르소나 프레임워크
   ============================================ */
.ctt_ksima .sec_5 {
  background: var(--ks-bg-main);
  padding: 100px 0;
}
.ks-agit-card {
  --agit-color: var(--ks-point-primary);
  background: var(--ks-bg-card);
  border: 1px solid var(--ks-border-card);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s ease;
  border-top: 3px solid var(--agit-color);
}
.ks-agit-card:hover {
  transform: translateY(-4px);
  border-color: var(--agit-color);
  border-top-color: var(--agit-color);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}
.ks-agit-card__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: transparent;
  color: var(--agit-color);
  transition: all 0.3s ease;
}
.ks-agit-card:hover .ks-agit-card__icon {
  background: rgba(255, 255, 255, .06);
}
.ks-agit-card__num {
  font-size: 12px;
  color: var(--ks-text-muted);
  font-weight: 600;
}
.ks-agit-card__body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ks-text-primary);
  margin: 4px 0 8px;
}
.ks-agit-card__body p {
  font-size: 14px;
  color: var(--ks-text-tertiary);
  line-height: 1.6;
}

/* ============================================
   섹션 06 — 글로벌 기술 동향
   ============================================ */
.ctt_ksima .sec_6 {
  background: var(--ks-bg-main);
  padding: 100px 0;
}
.ks-ref-card {
  background: var(--ks-bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ks-border-card);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.ks-ref-card:hover {
  transform: translateY(-4px);
  border-color: var(--ks-border-light);
}
.ks-ref-card__img {
  position: relative;
}
.ks-ref-card__body {
  padding: 24px;
}
.ks-ref-card__org {
  font-size: 12px;
  color: var(--ks-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ks-ref-card__body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ks-text-primary);
  margin: 8px 0 10px;
}
.ks-ref-card__body > p {
  font-size: 14px;
  color: var(--ks-text-tertiary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.ks-ref-card__point {
  background: var(--ks-bg-main);
  border: 1px solid var(--ks-border-card);
  border-radius: 8px;
  padding: 12px 16px;
}
.ks-ref-card__point b {
  display: block;
  font-size: 11px;
  color: var(--ks-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.ks-ref-card__point span {
  font-size: 13px;
  color: var(--ks-text-tertiary);
  line-height: 1.5;
}

/* ============================================
   섹션 07 — 실적 & 인증
   ============================================ */
.ctt_ksima .sec_7 {
  background: var(--ks-bg-main);
  padding: 100px 0;
}
.ks-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.ks-stats__item {
  background: var(--ks-bg-card);
  border: 1px solid var(--ks-border-card);
  border-radius: 10px;
  padding: 30px 16px;
  text-align: center;
  transition: border-color 0.3s ease;
}
.ks-stats__item:hover {
  border-color: var(--ks-point-primary);
}
.ks-stats__item strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ks-text-primary);
  margin-bottom: 8px;
}
.ks-stats__item strong span {
  color: var(--ks-point-primary);
  font-size: 1.1rem;
}
.ks-stats__item p {
  font-size: 13px;
  color: var(--ks-text-tertiary);
}
.ks-track-card {
  background: var(--ks-bg-card);
  border: 1px solid var(--ks-border-card);
  border-radius: 10px;
  padding: 30px;
  transition: border-color 0.3s ease;
}
.ks-track-card:hover {
  border-color: var(--ks-point-primary);
}
.ks-track-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ks-text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ks-border-card);
}
.ks-track-card ul {
  list-style: none;
  padding: 0;
}
.ks-track-card li {
  font-size: 14px;
  color: var(--ks-text-tertiary);
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}
.ks-track-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ks-point-primary);
}
.ks-track-card li b {
  color: var(--ks-text-primary);
}

/* --- 특허 IP 카드 --- */
.ks-cert-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--ks-bg-card);
  border: 1px solid var(--ks-border-card);
  border-radius: 10px;
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
  cursor: pointer;
}
.ks-cert-card:hover {
  transform: translateY(-3px);
  border-color: var(--ks-point-green);
}
.ks-cert-card__thumb {
  flex-shrink: 0;
  width: 50px;
  height: 70px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--ks-border-card);
}
.ks-cert-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.85) contrast(.9);
}
.ks-cert-card__body {
  flex: 1;
  min-width: 0;
}
.ks-cert-card__icon {
  width: 20px;
  height: 20px;
  color: var(--ks-text-muted);
  margin-bottom: 6px;
}
.ks-cert-card:hover .ks-cert-card__icon {
  color: var(--ks-point-green);
}
.ks-cert-card__body h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ks-text-primary);
  line-height: 1.5;
  margin-bottom: 4px;
}
.ks-cert-card__meta {
  font-size: 12px;
  color: var(--ks-text-muted);
  line-height: 1.5;
}

/* --- SW 저작권 타임라인 --- */
.ks-sw-timeline {
  position: relative;
  padding-left: 40px;
}
.ks-sw-timeline__line {
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ks-border-card);
  border-radius: 1px;
}
.ks-sw-timeline__group {
  position: relative;
  margin-bottom: 30px;
}
.ks-sw-timeline__group:last-child {
  margin-bottom: 0;
}
.ks-sw-timeline__year {
  position: absolute;
  left: -40px;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--ks-bg-card);
  border: 2px solid var(--ks-point-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--ks-point-primary);
  z-index: 1;
}
.ks-sw-timeline__items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ks-sw-item {
  display: block;
  background: var(--ks-bg-card);
  border: 1px solid var(--ks-border-card);
  border-radius: 10px;
  padding: 14px 18px;
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
  cursor: pointer;
  min-width: 200px;
  flex: 1;
  max-width: 320px;
}
.ks-sw-item:hover {
  border-color: var(--ks-point-primary);
  transform: translateY(-2px);
}
.ks-sw-item__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ks-text-primary);
  margin-bottom: 4px;
}
.ks-sw-item__meta {
  display: block;
  font-size: 12px;
  color: var(--ks-text-muted);
}
.ks-sw-item__corp {
  display: block;
  font-size: 11px;
  color: #555;
  margin-top: 4px;
}

/* --- 인증 아이콘 카드 --- */
.ks-cert-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--ks-bg-card);
  border: 1px solid var(--ks-border-card);
  border-radius: 10px;
  padding: 30px 20px;
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
  cursor: pointer;
}
.ks-cert-icon-card:hover {
  border-color: var(--ks-point-green);
  transform: translateY(-3px);
}
.ks-cert-icon-card:hover .ks-cert-icon-card__icon svg {
  color: var(--ks-point-green);
}
.ks-cert-icon-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}
.ks-cert-icon-card__icon svg {
  width: 40px;
  height: 40px;
  color: var(--ks-text-muted);
  transition: color .3s ease;
}
.ks-cert-icon-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ks-text-primary);
  margin-bottom: 6px;
}
.ks-cert-icon-card > span {
  font-size: 12px;
  color: var(--ks-text-muted);
}

/* ============================================
   섹션 08 — CTA
   ============================================ */
.ctt_ksima .sec_8 {
  background: var(--ks-bg-main);
  padding: 120px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--ks-border-card);
}
.ctt_ksima .sec_8 .inner {
  position: relative;
  z-index: 1;
}
.ctt_ksima .sec_8 .ks-section__label {
  text-align: center;
}
.ks-cta__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--ks-text-primary);
  margin-bottom: 20px;
}
.ks-cta__desc {
  font-size: 18px;
  color: var(--ks-text-tertiary);
  line-height: 1.8;
  margin-bottom: 40px;
}
.ks-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   다이어그램 (공통)
   ============================================ */
.ks-diagram {
  margin-bottom: 40px;
}
.ks-diagram img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--ks-border-card, #3C3C3C);
  background: #222;
}

/* ============================================
   Lightbox 모달
   ============================================ */
.ks-lb {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.ks-lb--open {
  opacity: 1;
  visibility: visible;
}
.ks-lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .85);
}
.ks-lb__wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 85vh;
}
.ks-lb__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.ks-lb__counter {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}
.ks-lb__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .7;
  transition: opacity .2s;
}
.ks-lb__close:hover { opacity: 1; }
.ks-lb__prev,
.ks-lb__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, .1);
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .6;
  transition: opacity .2s, background .2s;
}
.ks-lb__prev:hover,
.ks-lb__next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, .2);
}
.ks-lb__prev { left: 20px; }
.ks-lb__next { right: 20px; }

/* ============================================
   반응형 — Tablet (900px)
   ============================================ */
@media (max-width: 900px) {
  .br-m { display: block; }

  .ks-grid--2col { grid-template-columns: 1fr; }
  .ks-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .ks-grid--4col { grid-template-columns: repeat(2, 1fr); }
  .ks-grid--ref { grid-template-columns: 1fr; }

  .ctt_ksima .sec_1 .con_1 { height: 500px; padding-bottom: 140px; }
  .ctt_ksima .sec_1 .con_1 .con__tit { font-size: 22px; line-height: 1.6; }
  .ctt_ksima .sec_1 .con_1 .con__tit p { font-size: 14px; line-height: 2.3; }
  .ctt_ksima .sec_1 .con_2 { padding: 0 20px 60px; }
  .ctt_ksima .sec_1 .con_2 .con__desc { font-size: 15px; line-height: 30px; }
  .ctt_ksima .sec_1 .con_2 .con__desc br { display: none; }

  .ks-timeline {
    flex-direction: column;
    gap: 30px;
  }
  .ks-timeline__line { display: none; }
  .ks-timeline__phase {
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 0;
  }
  .ks-timeline__num {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 20px;
    margin: 0;
  }

  .ks-poc-detail { grid-template-columns: 1fr; }
  .ks-kpi { grid-template-columns: repeat(2, 1fr); }
  .ks-stats { grid-template-columns: repeat(3, 1fr); }

  .ctt_ksima .sec_2,
  .ctt_ksima .sec_3,
  .ctt_ksima .sec_4,
  .ctt_ksima .sec_5,
  .ctt_ksima .sec_6,
  .ctt_ksima .sec_7 { padding: 70px 0; }
  .ctt_ksima .sec_8 { padding: 80px 0; }

  .ks-section__title { font-size: 24px; }
  .ks-section__desc { font-size: 16px; margin-bottom: 30px; }
  .ks-cta__title { font-size: 24px; }
  .ks-cta__desc { font-size: 16px; }

  .ks-diagram img { max-width: 100%; }
  .ks-scene-img { aspect-ratio: 4 / 3; }

  .ks-sw-item { max-width: none; }

  .ks-lb__prev,
  .ks-lb__next {
    width: 44px;
    height: 44px;
    font-size: 32px;
  }
  .ks-lb__prev { left: 10px; }
  .ks-lb__next { right: 10px; }
}

/* ============================================
   반응형 — Mobile (600px)
   ============================================ */
@media (max-width: 600px) {
  .ks-grid--3col { grid-template-columns: 1fr; }
  .ks-grid--4col { grid-template-columns: repeat(2, 1fr); }

  .ctt_ksima .sec_1 .con_1 { height: 420px; padding-bottom: 120px; }
  .ctt_ksima .sec_1 .con_1 .con__tit { font-size: 20px; }
  .ctt_ksima .sec_1 .con_1 .con__tit p { font-size: 13px; }
  .ctt_ksima .sec_1 .con_2 { padding: 0 15px 50px; }
  .ctt_ksima .sec_1 .con_2 .con__desc { font-size: 14px; line-height: 28px; }

  .ks-tags li { font-size: 12px; padding: 4px 10px; }

  .ks-badge--sm { display: block; margin: 8px 0 0; }

  .ks-section__title { font-size: 20px; }
  .ks-section__desc { font-size: 14px; }

  .ks-notice { flex-direction: column; gap: 10px; padding: 16px; padding-left: 20px; font-size: 14px; }

  .ks-kpi { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ks-kpi__item { padding: 16px 12px; }
  .ks-kpi__item strong { font-size: 1.2rem; }

  .ks-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ks-stats__item { padding: 20px 12px; }
  .ks-stats__item strong { font-size: 1.5rem; }

  .ks-timeline__phase h4 { font-size: 16px; }
  .ks-timeline__phase p { font-size: 13px; }

  .ks-agit-card { padding: 20px; }
  .ks-agit-card__body h3 { font-size: 15px; }
  .ks-agit-card__body p { font-size: 13px; }

  .ks-ref-card__body { padding: 18px; }
  .ks-ref-card__body h3 { font-size: 17px; }

  .ks-poc-detail__gallery { grid-template-columns: 1fr 1fr; gap: 10px; }

  .ks-cta__title { font-size: 20px; }
  .ks-cta__desc { font-size: 14px; }
  .ks-cta__desc br { display: none; }
  .ks-btn { padding: 12px 24px; font-size: 14px; }

  .ks-sw-timeline { padding-left: 30px; }
  .ks-sw-timeline__year {
    left: -30px;
    width: 24px;
    height: 24px;
    font-size: 9px;
  }
  .ks-sw-item {
    min-width: 0;
    max-width: none;
    padding: 10px 14px;
  }
  .ks-sw-item__name { font-size: 13px; }

  .ks-cert-card { padding: 16px; gap: 12px; }
  .ks-cert-card__body h4 { font-size: 13px; }

  .ks-lb__wrap { max-width: 95vw; }
  .ks-lb__img { max-width: 95vw; }
  .ks-lb__prev,
  .ks-lb__next {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  .ks-lb__prev { left: 6px; }
  .ks-lb__next { right: 6px; }
  .ks-lb__close {
    top: 10px;
    right: 10px;
    font-size: 28px;
    width: 40px;
    height: 40px;
  }
}
