/* ADVAN 회사 홈페이지 (www.advan-ture.com) — ERP 프로그램과 별개의 정적 사이트.
   색은 ERP 다크 슬레이트 규격(헤더 #3d4f65→#2e3d50)을 잇고, 강조색은 하나만 쓴다. */
:root {
  --ink: #1e293b;
  --ink-2: #475569;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-mute: #eef1f5;
  --slate-1: #3d4f65;
  --slate-2: #2e3d50;
  --slate-3: #253040;
  --accent: #3b82f6;
  --accent-ink: #1d4ed8;
  --accent-soft: #e8f0fe;
  --ok: #16a34a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }

/* ── 헤더 ── */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(46, 61, 80, .96); backdrop-filter: saturate(1.4) blur(8px); color: #fff; }
.hd .wrap { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #60a5fa, var(--accent-ink)); display: grid; place-items: center; font-size: 15px; font-weight: 900; }
.brand small { font-weight: 500; font-size: 12px; color: #cbd5e1; letter-spacing: 0; }
.hd-menu { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav { display: flex; gap: 4px; }
.nav a { color: #cbd5e1; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.hd-cta { display: flex; gap: 8px; }
.menu-btn { display: none; margin-left: auto; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 8px; width: 42px; height: 38px; font-size: 20px; cursor: pointer; }

/* ── 버튼 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: #cbd5e1; background: var(--bg-soft); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }

/* ── 히어로 ── */
.hero { background: linear-gradient(135deg, var(--slate-1), var(--slate-2) 55%, var(--slate-3)); color: #fff; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; inset: auto -10% -45% 40%; height: 520px; background: radial-gradient(closest-side, rgba(59, 130, 246, .28), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 92px; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #bfdbfe; background: rgba(59, 130, 246, .16); border: 1px solid rgba(147, 197, 253, .28); padding: 5px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: #93c5fd; }
.hero .lead { font-size: clamp(16px, 1.6vw, 18px); color: #cbd5e1; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-note { margin-top: 14px; font-size: 13px; color: #94a3b8; }

/* 제품 화면 모형 (실제 캡처로 바꾸기 전 자리) */
.mock { background: #f8fafc; border-radius: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; color: var(--ink); font-size: 12px; }
.mock-bar { display: flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--slate-1), var(--slate-2)); color: #fff; padding: 10px 14px; font-weight: 700; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .35); display: inline-block; }
.mock-bar span { margin-left: 8px; font-size: 12px; }
.mock-body { display: grid; grid-template-columns: 112px 1fr; min-height: 300px; }
.mock-side { background: linear-gradient(180deg, var(--slate-2), var(--slate-3)); padding: 10px 8px; display: flex; flex-direction: column; gap: 3px; }
.mock-side b { color: #cbd5e1; font-weight: 500; padding: 6px 8px; border-radius: 6px; font-size: 11.5px; }
.mock-side b.on { background: rgba(255, 255, 255, .12); color: #fff; }
.mock-main { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kpi { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.mock-kpi small { color: var(--ink-3); font-size: 10.5px; display: block; }
.mock-kpi strong { font-size: 15px; font-family: Consolas, monospace; }
.mock-table { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.mock-table div { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr; padding: 6px 10px; border-top: 1px solid #f1f5f9; font-size: 11px; }
.mock-table div:first-child { background: var(--slate-1); color: #fff; border-top: 0; font-weight: 600; }
.mock-table .dr { color: #2563eb; font-family: Consolas, monospace; text-align: right; }
.mock-table .cr { color: #dc2626; font-family: Consolas, monospace; text-align: right; }
.mock-pill { display: inline-block; font-size: 10px; padding: 1px 7px; border-radius: 999px; background: #dcfce7; color: #166534; font-weight: 700; }
.mock-pill.w { background: #fef3c7; color: #92400e; }

/* ── 섹션 공통 ── */
.sec { padding: 92px 0; }
.sec-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--accent-ink); text-transform: uppercase; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin: 10px 0 14px; }
.sec-head p { color: var(--ink-2); font-size: 17px; }

/* 핵심 수치 띠 */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-size: 26px; font-weight: 800; color: var(--slate-2); }
.fact span { color: var(--ink-3); font-size: 14px; }

/* 카드 격자 */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; font-weight: 750; margin: 12px 0 8px; }
.card p { color: var(--ink-2); font-size: 15px; }
.ico { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: 12.5px; color: var(--slate-1); background: var(--bg-mute); padding: 3px 9px; border-radius: 6px; font-weight: 600; }

/* 모듈 묶음 */
.mod-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mod-group h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 14px; }
.mod-group h3 .ico { width: 36px; height: 36px; font-size: 18px; }
.mod-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mod-list li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 14.5px; }
.mod-list b { color: var(--ink); }
.mod-list span { color: var(--ink-2); }

/* 흐름 (업무가 이어지는 모습) */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: f; }
.flow-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 16px; }
.flow-step::before { counter-increment: f; content: counter(f); position: absolute; top: -12px; left: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--slate-1); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.flow-step b { display: block; margin: 4px 0 4px; }
.flow-step span { color: var(--ink-2); font-size: 14px; }

/* 이야기 (제조 현장 출신) */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story-panel { background: linear-gradient(135deg, var(--slate-1), var(--slate-2)); color: #fff; border-radius: 18px; padding: 34px; }
.story-panel h3 { font-size: 22px; margin-bottom: 18px; }
.story-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.story-panel li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; color: #e2e8f0; }
.story-panel li::before { content: "✓"; color: #93c5fd; font-weight: 900; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--ink-2); font-size: 17px; }

/* 대상 고객 */
.who .card { border-top: 4px solid var(--slate-1); }
.who .card.alt { border-top-color: var(--accent); }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 15px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 900; }

/* CTA 띠 */
.cta-band { background: linear-gradient(135deg, var(--slate-1), var(--slate-2)); color: #fff; border-radius: 20px; padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.cta-band p { color: #cbd5e1; margin-top: 8px; }
.cta-band .row { display: flex; gap: 10px; flex-wrap: wrap; }

/* 서브 페이지 머리 */
.page-hd { background: linear-gradient(135deg, var(--slate-1), var(--slate-2)); color: #fff; padding: 64px 0 56px; }
.page-hd h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-top: 10px; }
.page-hd p { color: #cbd5e1; margin-top: 12px; font-size: 17px; max-width: 46em; }
.page-hd .kicker { color: #93c5fd; }

/* 페이지 안 목차 */
.subnav { position: sticky; top: 64px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { flex: 0 0 auto; padding: 14px 14px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--ink); border-bottom-color: var(--line); }
[id] { scroll-margin-top: 130px; }

/* 상세 모듈 블록 */
.mod-detail { display: grid; grid-template-columns: 260px 1fr; gap: 36px; padding: 40px 0; border-top: 1px solid var(--line); }
.mod-detail:first-of-type { border-top: 0; }
.mod-detail h3 { font-size: 22px; font-weight: 800; margin-top: 12px; }
.mod-detail .sum { color: var(--ink-3); font-size: 14.5px; margin-top: 6px; }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.feat div b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.feat div span { color: var(--ink-2); font-size: 14.5px; }

/* 단계 (도입 절차) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-size: 22px; font-weight: 900; color: var(--accent); }
.steps b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps span { color: var(--ink-2); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding-bottom: 18px; font-size: 15px; }

/* 표 (회사 정보·연혁) */
.info { width: 100%; border-collapse: collapse; font-size: 15px; }
.info th, .info td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 140px; color: var(--ink-3); font-weight: 600; background: var(--bg-soft); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--slate-1); }
.timeline li.sw::before { border-color: var(--accent); }
.timeline time { font-weight: 800; color: var(--slate-2); }
.timeline p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.notice-box { background: var(--bg-mute); border-radius: var(--radius); padding: 22px 24px; color: var(--ink-2); font-size: 15px; }
.notice-box b { color: var(--ink); }

/* 푸터 */
.ft { background: var(--slate-3); color: #94a3b8; padding: 48px 0 36px; font-size: 14px; margin-top: 0; }
.ft .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ft h4 { color: #e2e8f0; font-size: 14px; margin-bottom: 12px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft a:hover { color: #fff; }
.ft .brand { color: #fff; margin-bottom: 12px; }
.ft-bottom { grid-column: 1 / -1; padding-top: 4px; font-size: 13px; line-height: 1.8; }

/* ── 반응형 ── */
@media (max-width: 1000px) {
  .hero .wrap, .story { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .mod-detail { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 860px) {
  .hd-menu { display: none; }
  .menu-btn { display: block; }
  .hd.open .hd-menu { display: flex; flex-direction: column; align-items: stretch; gap: 12px; position: absolute; top: 64px; left: 0; right: 0; background: var(--slate-2); padding: 10px 16px 18px; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .hd.open .nav { flex-direction: column; gap: 2px; }
  .hd.open .nav a { padding: 12px; }
  .hd.open .hd-cta .btn { flex: 1; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ft .wrap { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .cta-band { padding: 30px 24px; }
  .feat { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .g4, .flow { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mod-list li { grid-template-columns: 1fr; gap: 0; }
  .info th { width: 96px; }
  .hero-cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── 실제 화면 캡처 ── */
.shot { margin: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.08), 0 18px 40px rgba(15,23,42,.14); border: 1px solid var(--line); }
.shot img { width: 100%; height: auto; }
.shot-bar { display: flex; align-items: center; gap: 6px; background: #eef1f5; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: inline-block; }
.shot-bar i:nth-child(1) { background: #f87171; } .shot-bar i:nth-child(2) { background: #fbbf24; } .shot-bar i:nth-child(3) { background: #34d399; }
.shot-bar span { margin-left: 10px; font-size: 12.5px; color: var(--ink-3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero .wrap { grid-template-columns: .9fr 1.1fr; }
.shot-hero { width: 150%; max-width: none; border: 0; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.tabs button { font: inherit; font-size: 15px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.tabs button:hover { border-color: #cbd5e1; color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--slate-1); border-color: var(--slate-1); color: #fff; }
.shot-cap { max-width: 860px; margin: 20px auto 0; text-align: center; color: var(--ink-2); font-size: 16px; }
.shot-cap b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .shot-hero { width: 100%; }
}
@media (max-width: 560px) {
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .tabs button { flex: 0 0 auto; font-size: 14px; padding: 8px 14px; }
  .shot-cap { text-align: left; }
}

/* ── 제조 현장 ── */
.feature-photo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.feature-photo > img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.lead-soft { color: var(--ink-2); font-size: 17px; }
.work { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #f1f5f9; }
.work.contain img { object-fit: contain; padding: 10px; }
.work.dark img { background: #0b0b0b; padding: 0; object-fit: cover; }
.work figcaption { padding: 16px 18px 18px; }
.work figcaption b { display: block; font-size: 16.5px; }
.work figcaption span { color: var(--ink-2); font-size: 14px; }
@media (max-width: 1000px) { .feature-photo { grid-template-columns: 1fr; gap: 24px; } }
.vid { margin: 0; background: #0f172a; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.vid video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; background: #000; object-fit: cover; }
.vid figcaption { padding: 14px 18px 16px; color: #cbd5e1; }
.vid figcaption b { display: block; color: #fff; font-size: 16px; }
.vid figcaption span { font-size: 14px; }
.work.clean img { object-fit: contain; background: #fff; padding: 14px; }
.works.g3 { justify-content: center; }
@media (min-width: 1001px) { .works.g3 { grid-template-columns: repeat(6, 1fr); } .works.g3 > .work { grid-column: span 2; } .works.g3 > .work:nth-child(4) { grid-column: 2 / span 2; } }
.feature-photo > img.clean-photo { background: #fff; border: 1px solid var(--line); }
.work.clean.wide img { aspect-ratio: 16 / 9; padding: 0; }
.steps11 { list-style: none; counter-reset: s11; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.steps11 li { counter-increment: s11; display: flex; align-items: center; gap: 10px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.steps11 li::before { content: counter(s11, decimal-leading-zero); flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: var(--slate-1); color: #fff; font-size: 12.5px; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 1000px) { .steps11 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps11 { grid-template-columns: 1fr; } }
.vid iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; border: 0; background: #000; }
@media (min-width: 1001px) { .videos.g3 { grid-template-columns: repeat(3, 1fr); } }

/* ── 히어로 일러스트: 데스크톱 + 모바일 앱 + AI 에이전트 (예시 데이터 · HTML 로 그림) ── */
.stage { margin: 0; container-type: inline-size; width: 108%; position: relative; }
@media (max-width: 1360px) { .stage { width: 100%; } }
.stage-in { position: relative; font-size: calc(100cqw / 76); aspect-ratio: 76 / 54; color: var(--ink); }
.dk { position: absolute; left: 0; top: 0; width: 66em; background: #f8fafc; border-radius: 1.2em; overflow: hidden; box-shadow: 0 3em 6em rgba(0,0,0,.45), 0 0 0 .1em rgba(255,255,255,.08); }
.dk-bar { display: flex; align-items: center; gap: .6em; padding: .9em 1.3em; background: linear-gradient(135deg, var(--slate-1), var(--slate-2)); color: #fff; font-size: 1.15em; font-weight: 700; }
.dk-bar i { width: .8em; height: .8em; border-radius: 50%; background: rgba(255,255,255,.35); display: inline-block; }
.dk-bar span { margin-left: .6em; }
.dk-body { display: grid; grid-template-columns: 12.5em 1fr; min-height: 38em; }
.dk-side { background: linear-gradient(180deg, var(--slate-2), var(--slate-3)); padding: 1em .8em; display: flex; flex-direction: column; gap: .35em; }
.dk-side b { color: #cbd5e1; font-weight: 500; font-size: 1.05em; padding: .6em .8em; border-radius: .6em; white-space: nowrap; }
.dk-side b.on { background: rgba(255,255,255,.13); color: #fff; }
.dk-main { padding: 1.4em; display: flex; flex-direction: column; gap: 1.2em; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9em; }
.kpi { background: #fff; border: .1em solid var(--line); border-radius: .9em; padding: .9em 1em; display: flex; flex-direction: column; gap: .2em; }
.kpi small { font-size: .95em; color: var(--ink-3); }
.kpi strong { font-size: 2em; font-weight: 800; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: .9em; color: var(--ink-3); font-weight: 700; }
.kpi em.up { color: #16a34a; } .kpi em.dn { color: #2563eb; }
.dk-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: .9em; }
.panel { background: #fff; border: .1em solid var(--line); border-radius: .9em; padding: 1em; }
.panel-h { font-size: 1em; font-weight: 700; color: var(--ink-2); margin-bottom: .7em; }
.chart svg { width: 100%; height: 11em; display: block; }
.chart .bars rect { fill: #cbd5e1; rx: 2; }
.chart .bars rect.cur { fill: var(--accent); }
.chart .line { fill: none; stroke: #f59e0b; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.todo ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8em; }
.todo li { display: flex; align-items: center; gap: .6em; font-size: 1.05em; color: var(--ink-2); }
.todo li b { margin-left: auto; color: var(--ink); }
.dot { width: .7em; height: .7em; border-radius: 50%; display: inline-block; }
.dot.g { background: #22c55e; } .dot.b { background: var(--accent); } .dot.o { background: #f59e0b; }
.flowline { display: flex; align-items: center; gap: .5em; background: var(--bg-mute); border-radius: .9em; padding: .9em 1em; }
.flowline span { font-size: 1em; font-weight: 700; color: var(--slate-1); background: #fff; border: .1em solid var(--line); border-radius: 99em; padding: .35em .9em; white-space: nowrap; }
.flowline i { flex: 1; height: .2em; background: linear-gradient(90deg, #93c5fd, var(--accent)); border-radius: 1em; }

.ph { position: absolute; right: 0; top: 7em; width: 19em; height: 39em; background: #0f172a; border-radius: 2.6em; padding: 1em; box-shadow: 0 3em 6em rgba(0,0,0,.5), 0 0 0 .25em #334155; display: flex; flex-direction: column; gap: .8em; }
.ph-notch { width: 6em; height: 1.4em; background: #000; border-radius: 1em; margin: 0 auto .2em; }
.ph-head { color: #fff; font-weight: 800; font-size: 1.25em; padding: 0 .4em; }
.ph-card { background: #fff; border-radius: 1.1em; padding: 1em 1.1em; display: flex; flex-direction: column; gap: .3em; }
.ph-card small { color: var(--ink-3); font-size: .95em; }
.ph-card b { font-size: 1.1em; }
.ph-att { background: linear-gradient(135deg, var(--accent), var(--accent-ink)); color: #fff; }
.ph-att small { color: #dbeafe; }
.ph-att strong { font-size: 2.6em; font-weight: 800; line-height: 1.1; }
.ph-att .ok { font-size: .95em; font-weight: 700; color: #bbf7d0; }
.amt { font-family: Consolas, monospace; color: #2563eb; font-weight: 700; font-size: 1.1em; }
.ph-btns { display: flex; gap: .5em; margin-top: .3em; }
.ph-btns em { font-style: normal; flex: 1; text-align: center; font-size: .95em; font-weight: 700; padding: .5em; border-radius: .7em; background: var(--bg-mute); color: var(--ink-2); }
.ph-btns em.yes { background: #16a34a; color: #fff; }
.ph-mini { flex-direction: row; justify-content: space-between; gap: .5em; }
.ph-mini span { font-size: .95em; font-weight: 600; color: var(--ink-2); }

.ai { position: absolute; left: 4em; bottom: 0; width: 30em; background: rgba(255,255,255,.97); border-radius: 1.4em; padding: 1.2em; box-shadow: 0 2.5em 5em rgba(0,0,0,.45), 0 0 0 .1em rgba(147,197,253,.6); display: flex; flex-direction: column; gap: .7em; }
.ai-h { display: flex; align-items: center; gap: .6em; font-weight: 800; font-size: 1.15em; color: var(--slate-2); }
.ai-badge { font-size: .8em; font-weight: 900; color: #fff; padding: .25em .6em; border-radius: .5em; background: linear-gradient(135deg, #8b5cf6, var(--accent)); }
.bub { font-size: 1.02em; line-height: 1.55; padding: .7em 1em; border-radius: 1em; max-width: 92%; }
.bub.me { align-self: flex-end; background: var(--slate-1); color: #fff; border-bottom-right-radius: .3em; }
.bub.bot { align-self: flex-start; background: #eef2ff; color: var(--ink); border-bottom-left-radius: .3em; }
.ai-chips { display: flex; gap: .5em; flex-wrap: wrap; }
.ai-chips span { font-size: .92em; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: .35em .8em; border-radius: 99em; }

@media (max-width: 1000px) { .stage { width: 100%; } }
@media (max-width: 560px) {
  .stage-in { font-size: calc(100cqw / 46); aspect-ratio: 46 / 44; }
  .dk { display: none; }
  .ph { left: 1em; right: auto; top: 0; height: 40em; }
  .ai { left: auto; right: 0; bottom: 1em; width: 27em; }
}

/* ── 하단 법정 표시 (ERP 하단과 같은 정보) ── */
.ft-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; margin-top: 8px; font-size: 13.5px; }
.ft-legal a { color: #cbd5e1; font-weight: 600; }
.ft-legal a.em { color: #fca5a5; font-weight: 700; }
.ft-legal a:hover { color: #fff; }
.ft-bottom p { margin: 0; }
.ft-bottom p + p { margin-top: 2px; }
.ft-bottom a { color: #93c5fd; }
.ft-copy { margin-top: 10px !important; color: #64748b; }
.ft-legal + .ft-bottom { margin-top: -20px; }

/* ── 도입 상담 신청 양식 (접수 = 함수 siteLead → siteLeads) ── */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 14px; }
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.lead-form label b { color: #dc2626; font-weight: 800; }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); border: 1px solid #cbd5e1; border-radius: 9px; padding: 10px 12px; background: #fff; width: 100%; box-sizing: border-box; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid #93c5fd; border-color: var(--accent); }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-interest { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.lf-interest legend { font-size: 14.5px; font-weight: 700; padding: 0 4px; }
.lf-interest label { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.lf-interest input, .lf-consent input { width: auto; }
.lf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lf-consent { background: var(--bg-mute); border-radius: 10px; padding: 12px 14px; }
.lf-consent label { display: flex; align-items: center; gap: 8px; }
.lf-consent p { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.lf-consent a { color: var(--accent-ink); text-decoration: underline; }
.lf-msg { margin: 0; font-size: 14.5px; font-weight: 700; min-height: 1.2em; }
.lf-msg.ok { color: #16a34a; } .lf-msg.err { color: #dc2626; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lf-row { grid-template-columns: 1fr; } .lead-form { padding: 18px; } }
.lf-row { align-items: end; }
.lf-lab { display: block; }
.lead-form select { min-height: 47px; }
