/* ============================================================
   screen-ui.css — D&S DIES(dsdies) 서브페이지 공통 UI
   ------------------------------------------------------------
   규칙: 1rem=10px / 컨테이너 1200px 패딩 없음 / Noto Sans KR
        폰트 4단계 3.6·2.4·1.8·1.5rem / PC~480px 반응형
   포인트: 블루 #195ccb (원본 실측: 타이틀 언더라인·연혁 연도·구 사이트 hover)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; }
body {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #444;
  word-break: keep-all;
}
img { max-width: 100%; height: auto; vertical-align: top; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }

:root {
  --point: #195ccb;
  --navy: #143a6e;
  --tit: #2b2b2b;
  --txt: #444;
  --txt-sub: #666;
  --line: #cacaca;
  --line-soft: #e4eaf2;
  --bg-soft: #f4f7fb;
  --shadow-card: 0 0.8rem 2.4rem rgba(20, 58, 110, 0.08);
}

.sub-page { overflow: hidden; }
.sub-inner { width: 1200px; max-width: 100%; margin: 0 auto; }
.sub-section { padding: 8rem 0 12rem; }

/* 좌측 정렬 타이틀 (리프레시: 영문 포인트 라벨 + 볼드 타이틀) */
.sub-title-wrap { margin-bottom: 4rem; text-align: center; }
.sub-title-wrap::after { content: ""; display: block; width: 5rem; height: 0.3rem; margin: 1.8rem auto 0; border-radius: 0.2rem; background: linear-gradient(90deg, var(--point), var(--navy)); }
.sec-label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--point);
}
.sub-title {
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--tit);
  letter-spacing: -0.02em;
}

/* 공통 카드 */
.ds-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 1.2rem;
  box-shadow: var(--shadow-card);
}
.sub-title-desc { margin-top: 1.2rem; font-size: 1.5rem; color: var(--txt-sub); }

.blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.break-cjk { word-break: break-all; } /* 공백 없는 중문 주소 등 개행 허용 */
.sub-table-wrap { overflow-x: auto; }
.sub-table {
  width: 100%;
  min-width: 76rem;
  border-collapse: collapse;
  border-top: 2px solid var(--navy);
  font-size: 1.8rem;
}
.sub-table th, .sub-table td {
  padding: 1.4rem 2rem;
  border: 1px solid var(--line-soft);
  vertical-align: middle;
  text-align: left;
}
.sub-table th { background: var(--bg-soft); font-weight: 700; color: var(--navy); }

@media (max-width: 1240px) { .sub-inner { padding: 0 3rem; } }
@media (max-width: 1024px) { .sub-section { padding: 6rem 0 9rem; } }
@media (max-width: 768px)  { .sub-title { font-size: 3rem; } }
@media (max-width: 480px)  {
  html { font-size: 56.25%; }
  .sub-inner { padding: 0 2rem; }
  .sub-section { padding: 5rem 0 7rem; }
}

/* ============================================================
   회사소개 > 회사개요 (pages/company.php)
   원본 통이미지 1493100886132449.jpg (1200×1635) 실측 기반
   ============================================================ */
.company-page .sub-section { padding: 2rem 0 7rem; }
.company-page .company-history { padding: 0 0 10rem; }

/* 로고 (중앙) */
.company-brand { margin: 0 0 3.6rem; text-align: center; }
.company-brand img { width: 45.8rem; }

/* 본사/법인 사진 2단 (원본 폭 630:542, 간격 28px) */
.company-photos { display: flex; justify-content: space-between; margin-bottom: 2.8rem; }
.company-photo { margin: 0; border-radius: 1.2rem; overflow: hidden; box-shadow: var(--shadow-card); }
.company-photo--kr { width: 52.5%; }
.company-photo--cn { width: 45.2%; }
.company-photo img { width: 100%; }

/* 회사개요 표 — 라운드 박스 + 소프트 라인, 좌측 라벨 셀 연블루그레이 */
.company-page .sub-table-wrap { border: 1px solid var(--line-soft); border-radius: 1.2rem; }
.company-table {
  width: 100%;
  min-width: 90rem;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1.8rem;
}
.company-table th, .company-table td {
  padding: 1rem 1.8rem;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  overflow-wrap: break-word;   /* 긴 문자열이 셀 밖으로 튀어나오지 않게 */
  word-wrap: break-word;
}
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
/* 라벨(헤더) 열: colgroup(.cg-label)로 폭 14.5rem 고정(대폭 축소) + 내용과 동일한 1.8rem. 값 열은 남는 폭 균등 배분.
   ※ th에 직접 width를 주면 overflow 래퍼 안에서 무시되는 브라우저가 있어 colgroup으로 지정 */
.company-table col.cg-label { width: 14.5rem; }
.company-table th { white-space: nowrap; padding-left: 1.4rem; padding-right: 1.4rem; font-size: 1.8rem; background: var(--bg-soft); font-weight: 700; color: var(--navy); }
.company-table p { line-height: 1.7; }

/* · 불릿 목록 (본사 및 공장 / 월평균 생산량) */
.company-dotlist li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.7;
}
.company-dotlist li::before { content: "\00b7"; position: absolute; left: 0; font-weight: 700; }

/* 모바일: 가로 스크롤 대신 라벨→값 세로 리플로우(카드형 목록) */
@media (max-width: 768px) {
  .company-page .sub-table-wrap { overflow: hidden; }
  .company-table { min-width: 0; }
  .company-table, .company-table tbody, .company-table tr, .company-table th, .company-table td { display: block; width: auto; }
  .company-table th { width: auto; white-space: normal; font-size: 1.6rem; padding: 1rem 2rem 0.6rem; border-bottom: none; color: var(--point); }
  .company-table td { padding: 0 2rem 1.6rem; border-bottom: 1px solid var(--line-soft); font-size: 1.6rem; }
  .company-table tr:last-child td:last-child { border-bottom: none; }
}

/* 걸어온 길 — 2단 + 연대별 타임라인(세로선+도트) */
.history-cols { display: flex; }
.history-col { width: 50%; }
.history-col:first-child { padding-right: 5rem; }
.history-col + .history-col { padding-left: 1rem; }
.history-group + .history-group { margin-top: 5rem; }
.history-decade { font-size: 2.4rem; font-weight: 800; color: var(--navy); margin-bottom: 2.4rem; }
.history-list { position: relative; padding-left: 2.4rem; }
.history-list::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 0.2rem;
  background: var(--line-soft);
}
.history-item { position: relative; display: flex; align-items: flex-start; }
.history-item::before {
  content: "";
  position: absolute;
  left: -2.45rem;
  top: 0.85rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: #fff;
  border: 0.2rem solid var(--point);
}
.history-item + .history-item { margin-top: 1.4rem; }
.history-date {
  flex: 0 0 7rem;
  margin-right: 1.8rem;
  text-align: right;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--point);
  line-height: 1.7;
}
.history-desc { flex: 1; font-size: 1.8rem; line-height: 1.7; color: var(--txt); }

/* ── 회사개요 반응형 ───────────────────────────────────────── */
@media (max-width: 768px) {
  .company-brand img { width: 36rem; max-width: 86%; }
  .company-photos { display: block; }
  .company-photo--kr, .company-photo--cn { width: 100%; }
  .company-photo + .company-photo { margin-top: 2rem; }
  .history-cols { display: block; }
  .history-col { width: 100%; }
  .history-col:first-child { padding-right: 0; }
  .history-col + .history-col { border-left: none; padding-left: 0; margin-top: 5rem; }
}
@media (max-width: 480px) {
  .company-page .sub-section { padding: 1rem 0 5rem; }
  .company-page .company-history { padding: 0 0 7rem; }
  .history-date { flex-basis: 6.4rem; margin-right: 1.4rem; }
}

/* ============================================================
   회사소개 > CEO 인사말 (pages/ceo.php)
   ============================================================ */
.ceo-layout { display: flex; align-items: flex-start; }
.ceo-photo { flex: 0 0 36%; margin: 0; }
.ceo-photo img { width: 100%; }
.ceo-body { flex: 1; padding-left: 6rem; }

/* 사훈/품질철학 카드 (원본 금색 액자 리디자인) */
.ceo-mottos { display: flex; margin-bottom: 4rem; }
.ceo-motto { flex: 1; padding: 2.8rem 2.4rem; text-align: center; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 1.2rem; }
.ceo-motto + .ceo-motto { margin-left: 2.4rem; }
.ceo-motto-label {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.2rem 1.4rem;
  border-radius: 2rem;
  background: var(--point);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}
.ceo-motto-main { display: block; font-size: 3.6rem; font-weight: 800; color: var(--navy); letter-spacing: 0.18em; line-height: 1.3; }
.ceo-motto-sub { display: block; margin-top: 0.8rem; font-size: 1.5rem; color: var(--txt-sub); }

.ceo-text p { font-size: 1.8rem; line-height: 1.9; color: var(--txt); }
.ceo-text p + p { margin-top: 2.4rem; }
.ceo-sign { margin-top: 4rem; text-align: right; font-size: 1.8rem; color: var(--txt-sub); }
.ceo-sign strong { margin-left: 1rem; font-size: 2.4rem; font-weight: 800; color: var(--tit); }

@media (max-width: 1024px) {
  .ceo-layout { display: block; }
  .ceo-photo { max-width: 40rem; margin: 0 auto 4rem; }
  .ceo-body { padding-left: 0; }
}
@media (max-width: 480px) {
  .ceo-mottos { display: block; }
  .ceo-motto + .ceo-motto { margin: 1.6rem 0 0; }
}

/* ============================================================
   회사소개 > 조직도 (pages/organization.php)
   ============================================================ */
.org-tree { padding-top: 1rem; }
.org-row { display: flex; justify-content: center; }
.org-row > li { position: relative; display: flex; flex-direction: column; align-items: center; padding: 2.4rem 0.7rem 0; }
/* 커넥터: 좌반/우반 상단 가로선 + 중앙 세로선 */
.org-row > li::before,
.org-row > li::after { content: ""; position: absolute; top: 0; right: 50%; width: 50%; height: 2.4rem; border-top: 0.2rem solid var(--line-soft); }
.org-row > li::after { right: auto; left: 50%; border-left: 0.2rem solid var(--line-soft); }
.org-row > li:first-child::before { border-top: none; }
.org-row > li:last-child::after { border-top: none; }
.org-row > li:only-child::before { border: none; }
.org-row .org-row { position: relative; padding-top: 2.4rem; margin-top: 0; }
.org-row .org-row::before { content: ""; position: absolute; top: 0; left: 50%; height: 2.4rem; border-left: 0.2rem solid var(--line-soft); }
/* 루트(대표이사)는 커넥터 없음 */
.org-row--root > li { padding-top: 0; }
.org-row--root > li::before, .org-row--root > li::after { display: none; }

.org-node {
  padding: 1.1rem 1.5rem;
  border-radius: 0.8rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tit);
  text-align: center;
  white-space: nowrap;
}
.org-node--ceo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  border: none;
  background: linear-gradient(160deg, #1e63c8 0%, var(--navy) 80%);
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 1rem 2.6rem rgba(20, 58, 110, 0.3);
}
.org-node--ceo svg { width: 3.4rem; height: 3.4rem; margin-bottom: 0.6rem; }
.org-node--staff { background: var(--bg-soft); color: var(--txt); box-shadow: none; }
.org-count {
  display: inline-block;
  min-width: 2.1rem;
  margin-left: 0.7rem;
  padding: 0 0.6rem;
  border-radius: 1rem;
  background: var(--point);
  color: #fff;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
}
.org-node--hq { background: var(--navy); border-color: var(--navy); color: #fff; }
.org-subs { margin-top: 0.8rem; width: 100%; }
.org-subs li {
  margin-top: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  font-size: 1.5rem;
  color: var(--txt);
  text-align: center;
  white-space: nowrap;
}

/* 편제표 — 부서별 인원 스탯 카드 */
.org-stats { margin-top: 8rem; }
.org-stats-tit { margin-bottom: 2.4rem; font-size: 2.4rem; font-weight: 800; color: var(--tit); }
.org-stats-grid { display: flex; flex-wrap: wrap; margin: -0.8rem; }
.org-stats-grid > li { width: 25%; padding: 0.8rem; }
.org-stat { padding: 2rem 2.4rem; border-radius: 1.2rem; background: var(--bg-soft); border: 1px solid var(--line-soft); }
.org-stat-label { display: block; font-size: 1.5rem; font-weight: 700; color: var(--txt-sub); }
.org-stat-num { display: block; margin-top: 0.4rem; font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.org-stat-num em { font-style: normal; font-size: 1.5rem; font-weight: 700; color: var(--txt-sub); margin-left: 0.3rem; }
.org-stats-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.6rem;
  padding: 2rem 3.2rem;
  border-radius: 1.2rem;
  background: linear-gradient(120deg, #1e63c8 0%, var(--navy) 100%);
  color: #fff;
}
.org-stats-total .t-label { font-size: 1.8rem; font-weight: 700; }
.org-stats-total .t-num { font-size: 2.4rem; font-weight: 800; }

/* 사업장 연락처 컴팩트 카드 */
.org-sites { margin-top: 8rem; }
.org-sites-grid { display: flex; flex-wrap: wrap; margin: -0.8rem; }
.org-sites-grid > li { width: 33.333%; padding: 0.8rem; }
.org-site { height: 100%; padding: 2.4rem 2.8rem; }
.org-site-name { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 0.8rem; }
.org-site p { font-size: 1.5rem; line-height: 1.7; color: var(--txt); }

@media (max-width: 960px) {
  /* 트리 → 세로 중앙정렬 스택 (중앙 커넥터 라인 유지) */
  .org-tree { padding-top: 0; }
  .org-row { display: flex; flex-direction: column; align-items: center; }
  .org-row > li { display: flex; flex-direction: column; align-items: center; width: auto; padding: 1.8rem 0 0; }
  /* 각 노드 위 중앙 세로 커넥터(짧은 stub) — 위 요소와 이어지며 화면 중앙 정렬 */
  .org-row > li::before { content: ""; display: block; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 0.2rem; height: 1.8rem; background: var(--line-soft); border: none; }
  .org-row > li::after { display: none; }
  /* 루트(대표이사)는 위 커넥터 없음 */
  .org-row--root > li { padding-top: 0; }
  .org-row--root > li::before { display: none; }
  /* 중첩 그룹: 중앙선/좌측 아웃라인 제거(자식 li::before 가 커넥터 담당) */
  .org-row .org-row { padding-top: 0; margin-left: 0; border-left: none; }
  .org-row .org-row::before { display: none; }
  .org-node { display: inline-block; white-space: normal; max-width: 90vw; }
  .org-node--ceo { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 11rem; height: 11rem; border-radius: 50%; padding: 0; }
  .org-node--ceo svg { margin: 0 0 0.6rem; width: 3rem; height: 3rem; }
  .org-subs { display: flex; flex-wrap: wrap; justify-content: center; width: auto; margin-top: 0.8rem; }
  .org-subs li { margin: 0.5rem 0.4rem 0; white-space: nowrap; }
  .org-stats-grid > li { width: 50%; }
  .org-sites-grid > li { width: 100%; }
}
@media (max-width: 480px) {
  .org-stats-grid > li { width: 100%; }
}

/* ============================================================
   회사소개 > 인증현황 (pages/certification.php)
   ============================================================ */
.cert-grid { display: flex; flex-wrap: wrap; margin: -1.2rem; }
.cert-grid > li { width: 25%; padding: 1.2rem; }
.cert-grid > li.cert-item--wide { width: 50%; }
.cert-card {
  height: 100%;
  padding: 2.4rem 2.4rem 2rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cert-card:hover { transform: translateY(-0.4rem); box-shadow: 0 1.4rem 3.2rem rgba(20, 58, 110, 0.14); }
.cert-imgs { display: flex; align-items: center; justify-content: center; }
.cert-imgs img { max-height: 30rem; width: auto; max-width: 100%; }
.cert-imgs img + img { margin-left: 1.6rem; }
.cert-name { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); font-size: 1.8rem; font-weight: 700; color: var(--tit); }

@media (max-width: 960px) {
  .cert-grid > li, .cert-grid > li.cert-item--wide { width: 50%; }
}
@media (max-width: 480px) {
  .cert-grid > li, .cert-grid > li.cert-item--wide { width: 100%; }
}

/* ============================================================
   회사소개 > 오시는길 (pages/location.php)
   ============================================================ */
.loc-feature { display: flex; overflow: hidden; margin-bottom: 3rem; }
.loc-feature-map { width: 62%; }
.loc-feature-map img { width: 100%; height: 100%; object-fit: cover; }
.loc-feature-map .loc-map-frame { display: block; width: 100%; height: 100%; min-height: 38rem; border: 0; }
.loc-feature-info { width: 38%; padding: 3.6rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.loc-name { font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.loc-name-sub { display: block; margin-top: 0.4rem; font-size: 1.5rem; font-weight: 400; color: var(--txt-sub); }
.loc-meta { margin-top: 2.4rem; }
.loc-meta > div { display: flex; align-items: flex-start; }
.loc-meta > div + div { margin-top: 1.4rem; }
.loc-meta dt {
  display: flex;
  align-items: center;
  flex: 0 0 7.4rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--point);
  padding-top: 0.3rem;
}
.loc-meta dt svg { width: 1.6rem; height: 1.6rem; margin-right: 0.6rem; }
.loc-meta dd { flex: 1; font-size: 1.8rem; line-height: 1.7; color: var(--txt); }

.loc-grid { display: flex; flex-wrap: wrap; margin: -1.2rem; }
.loc-grid > li { width: 33.333%; padding: 1.2rem; }
.loc-card { height: 100%; overflow: hidden; }
.loc-card-map { margin: 0; }
.loc-card-map img { width: 100%; height: 20rem; object-fit: cover; }
.loc-card-map .loc-map-frame { display: block; width: 100%; height: 22rem; border: 0; }
.loc-card-body { padding: 2.4rem 2.8rem 2.8rem; }
.loc-card-body .loc-name { font-size: 1.8rem; }
.loc-card-body p { margin-top: 0.8rem; font-size: 1.5rem; line-height: 1.7; color: var(--txt); }

@media (max-width: 960px) {
  .loc-feature { display: block; }
  .loc-feature-map { width: 100%; }
  .loc-feature-map img { height: 32rem; }
  .loc-feature-map .loc-map-frame { height: 32rem; min-height: 0; }
  .loc-feature-info { width: 100%; padding: 2.8rem 3rem; }
  .loc-grid > li { width: 100%; }
}

/* ============================================================
   페이지 내 탭 공통 (ui-tabs — DIES 제품&공정/정보 STEP·주제 탭)
   ============================================================ */
.ui-tabs-nav { display: flex; flex-wrap: wrap; margin: -0.4rem; }
.ui-tabs-nav > li { padding: 0.4rem; }
.ui-tabs-nav [role="tab"] {
  padding: 0.9rem 1.8rem;
  border: 1px solid transparent;
  border-radius: 3rem;
  background: var(--bg-soft);
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--txt-sub);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.ui-tabs-nav [role="tab"]:hover { background: #e7eefb; color: var(--point); }
.ui-tabs-nav [role="tab"].is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 0.4rem 1rem rgba(20, 58, 110, 0.22);
}
.ui-tabs-panels { margin-top: 2.8rem; }
.ui-tabs-panel { display: none; }
.ui-tabs-panel.is-active { display: block; }
/* DIES 정보(기술정보/원석정보) — 3차 탭메뉴는 화면 기준 가운데 정렬 */
.ti-page .ui-tabs-nav, .si-page .ui-tabs-nav { justify-content: center; }

/* 모바일: 공정 탭이 많아 줄바꿈이 과하므로 가로 스크롤 스트립으로 */
@media (max-width: 768px) {
  .ui-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.6rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .ui-tabs-nav > li { flex: 0 0 auto; scroll-snap-align: start; }
}

/* STEP 공정 패널 (사진 + 텍스트) */
.step-panel { display: flex; align-items: flex-start; padding: 3.6rem 4rem; }
.step-media { flex: 0 0 46%; margin: 0; border-radius: 1rem; overflow: hidden; }
.step-media img { width: 100%; }
.step-body { flex: 1; padding-left: 4.4rem; }
.step-num { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: 0.18em; color: var(--point); text-transform: uppercase; }
.step-tit { margin-top: 0.6rem; font-size: 2.4rem; font-weight: 800; color: var(--tit); }
.step-desc { margin-top: 1.6rem; font-size: 1.8rem; line-height: 1.8; color: var(--txt); }
.step-desc .dim { color: var(--txt-sub); font-size: 1.5rem; }
.step-chips { display: flex; flex-wrap: wrap; align-items: center; margin: 2rem -0.4rem -0.4rem; }
.step-chips li { padding: 0.4rem; }
.step-chip {
  display: inline-block;
  min-width: 5.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.8rem;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}
.step-chip--lead { background: var(--navy); border-color: var(--navy); color: #fff; }
.step-chips .step-arrow { padding: 0 0.4rem; color: var(--line); font-size: 1.5rem; }

@media (max-width: 960px) {
  .step-panel { display: block; padding: 2.8rem 2.4rem; }
  .step-media { max-width: none; margin: 0; }   /* 이미지 꽉차게 */
  .step-body { padding: 2.4rem 0 0; }
}

/* ============================================================
   DIES 제품 & 공정 공통 (.prd-*) — Natural/PCD/Tungsten
   ============================================================ */
.prd-block { margin-top: 8rem; }
.prd-block:first-of-type { margin-top: 0; }
.prd-sec-head { margin-bottom: 2.8rem; }
.prd-sec-tit { font-size: 2.4rem; font-weight: 800; color: var(--tit); letter-spacing: -0.01em; }
.prd-sec-sub { margin-top: 0.6rem; font-size: 1.5rem; color: var(--txt-sub); }

/* 인트로 히어로: 사진 + 컬러 카드 (겹침 제거 → 나란히 배치, 충돌 없음) */
.prd-hero { display: flex; align-items: stretch; gap: 2.4rem; }
.prd-hero + .prd-hero { margin-top: 2.4rem; }
.prd-hero-media { width: 50%; margin: 0; aspect-ratio: 16 / 10; border-radius: 1.2rem; overflow: hidden; box-shadow: var(--shadow-card); }
.prd-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prd-hero-card {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.6rem 3.8rem;
  border-radius: 1.2rem;
}
.prd-hero-card--navy {
  background: linear-gradient(135deg, #1e63c8 0%, var(--navy) 85%);
  color: #fff;
  box-shadow: 0 1.4rem 3.4rem rgba(20, 58, 110, 0.32);
}
.prd-hero-card--white { background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow-card); }
.prd-hero--rev { flex-direction: row-reverse; }
.prd-hero-tit { font-size: 2.4rem; font-weight: 800; line-height: 1.3; }
.prd-hero-tit .en-sub { display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.72; margin-bottom: 0.6rem; }
.prd-hero-desc { margin-top: 1.6rem; font-size: 1.8rem; line-height: 1.8; }
.prd-hero-card--navy .prd-hero-desc { color: rgba(255,255,255,0.88); }
.prd-hero-card--white .prd-hero-tit { color: var(--navy); }
.prd-hero-card--white .prd-hero-desc { color: var(--txt); }
.prd-hero-desc li { position: relative; padding-left: 1.3rem; }
.prd-hero-desc li::before { content: "-"; position: absolute; left: 0; }
.prd-hero-caption { margin-top: 1.4rem; font-size: 1.5rem; color: var(--txt-sub); }

/* ── 제품 인트로 피처 패널 — 이미지 위 오버레이 + 교차 레이아웃 (Natural/MONO) ── */
.prd-feature-list { display: flex; flex-direction: column; gap: 2.4rem; }
.prd-feature {
  position: relative;
  display: flex;
  min-height: 40rem;
  border-radius: 1.6rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 1.6rem 4rem rgba(20, 58, 110, 0.18);
}
.prd-feature--natural { background-image: url(/resources/images/sub/natural-diamond_01.jpg); }
.prd-feature--mono { background-image: url(/resources/images/sub/natural-diamond_02.jpg); }
.prd-feature--pcd { background-image: url(/resources/images/sub/poly-crystal-diamond_01.jpg); }
.prd-feature--tc1 { background-image: url(/resources/images/sub/tungsten-carbide_01.jpg); }
.prd-feature--tc2 { background-image: url(/resources/images/sub/tungsten-carbide_02.jpg); }
.prd-feature::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
  background: linear-gradient(100deg,
    rgba(11, 28, 56, 0.95) 0%, rgba(11, 28, 56, 0.88) 30%,
    rgba(11, 28, 56, 0.5) 56%, rgba(11, 28, 56, 0) 82%);
}
.prd-feature__body {
  position: relative; z-index: 2;
  width: 60%;
  padding: 4.6rem 4.8rem;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
}
.prd-feature__eyebrow {
  display: flex; align-items: center; gap: 1.2rem;
  font-size: 1.5rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: #b9d0f2;
}
.prd-feature__no {
  flex-shrink: 0;
  width: 3.6rem; height: 3.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fff; color: var(--navy);
  font-size: 1.5rem; font-weight: 800; letter-spacing: 0;
}
.prd-feature__title { margin-top: 1.8rem; font-size: 2.4rem; font-weight: 800; line-height: 1.3; }
.prd-feature__desc {
  margin-top: 1.4rem; max-width: 46rem;
  font-size: 1.8rem; line-height: 1.85; color: rgba(255, 255, 255, 0.9);
}
.prd-feature__tags { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.prd-feature__tags li {
  font-size: 1.5rem; font-weight: 600; color: #eaf1fb;
  padding: 0.7rem 1.5rem; border-radius: 5rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}
/* 교차: 두 번째 패널 텍스트 우측 정렬 + 스크림 반전 */
.prd-feature--alt { flex-direction: row-reverse; }
.prd-feature--alt::before {
  background: linear-gradient(260deg,
    rgba(11, 28, 56, 0.95) 0%, rgba(11, 28, 56, 0.88) 30%,
    rgba(11, 28, 56, 0.5) 56%, rgba(11, 28, 56, 0) 82%);
}
.prd-feature--alt .prd-feature__body { align-items: flex-end; text-align: right; }
.prd-feature--alt .prd-feature__eyebrow,
.prd-feature--alt .prd-feature__tags { justify-content: flex-end; }
.prd-feature--alt .prd-feature__desc { margin-left: auto; }

/* 모바일: 이미지 전체 배경 + 하단 정렬 텍스트(가독성 위해 세로 스크림) */
@media (max-width: 720px) {
  .prd-feature, .prd-feature--alt { flex-direction: column; min-height: 42rem; }
  .prd-feature::before, .prd-feature--alt::before {
    background: linear-gradient(180deg, rgba(11, 28, 56, 0.5) 0%, rgba(11, 28, 56, 0.9) 100%);
  }
  .prd-feature__body,
  .prd-feature--alt .prd-feature__body {
    width: 100%; padding: 2.8rem 2.4rem;
    justify-content: flex-end; align-items: flex-start; text-align: left;
  }
  .prd-feature__eyebrow, .prd-feature--alt .prd-feature__eyebrow,
  .prd-feature__tags, .prd-feature--alt .prd-feature__tags { justify-content: flex-start; }
  .prd-feature--alt .prd-feature__desc { margin-left: 0; }
}

/* Advantages — 헤딩+제품사진 상단, 카드 4 (배경 밴드 없음) */
.prd-adv-top { display: flex; align-items: center; justify-content: space-between; }
.prd-adv-top .prd-sec-head { margin-bottom: 0; }
.prd-adv-photo { width: 38%; margin: 0; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-card); }
.prd-adv-photo img { width: 100%; display: block; }
.prd-sec-head.center { text-align: center; }
/* ── 장점 카드: 아이콘 칩 + 넘버 워터마크 (가로형 2열, 통일 화이트 + 좌측 정렬) ── */
.prd-adv-cards { display: flex; flex-wrap: wrap; margin: 3.6rem -0.9rem 0; counter-reset: adv; }
.prd-adv-cards > li { width: 50%; padding: 0.9rem; counter-increment: adv; display: flex; }
.prd-adv-card {
  position: relative;
  width: 100%;
  min-height: 17rem;
  padding: 3.2rem 3.2rem 3.2rem 10rem;
  border-radius: 1.4rem;
  background: #fff;
  color: var(--tit);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  text-align: left;
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s var(--ease);
}
.prd-adv-card::before {   /* 좌측 포인트 액센트 바 (호버 시 확장) */
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 0.5rem; height: 0; border-radius: 0 0.5rem 0.5rem 0;
  background: linear-gradient(var(--point), var(--navy));
  transition: height .38s var(--ease);
}
.prd-adv-card::after {    /* 순번 워터마크 (01~04, CSS 카운터) */
  content: counter(adv, decimal-leading-zero);
  position: absolute; top: 1.6rem; right: 2.2rem;
  font-size: 3.6rem; font-weight: 800; line-height: 1;
  color: var(--navy); opacity: 0.09; letter-spacing: -0.02em;
}
.prd-adv-card svg {   /* 아이콘 칩 (네이비 그라디언트, 좌측 세로 중앙) */
  position: absolute; left: 3.2rem; top: 50%; transform: translateY(-50%);
  width: 5.6rem; height: 5.6rem; padding: 1.4rem; margin: 0; box-sizing: border-box;
  border-radius: 1.3rem;
  background: linear-gradient(135deg, #1e63c8 0%, var(--navy) 92%);
  color: #fff;
  box-shadow: 0 0.8rem 1.8rem rgba(20, 58, 110, 0.28);
  transition: transform .38s var(--ease);
}
.prd-adv-card__tit { display: block; font-size: 1.8rem; font-weight: 700; line-height: 1.35; color: var(--navy); }
.prd-adv-card__desc { display: block; margin-top: 0.7rem; font-size: 1.5rem; font-weight: 400; line-height: 1.65; color: var(--txt-sub); }
.prd-adv-card:hover { transform: translateY(-0.5rem); box-shadow: 0 1.6rem 3.4rem rgba(20, 58, 110, 0.16); border-color: var(--point); }
.prd-adv-card:hover::before { height: 62%; }
.prd-adv-card:hover svg { transform: translateY(-50%) scale(1.06); }

/* Applications — 사진/텍스트 모자이크 그리드 */
.prd-apps-grid { border-radius: 1.2rem; overflow: hidden; border: 1px solid var(--line-soft); }
.prd-apps-row { display: flex; }
.prd-apps-row > div { width: 25%; }
.prd-apps-row > .cell-w2 { width: 50%; }
.cell-photo { position: relative; }
.cell-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cell-text { background: var(--bg-soft); display: flex; flex-direction: column; justify-content: center; padding: 2.4rem 2.8rem; }
.cell-text li { position: relative; padding-left: 1.4rem; font-size: 1.5rem; font-weight: 700; color: var(--navy); line-height: 1.7; }
.cell-text li + li { margin-top: 0.6rem; }
.cell-text li::before { content: ""; position: absolute; left: 0; top: 0.9rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--point); }

/* STEP 패널 부가 요소 */
.step-flag { display: inline-flex; align-items: center; margin-top: 1.6rem; font-size: 1.5rem; font-weight: 700; color: #d0342c; }
.step-flag svg { width: 1.7rem; height: 1.7rem; margin-right: 0.5rem; }
.step-link-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  transition: all 0.15s;
}
.step-link-btn:hover { border-color: var(--point); color: var(--point); }
.step-notes { display: flex; flex-wrap: wrap; margin: 1.6rem -0.6rem -0.6rem; }
.step-notes > li { padding: 0.6rem; }
.step-note { display: block; height: 100%; padding: 1.2rem 1.6rem; border-radius: 0.8rem; background: var(--bg-soft); border: 1px solid var(--line-soft); font-size: 1.5rem; line-height: 1.6; color: var(--txt); }
.step-note strong { display: block; color: var(--navy); }
/* PCD STEP01 사진+라벨 2단 */
/* STEP 원석 — 사진 2장 페어 (두 이미지·뱃지 정렬 통일) */
.step-media-pair { display: flex; flex: 0 0 46%; gap: 1.8rem; align-items: center; justify-content: center; padding: 2.4rem; background: var(--bg-soft); }
.step-media-pair figure { margin: 0; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.step-media-pair img { width: 100%; height: 18rem; object-fit: contain; border-radius: 1rem; display: block; }
.step-media-label {
  align-self: center;
  margin-top: 1.4rem;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  background: var(--navy);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Standard specification (ND) — 다이어그램(원비율) + 표 (배경 밴드 없음) */
.nd-spec-body { display: flex; align-items: flex-start; margin-top: 0.4rem; }
.nd-spec-diagram { flex: 0 0 38%; margin: 0; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-card); }
.nd-spec-diagram img { width: 100%; height: auto; display: block; }
.nd-spec-table { flex: 1; margin-left: 3rem; background: #fff; border: 1px solid var(--line-soft); border-radius: 1rem; padding: 1rem 1.6rem; box-shadow: var(--shadow-card); }
.spec-table { width: 100%; min-width: 52rem; border-collapse: collapse; font-size: 1.5rem; }
.spec-table th, .spec-table td { padding: 1rem 1.2rem; text-align: center; border-bottom: 1px solid var(--line-soft); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table thead th { font-weight: 800; color: var(--navy); border-bottom: 2px solid var(--navy); }
.spec-table tbody th { font-weight: 700; color: var(--tit); text-align: left; }

@media (max-width: 960px) {
  .prd-adv-top { display: block; }
  .prd-adv-photo { width: 100%; max-width: none; margin-top: 2.4rem; }   /* 이미지 꽉차게 */
  .prd-hero, .prd-hero--rev { display: block; }
  .prd-hero-media, .prd-hero-card { width: 100%; }
  .prd-hero-card { margin: 1.6rem 0 0; }   /* 겹침 제거 → 아래로 간격 */
  .prd-adv-cards > li { width: 100%; }
  .prd-apps-row { flex-wrap: wrap; }
  .prd-apps-row > div { width: 50%; }
  .prd-apps-row > .cell-w2 { width: 100%; }
  .nd-spec-body { display: block; }
  .nd-spec-diagram { max-width: none; margin: 0; }   /* 이미지 꽉차게 */
  .nd-spec-table { margin: 2.4rem 0 0; overflow-x: auto; }
  .step-media-pair { display: flex; }
}
@media (max-width: 480px) {
  .prd-adv-cards > li { width: 100%; }
  .prd-hero-card { padding: 2.8rem 2.4rem; }
  .step-media-pair { gap: 1.2rem; padding: 1.6rem 0 0; }
  .step-media-pair img { height: 13rem; }
  .step-media-label { font-size: 1.3rem; padding: 0.4rem 1.2rem; }
}

/* STEP 하이픈 목록 + 보조 톤 */
.step-list { margin-top: 1.2rem; }
.step-desc + .step-list { margin-top: 0.4rem; }
.step-list + .step-desc { margin-top: 1.6rem; }
.step-list li { position: relative; padding-left: 1.3rem; font-size: 1.8rem; line-height: 1.8; color: var(--txt); }
.step-list li::before { content: "-"; position: absolute; left: 0; color: var(--txt-sub); }
.dim { color: var(--txt-sub); font-size: 1.5rem; }

/* ============================================================
   품질보증시스템 (pages/quality.php) — 측정장비 카드 3×2
   ============================================================ */
.qa-grid { display: flex; flex-wrap: wrap; margin: -1.2rem; }
.qa-grid > li { width: 33.333%; padding: 1.2rem; }
.qa-card { height: 100%; overflow: hidden; }
.qa-photo { margin: 0; }
.qa-photo img { width: 100%; display: block; }
.qa-body { padding: 2.4rem 2.8rem 2.8rem; }
.qa-tit { font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.qa-desc { margin-top: 1rem; font-size: 1.5rem; line-height: 1.7; color: var(--txt); }
.qa-range {
  display: inline-block;
  margin: 1.2rem 0 0.2rem;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--point);
}
@media (max-width: 960px) { .qa-grid > li { width: 50%; } }
@media (max-width: 480px) { .qa-grid > li { width: 100%; } }

/* ============================================================
   데이터 표 공통 (Specifications / 기술정보 / 원석정보)
   ============================================================ */
.data-table {
  width: 100%;
  min-width: 86rem;
  border-collapse: collapse;
  font-size: 1.5rem;
  border-top: 2px solid var(--navy);
}
.data-table th, .data-table td {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-soft);
  text-align: center;
  vertical-align: middle;
  line-height: 1.5;
}
.data-table thead th { background: var(--bg-soft); font-weight: 700; color: var(--navy); }
.data-table tbody th { background: #f9fbfd; font-weight: 700; color: var(--tit); }
.data-table .th-sub { display: block; font-weight: 400; color: var(--txt-sub); }
.data-table .cell-left { text-align: left; }
.data-table .hl { background: var(--bg-soft); font-weight: 700; color: var(--navy); }
.data-table .row-final th, .data-table .row-final td { font-weight: 700; background: #f9fbfd; }
.data-table .row-sec td {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-align: left;
}
.data-table--num { min-width: 76rem; }
.data-table--wide { min-width: 110rem; }

/* ============================================================
   기술정보 (pages/tech-info.php)
   ============================================================ */
.ti-anatomy { display: flex; align-items: center; padding: 3.6rem 4rem; }
.ti-diagram { flex: 0 0 30%; margin: 0 3rem; }
.ti-diagram img { width: 100%; }
.ti-labels { flex: 1; }
.ti-labels li + li { margin-top: 2.4rem; }
.ti-labels strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--point); }
.ti-labels span { display: block; margin-top: 0.4rem; font-size: 1.5rem; line-height: 1.6; color: var(--txt); }
.ti-labels--left { text-align: right; }

.ti-cond { display: flex; flex-wrap: wrap; margin: -0.8rem; }
.ti-cond > li {
  display: flex;
  width: calc(25% - 1.6rem);
  margin: 0.8rem;
  padding: 1.8rem 2rem;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 1rem;
}
.ti-cond .ti-cond-num {
  flex: 0 0 auto;
  margin-right: 1.2rem;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--point);
}
.ti-cond p {
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tit);
  line-height: 1.5;
}

.ti-draw { margin-top: 3rem; padding: 3rem 3.6rem; }
.ti-draw-tit { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 2rem; }
.ti-draw-figs { display: flex; align-items: center; justify-content: space-between; }
.ti-draw-figs figure { margin: 0 1rem; flex: 1; text-align: center; }
.ti-draw-figs img { max-width: 100%; }
.ti-remark { display: flex; flex-wrap: wrap; align-items: center; margin: 2.4rem -0.4rem -0.4rem; }
.ti-remark li {
  margin: 0.4rem;
  padding: 0.5rem 1.4rem;
  border-radius: 2rem;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  font-size: 1.5rem;
  color: var(--txt);
}
.ti-remark li:first-child { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }

@media (max-width: 960px) {
  .ti-anatomy { display: block; padding: 2.8rem 2.4rem; }
  .ti-diagram { max-width: 28rem; margin: 0 auto 2.4rem; }
  .ti-labels--left { text-align: left; }
  .ti-labels + .ti-diagram + .ti-labels, .ti-anatomy .ti-labels--right { margin-top: 2.4rem; }
  .ti-cond > li { width: calc(50% - 1.6rem); }
  .ti-draw-figs { display: block; }
  .ti-draw-figs figure + figure { margin-top: 2rem; }
}
@media (max-width: 480px) { .ti-cond > li { width: calc(100% - 1.6rem); } }

/* ============================================================
   원석정보 (pages/stone-info.php)
   ============================================================ */
.si-legend { margin-top: 1.2rem; text-align: right; font-size: 1.5rem; color: var(--txt-sub); }
.si-desc { display: flex; margin-top: 2.4rem; border: 1px solid var(--line-soft); border-radius: 1.2rem; overflow: hidden; }
.si-desc-text { flex: 1 1 58%; padding: 2.8rem 3.2rem; }
.si-desc-text p { font-size: 1.5rem; line-height: 1.7; color: var(--txt); }
.si-desc-text p + p { margin-top: 1.2rem; }
.si-desc-target { flex: 1 1 42%; padding: 2.8rem 3.2rem; background: var(--bg-soft); border-left: 1px solid var(--line-soft); }
.si-desc-target h4 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 1.2rem; }
.si-desc-target li { position: relative; padding-left: 1.4rem; font-size: 1.5rem; line-height: 1.7; color: var(--txt); }
.si-desc-target li::before { content: ""; position: absolute; left: 0; top: 0.9rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--point); }
.si-foot { margin-top: 1.2rem; font-size: 1.5rem; color: var(--txt-sub); }

.si-shapes { margin-top: 3rem; }
.si-shapes-tit { font-size: 1.8rem; font-weight: 800; color: var(--tit); margin-bottom: 1.4rem; }
.si-shapes-grid { display: flex; flex-wrap: wrap; margin: -0.8rem; }
.si-shapes-grid > li { width: 25%; padding: 0.8rem; }
.si-shape { height: 100%; padding: 2rem; text-align: center; }
.si-shape img { max-width: 100%; }
.si-shape p { margin-top: 1rem; font-size: 1.5rem; font-weight: 700; color: var(--navy); }

@media (max-width: 960px) {
  .si-desc { display: block; }
  .si-desc-target { border-left: none; border-top: 1px solid var(--line-soft); }
  .si-shapes-grid > li { width: 50%; }
}

/* ============================================================
   index (메인) — 구 메인 슬라이더/Global No.1/제품 리뉴얼
   ============================================================ */
.main-page { overflow: hidden; }
.main-inner { width: 1200px; max-width: 100%; margin: 0 auto; }
.main-section { padding: 8rem 0; }
/* DIES 정보 — 제품(흰 배경) 섹션과 분리되는 소프트 밴드 */
.main-section--soft { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }

/* 히어로 — 풀 배너 페이드 슬라이더 + 중앙 카피 (thewhale 방식) */
.main-hero { position: relative; overflow: hidden; min-height: calc(100vh - 84px); display: flex; align-items: center; justify-content: center; padding: 6rem 2rem; background: var(--navy); }
.main-hero__slider { position: absolute; inset: 0; z-index: 0; }
.main-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.main-hero__slide.is-active { opacity: 1; }
.main-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 중앙 스크림(가운데 텍스트만 살짝 어둡게, 가장자리는 사진 유지) */
.main-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 64% 70% at 50% 50%, rgba(8, 22, 44, 0.74) 0%, rgba(8, 22, 44, 0.44) 58%, rgba(8, 22, 44, 0.12) 100%);
}
.main-hero__inner { position: relative; z-index: 2; text-align: center; color: #fff; }
.main-hero__eyebrow { display: inline-block; margin-bottom: 2rem; font-size: 1.6rem; font-weight: 700; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.9); text-transform: uppercase; }
.main-hero__tit { font-size: 5.2rem; font-weight: 800; line-height: 1.25; color: #fff; letter-spacing: -0.02em; }
.main-hero__tit .pt { color: #8fbaff; }
.main-hero__desc { margin-top: 1.8rem; font-size: 2rem; color: rgba(255, 255, 255, 0.9); }
.main-hero__btns { display: flex; justify-content: center; margin-top: 3.4rem; }

.main-btn {
  display: inline-block;
  padding: 1.3rem 3rem;
  border-radius: 3rem;
  font-size: 1.8rem;
  font-weight: 700;
  transition: all 0.15s;
}
.main-btn--fill { background: var(--point); color: #fff; }
.main-btn--fill:hover { background: #1550b8; }
.main-btn--line { margin-left: 1.2rem; border: 1px solid var(--line); color: var(--tit); }
.main-btn--line:hover { border-color: var(--point); color: var(--point); }

/* 히어로 슬라이더 컨트롤 — 좌우 버튼(배너 양끝) + 도트(하단 중앙) */
.main-hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 6rem; height: 6rem; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.main-hero__arrow:hover { background: #fff; color: var(--navy); border-color: #fff; }
.main-hero__arrow svg { width: 2.8rem; height: 2.8rem; }
.main-hero__arrow--prev { left: 4rem; }
.main-hero__arrow--next { right: 4rem; }
.main-hero__dots { position: absolute; left: 0; right: 0; bottom: 3rem; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.main-hero__dot { width: 1rem; height: 1rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: width 0.3s, background 0.2s; }
.main-hero__dot.is-active { width: 3rem; border-radius: 0.5rem; background: #fff; }

/* Global No.1 밴드 (배경 이미지 main_07 + 브랜드 블루 오버레이) */
.main-global { background: linear-gradient(120deg, rgba(26,86,180,0.82) 0%, rgba(11,34,66,0.9) 100%), url(/resources/images/main/main_07.jpg) center/cover no-repeat; }
.main-global .main-inner { padding-top: 8rem; padding-bottom: 8rem; }
.main-global-head { text-align: center; color: #fff; }
.main-global-head svg { width: 4.4rem; height: 4.4rem; }
.main-global-tit { margin-top: 1.2rem; font-size: 3.6rem; font-weight: 800; letter-spacing: 0.02em; }
.main-global-desc { margin-top: 1.4rem; font-size: 1.8rem; line-height: 1.8; color: rgba(255,255,255,0.85); }
.main-global-cards { display: flex; flex-wrap: wrap; margin: 4.4rem -1.1rem 0; }
.main-global-cards > li { width: 33.333%; padding: 1.1rem; }
.main-global-card {
  position: relative;
  height: 100%;
  padding: 3.6rem 3rem 3.2rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.main-global-card:hover { transform: translateY(-0.5rem); background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.32); }
.main-global-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #d5e4ff;
}
.main-global-ico svg { width: 3rem; height: 3rem; }
.main-global-card .num { position: absolute; top: 2.6rem; right: 3rem; font-size: 4.6rem; font-weight: 800; font-style: normal; line-height: 1; color: rgba(255, 255, 255, 0.14); }
.main-global-card h3 { margin-top: 2.2rem; font-size: 2.2rem; font-weight: 700; color: #fff; }
.main-global-card p { margin-top: 1.2rem; font-size: 1.5rem; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }

/* 제품 3종 */
.main-sec-head { margin-bottom: 3.6rem; }
.main-products-grid { display: flex; flex-wrap: wrap; margin: -1.2rem; }
.main-products-grid > li { width: 33.333%; padding: 1.2rem; }
.main-product { display: block; height: 100%; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.main-product:hover { transform: translateY(-0.5rem); box-shadow: 0 1.6rem 3.6rem rgba(20, 58, 110, 0.16); }
.main-product-media { display: block; background: var(--bg-soft); }
.main-product-media img { width: 100%; height: 24rem; object-fit: cover; display: block; }
.main-product-body { display: block; padding: 2.4rem 2.8rem 2.8rem; }
.main-product-tit { display: block; font-size: 2.4rem; font-weight: 800; color: var(--tit); }
.main-product-sub { display: block; margin-top: 0.4rem; font-size: 1.5rem; color: var(--txt-sub); }
.main-product-more { display: inline-block; margin-top: 1.6rem; font-size: 1.5rem; font-weight: 700; color: var(--point); }

/* 자료/퀵링크 타일 */
.main-info-grid { display: flex; flex-wrap: wrap; margin: -1.2rem; }
.main-info-grid > li { width: 50%; padding: 1.2rem; }
/* DIES 정보 — 소프트 카드 + 하단 원형 아이콘 버튼 (border-radius 유지) */
.main-info-card { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 20rem; padding: 3.2rem; background: #fff; border: 1px solid var(--line-soft); box-shadow: 0 0.4rem 1.6rem rgba(20, 58, 110, 0.05); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.main-info-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 0.3rem; background: var(--navy); }
.main-info-card:hover { transform: translateY(-0.6rem); box-shadow: 0 1.8rem 3.8rem rgba(20, 58, 110, 0.16); }
.main-info-card h3 { font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.main-info-card p { margin-top: 1rem; font-size: 1.5rem; line-height: 1.65; color: var(--txt-sub); }
.main-info-foot { margin-top: auto; padding-top: 2.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.main-info-tag { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
.main-info-btn { flex-shrink: 0; width: 4.6rem; height: 4.6rem; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: center; transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.main-info-btn svg { width: 2rem; height: 2rem; color: var(--navy); transition: color .35s var(--ease); }
.main-info-card:hover .main-info-btn { background: var(--navy); border-color: var(--navy); transform: translateY(-0.2rem); }
.main-info-card:hover .main-info-btn svg { color: #fff; }

/* 하단 CTA 밴드 — 카탈로그/오시는길 (네이비 밴드 + 픽토그램) */
.main-cta { position: relative; overflow: hidden; background: linear-gradient(105deg, #143a6e 0%, #0d2748 100%); }
.main-cta::after { content: ""; position: absolute; top: -8rem; right: -6rem; width: 28rem; height: 28rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.08); pointer-events: none; }
.main-cta .main-inner { position: relative; z-index: 1; display: flex; align-items: center; padding-top: 5.6rem; padding-bottom: 5.6rem; }
.main-cta-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 7.2rem;
  height: 7.2rem;
  margin-right: 2.8rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #d5e4ff;
}
.main-cta-ico svg { width: 3.6rem; height: 3.6rem; }
.main-cta-copy { flex: 1 1 auto; }
.main-cta-label { display: block; font-size: 1.4rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: #7fb0ff; }
.main-cta-tit { margin-top: 0.6rem; font-size: 2.8rem; font-weight: 800; color: #fff; }
.main-cta-desc { margin-top: 0.8rem; font-size: 1.7rem; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.main-cta-btns { display: flex; flex-shrink: 0; margin-left: 3rem; }
.main-btn--white { display: inline-flex; align-items: center; background: #fff; color: var(--navy); }
.main-btn--white svg { width: 1.9rem; height: 1.9rem; margin-right: 0.8rem; }
.main-btn--white:hover { background: #eaf1ff; }
.main-btn--ghost { margin-left: 1.2rem; border: 1px solid rgba(255, 255, 255, 0.42); color: #fff; }
.main-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

@media (max-width: 1240px) { .main-inner { padding-left: 3rem; padding-right: 3rem; } }
@media (max-width: 960px) {
  .main-section { padding: 6rem 0; }
  .main-hero { min-height: calc(100vh - 60px); padding: 5rem 2rem; }
  .main-hero__tit { font-size: 3.8rem; }
  .main-hero__desc { font-size: 1.8rem; }
  .main-hero__arrow { width: 5rem; height: 5rem; }
  .main-hero__arrow svg { width: 2.4rem; height: 2.4rem; }
  .main-hero__arrow--prev { left: 1.6rem; }
  .main-hero__arrow--next { right: 1.6rem; }
  .main-global-cards > li { width: 100%; }
  .main-products-grid > li { width: 100%; }
  .main-info-grid > li { width: 100%; }
  .main-cta .main-inner { display: block; text-align: center; }
  .main-cta-ico { margin: 0 auto 2rem; }
  .main-cta-btns { justify-content: center; margin: 2.8rem 0 0; }
  .main-cta-desc .cta-br { display: none; }
}
@media (max-width: 480px) {
  .main-hero { padding: 4rem 1.6rem; }
  .main-hero__eyebrow { margin-bottom: 1.4rem; font-size: 1.4rem; }
  .main-hero__tit { font-size: 2.8rem; }
  .main-hero__desc { font-size: 1.6rem; }
  .main-hero__btns { flex-direction: column; align-items: center; }
  .main-hero__arrow { width: 4.2rem; height: 4.2rem; }
  .main-hero__arrow svg { width: 2rem; height: 2rem; }
  .main-hero__dots { bottom: 1.8rem; }
  .main-btn { display: block; text-align: center; }
  .main-btn--ghost { margin: 1rem 0 0; }
  .main-btn--line { margin: 1rem 0 0; }
  .main-btn--white { justify-content: center; }
  .main-cta-btns { display: block; }
}

/* ============================================================
   게시판 공용 (board-render — 공지사항 등)
   ============================================================ */
.board-table { min-width: 76rem; font-size: 1.5rem; }
.board-table th { text-align: center; }
.board-table td { text-align: center; padding: 1.2rem 1.6rem; }
.board-table .col-num { width: 8%; }
.board-table .col-name { width: 12%; }
.board-table .col-date { width: 14%; }
.board-table .col-hit { width: 8%; }
.board-table td.col-subject { text-align: left; font-size: 1.8rem; }
.board-table td.col-subject a:hover { color: var(--point); }
.board-empty { padding: 8rem 0 !important; text-align: center !important; color: var(--txt-sub); }
.board-empty-box { padding: 8rem 0; text-align: center; font-size: 1.8rem; color: var(--txt-sub); border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line-soft); }
.board-paging { margin-top: 3rem; text-align: center; }
.board-paging span, .board-paging a {
  display: inline-block;
  min-width: 3.6rem;
  padding: 0.7rem 0;
  border: 1px solid var(--line-soft);
  border-radius: 0.8rem;
  font-size: 1.5rem;
  color: var(--txt-sub);
}
.board-paging .on { color: #fff; background: var(--point); border-color: var(--point); font-weight: 700; }

/* 상세 보기 */
.board-view { border-top: 2px solid var(--navy); }
.board-view-head { padding: 2.4rem 1rem; border-bottom: 1px solid var(--line-soft); }
.board-view-title { font-size: 2.4rem; font-weight: 800; color: var(--tit); }
.board-view-meta { margin-top: 1rem; font-size: 1.5rem; color: var(--txt-sub); }
.board-view-meta span + span { margin-left: 1.4rem; padding-left: 1.4rem; border-left: 1px solid var(--line-soft); }
.board-view-content { padding: 3.6rem 1rem; border-bottom: 1px solid var(--line-soft); min-height: 20rem; overflow-x: auto; }
.board-view-content p { font-size: 1.8rem; line-height: 1.9; color: var(--txt); }
.board-view-content img { max-width: 100%; height: auto; }
.board-view-content .board-img { margin-bottom: 2.8rem; text-align: center; }
.board-view-foot { margin-top: 2.4rem; text-align: right; }
.board-btn {
  display: inline-block;
  background: var(--point);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1rem 2.8rem;
  border-radius: 3rem;
  transition: background 0.15s;
}
.board-btn:hover { background: var(--navy); }

/* 게시판 목록 반응형 — 가로 스크롤 대신 컬럼 축소 + 제목 말줄임(텍스트컷) */
@media (max-width: 768px) {
  .board-page .sub-table-wrap { overflow-x: visible; }
  .board-table { min-width: 0; width: 100%; table-layout: fixed; font-size: 1.4rem; }
  .board-table th, .board-table td { padding: 1.2rem 1rem; }
  .board-table th.col-name, .board-table td.col-name,
  .board-table th.col-hit, .board-table td.col-hit { display: none; }
  .board-table .col-num { width: 5rem; }
  .board-table .col-date { width: 9rem; white-space: nowrap; }
  .board-table td.col-subject { font-size: 1.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .board-table td.col-subject a { display: block; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 480px) {
  .board-table .col-num { display: none; }
  .board-table .col-date { width: 8.4rem; font-size: 1.3rem; }
  .board-view-title { font-size: 2rem; }
  .board-view-content p { font-size: 1.6rem; }
}

/* ============================================================
   고객지원 > 언론보도 (pages/press.php — 갤러리 게시판)
   ============================================================ */
.press-grid { display: flex; flex-wrap: wrap; margin: -1.2rem; }
.press-grid > li { width: 33.333%; padding: 1.2rem; }
.press-card { display: block; height: 100%; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.press-card:hover { transform: translateY(-0.4rem); box-shadow: 0 1.4rem 3.2rem rgba(20, 58, 110, 0.14); }
.press-card-media { display: block; height: 22rem; background: var(--bg-soft); overflow: hidden; }
.press-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.press-card-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 1.8rem; font-weight: 800; letter-spacing: 0.2em; color: var(--line); }
.press-card-body { display: block; padding: 2rem 2.4rem 2.4rem; }
.press-card-tit {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--tit);
  line-height: 1.5;
  max-height: 5.4rem;
  overflow: hidden;
}
.press-card-meta { display: block; margin-top: 0.8rem; font-size: 1.5rem; color: var(--txt-sub); }

/* ============================================================
   고객지원 > 온라인문의 (pages/inquiry.php — 문의 폼)
   ============================================================ */
.inq-layout { display: flex; align-items: flex-start; }
.inq-form { flex: 1; padding: 3.6rem 4rem; }
.inq-error {
  margin-bottom: 2rem;
  padding: 1.2rem 1.8rem;
  border-radius: 0.8rem;
  background: #fdf0ef;
  border: 1px solid #f2c9c5;
  font-size: 1.5rem;
  color: #c0392b;
}
.inq-row { display: flex; margin-top: 2rem; }
.inq-row:first-of-type { margin-top: 0; }
.inq-row--half .inq-field + .inq-field { margin-left: 2rem; }
.inq-field { flex: 1; }
.inq-field label { display: block; margin-bottom: 0.7rem; font-size: 1.5rem; font-weight: 700; color: var(--tit); }
.inq-field label em, .inq-agree em { font-style: normal; color: #d0342c; }
.inq-field input, .inq-field textarea {
  width: 100%;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--line-soft);
  border-radius: 0.8rem;
  font-family: inherit;
  font-size: 1.8rem;
  color: var(--txt);
  background: #fff;
}
.inq-field input:focus, .inq-field textarea:focus { outline: none; border-color: var(--point); }
.inq-field textarea { resize: vertical; line-height: 1.7; }
.inq-trap { position: absolute; left: -9999px; top: -9999px; }
.inq-agree { margin-top: 2.4rem; padding: 1.8rem 2rem; border-radius: 0.8rem; background: var(--bg-soft); border: 1px solid var(--line-soft); }
.inq-agree label { font-size: 1.5rem; font-weight: 700; color: var(--tit); }
.inq-agree input { margin-right: 0.6rem; }
.inq-agree .dim { margin-top: 0.8rem; }
.inq-submit { margin-top: 2.8rem; text-align: center; }
.inq-submit button { border: none; cursor: pointer; font-family: inherit; }

.inq-aside { width: 34%; margin-left: 2.8rem; }
.inq-contact { padding: 2.8rem 3rem; }
.inq-contact h3 { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 1.6rem; }
.inq-contact dl > div { display: flex; margin-top: 1rem; font-size: 1.5rem; }
.inq-contact dt { flex: 0 0 7rem; font-weight: 700; color: var(--point); }
.inq-contact dd { flex: 1; color: var(--txt); line-height: 1.6; }
.inq-contact > p { margin-top: 2.4rem; }

/* 접수 완료 */
.inq-done { max-width: 64rem; margin: 0 auto; padding: 5rem 4rem; text-align: center; }
.inq-done svg { width: 5rem; height: 5rem; color: var(--point); }
.inq-done h3 { margin-top: 1.6rem; font-size: 2.4rem; font-weight: 800; color: var(--tit); }
.inq-done p { margin-top: 1.2rem; font-size: 1.8rem; line-height: 1.8; color: var(--txt); }
.inq-done-btns { margin-top: 1.6rem; }

@media (max-width: 960px) {
  .press-grid > li { width: 50%; }
  .inq-layout { display: block; }
  .inq-aside { width: 100%; margin: 2.4rem 0 0; }
  .inq-form { padding: 2.8rem 2.4rem; }
}
@media (max-width: 480px) {
  .press-grid > li { width: 100%; }
  .inq-row--half { display: block; }
  .inq-row--half .inq-field + .inq-field { margin: 2rem 0 0; }
}

/* ============================================================
   Manufacturing process — 탭메뉴 & STEP 패널 리디자인 (.prd-process 한정)
   ============================================================ */
/* 탭: 균일 그리드(6열) + 활성 그라데이션 */
.prd-process .ui-tabs-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem; margin: 0; }
.prd-process .ui-tabs-nav > li { padding: 0; }
.prd-process .ui-tabs-nav [role="tab"] {
  width: 100%; min-height: 5.2rem;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 0.8rem 1rem; border: 1px solid var(--line-soft); border-radius: 1rem;
  background: #fff; font-size: 1.4rem; font-weight: 700; color: var(--txt-sub);
  line-height: 1.32; white-space: normal; transition: all 0.18s;
}
.prd-process .ui-tabs-nav [role="tab"]:hover { border-color: var(--point); color: var(--point); background: #f2f6fd; box-shadow: 0 0.3rem 0.9rem rgba(25,92,203,0.12); }
.prd-process .ui-tabs-nav [role="tab"].is-active { background: linear-gradient(135deg, var(--point) 0%, var(--navy) 100%); border-color: transparent; color: #fff; box-shadow: 0 0.7rem 1.6rem rgba(20,58,110,0.3); }
.prd-process .ui-tabs-panels { margin-top: 2.4rem; }

/* STEP 패널: 높이 고정 + 이미지 고정비율(cover) + 내부 레이아웃 정돈 */
.prd-process .step-panel { display: flex; align-items: stretch; padding: 0; overflow: hidden; min-height: 36rem; }
.prd-process .step-media { flex: 0 0 46%; margin: 0; overflow: hidden; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; padding: 2.4rem; }
.prd-process .step-media img { width: 100%; height: auto; max-height: 100%; object-fit: contain; display: block; }
.prd-process .step-body { flex: 1; padding: 3.8rem 4rem; display: flex; flex-direction: column; }
.prd-process .step-num { font-size: 1.4rem; letter-spacing: 0.2em; }
.prd-process .step-tit { margin: 0.6rem 0 0; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line-soft); font-size: 2.4rem; }
.prd-process .step-desc { margin-top: 1.8rem; }
.prd-process .step-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.prd-process .step-list li { padding-left: 2.4rem; font-size: 1.7rem; line-height: 1.6; }
.prd-process .step-list li::before { content: ""; position: absolute; left: 0.2rem; top: 0.7rem; width: 0.9rem; height: 0.9rem; background: var(--point); transform: rotate(45deg); border-radius: 0.15rem; }
.prd-process .step-chips { margin-top: auto; padding-top: 2.2rem; }
.prd-process .step-flag { margin-top: 1.8rem; }
.prd-process .step-link-btn { margin-top: 2.2rem; align-self: flex-start; }

@media (max-width: 960px) {
  .prd-process .ui-tabs-nav { grid-template-columns: repeat(4, 1fr); }
  .prd-process .step-panel { display: block; min-height: 0; }
  .prd-process .step-media { width: 100%; padding: 2rem; }
  .prd-process .step-body { padding: 2.8rem 2.4rem; }
}
@media (max-width: 600px) {
  .prd-process .ui-tabs-nav { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .prd-process .ui-tabs-nav [role="tab"] { font-size: 1.3rem; min-height: 4.6rem; padding: 0.6rem; }
  .prd-process .step-media { padding: 1.6rem; }
  .prd-process .step-body { padding: 2.4rem 2rem; }
}

/* ============================================================
   Applications — 적용분야 카드 그리드
   ============================================================ */
.apps-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.2rem; }
.apps-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 1.4rem; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.apps-card:hover { transform: translateY(-0.6rem); box-shadow: var(--shadow-hover); }
.apps-card__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.apps-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.apps-card:hover .apps-card__media img { transform: scale(1.05); }
.apps-card__label { display: flex; align-items: center; gap: 0.9rem; padding: 1.8rem 2rem 0.6rem; font-size: 1.8rem; font-weight: 700; color: var(--tit); }
.apps-card__label::before { content: ""; width: 0.9rem; height: 0.9rem; flex-shrink: 0; background: var(--point); transform: rotate(45deg); border-radius: 0.1rem; }
.apps-card__label span { font-size: 1.4rem; font-weight: 500; color: var(--txt-sub); }
.apps-card__desc { padding: 0 2rem 1.9rem; font-size: 1.5rem; line-height: 1.6; color: var(--txt-sub); }
@media (max-width: 768px) { .apps-cards { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; } }
@media (max-width: 480px) { .apps-cards { grid-template-columns: 1fr; } }

/* ============================================================
   스크롤 리빌 — 자연스러운 페이드업 (reveal.js 가 .reveal 부여)
   · .reveal 은 JS 만 부여 → JS/구브라우저는 항상 표시(FOUC 없음)
   · prefers-reduced-motion: reduce 사용자는 애니메이션 미적용
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translate3d(0, 6rem, 0);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

/* ============================================================
   서브페이지 공용 컴포넌트 (에코라 무드 이식 · 네이비 팔레트)
   ============================================================ */
/* 인페이지 섹션 헤드 */
.ds-sec { margin-top: 7.2rem; }
.ds-sec--tight { margin-top: 4.8rem; margin-bottom: 1.5rem;}
.inq-aside > .ds-sec:first-child { margin-top: 0; }
.inq-aside .ds-feat { margin-top: 3.2rem; }
.ds-sec__eyebrow { display:block; font-size:1.5rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--point); margin-bottom:1.2rem; }
.ds-sec__title { font-size:2.4rem; font-weight:800; line-height:1.35; color:var(--tit); margin:0; }
.ds-sec__title .pt { color:var(--point); }
.ds-sec__desc { margin-top:1.4rem; margin-bottom: 3rem; font-size:1.8rem; line-height:1.8; color:var(--txt); }

/* 콜아웃 (좌측 액센트 바) */
.ds-callout { position:relative; background:var(--bg-soft); border-radius:1.4rem; padding:3rem 3.4rem 3rem 3.8rem; overflow:hidden; margin-top: 3rem; margin-bottom: 3rem;}
.ds-callout::before { content:""; position:absolute; left:0; top:0; bottom:0; width:.6rem; background:linear-gradient(180deg,var(--point),var(--navy)); }
.ds-callout p { font-size:1.8rem; line-height:1.85; color:var(--txt); }
.ds-callout .pt { color:var(--point); font-weight:700; }

/* 소프트 패널 */
.ds-panel { background:var(--bg-soft); border:1px solid var(--line-soft); border-radius:1.6rem; padding:3.6rem 4rem; }

/* 스탯 스트립 */
.ds-stats { display:flex; flex-wrap:wrap; background:var(--bg-soft); border:1px solid var(--line-soft); border-radius:1.6rem; }
.ds-stats > li { width:25%; padding:3rem 1.8rem; text-align:center; position:relative; }
.ds-stats > li + li::before { content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:1px; height:5.4rem; background:var(--line-soft); }
.ds-stats strong { display:block; font-size:3.6rem; font-weight:800; line-height:1; color:var(--point); }
.ds-stats strong .u { color:var(--navy); }
.ds-stats em { display:block; margin-top:1.2rem; font-style:normal; font-size:1.5rem; line-height:1.5; color:var(--txt-sub); }

/* 아이콘 카드 그리드 */
.ds-icards { display:flex; flex-wrap:wrap; margin:0 -1.2rem; }
.ds-icards > li { width:33.3333%; padding:1.2rem; display:flex; }
.ds-icard { width:100%; background:#fff; border:1px solid var(--line-soft); border-radius:1.4rem; padding:3.2rem 3rem; transition:transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s, border-color .28s; }
.ds-icard:hover { transform:translateY(-.6rem); box-shadow:0 1.6rem 3.4rem rgba(20,58,110,.14); border-color:var(--point); }
.ds-icard__ico { width:5.6rem; height:5.6rem; display:flex; align-items:center; justify-content:center; border-radius:1.4rem; background:linear-gradient(135deg,#1e63c8,var(--navy)); color:#fff; margin-bottom:2rem; box-shadow:0 .8rem 1.8rem rgba(20,58,110,.26); }
.ds-icard__ico svg { width:2.8rem; height:2.8rem; }
.ds-icard__tit { font-size:1.8rem; font-weight:700; color:var(--tit); line-height:1.4; }
.ds-icard__desc { margin-top:1rem; font-size:1.5rem; line-height:1.7; color:var(--txt-sub); }

/* 피처 행 (아이콘+텍스트) */
.ds-feat { display:flex; flex-direction:column; gap:1.4rem; }
.ds-feat__row { display:flex; align-items:flex-start; gap:1.8rem; background:#fff; border:1px solid var(--line-soft); border-radius:1.4rem; padding:2.4rem 2.8rem; }
.ds-feat__ico { flex-shrink:0; width:5rem; height:5rem; border-radius:1.2rem; background:linear-gradient(135deg,#1e63c8,var(--navy)); color:#fff; display:flex; align-items:center; justify-content:center; }
.ds-feat__ico svg { width:2.6rem; height:2.6rem; }
.ds-feat__tit { font-size:1.8rem; font-weight:700; color:var(--tit); }
.ds-feat__desc { margin-top:.5rem; font-size:1.5rem; line-height:1.7; color:var(--txt-sub); }

/* 넘버 스텝 */
.ds-steps { counter-reset: dstep; }
.ds-steps__item { display:flex; gap:2rem; align-items:flex-start; }
.ds-steps__item + .ds-steps__item { margin-top:1.4rem; }
.ds-steps__num { counter-increment:dstep; flex-shrink:0; width:4.6rem; height:4.6rem; border-radius:50%; background:var(--point); color:#fff; font-size:1.8rem; font-weight:800; display:flex; align-items:center; justify-content:center; }
.ds-steps__num::before { content:counter(dstep,decimal-leading-zero); }
.ds-steps__body { flex:1; background:#fff; border:1px solid var(--line-soft); border-radius:1.2rem; padding:2rem 2.6rem; }
.ds-steps__tit { font-size:1.8rem; font-weight:700; color:var(--tit); }
.ds-steps__tit .pt { color:var(--point); }
.ds-steps__desc { margin-top:.6rem; font-size:1.5rem; line-height:1.7; color:var(--txt-sub); }

/* 컨테인드 CTA 밴드 */
.ds-cta { margin-top:8rem; background:linear-gradient(135deg,var(--navy) 0%,#1e63c8 72%,#2f7de0 130%); border-radius:2rem; padding:5.4rem 4rem; text-align:center; color:#fff; }
.ds-cta__title { font-size:2.4rem; font-weight:800; line-height:1.3; }
.ds-cta__sub { margin-top:1.2rem; font-size:1.8rem; line-height:1.7; color:rgba(255,255,255,.92); }
.ds-cta__btns { margin-top:2.8rem; display:flex; flex-wrap:wrap; justify-content:center; gap:1.4rem; }

/* 버튼 */
.ds-btn { display:inline-flex; align-items:center; justify-content:center; min-height:5.2rem; padding:0 3rem; border-radius:5rem; font-size:1.5rem; font-weight:700; text-decoration:none; border:.15rem solid transparent; transition:all .2s; }
.ds-btn--fill { background:var(--point); color:#fff; box-shadow:0 .8rem 2rem rgba(25,92,203,.28); }
.ds-btn--fill:hover { background:var(--navy); transform:translateY(-.2rem); }
.ds-btn--ghost { background:#fff; color:var(--point); border-color:var(--line-soft); }
.ds-btn--ghost:hover { border-color:var(--point); transform:translateY(-.2rem); }
.ds-btn--white { background:#fff; color:var(--navy); }
.ds-btn--white:hover { transform:translateY(-.2rem); box-shadow:0 1rem 2.4rem rgba(0,0,0,.18); }
.ds-btn--outline { background:transparent; color:#fff; border-color:rgba(255,255,255,.6); }
.ds-btn--outline:hover { border-color:#fff; background:rgba(255,255,255,.12); transform:translateY(-.2rem); }

@media (max-width:900px){
  .ds-icards > li { width:50%; }
  .ds-sec { margin-top:5.2rem; }
  .ds-sec__title { font-size:2rem; }
  .ds-panel { padding:2.8rem 2.6rem; }
  .ds-callout { padding:2.6rem 2.4rem 2.6rem 3rem; }
  .ds-sec__desc,.ds-callout p { font-size:1.6rem; }
}
@media (max-width:600px){
  .ds-icards > li { width:100%; }
  .ds-stats > li { width:50%; }
  .ds-stats > li::before { display:none; }
  .ds-stats strong { font-size:2.4rem; }
  .ds-cta { padding:4rem 2.4rem; margin-top:5.6rem; }
  .ds-steps__num { width:4rem; height:4rem; font-size:1.6rem; }
}

/* 가운데 정렬 / 2열 그리드 변형 (개별 페이지에서 선택 적용) */
.ds-sec--center { text-align: center; }
.ds-sec--center .ds-sec__desc { margin-left: auto; margin-right: auto; }
.ds-icards--2 > li { width: 50%; }
@media (max-width: 640px){
  .ds-icards--2 > li { width: 100%; }
}
