/* =========================================================
   WASOFT · 패션유통 ERP 기업 홈페이지
   assets/css/style.css
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --brand:        #2f57ff;
  --brand-ink:    #1b3ae0;
  --brand-soft:   #eef2ff;
  --accent:       #ff5f3d;

  --ink:          #0c1424;
  --ink-2:        #1d2b45;
  --body:         #46536b;
  --muted:        #7b879d;

  --bg:           #ffffff;
  --bg-soft:      #f5f7fc;
  --bg-dark:      #0c1424;
  --line:         #e3e8f2;
  --line-dark:    rgba(255, 255, 255, .12);

  --radius-s:     10px;
  --radius:       16px;
  --radius-l:     24px;

  --shadow-s:     0 2px 8px rgba(12, 20, 36, .06);
  --shadow:       0 12px 32px rgba(12, 20, 36, .08);
  --shadow-l:     0 28px 64px rgba(12, 20, 36, .14);

  --header-h:     76px;
  --maxw:         1200px;
  --ease:         cubic-bezier(.22, .68, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.32; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(47, 87, 255, .45); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 8px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: rgba(255, 255, 255, .72); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__lead { color: rgba(255, 255, 255, .66); }

.section__head { max-width: 760px; margin-bottom: 56px; }
.section__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 20px; }
.section__lead { font-size: clamp(15px, 1.6vw, 17px); color: var(--body); }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .16em;
  color: var(--brand); margin-bottom: 14px; text-transform: uppercase;
}
.section--dark .eyebrow { color: #7d97ff; }

.note { font-size: 13px; color: var(--muted); margin-top: 20px; }
.section--dark .note { color: rgba(255, 255, 255, .45); }
.note code { background: rgba(0, 0, 0, .25); padding: 2px 6px; border-radius: 4px; font-size: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, color .18s;
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(47, 87, 255, .28); }
.btn--primary:hover { background: var(--brand-ink); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, height .25s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(12, 20, 36, .05); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 36px; height: 36px; flex: 0 0 auto; }
.logo__mark rect { fill: var(--brand); }
.logo__mark path { fill: #fff; }
.logo__text { font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.logo__text em {
  display: block; font-style: normal; font-size: 10px; font-weight: 600;
  letter-spacing: .22em; color: var(--muted);
}
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text em { color: rgba(255, 255, 255, .5); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block; padding: 10px 14px; font-size: 15px; font-weight: 600;
  color: var(--ink-2); border-radius: 8px; transition: color .18s, background-color .18s;
}
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.nav__link.is-active { color: var(--brand); }

/* .nav 패널(z-index 95)이 .header 안에 있으므로 토글 버튼을 그 위로 올린다 */
.hamburger { display: none; width: 44px; height: 44px; position: relative; z-index: 96; }
.hamburger span {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s;
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop { position: fixed; inset: 0; background: rgba(12, 20, 36, .45); z-index: 90; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 100px;
  overflow: hidden; background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before, .hero__bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
}
.hero__bg::before { width: 520px; height: 520px; top: -160px; right: -120px; background: rgba(47, 87, 255, .22); }
.hero__bg::after  { width: 420px; height: 420px; bottom: -180px; left: -100px; background: rgba(255, 95, 61, .14); }

.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.hero__title { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 24px; }
.hero__title strong {
  color: var(--brand); font-weight: 800; white-space: nowrap; padding: 0 2px;
  background: linear-gradient(to top,
    rgba(47, 87, 255, .16) 0, rgba(47, 87, 255, .16) 14px, transparent 14px);
}
.hero__desc { font-size: clamp(15px, 1.7vw, 18px); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 14px 44px; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; color: var(--ink);
  letter-spacing: -.03em; line-height: 1.2;
}
.hero__stats span { font-size: 13.5px; color: var(--muted); }

/* Hero mock dashboard */
.hero__visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-l); overflow: hidden;
}
.mock__bar {
  display: flex; align-items: center; gap: 7px; padding: 13px 18px;
  background: #f7f9fd; border-bottom: 1px solid var(--line);
}
.mock__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #dbe2ef; }
.mock__bar .dot:first-child { background: #ff6058; }
.mock__bar .dot:nth-child(2) { background: #ffbd2e; }
.mock__bar .dot:nth-child(3) { background: #28ca42; }
.mock__title { margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--muted); }

.mock__body { display: grid; grid-template-columns: 56px 1fr; min-height: 340px; }
.mock__side { background: var(--bg-dark); padding: 20px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock__side span { width: 22px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.mock__side span.on { background: var(--brand); }
.mock__main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--bg-soft); border-radius: var(--radius-s); padding: 12px; }
.kpi em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); }
.kpi b { display: block; font-size: 13px; color: var(--ink); letter-spacing: -.02em; margin: 3px 0 2px; }
.kpi i { font-style: normal; font-size: 10.5px; font-weight: 700; }
.kpi .up { color: #16a34a; }
.kpi .down { color: #ef4444; }

.mock__chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 10px 2px 0; border-bottom: 1px solid var(--line); }
.mock__chart span {
  flex: 1; height: var(--h); border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--brand) 0%, #8aa3ff 100%);
  opacity: .9; animation: grow 1.1s var(--ease) both;
}
.mock__chart span:nth-child(even) { background: linear-gradient(180deg, #b9c6ff 0%, #e2e8ff 100%); }
.mock__chart span:nth-child(1) { animation-delay: .05s } .mock__chart span:nth-child(2) { animation-delay: .1s }
.mock__chart span:nth-child(3) { animation-delay: .15s } .mock__chart span:nth-child(4) { animation-delay: .2s }
.mock__chart span:nth-child(5) { animation-delay: .25s } .mock__chart span:nth-child(6) { animation-delay: .3s }
.mock__chart span:nth-child(7) { animation-delay: .35s } .mock__chart span:nth-child(8) { animation-delay: .4s }
.mock__chart span:nth-child(9) { animation-delay: .45s } .mock__chart span:nth-child(10) { animation-delay: .5s }
.mock__chart span:nth-child(11) { animation-delay: .55s } .mock__chart span:nth-child(12) { animation-delay: .6s }
@keyframes grow { from { height: 0; opacity: 0 } }

.mock__rows { display: flex; flex-direction: column; gap: 8px; }
.mock__rows .row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.mock__rows .row span { height: 8px; border-radius: 4px; background: #eef1f7; }
.mock__rows .row:nth-child(2) span { background: #f3f5fa; }
.mock__rows .row:nth-child(3) span { background: #f6f8fb; }

.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
}
.float-card b { display: block; font-size: 13px; color: var(--ink); }
.float-card em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.float-card--1 { left: -30px; bottom: -26px; }
.float-card--2 { right: -24px; top: -24px; animation-delay: 1.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }

/* ---------- Marquee ---------- */
.marquee { background: var(--bg-dark); overflow: hidden; padding: 16px 0; }
.marquee__track {
  display: flex; align-items: center; gap: 18px; width: max-content;
  animation: slide 34s linear infinite;
}
.marquee span { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.marquee i { color: var(--brand); font-style: normal; }
@keyframes slide { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---------- About ---------- */
/* 기업 개요 요약표 */
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px 32px; margin-bottom: 40px;
}
.facts > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; font-size: 15px; color: var(--ink); }
.facts dd a:hover { color: var(--brand); }

.about__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfd9f0; }
.value__icon {
  width: 48px; height: 48px; border-radius: 13px; background: var(--brand-soft);
  display: grid; place-items: center; margin-bottom: 18px;
}
.value__icon svg { width: 24px; height: 24px; fill: var(--brand); }
.value h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value p { font-size: 14.5px; }

.history { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.history__title { font-size: 22px; font-weight: 700; margin-bottom: 28px; }
.history__list { border-left: 2px solid var(--line); padding-left: 0; }
.history__list li { position: relative; padding: 0 0 26px 30px; }
.history__list li::before {
  content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand);
}
.history__list li:first-child::before { box-shadow: 0 0 0 5px rgba(47, 87, 255, .12); }
.history__year { display: inline-block; font-weight: 800; color: var(--brand); font-size: 15px; margin-right: 14px; min-width: 48px; }
.history__list p { display: inline; font-size: 15px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.service::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service:hover::after { transform: scaleX(1); }
.service__no { font-size: 13px; font-weight: 800; color: #c3cde6; letter-spacing: .08em; }
.service h3 { font-size: 20px; font-weight: 700; margin: 10px 0 12px; }
.service p { font-size: 14.5px; margin-bottom: 18px; }
.service ul { border-top: 1px dashed var(--line); padding-top: 16px; }
.service ul li { position: relative; padding-left: 18px; font-size: 14px; color: var(--ink-2); margin-bottom: 7px; }
.service ul li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand); opacity: .55;
}

.process { margin-top: 64px; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); }
.process__title { font-size: 20px; font-weight: 700; margin-bottom: 26px; }
.process__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process__list--wide { grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }
.process__list li { position: relative; padding-top: 20px; border-top: 3px solid var(--brand-soft); }
.process__list li:first-child { border-top-color: var(--brand); }
.process__list span { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .08em; }
.process__list b { display: block; font-size: 16px; color: var(--ink); margin: 4px 0 6px; }
.process__list em { font-style: normal; font-size: 13.5px; color: var(--muted); }

/* ---------- Portfolio ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter__btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--body); background: #fff;
  transition: all .2s var(--ease);
}
.filter__btn:hover { border-color: var(--brand); color: var(--brand); }
.filter__btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: transform .25s var(--ease), box-shadow .25s;
}
.work.is-hidden { display: none; }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work__thumb {
  height: 180px; position: relative; display: grid; place-items: center;
  background: linear-gradient(135deg, #2f57ff 0%, #6f8bff 100%);
}
.work__thumb--2 { background: linear-gradient(135deg, #0c1424 0%, #35476b 100%); }
.work__thumb--3 { background: linear-gradient(135deg, #ff5f3d 0%, #ff9a6d 100%); }
.work__thumb--4 { background: linear-gradient(135deg, #1b9a8b 0%, #4fd1b8 100%); }
.work__thumb--5 { background: linear-gradient(135deg, #5b3df5 0%, #9a7bff 100%); }
.work__thumb--6 { background: linear-gradient(135deg, #24425e 0%, #5f86a8 100%); }
.work__thumb--7 { background: linear-gradient(135deg, #b8452f 0%, #e8865f 100%); }
.work__thumb--8 { background: linear-gradient(135deg, #1e3a6e 0%, #4a75c4 100%); }
.work__thumb--9 { background: linear-gradient(135deg, #3f4756 0%, #78839a 100%); }
.work__thumb--10 { background: linear-gradient(135deg, #7a6a1e 0%, #ccb547 100%); }
.work__thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.work__thumb span {
  position: relative; z-index: 1; color: #fff; font-weight: 700; font-size: 14px;
  letter-spacing: .04em; background: rgba(0, 0, 0, .22); padding: 7px 16px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.work__body { padding: 24px 24px 26px; }
.work__body h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; }
.work__body p { font-size: 14.5px; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: 12.5px; font-weight: 600; color: var(--brand);
  background: var(--brand-soft); padding: 4px 11px; border-radius: 999px;
}

/* ---------- Tech & Partners ---------- */
.tech__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech__col {
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 28px 24px;
}
.tech__col h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips li {
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark);
  padding: 6px 13px; border-radius: 999px;
}

.partners { margin-top: 60px; padding-top: 48px; border-top: 1px solid var(--line-dark); }
.partners__title { font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.partners__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.partners__list li {
  height: 84px; display: grid; place-items: center; border-radius: var(--radius-s);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, .55); font-weight: 700; font-size: 15px; text-align: center;
  line-height: 1.35; padding: 0 10px;
  transition: background-color .2s, color .2s;
}
.partners__list li small {
  display: block; font-size: 11.5px; font-weight: 500;
  color: rgba(255, 255, 255, .32); margin-top: 3px;
}
.partners__list li:hover { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); }

/* ---------- News ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.tab {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--body); transition: all .2s var(--ease);
}
.tab:hover { color: var(--brand); background: var(--brand-soft); }
.tab.is-active { background: var(--brand); color: #fff; }

.news { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news__item + .news__item { border-top: 1px solid var(--line); }
.news__item.is-hidden { display: none; }
.news__item a {
  display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 18px;
  padding: 20px 26px; transition: background-color .18s;
}
.news__item a:hover { background: var(--bg-soft); }
.news__item a:hover .news__title { color: var(--brand); }
.news__badge {
  text-align: center; font-size: 12px; font-weight: 700; padding: 5px 0; border-radius: 6px;
}
.news__badge--notice { background: var(--brand-soft); color: var(--brand); }
.news__badge--press  { background: #fff0ec; color: #e14a26; }
.news__badge--update { background: #e8f8f2; color: #12876f; }
.news__title { font-size: 15.5px; font-weight: 600; color: var(--ink); transition: color .18s; }
.news__item time { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.news__empty { text-align: center; padding: 48px 0; color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.contact__form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 36px; box-shadow: var(--shadow-s);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fcfdff; transition: border-color .18s, box-shadow .18s; font-size: 15px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47, 87, 255, .1);
}
.field input::placeholder, .field textarea::placeholder { color: #aab4c6; }
.field.has-error input, .field.has-error textarea { border-color: #ef4444; }
.error { font-size: 12.5px; color: #ef4444; margin-top: 6px; min-height: 0; }

/* 허니팟 — 화면에도 스크린리더에도 노출되지 않게 완전히 숨김 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field--check { margin: 22px 0; }
.contact__form button[type="submit"][disabled] { opacity: .6; cursor: progress; }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; font-weight: 500 !important; color: var(--body) !important; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--brand); }

.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; text-align: center; }
.form-status.ok { color: #12876f; }
.form-status.ng { color: #ef4444; }

.contact__info { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.info-card dl > div { display: grid; grid-template-columns: 78px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.info-card dl > div:last-child { border-bottom: 0; }
.info-card dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.info-card dd { margin: 0; font-size: 14.5px; color: var(--ink); }
.info-card dd a:hover { color: var(--brand); }
.addr { font-size: 14.5px; margin-bottom: 16px; }
.map-placeholder {
  height: 180px; border-radius: var(--radius-s); display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #eef1f7, #eef1f7 12px, #e7ebf3 12px, #e7ebf3 24px);
  color: var(--muted); font-size: 13.5px; text-align: center;
}
.map-placeholder em { display: block; font-style: normal; font-size: 12px; margin-top: 4px; opacity: .8; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: rgba(255, 255, 255, .6); padding: 70px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { font-size: 14px; margin-top: 16px; line-height: 1.75; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__nav h4 { font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer__nav li { margin-bottom: 9px; }
.footer__nav a { font-size: 14px; transition: color .18s; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }
.footer__corp { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .45); }
.footer__copy { font-size: 13px; color: rgba(255, 255, 255, .35); }

/* ---------- To top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 48px; height: 48px;
  border-radius: 50%; background: var(--brand); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(47, 87, 255, .35); opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all .25s var(--ease);
}
.to-top svg { width: 22px; height: 22px; fill: #fff; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-ink); transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .about__grid, .tech__grid { grid-template-columns: repeat(2, 1fr); }
  .services, .works { grid-template-columns: repeat(2, 1fr); }
  .process__list { grid-template-columns: repeat(3, 1fr); }
  .float-card--1 { left: -12px; }
  .float-card--2 { right: -10px; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: calc(var(--header-h) + 60px); }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .hamburger { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; z-index: 95;
    width: min(320px, 84vw); height: 100dvh; background: #fff;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: calc(var(--header-h) + 12px) 22px 32px;
    box-shadow: -10px 0 40px rgba(12, 20, 36, .16);
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 14px 12px; font-size: 16px; border-radius: 10px; }
  .nav__cta { margin-top: 18px; width: 100%; padding: 14px; }
}

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .section__head { margin-bottom: 40px; }
  .about__grid, .services, .works, .tech__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; padding: 6px 22px; }
  .facts > div { grid-template-columns: 82px 1fr; padding: 12px 0; border-bottom: 1px dashed var(--line); }
  .facts > div:last-child { border-bottom: 0; }
  .process { padding: 26px 22px; }
  .process__list { grid-template-columns: 1fr; gap: 0; }
  .process__list li { border-top: 0; border-left: 3px solid var(--brand-soft); padding: 4px 0 18px 16px; }
  .process__list li:first-child { border-left-color: var(--brand); }
  .partners__list { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .contact__form { padding: 26px 22px; }
  .news__item a { grid-template-columns: 62px 1fr; row-gap: 6px; padding: 18px; }
  .news__item time { grid-column: 2; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
  .hero__stats span { font-size: 12px; }
  .float-card { display: none; }

  /* 좁은 화면에서는 목업 KPI를 2개만, 줄바꿈 없이 */
  .mock__kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:last-child { display: none; }
  .kpi em, .kpi b, .kpi i { white-space: nowrap; }
  .kpi b { font-size: 12px; }
  .mock__body { min-height: 0; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Print & motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
