/* ==========================================================================
   LAYOUT — Header · Mega Menu · Mobile Nav · Footer · 공통 섹션 요소
   두 사업부 공통 파일 — 사업부별 차이는 CSS 토큰 (var(--x, 기본값=총기사업부))
   국문 사이트(정밀제조)는 base.css :root 에서만 지정 :
   --nav-font / --nav-size / --fmenu-size / --related-size / --related-weight / --cta-min-w
   Sub page head --ph-* · --crumb-* · --tab-* (아래 Sub page head 주석 참고)
   시안 main.psd / main4.png(Mega Menu) 1920px 기준
   ========================================================================== */

.ico { display: inline-block; width: 1em; height: 1em; flex: none; fill: currentColor; vertical-align: middle; }

.skip-link {
  position: absolute; z-index: 1000; top: -100px; left: 16px;
  padding: 10px 16px; background: var(--c-blue); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.site-main { display: block; min-height: 50vh; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--c-dark);
  color: #fff;
}
.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
}
.site-header__logo { flex: none; width: 186px; }
.site-header__logo img { width: 100%; height: auto; filter: brightness(0) invert(1); }

.gnb { margin-left: auto; height: 100%; }
.gnb__list { display: flex; height: 100%; gap: 56px; }
.gnb__item { position: relative; display: flex; align-items: center; height: 100%; }
.gnb__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  font-family: var(--nav-font, var(--f-head));
  font-weight: 700;
  font-size: var(--nav-size, 24px);
  letter-spacing: -.025em;
  text-transform: uppercase;
  white-space: nowrap;
}
.gnb__link::after {
  /* 활성 언더라인 (시안: 텍스트 폭 × 5px, 하단에서 22px) */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  height: 5px;
  background: var(--c-blue);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease-out);
}
.gnb__item.is-current > .gnb__link::after,
.gnb__item.is-open > .gnb__link::after { transform: scaleX(1); }

.site-header__cta { margin-left: 51px; height: 100%; }
.btn-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--cta-min-w, 0);
  height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--c-blue);
  color: #fff;
  font-family: var(--nav-font, var(--f-head));
  font-weight: 700;
  font-size: var(--nav-size, 24px);
  letter-spacing: -.025em;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--c-blue-dark);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur) var(--ease-out);
}
@media (hover: hover) { .btn-cta:hover::before { transform: scaleX(1); } }

/* 일반 Dropdown (PARTS · MEDIA · ABOUT US · CONTACT SALES) */
.gnb__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 220px;
  padding: 12px 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 18px 30px -12px rgba(11, 15, 20, .25);
  transform: translate(-50%, -6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, transform .25s var(--ease-out), visibility .25s;
}
.gnb__sub a {
  display: block;
  padding: 10px 24px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--c-text-sub);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.gnb__sub a:hover, .gnb__sub a:focus-visible { color: var(--c-blue); background: var(--c-blue-light); }
.gnb__item.is-open > .gnb__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Mega Menu (RIFLES · PISTOLS) -------------------------------------------- */
.mega {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  color: var(--c-text);
  background: var(--c-bg);
  box-shadow: 0 24px 40px -20px rgba(11, 15, 20, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s, transform .3s var(--ease-out), visibility .3s;
}
.gnb__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner {
  display: grid;
  grid-template-columns: 324px 427px 393px 1fr;
  min-height: 485px;
}
.mega__inner > * { padding-top: 40px; padding-bottom: 40px; }
.mega__inner > * + * { border-left: 1px solid var(--c-line); }

.mega__intro { padding-right: 24px; padding-top: 52px; }
.mega__eyebrow { font-weight: 700; font-size: 18px; letter-spacing: -.025em; color: var(--c-text-sub); }
.mega__title {
  position: relative;
  margin-top: 5px;
  padding-bottom: 21px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -.025em;
}
.mega__title::after { content: ""; position: absolute; left: 2px; bottom: 0; width: 40px; height: 5px; background: var(--c-blue); }
.mega__desc { margin-top: 20px; font-weight: 600; font-size: 20px; line-height: 1.5; letter-spacing: -.025em; color: var(--c-text-sub); }

.mega__cats { padding-left: 28px; padding-right: 24px; padding-top: 43px; }
.mega__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 47px;
  margin-bottom: 5px;
  padding: 0 27px 0 26px;
  border-radius: 4px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.025em;
  color: var(--c-text-sub);
  transition: color .2s, background .2s;
}
.mega__cat .ico { font-size: 20px; }
.mega__cat.is-active { color: var(--c-blue); background: var(--c-blue-light); }

.mega__models { padding-left: 40px; padding-right: 36px; }
.mega__model-list { display: none; }
.mega__model-list.is-active { display: block; }
.mega__model {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -.025em;
  color: var(--c-text-sub);
  transition: color .2s;
}
.mega__model .ico { font-size: 20px; }
.mega__model.is-active { color: var(--c-blue); }
.mega__models { padding-top: 40px; }

.mega__previews { padding-left: 46px; padding-top: 48px; }
.mega__preview { display: none; }
.mega__preview.is-active { display: block; animation: megaFade .35s var(--ease-out); }
@keyframes megaFade { from { opacity: 0; transform: translateY(6px); } }
.mega__thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 420 / 246;
  min-height: 0;
  overflow: hidden;
  padding: 24px;
  border-radius: 8px;
  background: var(--c-bg-gray);
}
/* 미리보기 이미지 : 시안 메가 이미지(900×648 캔버스, 제품 가운데)를 상자 비율대로 가운데 기준 채움
   위치·크기를 상자 % 로 지정 (상자가 작아져도 시안 여백 24px/420px 비율 유지 → 빈 화면·치우침 없음) */
.mega__thumb { position: relative; }
.mega__thumb img {
  position: absolute;
  top: 9.756%; left: 5.714%;                 /* 24/246 · 24/420 */
  width: 88.571%; height: 80.488%;
  object-fit: cover;
}
.mega__name { margin-top: 12px; font-family: var(--f-head); font-weight: 700; font-size: 30px; letter-spacing: -.025em; }
.mega__spec { margin-top: -2px; font-weight: 600; font-size: 20px; letter-spacing: -.025em; color: var(--c-text-sub); }
.mega__preview .link-arrow { margin-top: 23px; }

/* 텍스트 링크 + 화살표 (VIEW DETAILS / VIEW ALL) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--c-blue);
  position: relative;
}
.link-arrow::after {
  /* Hover : 하단 좌→우 게이지 (평상시 보이지 않음) */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease-out);
}
.link-arrow .ico { transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) {
  .link-arrow:hover::after { transform: scaleX(1); }
  .link-arrow:hover .ico { transform: translateX(6px); }
}
.link-arrow:focus-visible::after, .link-arrow:active::after { transform: scaleX(1); }

/* Header toggle / Mobile Nav ---------------------------------------------- */
.site-header__toggle { display: none; margin-left: auto; width: 44px; height: 44px; color: #fff; font-size: 28px; }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow-y: auto;
  background: var(--c-dark);
  color: #fff;
}
.mnav[hidden] { display: none; }
.mnav__head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 20px; }
.mnav__head .site-header__logo { width: 136px; }
.mnav__close { width: 44px; height: 44px; color: #fff; font-size: 28px; }
.mnav__list { padding: 8px 20px; }
.mnav__item { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mnav__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 22px;
  text-align: left;
  text-transform: uppercase;
}
.mnav__btn .ico { transition: transform .3s; }
.mnav__btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.mnav__sub { padding: 0 0 14px 4px; }
.mnav__sub[hidden] { display: none; }
.mnav__sub a { display: block; padding: 8px 0; font-size: 16px; color: rgba(255, 255, 255, .72); }
.mnav__cta { display: grid; gap: 10px; padding: 24px 20px 40px; }
.mnav__cta .btn-cta { height: 50px; font-size: 18px; }

/* Section title (● OUR PRODUCTS) ------------------------------------------ */
.sec-title {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--c-text);
}
.sec-title::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border: 3px solid var(--c-blue);
  border-radius: 50%;
}

/* 버튼 스킨 (.btn-fill 과 함께 사용 — Hover 좌→우 게이지 Fill, 가이드 13-1) ----------
   .btn-line : 아웃라인 (기본 64px Pill · 2px #cad4df)       VIEW ALL / ABOUT DASAN
   .btn-blue : 파란 배경 + 진한 파랑 게이지                    VIEW PRODUCTS / CONTACT SALES / SUBMIT
   크기 Modifier
   .btn--split : 219px 고정폭 · 텍스트/아이콘 양끝 정렬        (Main)
   .btn--md    : 62px Pill · 1px 테두리                        (제품 상세 CTA)
   .btn--box   : 4px 사각 (line 65px / blue 61px)              (Contact · 1:1 Inquiry)
   -------------------------------------------------------------------------- */
.btn-line, .btn-blue {
  height: 64px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 20px;
  letter-spacing: -.025em;
}
.btn-line .ico, .btn-blue .ico { font-size: 20px; }
.btn-line {
  --btn-accent: var(--c-blue);
  --btn-fg: var(--c-text);
  gap: 40px;
  border: 2px solid #cad4df;   /* 시안 VIEW ALL / ABOUT DASAN */
  font-weight: 600;
}
@media (hover: hover) { .btn-line:hover { border-color: var(--c-blue); } }
.btn-blue {
  --btn-accent: var(--c-blue-dark);
  --btn-fg: #fff;
  background: var(--c-blue);
}

.btn--split { justify-content: space-between; width: 219px; gap: 0; padding: 0 30px 0 32px; }

.btn--md { height: 62px; padding: 0 28px; gap: 26px; font-weight: 700; white-space: nowrap; }
.btn-line.btn--md { border-width: 1px; }

.btn--box { border-radius: 4px; padding: 0 32px; font-weight: 700; }
.btn-line.btn--box { min-width: 200px; height: 65px; gap: 12px; border: 1px solid var(--c-line); }
.btn-blue.btn--box { flex: none; min-width: 331px; height: 61px; gap: 23px; }
.btn-blue.btn--box .ico { font-size: 22px; }

@media (max-width: 1599px) {
  .btn--md { padding: 0 20px; gap: 16px; font-size: 18px; }
}
@media (max-width: 1279px) {
  .btn--md { height: 54px; }
}
@media (max-width: 767px) {
  .btn--md { height: 52px; font-size: 17px; }
  .btn-blue.btn--box { min-width: 0; height: 54px; font-size: 18px; }
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  padding: 68px 0 63px;
  background: var(--c-dark);
  color: #fff;
}
.site-footer__top { display: flex; align-items: flex-start; justify-content: space-between; }
.site-footer__logo { width: 186px; margin-top: 2px; }
.site-footer__logo img { width: 100%; height: auto; filter: brightness(0) invert(1); }

.related { position: relative; }
.related__btn {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  height: 64px;
  padding: 0 30px;
  border: 1px solid #cad4df;
  border-radius: 999px;
  font-family: var(--nav-font, var(--f-head));
  font-weight: var(--related-weight, 600);
  font-size: var(--related-size, 20px);
  letter-spacing: -.025em;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}
.related__btn .ico { transition: transform .3s; }
.related__btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
@media (hover: hover) { .related__btn:hover { background: #fff; color: var(--c-dark); } }
.related__list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  min-width: 100%;
  padding: 10px 0;
  border-radius: 12px;
  background: #fff;
  color: var(--c-text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
.related__list[hidden] { display: none; }
.related__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 22px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.related__list a:hover { color: var(--c-blue); }

.site-footer__body { display: flex; margin-top: 23px; }
.site-footer__menu {
  position: relative;
  flex: none;
  width: 206px;
  margin-top: -12px;           /* 48px 행간의 위쪽 여백 보정 (시안: 첫 줄 = 세로선 시작) */
  font-family: var(--nav-font, var(--f-head));
  font-weight: 700;
  font-size: var(--fmenu-size, 24px);
  line-height: 48px;
  letter-spacing: -.025em;
}
.site-footer__menu::after {
  /* 세로 구분선 (시안: 1px × 162px) */
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 1px;
  height: 162px;
  background: #fff;
}
.site-footer__menu a:hover { color: #8ec2ee; }

.site-footer__info { margin-top: -12px; padding-left: 86px; }
.site-footer__row { display: flex; flex-wrap: wrap; column-gap: 53px; line-height: 48px; }
.site-footer__row > div { display: flex; align-items: center; }
.site-footer__row dt {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.025em;
}
.site-footer__row dd {
  display: flex;
  align-items: center;
  margin-left: 26px;
  font-size: 20px;
  letter-spacing: -.025em;
  color: #b9baba;
}
.site-footer__row dd::before { content: ""; width: 1px; height: 18px; margin-right: 31px; background: #85878a; }
.site-footer__copy {
  margin-top: 59px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.025em;
  color: #a5a6a7;
}

/* Top button -------------------------------------------------------------- */
.to-top {
  position: fixed;
  z-index: 90;
  right: 29px;
  bottom: 40px;
  display: grid;
  place-items: center;
  width: 75px;
  height: 75px;
  border: 1px solid rgba(22, 119, 200, .55);
  background: rgba(255, 255, 255, .45);
  backdrop-filter: blur(6px);
  color: var(--c-blue);
  font-size: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease-out), visibility .3s, background .3s, color .3s;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .to-top:hover { background: var(--c-blue); color: #fff; } }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1599px) {
  .gnb__list { gap: 36px; }
  .gnb__link, .btn-cta { font-size: 21px; }
  .site-header__cta { margin-left: 36px; }
  .mega__inner { grid-template-columns: 280px 360px 330px 1fr; }
}
@media (max-width: 1279px) {
  :root { --header-h: 80px; }
  .site-header__logo { width: 150px; }
  .gnb__list { gap: 24px; }
  .gnb__link { font-size: 18px; }
  .btn-cta { height: 46px; padding: 0 22px; font-size: 18px; }
  .site-header__cta { margin-left: 24px; }
  .mega__inner { grid-template-columns: 260px 1fr 1fr; min-height: 420px; }
  .mega__previews { display: none; }
  .mega__title { font-size: 40px; }
  .mega__cat { font-size: 20px; }
  .mega__model { font-size: 24px; height: 50px; }

  .site-footer__info { padding-left: 48px; }
  .site-footer__row { column-gap: 32px; }
  .site-footer__row dd { line-height: 1.5; }
}
@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .gnb, .site-header__cta { display: none; }
  .site-header__toggle { display: grid; place-items: center; }
  .site-header__logo { width: 136px; }

  .sec-title { font-size: 36px; }

  .site-footer { padding: 48px 0 56px; }
  .site-footer__body { flex-direction: column; margin-top: 32px; }
  .site-footer__menu { display: flex; flex-wrap: wrap; gap: 4px 28px; width: auto; margin-top: 0; font-size: 20px; line-height: 1.6; }
  .site-footer__menu::after { display: none; }
  .site-footer__menu a { position: relative; }
  .site-footer__menu a::after { content: ""; position: absolute; inset: -4px -6px; }   /* 터치 영역 40px */
  .site-footer__info { padding: 24px 0 0; margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); }
  .site-footer__row { flex-direction: column; line-height: 1.5; row-gap: 8px; }
  .site-footer__row + .site-footer__row { margin-top: 8px; }
  .site-footer__row dt { width: 72px; font-size: 18px; }
  .site-footer__row dd { margin-left: 0; font-size: 15px; }
  .site-footer__row dd::before { margin-right: 14px; height: 14px; }
  .site-footer__copy { margin-top: 32px; font-size: 15px; }
  .to-top { right: 16px; bottom: 20px; width: 52px; height: 52px; font-size: 20px; }
}
@media (max-width: 599px) {
  .site-footer__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .related__btn { height: 48px; font-size: 17px; }
  .related__list { left: 0; right: auto; }
  .sec-title { font-size: 30px; gap: 10px; }
  .sec-title::before { width: 12px; height: 12px; border-width: 2px; }
}

/* 국문 섹션 타이틀 Modifier (● 정밀제조 솔루션 : SUIT Bold 36 · 12px 링) — .sec-title.sec-title--ko */
.sec-title--ko { font-family: var(--f-ko, var(--f-body)); font-size: 36px; text-transform: none; }
.sec-title--ko::before { width: 12px; height: 12px; }
@media (max-width: 1279px) { .sec-title--ko { font-size: 32px; } }
@media (max-width: 1023px) { .sec-title--ko { font-size: 28px; } }
@media (max-width: 767px) {
  .sec-title--ko { gap: 10px; font-size: 24px; }
  .sec-title--ko::before { width: 10px; height: 10px; border-width: 2px; }
}

/* Sub page head : 타이틀 + Breadcrumb + Pill 탭 (시안 sub*.psd 공통) -----------
   토큰 (기본값 = 총기사업부, 정밀제조는 base.css :root + 같은 브레이크포인트의 @media :root 에서 지정)
   --ph-pt · --ph-pb       : 상단 여백 · 구분선 위 여백
   --ph-font · --ph-size · --ph-lh · --ph-shift : 타이틀 글꼴 · 크기 · 행간 · 하단 보정(margin-bottom)
   --crumb-font · --crumb-size · --crumb-pb · --crumb-sep · --crumb-sep-m : Breadcrumb (구분 화살표 크기 · 좌우 여백)
   --tab-gap · --tab-min-w · --tab-h · --tab-size · --tab-pad · --tab-pad-active · --tab-fill(모바일 균등폭 flex)
   각 브레이크포인트 규칙도 같은 토큰을 다시 읽으므로 토큰은 단계별 값만 바꾸면 됨
   -------------------------------------------------------------------------- */
.page-head { padding-top: var(--ph-pt, 72px); }   /* 11/18 1차 검토 : 112 → 72 (목록이 첫 화면에 보이도록) */
.page-head__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: var(--ph-pb, 48px);   /* 74 → 48 */
  border-bottom: 1px solid #808080;
}
.page-head__title {
  margin-bottom: var(--ph-shift, 0);
  font-family: var(--ph-font, var(--f-head));
  font-weight: 700;
  font-size: var(--ph-size, 90px);
  line-height: var(--ph-lh, 1);
  letter-spacing: -.025em;
  color: var(--c-text);
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: var(--crumb-pb, 6px);
  font-family: var(--crumb-font, var(--f-head));
  font-weight: 700;
  font-size: var(--crumb-size, 24px);
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--c-text);
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before {
  content: "";
  width: var(--crumb-sep, 8px);
  height: var(--crumb-sep, 8px);
  margin: var(--crumb-sep-m, 0 23px 0 21px);
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.breadcrumb a { position: relative; display: flex; align-items: center; }
.breadcrumb li:first-child a::after { content: ""; position: absolute; inset: -11px; }   /* Home 아이콘 터치 영역 41px */
.breadcrumb .ico { width: 19px; height: 19px; }
.breadcrumb a:hover { color: var(--c-blue); }

.tabs-pill { display: flex; flex-wrap: wrap; gap: var(--tab-gap, 8px); margin-top: 24px; }   /* 37 → 24 */
.tabs-pill__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tab-min-w, 0);
  height: var(--tab-h, 65px);
  padding: var(--tab-pad, 0 26px);
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--tab-size, 20px);
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--c-text-sub);
  white-space: nowrap;
  transition: color .25s, background .25s;
}
.tabs-pill__item:hover { color: var(--c-blue); }
.tabs-pill__item.is-active { padding: var(--tab-pad-active, 0 54px); background: var(--c-blue); color: #fff; }

@media (max-width: 1279px) {
  .page-head { padding-top: var(--ph-pt, 56px); }
  .page-head__title { font-size: var(--ph-size, 72px); }
  .page-head__top { padding-bottom: var(--ph-pb, 36px); }
  .breadcrumb { font-size: var(--crumb-size, 18px); }
}
@media (max-width: 767px) {
  .page-head { padding-top: var(--ph-pt, 44px); }
  .page-head__top { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: var(--ph-pb, 28px); }
  .page-head__title { font-size: var(--ph-size, 48px); }
  .breadcrumb { font-size: var(--crumb-size, 14px); padding-bottom: var(--crumb-pb, 0); }
  .breadcrumb li + li::before { width: var(--crumb-sep, 6px); height: var(--crumb-sep, 6px); margin: var(--crumb-sep-m, 0 12px 0 10px); }
  .breadcrumb .ico { width: 15px; height: 15px; }
  .tabs-pill { margin-top: 24px; gap: var(--tab-gap, 4px); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs-pill > li { display: flex; flex: var(--tab-fill, 0 1 auto); }
  .tabs-pill__item { flex: var(--tab-fill, 0 1 auto); height: var(--tab-h, 44px); padding: var(--tab-pad, 0 16px); font-size: var(--tab-size, 15px); }
  .tabs-pill__item.is-active { padding: var(--tab-pad-active, 0 22px); }
}

/* 인증 카드 (총기 About Quality · 정밀 설비현황 품질인증) ----------------------
   마크업 : ul.cert-list > li.cert > .cert__logo img + .cert__num + .cert__name + .cert__desc
   목록 상단 여백 (margin-top) 은 페이지에서 지정
   -------------------------------------------------------------------------- */
.cert-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cert-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cert { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cert + .cert::before { content: ""; position: absolute; left: 0; top: 48px; width: 1px; height: 203px; background: #808080; }
.cert__logo { display: grid; place-items: center; height: 110px; }
.cert__logo img { width: auto; max-width: 220px; max-height: 110px; mix-blend-mode: multiply; }
/* 공식 인증로고가 없는 항목 : 규격 번호를 텍스트 마크로 (로고로 오인되지 않게 외곽선 박스) */
.cert__mark {
  display: inline-grid;
  place-items: center;
  min-width: 160px;
  padding: 16px 22px;
  border: 2px solid var(--c-line);
  border-radius: 10px;
  color: var(--c-text-sub);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
  white-space: nowrap;
}
/* 가로로 긴 워드마크 : 원형 인증마크(110px)와 시각적 무게를 맞춘다 */
.cert__logo--wide img { max-width: 175px; }
/* 인증마크가 아닌 설명 (예: 고객사 회사 로고임을 밝힘) */
.cert__note { margin-top: 10px; color: var(--c-text-sub); font-size: 15px; line-height: 1.5; }
.cert__num {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 36px;
  margin-top: 20px;
  border-radius: 18px;
  background: var(--c-blue);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .025em;
}
.cert__name { margin-top: 17px; font-family: var(--f-head); font-weight: 700; font-size: 36px; line-height: 36px; letter-spacing: -.025em; }
.cert__desc { margin-top: 9px; font-size: 26px; line-height: 38px; letter-spacing: -.025em; word-break: normal; }
@media (max-width: 1599px) {
  .cert__desc { font-size: 22px; line-height: 32px; }
}
@media (max-width: 1279px) {
  .cert__name { font-size: 32px; }
  .cert__desc { font-size: 20px; line-height: 30px; }
}
@media (max-width: 1023px) {
  /* 4개짜리는 2열로 접고, 새 행 첫 칸의 세로 구분선은 숨긴다 */
  .cert-list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .cert-list--4 .cert:nth-child(2n+1)::before { display: none; }
  .cert__logo { height: 90px; }
  .cert__logo img { max-height: 90px; max-width: 170px; }
  .cert__mark { min-width: 130px; padding: 12px 16px; font-size: 17px; }
  .cert + .cert::before { top: 36px; height: 170px; }
  .cert__name { font-size: 28px; line-height: 32px; }
  .cert__desc { font-size: 17px; line-height: 26px; padding: 0 12px; }
}
@media (max-width: 767px) {
  .cert-list, .cert-list--4 { grid-template-columns: 1fr; }
  .cert-list--4 { row-gap: 0; }
  .cert-list--4 .cert:nth-child(2n+1)::before { display: block; }
  .cert { padding: 32px 0; }
  .cert + .cert::before { top: 0; left: 50%; width: 160px; height: 1px; margin-left: -80px; }
  .cert__desc br { display: none; }
}

/* Channel Card (Main CONTACT SALES · Contact 허브) ----------------------------
   .channel-card--glass : Main  (반투명 흰 카드, 아이콘 좌상단 · 텍스트 우측 정렬)
   .channel-card--tile  : Contact 허브 (회색 타일, 아이콘 → 하단 텍스트 · 원형 화살표)
   Hover/Tap : Blue 배경 + 흰 텍스트, 아이콘 반전
   -------------------------------------------------------------------------- */
.channel-card {
  --arrow-shift: 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  letter-spacing: -.025em;     /* 16px 기준 (--tile 의 제목·설명이 상속) */
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
.channel-card__icon {
  display: grid;
  place-items: center;
  background: var(--c-blue);
  color: #fff;
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
.channel-card__icon svg { width: auto; }
.channel-card__title { font-family: var(--f-head); font-weight: 700; font-size: 36px; }
.channel-card__desc { font-size: 24px; }
.channel-card__arrow { position: absolute; font-size: 24px; line-height: 1; }
.channel-card__arrow .ico { transition: transform var(--dur) var(--ease-out); }
.channel-card:focus-visible, .channel-card:active { background: var(--c-blue); color: #fff; }
.channel-card:focus-visible .channel-card__icon, .channel-card:active .channel-card__icon { background: #fff; color: var(--c-blue); }
@media (hover: hover) {
  .channel-card:hover { background: var(--c-blue); color: #fff; }
  .channel-card:hover .channel-card__icon { background: #fff; color: var(--c-blue); }
  .channel-card:hover .channel-card__arrow .ico { transform: translateX(var(--arrow-shift)); }
}

.channel-card--glass {
  align-items: flex-end;
  height: 238px;
  padding: 113px 47px 0 37px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  text-align: right;
}
.channel-card--glass .channel-card__icon { position: absolute; left: 37px; top: 33px; width: 66px; height: 66px; border-radius: 5px; }
.channel-card--glass .channel-card__icon svg { height: 38px; max-width: 38px; }
.channel-card--glass .channel-card__icon .ico-inquiry, .channel-card--glass .channel-card__icon .ico-faq { height: 32px; max-width: 37px; }
.channel-card--glass .channel-card__title { line-height: 44px; letter-spacing: -.025em; }
.channel-card--glass .channel-card__desc { margin-top: 3px; line-height: 36px; letter-spacing: -.025em; }
.channel-card--glass .channel-card__arrow { left: 38px; bottom: 40px; }
/* 시안 main4 : Hover 시 아이콘 박스 흰색 + 글리프 검정 */
.channel-card--glass:focus-visible .channel-card__icon, .channel-card--glass:active .channel-card__icon { color: var(--c-text); }
@media (hover: hover) { .channel-card--glass:hover .channel-card__icon { color: var(--c-text); } }

.channel-card--tile {
  --arrow-shift: 4px;
  align-items: flex-start;
  height: 100%;
  min-height: 254px;
  padding: 32px 90px 33px 38px;
  border-radius: 4px;
  background: var(--c-bg-gray);
  color: var(--c-text);
}
.channel-card--tile:focus-visible { outline-offset: 4px; }
.channel-card--tile .channel-card__icon { width: 71px; height: 71px; margin-left: -6px; border-radius: 4px; }
.channel-card--tile .channel-card__icon svg { height: 43px; max-width: 45px; }
.channel-card--tile .channel-card__title { margin-top: auto; line-height: 1; }
.channel-card--tile .channel-card__desc { margin-top: 8px; line-height: 1.5; color: var(--c-text-sub); transition: color .35s; }
.channel-card--tile:focus-visible .channel-card__desc, .channel-card--tile:active .channel-card__desc { color: rgba(255, 255, 255, .85); }
@media (hover: hover) { .channel-card--tile:hover .channel-card__desc { color: rgba(255, 255, 255, .85); } }
.channel-card--tile .channel-card__arrow {
  right: 31px;
  bottom: 35px;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-blue);
}

@media (max-width: 1599px) {
  .channel-card--glass .channel-card__title { font-size: 30px; }
  .channel-card--glass .channel-card__desc { font-size: 20px; }
  .channel-card--tile { padding-right: 28px; }
  .channel-card--tile .channel-card__desc { padding-right: 56px; }
}
@media (max-width: 1279px) {
  .channel-card--glass { height: 210px; padding: 100px 26px 0 26px; }
  .channel-card--glass .channel-card__icon { left: 26px; top: 26px; width: 58px; height: 58px; }
  .channel-card--glass .channel-card__arrow { left: 28px; bottom: 30px; }
  .channel-card--glass .channel-card__title { font-size: 26px; line-height: 34px; }
  .channel-card--glass .channel-card__desc { font-size: 17px; line-height: 28px; }

  .channel-card--tile { min-height: 220px; padding: 28px; }
  .channel-card--tile .channel-card__icon { margin-left: 0; width: 64px; height: 64px; }
  .channel-card--tile .channel-card__icon svg { height: 36px; }
  .channel-card--tile .channel-card__title { font-size: 28px; padding-top: 32px; }
  .channel-card--tile .channel-card__desc { font-size: 18px; }
  .channel-card--tile .channel-card__arrow { right: 24px; bottom: 28px; }
}
@media (max-width: 1023px) {
  /* 가로형 : 아이콘 좌측 · 텍스트 · 화살표 우측 */
  .channel-card--glass { height: auto; min-height: 120px; padding: 30px 28px 30px 110px; align-items: flex-start; justify-content: center; text-align: left; }
  .channel-card--glass .channel-card__icon { left: 26px; top: 50%; margin-top: -29px; }
  .channel-card--glass .channel-card__arrow { left: auto; right: 28px; bottom: auto; top: 50%; margin-top: -12px; }

  .channel-card--tile { min-height: 112px; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 24px; padding: 24px 80px 24px 112px; }
  .channel-card--tile .channel-card__icon { position: absolute; left: 24px; top: 50%; margin-top: -32px; }
  .channel-card--tile .channel-card__title { margin-top: 0; padding-top: 0; flex: 1 1 calc(100% - 100px); }
  .channel-card--tile .channel-card__desc { margin: 4px 0 0; flex-basis: 100%; }
  .channel-card--tile .channel-card__arrow { top: 50%; bottom: auto; margin-top: -21px; }
}
@media (max-width: 767px) {
  .channel-card--glass { min-height: 104px; padding: 22px 54px 22px 92px; }
  .channel-card--glass .channel-card__icon { left: 20px; width: 52px; height: 52px; margin-top: -26px; }
  .channel-card--glass .channel-card__icon svg { height: 30px; }
  .channel-card--glass .channel-card__icon .ico-inquiry, .channel-card--glass .channel-card__icon .ico-faq { height: 26px; }
  .channel-card--glass .channel-card__arrow { right: 20px; }
  .channel-card--glass .channel-card__title { font-size: 22px; line-height: 28px; }
  .channel-card--glass .channel-card__desc { font-size: 15px; line-height: 22px; }

  .channel-card--tile { min-height: 96px; padding: 20px 64px 20px 92px; }
  .channel-card--tile .channel-card__icon { left: 16px; width: 56px; height: 56px; margin-top: -28px; }
  .channel-card--tile .channel-card__icon svg { height: 30px; }
  .channel-card--tile .channel-card__title { font-size: 22px; }
  .channel-card--tile .channel-card__desc { font-size: 15px; }
  .channel-card--tile .channel-card__arrow { right: 16px; width: 36px; height: 36px; margin-top: -18px; font-size: 20px; }
}

/* Pagination (그누보드 get_paging 스킨화 시 동일 클래스 사용) -------------------
   기본 : 36px 사각 (1:1 Inquiry) · --round : 48px 원형 (Media)
   마크업 : nav.pagination > .pagination__arrow + ol.pagination__list > li > .pagination__num + .pagination__arrow--next
   -------------------------------------------------------------------------- */
.pagination { display: flex; align-items: center; gap: 7px; }
.pagination__list { display: flex; gap: 7px; }
.pagination__num, .pagination__arrow {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  border-radius: 4px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 20px;
  color: var(--c-text-sub);
  transition: color .2s, background .2s, border-color .2s;
}
.pagination__num::after, a.pagination__arrow::after { content: ""; position: absolute; inset: -2px; }   /* 터치 영역 40px */
.pagination__num:hover { color: var(--c-blue); background: var(--c-blue-light); }
.pagination__num.is-current { background: var(--c-blue); color: #fff; }
a.pagination__arrow:hover { background: var(--c-blue-light); }
/* 기본 화살표 : chevron-down 회전 */
.pagination__arrow .ico { width: 20px; height: 20px; transform: rotate(90deg); color: var(--c-text); }
.pagination__arrow--next .ico { transform: rotate(-90deg); }
.pagination__arrow.is-disabled .ico { color: #c4c8cd; }

.pagination--round { justify-content: center; gap: 24px; }
.pagination--round .pagination__list { gap: 6px; }
.pagination--round .pagination__num, .pagination--round .pagination__arrow { min-width: 48px; height: 48px; border-radius: 999px; font-weight: 700; }
.pagination--round .pagination__num::after, .pagination--round a.pagination__arrow::after { display: none; }
.pagination--round .pagination__num:not(.is-current):hover { background: none; }
/* --round 화살표 : arrow-right (이전 = 180° 회전) · 테두리 */
.pagination--round .pagination__arrow { border: 1px solid var(--c-line); color: var(--c-text); font-size: 22px; }
.pagination--round .pagination__arrow .ico { width: 1em; height: 1em; color: inherit; transform: rotate(180deg); }
.pagination--round .pagination__arrow--next .ico { transform: none; }
.pagination--round a.pagination__arrow:hover { background: none; border-color: var(--c-blue); color: var(--c-blue); }
.pagination--round .pagination__arrow.is-disabled { opacity: .35; }
.pagination--round .pagination__arrow.is-disabled .ico { color: inherit; }
@media (max-width: 599px) {
  .pagination--round { gap: 10px; }
  .pagination--round .pagination__num, .pagination--round .pagination__arrow { min-width: 40px; height: 40px; font-size: 17px; }
}

/* YouTube Video Modal (Main MEDIA · Media 페이지 공통, js/common.js) ------------ */
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
}
.vmodal[hidden] { display: none; }
.vmodal__sentinel { position: absolute; width: 1px; height: 1px; overflow: hidden; }   /* Focus trap */
.vmodal__backdrop { position: absolute; inset: 0; background: rgba(11, 15, 20, .86); animation: vmFade .3s; }
.vmodal__dialog { position: relative; width: min(1280px, 100%, calc((100vh - 140px) * 16 / 9)); animation: vmIn .4s var(--ease-out); }
.vmodal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: #fff; }
.vmodal__title { font-family: var(--f-head); font-weight: 700; font-size: 28px; letter-spacing: -.025em; }
.vmodal__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  transition: background .25s, color .25s;
}
.vmodal__close:hover { background: #fff; color: var(--c-dark); }
.vmodal__frame { aspect-ratio: 16 / 9; background: #000; }
.vmodal__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@keyframes vmFade { from { opacity: 0; } }
@keyframes vmIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
body.is-vmodal-open { overflow: hidden; }
@media (max-width: 599px) {
  .vmodal { padding: 12px; }
  .vmodal__title { font-size: 20px; }
  .vmodal__close { width: 40px; height: 40px; font-size: 22px; }
}
