@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');

:root {
  --color-navy: #003277;
  --color-navy-dark: #002455;
  --color-navy-hover: #004494;
  --color-red: #D12A44;
  --color-red-dark: #b12238;
  --color-text: #1a1a1a;
  --color-text-mute: #666;
  --color-text-light: #999;
  --color-border: #e5e7eb;
  --color-border-strong: #d1d5db;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f8fa;
  --color-bg-mute: #eef1f5;
  --color-footer-bg: #003268;
  --color-footer-text: #ffffff;
  --color-footer-text-mute: rgba(255,255,255,.72);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,.08);

  --header-h: 96px;
  --container: 1440px;
  --container-narrow: 1200px;

  --font-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Malgun Gothic', '맑은 고딕', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}
.site-header--overlay {
  position: fixed;
  background: #ffffff;
  border-bottom-color: var(--color-border);
  color: var(--color-text);
}
.site-header--overlay.is-scrolled {
  background: #ffffff;
  color: var(--color-text);
  border-bottom-color: var(--color-border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-red);
  white-space: nowrap;
  margin-left: 0;
}
.site-header--overlay .brand { color: var(--color-red); }
.site-header--overlay.is-scrolled .brand { color: var(--color-red); }

.gnb {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
}
.gnb__item {
  position: relative;
  font-size: 20px;
  font-weight: 500;
  color: inherit;
  padding: 12px 0;
  transition: color .15s;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.gnb__item:hover,
.gnb__item.is-active { color: var(--color-navy); }
.site-header--overlay .gnb__item:hover,
.site-header--overlay .gnb__item.is-active { color: var(--color-navy); opacity: 1; }
.site-header--overlay.is-scrolled .gnb__item:hover,
.site-header--overlay.is-scrolled .gnb__item.is-active { color: var(--color-navy); }
.gnb__item--external::after {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  margin-left: 4px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M14 3h7v7'/><path d='M10 14L21 3'/><path d='M21 14v7h-7'/><path d='M3 10V3h7'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M14 3h7v7'/><path d='M10 14L21 3'/><path d='M21 14v7h-7'/><path d='M3 10V3h7'/></svg>") no-repeat center / contain;
  vertical-align: -1px;
}

/* GNB 2차 드롭다운 */
.gnb__group {
  position: relative;
  display: flex;
  align-items: center;
}
.gnb__sub {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 168px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s, visibility .18s;
  z-index: 110;
  white-space: nowrap;
}
.gnb__group:hover .gnb__sub {
  opacity: 1;
  visibility: visible;
}
.gnb__sub a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  transition: color .12s, background .12s;
}
.gnb__sub a:hover {
  color: var(--color-navy);
  background: var(--color-bg-soft);
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  min-width: 40px; height: auto;
  padding: 6px 4px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: inherit;
  border-radius: 8px;
  transition: background .15s;
}
.icon-btn:hover { background: rgba(0,0,0,.06); }
.site-header--overlay .icon-btn:hover { background: rgba(255,255,255,.15); }
.site-header--overlay.is-scrolled .icon-btn:hover { background: rgba(0,0,0,.06); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.icon-btn__label { font-size: 10px; line-height: 1; white-space: nowrap; }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  display: none;
  padding-top: 20vh;
  justify-content: center;
  align-items: flex-start;
}
.search-overlay.is-open { display: flex; }
.search-panel {
  width: min(720px, 92vw);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px 24px;
  box-shadow: var(--shadow-md);
  color: var(--color-text);
}
.search-panel h3 { font-size: 18px; margin-bottom: 14px; }
.search-panel__form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--color-navy);
  padding: 8px 4px;
}
.search-panel__form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 4px;
  font-size: 18px;
  background: transparent;
}
.search-panel__form button {
  color: var(--color-navy);
  font-weight: 600;
  padding: 8px 12px;
}
.search-panel__hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-text-mute);
}
.search-panel__close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

/* ============ Sub page top ============ */
.sub-top {
  padding: 60px 0 24px;
  text-align: center;
}
.sub-top__crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-mute);
  margin-bottom: 10px;
}
.sub-top__crumb img { width: 14px; height: 14px; opacity: .7; }
.sub-top__crumb span { color: var(--color-text-mute); }
.sub-top__crumb b { color: var(--color-text); font-weight: 500; }
.sub-top__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ============ Footer ============ */
.site-footer {
  margin-top: 80px;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 60px 0 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer-left { display: flex; flex-direction: column; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.footer-logo img { height: 45px; width: auto; }
.footer-logo__name { font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.footer-logo__sub { opacity: .65; font-weight: 400; font-size: 13px; margin-left: 8px; }
.footer-info {
  font-size: 15px;
  line-height: 2.3;
  color: var(--color-footer-text-mute);
  margin-bottom: 32px;
}
.footer-info strong { color: #fff; font-weight: 600; }
.footer-copy {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 44px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: background .15s;
}
.footer-socials a:hover { background: rgba(255,255,255,.3); }
.footer-cs { text-align: right; }
.footer-cs__label { font-size: 15px; color: var(--color-footer-text-mute); letter-spacing: .1em; margin-bottom: 8px; }
.footer-cs__tel { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.footer-cs__hours { font-size: 14px; color: var(--color-footer-text-mute); line-height: 1.8; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all .15s ease;
  cursor: pointer;
}
.btn--primary { background: var(--color-navy); color: #fff; }
.btn--primary:hover { background: var(--color-navy-hover); }
.btn--outline { border-color: var(--color-border-strong); color: var(--color-text); background: #fff; }
.btn--outline:hover { border-color: var(--color-navy); color: var(--color-navy); }
.btn--ghost { background: transparent; color: var(--color-text); border: 1px solid var(--color-border); }
.btn--ghost:hover { background: var(--color-bg-soft); }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* Form */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field > label { font-size: 14px; font-weight: 600; }
.form-field input[type="text"],
.form-field input[type="password"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  border: 1px solid var(--color-border-strong);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-navy);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.input-icon {
  position: relative;
}
.input-icon svg,
.input-icon > img {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--color-text-light);
  stroke: currentColor; fill: none; stroke-width: 1.8;
  pointer-events: none;
}
.input-icon input {
  padding-left: 42px !important;
  width: 100%;
}

/* Chip / toggle buttons */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-width: 56px;
  padding: 8px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--color-navy); color: var(--color-navy); }
.chip.is-active {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

/* ── Common table (.tbl) ──────────────────────────────
   Shared table style, applied site-wide.
   Values from Figma node 2-6533 ("표2"): #ccc grid border,
   #f7f7f7 header/label fill, centered, 14px, ~59px rows. */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td {
  padding: 19px 16px;
  border: 1px solid #ccc;
  text-align: center;
}
.tbl th { background: #f7f7f7; font-weight: 500; }
.tbl td.text-left, .tbl th.text-left { text-align: left; }

/* key/value variant (Figma 2-5687): centered gray label column,
   left-aligned value, horizontal separators only (no vertical divider) */
.tbl--kv th { width: 40%; }
.tbl--kv td { text-align: left; }
.tbl--kv th, .tbl--kv td { border-top: none; border-left: none; border-right: none; }

/* emphasized total row */
.tbl .total td {
  font-weight: 800;
  font-size: 15px;
  background: #eef4ff;
  color: var(--color-navy);
}

/* Responsive */
@media (max-width: 1200px) {
  .gnb { gap: 20px; }
  .gnb__item { font-size: 17px; }
  .container, .container-narrow { padding: 0 20px; }
}
/* 햄버거 버튼 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 999px;
  transition: background .15s;
}
.nav-toggle:hover { background: rgba(0,0,0,.06); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all .2s;
}

/* 모바일 드로어 */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.5);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__inner {
  position: absolute;
  top: 0; left: 0;
  width: 280px; height: 100%;
  background: #fff;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 60px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.mobile-nav__brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--color-text-mute);
}
.mobile-nav__close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--color-text-mute);
  cursor: pointer;
  padding: 4px 8px;
}
.mobile-nav__body { padding: 12px 0; flex: 1; }
.mobile-nav__footer {
  border-top: 1px solid var(--color-border);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav__footer-btn {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  background: var(--color-navy);
  color: #fff;
}
.mobile-nav__footer-btn--muted {
  background: #f0f0f0;
  color: var(--color-text-mute);
  font-weight: 400;
}
.mobile-nav__item {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: -0.02em;
}
.mobile-nav__item:last-child { border-bottom: none; }
.mobile-nav__item--ext { color: var(--color-navy); }
.mobile-nav__group { border-bottom: 1px solid var(--color-border); }
.mobile-nav__group .mobile-nav__item { border-bottom: none; }
.mobile-nav__sub {
  background: #f7f7f7;
  padding: 4px 0 10px;
}
.mobile-nav__sub a {
  display: block;
  padding: 9px 24px 9px 36px;
  font-size: 14px;
  color: #555;
}
.mobile-nav__sub a:hover { color: var(--color-navy); }

@media (max-width: 1024px) {
  .header-inner { gap: 20px; }
  .brand { margin-left: 0; }
  .header-utils { margin-left: auto; }
  .gnb { display: none; }
  .nav-toggle { display: flex; }
  .header-util-desktop { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-right { text-align: left; align-items: flex-start; gap: 24px; }
  .footer-cs { text-align: left; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .brand { font-size: 14px; }
  .sub-top__title { font-size: 22px; }
  .sub-top { padding: 20px 0; }
  .footer-info { font-size: 13px; }
  .footer-cs__tel { font-size: 26px; }
  .footer-cs__label, .footer-cs__hours, .footer-copy { font-size: 12px; }

  /* 섹션 상하 여백 축소 */
  .section { padding: 32px 0; }
  .container, .container-narrow { padding: 0 16px; }

  /* 테이블 모바일: 가로 스크롤 + 셀 여백 축소 */
  .tbl { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .tbl th, .tbl td { padding: 10px 10px; font-size: 13px; }
  .tbl--kv { white-space: normal; }
  .tbl--kv th, .tbl--kv td { padding: 10px 12px; font-size: 14px; word-break: break-word; }
}

/* [아이케이텍] 폼 접수 완료 배너 */
.ik-sent-banner{
  background:#e8f5e9;border:1px solid #a5d6a7;color:#1b5e20;
  border-radius:10px;padding:16px 22px;margin:0 auto 28px;max-width:900px;
  font-size:15px;line-height:1.6;font-weight:600;text-align:center;
}
.ik-sub--raw .ik-sent-banner{margin-top:24px;}

/* [아이케이텍] 스크린리더 전용 텍스트 숨김 (그누보드 skin .sound_only) */
.sound_only, .msg_sound_only{
  overflow:hidden !important; position:absolute !important;
  width:1px; height:1px; margin:-1px; padding:0; border:0; clip:rect(0 0 0 0);
  font-size:0; line-height:0;
}
