/* ==========================================================================
   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;
}

/* 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); }

