/* ==========================================================================
   iRegen — 회사 홈페이지 (2026 리뉴얼)
   포인트 컬러: 아이리젠 블루, 보조: 캐릭터 시안
   ========================================================================== */
:root {
  --blue: #3461FF;
  --blue-600: #2149E8;
  --blue-700: #1736B8;
  --blue-50: #EEF3FF;
  --blue-100: #DCE6FF;
  --cyan: #19C3F5;
  --cyan-50: #E6F8FE;
  --navy: #070F2B;
  --navy-2: #0D1A44;
  --ink: #0B1222;
  --ink-2: #273149;
  --gray: #5B6578;
  --gray-2: #8A93A6;
  --line: #E6E9F0;
  --bg: #FFFFFF;
  --bg-2: #F5F7FB;
  --amber: #FFB020;
  --green: #12B76A;
  --red: #F04438;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -20px rgba(16, 32, 90, .25);
  --shadow-sm: 0 6px 20px -10px rgba(16, 32, 90, .25);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1240px;
  --hdr: 76px;
  font-synthesis: none;
}

*, *::before, *::after { 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.6; letter-spacing: -0.01em; word-break: keep-all; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { position: relative; padding: 140px 0; }
.section.tight { padding: 100px 0; }
.bg-soft { background: var(--bg-2); }
.bg-dark { background: var(--navy); color: #fff; }

/* ---------- 공통 타이포 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.bg-dark .eyebrow, .on-dark .eyebrow { color: var(--cyan); }
.h-display { font-size: clamp(38px, 5.3vw, 76px); line-height: 1.12; font-weight: 800; letter-spacing: -0.045em; margin: 0; }
.h-section { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.2; font-weight: 800; letter-spacing: -0.04em; margin: 18px 0 0; }
.h-card { font-size: 22px; line-height: 1.35; font-weight: 750; letter-spacing: -0.03em; margin: 0; }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--gray); margin: 22px 0 0; line-height: 1.75; }
.bg-dark .lead, .on-dark .lead { color: rgba(255,255,255,.72); }
.hl { color: var(--blue); }
.bg-dark .hl, .on-dark .hl { color: var(--cyan); }
.grad-text { background: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head.split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.sec-head.split .lead { margin: 0; }

/* ---------- 버튼 ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s; will-change: transform; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 14px 34px -12px rgba(52, 97, 255, .7); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 18px 40px -12px rgba(52, 97, 255, .85); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn-line { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- 헤더 ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; height: var(--hdr); z-index: 100; transition: background .35s, box-shadow .35s, transform .45s var(--ease), color .35s; color: #fff; }
.hdr .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1400px; }
.hdr.scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); color: var(--ink); box-shadow: 0 1px 0 rgba(15, 23, 42, .06); }
.hdr.hide { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; letter-spacing: -0.04em; }
.logo-svg { display: block; height: 30px; width: auto; }
.logo-svg path { fill: currentColor; transition: fill .35s; }
.hdr.scrolled .logo-svg path { fill: #040000; }
.hdr.scrolled .logo-svg .li { fill: #3D83C5; }
.ftr .logo-svg { height: 28px; }
.gnb { display: flex; align-items: center; gap: 6px; }
.gnb a { position: relative; padding: 10px 14px; font-size: 15.5px; font-weight: 600; opacity: .9; border-radius: 10px; transition: opacity .2s, background .2s; }
.gnb a:hover { opacity: 1; background: rgba(127,140,180,.14); }
.gnb a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--cyan); }
.hdr.scrolled .gnb a.active::after { background: var(--blue); }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.hdr .btn-ghost { height: 44px; }
.hdr.scrolled .btn-ghost { color: var(--ink); border-color: var(--line); }
.hdr.scrolled .btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: transparent; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 27px; }
body.nav-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 99; background: var(--navy); color: #fff; padding: calc(var(--hdr) + 24px) 28px 40px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-100%); transition: transform .55s var(--ease); }
body.nav-open .mnav { transform: none; }
.mnav a { font-size: 26px; font-weight: 750; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); letter-spacing: -0.03em; }
.mnav .btn { margin-top: 24px; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 101; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--cyan)); }

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: radial-gradient(1200px 700px at 78% 20%, rgba(52,97,255,.35), transparent 60%), radial-gradient(900px 600px at 10% 90%, rgba(25,195,245,.18), transparent 60%), var(--navy); color: #fff; overflow: hidden; display: flex; align-items: center; }
/* 실물 장비 배너(두 번째 슬라이드): 3D 렌더 그림이 첫 화면 전체 배경이 됨 */
.hero-photo { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 1.1s var(--ease); pointer-events: none; background: linear-gradient(180deg, #0A1533, #050A1C); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,28,.92) 0%, rgba(5,10,28,.62) 34%, rgba(5,10,28,0) 62%), linear-gradient(0deg, rgba(5,10,28,.55), transparent 30%); }
.hero.photo-on .hero-photo { opacity: 1; }
.hero .stage { transition: opacity .7s var(--ease), transform .9s var(--ease); }
.hero.photo-on .stage { opacity: 0; transform: scale(.94); pointer-events: none; }
/* 장비 무대: 16:9 판. 높이를 첫 화면에 맞추고 오른쪽 아래에 붙임 → 넓은 화면은 통째로, 좁은 화면은 왼쪽이 잘림. 9% 위로(장비 아래 끝이 버튼 줄·띠에 걸리지 않게) */
.dev-stage { position: absolute; right: 0; bottom: 0; height: 100%; aspect-ratio: 16 / 9; transform: translateY(-9%); --px: 0; --py: 0; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, #000 86%, transparent 100%); }
.dev-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dev { position: absolute; left: var(--l); top: var(--t); width: var(--w); opacity: 0; transform: translateY(70px) scale(.94); transform-origin: 50% 100%; translate: calc(var(--px) * var(--depth) * 1px) calc(var(--py) * var(--depth) * 1px); transition: opacity .6s ease, transform .7s var(--ease), translate .5s ease-out; }
.dev img { display: block; width: 100%; height: auto; }
.hero.photo-on .dev { opacity: 1; transform: none; transition: opacity 1s ease calc(var(--i) * 120ms + 250ms), transform 1.3s var(--ease) calc(var(--i) * 120ms + 250ms), translate .5s ease-out; }
.hero.photo-on .dev img { animation: devFloat var(--fd) ease-in-out var(--fdl) infinite; }
@keyframes devFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* 빛 훑기: 장비 모양(자기 그림)으로 가린 흰 띠가 왼쪽에서 오른쪽으로 */
.dev::after { content: ""; position: absolute; inset: 0; -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.26) 50%, transparent 60%); background-size: 300% 100%; background-position: 130% 0; opacity: 0; pointer-events: none; }
.hero.photo-on .dev::after { animation: devSheen 7s ease-in-out calc(1.6s + var(--sd) * 140ms) infinite; }
@keyframes devSheen { 0% { background-position: 130% 0; opacity: 0; } 6% { opacity: 1; } 24% { background-position: -30% 0; opacity: 1; } 30%, 100% { background-position: -30% 0; opacity: 0; } }

@media (min-width: 1025px) { .hero-slide[data-photo] { width: 150%; } }
.hero.photo-on .hero-orb, .hero.photo-on .hero-grid { opacity: 0; }
.hero-orb, .hero-grid { transition: opacity .9s; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: orb 18s ease-in-out infinite alternate; pointer-events: none; }
.hero-orb.o1 { width: 520px; height: 520px; background: #2F55FF; top: -120px; right: 8%; }
.hero-orb.o2 { width: 380px; height: 380px; background: #12B9F2; bottom: -140px; left: 18%; animation-duration: 22s; }
@keyframes orb { to { transform: translate3d(-80px, 60px, 0) scale(1.15); } }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding-top: calc(var(--hdr) + 30px); padding-bottom: 120px; max-width: 1400px; }
.hero-copy { position: relative; min-height: 430px; }
.hero-slide { position: absolute; inset: 0 auto auto 0; width: 100%; pointer-events: none; }
.hero-slide.is-active { pointer-events: auto; position: relative; }
.hero-slide .eyebrow, .hero-slide .h-display .line > span, .hero-slide .lead, .hero-slide .hero-tags, .hero-slide .hero-actions { opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.hero-slide .h-display .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-slide .h-display .line > span { display: inline-block; transform: translateY(105%); }
.hero-slide.is-active .eyebrow, .hero-slide.is-active .h-display .line > span, .hero-slide.is-active .lead, .hero-slide.is-active .hero-tags, .hero-slide.is-active .hero-actions { opacity: 1; transform: none; }
.hero-slide.is-active .h-display .line:nth-child(2) > span { transition-delay: .08s; }
.hero-slide.is-active .lead { transition-delay: .18s; }
.hero-slide.is-active .hero-tags { transition-delay: .26s; }
.hero-slide.is-active .hero-actions { transition-delay: .34s; }
.hero-slide.is-leaving .eyebrow, .hero-slide.is-leaving .h-display .line > span, .hero-slide.is-leaving .lead, .hero-slide.is-leaving .hero-tags, .hero-slide.is-leaving .hero-actions { opacity: 0; transform: translateY(-30px); transition-duration: .45s; }
.hero .h-display { margin-top: 22px; }
.hero .lead { max-width: 560px; color: rgba(255,255,255,.74); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 650; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-ctrl { position: absolute; left: 32px; bottom: 44px; z-index: 3; display: flex; align-items: center; gap: 18px; }
.hero-count { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.hero-count b { color: #fff; }
.hero-bar { width: 220px; height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; }
.hero-bar i { display: block; height: 100%; width: 100%; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); }
.hero-btns { display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); transition: background .25s, border-color .25s; }
.icon-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.icon-btn svg { width: 16px; height: 16px; }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.55); }
.hero-scroll i { width: 1.5px; height: 40px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 히어로 오른쪽 — 제품 생태계 무대 */
.stage { position: relative; aspect-ratio: 1 / .92; width: 100%; max-width: min(660px, calc((100svh - 220px) / .92)); justify-self: end; }
.stage-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.16); animation: spin 60s linear infinite; }
.stage-ring.r2 { inset: 20%; animation-direction: reverse; animation-duration: 45s; border-style: solid; border-color: rgba(25,195,245,.18); }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-core { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -50%); text-align: center; }
.stage-core img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: bob 4.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.stage-core .core-label { position: absolute; left: 50%; bottom: -12%; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 800; letter-spacing: .1em; padding: 7px 14px; border-radius: 999px; background: rgba(52,97,255,.9); box-shadow: 0 10px 30px -10px rgba(52,97,255,.9); }
.chip3d { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); font-weight: 750; font-size: 15px; white-space: nowrap; animation: floaty 6s ease-in-out infinite; will-change: transform; }
.chip3d small { display: block; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.62); letter-spacing: 0; }
.chip3d .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), #5B83FF); flex: none; }
.chip3d .ic svg { width: 20px; height: 20px; color: #fff; }
.chip3d:nth-child(odd) .ic { background: linear-gradient(135deg, #10A6E0, var(--cyan)); }
@keyframes floaty { 50% { transform: translateY(-10px); } }
/* 원형 배치 10개(11-06): 카드 가운데가 고리 위 36° 간격 — _작업/edit_orbit_1106.py */
.stage .chip3d { translate: -50% -50%; }
.chip3d.p1 { left: 24.7%; top: 14.4%; }
.chip3d.p2 { left: 50.0%; top: 6.0%; animation-delay: -1s; }
.chip3d.p3 { left: 75.3%; top: 14.4%; animation-delay: -2s; }
.chip3d.p4 { left: 90.9%; top: 36.4%; animation-delay: -3s; }
.chip3d.p5 { left: 75.3%; top: 85.6%; animation-delay: -4s; }
.chip3d.p6 { left: 50.0%; top: 94.0%; animation-delay: -2.5s; }
.chip3d.p7 { left: 24.7%; top: 85.6%; animation-delay: -1.5s; }
.chip3d.p8 { left: 9.1%; top: 36.4%; animation-delay: -3.5s; }
.chip3d.p9 { left: 90.9%; top: 63.6%; animation-delay: -0.5s; }
.chip3d.p10 { left: 9.1%; top: 63.6%; animation-delay: -4.5s; }
@media (max-width: 760px) { /* 휴대폰: 무대가 작아 위·아래 3개가 겹치지 않게 넓게 벌림, 화면 밖으로 안 나가게 */
  .chip3d.p2 { left: 50%; top: 4%; } .chip3d.p6 { left: 50%; top: 95%; }
  .chip3d.p1 { left: 20%; top: 15%; } .chip3d.p3 { left: 80%; top: 15%; }
  .chip3d.p7 { left: 20%; top: 84%; } .chip3d.p5 { left: 80%; top: 84%; }
  .chip3d.p8 { left: 11%; top: 38%; } .chip3d.p4 { left: 89%; top: 38%; }
  .chip3d.p10 { left: 11%; top: 62%; } .chip3d.p9 { left: 89%; top: 62%; }
}
.stage svg.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage svg.links path { fill: none; stroke: rgba(130,170,255,.35); stroke-width: 1.2; stroke-dasharray: 4 8; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -48; } }

/* ---------- 마키 ---------- */
.marquee { position: relative; background: var(--blue); color: #fff; overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg) scale(1.02); margin-top: -26px; z-index: 5; box-shadow: 0 20px 50px -20px rgba(52,97,255,.6); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 18px; padding: 0 28px; font-size: 22px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.marquee-item em { font-style: normal; font-weight: 600; font-size: 15px; opacity: .78; letter-spacing: 0; }
.marquee-item::after { content: "✦"; margin-left: 28px; color: var(--cyan); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 소개(따로따로 → 하나로) ---------- */
.intro .container { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-cards { display: grid; gap: 14px; }
.vs-card { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.vs-card .before { color: var(--gray-2); font-size: 15px; line-height: 1.5; }
.vs-card .before b { display: block; color: var(--ink-2); font-size: 16px; text-decoration: line-through; text-decoration-color: rgba(240,68,56,.7); text-decoration-thickness: 2px; }
.vs-card .arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.vs-card .after { font-size: 15px; color: var(--gray); line-height: 1.5; }
.vs-card .after b { display: block; color: var(--blue); font-size: 17px; }
.intro-visual { position: relative; }
.intro-visual .big-quote { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; line-height: 1.25; letter-spacing: -0.04em; margin: 18px 0 0; }
.intro-visual .big-quote s { color: var(--gray-2); text-decoration-thickness: 3px; text-decoration-color: rgba(240,68,56,.75); }
.intro-chars { display: flex; align-items: flex-end; gap: 18px; margin-top: 36px; }
.intro-chars img { width: 120px; }
.intro-chars img.ic-think { width: 95px; } /* 11-06 옆 캐릭터 조각을 잘라 그림 폭이 345→273: 캐릭터 크기는 그대로 */
.intro-chars .bubble { position: relative; padding: 14px 18px; border-radius: 18px; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 70px; box-shadow: var(--shadow); }
.intro-chars .bubble::after { content: ""; position: absolute; left: -8px; bottom: 16px; border: 9px solid transparent; border-right-color: var(--blue); border-left: 0; }

/* ---------- 라인업 허브 ---------- */
.lineup { background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); overflow-x: clip; }
.marquee-clip { position: relative; z-index: 5; overflow-x: clip; }
.hub { margin-top: 70px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hub-map { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin: 0 auto; }
.hub-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-map .spoke { stroke: #C9D5FF; stroke-width: 1.5; fill: none; }
.hub-map .spoke.on { stroke: var(--blue); stroke-width: 2.5; }
.hub-map .pulse { fill: var(--blue); }
.hub-center { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 30% 25%, #5D86FF, var(--blue) 55%, var(--blue-700)); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: 0 30px 60px -20px rgba(52,97,255,.7), inset 0 -10px 30px rgba(0,0,0,.18); }
.hub-center::before, .hub-center::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1.5px solid rgba(52,97,255,.25); animation: ripple 3s ease-out infinite; }
.hub-center::after { animation-delay: 1.5s; }
@keyframes ripple { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.hub-center b { display: block; font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.hub-center span { display: block; font-size: 13px; opacity: .85; margin-top: 6px; font-weight: 600; }
.hub-node { position: absolute; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; text-align: center; transition: transform .45s var(--ease), border-color .25s, box-shadow .35s, background .25s; }
.hub-node:hover { transform: translate(-50%, -50%) scale(1.08); }
.hub-node.on { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 20px 40px -14px rgba(52,97,255,.75); transform: translate(-50%, -50%) scale(1.1); }
.hub-node > span { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hub-node svg { display: block; width: 26%; height: auto; color: var(--blue); margin: 0 auto 6px; }
.hub-node.on svg { color: #fff; }
.hub-node b { display: block; font-size: clamp(13px, 1.25vw, 17px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.hub-node small { display: block; font-size: 11px; color: var(--gray-2); font-weight: 600; margin-top: 2px; }
.hub-node.on small { color: rgba(255,255,255,.8); }
.hub-panel { position: relative; min-height: 470px; }
.hub-card { position: absolute; inset: 0; padding: 40px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .18s ease, transform .3s var(--ease), visibility 0s .18s; pointer-events: none; overflow: hidden; }
.hub-card.on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .45s var(--ease) .12s, transform .6s var(--ease) .12s, visibility 0s; }
.hub-card .code { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .12em; }
.hub-card h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; margin: 8px 0 0; line-height: 1.3; }
.hub-card p { color: var(--gray); margin: 14px 0 0; }
.hub-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.hub-card li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink-2); }
.hub-card li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%233461FF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hub-card .who { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.hub-card .who span { font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.hub-card img.mascot { position: absolute; right: 18px; bottom: 10px; width: 120px; opacity: .98; }

/* ---------- 업종 탭 ---------- */
.ind-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 50px; }
.ind-tab { height: 50px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; background: #fff; transition: all .3s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.ind-tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-2); }
.ind-tab.main .dot { background: var(--cyan); }
.ind-tab:hover { border-color: var(--blue); color: var(--blue); }
.ind-tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ind-tab.on .dot { background: var(--cyan); }
.ind-panels { position: relative; margin-top: 28px; }
.ind-panel { display: none; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: 32px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ind-panel.on { display: grid; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }
.ind-body { padding: 56px; }
.ind-badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--cyan-50); color: #0A8EBF; font-weight: 750; font-size: 13px; }
.ind-body h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -0.04em; font-weight: 800; margin: 16px 0 0; }
.ind-body > p { color: var(--gray); margin: 14px 0 0; }
.ind-list { display: grid; gap: 16px; margin-top: 30px; }
.ind-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.ind-item .n { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; background: var(--blue-50); color: var(--blue); }
.ind-item b { display: block; font-size: 17px; }
.ind-item span { color: var(--gray); font-size: 15px; }
.ind-item .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ind-item .chips i { font-style: normal; font-size: 12px; font-weight: 750; padding: 3px 9px; border-radius: 7px; background: var(--ink); color: #fff; }
.ind-visual { position: relative; background: radial-gradient(500px 400px at 70% 30%, rgba(52,97,255,.28), transparent 70%), linear-gradient(160deg, var(--navy-2), var(--navy)); display: grid; place-items: center; padding: 40px; overflow: hidden; min-height: 440px; }
.ind-visual img { width: min(62%, 300px); position: relative; z-index: 2; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); animation: bob 5s ease-in-out infinite; }
.ind-visual .scene { position: absolute; inset: 0; }
.ind-visual .scene span { position: absolute; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 13.5px; font-weight: 700; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: floaty 6s ease-in-out infinite; }
.ind-visual .scene span:nth-child(2) { animation-delay: -2s; } .ind-visual .scene span:nth-child(3) { animation-delay: -4s; } .ind-visual .scene span:nth-child(4) { animation-delay: -1s; }

/* ---------- 흐름(가로 스크롤) ---------- */
.flow { background: var(--navy); color: #fff; padding: 0; }
.flow-pin { position: relative; height: 420vh; }
.flow-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.flow-sticky::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 80% 10%, rgba(52,97,255,.32), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(25,195,245,.16), transparent 60%); }
.flow-head { position: relative; padding-top: calc(var(--hdr) + 10px); }
.flow-track-wrap { position: relative; margin-top: 46px; }
.flow-track { display: flex; gap: 22px; padding: 0 max(32px, calc((100vw - var(--container)) / 2 + 32px)); will-change: transform; }
.flow-card { flex: none; width: 340px; min-height: 330px; padding: 28px; border-radius: 26px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); position: relative; overflow: hidden; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.flow-card.on { background: linear-gradient(160deg, rgba(52,97,255,.38), rgba(52,97,255,.12)); border-color: rgba(120,160,255,.5); transform: translateY(-8px); }
.flow-card .no { font-size: 14px; font-weight: 800; color: var(--cyan); letter-spacing: .1em; }
.flow-card h3 { font-size: 26px; margin: 10px 0 0; letter-spacing: -0.03em; }
.flow-card p { color: rgba(255,255,255,.7); font-size: 15px; margin: 12px 0 0; }
.flow-card .prod { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.flow-card .prod i { font-style: normal; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 8px; background: rgba(25,195,245,.16); color: #7FE0FF; border: 1px solid rgba(25,195,245,.3); }
.flow-card .ill { position: absolute; right: 18px; bottom: 16px; width: 92px; opacity: .95; }
.flow-line { position: relative; margin: 46px max(32px, calc((100vw - var(--container)) / 2 + 32px)) 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
.flow-line i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: 0 50%; transform: scaleX(0); }
.flow-walker { position: absolute; top: -78px; left: 0; width: 64px; transform: translateX(-50%); transition: left .1s linear; }
.flow-walker img { width: 100%; animation: walk .5s ease-in-out infinite alternate; }
@keyframes walk { to { transform: translateY(-5px) rotate(2deg); } }

/* ---------- 제품 벤토 ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 64px; }
.tile { position: relative; border-radius: 28px; background: #fff; border: 1px solid var(--line); padding: 34px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); min-height: 380px; display: flex; flex-direction: column; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile.dark { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; border-color: transparent; }
.tile.blue { background: linear-gradient(150deg, #4B74FF, var(--blue-600)); color: #fff; border-color: transparent; }
.tile .t-code { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--blue); }
.tile.dark .t-code, .tile.blue .t-code { color: #9FD9FF; }
.tile h3 { font-size: 26px; line-height: 1.3; margin: 8px 0 0; letter-spacing: -0.035em; }
.tile p { color: var(--gray); margin: 10px 0 0; font-size: 15.5px; }
.tile.dark p, .tile.blue p { color: rgba(255,255,255,.75); }
.tile .mock { margin-top: auto; padding-top: 26px; }
.c-3 { grid-column: span 3; } .c-7 { grid-column: span 7; } .c-5 { grid-column: span 5; } .c-4 { grid-column: span 4; } .c-6 { grid-column: span 6; } .c-8 { grid-column: span 8; } .c-12 { grid-column: span 12; }
.tile .feat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tile .feat span { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: var(--bg-2); color: var(--ink-2); }
.tile.dark .feat span, .tile.blue .feat span { background: rgba(255,255,255,.12); color: #fff; }

/* IRM 대시보드 목업 */
.dash { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.dash .card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px; }
.dash .k { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 600; }
.dash .v { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dash .v small { font-size: 12px; color: #7FE0A8; margin-left: 6px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 12px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--cyan), var(--blue)); height: 8%; transition: height 1.2s var(--ease); }
.bars i:nth-child(odd) { background: linear-gradient(180deg, #7C9BFF, #3E5FE6); }
.alerts { display: grid; gap: 8px; margin-top: 10px; }
.alerts div { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 650; padding: 9px 11px; border-radius: 10px; background: rgba(255,255,255,.06); opacity: 0; transform: translateX(14px); transition: all .6s var(--ease); }
.alerts div b { font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: rgba(255,176,32,.18); color: var(--amber); }
.alerts div b.g { background: rgba(18,183,106,.18); color: #4ADE80; }
.alerts div b.b { background: rgba(25,195,245,.18); color: #7FE0FF; }
.live .alerts div { opacity: 1; transform: none; }
.live .alerts div:nth-child(2) { transition-delay: .25s; } .live .alerts div:nth-child(3) { transition-delay: .5s; }

/* POS 목업 */
.pos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; background: #0E1630; border-radius: 18px; padding: 12px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.pos-list { background: #141E3E; border-radius: 12px; padding: 10px; display: grid; gap: 6px; align-content: start; min-height: 190px; }
.pos-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 7px 9px; border-radius: 8px; background: rgba(255,255,255,.05); opacity: 0; transform: translateY(8px); transition: all .45s var(--ease); }
.pos-row.in { opacity: 1; transform: none; }
.pos-row em { font-style: normal; font-size: 10.5px; font-weight: 800; color: #FFCF7A; margin-left: 6px; }
.pos-pay { display: grid; gap: 8px; align-content: start; }
.pos-total { background: var(--blue); border-radius: 12px; padding: 12px; }
.pos-total small { font-size: 11px; opacity: .8; }
.pos-total b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.pos-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pos-methods span { font-size: 11.5px; font-weight: 700; text-align: center; padding: 8px 4px; border-radius: 8px; background: rgba(255,255,255,.08); }
.pos-methods span.hot { background: var(--cyan); color: #04324A; }

/* PDA 목업 */
.pda-wrap { display: flex; align-items: flex-end; gap: 16px; }
.pda { position: relative; width: 150px; height: 240px; border-radius: 26px; background: linear-gradient(160deg, #26324F, #0D152D); padding: 12px 10px 28px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.08); flex: none; }
.pda::after { content: ""; position: absolute; left: 50%; bottom: 9px; width: 30px; height: 10px; transform: translateX(-50%); border-radius: 6px; background: var(--amber); }
.pda-screen { position: relative; height: 100%; border-radius: 14px; background: #F4F7FF; color: var(--ink); overflow: hidden; padding: 10px; font-size: 10.5px; }
.pda-screen .bar { font-weight: 800; color: var(--blue); font-size: 11px; }
.pda-screen .item { display: flex; justify-content: space-between; padding: 6px 7px; margin-top: 6px; border-radius: 7px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); font-weight: 650; }
.pda-screen .item b { color: var(--green); }
.pda-laser { position: absolute; left: 6px; right: 6px; top: 30%; height: 2px; background: var(--red); box-shadow: 0 0 10px 2px rgba(240,68,56,.7); animation: laser 1.8s ease-in-out infinite alternate; }
@keyframes laser { to { top: 78%; } }
.barcode { width: 140px; height: 86px; border-radius: 12px; background: #fff; padding: 10px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; }
.barcode .lines { height: 46px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px); }
.barcode small { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--ink-2); text-align: center; }

/* ESL 목업 */
.esl-shelf { position: relative; padding: 20px 14px 10px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); }
.esl-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.esl { position: relative; height: 82px; border-radius: 10px; background: #F7F7F2; color: #111; padding: 8px 10px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.6); overflow: hidden; }
.esl small { display: block; font-size: 10px; font-weight: 700; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.esl .price { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; perspective: 300px; }
.esl .price span { display: inline-block; transition: transform .6s var(--ease), color .3s; }
.esl .price.flip span { transform: rotateX(360deg); color: var(--red); }
.esl .sale { position: absolute; right: 6px; top: 6px; font-size: 9.5px; font-weight: 900; background: var(--red); color: #fff; padding: 2px 5px; border-radius: 4px; opacity: 0; transition: opacity .3s; }
.esl .price.flip ~ .sale { opacity: 1; }
.esl-sync { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: #9FD9FF; }
.esl-sync i { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* PDM 라벨 */
.pdm { display: flex; gap: 14px; align-items: flex-end; }
.printer { position: relative; width: 150px; height: 90px; border-radius: 16px 16px 12px 12px; background: linear-gradient(180deg, #EEF2FA, #CBD4E6); box-shadow: inset 0 -6px 0 rgba(0,0,0,.08); flex: none; }
.printer::before { content: ""; position: absolute; left: 20px; right: 20px; top: 16px; height: 6px; border-radius: 3px; background: #1F2937; }
.printer .led { position: absolute; right: 14px; bottom: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.label { width: 150px; border-radius: 8px; background: #fff; padding: 10px; font-size: 11px; box-shadow: var(--shadow-sm); transform-origin: top; animation: print 3.2s var(--ease) infinite; }
.label b { display: block; font-size: 13px; }
.label .row { display: flex; justify-content: space-between; color: var(--gray); margin-top: 4px; }
.label .p { font-size: 18px; font-weight: 900; color: var(--ink); margin-top: 4px; }
.label .lines { height: 24px; margin-top: 6px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 3px, #111 3px 4px, transparent 4px 7px); }
@keyframes print { 0% { clip-path: inset(0 0 100% 0); transform: translateY(-10px); } 35%, 85% { clip-path: inset(0 0 0 0); transform: none; } 100% { clip-path: inset(0 0 0 0); transform: translateY(6px); opacity: 0; } }

/* SCM 자동발주 */
.scm { display: grid; gap: 8px; }
.scm-step { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: rgba(255,255,255,.12); font-size: 13.5px; font-weight: 700; opacity: .35; transition: opacity .5s, background .5s; }
.scm-step .i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.18); font-size: 15px; }
.scm-step em { font-style: normal; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.2); }
.scm-step.on { opacity: 1; background: rgba(255,255,255,.2); }

/* 키오스크 */
.kiosk { display: flex; justify-content: center; }
.kiosk-body { width: 170px; border-radius: 18px 18px 8px 8px; background: linear-gradient(180deg, #1E2A4A, #0E1630); padding: 10px; box-shadow: var(--shadow); }
.kiosk-screen { border-radius: 10px; background: #fff; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.kiosk-screen span { height: 36px; border-radius: 7px; background: var(--blue-50); display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--blue); transition: background .3s, color .3s; }
.kiosk-screen span.pick { background: var(--blue); color: #fff; }
.kiosk-screen .pay { grid-column: span 2; background: var(--ink); color: #fff; }
.kiosk-stand { width: 34px; height: 40px; margin: 0 auto; background: linear-gradient(90deg, #C7CFDF, #E6EAF3, #C7CFDF); }
.kiosk-base { width: 110px; height: 10px; margin: 0 auto; border-radius: 6px; background: #C7CFDF; }

/* 온라인·배송 */
.ship { position: relative; aspect-ratio: 2 / 1; max-height: 190px; }
.ship svg { width: 100%; height: 100%; overflow: visible; }
.ship .area { fill: url(#shipArea); }
.ship .base { fill: none; stroke: #D3DDFF; stroke-width: 3; stroke-dasharray: 1 7; stroke-linecap: round; }
.ship .prog { fill: none; stroke: url(#shipLine); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.ship .stop .dot { fill: #fff; stroke: #C9D5FF; stroke-width: 3; transition: fill .35s, stroke .35s; }
.ship .stop .halo { fill: var(--blue); opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .4s, transform .6s var(--ease); }
.ship .stop.on .dot { fill: var(--blue); stroke: #fff; }
.ship .stop.on .halo { opacity: .14; transform: scale(1); }
.ship .stop text { font-size: 11.5px; font-weight: 800; fill: #A3ABBC; text-anchor: middle; font-family: inherit; transition: fill .35s; }
.ship .stop.on text { fill: var(--ink-2); }
.ship .stop.end.on text { fill: var(--blue); }
.ship .chk { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .3s .15s; }
.ship .stop.end.on .chk { opacity: 1; }
.ship .car { transition: opacity .25s; }
.ship .car .core { fill: #fff; stroke: var(--blue); stroke-width: 3; }
.ship .car .glow { fill: var(--blue); transform-box: fill-box; transform-origin: center; animation: carGlow 1.3s ease-out infinite; }
@keyframes carGlow { from { transform: scale(.6); opacity: .32; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- 강점 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.why { position: relative; padding: 34px 28px 150px; border-radius: 26px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.why:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.why .num { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .1em; }
.why h3 { font-size: 22px; margin: 10px 0 0; letter-spacing: -0.03em; line-height: 1.35; }
.why p { color: var(--gray); font-size: 15px; margin: 10px 0 0; }
.why img { position: absolute; right: 14px; bottom: 6px; width: 120px; transition: transform .5s var(--ease); }
.why:hover img { transform: translateY(-8px) rotate(-4deg); }

/* ---------- 도입 절차 ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 64px; }
.steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 34px; height: 2px; background: linear-gradient(90deg, var(--blue-100), var(--blue), var(--cyan)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 1.6s var(--ease); }
.step { position: relative; text-align: center; }
.step .dot { position: relative; width: 70px; height: 70px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: #fff; border: 2px solid var(--blue-100); font-weight: 900; color: var(--blue); font-size: 18px; box-shadow: var(--shadow-sm); transition: background .4s, color .4s, border-color .4s; }
.step.on .dot { background: var(--blue); color: #fff; border-color: var(--blue); }
.step h3 { font-size: 18px; margin: 18px 0 0; letter-spacing: -0.02em; }
.step p { font-size: 14.5px; color: var(--gray); margin: 8px 0 0; }

/* ---------- 고객지원 ---------- */
.support-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; margin-top: 60px; }
.sup { position: relative; padding: 32px; border-radius: 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); overflow: hidden; transition: background .35s, transform .5s var(--ease); display: flex; flex-direction: column; min-height: 260px; }
.sup:hover { background: rgba(255,255,255,.1); transform: translateY(-6px); }
.sup .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(25,195,245,.16); color: var(--cyan); }
.sup .ic svg { width: 26px; height: 26px; }
.sup h3 { font-size: 22px; margin: 22px 0 0; letter-spacing: -0.03em; }
.sup p { color: rgba(255,255,255,.7); font-size: 15px; margin: 10px 0 0; }
.sup .go { margin-top: auto; padding-top: 22px; font-weight: 750; color: var(--cyan); display: inline-flex; align-items: center; gap: 8px; }
.sup.big { background: linear-gradient(150deg, #4B74FF, var(--blue-600)); border-color: transparent; }
.sup.big p { color: rgba(255,255,255,.85); }
.sup.big .ic { background: rgba(255,255,255,.18); color: #fff; }
.sup.big .go { color: #fff; }
.sup.big img { position: absolute; right: 10px; bottom: 0; width: 130px; pointer-events: none; }
/* 글자가 캐릭터에 가리지 않게: 설명 글은 캐릭터 폭만큼 비켜 줄바꿈 (11-06) */
.sup.big p { max-width: calc(100% - 118px); }
@media (max-width: 760px) { .sup.big img { width: 104px; right: 6px; } .sup.big p { max-width: calc(100% - 92px); } }

/* ---------- CTA ---------- */
.cta { padding: 0 0 120px; background: var(--navy); }
.cta-box { position: relative; border-radius: 36px; padding: 80px 72px; overflow: visible; background: radial-gradient(600px 400px at 85% 0%, rgba(25,195,245,.55), transparent 60%), linear-gradient(120deg, #2F55FF, #4B74FF 55%, #2E9BFF); color: #fff; display: grid; grid-template-columns: 1fr minmax(300px, 400px); column-gap: 48px; row-gap: 40px; align-items: end; }
.cta-box h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.25; letter-spacing: -0.04em; margin: 0; font-weight: 800; }
.cta-box p { margin: 16px 0 0; color: rgba(255,255,255,.85); }
.cta-contacts { display: grid; gap: 12px; }
.cta-contact { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px; border-radius: 20px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, transform .4s var(--ease); }
.cta-contact:hover { background: rgba(255,255,255,.22); transform: translateX(6px); }
.cta-contact small { display: block; font-size: 13px; opacity: .8; font-weight: 600; }
.cta-contact b { font-size: 22px; letter-spacing: -0.01em; }
.cta-box .mascot { position: absolute; right: 56px; top: -86px; width: 130px; transform: rotate(8deg); animation: bob 4s ease-in-out infinite; }

/* ---------- 푸터 ---------- */
.ftr { background: #050A1E; color: rgba(255,255,255,.62); padding: 64px 0 40px; font-size: 14px; }
.ftr .top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ftr .logo { color: #fff; }
.ftr .flinks { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 650; color: rgba(255,255,255,.85); }
.ftr .flinks a:hover { color: var(--cyan); }
.ftr .info { margin-top: 28px; display: grid; gap: 6px; line-height: 1.7; }
.ftr .info span + span::before { content: "|"; margin: 0 10px; opacity: .3; }
.ftr .copy { margin-top: 26px; font-size: 13px; opacity: .7; }
.ftr .info a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.ftr .info a:hover { color: var(--cyan); }

/* ---------- 떠 있는 상담 카드 ---------- */
.pip { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 250px; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px -18px rgba(10,20,60,.45); padding: 16px 16px 14px; transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform .7s var(--ease), opacity .4s, visibility 0s .7s; }
.pip.show { transform: none; opacity: 1; visibility: visible; transition: transform .7s var(--ease), opacity .4s, visibility 0s; }
.pip.closed { display: none; }
.pip img { position: absolute; right: 12px; top: -74px; width: 92px; animation: bob 3.6s ease-in-out infinite; }
.pip small { display: block; font-size: 12.5px; color: var(--gray); font-weight: 600; }
.pip b { display: block; font-size: 19px; letter-spacing: -0.03em; margin-top: 2px; }
.pip b em { font-style: normal; color: var(--blue); }
.pip .btn { width: 100%; margin-top: 12px; height: 46px; font-size: 15px; }
.pip .x { position: absolute; right: -8px; top: -8px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; box-shadow: var(--shadow-sm); }

/* ---------- 나타나기 ---------- */
[data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; transform: none; }
.mask-line { display: block; overflow: hidden; padding-bottom: .06em; }
.mask-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.in .mask-line > span, .mask-line.in > span { transform: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 1200px) {
  .gnb a { padding: 10px 10px; font-size: 15px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 1024px) {
  :root { --hdr: 66px; }
  .gnb, .hdr-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .section { padding: 100px 0; }
  .hero .container { grid-template-columns: 1fr; padding-bottom: 150px; }
  .hero-copy { min-height: 0; }
  .stage { max-width: 520px; justify-self: center; margin-top: 10px; }
  .intro .container, .hub, .ind-panel.on, .cta-box { grid-template-columns: 1fr; }
  .sec-head.split { grid-template-columns: 1fr; gap: 0; }
  .sec-head.split .lead { margin-top: 18px; }
  .hub-panel { min-height: 0; }
  .hub-card { position: relative; display: none; }
  .hub-card.on { display: block; }
  .bento .c-7, .bento .c-5, .bento .c-4, .bento .c-8, .bento .c-3 { grid-column: span 6; }
  .support-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 64px 36px 56px; }
  .cta-box .mascot { right: 24px; top: -70px; width: 110px; }
}
@media (min-width: 761px) and (max-width: 1024px) { .dev-stage { height: auto; width: 125%; right: -8%; bottom: 40px; transform: none; } }
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .hero-photo { background: #08102b; }
  .dev-stage { right: -12%; bottom: 80px; height: auto; width: 164%; transform: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 78%, transparent 100%); }
  .dev { transform: translateY(40px) scale(.96); }
  .hero-photo::after { background: linear-gradient(180deg, rgba(5,10,28,.96) 0%, rgba(5,10,28,.8) 42%, rgba(5,10,28,0) 64%); }
  .section { padding: 84px 0; }
  .hero .container { padding-top: calc(var(--hdr) + 18px); }
  .hero-ctrl { left: 20px; bottom: 30px; gap: 12px; }
  .hero-bar { width: 110px; }
  .hero-scroll { display: none; }
  .chip3d { font-size: 13px; padding: 7px 12px 7px 7px; gap: 7px; }
  .chip3d .ic { width: 30px; height: 30px; }
  .chip3d small { display: none; }
  .btn { height: 52px; padding: 0 22px; }
  .vs-card { grid-template-columns: 1fr; }
  .vs-card .arrow { transform: rotate(90deg); }
  .bento { grid-template-columns: 1fr; }
  .bento .tile { grid-column: auto !important; min-height: 0; }
  .dash, .pos { grid-template-columns: 1fr; }
  .ind-body { padding: 32px 24px; }
  .ind-visual { min-height: 320px; }
  .ind-tab { height: 44px; padding: 0 16px; font-size: 14.5px; }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .flow-pin { height: auto; }
  .flow-sticky { position: relative; height: auto; padding: 90px 0 70px; }
  .flow-track { flex-direction: column; padding: 0 20px; transform: none !important; }
  .flow-card { width: 100%; min-height: 0; }
  .flow-line { display: none; }
  .cta { padding-bottom: 80px; }
  .cta-box { padding: 56px 24px 32px; border-radius: 26px; }
  .pip { right: 14px; bottom: 14px; width: auto; padding: 8px 8px 8px 64px; border-radius: 999px; }
  .pip small, .pip b { display: none; }
  .pip .btn { width: auto; margin: 0; height: 42px; padding: 0 18px; font-size: 14.5px; }
  .pip img { width: 58px; left: 4px; right: auto; top: -18px; }
  .pip .x { right: -6px; top: -6px; width: 22px; height: 22px; font-size: 12px; }
  .intro-chars { gap: 10px; }
  .intro-chars img { width: 78px; }
  .intro-chars img.ic-think { width: 62px; }
  .intro-chars .bubble { font-size: 13.5px; padding: 11px 14px; margin-bottom: 46px; }
  .flow-card p { padding-right: 62px; }
  .flow-card .ill { width: 70px; }
  .ftr .info span + span::before { display: none; }
  .ftr .info span { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], .mask-line > span { opacity: 1 !important; transform: none !important; }
}

/* POG 3D 화면 · 그룹웨어 (11-06) */
.pog-shot { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1408 / 730; background: #e8eef5; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.pog-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.1s var(--ease), transform 6s linear; }
.pog-shot img.alt { opacity: 0; }
.pog-shot.flip img.alt { opacity: 1; transform: scale(1.04); }
.pog-shot:not(.flip) img:not(.alt) { transform: scale(1.04); }
.tile[data-mock="pog"] .mock { flex: 1 0 auto; display: flex; flex-direction: column; }
.tile[data-mock="pog"] .pog-shot { flex: 1 0 auto; }
.pog-tag { position: absolute; left: 12px; top: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; padding: 5px 10px; border-radius: 8px; background: rgba(13,27,62,.78); color: #fff; }
.gwd { container-type: inline-size; display: grid; gap: 10px; }
.gwd svg { width: 18px; height: 18px; flex: none; }
.gwd .hd { font-size: 12.5px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.gwd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gwd-stats .s { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.gwd-stats i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.gwd-stats .s1 i { background: #FFF4E0; color: #F08C00; }
.gwd-stats .s2 i { background: var(--blue-50); color: var(--blue); }
.gwd-stats .s3 i { background: #EFEDFF; color: #5B4BDB; }
.gwd-stats .s4 i { background: #E6F7F1; color: #0E9F6E; }
.gwd-stats b { display: block; font-size: 19px; line-height: 1.1; font-weight: 800; }
.gwd-stats .s1 b { color: #F08C00; } .gwd-stats .s2 b { color: var(--blue); } .gwd-stats .s3 b { color: #5B4BDB; } .gwd-stats .s4 b { color: #0E9F6E; }
.gwd-stats small { display: block; font-size: 10.5px; color: var(--gray); white-space: nowrap; }
.gwd-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gwd-att, .gwd-quick { padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.gwd-att .clock { display: block; text-align: center; font-size: 26px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); margin: 2px 0 8px; }
.gwd-att .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gwd-att .btns span { display: flex; align-items: center; justify-content: center; gap: 4px; height: 30px; border-radius: 6px; font-size: 11px; font-weight: 700; color: #fff; transition: transform .25s var(--ease), background .4s; }
.gwd-att .btns svg { width: 14px; height: 14px; }
.gwd-att .btns em { font-style: normal; white-space: nowrap; }
.gwd-att .btns .in { background: var(--blue); }
.gwd-att .btns .in.press { transform: scale(.94); }
.gwd-att .btns .in.done { background: #0E9F6E; }
.gwd-att .btns .out { background: #7A8394; }
.gwd-att .row { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--gray); margin-top: 8px; }
.gwd-att .row em { font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .4s; }
.gwd-att .row em.ok { color: #0E9F6E; font-weight: 800; }
.gwd-att .row em b { color: var(--blue); }
.gwd-quick .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gwd-quick .grid span { display: grid; justify-items: center; gap: 3px; padding: 7px 2px 6px; border-radius: 10px; border: 1px solid var(--line); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.gwd-quick .grid em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.gwd-quick .q1 { color: var(--blue); } .gwd-quick .q2 { color: #0E9F6E; } .gwd-quick .q3 { color: #F08C00; }
.gwd-quick .q4 { color: #0E8A7E; } .gwd-quick .q5 { color: var(--blue); } .gwd-quick .q6 { color: #5B4BDB; }
.gwd-quick .grid span.on { background: var(--blue-50); border-color: rgba(52,97,255,.35); transform: translateY(-2px); }
.gwd-att { display: flex; flex-direction: column; }
@container (max-width: 439px) {
  .gwd-stats .s { flex-direction: column; gap: 5px; padding: 9px 4px 8px; text-align: center; }
  .gwd-stats i { width: 26px; height: 26px; }
  .gwd-stats svg { width: 15px; height: 15px; }
}
@container (max-width: 359px) {
  .gwd-body { grid-template-columns: 1fr; }
  .gwd-quick { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pog-shot img { transition: none; transform: none !important; } }
.hero-tags .tag-br { flex-basis: 100%; height: 0; }
@media (max-width: 760px) { .hero-tags .tag-br { display: none; } }

/* 문의 남기기 (11-06) */
.cta-copy .cta-contact b { font-size: 20px; }
.inq { position: relative; background: #fff; color: var(--ink); border-radius: 26px; padding: 28px 28px 26px; box-shadow: 0 30px 60px -28px rgba(8,20,70,.55); display: grid; gap: 14px; }
.inq-head b { display: block; font-size: 21px; letter-spacing: -0.03em; }
.inq-head small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--gray); }
.inq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inq .f { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; position: relative; align-content: start; }
.inq .ta { position: relative; display: block; }
.cta-copy { align-self: end; }
.inq .f > span, .inq legend { font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 0; }
.inq .f i, .inq .agree i { font-style: normal; color: #E5484D; }
.inq legend small { font-weight: 600; color: var(--gray); margin-left: 4px; }
.inq input:not([type=checkbox]), .inq textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #F5F7FB; border: 1.5px solid #E3E8F2; border-radius: 12px; padding: 11px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.inq input:not([type=checkbox]) { height: 46px; }
.inq textarea { resize: vertical; min-height: 104px; line-height: 1.55; }
.inq input::placeholder, .inq textarea::placeholder { color: #A3ABBC; }
.inq input:not([type=checkbox]):focus, .inq textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(52,97,255,.14); }
.inq .cnt { position: absolute; right: 12px; bottom: 10px; font-style: normal; font-size: 11.5px; color: #A3ABBC; pointer-events: none; }
.inq .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.inq .chips legend { width: 100%; margin-bottom: 6px; }
.inq .chips label { position: relative; cursor: pointer; }
.inq .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.inq .chips span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink-2); background: #F1F4FA; border: 1.5px solid #E3E8F2; transition: background .2s, color .2s, border-color .2s; }
.inq .chips label:hover span { border-color: #C9D5FF; }
.inq .chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.inq .chips input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.inq .agree { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.inq .agree label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.inq .agree input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.inq .more { font-size: 12.5px; font-weight: 700; color: var(--gray); text-decoration: underline; text-underline-offset: 3px; }
.inq .agree-text { font-size: 12.5px; line-height: 1.6; color: var(--gray); background: #F5F7FB; border-radius: 12px; padding: 10px 12px; margin: -4px 0 0; }
.inq .agree-text b { color: var(--ink-2); }
.inq .msg { font-size: 12px; font-weight: 600; color: #E5484D; }
.inq .msg:empty { display: none; }
.inq .agree .msg { width: 100%; margin-top: -4px; }
.inq .f.err input:not([type=checkbox]), .inq .f.err textarea { border-color: #E5484D; background: #FFF6F6; }
.inq-msg { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.inq-msg:empty { display: none; }
.inq-msg.bad { color: #E5484D; }
.inq .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inq-send { width: 100%; height: 54px; }
.inq-send:disabled { opacity: .7; cursor: progress; }
.inq-done { display: none; text-align: center; padding: 36px 10px 26px; }
.inq-done .ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--blue-50); color: var(--blue); animation: inq-pop .6s var(--ease); }
.inq-done .ok svg { width: 30px; height: 30px; }
.inq-done b { display: block; font-size: 21px; letter-spacing: -0.03em; }
.inq-done p { margin: 8px 0 18px; color: var(--gray); font-size: 14.5px; }
.inq.done > :not(.inq-done) { display: none; }
.inq.done .inq-done { display: block; }
.inq.done { align-self: center; }
@keyframes inq-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .inq { padding: 22px 18px 20px; border-radius: 22px; } .inq-grid { grid-template-columns: 1fr; } .inq input:not([type=checkbox]), .inq textarea { font-size: 16px; } }

/* 맨 위로 (11-06) — 상담 카드가 보이면 캐릭터 얼굴 왼쪽으로 옮겨 감(JS) */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 91; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1px solid #E3E8F2; box-shadow: 0 14px 30px -12px rgba(10,20,60,.5); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .35s, transform .45s var(--ease), right .55s var(--ease), bottom .55s var(--ease), color .2s, visibility 0s .35s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s var(--ease), right .55s var(--ease), bottom .55s var(--ease), color .2s, visibility 0s; }
.to-top:hover { color: var(--blue); transform: translateY(-3px); }
.to-top svg { width: 21px; height: 21px; }
@media (max-width: 760px) { .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s, visibility 0s; } }

/* 문의 카드 가로형 (11-06) — 넓은 화면: 안쪽 2단(왼쪽 입력칸·솔루션 / 오른쪽 문의 내용), 아래 줄 동의 + 보내기 */
.cta-box > .inq { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .inq { grid-template-columns: 1fr 1fr; column-gap: 26px; row-gap: 14px; padding: 30px 32px 28px;
    grid-template-areas: "head head" "fields msg" "chips msg" "agree send" "atext atext" "say say"; }
  .inq-head { grid-area: head; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .inq-grid { grid-area: fields; }
  .inq .chips { grid-area: chips; }
  .inq .f-msg { grid-area: msg; display: flex; flex-direction: column; gap: 6px; }
  .inq .f-msg .ta { flex: 1; display: flex; }
  .inq .f-msg textarea { flex: 1; height: auto; min-height: 120px; resize: none; }
  .inq .agree { grid-area: agree; align-self: center; justify-content: flex-start; gap: 14px; }
  .inq .agree-text { grid-area: atext; margin: 0; }
  .inq-msg { grid-area: say; }
  .inq-send { grid-area: send; }
  .inq .hp { grid-area: say; }
  .inq-done { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .cta-box { align-items: start; }
  .cta-copy { align-self: start; }
  .cta-box > .cta-contacts { max-width: 420px; width: 100%; }
}

/* 문의 남기기 — 파일 첨부·API 답 (11-06, 상담 신청 등록 API) */
.inq .f > .f-lab { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.inq .att { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.inq .att-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--blue); background: var(--blue-50); border: 1.5px dashed #B9C8FF; cursor: pointer; transition: background .2s, border-color .2s; }
.inq .att-btn:hover { background: #E3EAFF; border-color: var(--blue); }
.inq .att-btn svg { width: 16px; height: 16px; flex: none; }
.inq .att-btn input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; font-size: 0; }
.inq .att-btn:focus-within { outline: 3px solid var(--cyan); outline-offset: 2px; }
.inq .att-hint { font-size: 12px; color: var(--gray); }
.inq .att-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.inq .att-list:empty { display: none; }
.inq .att-list li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 30px; padding: 0 4px 0 11px; border-radius: 9px; background: #F1F4FA; border: 1px solid #E3E8F2; font-size: 12.5px; color: var(--ink-2); animation: inq-pop .35s var(--ease); }
.inq .att-list .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; font-weight: 600; }
.inq .att-list em { font-style: normal; color: var(--gray); font-size: 11.5px; flex: none; }
.inq .att-list button { flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 16px; line-height: 1; color: var(--gray); transition: background .2s, color .2s; }
.inq .att-list button:hover { background: #E3E8F2; color: #E5484D; }
.inq .att-err { width: 100%; font-size: 12px; font-weight: 600; color: #E5484D; }
.inq .att-err:empty { display: none; }
.inq .f-msg.drag textarea { border-color: var(--blue); border-style: dashed; background: var(--blue-50); }
.inq-msg .mail { margin-left: 4px; font-size: 13px; font-weight: 800; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.inq-done .inq-no { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--blue); }
.inq-done .inq-no:empty { display: none; }
@media (max-width: 560px) { .inq .att-hint { width: 100%; } .inq .att-list .nm { max-width: 170px; } }

/* 문의 남기기 팝업 (11-06 사용자: 버튼을 누르면 팝업에서 작성) — <dialog class="inq-modal"> 안에 양식 */
.cta-contact.cta-write { background: #fff; border-color: #fff; color: var(--blue); box-shadow: 0 18px 40px -18px rgba(8,20,70,.55); }
.cta-contact.cta-write:hover { background: #fff; }
.cta-contact.cta-write small { color: var(--gray); opacity: 1; }
.cta-contact.cta-write b { color: var(--ink); }
html.inq-lock { overflow: hidden; scrollbar-gutter: stable; }
.inq-modal { width: min(980px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.inq-modal[open] { animation: inq-in .42s var(--ease); }
.inq-modal::backdrop { background: rgba(8,14,40,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: inq-fade .3s ease; }
.inq-modal.closing { animation: inq-out .19s ease forwards; }
.inq-modal.closing::backdrop { animation: inq-fade-out .19s ease forwards; }
@keyframes inq-in { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes inq-out { to { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes inq-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes inq-fade-out { from { opacity: 1; } to { opacity: 0; } }
.inq-modal .inq { max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 40px 90px -30px rgba(5,12,40,.75); }
.inq-modal .inq-head { padding-right: 56px; }
.inq-modal .inq-head b { font-size: 24px; }
.inq-x { position: absolute; z-index: 2; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); background: #F1F4FA; transition: background .2s, color .2s, transform .3s var(--ease); }
.inq-x:hover { background: #E3E8F2; color: var(--ink); transform: rotate(90deg); }
.inq-x:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.inq-x svg { width: 18px; height: 18px; }
.inq-done-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 560px) {
  /* 휴대폰: 아래에서 올라오는 시트 */
  .inq-modal { width: 100%; max-height: calc(100dvh - 24px); margin: auto 0 0; }
  .inq-modal .inq { max-height: calc(100dvh - 24px); border-radius: 22px 22px 0 0; padding-top: 24px; }
  .inq-modal .inq-head b { font-size: 21px; }
  .inq-x { right: 14px; top: 16px; width: 36px; height: 36px; }
  @keyframes inq-in { from { transform: translateY(60px); opacity: .4; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { .inq-modal[open], .inq-modal::backdrop, .inq-modal.closing, .inq-modal.closing::backdrop { animation: none; } }
