/* ============================================================
   CHANGELOG
   2026-07-09  접근성 추가 — 스킵 링크, :focus-visible 초점 표시,
               prefers-reduced-motion 대응, 허니팟 숨김 스타일.
   2026-07-09  최신 CSS — text-wrap(balance/pretty), @view-transition.
   2026-07-09  드롭다운 메뉴가 중첩해서 뜨던 오류 수정.
               :focus-within → :has(:focus-visible) 로 교체하고,
               마우스가 메뉴에 들어오면 hover 중인 패널만 남기도록 함.
               (데스크톱 폭에서만 적용 — 모바일은 펼침 목록이라 제외)
   ============================================================ */

/* ============================================================
   인포디어(Infodea) 홈페이지 — Design System
   Theme: Deep Navy + Gold (금융 컴플라이언스 신뢰형)
   ============================================================ */

/* ---------- Fonts ---------- */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #081a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --navy-600: #1d3f6e;
  --blue-500: #2a6f97;
  --blue-400: #3e8dc4;

  --gold: #c9a24b;
  --gold-light: #e3c988;
  --gold-dark: #a8842f;

  /* Neutrals */
  --ink: #16202e;
  --muted: #56657c;
  --line: #e2e8f1;
  --gray-50: #f6f8fb;
  --gray-100: #eef2f8;
  --white: #ffffff;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 18px 50px rgba(11, 37, 69, 0.16);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Content placeholder (아직 작성되지 않은 자리 표시) ---------- */
.placeholder {
  display: block;
  color: #8a6d1f;
  background: #fbf4df;
  border: 1px dashed #d8bd6a;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 14px;
  font-style: italic;
  font-size: 0.94rem;
  line-height: 1.6;
}
.placeholder::before {
  content: "✏ 작성 필요 — ";
  font-style: normal;
  font-weight: 800;
  color: #b8892e;
}

/* ---------- Floating 도입 문의 버튼 (전 페이지 우측 하단 고정) ---------- */
.fab-contact {
  position: fixed; right: 24px; bottom: 24px; z-index: 95;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--gold); color: var(--navy-900); font-weight: 700; font-size: 0.98rem;
  box-shadow: 0 10px 28px rgba(201,162,75,0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.fab-contact:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(201,162,75,0.55); }
.fab-contact .ic { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .fab-contact { right: 16px; bottom: 16px; padding: 15px; }
  .fab-contact span { display: none; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--gray-50); border-top: 1px solid var(--gray-100); }
.section--tight { padding: 72px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy-800); color: #dce5f2; }
.sol-block[id], .card[id], [id].section { scroll-margin-top: 98px; }

.center { text-align: center; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.025em; color: var(--navy-800); font-weight: 700; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--gold-light); }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.section-lead { font-size: 1.05rem; color: var(--muted); max-width: 680px; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.section--navy .section-lead { color: #aebfd6; }
.section-head { margin-bottom: 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.97rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 6px 18px rgba(201,162,75,0.35); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201,162,75,0.45); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy-800); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--navy-600); background: var(--gray-50); }
.btn--light { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn--light:hover { background: rgba(255,255,255,0.22); }
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Icon system (SVG sprite via <use>) ---------- */
.ic {
  width: 24px; height: 24px; display: inline-block; vertical-align: middle;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.card-icon .ic { width: 27px; height: 27px; }
.vi .ic { width: 24px; height: 24px; }
.ci-icon .ic { width: 22px; height: 22px; }
.welfare-item .wi .ic { width: 26px; height: 26px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
/* #header 래퍼가 헤더 높이만큼만 차지해 sticky가 깨지므로 박스를 없앰 → 헤더가 body 기준으로 고정 */
#header { display: contents; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.32rem; color: var(--navy-800); letter-spacing: -0.03em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; color: var(--gold-light); font-weight: 800; font-size: 1.05rem;
  box-shadow: inset 0 0 0 1px rgba(201,162,75,0.4);
}
.brand small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; color: var(--muted); }
.brand-logo { height: 40px; width: auto; display: block; }
.brand--footer .brand-logo { height: 30px; filter: brightness(0) invert(1); opacity: 0.95; }

.nav-menu { display: flex; align-items: center; gap: 8px; height: 100%; }
/* 앞 항목과 살짝 띄우는 메뉴 (NAV 의 spaced:true) */
.nav-link--gap { margin-left: 20px; }
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px; height: 100%;
  padding: 0 22px; font-weight: 600; font-size: 1.03rem; color: #3c4961;
  letter-spacing: -0.01em; transition: color 0.2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2.5px;
  background: var(--gold); border-radius: 2px 2px 0 0;
  transform: scaleX(0); transform-origin: center; transition: transform 0.28s var(--ease);
}
.nav-link:hover, .nav-item:hover .nav-link { color: var(--navy-800); }
.nav-link:hover::after, .nav-link.active::after, .nav-item:hover .nav-link::after { transform: scaleX(1); }
.nav-link.active { color: var(--navy-800); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .btn--gold { padding: 10px 21px; font-size: 0.91rem; }

/* ---------- Dropdown (mega) ---------- */
.dd-caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); opacity: 0.7; }
.nav-item:hover .dd-caret { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); z-index: 120;
}
.dd-panel::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item:hover .dd-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dd-inner { display: flex; gap: 8px; }
.dd-col { flex: 1; min-width: 215px; padding: 6px; }
.dd-col + .dd-col { border-left: 1px solid var(--line); padding-left: 18px; }
.dd-head { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); padding: 4px 12px 8px; }
.dd-link { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border-radius: 10px; transition: background 0.18s; }
.dd-link:hover { background: var(--gray-50); }
.dd-t { font-weight: 600; font-size: 0.95rem; color: var(--navy-800); }
.dd-d { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }
.dd-more { display: inline-block; margin: 8px 12px 0; font-size: 0.84rem; font-weight: 600; color: var(--blue-500); }
.dd-more:hover { color: var(--navy-700); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-800); margin: 5px auto; border-radius: 2px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 480px at 90% 4%, rgba(62,141,196,0.13), transparent 62%),
    linear-gradient(135deg, #07182f 0%, #0b2545 56%, #0f2c54 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 460px at 88% 112%, rgba(201,162,75,0.10), transparent 64%);
}
/* restrained concentric emblem (decorative) */
.hero-deco {
  position: absolute; top: 50%; right: -160px; transform: translateY(-50%);
  width: 640px; height: 640px; pointer-events: none; z-index: 0;
}
.hero-deco svg { width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 1; padding: 104px 0 96px; max-width: 880px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #dbe6f5;
  margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 4px rgba(227,201,136,0.2); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.18; margin-bottom: 22px; }
.hero h1 .hl { color: var(--gold-light); }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #b9c8de; max-width: 660px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 30px 0 64px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat .num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.hero-stat .num .unit { color: var(--gold-light); font-size: 0.6em; margin-left: 2px; }
.hero-stat .label { color: #9fb1cb; font-size: 0.92rem; margin-top: 4px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,75,0.5); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: var(--gold-light);
  margin-bottom: 20px; font-size: 1.5rem;
}
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--blue-500); font-weight: 600; font-size: 0.93rem; }
.card-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--gold-dark); background: rgba(201,162,75,0.12); padding: 4px 11px; border-radius: 999px; margin-bottom: 16px; }

/* feature list inside cards */
.feat-list { margin-top: 16px; }
.feat-list li { position: relative; padding-left: 26px; margin-bottom: 9px; color: var(--muted); font-size: 0.95rem; }
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ============================================================
   FEATURE SPLIT (editorial: sticky aside + numbered list)
   ============================================================ */
.feature-split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: start; }
.fs-aside { position: sticky; top: 108px; }
.fs-aside .btn { margin-top: 26px; }
.fs-list { display: flex; flex-direction: column; gap: 16px; }
.fs-item {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 22px;
  padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.fs-item:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,75,0.55); }
.fs-num { align-self: start; padding-top: 4px; font-size: 0.92rem; font-weight: 800; color: var(--gold-dark); letter-spacing: 0.04em; }
.fs-ic { width: 56px; height: 56px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: var(--gold-light); }
.fs-ic .ic { width: 26px; height: 26px; }
.fs-tag { display: inline-block; font-size: 0.73rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-dark); text-transform: uppercase; margin-bottom: 5px; }
.fs-body h3 { font-size: 1.18rem; margin-bottom: 6px; }
.fs-body p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.fs-arrow { align-self: center; font-size: 1.3rem; color: var(--blue-500); transition: transform 0.2s var(--ease); }
.fs-item:hover .fs-arrow { transform: translateX(4px); }

/* ---------- Service cards (distinct: top bar + ghost number) ---------- */
.card--svc { position: relative; overflow: hidden; padding-top: 40px; }
.card--svc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); }
.card-num { position: absolute; top: 16px; right: 26px; font-size: 2.7rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: rgba(11,37,69,0.06); }

/* ============================================================
   CLIENT LOGO BAND
   ============================================================ */
.logos-band { padding: 54px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); overflow: hidden; }
.logos-title { text-align: center; color: var(--muted); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 30px; }
.logos-track { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.logo-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 12px; background: var(--gray-50);
  border: 1px solid var(--line); color: var(--navy-700); font-weight: 700; font-size: 1.02rem;
  letter-spacing: -0.02em; transition: 0.25s;
}
.logo-chip:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); transform: translateY(-3px); }
.logos-image { display: flex; justify-content: center; padding: 0 16px; }
/* 로고가 14개로 늘어 가로가 길어졌다. 1000px 로 묶으면 글자가 너무 작아진다. */
.logos-image img { width: 100%; max-width: 1180px; height: auto; display: block; }
.logo-chip--img { padding: 14px 22px; background: #fff; min-width: 148px; }
.logo-chip--img:hover { background: #fff; border-color: rgba(201,162,75,0.6); transform: translateY(-3px); }
.logo-chip--img img { height: 30px; width: auto; max-width: 170px; object-fit: contain; display: block; }

/* ============================================================
   CASE / SUCCESS
   ============================================================ */
.case-card {
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #fff;
}
.case-visual {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: #fff; padding: 44px; display: flex; flex-direction: column; justify-content: center; position: relative;
}
.case-visual::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,0.3), transparent 70%);
}
.case-visual .client { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.case-visual .sub { color: var(--gold-light); font-weight: 600; }
.case-body { padding: 40px; }
.case-body h4 { font-size: 0.82rem; color: var(--gold-dark); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.case-body p { color: var(--muted); margin-bottom: 20px; }
.case-metrics { display: flex; gap: 28px; }
.case-metrics .m .n { font-size: 1.5rem; font-weight: 800; color: var(--navy-800); }
.case-metrics .m .l { font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   REFERENCES CAROUSEL (구축사례 9개씩 슬라이드)
   ============================================================ */
.ref-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "prev view next"
    "dots dots dots";
  align-items: center; column-gap: 8px;
}
.ref-prev { grid-area: prev; }
.ref-next { grid-area: next; }
/* 세로 여백은 뷰포트에 넉넉히 (hover 그림자가 위아래로 안 잘리게).
   좌우는 옆 페이지가 비치지 않도록 0 → 대신 카드 그림자 여백은 .ref-page 안쪽 padding 으로 확보 */
.ref-viewport { grid-area: view; overflow: hidden; padding: 26px 0 50px; }
.ref-track { display: flex; transition: transform 0.45s var(--ease); will-change: transform; }
.ref-page {
  flex: 0 0 100%; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; align-content: start; padding: 0 26px;
}
.ref-arrow {
  width: 50px; height: 50px; flex: none; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: grid; place-items: center; color: var(--navy-800);
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.ref-arrow:hover:not(:disabled) {
  background: var(--navy-800); color: #fff; border-color: var(--navy-800);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.ref-arrow:disabled { opacity: 0.32; cursor: default; }
.ref-arrow .ic-arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ref-dots { grid-area: dots; display: flex; justify-content: center; gap: 9px; margin-top: 30px; }
.ref-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: transform 0.2s, background 0.2s; }
.ref-dot.active { background: var(--gold); transform: scale(1.25); }
.ref-dot:hover:not(.active) { background: var(--gold-light); }

@media (max-width: 980px) {
  .ref-page { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .ref-carousel {
    grid-template-areas:
      "view view view"
      "prev dots next";
    column-gap: 10px;
  }
  .ref-dots { margin-top: 22px; }
  .ref-page { grid-template-columns: 1fr; }
}

/* ============================================================
   TIMELINE (History)
   ============================================================ */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.tl-item { position: relative; padding: 0 0 30px 46px; }
.tl-item::before {
  content: ""; position: absolute; left: 5px; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold); box-shadow: 0 0 0 4px rgba(201,162,75,0.12);
}
.tl-item .date { font-weight: 700; color: var(--blue-500); font-size: 0.9rem; }
.tl-item .title { font-weight: 600; color: var(--ink); }
.tl-item.major .title { font-weight: 700; }
.tl-item.major::before { background: var(--gold); }

/* ============================================================
   STATS / VALUE STRIP
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value-cell { padding: 40px 34px; border-right: 1px solid var(--line); background: #fff; }
.value-cell:last-child { border-right: none; }
.value-cell .vi { width: 50px; height: 50px; border-radius: 12px; background: rgba(201,162,75,0.14); color: var(--gold-dark); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.value-cell h3 { font-size: 1.18rem; margin-bottom: 8px; }
.value-cell p { color: var(--muted); font-size: 0.96rem; }

/* ============================================================
   ORG CHART (inline SVG) — 글자 크기는 --org-font 하나로 조절
   ============================================================ */
.org-image { max-width: 860px; margin: 0 auto; }
.org-svg {
  --org-font: 21px;          /* 도표 안 글자 크기 (기존 이미지 대비 축소) */
  width: 100%; height: auto; display: block;
}
.org-svg .org-link path { fill: none; stroke: #c7d3e3; stroke-width: 2; }
.org-svg .org-box rect { fill: var(--navy-800); }
.org-svg .org-box--lab { fill: var(--white); stroke: var(--gold); stroke-width: 2; }
.org-svg .org-label text {
  font-family: inherit;
  font-size: var(--org-font);
  font-weight: 700;
  letter-spacing: -0.02em;
  fill: var(--white);
  text-anchor: middle;
  dominant-baseline: central;
}
.org-svg .org-label text.org-label--lab { fill: var(--navy-800); }
@media (max-width: 640px) {
  .org-svg { --org-font: 22px; }   /* 좁은 화면에서는 상대적으로 키워 가독성 유지 */
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  position: relative; overflow: hidden; border-radius: 20px;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900));
  color: #fff; padding: 64px 56px; text-align: center;
}
.cta-strip::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 300px at 50% -20%, rgba(201,162,75,0.25), transparent 60%); }
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-strip p { color: #b9c8de; margin-bottom: 30px; max-width: 600px; margin-left:auto; margin-right:auto; }
.cta-strip .hero-cta { justify-content: center; }

/* ============================================================
   PAGE HEADER (sub pages)
   ============================================================ */
.page-hero {
  background: radial-gradient(900px 400px at 85% -20%, rgba(201,162,75,0.16), transparent 60%),
              linear-gradient(150deg, var(--navy-900), var(--navy-800));
  color: #fff; padding: 84px 0 72px; position: relative; overflow: hidden;
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.page-hero p { color: #b9c8de; max-width: 640px; font-size: 1.08rem; }
.breadcrumb { font-size: 0.86rem; color: #8da3c2; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { margin: 0 8px; opacity: 0.6; }

/* ============================================================
   IN-PAGE TABS (긴 스크롤 → 탭 전환 / 모바일 횡스크롤)
   ============================================================ */
.pagetabs {
  position: sticky; top: 77px; z-index: 90;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 78px;
}
.pagetabs-track {
  display: flex; gap: 2px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pagetabs-track::-webkit-scrollbar { display: none; }
.ptab {
  position: relative; white-space: nowrap;
  padding: 18px 22px; font-weight: 700; font-size: 0.97rem;
  color: var(--muted); border-bottom: 2.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.ptab:hover { color: var(--navy-800); }
.ptab.active { color: var(--navy-800); border-bottom-color: var(--gold); }

.tabpane { display: none; }
.tabpane.active { display: block; animation: paneIn 0.45s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .pagetabs { top: 77px; }
  .pagetabs .container { padding: 0 10px; }
  .ptab { padding: 15px 15px; font-size: 0.92rem; }
}

/* ============================================================
   SOLUTION DETAIL BLOCKS
   ============================================================ */
.sol-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.sol-block:nth-child(even) .sol-text { order: 2; }
.sol-num { font-size: 0.85rem; font-weight: 800; color: var(--gold-dark); letter-spacing: 0.1em; margin-bottom: 12px; }
.sol-block h2 { font-size: 1.7rem; margin-bottom: 14px; }
.sol-block > .sol-text p { color: var(--muted); margin-bottom: 20px; }
.sol-visual {
  border-radius: var(--radius); padding: 40px; min-height: 260px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900)); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.sol-visual::after { content:""; position:absolute; right:-60px; top:-60px; width:200px; height:200px; border-radius:50%; background: radial-gradient(circle, rgba(201,162,75,0.25), transparent 70%); }
.sol-visual .badge { display:inline-flex; align-self:flex-start; padding:6px 14px; border-radius:999px; background:rgba(255,255,255,0.1); font-size:0.82rem; font-weight:600; color:var(--gold-light); }
.sol-visual .big { font-size: 2rem; font-weight: 800; }
.sol-visual ul li { padding: 7px 0; border-top: 1px solid rgba(255,255,255,0.1); color:#cdd9ec; font-size:0.95rem; }
/* 스크린샷을 그대로 채우는 변형 — 이미지 비율이 박스 높이를 결정한다 */
.sol-visual--image { padding: 0; min-height: 0; }
.sol-visual--image::after { display: none; }
.sol-visual--image img { display: block; width: 100%; height: auto; }

/* ============================================================
   ACCORDION / WHY differentiators
   ============================================================ */
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow-sm); transition: 0.25s var(--ease); height:100%; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-num { font-size: 2.4rem; font-weight: 800; color: rgba(201,162,75,0.4); line-height: 1; margin-bottom: 14px; }
.why-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.why-card p { color: var(--muted); }

/* ============================================================
   TABLE (services / process)
   ============================================================ */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: step; }
.pstep { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.pstep .sn { width:40px; height:40px; border-radius:50%; background:var(--navy-800); color:var(--gold-light); display:grid; place-items:center; font-weight:800; margin-bottom:16px; }
.pstep h4 { font-size:1.08rem; margin-bottom:8px; }
.pstep p { color:var(--muted); font-size:0.92rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info .ci-item { display:flex; gap:16px; padding: 20px 0; border-bottom:1px solid var(--line); }
.contact-info .ci-icon { width:46px; height:46px; flex:none; border-radius:12px; background:rgba(201,162,75,0.14); color:var(--gold-dark); display:grid; place-items:center; font-size:1.2rem; }
.contact-info .ci-label { font-size:0.84rem; color:var(--muted); }
.contact-info .ci-value { font-weight:700; color:var(--navy-800); font-size:1.05rem; }

.form-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding: 38px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:600; font-size:0.9rem; margin-bottom:7px; color:var(--ink); }
.field label .req { color:#d14343; }
.field input, .field select, .field textarea {
  width:100%; padding: 12px 14px; border:1.5px solid var(--line); border-radius:10px;
  font-family:inherit; font-size:0.97rem; color:var(--ink); background:#fff; transition:0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color:var(--blue-400); box-shadow:0 0 0 3px rgba(62,141,196,0.15); }
.field textarea { resize: vertical; min-height: 120px; }
.form-check { display:flex; align-items:flex-start; gap:9px; font-size:0.88rem; color:var(--muted); margin-bottom: 22px; }
.form-check input { width:18px; height:18px; margin-top:2px; flex:none; }
.form-note { font-size:0.85rem; color:var(--muted); margin-top: 14px; text-align:center; }
.form-note.is-ok  { color:#1f7a44; }
.form-note.is-err { color:#b91c1c; }
/* 허니팟 — 화면과 스크린리더 모두에서 감추되, 값은 정상 전송된다.
   display:none 을 쓰면 일부 봇이 눈치채므로 화면 밖으로 밀어낸다. */
.hp { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.map-embed { width:100%; height:300px; border:0; border-radius:var(--radius); border:1px solid var(--line); margin-top: 30px; }
/* 지도 아래 "네이버 지도에서 열기" 버튼 */
.map-actions { margin-top: 14px; display:flex; justify-content:flex-end; }
.map-actions .btn { padding: 10px 18px; font-size: 0.9rem; }
@media (max-width: 720px) {
  .map-actions { justify-content:center; }
}

/* ============================================================
   CAREERS
   ============================================================ */
.stack-tags { display:flex; flex-wrap:wrap; gap:10px; }
.stack-tag { padding:9px 18px; border-radius:999px; background:var(--gray-50); border:1px solid var(--line); font-weight:600; color:var(--navy-700); font-size:0.92rem; }
.welfare-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.welfare-item { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; text-align:center; }
.welfare-item .wi { width:54px; height:54px; border-radius:14px; background:rgba(201,162,75,0.13); color:var(--gold-dark); display:grid; place-items:center; margin:0 auto 16px; }
.welfare-item h4 { margin-bottom:6px; font-size:1.05rem; }
.welfare-item p { color:var(--muted); font-size:0.9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: #9fb1cb; padding: 64px 0 30px; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color:#fff; margin-bottom:14px; }
.footer-brand p { font-size:0.92rem; line-height:1.7; max-width:300px; }
.footer-col h5 { color:#fff; font-size:0.95rem; margin-bottom:16px; letter-spacing:0.02em; }
.footer-col a { display:block; padding:6px 0; font-size:0.92rem; color:#9fb1cb; transition:0.2s; }
.footer-col a:hover { color:var(--gold-light); }
.footer-col a.btn { display:inline-flex; width:auto; padding:11px 22px; color:#fff; justify-content:center; }
.footer-col a.btn:hover { color:#fff; }
.footer-contact p { font-size:0.92rem; margin-bottom:10px; }
.footer-contact strong { color:#cdd9ec; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:24px; font-size:0.85rem; flex-wrap:wrap; gap:10px; }
.footer-bottom .legal { color:#7a8eaa; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .grid-3, .grid-4, .value-grid, .process-steps, .welfare-grid, .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .case-card, .sol-block, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 36px; }
  .fs-aside { position: static; }
  .sol-block:nth-child(even) .sol-text { order: 0; }
  .value-cell { border-right:none; border-bottom:1px solid var(--line); }
  .value-cell:last-child { border-bottom:none; }
  .footer-top { gap: 30px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-menu {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch;
    background:#fff; padding: 14px 18px 22px; gap: 2px; border-bottom:1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform 0.35s var(--ease);
    height: auto; max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  /* 모바일은 세로 목록이라 왼쪽 여백이 들여쓰기처럼 보인다 */
  .nav-link--gap { margin-left: 0; }
  .nav-item { display: block; height: auto; }
  .nav-link { height: auto; padding: 13px 12px; border-radius: 10px; }
  .nav-link::after { display: none; }
  .nav-link.active { background: var(--gray-100); }
  .dd-caret { display: none; }
  /* dropdown is shown expanded inline on mobile */
  .dd-panel {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; box-shadow: none; border: none; border-radius: 0; padding: 0 0 6px;
  }
  .dd-inner { flex-direction: column; gap: 0; }
  .dd-col { padding: 0; min-width: 0; }
  .dd-col + .dd-col { border-left: none; padding-left: 0; }
  .dd-head { padding: 10px 24px 4px; }
  .dd-link { padding: 9px 24px; border-radius: 8px; }
  .dd-more { margin: 6px 24px 4px; }
  .nav-toggle { display: block; }
  .nav-actions .btn:not(.nav-toggle) { display: none; }
  .grid-2, .grid-3, .grid-4, .value-grid, .process-steps, .welfare-grid, .hero-stats { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; padding-bottom: 44px; }
  .hero-deco { display: none; }
  .fs-item { grid-template-columns: auto 1fr; gap: 16px; padding: 22px; }
  .fs-num, .fs-arrow { display: none; }
  .cta-strip { padding: 46px 26px; }
  .case-metrics { flex-wrap: wrap; gap: 18px; }
}

/* ============================================================
   접근성 (2026-07-09 추가)
   ============================================================ */

/* 본문 바로가기 — Tab 을 처음 누르면 나타난다. */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--navy-800); color: #fff; padding: 10px 18px;
  border-radius: 0 0 8px 8px; font-size: 0.9rem; text-decoration: none;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 0; }

/* 키보드 사용자에게 초점 위치를 분명히 보여준다. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 드롭다운을 키보드로도 열 수 있게 한다.
   (기존에는 :hover 로만 열려 Tab 이동 시 접근이 불가능했다) */
/* 아래 드롭다운 규칙은 데스크톱 폭에서만 적용한다.
   720px 이하에서는 .dd-panel 이 position:static 으로 펼쳐지는데,
   이 규칙들이 미디어 쿼리 밖에 있으면 명시도가 더 높아 모바일 서브메뉴를
   숨기거나 translateX(-50%) 로 밀어버린다. */
@media (min-width: 721px) {
  /* :focus-within 을 쓰면 안 된다. 마우스로 드롭다운 항목을 클릭했을 때
     그 링크에 초점이 남아 패널이 계속 열려 있고, 이어서 다른 메뉴에 마우스를
     올리면 두 패널이 겹쳐 보인다. (같은 페이지 해시 링크는 새로 로드되지
     않으므로 초점이 사라지지 않는다)
     :focus-visible 은 키보드 초점에만 반응하므로 이 문제가 없다.

     transform 은 :hover 규칙과 동일해야 한다. translateX(-50%) 를 잃으면
     패널이 가운데 정렬에서 벗어나 오른쪽으로 밀린다. */
  .nav-item:has(:focus-visible) .dd-panel {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .nav-item:has(:focus-visible) .dd-caret { transform: rotate(180deg); }

  /* 키보드로 연 패널이 남아 있는데 마우스를 다른 메뉴로 가져가면 두 개가
     겹쳐 보인다. 마우스가 메뉴 영역에 들어오면 hover 중인 것만 남긴다. */
  .nav-menu:hover .nav-item:not(:hover) .dd-panel {
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateX(-50%) translateY(8px);
  }
  .nav-menu:hover .nav-item:not(:hover) .dd-caret { transform: none; }
}

/* 전정기능에 민감한 사용자를 위해 움직임을 제거한다.
   .reveal 은 기본이 opacity:0 이므로 반드시 보이도록 되돌려야 한다. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal.in { opacity: 1 !important; transform: none !important; }
  .tabpane.active { animation: none !important; }
  .ref-track { transition: none !important; }
}

/* ============================================================
   최신 CSS (2026-07-09 추가) — 모두 점진적 향상.
   미지원 브라우저는 규칙을 무시할 뿐 레이아웃이 깨지지 않습니다.
   ============================================================ */

/* 제목 줄바꿈을 브라우저가 균형 있게 나눈다.
   (하드코딩된 <br> 이 있는 곳은 그 줄바꿈이 우선한다) */
h1, h2, h3, .section-title, .hero h1 { text-wrap: balance; }

/* 본문은 마지막 줄에 한 단어만 남는 것을 피한다. */
p, .section-lead, .lead { text-wrap: pretty; }

/* 페이지 전환을 부드럽게. 지원하지 않는 브라우저는 즉시 전환된다. */
@view-transition { navigation: auto; }

/* 움직임을 원치 않는 사용자에게는 전환 애니메이션도 끈다. */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
