/* ===== 색상 팔레트 (CSS 변수로 한 곳에서 관리) ===== */
:root{
  --bg-dark:#0B1A3A;      /* 60% 다크 바탕 (한 단계 밝힘, 기존 #050B1F) */
  --card-dark:#132650;    /* 30% 다크 카드 */
  --line-dark:#24396A;    /* 카드 테두리·구분선 */
  --primary:#1E4FD8;      /* 메인 포인트: 버튼, 탭, 강조 */
  --primary-hover:#2B5FF0;
  --cyan:#22D3EE;         /* 사이버 포인트: 라인·수치·데이터 점에만 */
  --text-on-dark:#E6EDF7;
  --muted-dark:#8A9BB8;
  --bg-light:#F4F6FA;     /* 라이트 바탕 */
  --card-light:#FFFFFF;
  --line-light:#DCE3EE;
  --text-on-light:#0B1A3A;
  --muted-light:#5A6B85;
  --radius:6px;           /* 버튼·카드 모서리: 살짝만 둥글게 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ================= 문의: 지도 + 폼 ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; align-items: stretch; }
.map-col { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map { position: relative; flex: 1; min-height: 320px; overflow: hidden; }
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.pin .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); border: 3px solid #fff; position: relative; z-index: 1; }
.pin .pulse { position: absolute; top: -13px; left: 50%; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background: rgba(34,211,238,.25);
              animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.pin b { margin-top: 8px; font-size: 13px; background: #fff; color: var(--text-on-light); padding: 4px 10px; border-radius: 3px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.map-link { position: absolute; right: 12px; bottom: 12px; font-size: 12px; color: #fff; text-decoration: none; background: rgba(11,26,58,.85);
            border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--radius); }
.map-link:hover { border-color: var(--cyan); }
/* 실제 구글 지도(실제 사이트에서만 삽입): 지도 자리를 꽉 채우고, 임시 일러스트·핀은 숨김 */
.map-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.embedded .map-bg, .map.embedded .pin { display: none; }
.map-link { z-index: 2; }
.info { list-style: none; padding: 8px 24px; }
.info li { display: flex; gap: 16px; font-size: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: #C9D4E8; }
.info li:last-child { border-bottom: none; }
.info span { width: 64px; flex-shrink: 0; color: var(--muted); font-size: 13px; }
.contact-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-form h3 { font-size: 22px; color: #fff; }
.form-desc { font-size: 14px; color: var(--muted); margin: 6px 0 22px; }
.contact-form label { display: block; font-size: 13px; color: var(--muted); }
.contact-form label.full { margin-top: 16px; }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text-on-dark); font: inherit; font-size: 14px; border-radius: var(--radius); }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); }
.contact-form .agree { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.contact-form .agree input { accent-color: var(--primary); }
/* 문의사항 폼 카드: 어두운 섹션 안에서 밝은 카드로 띄움 */
.contact-form { background: #F4F6FA; border-color: #F4F6FA; color: var(--text-on-light); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.contact-form h3 { color: var(--text-on-light); }
.contact-form .form-desc, .contact-form label { color: var(--muted-light); }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea { background: #fff; border-color: #D3DAE5; color: var(--text-on-light); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9AA6B8; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--primary); }
.contact-form .btns .btn { width: 100%; padding: 14px 24px; font-size: 15px; }  /* 문의 보내기: 입력칸과 같은 너비 */
/* 지도 액자: 카드 안쪽으로 16px 들여 넣고 모서리·얇은 테두리·안쪽 그림자로 표구가 있는 느낌 */
.map-col { background: var(--card); }
/* 문의 입력 항목(회사명~개인정보 동의) 액자: 흰 판 위에 묶고, 안쪽 입력칸은 연회색으로 구분 */
.form-frame { background: #fff; border: 1px solid #DCE3EE; border-radius: 8px; padding: 22px; box-shadow: 0 6px 18px rgba(11,26,58,.06); }
.contact-form .form-frame input:not([type=checkbox]), .contact-form .form-frame select, .contact-form .form-frame textarea { background: #F7F9FC; }
.map { margin: 16px 16px 0; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pin .pulse { animation: none; opacity: 0; } }
body { font-family: "Pretendard", "Malgun Gothic", sans-serif; line-height: 1.6; background: var(--bg-dark); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }

/* ===== 섹션 테마: dark / light 를 번갈아 사용 ===== */
.dark  { background: var(--bg-dark);  color: var(--text-on-dark);
         --card: var(--card-dark); --line: var(--line-dark); --muted: var(--muted-dark); --ph: #172C5A; }
/* 작동원리 바로 뒤에 이어지는 다인뷰(DYNVIEW)는 명도를 한 단계 더 올려 경계를 만듦 */
/* D-WES(연회색) 바로 뒤 Results는 흰 바탕 + 연회색 카드로 반전해 경계를 만듦 */

#vision.dark { background: #182132; --card: #212B3E; --line: #33405A; --ph: #222C3F; }  /* 슬레이트 네이비: 채도는 낮게, 명도는 한 단계 밝게 */
.light { background: var(--bg-light); color: var(--text-on-light);
         --card: var(--card-light); --line: var(--line-light); --muted: var(--muted-light); --ph: #E4E9F2; }
.eyebrow { font-size: 12px; letter-spacing: .2em; color: var(--primary); text-transform: uppercase; margin-bottom: 10px; font-weight: 700; }
.dark .eyebrow { color: var(--cyan); }
h1 { font-size: 48px; line-height: 1.15; letter-spacing: -.01em; }
h1 .hl { color: var(--primary); }
.dark h1 .hl { color: #4F7DFF; }
h2 { font-size: 32px; margin-bottom: 12px; letter-spacing: -.01em; }
h3 { font-size: 18px; margin-bottom: 6px; }
.lead { color: var(--muted); max-width: 680px; }
.box p, .tab-panel ul, .mini { color: var(--muted); }
.sub-title { font-size: 14px; font-weight: 700; margin: 56px 0 16px; padding-left: 10px; border-left: 3px solid var(--primary); letter-spacing: .02em; }
.dark .sub-title { border-color: var(--cyan); }

/* 이미지 자리 */
.ph { background: var(--ph); border: 1px dashed var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
      color: var(--muted); font-size: 13px; text-align: center; padding: 12px; min-height: 160px; }

/* 공통 박스 / 그리드 */
.box { border: 1px solid var(--line); background: var(--card); padding: 24px; border-radius: var(--radius); transition: border-color .2s; }
.light .box { box-shadow: 0 1px 2px rgba(11,26,58,.04); }
.box:hover { border-color: var(--primary); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g7 { grid-template-columns: repeat(7, 1fr); }

/* 버튼: 단색, 그라디언트·글로우 없음 */
.btn { display: inline-block; padding: 11px 24px; border: 1px solid var(--primary); border-radius: var(--radius); text-decoration: none;
       color: var(--primary); font-size: 14px; font-weight: 600; background: transparent; cursor: pointer; font-family: inherit; transition: .2s; }
.dark .btn { color: var(--text-on-dark); border-color: #3A4F80; }
.btn.fill, .dark .btn.fill { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn:hover { border-color: var(--primary-hover); }
.btn.fill:hover { background: var(--primary-hover); }
.btns { display: flex; gap: 8px; margin-top: 28px; }
.note { font-size: 12px; color: #F87171; margin-top: 10px; }

/* ===== 0. Header: 다크 + 반투명 ===== */
header { position: sticky; top: 0; z-index: 10; background: rgba(5,11,31,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
/* 로고: 헤더·푸터가 어두워서 네이비 글자를 흰색으로 바꾼 버전(로고-white.png) 사용. 원본은 로고.png */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { display: block; width: auto; height: 34px; }
nav a { margin: 0 12px; text-decoration: none; color: var(--muted-dark); font-size: 14px; padding: 20px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--text-on-dark); }
nav a.active { color: var(--text-on-dark); border-bottom-color: var(--cyan); }

/* ===== 1. Hero: 창고 사진 자리 + 네이비 오버레이 ===== */
.hero { padding: 80px 0; overflow: hidden;
        min-height: calc(100vh - 64px);   /* 헤더(64px) 뺀 화면 높이를 꽉 채움 */
        min-height: calc(100svh - 64px);  /* 모바일 주소창 고려 (지원 브라우저) */
        display: flex; align-items: center;
        background:
          linear-gradient(90deg, rgba(5,11,31,.98) 5%, rgba(5,11,31,.6) 70%, rgba(30,79,216,.35)),
          url("../images/main.jpeg") center / cover no-repeat; }
.hero > .wrap { width: 100%; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }

/* ===== 2. Solution ===== */
.sol-intro { display: grid; gap: 20px; max-width: 720px; margin-bottom: 8px; } /* 제목 아래에 정의 문단 */
.sol-intro h2 { margin-bottom: 0; }
.sol-def { padding-left: 24px; border-left: 2px solid var(--primary); }
.sol-def p { color: var(--muted); font-size: 15px; }
.checks { list-style: none; display: flex; gap: 28px; margin: 20px 0 36px; font-weight: 600; }
.checks li::before { content: "✓ "; color: var(--primary); font-weight: 800; }

/* ===== 3. 작동 원리: 허브 도식 (시안 라인이 유일하게 빛나는 곳) ===== */
.hub { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 28px; align-items: center; }
.hub .inputs { display: flex; flex-direction: column; gap: 14px; }
.hub .tag { border: 1px solid var(--line); background: var(--card); padding: 10px 14px; font-size: 14px; text-align: center; border-radius: var(--radius); position: relative; }
.hub .inputs.left .tag::after, .hub .inputs.right .tag::before { content: ""; position: absolute; top: 50%; width: 28px; height: 1px; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.hub .inputs.left .tag::after { right: -29px; }
.hub .inputs.right .tag::before { left: -29px; }
.engine { border: 1px solid var(--cyan); background: var(--card); padding: 36px 28px; text-align: center; border-radius: var(--radius);
          box-shadow: 0 0 0 4px rgba(34,211,238,.06), 0 0 32px rgba(34,211,238,.12); }
.engine p { color: var(--muted); }
/* 데이터 흐름 7단계 */
.flow { display: flex; gap: 8px; align-items: stretch; }
.flow .step { flex: 1; border: 1px solid var(--line); background: var(--card); padding: 14px 10px; font-size: 13px; text-align: center; border-radius: var(--radius); }
.flow .step b { display: block; font-size: 20px; color: var(--cyan); }
.flow .step small { color: var(--muted); }
.flow .arrow { align-self: center; color: var(--cyan); }

/* ===== 4. 다인뷰(DYNVIEW) 탭 ===== */
.stepper { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 32px; }
/* 연결선: 첫 원 중심(16.667%) ~ 마지막 원 중심(83.333%) */
/* STEP 1은 왼쪽 끝, STEP 3은 오른쪽 끝에 붙임 → 연결선은 1번 원 중심(19px) ~ 3번 원 중심(오른쪽 19px) */
.stepper::before, .stepper::after { content: ""; position: absolute; top: 18px; left: 19px; height: 2px; }
.stepper::before { right: 19px; background: var(--line); }
.stepper::after { width: calc((100% - 38px) * var(--step) / 2); background: var(--cyan); box-shadow: 0 0 6px var(--cyan); transition: width .4s ease; }
.stepper button:first-child { justify-self: start; align-items: flex-start; text-align: left; padding-left: 0; }
.stepper button:nth-child(2) { justify-self: center; }
.stepper button:last-child { justify-self: end; align-items: flex-end; text-align: right; padding-right: 0; }
.stepper button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 8px 4px;
                  border: none; background: none; color: var(--muted); cursor: pointer; font-family: inherit; text-align: center; }
.st-num { width: 38px; height: 38px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px;
          background: var(--bg-dark); border: 2px solid var(--line); color: var(--muted); transition: background .3s, border-color .3s, color .3s, box-shadow .3s; }
.stepper small { font-size: 11px; letter-spacing: .15em; font-weight: 700; }
.st-label { font-size: 14px; }
.stepper button:hover .st-num { border-color: var(--cyan); color: var(--text-on-dark); }
.stepper button:hover { color: var(--text-on-dark); }
.stepper button.done .st-num { border-color: var(--cyan); color: var(--cyan); }
.stepper button.on { color: var(--text-on-dark); }
.stepper button.on small { color: var(--cyan); }
.stepper button.on .st-label { font-weight: 700; }
.stepper button.on .st-num { background: var(--primary); border-color: var(--cyan); color: #fff; box-shadow: 0 0 0 6px rgba(30,79,216,.25); }
.tab-panel { display: none; container-type: inline-size; }  /* 아래 이미지 높이 계산(cqw)의 기준 */
.tab-panel.on { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tab-panel + .sub-title { margin-top: 96px; }  /* 단계별 적용 끝 ↔ 영상기술 분석사례: 간격 더 넓게 */
.tab-panel h3 { color: var(--text-on-dark); }
.tab-panel ul { padding-left: 18px; font-size: 14px; }
.tab-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #000; }
/* 이미지 자체를 라운드 처리: 틀을 이미지 비율에 맞추고, 높이는 1단계 영상(16:9)을 넘지 않게 */
.tab-img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc((100cqw - 28px) / 2 * 9 / 16);
           justify-self: center; align-self: start; border-radius: 12px; }
@media (max-width: 900px) { .tab-img { max-height: calc(100cqw * 9 / 16); } }
.mini { font-size: 13px; text-align: center; }
.mini .ph { min-height: 90px; margin-bottom: 8px; }
/* 영상기술 분석사례: 실제 영상 (세로형 4:5, 칸을 꽉 채움 — 원본이 정사각이라 좌우만 살짝 잘림) */
.mini-media { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 8px; border-radius: var(--radius);
              background: var(--ph); border: 1px solid var(--line); }
.box.mini { padding: 16px 10px; display: flex; align-items: center; justify-content: center; min-height: 84px; color: var(--text-on-dark); }

/* ===== 5. D-WES 카드 ===== */
#dwes .box .eyebrow { margin-bottom: 4px; }

/* ===== 6. 성과 수치 ===== */
.stat { text-align: center; color: var(--muted); }
.stat .num { font-size: 44px; font-weight: 800; color: var(--text-on-light); letter-spacing: -.02em; }
.stat .num small { font-size: 16px; font-weight: 500; color: var(--primary); margin-left: 2px; }
.stat .label { display: inline-block; margin-top: 8px; padding: 4px 12px; background: var(--text-on-light); color: #fff; font-size: 13px; border-radius: 3px; }

/* ===== 7. 문의 폼 ===== */
form .grid input, form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text-on-dark); font: inherit; border-radius: var(--radius); }
form input:focus, form textarea:focus { outline: none; border-color: var(--cyan); }
form textarea { margin-top: 16px; height: 120px; }

footer { padding: 40px 0; background: #03081A; color: var(--muted-dark); font-size: 13px; border-top: 1px solid var(--line-dark); }

@media (max-width: 900px) {
  .g3, .g7, .hero .wrap, .hub, .tab-panel.on, .g2 { grid-template-columns: 1fr; }
  .hub .tag::before, .hub .tag::after { display: none; }
  .st-label { font-size: 12px; } .stepper small { font-size: 10px; letter-spacing: .08em; }
  .flow { flex-direction: column; } .flow .arrow { transform: rotate(90deg); }
}

/* ================= 애니메이션 ★★★ ================= */

/* [B] 데이터 흐름 1→7 순차 점등: 처음엔 흐리게, 화면에 들어오면 순서대로 켜짐 */
.flow .step, .flow .arrow { opacity: .3; transition: opacity .4s, border-color .4s, box-shadow .4s; transition-delay: calc(var(--i) * .25s); }
.flow.play .step, .flow.play .arrow { opacity: 1; }
.flow.play .step { border-color: rgba(34,211,238,.55); }
.flow.play .step:last-child { border-color: var(--cyan); box-shadow: 0 0 20px rgba(34,211,238,.18); } /* 의사결정 = 도착점 강조 */

/* 움직임 줄이기 설정 사용자는 애니메이션 끔 */
@media (prefers-reduced-motion: reduce) {
  .flow .step, .flow .arrow { opacity: 1; transition: none; }
}

/* ================= D-WES 로케이션 분석 대시보드 ================= */
.loc-dash { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; margin-top: 8px; align-items: stretch; }
/* 왼쪽 패널을 오른쪽(KPI+거점센터) 높이까지 늘리고, 존 맵 행 높이도 같이 늘어나게 */
.loc-dash > .panel { display: flex; flex-direction: column; }
.zones { flex: 1; }
.zone { display: flex; flex-direction: column; }
.zone-body { flex: 1; }
.lane { display: flex; flex-direction: column; }
.lane-grid { flex: 1; }
.loc-dash .panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel-title { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 700; background: var(--text-on-light); color: #fff; padding: 4px 12px; border-radius: 3px; margin-bottom: 16px; }
.zones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* 존 카드: 왼쪽 축(동작수) + 동선 레인(랙 2열 + 동작 점 1열) */
.zone { --row: 28px; }
.zone-cat { font-size: 11px; color: var(--muted); text-align: center; height: 32px; line-height: 1.3; }
.zone-body { display: grid; grid-template-columns: 24px 1fr; gap: 16px; }
.axis { display: grid; grid-template-rows: repeat(13, minmax(var(--row), 1fr)); padding: 15.5px 0; font-size: 10px; color: var(--muted); text-align: right; }
.axis span { display: flex; align-items: center; justify-content: flex-end; }
.lane { position: relative; border: 1.5px solid #3B4FC4; border-radius: 10px; padding: 14px 12px; background: #FAFBFE; }
.lane-grid { display: grid; grid-template-columns: 1fr 1fr 52px; grid-template-rows: repeat(13, minmax(var(--row), 1fr)); column-gap: 4px; }
.rack { border: 1px solid #3B6FE0; margin-bottom: 4px; }
.rack.lv1 { background: repeating-linear-gradient(45deg, #9DB4EE 0 1px, transparent 1px 6px), repeating-linear-gradient(-45deg, #9DB4EE 0 1px, #fff 1px 6px); }
.rack.lv2 { background: repeating-linear-gradient(45deg, #6E8FE4 0 1px, transparent 1px 6px), repeating-linear-gradient(-45deg, #6E8FE4 0 1px, #E3EAFB 1px 6px); }
.rack.lv3 { background: repeating-linear-gradient(45deg, #4C73DD 0 1px, transparent 1px 5px), repeating-linear-gradient(-45deg, #4C73DD 0 1px, #C6D4F6 1px 5px); }
.dot-cell { display: flex; align-items: center; justify-content: center; }
.dot { border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; }
/* 동선 화살표, 작업자, START */
.arrow-mark { position: absolute; font-size: 9px; color: #3B4FC4; }
.worker { position: absolute; width: 22px; height: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.worker svg { width: 14px; height: 14px; }
.worker.lv1 { background: #C9CED8; } .worker.lv2 { background: #9AA3B5; } .worker.lv3 { background: #1F2937; }
.start { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: #B8BFCC; color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.zone-foot { margin-top: 8px; background: #E4E9F2; text-align: center; font-size: 12px; padding: 4px; border-radius: 3px; color: var(--muted); }

/* KPI 해석 범례 */
.kpi { border-top: 1px solid var(--line); padding: 12px 0; }
.kpi:first-of-type { border-top: none; padding-top: 0; }
.kpi-name { font-size: 12px; font-weight: 700; color: var(--primary); }
.kpi-sub { font-size: 12px; text-align: center; margin: 2px 0 8px; }
.scale-row { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.scale-row .line { flex: 1; height: 1px; background: var(--muted); position: relative; }
.scale-row .line::before, .scale-row .line::after { position: absolute; top: -7px; font-size: 10px; }
.scale-row .line::before { content: "◀"; left: -4px; } .scale-row .line::after { content: "▶"; right: -4px; }
.swatches { display: flex; justify-content: space-between; margin-top: 10px; padding: 0 24px; }
.swatches i { width: 26px; height: 26px; border-radius: 50%; display: block; }
.ticks { display: flex; justify-content: space-between; padding: 8px 24px 0; font-size: 12px; }
.levels { display: flex; gap: 22px; justify-content: center; font-size: 11px; color: var(--muted); text-align: center; }
.levels .rack-sw { width: 26px; height: 26px; margin-bottom: 4px; }
.levels .worker { position: static; margin: 0 auto 4px; }
.kpi4 { display: flex; align-items: center; justify-content: space-between; }
.total { text-align: center; }
.total small { font-size: 11px; color: var(--primary); font-weight: 700; }
.total b { display: block; margin-top: 4px; font-size: 24px; padding: 10px 22px; background: var(--bg-light); border-radius: var(--radius); }

/* 거점센터별 분석 */
.center-head, .center-row { display: grid; grid-template-columns: 88px repeat(3, 1fr); gap: 14px; align-items: center; }
.center-head { font-size: 12px; font-weight: 700; color: var(--primary); padding-bottom: 6px; }
.center-row { font-size: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.bar { position: relative; height: 14px; margin-right: 26px; }
.bar .base { position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: #E4E9F2; }
.bar .fill { position: absolute; top: 6px; left: 0; height: 2px; background: var(--primary); }
.bar .ref { position: absolute; top: 2px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; border: 1.5px solid var(--primary); background: #fff; }
.bar .cur { position: absolute; top: 1px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #1EA7F0; }
.bar .val { position: absolute; top: -2px; margin-left: 9px; font-size: 11px; font-weight: 700; }

@media (max-width: 900px) { .loc-dash, .zones { grid-template-columns: 1fr; } }

/* ================= D-WES 화면 카드 ================= */
.screen-cards { margin: 32px 0 8px; }
.screen-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
               display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; }
.screen-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--primary); transition: width .3s; }
.screen-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 12px 28px rgba(11,26,58,.10); }
.screen-card:hover::after { width: 100%; }
.sc-media { position: relative; overflow: hidden; }
.sc-media .ph { min-height: 0; aspect-ratio: 16 / 10; border: none; border-radius: 0; background: #DCE3EE; transition: transform .4s; }
.screen-card:hover .sc-media .ph { transform: scale(1.04); }
/* 실제 화면 이미지: 카드 비율(16:10) 안에 잘림 없이 담고, 남는 여백은 이미지 바탕색과 맞춤 */
.sc-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #D9D9D9; transition: transform .4s; }
.screen-card:hover .sc-img { transform: scale(1.04); }
.sc-img.cover { object-fit: cover; }  /* 사진형 화면은 카드를 꽉 채움 */
.sc-img.dark { background: #333333; }  /* 3D 뷰포트 이미지: 여백을 뷰포트 배경색과 맞춤 */
.sc-img.top { object-position: center top; }  /* 세로 이미지: 카드에는 윗부분(핵심 구간)만 크게 */

/* 카드 이미지 클릭 → 원본 크게 보기 */
.sc-media.zoomable { cursor: zoom-in; }
.sc-media.zoomable::after { content: "⤢ 크게 보기"; position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(11,26,58,.78); padding: 5px 10px; border-radius: 3px; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; pointer-events: none; }
.screen-card:hover .sc-media.zoomable::after, .sc-media.zoomable:focus-visible::after { opacity: 1; transform: none; }
.sc-media.zoomable:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px 24px 24px; background: rgba(5,11,31,.9); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; cursor: zoom-out; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 130px); object-fit: contain; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5); transform: scale(.96); transition: transform .25s; cursor: default; }
.lightbox.open img { transform: none; }
.lightbox p { margin-top: 14px; color: #C9D4E8; font-size: 14px; }
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 40px; height: 40px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.24); }
body.no-scroll { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox img { transition: none; } }
.sc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.sc-head { display: flex; align-items: center; gap: 12px; }
.sc-icon { width: 34px; height: 34px; color: var(--primary); flex-shrink: 0; }
.sc-head small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.sc-head h3 { font-size: 22px; margin: 0; line-height: 1.2; }
.sc-sub { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--primary); }
.sc-desc { margin-top: 6px; font-size: 14px; color: var(--muted); flex: 1; }
.sc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.sc-tags li { font-size: 12px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); background: var(--bg-light); }

/* ================= Truck transport 아코디언 ================= */
.acc { display: flex; gap: 16px; height: 440px; }
.acc-item { position: relative; flex: 1; min-width: 0; border-radius: 16px; overflow: hidden; cursor: pointer; outline: none;
            background: var(--bg); transition: flex .7s cubic-bezier(.65,0,.35,1); }
.acc-item.on { flex: 3.2; cursor: default; }
/* 이미지 자리 (실제 이미지는 background-image로 교체) */
.acc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #5C6B8C; font-size: 13px; text-align: center; padding: 20px; }
/* 펼쳐진 패널에만 어두운 막 + 가운데 텍스트 */
.acc-item::before { content: ""; position: absolute; inset: 0; background: rgba(5,11,31,.62); opacity: 0; transition: opacity .5s; z-index: 1; }
.acc-item.on::before { opacity: 1; }
.acc-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
               text-align: center; color: #fff; padding: 32px; opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .35s; pointer-events: none; }
.acc-item.on .acc-content { opacity: 1; transform: none; transition: opacity .5s .35s, transform .5s .35s; }  /* 패널이 다 펼쳐진 뒤 등장 */
.acc-content small { font-size: 12px; letter-spacing: .2em; color: var(--cyan); font-weight: 700; margin-bottom: 10px; }
.acc-content h3 { font-size: 30px; line-height: 1.3; margin-bottom: 14px; white-space: nowrap; }
.acc-content p { font-size: 16px; color: #D5DEEC; white-space: nowrap; }
/* 접힌 패널: 아래쪽에 STEP 번호만 */
.acc-num { position: absolute; left: 20px; bottom: 18px; z-index: 2; font-size: 12px; font-weight: 800; letter-spacing: .15em; color: #fff;
           padding: 4px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 3px; transition: opacity .3s; }
.acc-item.on .acc-num { opacity: 0; }
.acc-item.on .acc-ph { opacity: 0; }  /* 펼쳐지면 자리표시 글자 숨김 (실제 이미지는 그대로 보임) */
.acc-item:not(.on):hover { filter: brightness(1.15); }
/* 진행 표시 점 */
.acc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.acc-dots button { width: 8px; height: 8px; border-radius: 4px; border: none; background: #C3CCDB; cursor: pointer; transition: width .3s, background .3s; }
.acc-dots button.on { width: 28px; background: var(--primary); }

@media (max-width: 900px) {
  .acc { flex-direction: column; height: 640px; }
  .acc-content h3, .acc-content p { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .acc-item, .acc-content { transition: none !important; } }

/* ================= Solution 카드 색상 변주 (PPT의 체크무늬 배치 응용) ================= */
/*  [01 네이비] [02 흰색] [03 연블루]
    [04 흰색]   [05 연블루] [06 흰색]  */

/* ================= Results 성과 밴드 ================= */
.stats-band { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); margin: 8px 0 24px;
              border-top: 2px solid var(--text-on-light); border-bottom: 1px solid var(--line); }
.sb-intro { padding: 40px 32px 40px 0; }
.sb-intro h2 { font-size: 30px; line-height: 1.3; }
.sb-intro p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.sb-stat { position: relative; padding: 40px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
/* 수치 위 블루 라인: 화면에 보이면 숫자와 함께 왼쪽→오른쪽으로 그어짐 */
.sb-stat::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--primary); transition: width 1.6s cubic-bezier(.22,1,.36,1); }
.stats-band.play .sb-stat::before { width: 100%; }
.stats-band.play .sb-stat:nth-of-type(3)::before { transition-delay: .15s; }
.stats-band.play .sb-stat:nth-of-type(4)::before { transition-delay: .3s; }
.sb-label { font-size: 13px; font-weight: 700; color: var(--primary); }
.sb-num { font-size: 60px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 18px 0 14px; color: var(--text-on-light); font-variant-numeric: tabular-nums; }
.sb-num small { font-size: 20px; font-weight: 600; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.sb-desc { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
@media (max-width: 900px) {
  .stats-band { grid-template-columns: 1fr; }
  .sb-stat { border-left: none; border-top: 1px solid var(--line); padding: 28px 0; }
}
@media (prefers-reduced-motion: reduce) { .sb-stat::before { width: 100%; transition: none; } }

/* ================= AI Execution Engine 리디자인: 글로우 제거, 대비 낮춤 ================= */
.engine { position: relative; border: 1px solid #2F4A8A; background: transparent;  /* 섹션 배경과 동일 */ box-shadow: none; padding: 40px 32px; overflow: hidden; }
.engine::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--cyan); }  /* 빛 대신 얇은 상단 라인 */
.engine-eyebrow { display: block; font-size: 11px; letter-spacing: .2em; color: var(--cyan); font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }
.engine h3 { font-size: 22px; color: #fff; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #2F4A8A; }
.engine p { color: #B8C6E0; font-size: 14px; }
.engine-icon { position: absolute; right: -14px; bottom: -14px; width: 84px; height: 84px; color: rgba(79,125,255,.18); }
/* 입력 태그: 채움 없이 옅은 테두리만 */
.hub .tag { background: transparent; border-color: rgba(138,155,184,.28); color: #C9D4E8; transition: border-color .2s, color .2s; }
.hub .tag:hover { border-color: var(--primary); color: #fff; }
/* 연결선: 빛나는 실선 → 옅은 점선, 엔진 쪽 끝에만 작은 시안 점 */
.hub .inputs.left .tag::after, .hub .inputs.right .tag::before { height: 0; background: none; box-shadow: none; border-top: 1px dashed rgba(138,155,184,.55); }
.hub .inputs.left .tag::before, .hub .inputs.right .tag::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--cyan); }
.hub .inputs.left .tag::before { right: -31px; }
.hub .inputs.right .tag::after { left: -31px; }

/* ================= How it works: 3단 파이프라인 ================= */
.pipe { display: grid; grid-template-columns: 1fr 48px 1.5fr 48px 1fr; align-items: stretch; margin-top: 48px; }
.pipe-col { position: relative; border: 1px solid rgba(138,155,184,.28); border-radius: var(--radius); padding: 28px 26px; overflow: hidden;
            display: flex; flex-direction: column; }
.pipe-core { border-color: #2F4A8A; }
/* 가운데 Engine 칸을 크게: 더 넓고, 양옆보다 위아래로 20px씩 더 크게 → 양옆이 상대적으로 작아 보임 */
.pipe-core { margin: -20px 0; padding: 40px 34px; background: rgba(30,79,216,.06); }
.pipe-core h3 { font-size: 26px; }
.pipe-core .pipe-desc { font-size: 15px; }
@media (max-width: 900px) { .pipe-core { margin: 0; padding: 28px 26px; } }
.pipe-core::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--cyan); }
.pipe-tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.pipe-core .pipe-tag { color: var(--cyan); }
.pipe-col h3 { font-size: 22px; color: #fff; margin: 10px 0 8px; }
.pipe-desc { font-size: 14px; color: #B8C6E0; min-height: 44px; }
.chips { display: flex; gap: 6px; margin: 18px 0 6px; }
.chips span { font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 3px 9px; border: 1px solid #2F4A8A; border-radius: 3px; color: #C9D4E8; }
.pipe-list { list-style: none; margin-top: 12px; }
.pipe-list li { font-size: 14px; color: #C9D4E8; padding: 9px 0; border-bottom: 1px solid rgba(138,155,184,.14); display: flex; align-items: center; gap: 10px; }
.pipe-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
.recog { display: grid; gap: 10px; margin-top: 18px; }
.recog div { border: 1px solid #2F4A8A; border-radius: var(--radius); padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; }
.recog b { color: #fff; font-size: 15px; }
.recog small { color: var(--muted); font-size: 12px; }
.pipe-out { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.pipe-out li { border-left: 2px solid var(--primary); padding: 6px 0 6px 14px; }
.pipe-out b { display: block; color: #fff; font-size: 15px; }
.pipe-out small { color: var(--muted); font-size: 12px; }
.pipe-foot { margin-top: auto; padding-top: 18px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.pipe-foot::before { content: "↳ "; color: var(--cyan); }
.pipe-core .engine-icon { position: absolute; right: -14px; bottom: -14px; width: 84px; height: 84px; color: rgba(79,125,255,.16); }
/* 화살표: 점선 + 끝 삼각형 */
.pipe-arrow { position: relative; display: flex; align-items: center; }
.pipe-arrow span { position: relative; width: 100%; border-top: 1px dashed rgba(138,155,184,.6); margin: 0 8px; }
.pipe-arrow span::after { content: ""; position: absolute; right: -2px; top: -5px; border: 5px solid transparent; border-left: 7px solid var(--cyan); border-right: none; }
/* 순차 점등: INPUT → 화살표 → ENGINE → 화살표 → OUTPUT */
.pipe > * { opacity: .25; transform: translateY(8px); transition: opacity .6s, transform .6s; transition-delay: calc(var(--i) * .3s); }
.pipe.play > * { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .pipe { grid-template-columns: 1fr; gap: 0; }
  .pipe-arrow { height: 40px; justify-content: center; }
  .pipe-arrow span { width: 0; height: 100%; border-top: none; border-left: 1px dashed rgba(138,155,184,.6); margin: 4px 0; }
  .pipe-arrow span::after { right: -5px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 7px solid var(--cyan); border-bottom: none; }
}
@media (prefers-reduced-motion: reduce) { .pipe > * { opacity: 1; transform: none; transition: none; } }

/* ================= 다인뷰(DYNVIEW) 톤 다운: 형광 시안 → 차분한 블루 ================= */
#vision { --vision-accent: #7C93BF; }                 /* 차콜 배경에 맞춘 차분한 스틸 블루 */
#vision .sub-title { border-color: #4A5E8A; }
#vision .st-num { background: #182132; }             /* 스테퍼 원 안쪽 = 섹션 배경색 */
#vision .box.mini:hover { border-color: var(--vision-accent); }
/* 스테퍼 연결선·원 테두리: 글로우 제거 + 차분한 블루 */
.stepper::after { background: var(--vision-accent); box-shadow: none; }
.stepper button:hover .st-num,
.stepper button.done .st-num { border-color: var(--vision-accent); }
.stepper button.done .st-num { color: #A9BCE0; }
.stepper button.on small { color: #8FA6CC; }
.stepper button.on .st-num { border-color: var(--vision-accent); box-shadow: 0 0 0 6px rgba(124,147,191,.16); }

/* ================= Truck transport: 텍스트 하단 배치 + 하단 어두운 그라데이션 ================= */
/* 전체를 덮던 어두운 막 → 아래에서 위로 사라지는 그라데이션 (위쪽은 이미지가 그대로 보임) */
.acc-item::before { background: linear-gradient(to top, rgba(5,11,31,.95) 0%, rgba(5,11,31,.78) 28%, rgba(5,11,31,.35) 52%, rgba(5,11,31,0) 70%); }
.acc-content { justify-content: flex-end; align-items: flex-start; text-align: left; padding: 36px 40px; }
.acc-content h3 { font-size: 26px; margin-bottom: 10px; }
.acc-content p { font-size: 15px; }
.acc-content h3, .acc-content p { text-shadow: 0 1px 8px rgba(0,0,0,.45); }
@media (max-width: 900px) { .acc-content { padding: 24px; } }

/* 접힌 패널: STEP + 제목만 표시 (설명문은 펼쳐질 때만 등장) */
.acc-item::before { opacity: 1; }
.acc-content { opacity: 1; transform: none; padding: 24px; transition: padding .5s; }
.acc-item.on .acc-content { padding: 36px 40px; transition: padding .5s; }
.acc-content h3 { font-size: 18px; margin-bottom: 0; transition: font-size .5s, margin .5s; }
.acc-item.on .acc-content h3 { font-size: 26px; margin-bottom: 10px; }
.acc-content p { max-height: 0; opacity: 0; overflow: hidden; transition: opacity .2s, max-height .3s; }
.acc-item.on .acc-content p { max-height: 120px; opacity: 1; transition: max-height .5s .3s, opacity .5s .4s; }
@media (max-width: 900px) {
  .acc-content { padding: 16px 20px; }
  .acc-item.on .acc-content { padding: 24px; }
  .acc-content h3 br { display: none; }
}
/* 접힌 패널은 전체를 한 단계 더 어둡게 (펼치면 서서히 걷힘) */
.acc-item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(5,11,31,.80); opacity: 1; transition: opacity .6s; pointer-events: none; }
.acc-item.on::after { opacity: 0; }
/* 펼친 패널: 하단 그라데이션 높이를 5%p 낮춤 (위쪽 이미지가 더 보이도록) */
.acc-item.on::before { background: linear-gradient(to top, rgba(5,11,31,.95) 0%, rgba(5,11,31,.78) 23%, rgba(5,11,31,.35) 47%, rgba(5,11,31,0) 65%); }
/* 패널 그림자: 흰 배경 위에서 살짝 떠 보이게 */
.acc-item { box-shadow: 0 10px 26px rgba(11,26,58,.14), 0 2px 6px rgba(11,26,58,.06); }

/* ================= 색 반전: 다인뷰(DYNVIEW) = 밝은 섹션, D-WES = 어두운 섹션 ================= */
/* --- 다인뷰(DYNVIEW) (light) --- */
#vision.light { --vision-accent: var(--primary); }
#vision.light .eyebrow { color: var(--primary); }
#vision.light .sub-title { border-color: var(--primary); }
#vision.light .tab-panel h3 { color: var(--text-on-light); }
#vision.light .stepper button { color: var(--muted); }
#vision.light .stepper button:hover, #vision.light .stepper button.on { color: var(--text-on-light); }
#vision.light .st-num { background: #fff; border-color: var(--line); color: var(--muted); }
#vision.light .stepper button:hover .st-num { border-color: var(--primary); color: var(--text-on-light); }
#vision.light .stepper button.done .st-num { border-color: var(--primary); color: var(--primary); }
#vision.light .stepper button.on .st-num { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 6px rgba(30,79,216,.15); }
#vision.light .stepper button.on small { color: var(--primary); }
#vision.light .box.mini { background: #fff; color: var(--text-on-light); }
/* 그림자: 단계별 적용 이미지·영상 / 분석사례 영상 / 차별화 기술 박스 */
#vision.light .tab-video, #vision.light .tab-img { box-shadow: 0 12px 30px rgba(11,26,58,.14), 0 2px 6px rgba(11,26,58,.06); }
#vision.light .mini-media { box-shadow: 0 8px 20px rgba(11,26,58,.12), 0 1px 3px rgba(11,26,58,.06); }
#vision.light .box.mini { box-shadow: 0 6px 16px rgba(11,26,58,.08), 0 1px 3px rgba(11,26,58,.05); }
/* --- D-WES (dark) --- */
#dwes.dark .sc-head h3 { color: #fff; }
#dwes.dark .sc-icon { color: #4F7DFF; }
#dwes.dark .sc-tags li { background: rgba(255,255,255,.04); }
#dwes.dark .screen-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.35); }
/* 로케이션 대시보드는 밝은 화면(UI 캡처처럼) 그대로 유지 */
#dwes-dash.dark .loc-dash { --card: #ECEFF4; --line: #D3DAE5; --muted: var(--muted-light); color: var(--text-on-light); }
/* 어두운 배경 위 눈부심 완화: 흰색 → 연회색 톤으로 한 단계 낮춤 */
#dwes-dash.dark .lane { background: #F5F7FA; }
#dwes-dash.dark .total b { background: #DFE4EC; }
#dwes-dash.dark .zone-foot { background: #DCE2EB; }

/* ================= D-WES 대시보드 화면 ================= */
#dwes-dash .loc-dash { margin-top: 20px; }   /* D-WES 2번째 화면: 제목 아래 대시보드 */
/* 대시보드 해석 가이드 한 줄 */
.dash-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; width: fit-content; margin-top: 14px; padding: 9px 18px;
              border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.04); font-size: 13.5px; color: #C9D4E8; }
.dash-guide b { color: #fff; }
.dash-guide small { font-size: 11px; color: var(--muted-dark); }
.g-item { display: inline-flex; align-items: center; gap: 8px; }
.g-dot { width: 14px; height: 14px; border-radius: 50%; background: #E8692E; flex-shrink: 0; }
.g-sep { width: 1px; height: 14px; background: rgba(255,255,255,.2); }
.g-grad { width: 60px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #C2410C, #EE8A5A, #2BA89A, #2F5BE0, #4A55E0); }
@media (max-width: 900px) { .dash-guide { border-radius: 12px; } .g-sep { display: none; } }

/* ================= Solution 6개 카드: 한 단계 크게 ================= */

/* ================= Solution: 왼쪽 소개 + 오른쪽 카드 2열 × 3줄 ================= */
/* 왼쪽 글은 위아래 빈 줄(1fr) 사이에 모아 세로 가운데, 오른쪽 카드는 전체 줄에 걸침 */

/* ================= 모바일(일반 스크롤 레이아웃) 글자 크기 키움: 본문 15~16px 이상, 작은 라벨도 12~14px ================= */
@media (max-width: 900px) {
  body { font-size: 16px; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; line-height: 1.35; word-break: keep-all; }
  h3 { font-size: 19px; }
  .eyebrow { font-size: 13px; }
  .sub-title { font-size: 16px; }
  .btn { font-size: 15px; }
  .lead, .sol-def p, .box p, .tab-panel ul, .pipe-desc, .sc-desc, .sb-intro p, .form-desc, .engine p { font-size: 16px; }
  .checks { font-size: 16px; flex-wrap: wrap; gap: 10px 20px; }
  /* 작동원리 */
  .pipe-tag, .chips span { font-size: 12px; }
  .pipe-list li, .recog b, .pipe-out b { font-size: 16px; }
  .recog small, .pipe-out small, .pipe-foot { font-size: 13px; }
  /* 다인뷰(DYNVIEW) */
  .stepper small { font-size: 11px; }
  .st-label { font-size: 14px; }
  .mini, .box.mini { font-size: 15px; }
  /* D-WES */
  .sc-head small { font-size: 13px; }
  .sc-sub { font-size: 15px; }
  .sc-tags li { font-size: 13px; }
  .dash-guide { font-size: 14px; }
  .kpi-name, .kpi-sub, .center-head, .center-row, .panel-title { font-size: 13px; }
  .zone-cat, .axis, .scale-row, .levels, .ticks, .zone-foot, .bar .val { font-size: 12px; }
  .dot { font-size: 12px; }
  /* 성과·트럭 사례 */
  .sb-label { font-size: 14px; }
  .sb-num { font-size: 48px; }
  .sb-desc { font-size: 14px; }
  .acc-content small { font-size: 12px; }
  .acc-content h3 { font-size: 20px; }
  .acc-item.on .acc-content h3 { font-size: 22px; }
  .acc-content p { font-size: 15px; }
  /* 문의 */
  .info li { font-size: 15px; }
  .info span { font-size: 14px; }
  .contact-form label { font-size: 14px; }
  .contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea { font-size: 16px; }   /* 16px 미만이면 아이폰이 입력 시 화면을 확대함 */
  footer { font-size: 14px; }
}

/* ================= Solution: 왼쪽 D-WES 허브 도식 ================= */
.dwes-hub { margin: 32px 0 0; max-width: 460px; }
.dwes-hub svg { display: block; width: 100%; height: auto; font-family: inherit; overflow: visible; }
.dwes-hub figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.hub-lines line { stroke: #9DB0D3; stroke-width: 1.2; stroke-dasharray: 3 4; }
.hub-node rect { fill: #fff; stroke: #D3DAE5; filter: drop-shadow(0 2px 4px rgba(11,26,58,.06)); }
.hub-node text { font-size: 12.5px; font-weight: 600; fill: var(--text-on-light); text-anchor: middle; }
.hub-hex-ring { fill: none; stroke: rgba(30,79,216,.18); stroke-width: 1.2; }
.hub-hex { fill: var(--text-on-light); stroke: var(--cyan); stroke-width: 1.6; }
.hub-title { font-size: 17px; font-weight: 800; fill: #fff; text-anchor: middle; letter-spacing: .02em; }
.hub-sub { font-size: 10px; font-weight: 600; fill: var(--cyan); text-anchor: middle; }
.hub-pulse { fill: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .hub-pulse { display: none; } }
@media (max-width: 900px) {
  .dwes-hub { margin: 28px auto 36px; }
  .dwes-hub figcaption { font-size: 14px; }
  .hub-node text { font-size: 16px; }   /* 휴대폰에서 도식이 작게 줄어드는 만큼 글자를 키움 */
  .hub-title { font-size: 21px; }
  .hub-sub { font-size: 12.5px; }
}
/* 로고: 누르면 첫 페이지(HERO)로 이동하는 링크 — 손가락 커서, 밑줄·글자 선택 없음 */
.logo { cursor: pointer; text-decoration: none; user-select: none; -webkit-user-select: none; }

/* ================= 푸터: 회사 정보 ================= */
footer { padding: 36px 0 28px; }
.ft-top { display: flex; gap: 56px; align-items: flex-start; }
.ft-logo { flex-shrink: 0; }
.ft-logo img { display: block; width: auto; height: 30px; }
.ft-info { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.ft-info div { display: flex; gap: 8px; }
.ft-info dt { color: #6B7A99; }
.ft-info dd { margin: 0; color: #C9D4E8; }
.ft-copy { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #6B7A99; }
@media (max-width: 900px) {
  .ft-top { flex-direction: column; gap: 18px; }
  .ft-info { flex-direction: column; gap: 6px; }
  .ft-copy { font-size: 13px; }
}
/* 푸터는 본문보다 한 단계 작게 (데스크톱) */
footer { padding: 26px 0 20px; font-size: 12px; }
.ft-info { gap: 6px 24px; }
.ft-copy { margin-top: 16px; padding-top: 12px; font-size: 11px; }
@media (max-width: 900px) { footer { font-size: 14px; padding: 32px 0 28px; } .ft-copy { font-size: 13px; } }
.info span { width: 76px; }   /* "부산 사무소" 라벨이 줄바꿈되지 않게 */
/* 문의 지도 영역: 바깥 카드와 지도의 테두리 선 제거 (액자 배경·그림자는 유지) */
.map-col, .map { border: none; }
/* 문의 지도 영역: 카드 배경 없이 페이지 배경 그대로 → 지도·정보 목록을 왼쪽 끝에 맞춤 */
.map-col { background: transparent; box-shadow: none; }
.map { margin: 0; }
.info { padding: 12px 0 0; }

/* ================= Results: 'AI 학습데이터 생성 성과' 밴드를 푸른 패널로 ================= */
.stats-band { background: linear-gradient(120deg, #1E4FD8 0%, #2347C4 55%, #18379F 100%); border: none; border-radius: 16px;
              padding: 0 40px; color: #fff; box-shadow: 0 16px 40px rgba(30,79,216,.22); overflow: hidden; }
.sb-intro h2 { color: #fff; }
.sb-intro p { color: #D6E2FF; }
.sb-stat { border-left-color: rgba(255,255,255,.18); }
.sb-stat::before { background: var(--cyan); top: 0; }               /* 수치 위로 그어지는 선: 파란 바탕에서 보이도록 시안 */
.sb-label { color: #BFD3FF; }
.sb-num { color: #fff; }
.sb-num small { color: #BFD3FF; }
.sb-desc { color: #D6E2FF; border-top-color: rgba(255,255,255,.25); }
@media (max-width: 900px) {
  .stats-band { padding: 0 24px; }
  .sb-stat { border-top-color: rgba(255,255,255,.18); }
}
/* 성과 패널 톤 다운: 쨍한 로열 블루 → 채도 낮춘 딥 네이비 블루, 파란 글로우 그림자 → 무채색 그림자, 수치 위 시안 선 제거 */
.stats-band { background: radial-gradient(120% 140% at 100% 0%, #24427F 0%, rgba(36,66,127,0) 55%), #172C5C;
              box-shadow: 0 14px 34px rgba(11,26,58,.16); }
.sb-stat::before { display: none; }
.sb-label { color: #9FB4DA; }
.sb-num small { color: #9FB4DA; }
.sb-intro p, .sb-desc { color: #C3D0E8; }
.sb-desc { border-top-color: rgba(255,255,255,.16); }
.sb-stat { border-left-color: rgba(255,255,255,.12); }
/* 다인뷰(DYNVIEW) '영상분석 차별화 기술' 박스: 성과 패널과 같은 딥 네이비 블루 + 흰 글자 */
#vision.light .box.mini { background: radial-gradient(120% 140% at 100% 0%, #24427F 0%, rgba(36,66,127,0) 60%), #172C5C;
                          border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(11,26,58,.14);
                          transition: transform .2s, box-shadow .2s; }
#vision.light .box.mini:hover { border-color: transparent; transform: translateY(-3px); box-shadow: 0 10px 22px rgba(11,26,58,.22); }
/* 다인뷰(DYNVIEW) '영상기술 분석사례' 영상 아래 이름: 더 크고 진한 네이비로 */
#vision .mini:not(.box) { font-size: 15px; font-weight: 600; color: var(--text-on-light); }
@media (max-width: 900px) { #vision .mini:not(.box) { font-size: 16px; } }
/* D-WES 화면 카드 하단 설명: 어두운 배경과 겹치지 않게 연회색(대시보드와 같은 #ECEFF4) — 순백보다 눈부심이 적음 */
#dwes.dark .screen-card { background: #ECEFF4; border-color: transparent; }
#dwes.dark .sc-head h3 { color: var(--text-on-light); }
#dwes.dark .sc-head small { color: var(--muted-light); }
#dwes.dark .sc-icon { color: var(--primary); }
#dwes.dark .sc-tags { border-top-color: #D3DAE5; }
#dwes.dark .sc-tags li { background: #F7F9FC; border-color: #D3DAE5; color: var(--muted-light); }
/* D-WES 화면 카드: 테두리 선 모두 제거 (카드 외곽·태그 위 구분선·태그 테두리) — 태그는 바탕색으로만 구분 */
#dwes.dark .screen-card { border: none; }
#dwes.dark .sc-tags { border-top: none; padding-top: 4px; }
#dwes.dark .sc-tags li { border: none; background: #DFE4EC; color: #4A5A75; }
/* D-WES 화면 카드: 마우스를 올리면 아래에 그어지는 파란 선을 더 두껍게 (3px → 6px) */
.screen-card::after { height: 6px; }
/* D-WES 화면 카드 그림자 진하게: 평소에도 깊은 그림자, 마우스를 올리면 더 깊게 */
#dwes.dark .screen-card { box-shadow: 0 14px 32px rgba(0,0,0,.45), 0 3px 8px rgba(0,0,0,.25); }
#dwes.dark .screen-card:hover { box-shadow: 0 24px 48px rgba(0,0,0,.6), 0 6px 14px rgba(0,0,0,.3); }
/* Location 대시보드 패널: 안쪽으로 옅은 그림자(inset)를 채워 오목하게 들어간 화면처럼 */
#dwes-dash .loc-dash .panel { border-color: transparent; box-shadow: inset 0 2px 12px rgba(11,26,58,.10), inset 0 0 0 1px rgba(11,26,58,.05); }
#dwes-dash .lane { box-shadow: inset 0 1px 6px rgba(11,26,58,.06); }

/* ================= How it works: 양옆(Input·Output) 밝은 카드 + 모든 박스 테두리 제거 ================= */
#principle .pipe-col, #principle .recog div, #principle .chips span { border: none; }
/* 양옆 칸: 연회색(#ECEFF4, D-WES 카드와 같은 색) + 어두운 글자 */
#principle .pipe-col:not(.pipe-core) { background: #ECEFF4; box-shadow: 0 14px 32px rgba(0,0,0,.35); }
#principle .pipe-col:not(.pipe-core) .pipe-tag { color: var(--muted-light); }
#principle .pipe-col:not(.pipe-core) h3 { color: var(--text-on-light); }
#principle .pipe-col:not(.pipe-core) .pipe-desc { color: #4A5A75; }
#principle .pipe-col:not(.pipe-core) .chips span { background: #DFE4EC; color: #33415C; }
#principle .pipe-col:not(.pipe-core) .pipe-list li { color: #33415C; border-bottom-color: #D3DAE5; }
#principle .pipe-col:not(.pipe-core) .pipe-list li::before { background: var(--primary); }
#principle .pipe-col:not(.pipe-core) .pipe-out b { color: var(--text-on-light); }
#principle .pipe-col:not(.pipe-core) .pipe-out small { color: var(--muted-light); }
#principle .pipe-col:not(.pipe-core) .pipe-foot { color: var(--muted-light); }
#principle .pipe-col:not(.pipe-core) .pipe-foot::before { color: var(--primary); }
/* 가운데 Engine: 테두리 대신 진한 카드색 + 그림자로 구분, 인지 박스는 옅은 면 */
#principle .pipe-core { background: var(--card-dark); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
#principle .recog div { background: rgba(255,255,255,.06); }

/* ================= How it works 색 조합 1안: 톤온톤 네이비 + 딥 네이비 블루 중심 + 로고 블루 포인트 =================
   배경 #0B1A3A / 양옆 #111F42(배경보다 한 단계 밝은 네이비) / 가운데 #172C5C(성과 패널·차별화 박스와 같은 색) / 포인트 #4F7DFF(로고 '엑스' 색) */
#principle .pipe-col:not(.pipe-core) { background: #111F42; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
#principle .pipe-col:not(.pipe-core) .pipe-tag { color: #8A9BB8; }
#principle .pipe-col:not(.pipe-core) h3 { color: #fff; }
#principle .pipe-col:not(.pipe-core) .pipe-desc { color: #AEBBD3; }
#principle .pipe-col:not(.pipe-core) .chips span { background: rgba(255,255,255,.06); color: #C9D4E8; }
#principle .pipe-col:not(.pipe-core) .pipe-list li { color: #C9D4E8; border-bottom-color: rgba(255,255,255,.07); }
#principle .pipe-col:not(.pipe-core) .pipe-out b { color: #fff; }
#principle .pipe-col:not(.pipe-core) .pipe-out small, #principle .pipe-col:not(.pipe-core) .pipe-foot { color: #8A9BB8; }
#principle .pipe-list li::before, #principle .pipe-col:not(.pipe-core) .pipe-list li::before { background: #4F7DFF; }
#principle .pipe-out li { border-left-color: #4F7DFF; }
#principle .pipe-foot::before, #principle .pipe-col:not(.pipe-core) .pipe-foot::before { color: #4F7DFF; }
/* 가운데 Engine: 딥 네이비 블루 + 오른쪽 위 은은한 빛, 상단 선은 로고 블루 */
#principle .pipe-core { background: radial-gradient(120% 120% at 100% 0%, #2A4C90 0%, rgba(42,76,144,0) 55%), #172C5C; box-shadow: 0 20px 44px rgba(0,0,0,.45); }
#principle .pipe-core::before { background: #4F7DFF; }
#principle .pipe-core .pipe-tag { color: #8FB0FF; }
#principle .recog div { background: rgba(255,255,255,.07); }
#principle .pipe-core .engine-icon { color: rgba(143,176,255,.18); }
/* 화살표 끝 삼각형도 로고 블루 */
#principle .pipe-arrow span::after { border-left-color: #4F7DFF; }
@media (max-width: 900px) { #principle .pipe-arrow span::after { border-left-color: transparent; border-top-color: #4F7DFF; } }

/* ================= Results: 제목 + 옅은 격자 배경 + 성과 아이콘 ================= */
#cases .stats-band { margin-top: 32px; }
/* 배경: 순백 → 옅은 회청색 + 위쪽에만 희미한 모눈 격자 (아래로 갈수록 사라짐) */
#cases.light { background: #F7F9FC; }
#cases::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(30,79,216,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(30,79,216,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.45) 30%, transparent 58%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.45) 30%, transparent 58%); }
#cases > .wrap { position: relative; z-index: 1; }
/* 성과 수치 위 작은 선 아이콘 */
.sb-icon { width: 30px; height: 30px; color: #8FB0FF; margin-bottom: 14px; flex-shrink: 0; }

/* ================= 다인뷰(DYNVIEW) 단계별 적용: 탭을 바꿔도 높이 고정 =================
   STEP 02·03 이미지가 아직 안 불러와졌어도 STEP 01 영상(16:9)과 같은 높이를 미리 차지 → 화면이 출렁이지 않음 */
.tab-img { height: calc((100cqw - 28px) / 2 * 9 / 16); max-height: none; object-fit: cover; }
#vision .tab-img { background: #E4E9F2; }   /* 불러오기 전 빈 자리 */
@media (max-width: 900px) { .tab-img { height: calc(100cqw * 9 / 16); } }
/* 휴대폰: 이미지 아래 설명 길이가 단계마다 달라 높이가 바뀌므로, 가장 긴 단계(STEP 02) 기준으로 설명 영역 높이 고정 */
@media (max-width: 900px) { .tab-panel.on > div { min-height: 270px; } }

/* Truck transport STEP 카드: 아래쪽 어두운 그라데이션을 3% 세기로 (이미지가 거의 그대로 보이게)
   그라데이션이 약해진 만큼 글자 그림자를 키워 가독성 유지 */
.acc-item::before, .acc-item.on::before { background: linear-gradient(to top, rgba(5,11,31,.03) 0%, rgba(5,11,31,0) 65%); }
.acc-content h3, .acc-content p, .acc-content small { text-shadow: 0 2px 12px rgba(0,0,0,.75), 0 1px 3px rgba(0,0,0,.6); }
/* Truck STEP 카드 하단 그라데이션 30% 세기 (위로 갈수록 서서히 사라짐) */
.acc-item::before, .acc-item.on::before { background: linear-gradient(to top, rgba(5,11,31,.30) 0%, rgba(5,11,31,.18) 28%, rgba(5,11,31,.07) 50%, rgba(5,11,31,0) 65%); }
/* Truck STEP 카드 글자 그림자 한 단계 더 진하게 (넓게 번지는 그림자 + 글자 바로 아래 또렷한 그림자) */
.acc-content h3, .acc-content p, .acc-content small { text-shadow: 0 2px 16px rgba(0,0,0,.9), 0 1px 4px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }

/* 좁은 화면(모바일): 영상기술 분석사례를 2개씩 배치, 홀수 마지막 영상은 가운데 정렬 */
@media (max-width: 900px) {
  #vision .grid.g7:has(> .mini:not(.box)) { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  #vision .grid.g7:has(> .mini:not(.box)) > .mini:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
}

/* 좁은 화면(모바일): 영상분석 차별화 기술 박스도 2개씩, 홀수 마지막 박스는 가운데 정렬 */
@media (max-width: 900px) {
  #vision .grid.g7:has(> .box.mini) { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  #vision .grid.g7:has(> .box.mini) > .box.mini { min-height: 76px; padding: 14px 10px; word-break: keep-all; }
  #vision .grid.g7:has(> .box.mini) > .box.mini:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
}

/* =====================================================================
   v2 개편 (회사소개 히어로 · 솔루션 3층 구조 · 시나리오형 작동원리)
   ===================================================================== */

/* ----- 2. SOLUTION : AI 계층 → 현장 주체 3 → 기본 시스템 ----- */
#solution.light { background: #FFFFFF; --card: #F4F6FA; }
.stack { margin-top: 32px; display: grid; gap: 0; }
.layer-ai { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 18px 24px;
            background: var(--text-on-light); border-radius: 10px; color: #fff; }
.la-item { display: flex; align-items: baseline; gap: 12px; }
.la-item small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.la-item b { font-size: 20px; letter-spacing: .02em; }
.la-item span { font-size: 14px; color: #AFC0DD; }
.la-plus { font-size: 22px; color: #4F7DFF; font-weight: 300; padding: 0 10px; }
/* 계층 사이 흐름 표시: 점선 3줄 (아래로/위로) */
.layer-flow { display: grid; grid-template-columns: repeat(3, 1fr); height: 28px; }
.layer-flow i { justify-self: center; width: 2px; height: 100%;
                background: repeating-linear-gradient(to bottom, var(--primary) 0 4px, transparent 4px 8px); background-size: 2px 8px;
                animation: flowDown 1s linear infinite; }
.layer-flow.up i { animation-direction: reverse; background: repeating-linear-gradient(to bottom, #9AA9C3 0 4px, transparent 4px 8px); background-size: 2px 8px; }
@keyframes flowDown { from { background-position: 0 0; } to { background-position: 0 8px; } }
.actor { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 24px 24px 22px;
         transition: transform .25s, box-shadow .25s, border-color .25s; }
.actor:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(11,26,58,.10); border-color: var(--primary); }
.actor-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.actor-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.actor-icon svg { width: 24px; height: 24px; }
.actor-head small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.actor-head h3 { font-size: 20px; margin: 0; }
.actor-sum { font-size: 15px; font-weight: 600; color: var(--text-on-light); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.actor ul { list-style: none; display: grid; gap: 10px; }
.actor li { position: relative; padding-left: 16px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.actor li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.actor li b { color: var(--text-on-light); font-weight: 600; }
.layer-base { display: flex; align-items: center; gap: 28px; padding: 16px 24px; border: 1px dashed #B8C4D8; border-radius: 10px; background: #F4F6FA; flex-wrap: wrap; }
.lb-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); padding: 4px 10px; border: 1px solid #C9D3E3; border-radius: 3px; background: #fff; }
.lb-item { display: flex; align-items: baseline; gap: 10px; }
.lb-item b { font-size: 18px; color: var(--text-on-light); }
.lb-item span { font-size: 14px; color: var(--muted); }
.lb-note { margin-left: auto; font-size: 13px; color: var(--muted); }

/* ----- 6. 작동원리 : 4단계 시나리오 카드 ----- */
.story { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 36px; position: relative; }
.st-step { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px;
           padding: 22px 20px 20px; box-shadow: 0 6px 18px rgba(11,26,58,.06); }
/* 단계 사이 화살표 */
.st-step:not(:last-child)::after { content: ""; position: absolute; right: -21px; top: 42px; width: 14px; height: 14px;
           border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); transform: rotate(45deg); opacity: .7; }
.st-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.st-no { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1; }
.st-en { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.st-step h3 { font-size: 19px; margin-bottom: 6px; }
.st-desc { font-size: 14px; color: var(--muted); line-height: 1.55; min-height: 4.65em; }
.st-card { margin-top: 14px; padding: 14px; border-radius: 8px; background: #F4F6FA; border: 1px solid #E3E8F1; display: grid; gap: 8px; flex: 1; align-content: start; }
.st-card-title { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.st-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 6px 10px; background: #fff; border-radius: 5px; }
.st-row span { color: var(--muted); }
.st-row b { color: var(--text-on-light); font-weight: 700; }
.st-row.warn b { color: #C2410C; }
.st-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.st-chips span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--text-on-light); color: #fff; }
.st-chips em { font-style: normal; color: var(--primary); font-weight: 700; }
.st-bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-size: 12px; color: var(--muted); }
.st-bar i { grid-column: 1; height: 8px; border-radius: 4px; background: #D3DAE5; position: relative; overflow: hidden; }
.st-bar i::before { content: ""; position: absolute; inset: 0; width: var(--w); background: #9AA9C3; border-radius: 4px; }
.st-bar b { grid-column: 2; grid-row: 1 / span 2; align-self: end; font-size: 13px; color: var(--text-on-light); }
.st-bar.best span, .st-bar.best b { color: var(--primary); font-weight: 700; }
.st-bar.best i::before { background: var(--primary); }
.st-result { text-align: center; padding: 8px 0 10px; }
.st-result small { display: block; font-size: 12px; color: var(--muted); }
.st-result b { display: block; font-size: 22px; color: var(--text-on-light); margin: 2px 0; }
.st-result s { color: #9AA6B8; font-weight: 500; }
.st-result em { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--primary); padding: 3px 10px; border-radius: 20px; }
.st-say { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--primary); }
.st-final { border-color: var(--primary); box-shadow: 0 10px 28px rgba(30,79,216,.14); }
.story-note { margin-top: 18px; font-size: 12px; color: var(--muted); }
/* 순차 점등: 화면에 들어오면 01 → 04 차례로 나타남 */
.story .st-step { opacity: .25; transform: translateY(10px); transition: opacity .5s calc(var(--i) * .35s), transform .5s calc(var(--i) * .35s); }
.story.play .st-step { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .story .st-step { opacity: 1; transform: none; transition: none; } .layer-flow i { animation: none; } }

/* ----- 모바일 ----- */
@media (max-width: 900px) {
  .layer-ai { flex-direction: column; gap: 8px; align-items: flex-start; }
  .la-item { flex-wrap: wrap; }
  .la-plus { padding: 0; }
  .layer-flow { grid-template-columns: 1fr; }
  .layer-flow i:not(:first-child) { display: none; }
  .lb-note { margin-left: 0; }
  .story { grid-template-columns: 1fr; gap: 24px; }
  .st-step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -18px; transform: translateX(-50%) rotate(135deg); }
  .st-desc { min-height: 0; }
}

#solution .actors.g3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { #solution .actors.g3 { grid-template-columns: 1fr; } }
.actor, .story, .layer-base, .layer-ai { word-break: keep-all; }   /* 한글 단어 중간 줄바꿈 방지 */

/* =====================================================================
   타이포그래피 시스템 — 전 섹션 공통 (글씨체 · 크기 · 색상 통일)
   대주제(섹션 제목) > 중주제(블록 제목) > 소주제(카드 제목) > 본문 > 캡션 > 태그
   ===================================================================== */
@font-face { font-family: "Pretendard"; src: url("../fonts/PretendardVariable.woff2") format("woff2-variations"), url("../fonts/PretendardVariable.woff2") format("woff2");
             font-weight: 45 920; font-style: normal; font-display: swap; }
:root {
  --font: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --fs-display: 52px;  /* 히어로 제목 */
  --fs-h2: 36px;       /* 대주제: 섹션 제목 */
  --fs-h3: 22px;       /* 중주제: 섹션 안 블록 제목 (단계별 적용, 문의사항 …) */
  --fs-h4: 19px;       /* 소주제: 카드 제목 */
  --fs-h5: 16px;       /* 항목 라벨: 개요 · 주요기능 */
  --fs-lead: 17px;     /* 섹션 설명 */
  --fs-body: 15px;     /* 본문 */
  --fs-caption: 13px;  /* 캡션 · 보조 문구 */
  --fs-tag: 11px;      /* 영문 대문자 태그 */
  --muted-dark: #A3B3CF;          /* 다크 바탕 본문색 (한 가지로 통일) */
  --heading-light: #0B1A3A;       /* 밝은 바탕 제목색 */
  --heading-dark: #FFFFFF;        /* 어두운 바탕 제목색 */
}
@media (max-width: 900px) {
  :root { --fs-display: 36px; --fs-h2: 28px; --fs-h3: 20px; --fs-h4: 18px; --fs-lead: 16px; --fs-body: 15px; --fs-caption: 13px; --fs-tag: 11px; }
}
/* 글씨체: 버튼·입력칸까지 모두 Pretendard */
body, button, input, select, textarea { font-family: var(--font); }
body { -webkit-font-smoothing: antialiased; word-break: keep-all; }

/* 바탕별 색 토큰: 제목 / 본문 / 강조(라벨·숫자) */
.light { --heading: var(--heading-light); --accent: var(--primary); }
.dark  { --heading: var(--heading-dark);  --accent: var(--cyan); }
/* 어두운 섹션 안의 흰 카드는 밝은 바탕 규칙을 따름 */
.screen-card, .contact-form { --heading: var(--heading-light); --muted: var(--muted-light); --accent: var(--primary); }

/* ---- 대주제 ---- */
section .eyebrow { font-size: var(--fs-caption); font-weight: 700; letter-spacing: .18em; color: var(--accent); margin-bottom: 12px; }
section h1 { font-size: var(--fs-display); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--heading); }
section h1 .hl { color: #4F7DFF; }
section h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--heading); margin-bottom: 14px; }
section .lead { font-size: var(--fs-lead); font-weight: 400; line-height: 1.7; color: var(--muted); }

/* ---- 중주제 ---- */
section .sub-title, section .contact-form h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: var(--heading); }
section .sub-title { padding-left: 12px; border-left: 3px solid var(--accent); }

/* ---- 소주제 (카드 제목) ---- */
section .actor-head h3, section .sc-head h3, section .st-step h3 {
  font-size: var(--fs-h4); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: var(--heading); }
section .tab-panel h3 { font-size: var(--fs-h5); font-weight: 700; color: var(--heading); }

/* ---- 본문 ---- */
section .actor li, section .tab-panel li, section .sc-desc, section .st-desc, section .form-desc, section .info li, section .la-item span, section .lb-item span, section .mini {
  font-size: var(--fs-body); font-weight: 400; line-height: 1.6; color: var(--muted); }
section .actor-sum, section .sc-sub { font-size: var(--fs-body); font-weight: 600; color: var(--heading); }   /* 카드 한 줄 요약 */
section .actor li b { color: var(--heading); font-weight: 600; }

/* ---- 캡션 ---- */
section .st-say, section .lb-note, section .story-note, section .st-row, section .contact-form label,
section .info span, section .sc-tags li, section .dash-guide, section .st-card-title, section .lb-tag { font-size: var(--fs-caption); }
section .st-say { color: var(--accent); font-weight: 600; }
section .lb-note, section .story-note { color: var(--muted); }

/* ---- 태그 (영문 대문자 라벨) ---- */
section .actor-head small, section .sc-head small, section .st-en, section .la-item small, section .stepper small {
  font-size: var(--fs-tag); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* ---- 숫자 강조 ---- */
section .st-no { color: var(--accent); }
section .st-label { font-size: var(--fs-body); }   /* 다인뷰(DYNVIEW) 단계 탭 이름 */
@media (max-width: 600px) { section .st-label { font-size: var(--fs-caption); } }

/* =====================================================================
   HERO v3 — 단색 다크 배경 + 왼쪽 문구 / 오른쪽 둥근 사진 카드
   ===================================================================== */
section.hero { background: radial-gradient(1200px 600px at 85% 20%, rgba(30,79,216,.18), transparent 60%), #0A1630;
               min-height: calc(100vh - 64px); padding: 64px 0 56px; display: flex; align-items: center; }
section.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; column-gap: 64px; row-gap: 56px; align-items: center; }
.hero-copy { position: relative; }
section.hero h1 { font-size: 56px; line-height: 1.18; }
section.hero .lead { margin-top: 24px; max-width: 520px; }

/* 알약형 버튼 + 오른쪽 원형 화살표 */
.hero .btns { gap: 14px; margin-top: 36px; }
.pill { display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 22px; border-radius: var(--radius); text-decoration: none;
        font-size: 15px; font-weight: 700; color: #8FB0FF; border: 1.5px solid rgba(79,125,255,.55); transition: background .2s, border-color .2s, color .2s; }
.pill-arrow { width: 38px; height: 38px; border-radius: 4px; display: grid; place-items: center; background: #4F7DFF; color: #fff; transition: transform .25s; }
.pill-arrow svg { width: 18px; height: 18px; }
.pill.fill { background: #4F7DFF; border-color: #4F7DFF; color: #fff; }
.pill.fill .pill-arrow { background: #0A1630; color: #fff; }
.pill:hover { border-color: #8FB0FF; color: #fff; }
.pill.fill:hover { background: #6A92FF; }
.pill:hover .pill-arrow { transform: translateX(3px); }

@media (max-width: 900px) {
  section.hero { min-height: 0; padding: 48px 0; }
  section.hero .wrap { grid-template-columns: 1fr; row-gap: 40px; }
  section.hero h1 { font-size: var(--fs-display); }
}
@media (prefers-reduced-motion: reduce) { .pill-arrow { transition: none; } }

/* =====================================================================
   HERO 장치: AI 인식 오버레이 · 스크롤 안내 · 사업영역 바로가기
   ===================================================================== */
/* --- 2. 스크롤 안내 --- */
section.hero { position: relative; padding-top: 48px; padding-bottom: 100px; }
section.hero .wrap { row-gap: 40px; }

@media (max-width: 900px) {
  section.hero { padding-bottom: 48px; }
}

/* =====================================================================
   HERO v4 — 글자 중심 (사진 없음)
   ===================================================================== */
section.hero.hero-type .wrap { grid-template-columns: 1fr; row-gap: 72px; }
.hero-type .hero-copy { max-width: none; }
/* 1. 큰 제목: 화면 폭에 비례 (PC 약 100px) */
section.hero .hero-title { font-size: clamp(44px, 7vw, 112px); line-height: 1.12; letter-spacing: -.035em; margin-top: 8px; }
.hero-type .btns { margin-top: 48px; }
.statement-text { font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; line-height: 1.45; letter-spacing: -.025em; max-width: 1100px; word-break: keep-all; }
.statement-text .w { color: #2A3B62; transition: color .25s; white-space: nowrap; }
.statement-text .w.on { color: #fff; }
.statement-text .w.key.on { color: #4F7DFF; }   /* 다인뷰(DYNVIEW) · D-WES는 블루로 채워짐 */

@media (max-width: 900px) {
  section.hero.hero-type .wrap { row-gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .statement-text .w { transition: none !important; }
}

/* ----- HERO 버튼 A안: 꽉 찬 주 버튼 + 글자 링크 ----- */
.hero .btns.hero-cta { display: flex; align-items: center; gap: 32px; }
.cta-main { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; font-size: 16px; font-weight: 700; }
.cta-main svg, .cta-link svg { width: 18px; height: 18px; transition: transform .25s; }
.cta-link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 16px; font-weight: 700; color: #fff; text-decoration: none;
            background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; transition: background-size .3s, color .2s; }
.cta-link:hover { color: #8FB0FF; background-size: 100% 1.5px; }   /* 마우스를 올리면 밑줄이 왼쪽부터 그어짐 */
.cta-main:hover svg, .cta-link:hover svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .cta-link, .cta-main svg, .cta-link svg { transition: none; } }

/* ----- 히어로 가독성 개선: 블루 명암비 4.9→7.1, 자간·줄간격 완화, 꺼진 글자 명암비 약 3:1 ----- */
section.hero .hero-title { letter-spacing: -.02em; line-height: 1.2; }
section.hero .hero-title .hl { color: #7BA0FF; }
.statement-text .w { color: #52658E; }
.statement-text .w.key.on { color: #7BA0FF; }

@keyframes blink { 50% { opacity: .25; } }

/* ----- 3. 스크롤하면 차례로 떠오르기 (JS가 .reveal을 붙이고, 화면에 들어오면 .in) ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--rd, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* ----- 4. 헤더: 첫 화면에서는 투명, 내리면 진한 네이비 ----- */
header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none;
         transition: background .35s, border-color .35s, backdrop-filter .35s; }
header.scrolled { background: rgba(10,22,48,.92); backdrop-filter: blur(10px); border-bottom-color: var(--line-dark); }
section.hero { padding-top: calc(64px + 48px); }
@media (max-width: 900px) { section.hero { padding-top: calc(64px + 40px); } }

/* ----- 정리: 사진 띠·소개 문장·01·02·03 너비를 콘텐츠 폭(1152px)으로 통일, 스크롤 안내 제거에 맞춰 히어로 아래 여백 축소 ----- */
.statement-text { max-width: none; }
section.hero { padding-bottom: 64px; }
section.hero .hero-title { margin-top: 0; }

/* =====================================================================
   HERO v5 — 순서: 제목 → 회사 설명 → 사진 → 01·02·03 → 3단계 정리 + 버튼
   ===================================================================== */
section.hero.hero-type { min-height: 0; display: block; padding-bottom: 120px; }
section.hero.hero-type .wrap { display: block; }
section.hero .statement-text { margin-top: 40px; }
@media (max-width: 900px) {
  section.hero.hero-type { padding-bottom: 80px; }
  section.hero .statement-text { margin-top: 28px; }
}

/* =====================================================================
   HERO v6 — 큰 제목은 하나만. 회사 설명은 본문 크기, 버튼은 첫 화면 안, 3단계 흐름 제거
   ===================================================================== */
section.hero .statement-text { margin-top: 32px; max-width: 720px; font-size: 20px; font-weight: 400; line-height: 1.75;
                               letter-spacing: -.005em; color: var(--muted-dark); }
section.hero .statement-text b { color: #fff; font-weight: 600; }
.hero-type .hero-cta { margin-top: 40px; }
section.hero.hero-type { padding-bottom: 96px; }
@media (max-width: 900px) {
  section.hero .statement-text { font-size: 17px; margin-top: 24px; }
  .hero-type .hero-cta { margin-top: 32px; }
  section.hero.hero-type { padding-bottom: 72px; }
}

/* =====================================================================
   네비게이션: 현재 위치 표시 · 모바일 메뉴(900px 이하)
   ===================================================================== */
.head-cta.active { box-shadow: 0 0 0 2px rgba(34,211,238,.6); }      /* 문의 섹션에 있을 때 상단 '문의하기' 강조 */
.menu-btn { display: none; }
@media (max-width: 900px) {
  header .wrap { gap: 12px; }
  .head-cta { margin-left: auto; padding: 9px 16px; font-size: 14px; }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 9px;
              background: transparent; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); cursor: pointer; }
  .menu-btn span { display: block; height: 2px; background: #fff; border-radius: 1px; transition: transform .25s, opacity .25s; }
  header.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  header.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  header.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* 메뉴 패널: 헤더 아래로 펼쳐짐 */
  header nav { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; padding: 8px 24px 16px;
               background: rgba(10,22,48,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark);
               opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  header.menu-open nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  header.menu-open { background: rgba(10,22,48,.97); }
  header nav a { margin: 0; padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
  header nav a:last-child { border-bottom: 0; }
  header nav a.active { color: #fff; border-bottom-color: rgba(255,255,255,.06); box-shadow: inset 3px 0 0 var(--cyan); padding-left: 12px; }
}

/* =====================================================================
   SOLUTION 시각 보조: ① 카드 장면 그림 ② 문장 아이콘 ③ 층 사이 신호 흐름 (글 내용은 그대로)
   ===================================================================== */
/* ① 장면 그림 */
.actor-scene { margin: -24px -24px 18px; height: 132px; display: grid; place-items: center; border-radius: 10px 10px 0 0;
               background: linear-gradient(180deg, #EAF0FD, #F4F6FA); border-bottom: 1px solid var(--line); overflow: hidden; }
.actor-scene svg { width: 240px; height: 120px; color: #0B1A3A; }
.scene .sc-ink { stroke: #0B1A3A; }
.scene .sc-soft { stroke: #9AA9C3; }
.scene .sc-floor { stroke: #C3CCDB; }
.scene .sc-box { stroke: #8A6A45; fill: #E9D6BC; }
.scene .sc-route { stroke: #1E4FD8; stroke-dasharray: 5 6; animation: routeDash 1.2s linear infinite; }
.scene .sc-accent-line { stroke: #1E4FD8; stroke-width: 2.4; }
.scene .sc-accent-fill { stroke: #1E4FD8; fill: #DCE6FF; }
.scene .sc-accent-dot { fill: #1E4FD8; stroke: none; }
.scene .sc-accent-cone { stroke: none; fill: rgba(30,79,216,.12); }
.scene .sc-agv { animation: agvMove 3.2s ease-in-out infinite; }
.scene .sc-belt { animation: beltMove 4s linear infinite; }
@keyframes routeDash { to { stroke-dashoffset: -22; } }
@keyframes agvMove { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(6px); } }
@keyframes beltMove { 0% { transform: translateX(-10px); } 100% { transform: translateX(10px); } }
.actor:hover .actor-scene { background: linear-gradient(180deg, #E1EAFE, #F0F4FC); }

/* ② 문장 아이콘 (동그란 점 대신) */
.actor li { display: flex; gap: 10px; padding-left: 0; align-items: flex-start; }
.actor li::before { display: none; }
.actor .li-ic { flex-shrink: 0; width: 26px; height: 26px; padding: 5px; margin-top: -1px; border-radius: 6px;
                background: #E7EEFD; color: var(--primary); }

/* ③ 층 사이 신호: 위(AI) → 현장으로 내려가는 빛 점, 아래(WMS·WCS) → 현장으로 올라가는 빛 점 */
.layer-flow i { position: relative; overflow: visible; }
.layer-flow i em { position: absolute; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
                   background: var(--primary); box-shadow: 0 0 0 4px rgba(30,79,216,.15); animation: sigDown 1.6s ease-in infinite; }
.layer-flow i:nth-child(2) em { animation-delay: .5s; }
.layer-flow i:nth-child(3) em { animation-delay: 1s; }
.layer-flow.up i em { background: #7A8BA8; box-shadow: 0 0 0 4px rgba(122,139,168,.18); animation-name: sigUp; }
@keyframes sigDown { 0% { top: -4px; opacity: 0; } 20% { opacity: 1; } 100% { top: calc(100% - 4px); opacity: 0; } }
@keyframes sigUp { 0% { top: calc(100% - 4px); opacity: 0; } 20% { opacity: 1; } 100% { top: -4px; opacity: 0; } }
.layer-flow { height: 40px; }

@media (prefers-reduced-motion: reduce) {
  .scene .sc-route, .scene .sc-agv, .scene .sc-belt, .layer-flow i em { animation: none; }
  .layer-flow i em { display: none; }
}

/* ----- HERO 배경 레이어 공통 ----- */
section.hero { position: relative; overflow: hidden; }
section.hero > .wrap { position: relative; z-index: 1; }
.hero-plan { position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }

/* ----- HERO 배경: 아주 흐린 데이터 흐름선 + 천천히 흐르는 빛 점 ----- */
.hero-plan { height: 1000px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 95%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 95%); }
.hero-plan svg { width: 100%; height: 100%; display: block; }
.hero-plan .fl { fill: none; stroke: #8FB0FF; stroke-width: 1; stroke-opacity: .07; }
.hero-plan .fl.c { stroke: #22D3EE; stroke-opacity: .06; }
@media (max-width: 900px) { .hero-plan { height: 760px; } }

/* ----- 메인 제목 크기 축소: PC 약 100px → 약 78px, 모바일 44px → 38px ----- */
section.hero .hero-title { font-size: clamp(38px, 5.4vw, 84px); }

/* =====================================================================
   HERO 한 화면 맞춤 (PC): 화면 높이 = 헤더 아래 전체.
   [왼쪽 글·버튼 | 오른쪽 사진]  위 줄이 남는 높이를 모두 쓰고, 아래 줄에 카드 2장
   ===================================================================== */
@media (min-width: 901px) {
  section.hero.hero-type { height: 100vh; height: 100svh; min-height: 640px; max-height: 1080px;
                           padding: calc(64px + 3.5vh) 0 4vh; display: flex; align-items: stretch; }
  section.hero.hero-type > .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
                                   grid-template-rows: minmax(0, 1fr) auto; column-gap: 56px; row-gap: 3vh; }
  .hero-type .hero-copy { grid-column: 1; grid-row: 1; align-self: center; }
  section.hero .hero-title { font-size: clamp(40px, 4.3vw, 68px); }
  section.hero .statement-text { margin-top: 24px; font-size: clamp(16px, 1.25vw, 19px); }
  .hero-type .hero-cta { margin-top: 32px; }
}
/* 높이가 낮은 노트북(예: 1366×650): 여백·글자를 한 단계 더 줄임 */
@media (min-width: 901px) and (max-height: 760px) {
  section.hero .hero-title { font-size: clamp(36px, 3.8vw, 56px); }
  section.hero .statement-text { font-size: 15px; line-height: 1.65; }
  .hero-type .hero-cta { margin-top: 24px; }
}
/* 사진 비율 고정(16:10): 세로로 길어지면 좌우가 잘려 인식 라벨이 끊기므로, 칸 높이 안에서 가로형 유지 */
@media (min-width: 901px) {
  section.hero.hero-type > .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
}
/* 제목이 두 줄을 유지하도록 글자 칸을 조금 넓히고 제목 크기를 칸에 맞춤 */
@media (min-width: 901px) {
  section.hero.hero-type > .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  section.hero .hero-title { font-size: clamp(36px, 4vw, 58px); white-space: nowrap; }
}
@media (min-width: 901px) and (max-height: 760px) { section.hero .hero-title { font-size: clamp(34px, 3.6vw, 54px); } }
/* 위 줄과 카드 사이 빈 공간이 크지 않게: 두 줄을 묶어 화면 세로 가운데에 배치 */
@media (min-width: 901px) {
  section.hero.hero-type > .wrap { grid-template-rows: auto auto; align-content: center; row-gap: clamp(32px, 6vh, 72px); }
}
/* 높이 1080px보다 큰 화면에서도 메인이 화면을 꽉 채우도록 높이 상한 제거 (다음 섹션이 아래에서 비쳐 보이지 않게) */
@media (min-width: 901px) { section.hero.hero-type { max-height: none; } }

/* =====================================================================
   다인뷰(DYNVIEW) 재디자인: 위쪽 섹션과 같은 카드 언어(흰 바탕 · 12px · 얇은 테두리 · 블루 하나)
   ===================================================================== */
#vision.light { background: #F4F6FA; }
#vision .sub-title { margin-top: 96px; }

/* 분석사례: 벤토 그리드 */
.vc-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(3, minmax(140px, 1fr)); gap: 12px; }
.vc-tile { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #0B1A3A; border: 1px solid var(--line);
           box-shadow: 0 6px 16px rgba(11,26,58,.06); }
.vc-tile.big { grid-row: 1 / span 3; }
.vc-grid .vc-tile:nth-child(n+2) { grid-column: auto; }
.vc-tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.vc-tile:hover video { transform: scale(1.04); }
.vc-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 28px 14px 12px;
                      background: linear-gradient(to top, rgba(10,22,48,.88), rgba(10,22,48,0)); color: #fff; }
.vc-tile figcaption b { font-size: 15px; font-weight: 700; }
.vc-tile.big figcaption { padding: 48px 20px 18px; }
.vc-tile.big figcaption b { font-size: 20px; }
.vc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: .12em; padding: 4px 7px; border-radius: 4px;
           background: rgba(255,255,255,.14); backdrop-filter: blur(4px); }
.vc-live i { width: 6px; height: 6px; border-radius: 50%; background: #EF4444; animation: blink 1.4s ease-in-out infinite; }
/* 마우스를 올리면 메인 사진과 같은 인식 테두리(모서리 브래킷) */
.vc-corner { position: absolute; inset: 12px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background:
    linear-gradient(#22D3EE,#22D3EE) left top / 18px 2px no-repeat, linear-gradient(#22D3EE,#22D3EE) left top / 2px 18px no-repeat,
    linear-gradient(#22D3EE,#22D3EE) right top / 18px 2px no-repeat, linear-gradient(#22D3EE,#22D3EE) right top / 2px 18px no-repeat,
    linear-gradient(#22D3EE,#22D3EE) left bottom / 18px 2px no-repeat, linear-gradient(#22D3EE,#22D3EE) left bottom / 2px 18px no-repeat,
    linear-gradient(#22D3EE,#22D3EE) right bottom / 18px 2px no-repeat, linear-gradient(#22D3EE,#22D3EE) right bottom / 2px 18px no-repeat; }
.vc-tile:hover .vc-corner { opacity: 1; }

/* 차별화 기술: 흰 카드 + 블루 아이콘, 4 + 3 (아랫줄 가운데) */
.vt-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.vt-card { flex: 0 0 calc((100% - 48px) / 4); display: flex; align-items: center; gap: 14px; padding: 22px 20px; background: #fff;
           border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 16px rgba(11,26,58,.05); }   /* 차별화 기술: 애니메이션 없음 */
.vt-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: #E7EEFD; color: var(--primary); }
.vt-ic svg { width: 24px; height: 24px; }
.vt-card b { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--heading); word-break: keep-all; }

@media (max-width: 900px) {
  #vision .sub-title { margin-top: 64px; }
  .vc-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 120px; }
  .vc-tile.big { grid-column: 1 / -1; grid-row: span 2; }
  .vt-card { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .vc-tile video { transition: none; } .vc-live i { animation: none; } }
.vc-live { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 900px) {
  .vc-tile:not(.big) .vc-live { display: none; }          /* 작은 칸은 라벨만 */
  .vc-tile figcaption b { font-size: 14px; line-height: 1.35; }
}

/* =====================================================================
   다인뷰(DYNVIEW) 단계별 적용 (B안): 단계 카드 3장 나란히 — 움직임 없음
   ===================================================================== */
.sc3 { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: none; }
.sc3-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px;
            box-shadow: 0 6px 16px rgba(11,26,58,.05); }
/* 카드 사이 화살표 (도입 순서) */
.sc3-card:not(:last-child)::after { content: ""; position: absolute; right: -24px; top: 110px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 0 0 4px #F4F6FA; z-index: 1; }
.sc3-media { aspect-ratio: 16 / 10; border-radius: 12px 12px 0 0; overflow: hidden; background: #0B1A3A; }
.sc3-media video, .sc3-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc3-body { padding: 22px 22px 24px; }
.sc3-no { font-size: var(--fs-tag); font-weight: 700; letter-spacing: .16em; color: var(--primary); }
section .sc3-body h3 { font-size: var(--fs-h4); font-weight: 700; color: var(--heading); margin: 6px 0 4px; letter-spacing: -.01em; }
section .sc3-body h4 { font-size: var(--fs-caption); font-weight: 700; color: var(--heading); margin: 16px 0 8px; }
.sc3-ov { list-style: none; display: grid; gap: 6px; }
.sc3-ov li { position: relative; padding-left: 13px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.sc3-ov li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
.sc3-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.sc3-tags li { font-size: 12.5px; padding: 5px 10px; border-radius: 20px; background: #E7EEFD; color: #1E3A8A; }
@media (max-width: 900px) {
  .sc3 { grid-template-columns: 1fr; gap: 28px; }
  .sc3-card:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -22px; margin-left: -8px; transform: rotate(90deg); }
}

/* ----- 블록 제목 아래 한 줄 설명 (중주제 보조) ----- */
section .sub-desc { font-size: var(--fs-body); line-height: 1.6; color: var(--muted); margin: -6px 0 24px 15px; }

/* ----- 단계별 적용 카드: 솔루션 카드처럼 읽기 쉽게 (아이콘 머리 · 문장 아이콘 · 구분선 · 체크 태그) ----- */
.sc3-head { display: flex; align-items: center; gap: 12px; }
.sc3-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--primary); color: #fff; }
.sc3-ic svg { width: 24px; height: 24px; }
section .sc3-body .sc3-head h3 { margin: 2px 0 0; }
.sc3-body > h4:first-of-type { margin-top: 20px; }
.sc3-ov { gap: 10px; }
.sc3-ov li { display: flex; gap: 10px; padding-left: 0; align-items: flex-start; }
.sc3-ov li::before { display: none; }
.sc3-li-ic { flex-shrink: 0; width: 26px; height: 26px; padding: 5px; border-radius: 6px; background: #E7EEFD; color: var(--primary); }
.sc3-li-ic svg { width: 16px; height: 16px; display: block; }
.sc3-feat { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
section .sc3-feat h4 { margin-top: 0; }
.sc3-tags li { display: inline-flex; align-items: center; gap: 5px; }
.sc3-tags .ck { width: 11px; height: 11px; color: var(--primary); }

/* ----- STEP 02 그림: 그림 속 글자를 지우고 웹 글자 라벨을 얹음 -----
   그림(1386×768)을 카드 높이에 맞춰 꽉 채우고(가로는 넘치면 잘림 = cover), 라벨은 그림 기준 %로 배치 */
.sc3-media { position: relative; }
.sc3-figure { position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; aspect-ratio: 1386 / 768; transform: translateX(-50%); }
.sc3-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fig-tag { position: absolute; transform: translateY(-50%); white-space: nowrap; font-size: 12px; font-weight: 700; line-height: 1; color: #fff;
           padding: 5px 8px; border-radius: 5px; background: rgba(10,22,48,.82); border: 1px solid rgba(34,211,238,.55); }
.fig-tag.hl { border-color: rgba(52,211,153,.8); }   /* 바디캠 시야(초록)와 맞춤 */

/* =====================================================================
   작동원리 6-b — 데이터 흐름도 (전문가용)
   가로형(≥1101px) / 세로형(≤1100px) 두 SVG를 CSS로 전환
   ===================================================================== */
.dataflow .lead { margin-bottom: 4px; }
.df-fig { margin: 20px 0 0; padding: 24px 20px 18px; background: #fff; border: 1px solid var(--line-light); border-radius: 12px;
          box-shadow: 0 6px 18px rgba(11,26,58,.06); color: var(--text-on-light); }
.df-fig svg { display: block; width: 100%; height: auto; margin: 0 auto; overflow: visible; font-family: var(--font); }
.df-fig .df-v { display: none; max-width: 420px; }
.df-fig figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-light); font-size: var(--fs-caption);
                     line-height: 1.65; color: var(--muted-light); word-break: keep-all; }
.df-fig figcaption b { color: var(--text-on-light); font-weight: 700; }

.df-box  { fill: #F4F6FA; stroke: #DCE3EE; stroke-width: 1; }
.df-box.end { fill: #fff; stroke: var(--primary); stroke-width: 1.5; }
.df-ext  { fill: #fff; stroke: #9AA9C3; stroke-width: 1; }
.df-ext.dash { fill: #fff; stroke-dasharray: 4 3; }
.df-chip { fill: #fff; stroke: #C9D3E3; stroke-width: 1; }
.df-chip.mob { stroke: var(--primary); }
.df-chip.hl  { fill: #EEF3FF; stroke: var(--primary); }

.df-tag   { font-size: 11px; font-weight: 700; letter-spacing: .1em; fill: var(--primary); }
.df-title { font-size: 13.5px; font-weight: 700; fill: var(--text-on-light); }
.df-t     { font-size: 12px; font-weight: 600; fill: var(--text-on-light); }
.df-t.hl  { fill: var(--primary); }
.df-cap   { font-size: 11.5px; font-weight: 500; fill: var(--muted-light); }
.df-lbl   { font-size: 11px; font-weight: 600; fill: var(--muted-light); }
.df-lbl.mob { fill: var(--primary); }

.df-link  { fill: none; stroke: var(--text-on-light); stroke-width: 1.5; stroke-linejoin: round; }
.df-link.mob  { stroke: var(--primary); }
.df-link.dash { stroke-dasharray: 5 4; }
.df-ah     { fill: var(--text-on-light); }
.df-ah.mob { fill: var(--primary); }
.df-plus   { fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; }

@media (max-width: 1100px) {
  .df-fig .df-h { display: none; }
  .df-fig .df-v { display: block; }
}
@media (max-width: 600px) { .df-fig { padding: 18px 10px 14px; } }

/* 데이터 흐름도: 두 줄 칩의 윗줄(보조 라벨) */
.df-s { font-size: 11px; font-weight: 600; fill: var(--muted-light); }

/* 작동원리 시나리오: 4번 카드만 영구 강조하던 것을 해제하고, 순환 하이라이트(.on)로 대체 */
.st-final { border-color: var(--line); box-shadow: 0 6px 18px rgba(11,26,58,.06); }
.story.done .st-step { transition: border-color .45s, box-shadow .45s, transform .45s; }
.st-step.on { border-color: var(--primary); box-shadow: 0 10px 28px rgba(30,79,216,.14); }
.story.done .st-step.on { transform: translateY(-4px); }

/* =====================================================================
   D-WES의 역할 (소개 문장 · 핵심 3가지 · 역량 카드 6개)
   ===================================================================== */
.dwes-role { word-break: keep-all; }
.role-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.role-statement { font-size: 30px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; color: #fff; margin-bottom: 14px; }
.role-statement .hl { color: #4F7DFF; }
.role-def { font-size: var(--fs-body); line-height: 1.75; color: var(--muted); max-width: 640px; }
.role-checks { list-style: none; display: grid; gap: 10px; }
.role-checks li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); background: var(--card);
                  border-radius: 10px; font-size: var(--fs-body); font-weight: 600; color: var(--text-on-dark); }
.role-checks svg { width: 18px; height: 18px; flex: none; color: var(--cyan); }
.role-cards { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role-card { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.rc-no { font-size: var(--fs-tag, 11px); font-weight: 700; letter-spacing: .16em; color: var(--cyan); }
.role-card h4 { margin: 8px 0 8px; font-size: 17px; line-height: 1.35; font-weight: 700; color: #fff; }
.role-card p { font-size: 14px; line-height: 1.65; color: var(--muted); }
@media (max-width: 900px) {
  .role-intro { grid-template-columns: 1fr; gap: 24px; }
  .role-cards { grid-template-columns: 1fr; }
  .role-statement { font-size: 24px; }
}

/* =====================================================================
   Location 화면 (대시보드 대신 확대 화면 이미지) — 클릭하면 라이트박스로 크게
   ===================================================================== */
.loc-figure { margin: 28px 0 0; }
.loc-shot { position: relative; max-width: 760px; margin: 0 auto; overflow: hidden; border-radius: 14px; background: #9B9996;
            box-shadow: 0 14px 32px rgba(0,0,0,.45), 0 3px 8px rgba(0,0,0,.25); }
.loc-shot img { display: block; width: 100%; height: auto; }
.loc-shot.zoomable { cursor: zoom-in; }
.loc-shot.zoomable::after { content: "⤢ 크게 보기"; position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(11,26,58,.78); padding: 5px 10px; border-radius: 3px; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; pointer-events: none; }
.loc-shot.zoomable:hover::after, .loc-shot.zoomable:focus-visible::after { opacity: 1; transform: none; }
.loc-shot.zoomable:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.loc-figure figcaption { margin-top: 12px; text-align: center; font-size: var(--fs-caption); color: var(--muted-dark); }

/* ===== D-WES의 역할 — 비주얼 개선 ===== */
.dwes-role { margin-bottom: 56px; }
.role-intro { padding: 36px 40px; border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 0% 0%, rgba(30,79,216,.28), rgba(30,79,216,0) 60%), var(--card); gap: 48px; }
.role-statement { font-size: 38px; line-height: 1.3; margin-bottom: 18px; }
.role-statement .hl { background: linear-gradient(90deg,#4F7DFF,var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.role-def { font-size: 16px; line-height: 1.8; }
.role-checks { gap: 12px; }
.role-checks li { padding: 16px 20px; border-radius: 12px; font-weight: 600; font-size: 16px; color: #fff; background: rgba(255,255,255,.04); }
.role-checks svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(34,211,238,.16); box-sizing: border-box; }
.role-cards { margin-top: 22px; gap: 18px; }
.role-card { position: relative; padding: 26px 24px 24px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)), var(--card);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.role-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--cyan)); opacity: .55; }
.role-card:hover { transform: translateY(-4px); border-color: rgba(79,125,255,.7); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.role-card .rc-no { position: absolute; top: 14px; right: 20px; font-size: 40px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.07); letter-spacing: -.02em; }
.rc-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff;
  background: linear-gradient(135deg, var(--primary), #2AA7E0); box-shadow: 0 8px 18px rgba(30,79,216,.35); }
.rc-ico svg { width: 26px; height: 26px; }
.rc-tag { display: inline-block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--cyan); }
.role-card h4 { margin: 0 0 10px; font-size: 20px; }
.role-card p { font-size: 15px; line-height: 1.7; }
@media (max-width: 1100px) { .role-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .role-intro { padding: 26px 22px; gap: 24px; } .role-statement { font-size: 28px; } }
@media (max-width: 640px) { .role-cards { grid-template-columns: 1fr; } .role-card .rc-no { font-size: 34px; } .role-checks li { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .role-card { transition: none; } .role-card:hover { transform: none; } }

/* ===== D-WES의 역할 — Solution 섹션과 같은 구성 (밴드 → 점선 → 일러스트 카드) ===== */
.dwes-role .role-statement { margin: 4px 0 12px; font-size: 34px; line-height: 1.3; }
.dwes-role .role-def { max-width: 760px; margin-bottom: 0; }
.role-stack { margin-top: 28px; }
.role-stack .layer-ai { flex-wrap: wrap; background: #12275A; border: 1px solid rgba(255,255,255,.14); gap: 14px 18px; }
.role-stack .la-item { flex-direction: column; align-items: center; gap: 2px; }
.role-stack .la-item b { font-size: 18px; color: #fff; }
.role-actors { grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* 밝은 카드 (Solution과 동일) — 어두운 섹션 위에서도 읽히도록 색을 직접 지정 */
.role-actors .actor { --line: #D3DAE5; background: #F4F6FA; color: var(--text-on-light); }
.role-actors .actor-head h3, .role-actors .actor-sum, .role-actors .actor li b { color: #0B1A3A; }
.role-actors .actor-head small { color: var(--primary); }
.role-actors .actor-sum { border-bottom-color: #D3DAE5; }
.role-actors .actor li, .role-actors .actor .li-tx { color: #5A6B85; }
.role-actors .actor:hover { border-color: #4F7DFF; box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.role-actors .scene .sc-boxface { fill: #E9D6BC; }
@media (max-width: 1100px) { .role-actors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .role-actors { grid-template-columns: 1fr; }
  .dwes-role .role-statement { font-size: 26px; }
  .role-stack .layer-ai { flex-direction: column; align-items: flex-start; }
  .role-stack .la-item { align-items: flex-start; }
  .role-stack .la-plus { display: none; }
  .role-stack .layer-flow { grid-template-columns: 1fr; }
  .role-stack .layer-flow i:not(:first-child) { display: none; }
}

/* 역할 밴드: 브랜드 블루 그라데이션 */
.role-stack .layer-ai { background: linear-gradient(100deg, #1E4FD8 0%, #2B6BEA 55%, #2AA7E0 100%); border: none; box-shadow: 0 10px 28px rgba(30,79,216,.38); }
.role-stack .la-item small { color: rgba(255,255,255,.78); }
.role-stack .la-plus { color: rgba(255,255,255,.7); }
.role-stack .layer-flow i { background: repeating-linear-gradient(to bottom, #4F7DFF 0 4px, transparent 4px 8px); background-size: 2px 8px; }

/* 역할 밴드: 아래 카드와 같은 연한 톤 */
.role-stack .layer-ai { background: #F4F6FA; border: 1px solid #D3DAE5; box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.role-stack .la-item small { color: var(--primary); }
.role-stack .la-item b { color: #0B1A3A; }
.role-stack .la-plus { color: #4F7DFF; }

/* 역할 밴드: 연한 블루 톤 */
.role-stack .layer-ai { background: linear-gradient(100deg, #DCE7FD 0%, #CFE0FB 55%, #C4E4F7 100%); border: 1px solid #A9C4F2; }
.role-stack .la-item small { color: #1E4FD8; }

/* D-WES의 역할 — 제목 위계 정리: 대주제 36 > 중주제 22 > 한 줄 메시지 20 > 설명 17 */
.dwes-role .role-statement { font-size: 20px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; margin: 0 0 10px; }
.dwes-role .role-def { font-size: var(--fs-lead); line-height: 1.7; max-width: 720px; }
@media (max-width: 700px) { .dwes-role .role-statement { font-size: 18px; } .dwes-role .role-def { font-size: 15px; } }

/* Location 시연 애니메이션 (D-WES 주요 기능 카드) */
.loc-anim { aspect-ratio: 16 / 10; background: #FFFFFF; }
.loc-anim .la-svg { display: block; width: 100%; height: 100%; font-family: inherit; }
.loc-anim.ready .sc-img { display: none; }
.screen-card:hover .loc-anim .la-svg { transform: none; }

/* Location 카드: 정지 화면 + 시연 보기 표시, 시연 창 */
.loc-anim.zoomable::after, .ml-anim.zoomable::after, .sim-anim.zoomable::after { content: "▶ 시연 보기"; opacity: 1; transform: none; background: #1E4FD8; box-shadow: 0 4px 12px rgba(30,79,216,.4); }
.loc-anim.zoomable, .ml-anim.zoomable, .sim-anim.zoomable { cursor: pointer; }
.lb-anim .lb-stage { width: min(1180px, 94vw, calc(72vh * 1.6)); aspect-ratio: 16 / 10; background: #FFFFFF; border-radius: 14px; overflow: hidden; cursor: default; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.lb-anim .lb-stage .la-svg { display: block; width: 100%; height: 100%; }
.lb-anim p { max-width: 92vw; text-align: center; }
/* 시연 창: 지금 화면을 쉽게 풀어 주는 설명 한 줄 */
.lb-anim .lb-cap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; min-height: 30px; margin: 0 auto 14px; padding: 0 64px; max-width: 94vw;
  color: #fff; font-size: 17px; line-height: 1.5; text-align: center; opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s; cursor: default; }
.lb-anim .lb-cap.show { opacity: 1; transform: none; }
.lb-cap .cap-tag { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #0B1A3A; background: #6CC6FF; border-radius: 999px; padding: 4px 10px; }
.lb-cap b { color: #8FD3FF; font-weight: 700; }
@media (max-width: 700px) { .lb-anim .lb-cap { font-size: 15px; } }
/* 시연 창: 진행 단계 표시 (지금 단계만 파랗게) */
.lb-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 12px; padding: 0 64px; max-width: 94vw; }
.lb-steps li { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.62); background: #17233F; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px 12px; transition: background .3s, color .3s; cursor: default; }
.lb-steps li.on { color: #fff; background: #1E4FD8; border-color: #1E4FD8; }

/* Moving Line 시연 창: 원래 이미지(4:3) 위에 움직이는 층을 겹침 */
.lb-anim.ml .lb-stage { position: relative; width: min(1000px, 94vw, calc(70vh * 752 / 564)); aspect-ratio: 752 / 564; background: #111; }
.lb-anim.ml .lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: fill;
  border-radius: 0; box-shadow: none; transform: none; transition: none; }
.lb-anim.ml .lb-stage .ml-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; font-family: inherit; }

/* Simulation 시연 창: 3D 창고(직접 그림), 시안 뷰포트와 같은 어두운 배경 */
.lb-anim.sim .lb-stage { background: #2F3033; }
.lb-anim.sim .lb-stage .sim-svg { display: block; width: 100%; height: 100%; font-family: inherit; }

/* Contact 높이 줄이기: 지도·문의폼을 낮고 촘촘하게 (부담 덜어 주기) */
#contact { padding: 72px 0; }
#contact .contact-grid { margin-top: 24px; }
#contact .contact-form { padding: 22px 24px; }
#contact .form-desc { margin: 2px 0 12px; }
#contact .form-frame { padding: 14px 16px; }
#contact .contact-form .grid { gap: 10px 12px; }
#contact .contact-form input:not([type=checkbox]), #contact .contact-form select, #contact .contact-form textarea { margin-top: 4px; padding: 9px 12px; }
#contact .contact-form label.full { margin-top: 10px; }
#contact .contact-form textarea { height: 64px; }
#contact .contact-form .agree { margin-top: 10px; }
#contact .contact-form .btns { margin-top: 14px; }
#contact .contact-form .btns .btn { padding: 11px 24px; }
#contact .map { min-height: 200px; }
#contact .info { padding-top: 6px; }
#contact .info li { padding: 8px 0; }
@media (max-width: 900px) { #contact .map { min-height: 220px; } }

/* 시연 창(D-WES 주요 기능): 뒤 페이지를 거의 가려서 시연 화면에 시선 집중 */
.lightbox.lb-anim { background: rgba(2,5,14,.97); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox.lb-anim .lb-stage { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 80px rgba(0,0,0,.7); }

/* HERO: 사진 띠·01/02 목차 제거 → 문구만 가운데 정렬로 한 화면 */
section.hero.hero-type { height: auto; max-height: none; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 66px 0 0; }   /* 헤더(66px) 아래 남은 화면의 정중앙 */
section.hero.hero-type > .wrap, section.hero.hero-type .wrap { grid-template-columns: 1fr !important; grid-template-rows: auto !important; justify-items: center; text-align: center; }
section.hero.hero-type .hero-copy { grid-column: 1 / -1 !important; grid-row: 1; justify-self: center; width: 100%; max-width: 880px; margin: 0 auto; text-align: center; }
section.hero.hero-type .hero-title { white-space: normal; }
.hero-type .statement-text { margin-left: auto; margin-right: auto; max-width: 640px; }
section.hero.hero-type .hero-cta { justify-content: center; }
@media (max-width: 900px) { section.hero.hero-type { min-height: 0; padding: 120px 0 88px; } }

/* HERO: 메인 배경: 영상(main.mp4)이 뜨기 전 대체 이미지(main.jpeg) + 글자가 잘 보이도록 네이비 막 */
section.hero.hero-type { background:
    radial-gradient(900px 520px at 50% 50%, rgba(8,17,40,.55), transparent 75%),
    linear-gradient(180deg, rgba(8,17,40,.82) 0%, rgba(8,17,40,.70) 45%, rgba(8,17,40,.92) 100%),
    url("../images/main.jpeg") center / cover no-repeat, #0A1630; }

/* HERO 배경 영상(main.mp4): 화면을 꽉 채우고, 위에 네이비 막을 덮어 글자가 잘 보이게 */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(900px 520px at 50% 50%, rgba(8,17,40,.55), transparent 75%),
              linear-gradient(180deg, rgba(8,17,40,.82) 0%, rgba(8,17,40,.70) 45%, rgba(8,17,40,.92) 100%); }
section.hero .hero-plan { z-index: 0; }

/* Solution 카드 사진 (solution01~03): 그림 대신 실제 장면 사진, 16:9 꽉 채움 */
.actor-scene.photo { height: auto; aspect-ratio: 16 / 9; display: block; background: #E9EEF6; }
.actor-scene.photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.actor:hover .actor-scene.photo img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .actor:hover .actor-scene.photo img { transform: none; } }

/* 다인뷰(DYNVIEW) 단계별 적용: 마우스를 올리면 영상·사진을 2배로 크게 보기 (마우스가 있는 넓은 화면만)
   첫 카드는 왼쪽 위, 가운데 카드는 가운데 위, 마지막 카드는 오른쪽 위를 기준으로 커져서 화면 밖으로 나가지 않음 */
@media (hover: hover) and (min-width: 901px) {
  .sc3-card:hover { z-index: 5; }
  /* 커진 사진은 마우스를 받지 않음 → 옆 카드로 옮기면 바로 그 카드가 커짐 */
  .sc3-media { pointer-events: none; transform-origin: center top; transition: transform .35s ease, box-shadow .35s ease, border-radius .35s ease; }
  .sc3-card:first-child .sc3-media { transform-origin: left top; }
  .sc3-card:last-child .sc3-media { transform-origin: right top; }
  .sc3-card:hover .sc3-media { z-index: 3; transform: scale(2); transition-delay: .12s; border-radius: 6px;
                               box-shadow: 0 18px 48px rgba(11,26,58,.35), 0 0 0 1px rgba(255,255,255,.6); }
}
@media (hover: hover) and (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .sc3-media { transition: none; }
}

/* 문의 폼 결과 문구: 성공은 초록, 오류는 기존 빨강 */
.contact-form #alertBox[data-state="ok"] { color: #15803D; }
