@import url("djetora-site-scale.css");
/* DJETORA 기업 사이트 공통 스타일 (2026-08-12 재구축 · 2차)
   문제: 어두운 네이비+골드 바탕이 게임 홈페이지처럼 보임 (사령관 지적)
   이유: 일반 기업 홈페이지는 밝은 바탕이 표준
   수정: 화이트·오프화이트 바탕 + 네이비 텍스트 + 골드 포인트의 밝은 기업형 테마 */
:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --bg-2: #ffffff;
  --bg-3: #eef1f6;
  --ink: #1a2333;
  --ink-2: #45536b;
  --ink-3: #7c8aa5;
  --navy: #0d2b6e;
  --navy-2: #123a8f;
  --gold: #b8860b;
  --gold-2: #9a7108;
  --line: #e3e7ee;
  --gold-line: rgba(184, 134, 11, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.75 "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* 헤더 — 현대·삼성식 기업 네이비 바탕 (사령관 지시 2026-08-12: 화이트 글래스 → 그룹사 배경색) */
header.corp-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 60;
  background: #0e2a66;
  border-bottom: 2px solid #c9a227;
}
.corp-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 68px; flex-wrap: wrap; }
/* 확정 로고: 3D D + 영문 워드마크. HTML 글자·letter-spacing·납작 SVG 금지 */
.brand { display: flex; align-items: center; gap: 10px; letter-spacing: 0; font-size: 0; color: #fff !important; text-decoration: none !important; }
.brand img.brand-d { width: 44px; height: 44px; object-fit: contain; background: transparent; border-radius: 0; padding: 0; }
.brand img.brand-wordmark { width: auto; height: 18px; object-fit: contain; }
.brand .brand-word-text { font-size: 18px; font-weight: 800; letter-spacing: .08em; color: #fff; line-height: 1; }
nav.corp-nav { display: flex; gap: 20px; margin-left: auto; align-items: center; flex-wrap: wrap; }
nav.corp-nav a { color: rgba(255, 255, 255, .82); font-size: 13.5px; letter-spacing: .02em; transition: color .2s; }
nav.corp-nav a:hover, nav.corp-nav a.on { color: #fff; text-decoration: none; font-weight: 700; }
a.btn-chat {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 20px; border-radius: 999px;
  background: #fff; color: #002c5f !important;
  font-weight: 800; font-size: 13.5px; letter-spacing: .03em;
}
a.btn-chat:hover { background: #e9eef7; text-decoration: none; }

/* 페이지 히어로 (서브 페이지 상단) — 그라데이션 금지(사령관 2026-08-12) 평면 색 */
.page-hero {
  padding: 56px 0 70px;
  background: #eaf0fa;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 8px 0 10px; color: var(--navy); font-weight: 800; }
.page-hero p { color: var(--ink-2); max-width: 720px; margin: 0; }

/* 섹션 공통 — 바탕 구분 */
section.corp { padding: 84px 0; background: var(--bg-2); }
section.corp + section.corp { border-top: 1px solid var(--line); }
section.bg-2 { background: var(--bg); }
section.bg-3 { background: var(--bg-3); }
.section-eyebrow { color: var(--gold); letter-spacing: .38em; font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
section.corp h2 { font-size: clamp(24px, 3.2vw, 33px); margin: 12px 0 8px; color: var(--navy); font-weight: 800; }
.sec-rule { width: 48px; height: 2px; background: var(--gold); margin: 16px 0 26px; }
section.corp p { color: var(--ink-2); }
.lead-p { font-size: 16.5px; max-width: 780px; }

/* 카드류 — 화이트 + 소프트 섀도 */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 38px; box-shadow: 0 10px 34px rgba(13, 43, 110, .06);
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mini-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.mini-card:hover { transform: translateY(-4px); border-color: var(--gold-line); box-shadow: 0 14px 34px rgba(13, 43, 110, .08); }
.mini-card h3 { margin: 8px 0 6px; font-size: 17px; color: var(--navy); }
.mini-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.mini-card .tag { color: var(--gold-2); font-weight: 800; font-size: 12.5px; letter-spacing: .12em; }

/* 인사말 — 사진은 확실한 박스(사령관 2026-08-12) + 시간 간격 교체 */
.greeting-card { display: flex; gap: 46px; align-items: stretch; flex-wrap: wrap; }
.greeting-photo-col { flex: 0 0 264px; text-align: center; }
.greeting-photo-box {
  position: relative; width: 264px; height: 340px; overflow: hidden;
  background: #fff; border: 1px solid #c9d2e0; border-radius: 6px;
  padding: 10px; box-shadow: 0 10px 28px rgba(13, 43, 110, .12);
}
.greeting-photo-box img {
  position: absolute; left: 10px; top: 10px; width: 242px; height: 320px;
  object-fit: cover; border-radius: 3px; display: block;
  opacity: 0; transition: opacity .7s ease;
}
.greeting-photo-box img.show { opacity: 1; }
.greeting-photo-box img.greeting-logo-photo {
  object-fit: contain;
  object-position: center;
  background: #070b16;
  box-sizing: border-box;
  padding: 22px;
}
.greeting-logo-slide {
  position: absolute; left: 10px; top: 10px; width: 242px; height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; background: #070b16; border-radius: 3px; box-sizing: border-box; padding: 18px 14px;
  opacity: 0; transition: opacity .7s ease;
}
.greeting-logo-slide.show { opacity: 1; }
.greeting-logo-slide img {
  position: static; left: auto; top: auto; width: auto; height: auto;
  max-width: 168px; max-height: 168px; object-fit: contain; opacity: 1; padding: 0;
  background: transparent; border-radius: 0;
}
.greeting-logo-slide .greeting-wordmark-en {
  width: 88%; max-width: 200px; max-height: 56px;
}
.greeting-photo-col strong { display: block; margin-top: 14px; color: var(--navy); font-size: 15px; letter-spacing: .06em; }
.greeting-photo-col span { color: var(--gold-2); font-size: 13px; letter-spacing: .12em; }
.greeting-body { flex: 1 1 460px; display: flex; flex-direction: column; }
.greeting-body p { margin: 0 0 15px; color: var(--ink-2); font-size: 15.5px; }
.greeting-body p:first-child { color: var(--ink); font-size: 17px; font-weight: 700; }
.greeting-sign { margin-top: auto; padding-top: 18px; color: var(--gold-2); font-weight: 700; letter-spacing: .08em; border-top: 1px solid var(--gold-line); }

/* 브랜드 — 기존 밝은 기업면 유지 · 로고 파일만 교체 */
section.corp.brand-intro {
  background: var(--bg-3);
}
.brand-intro-card {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 10px 34px rgba(13, 43, 110, .06);
}
.brand-card { display: flex; gap: 44px; align-items: center; flex-wrap: wrap; }
/* 문제: 레이아웃/바탕까지 바꿈 /
   이유: 사령관 — 기존 홈페이지에 로고만 교체 /
   수정: 스테이지 투명·로고 PNG만 교체 */
.brand-mark {
  flex: 0 0 170px;
  width: 170px;
  text-align: center;
  overflow: hidden;
  background: #001633;
  border-radius: 16px;
  border: 0;
  padding: 8px;
}
.brand-mark img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  display: block;
  margin: 0 auto;
  background: transparent;
}
.brand-desc { flex: 1 1 460px; }
.brand-desc p { color: var(--ink-2); }
.brand-desc strong { color: var(--gold-2); }
.brand-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.brand-tags span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--gold-line); color: var(--gold-2); font-size: 12.5px; letter-spacing: .04em; background: #fffdf6; }

/* 리스트 */
.line-list { list-style: none; margin: 0; padding: 0; }
.line-list li { display: flex; gap: 18px; align-items: baseline; padding: 15px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.line-list li:hover { background: #fafbfd; }
.line-list .date { color: var(--gold-2); font-size: 12.5px; letter-spacing: .06em; flex: 0 0 92px; }
.line-list a { color: var(--ink); font-size: 15px; }
.line-list a:hover { color: var(--navy-2); }

/* 문의 폼 */
.inquiry-form { margin-top: 22px; }
.inquiry-form .iq-row { display: flex; gap: 12px; flex-wrap: wrap; }
.inquiry-form .iq-row input { flex: 1 1 220px; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%; margin-bottom: 12px; padding: 13px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: #fbfcfe; color: var(--ink);
  font: 14.5px/1.6 "Malgun Gothic", "Segoe UI", system-ui, sans-serif; outline: none;
  transition: border-color .2s;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--gold); background: #fff; }
.inquiry-form textarea { resize: vertical; }
button.iq-submit {
  width: 100%; min-height: 52px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--navy); color: #fff;
  font: 800 15px "Malgun Gothic", "Segoe UI", system-ui, sans-serif; letter-spacing: .03em;
  box-shadow: 0 8px 24px rgba(13, 43, 110, .25);
}
button.iq-submit:hover { background: var(--navy-2); }
.iq-note { margin: 10px 0 0; color: var(--ink-3); font-size: 12.5px; }

/* 홈 전용
   문제: 흰 오버레이+거대 DJETORA 글자가 LED 포스터와 겹쳐 싸구려로 보임 /
   이유: 사령관 — 소프트 홈 고급스럽게 /
   수정: 어두운 베일·하단 캡션만 · 그라데이션 금지(평면 색) · 대화 CTA 없음 */
.home-hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  background: url("images/posters/poster-soft-city-led.jpg") center 28% / cover no-repeat;
}
.home-hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 14, 36, .22);
}
.home-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%;
  background: #001122; opacity: .72;
}
.home-hero .wrap { position: relative; z-index: 1; padding: 0 24px 72px; }
.home-hero .eyebrow { color: #d4b45a; letter-spacing: .42em; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.home-hero h1 {
  font-size: clamp(26px, 3.8vw, 40px); margin: 14px 0 6px; letter-spacing: .16em; color: #f7f4ea;
  font-weight: 600; line-height: 1.25;
}
.home-hero .gold-rule { width: 56px; height: 1px; background: #d4b45a; margin: 18px 0; }
.home-hero p.lead { font-size: 16.5px; color: rgba(247, 244, 234, .88); max-width: 560px; margin: 0; }
.home-hero a.btn-primary { background: #d4b45a; color: #0a1628 !important; box-shadow: none; }
.home-hero a.btn-primary:hover { background: #e4c56a; }
.home-hero a.btn-ghost {
  border-color: rgba(212, 180, 90, .5); color: #f7f4ea !important; background: transparent; backdrop-filter: none;
}
.home-hero a.btn-ghost:hover { border-color: #d4b45a; }
.home-soft-band { background: #0a1628; border-top: 1px solid rgba(212, 180, 90, .28); border-bottom: 1px solid var(--line); }
.home-soft-band h2, .home-soft-band .section-eyebrow { color: #d4b45a; }
.home-soft-band .lead-p { color: rgba(247, 244, 234, .82); }
.home-soft-band .sec-rule { background: #d4b45a; }
.home-soft-band a.btn-ghost { border-color: rgba(212, 180, 90, .45); color: #f7f4ea !important; background: transparent; }
.home-soft-band a.btn-primary { background: #d4b45a; color: #0a1628 !important; }
.cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
a.btn-primary, a.btn-ghost {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 32px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .02em; transition: transform .2s, box-shadow .2s;
}
a.btn-primary { background: var(--navy); color: #fff !important; box-shadow: 0 8px 24px rgba(13, 43, 110, .3); }
a.btn-primary:hover { transform: translateY(-2px); background: var(--navy-2); text-decoration: none; }
a.btn-ghost { border: 1px solid rgba(13, 43, 110, .35); color: var(--navy) !important; background: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
a.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); text-decoration: none; }
.soft-badge {
  display: inline-flex; gap: 10px; align-items: center; margin-top: 30px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--gold-line); color: var(--gold-2); font-size: 13px; letter-spacing: .04em;
  background: rgba(255, 253, 246, .8); backdrop-filter: blur(6px);
}
.home-band { background: #f4ead2; border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--line); }

footer.corp-footer { padding: 40px 0 52px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; letter-spacing: .03em; background: #fff; }
footer.corp-footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }

@keyframes wbpcRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.home-hero .wrap > * { animation: wbpcRise .8s ease both; }
.home-hero .wrap > *:nth-child(2) { animation-delay: .08s; }
.home-hero .wrap > *:nth-child(3) { animation-delay: .16s; }
.home-hero .wrap > *:nth-child(4) { animation-delay: .24s; }
.home-hero .wrap > *:nth-child(5) { animation-delay: .32s; }
.home-hero .wrap > *:nth-child(6) { animation-delay: .4s; }
@media (max-width: 860px) {
  .card { padding: 22px 16px; }
  .home-hero { min-height: 72vh; }
  .corp-header .wrap { min-height: 56px; gap: 10px; padding: 8px 14px; }
  .brand img.brand-d { width: 34px; height: 34px; }
  .brand .brand-word-text { font-size: 16px; }
  nav.corp-nav { width: 100%; gap: 8px 12px; margin-left: 0; justify-content: flex-start; }
  nav.corp-nav a { font-size: 13px; }
  .page-hero { padding: 28px 0 36px; }
  .page-hero h1 { font-size: 26px; }
  section.corp { padding: 36px 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 12px; }
  nav.corp-nav a { font-size: 12.5px; }
  a.btn-chat { min-height: 34px; padding: 0 14px; font-size: 12.5px; }
}
