/* ==========================================================================
   DASAN — base (tokens · reset · common components)
   PC 시안 1920px 기준. 두 사업부 공통 파일 (사업부별 차이는 :root 토큰만 수정)
   ========================================================================== */

:root {
  /* color */
  --c-blue: #1677c8;          /* Dasan Blue (UI 포인트) */
  --c-blue-dark: #0b5ea8;     /* Blue 버튼 Hover 게이지 Fill */
  --c-blue-bright: #0472e2;   /* 버튼 테두리·글로우 */
  --c-navy: #00164c;
  --c-orange: #f29d32;        /* 정밀제조 이미지 톤 (UI 포인트로 쓰지 않음) */
  --c-dark: #0b0f14;          /* Dark Header/Footer */
  --c-dark-2: #161b22;
  --c-text: #111111;
  --c-text-sub: #58595b;
  --c-line: #c8d0db;
  --c-bg: #f7f8fa;            /* 콘텐츠 기본 배경 */
  --c-bg-gray: #eef1f5;       /* 카드/박스 */
  --c-blue-light: #e1effc;    /* 활성 배경 */
  --c-white: #ffffff;

  /* font */
  --f-display: "Teko", "Rajdhani", sans-serif;
  --f-head: "Rajdhani", "Inter", sans-serif;
  --f-body: "Inter", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  /* layout */
  --container: 1610px;        /* 시안 콘텐츠 폭 155~1765 */
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 100px;

  /* motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur: .45s;
}

/* 정밀제조사업부 (국문 사이트) : 한글은 SUIT, 영문 제목은 Rajdhani(한글 글리프는 SUIT 로 대체) */
:root {
  --f-ko: "SUIT Variable", "SUIT", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-head: "Rajdhani", "SUIT Variable", "SUIT", sans-serif;
  --f-body: "SUIT Variable", "SUIT", "Inter", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --nav-font: var(--f-ko);
  --nav-size: 20px;
  --fmenu-size: 22px;
  --related-size: 18px;
  --related-weight: 700;
  --cta-min-w: 212px;

  /* Sub page head (layout.css .page-head · .breadcrumb · .tabs-pill) — 시안 sub*.psd : 타이틀 SUIT 72/90 · Breadcrumb 20 · 탭 208px */
  --ph-pt: 114px;
  --ph-pb: 77px;
  --ph-font: var(--f-ko);
  --ph-size: 72px;
  --ph-lh: 90px;
  --ph-shift: -7px;
  --crumb-font: var(--f-ko);
  --crumb-size: 20px;
  --crumb-pb: 8px;
  --crumb-sep: 7px;
  --crumb-sep-m: 0 24px 0 23px;
  --tab-gap: 0px;
  --tab-min-w: 208px;
  --tab-pad: 0 20px;
  --tab-pad-active: 0 20px;
}
@media (max-width: 1599px) {
  :root { --ph-size: 64px; --ph-lh: 80px; --ph-shift: -6px; }
}
@media (max-width: 1279px) {
  :root { --ph-pt: 80px; --ph-pb: 56px; --ph-size: 56px; --ph-lh: 68px; --ph-shift: -5px; --crumb-size: 18px; }
}
@media (max-width: 767px) {
  :root {
    --ph-pt: 44px; --ph-pb: 28px; --ph-size: 44px; --ph-lh: 54px; --ph-shift: 0px;
    --crumb-size: 14px; --crumb-pb: 0px; --crumb-sep: 6px; --crumb-sep-m: 0 12px 0 10px;
    --tab-min-w: 0px; --tab-h: 46px; --tab-size: 16px; --tab-pad: 0 12px; --tab-pad-active: 0 12px; --tab-fill: 1 1 0;
  }
}

/* reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, picture, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
table { border-collapse: collapse; border-spacing: 0; }

.blind,
.sound_only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible { outline: 2px solid var(--c-blue-bright); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* button : Hover 시 좌 → 우 게이지형 Fill (가이드 13-1 공통 규칙) ------------- */
.btn-fill {
  --btn-accent: var(--c-blue);
  --btn-fg: var(--c-text);
  --btn-fg-hover: var(--c-white);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--btn-fg);
  transition: color .48s ease, border-color .48s ease;
}
.btn-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);   /* 가이드 05 */
}
.btn-fill .ico { width: 1em; height: 1em; flex: none; fill: currentColor; }

@media (hover: hover) {
  .btn-fill:hover, .is-hover .btn-fill { color: var(--btn-fg-hover); }
  .btn-fill:hover::before, .is-hover .btn-fill::before { transform: scaleX(1); }
}
.btn-fill:active::before { transform: scaleX(1); }
.btn-fill:active { color: var(--btn-fg-hover); }

