/* SJ WORLD WIDE — 1a Corporate Navy 구조 + 연그린 톤
   바탕 면과 사진 위 덮개는 연그린(--leaf), 글자 · 로고는 네이비, 강조는 골드.
   수치는 기획서 1a 시안(1440 기준)에서 가져왔습니다. 화면이 좁아지면 clamp 로 줄어듭니다. */

:root {
  --deep: #06132F;
  --navy: #0A1E4A;
  --navy-2: #0F2A5E;
  --gold: #C8962E;
  --gold-d: #82600F; /* 연그린 위 작은 골드 글씨 (4.9:1) */
  --leaf: #E3F1E7;
  --leaf-line: #C3DFCC;
  --leaf-muted: #4B5A78;
  --navy-12: rgba(10, 30, 74, .12);
  --mist: #F3F8F4;
  --ink: #111827;
  --body: #4B5563;
  --muted: #6B7280;
  --line: #E3E6EC;
  --line-2: #CBD2DD;

  --en: Montserrat, "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --ko: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --gutter: clamp(16px, 8.3vw, 120px);
  --hd: 96px;
  --hd-s: 76px;
  --sec: clamp(72px, 8.4vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-s) + 64px); }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--ko); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 1040px; }
.stack { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.center { text-align: center; }
.note { font-size: 13px; color: var(--muted); }

/* ─── 공통 글자 ─── */
.eyebrow { font-family: var(--en); font-weight: 700; font-size: 14px; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; }
.eyebrow-line { display: flex; align-items: center; gap: 14px; color: var(--gold-d); font-size: 15px; }
.eyebrow-line::before { content: ""; width: 40px; height: 2px; background: var(--gold); }
.sec-title { font-size: clamp(28px, 3.1vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; color: var(--navy); margin-top: 14px; }
.sec-lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; color: var(--body); text-wrap: pretty; }
.mini-title { font-weight: 700; color: var(--navy); margin-bottom: 12px; }

.sec { padding: var(--sec) 0; }
.sec-mist { background: var(--mist); }
.sec-navy { background: var(--leaf); color: var(--navy); }
.sec-navy .eyebrow { color: var(--gold-d); }
.sec-navy .sec-lead { color: var(--body); }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.sec-head .sec-lead { max-width: 520px; }
.sec-head.is-center { flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 0; }
.sec-head.is-center .sec-lead { max-width: 760px; }
.stack > .sec-head { margin-bottom: 0; }

/* ─── 버튼 ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 34px; font-size: 16px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #b48427; }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-deep { background: var(--deep); color: #fff; padding: 20px 40px; font-size: 17px; }
.btn-deep:hover { background: var(--navy); }
.btn-line { border-color: var(--line-2); color: var(--navy); padding: 12px 22px; font-size: 15px; background: #fff; }
.btn-line:hover { border-color: var(--navy); }
.btn-line.is-disabled { color: var(--muted); background: var(--mist); cursor: default; }
.link-more { font-weight: 700; color: var(--gold); }
.link-more:hover { text-decoration: underline; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 600; color: var(--navy); }
.chips.is-dark li { border-color: var(--leaf-line); background: #fff; }
.tag { display: inline-block; padding: 2px 8px; margin-right: 6px; font-size: 12px; font-weight: 700; border: 1px solid currentColor; }

/* ─── 헤더 · 메가 드롭다운 ─── */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--navy); transition: background .25s; }
.hd-bar { position: relative; z-index: 2; height: var(--hd); display: flex; align-items: center; gap: 24px; padding: 0 32px; border-bottom: 1px solid var(--navy-12); transition: height .25s; }
.hd-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.hd-logo img { height: 34px; width: auto; }
.hd-logo .logo-mark { height: 46px; } /* 심볼 + 글자 로고 — 명함과 같은 조합 */
.gnb { margin-left: auto; height: 100%; }
.gnb-list { display: flex; gap: clamp(12px, calc((100vw - 1203px) / 4), 52px); height: 100%; } /* 메뉴 5칸(128px) + 로고 + 언어 전환이 넘치지 않게 */
@media (min-width: 1500px) { .hd-bar { gap: 40px; padding: 0 60px; } }
.gnb-item { position: relative; display: flex; align-items: center; min-width: 128px; } /* 가장 긴 하위 메뉴(핵심가치 · 경영이념)가 옆 칸과 겹치지 않는 폭 */
.gnb-link { font-size: 17px; font-weight: 600; padding: 8px 0; position: relative; }
.gnb-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.gnb-item:hover .gnb-link::after, .gnb-item.is-current .gnb-link::after { transform: scaleX(1); }
.gnb-sub { position: absolute; top: 100%; left: 0; padding: 28px 0; min-width: 160px; display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; transition: opacity .2s; }
.gnb-sub a { font-size: 15px; color: var(--body); white-space: nowrap; }
.gnb-sub a:hover, .gnb-sub a[aria-current] { color: var(--navy); font-weight: 700; }
.hd-menu { display: none; }

/* 언어 전환 — 데스크톱은 헤더 오른쪽(is-bar), 태블릿 이하는 메뉴 패널 안(is-panel) */
.lang { display: flex; align-items: center; font-family: var(--en); font-size: 13px; font-weight: 600; }
.lang li + li::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 10px; background: var(--navy-12); vertical-align: middle; }
.lang a { color: var(--leaf-muted); }
.lang a:hover, .lang a[aria-current] { color: var(--navy); }
.lang a[aria-current] { font-weight: 800; }
.lang.is-bar { flex: none; }
.lang.is-panel { display: none; }

/* 데스크톱: 메뉴에 올리면 하위 메뉴 전체를 펼칩니다 (kssna 방식) */
@media (min-width: 1281px) {
  .hd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0; background: var(--leaf); border-bottom: 1px solid transparent; transition: height .25s; }
  .hd:has(.gnb:hover)::after, .hd:has(.gnb:focus-within)::after { height: 236px; border-bottom-color: var(--navy-12); }
  .hd:has(.gnb:hover), .hd:has(.gnb:focus-within) { background: var(--leaf); }
  .gnb:hover .gnb-sub, .gnb:focus-within .gnb-sub { opacity: 1; visibility: visible; }
}

.hd.is-solid, .nav-open .hd { background: var(--leaf); }
.hd.is-solid .hd-bar { height: var(--hd-s); }

/* ─── 첫 화면 ─── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 960px; background: var(--leaf); color: var(--navy); overflow: hidden; }
.hero-media, .hero-img { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 6s ease; }
.hero-img.is-active { opacity: 1; transform: scale(1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(227, 241, 231, .97) 0%, rgba(227, 241, 231, .85) 42%, rgba(227, 241, 231, 0) 75%); }
.hero-in { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-42%); max-width: 860px; display: flex; flex-direction: column; gap: 40px; }
.hero-copies { display: grid; }
.hero-copy { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 28px; opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .7s; pointer-events: none; }
.hero-copy.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .2s; }
.hero-title { font-family: var(--en); font-weight: 800; font-size: clamp(38px, 4.7vw, 68px); line-height: 1.08; letter-spacing: -.01em; }
.hero-sub { font-size: clamp(17px, 1.55vw, 22px); line-height: 1.6; color: var(--body); max-width: 640px; } /* 외국어 문장이 길어 연그린 덮개 밖으로 나가지 않게 */
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctrl { position: absolute; z-index: 2; left: var(--gutter); bottom: 64px; display: flex; align-items: center; gap: 28px; font-family: var(--en); font-weight: 700; font-size: 15px; }
.hero-total { color: var(--leaf-muted); font-weight: 600; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 28px; height: 3px; padding: 0; border: 0; background: var(--navy-12); cursor: pointer; transition: width .3s, background .3s; position: relative; }
.hero-dot::before { content: ""; position: absolute; inset: -12px 0; }
.hero-dot.is-active { width: 72px; background: var(--gold); }
.hero-scroll { position: absolute; z-index: 2; right: 60px; bottom: 64px; font-family: var(--en); font-size: 12px; letter-spacing: .3em; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); writing-mode: vertical-rl; }

/* ─── 4대 사업 카드 ─── */
.biz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.biz-card { position: relative; height: 500px; overflow: hidden; background: var(--leaf); color: var(--navy); outline: 3px solid transparent; outline-offset: -3px; transition: outline-color .25s; }
.biz-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.biz-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(227, 241, 231, 0) 35%, rgba(227, 241, 231, .92) 62%, rgba(227, 241, 231, .97) 100%); transition: background .3s; }
.biz-body { position: absolute; z-index: 2; left: 32px; right: 32px; bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.biz-no { font-family: var(--en); font-weight: 700; font-size: 14px; color: var(--gold-d); }
.biz-ko { font-size: clamp(22px, 2vw, 28px); font-weight: 800; }
.biz-en { font-family: var(--en); font-size: 12px; letter-spacing: .14em; color: var(--leaf-muted); }
.biz-desc { font-size: 15px; line-height: 1.6; color: var(--body); }
.biz-more { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--gold-d); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s, opacity .3s, margin .3s; }
.biz-card:hover, .biz-card:focus-visible { outline-color: var(--gold); }
.biz-card:hover img, .biz-card:focus-visible img { transform: scale(1.05); }
.biz-card:hover::before, .biz-card:focus-visible::before { background: linear-gradient(180deg, rgba(227, 241, 231, .1) 0%, rgba(227, 241, 231, .92) 50%, rgba(227, 241, 231, .98) 100%); }
.biz-card:hover .biz-more, .biz-card:focus-visible .biz-more { max-height: 24px; opacity: 1; }
@media (hover: none) { .biz-more { max-height: 24px; opacity: 1; } }

/* ─── 실적 카드 ─── */
.track-ctrl { display: flex; gap: 10px; }
.track-btn { width: 56px; height: 56px; border: 1px solid var(--leaf-line); background: #fff; color: var(--navy); font-size: 20px; cursor: pointer; }
.track-btn.is-gold { background: var(--gold); border-color: var(--gold); }
.track-btn:hover { border-color: var(--navy); }
.track-btn:disabled { opacity: .35; cursor: default; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.prj-card { background: #fff; color: var(--navy); display: flex; flex-direction: column; }
.prj-img { position: relative; }
.prj-card img { width: 100%; height: 220px; object-fit: cover; }
.prj-rep { position: absolute; left: 12px; top: 12px; padding: 3px 8px; background: rgba(10, 30, 74, .78); color: #fff; font-size: 12px; font-weight: 600; } /* 현장 사진이 아닌 카드 */
.prj-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prj-meta { display: flex; justify-content: space-between; font-family: var(--en); font-size: 13px; font-weight: 600; color: var(--gold-d); }
.prj-co { font-size: 21px; font-weight: 800; }
.prj-eq { font-size: 14px; line-height: 1.55; color: var(--body); flex: 1; }
.prj-cnt { margin-top: 6px; font-size: 13px; color: var(--muted); }
.prj-cnt strong { color: var(--navy); }
.track-foot { margin-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--body); }
.track-foot a { color: var(--gold-d); font-weight: 700; margin-left: 12px; }
.sec-navy .note { color: var(--leaf-muted); }
.client-row { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: center; margin-top: 36px; border-top: 1px solid var(--navy-12); padding-top: 36px; font-family: var(--en); font-weight: 700; font-size: clamp(16px, 1.4vw, 20px); color: var(--leaf-muted); letter-spacing: .04em; }

/* ─── 핵심가치 (메인) ─── */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.split-img { position: relative; background: var(--leaf); }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { padding: 100px var(--gutter) 100px 90px; display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.split-body .sec-title { margin-top: -14px; }

/* ─── 상담 배너 · 푸터 ─── */
.cta { background: var(--gold); color: var(--navy); padding: 56px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-title { font-size: clamp(22px, 2.1vw, 30px); font-weight: 800; }
.cta-sub { font-size: 17px; margin-top: 6px; }
.ft { background: var(--leaf); color: var(--leaf-muted); font-size: 14px; line-height: 1.8; padding: 56px 0 40px; }
.ft-in { display: flex; justify-content: space-between; gap: 40px; }
.ft-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ft-logo img { height: 30px; width: auto; }
.ft-logo .logo-mark { height: 40px; }
.ft-co strong { color: var(--navy); font-weight: 600; }
.ft-co a:hover { color: var(--navy); }
.ft-links { display: flex; gap: 28px; color: var(--navy); font-weight: 600; white-space: nowrap; }
.ft-links a:hover { color: var(--gold-d); }
.ft-copy { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--navy-12); }

/* ─── 서브 비주얼 · 2차 탭 ─── */
.sv { position: relative; height: 440px; background: var(--leaf); color: var(--navy); overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: var(--hd); }
.sv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(227, 241, 231, .78), rgba(227, 241, 231, .9)); }
.sv-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 16px; }
.sv .eyebrow { color: var(--gold-d); }
.sv-title { font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.02em; }
.crumb { font-size: 15px; color: var(--leaf-muted); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.crumb a:hover { color: var(--navy); }
.crumb [aria-current] { color: var(--navy); font-weight: 600; }

.lnb { position: sticky; top: var(--hd-s); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.lnb-in { display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.lnb-in::-webkit-scrollbar { display: none; }
.lnb a { flex: none; padding: 26px 44px; font-size: 17px; font-weight: 700; color: #9CA3AF; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s; }
.lnb a:hover { color: var(--navy); }
.lnb a[aria-current] { color: var(--navy); border-bottom-color: var(--gold); }

/* ─── 서브 본문 조각 ─── */
.intro { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.intro-title { font-size: clamp(28px, 2.8vw, 40px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.intro .eyebrow { font-weight: 600; letter-spacing: .2em; }
.intro-text { max-width: 820px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; color: var(--body); text-wrap: pretty; }

.pts { display: grid; border-top: 2px solid var(--navy); }
.pts.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pts.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pt { padding: 36px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.pt:last-child { border-right: 0; }
.pt-no { font-family: var(--en); font-weight: 800; font-size: 32px; color: var(--gold); }
.pt-title { font-size: 20px; font-weight: 800; color: var(--navy); }
.pt p { font-size: 15px; line-height: 1.65; color: var(--body); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.two > div { display: flex; flex-direction: column; gap: 24px; }
.two .sec-title { margin-top: -10px; }
.media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic img:first-child { grid-row: span 2; }

.pics { display: grid; gap: 20px; }
.pics.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pics.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pics figcaption { margin-top: 12px; font-weight: 700; color: var(--navy); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 32px 28px; background: var(--mist); display: flex; flex-direction: column; gap: 6px; }
.sec-mist .steps li { background: #fff; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li:not(:last-child)::after { content: ""; position: absolute; z-index: 1; right: -9px; top: 50%; width: 16px; height: 16px; background: inherit; border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); }
.steps span { font-family: var(--en); font-weight: 800; color: var(--gold); }
.steps strong { font-size: 20px; color: var(--navy); }
.steps em { font-style: normal; color: var(--body); font-size: 15px; }

.ticks { display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-left: 22px; color: var(--body); line-height: 1.7; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--gold); }

.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 40px; background: var(--mist); flex-wrap: wrap; }
.inline-cta p { font-size: 18px; font-weight: 700; color: var(--navy); }

/* 3차 탭 */
.tablist { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 5vw, 64px); }
.tablist [role=tab] { padding: 14px 28px; border: 1px solid var(--line-2); background: #fff; font-size: 16px; font-weight: 700; color: var(--muted); cursor: pointer; }
.tablist [role=tab][aria-selected=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tablist [role=tab]:hover { border-color: var(--navy); }

/* 인사말 */
.ceo { display: grid; grid-template-columns: 360px 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.ceo-side { background: var(--mist); padding: 56px 40px; display: flex; flex-direction: column; align-items: center; gap: 28px; position: sticky; top: calc(var(--hd-s) + 100px); }
.ceo-side img { width: 180px; height: auto; }
.ceo-motto { font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: .04em; }
.ceo-body { display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.85; color: var(--body); }
.ceo-body .sec-title { margin: -6px 0 16px; }
.ceo-hello { font-weight: 700; color: var(--navy); }
.ceo-sign { margin-top: 16px; text-align: right; color: var(--navy); }
.ceo-sign strong { font-size: 22px; margin-left: 8px; }

/* 핵심가치 */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.values li { aspect-ratio: 1.4; background: var(--leaf); color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; position: relative; }
.values li::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 4px; background: var(--gold); transform: translateX(-50%); }
.values strong { font-size: clamp(32px, 3.4vw, 48px); font-weight: 800; }
.values-en { font-family: var(--en); font-weight: 700; letter-spacing: .24em; font-size: 13px; color: var(--gold-d); }
.creed { margin: 48px auto 56px; max-width: 980px; text-align: center; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.8; color: var(--navy); font-weight: 600; }
.creed em { font-style: normal; color: var(--gold); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: #fff; padding: 40px 36px; border-top: 3px solid var(--navy); display: flex; flex-direction: column; gap: 12px; }
.pillar h3 { font-size: 24px; font-weight: 800; color: var(--navy); }
.pillar ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pillar li { padding: 6px 14px; background: var(--mist); font-weight: 600; color: var(--navy); }

/* 조직도 */
.org { margin-top: 56px; display: flex; flex-direction: column; align-items: center; }
.org-box { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 28px; min-width: 200px; background: #fff; border: 1px solid var(--line-2); text-align: center; }
.org-box strong { font-size: 19px; color: var(--navy); }
.org-box em { font-style: normal; font-family: var(--en); font-size: 13px; color: var(--muted); }
.org-box.is-ceo { background: var(--leaf); border-color: var(--leaf-line); color: var(--navy); font-size: 20px; font-weight: 800; padding: 24px 56px; }
.org-box.is-line { border-color: var(--gold); }
.org-top { position: relative; padding-bottom: 40px; }
.org-top::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 40px; background: var(--line-2); }
.org-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: 1000px; position: relative; padding-top: 40px; }
.org-row::before { content: ""; position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 1px; background: var(--line-2); }
.org-row li { position: relative; display: flex; justify-content: center; }
.org-row li::before { content: ""; position: absolute; top: -40px; left: 50%; width: 1px; height: 40px; background: var(--line-2); }
.org-row .org-box { width: 100%; min-width: 0; }
.org-branch { margin-top: 64px; padding-top: 40px; border-top: 1px dashed var(--line-2); display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: 1000px; }

/* 글로벌 네트워크 */
.netmap { position: relative; margin-top: 56px; background: #dce9f6; } /* 지도 사진의 바탕색 */
.netmap img { width: 100%; aspect-ratio: 2.2; object-fit: cover; opacity: .9; }
.net-nodes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; background: var(--leaf); color: var(--navy); }
.net-nodes li { padding: 32px 28px; border-right: 1px solid var(--navy-12); display: flex; flex-direction: column; gap: 8px; }
.net-nodes li:last-child { border-right: 0; }
.net-nodes .eyebrow { color: var(--gold-d); font-size: 12px; }
.net-nodes h3 { font-size: 20px; font-weight: 800; }
.net-nodes p:last-child { font-size: 14px; line-height: 1.6; color: var(--body); }

/* 오시는 길 */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.loc { padding: 48px 44px; background: var(--mist); display: flex; flex-direction: column; gap: 16px; border-top: 3px solid var(--navy); }
.loc h3 { font-size: 26px; font-weight: 800; color: var(--navy); }
.loc dl { display: grid; grid-template-columns: 72px 1fr; gap: 12px 16px; margin-top: 8px; }
.loc dt { font-weight: 700; color: var(--navy); }
.loc dd { color: var(--body); }
.loc dd a:hover { color: var(--gold); }
.loc .en { font-family: var(--en); font-size: 14px; color: var(--muted); }
.loc-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }

/* 실적 페이지 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
.stats li { padding: 36px 20px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats strong { font-family: var(--en); font-size: clamp(40px, 4.4vw, 64px); font-weight: 800; color: var(--navy); line-height: 1; }
.stats span { color: var(--body); }
.filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.filter button { padding: 10px 22px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); font-weight: 700; cursor: pointer; }
.filter button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.prj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prj-grid .prj-card { background: var(--leaf); }
.prj-grid .prj-card[hidden] { display: none; }

.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.client { padding: 36px 32px; border: 1px solid var(--line); border-top: 3px solid var(--navy); display: flex; flex-direction: column; gap: 8px; }
.client h3 { font-family: var(--en); font-size: 24px; font-weight: 800; color: var(--navy); }
.client-meta { font-size: 13px; font-weight: 700; color: var(--gold); }
.client p { color: var(--body); }
.client-years { font-family: var(--en); font-size: 13px; color: var(--muted) !important; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gal-item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.gal-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .2s; }
.gal-item:hover img { opacity: .85; }
.gal-item span { display: block; margin-top: 10px; font-weight: 700; color: var(--navy); }
.lightbox { max-width: min(1100px, 92vw); padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(6, 19, 47, .9); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lb-cap { text-align: center; margin-top: 14px; font-weight: 600; }
.lb-close { position: fixed; top: 16px; right: 20px; width: 48px; height: 48px; border: 0; background: none; color: #fff; font-size: 36px; cursor: pointer; }

/* 문의 양식 */
.contact { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.fld { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld.is-full { grid-column: 1 / -1; }
.fld label, .fld legend { font-weight: 700; color: var(--navy); padding: 0; }
.fld input, .fld select, .fld textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 0; background: #fff; font: inherit; color: var(--ink); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--navy); outline-offset: -1px; border-color: var(--navy); }
.fld [aria-invalid=true] { border-color: #c2410c; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
.radios label { font-weight: 500; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.req { color: var(--gold); }
.agree { margin-top: 32px; padding: 24px; background: var(--mist); display: flex; flex-direction: column; gap: 12px; }
.agree-text { font-size: 14px; color: var(--body); }
.agree-text a { color: var(--navy); text-decoration: underline; }
.agree label { font-weight: 700; color: var(--navy); display: inline-flex; gap: 10px; align-items: center; cursor: pointer; }
.agree input, .radios input { width: 18px; height: 18px; accent-color: var(--navy); }
.form-foot { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-status { font-size: 14px; color: var(--muted); }
.form-status.is-error { color: #c2410c; font-weight: 600; }
.contact-side { background: var(--leaf); color: var(--navy); padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--hd-s) + 100px); }
.contact-side .eyebrow { color: var(--gold-d); font-size: 12px; }
.contact-side h3 { font-size: 22px; font-weight: 800; }
.contact-side dl { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.contact-side dt { font-size: 13px; color: var(--leaf-muted); margin-top: 12px; }
.contact-side dd { font-weight: 600; }
.contact-side a:hover { color: var(--gold-d); }

/* 고객센터 */
.empty { padding: 72px 20px; text-align: center; color: var(--muted); border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
.notice { border-top: 2px solid var(--navy); }
.notice li { border-bottom: 1px solid var(--line); }
.notice summary { display: flex; gap: 24px; padding: 22px 8px; cursor: pointer; list-style: none; }
.nt-date { font-family: var(--en); color: var(--muted); flex: none; }
.nt-title { font-weight: 700; color: var(--navy); }
.nt-body { padding: 0 8px 28px; color: var(--body); }
.libs { border-top: 2px solid var(--navy); }
.lib { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 8px; border-bottom: 1px solid var(--line); }
.lib h3 { font-size: 19px; color: var(--navy); }
.lib p { color: var(--body); font-size: 15px; }
.faq { border-top: 2px solid var(--navy); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { position: relative; padding: 26px 56px 26px 44px; font-size: 18px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker, .notice summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; position: absolute; left: 8px; font-family: var(--en); color: var(--gold); }
.qa summary::after { content: "+"; position: absolute; right: 12px; font-size: 24px; font-weight: 400; line-height: 1; top: 50%; transform: translateY(-50%); }
.qa[open] summary::after { content: "−"; }
.qa-a { padding: 0 24px 28px 44px; color: var(--body); line-height: 1.8; }
.qa-a a { color: var(--navy); text-decoration: underline; }

.doc { color: var(--body); line-height: 1.85; display: flex; flex-direction: column; gap: 14px; }
.doc h2 { font-size: 20px; color: var(--navy); margin-top: 24px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc a { color: var(--navy); text-decoration: underline; }

.sitemap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.sm-col h2 { font-size: 20px; color: var(--navy); padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.sm-col h2 span { display: block; font-family: var(--en); font-size: 12px; letter-spacing: .2em; color: var(--gold); margin-top: 4px; }
.sm-col ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.sm-col a { color: var(--body); }
.sm-col a:hover { color: var(--gold); }

/* ─── 반응형 ─── */
/* 헤더: 메뉴 5개 + 로고 + 언어 전환이 한 줄에 들어가는 폭(1281px~)에서만 펼칩니다. 그보다 좁으면 햄버거 */
@media (max-width: 1280px) {
  :root { --hd: 72px; --hd-s: 64px; }
  .hd-bar { padding: 0 20px; }
  .hd-logo { gap: 9px; }
  .hd-logo img { height: 26px; }
  .hd-logo .logo-mark { height: 36px; }
  .lang.is-bar { display: none; }
  .lang.is-panel { display: flex; padding: 24px 4px 0; font-size: 15px; }
  .hd-menu { display: flex; flex-direction: column; justify-content: center; gap: 6px; margin-left: auto; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
  .hd-menu span { display: block; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
  .nav-open .hd-menu span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .hd-menu span:nth-child(2) { opacity: 0; }
  .nav-open .hd-menu span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .gnb { position: fixed; inset: var(--hd-s) 0 0; height: auto; background: var(--leaf); overflow-y: auto; padding: 8px 20px 40px; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .hd:not(.is-solid) .gnb { inset: var(--hd) 0 0; }
  .nav-open .gnb { transform: none; visibility: visible; }
  .gnb-list { flex-direction: column; gap: 0; height: auto; }
  .gnb-item { display: block; min-width: 0; border-bottom: 1px solid var(--navy-12); }
  .gnb-link { display: block; padding: 20px 4px; font-size: 19px; }
  .gnb-link::after { display: none; }
  .gnb-sub { position: static; opacity: 1; visibility: visible; padding: 0 4px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .nav-open { overflow: hidden; }
}

@media (max-width: 1280px) {
  .track { grid-auto-columns: calc((100% - 40px) / 3); }
  .net-nodes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .net-nodes li { border-bottom: 1px solid var(--navy-12); }
}

/* 태블릿 이하: 본문 배치 */
@media (max-width: 1100px) {
  .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-card { height: 420px; }
  .split { grid-template-columns: 1fr; }
  .split-img { aspect-ratio: 16 / 9; }
  .split-body { padding: var(--sec) var(--gutter); }
  .pts.cols-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pts.cols-4 .pt:nth-child(2n) { border-right: 0; }
  .pts.cols-4 .pt:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps li::after { display: none; }
  .ceo { grid-template-columns: 1fr; }
  .ceo-side { position: static; flex-direction: row; justify-content: center; padding: 32px; }
  .ceo-side img { width: 96px; }
  .prj-grid, .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .hero-scroll { right: 20px; }
}

@media (max-width: 768px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
  .sec-head.is-dark { flex-direction: row; align-items: flex-end; }
  .hero { min-height: 600px; }
  .hero-in { transform: translateY(-50%); gap: 32px; }
  .hero::before { background: linear-gradient(180deg, rgba(227, 241, 231, .8), rgba(227, 241, 231, .92)); }
  .hero-ctrl { bottom: 40px; }
  .hero-scroll { display: none; }
  .btn { padding: 16px 26px; font-size: 15px; }
  .biz-grid { grid-template-columns: 1fr; gap: 12px; }
  .biz-card { height: 300px; }
  .biz-body { left: 24px; right: 24px; bottom: 24px; }
  .track { grid-auto-columns: 82%; }
  .track-btn { width: 44px; height: 44px; }
  .client-row { gap: 12px 28px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .ft-in { flex-direction: column; }
  .ft-links { flex-wrap: wrap; gap: 8px 20px; }
  .sv { height: 320px; }
  .lnb-in { justify-content: flex-start; }
  .lnb a { padding: 18px 20px; font-size: 15px; }
  .two, .loc-grid { grid-template-columns: 1fr; }
  .pts.cols-3 { grid-template-columns: 1fr; }
  .pts.cols-3 .pt { border-right: 0; border-top: 1px solid var(--line); }
  .pts.cols-3 .pt:first-child { border-top: 0; }
  .pt { padding: 28px 16px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
  .mosaic img:first-child { grid-row: auto; grid-column: span 2; }
  .pics.cols-2, .pics.cols-3 { grid-template-columns: 1fr; }
  .values, .pillars { grid-template-columns: 1fr; }
  .values li { aspect-ratio: auto; padding: 36px 20px; }
  .org-row { grid-template-columns: 1fr 1fr; padding-top: 0; gap: 12px; }
  .org-row::before, .org-row li::before { display: none; }
  .org-top::after { height: 24px; }
  .org-top { padding-bottom: 36px; }
  .org-box { padding: 18px 12px; }
  .net-nodes { grid-template-columns: 1fr; }
  .net-nodes li { border-right: 0; padding: 24px 20px; }
  .netmap img { aspect-ratio: 16 / 9; }
  .loc { padding: 32px 24px; }
  .stats li { padding: 24px 8px; }
  .prj-grid, .clients { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .inline-cta { padding: 24px 20px; }
  .qa summary { padding: 22px 44px 22px 36px; font-size: 16px; }
  .qa-a { padding: 0 8px 24px 36px; }
  .sitemap { grid-template-columns: 1fr 1fr; }
  .lib { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .pts.cols-4, .steps { grid-template-columns: 1fr; }
  .pts.cols-4 .pt { border-right: 0; border-top: 1px solid var(--line); }
  .pts.cols-4 .pt:first-child { border-top: 0; }
  .steps li { border-left: 0 !important; }
  .steps li + li { border-top: 1px solid var(--line); }
  .sitemap { grid-template-columns: 1fr; }
}

/* ─── 언어별 ─── */
/* 제목 줄바꿈 — 마지막 줄에 한 단어만 남지 않게 (베트남어 · 영문은 제목이 깁니다) */
.sec-title, .intro-title, .sv-title, .biz-ko, .cta-title { text-wrap: balance; }
/* 중문: keep-all 이면 한자 사이에서 줄이 안 바뀌어 넘칩니다. 한자는 중문 글꼴을 먼저 씁니다 */
:lang(zh) { --ko: "Pretendard Variable", Pretendard, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
html:lang(zh) body { word-break: normal; line-break: strict; }
/* 영문: 제목과 같은 말을 되풀이하는 영문 보조 표기를 숨깁니다 (제목 위 소제목은 빌드에서 뺌) */
html:lang(en) :is(.biz-en, .org-box em, .sm-col h2 span, .values-en) { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
