@charset "UTF-8";

/* ===== CSS Variables ===== */
:root {
    --color-primary: #1976d2;
    --color-dark: #222222;
    --color-text: #000000;
    --color-text-light: #000000;
    --color-text-muted: #000000;
    --color-border: #e0e0e0;
    --color-bg: #ffffff;
    --color-bg-light: #f5f5f5;
    --color-bg-dark: #1a1a1a;
    --font-primary: 'Paperlogy', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
    --max-width: 1280px;
    --header-height: 80px;
    --transition: 0.3s ease;
}

/* ===== Font Face ===== */
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-4Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-5Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-6SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-7Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-8ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 18px;
    scroll-behavior: smooth;
    /* Use subpixel rendering on Windows for crisper text (no antialiased) */
    -moz-osx-font-smoothing: auto;
    text-rendering: optimizeLegibility;
    /* Firefox: thin subtle scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.18) transparent;
}
body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
    overflow-x: hidden;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-shadow: none;
    text-rendering: optimizeLegibility;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
/* Hide scrollbar on all inner elements (Chrome / Safari / Edge) */
body::-webkit-scrollbar,
.main-page::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}
/* Window scrollbar — 6px, no track, semi-transparent thumb */
html::-webkit-scrollbar              { width: 6px; }
html::-webkit-scrollbar-track        { background: transparent; }
html::-webkit-scrollbar-thumb        { background: rgba(0,0,0,0.16); border-radius: 3px; }
html::-webkit-scrollbar-thumb:hover  { background: rgba(0,0,0,0.3); }
.main-page {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; }
img {
    max-width: 100%;
    height: auto;
    display: block;
}
button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Utility ===== */
.blind {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.safe-zone {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ===== Header / GNB ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: var(--scrollbar-w, 0px);
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
    /* leave (collapse) fast */
    transition: background 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.35s ease,
                height 0.25s ease;
    will-change: transform;
}
/* Auto-hide on scroll down / reveal on scroll up (Hanwha-style) */
#header.header-hide { transform: translateY(-100%); }
/* Keep header visible while mobile menu is open */
#header.mobile-open.header-hide { transform: translateY(0); }
/* 헤더 숨김 시 LNB도 강제로 같이 숨김 (hover로도 못 열리게) */
#header.header-hide .lnb-wrapper,
#header.header-hide .lnb-wrapper.active {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}
/* Hero 위에서는 투명 배경 + 흰 글씨 (배경과 하나로 보이게) */
#header.on-hero {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none;
}
#header.on-hero .gnb-menu > li > a {
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
#header.on-hero .gnb-menu > li > a:hover,
#header.on-hero .gnb-menu > li.active > a {
    color: #fff;
}
#header.on-hero .header-logo .logo-dark { display: none; }
#header.on-hero .header-logo .logo-light { display: block; }
/* 스크롤 시 메뉴 숨기고 로고만 표시 */
#header.menu-hidden {
    background: transparent !important;
    box-shadow: none !important;
}
#header.menu-hidden .gnb-menu {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#header.menu-hidden .header-logo .logo-dark { display: none; }
#header.menu-hidden .header-logo .logo-light { display: block; }
/* 히어로 위에서는 lnb 배경 없음 — 세로바만 표시 */
#header.on-hero .lnb-wrapper {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
/* 히어로 세로바: 어두운 배경 위에 밝은 컬럼 강조 */
#header.on-hero .gnb-menu > li::before {
    background: rgba(255, 255, 255, 0.1);
}
#header.on-hero .lnb-group-title {
    color: #fff;
}
#header.on-hero .lnb-col a {
    color: rgba(255,255,255,0.88);
    font-weight: 300;
}
#header.on-hero .lnb-col a:hover {
    color: #fff;
}

.header-inner {
    position: relative;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-inner .header-logo {
    flex: 0 0 auto;
    margin-right: 40px;
}
.header-inner nav {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}
.header-spacer {
    flex: 0 0 auto;
    /* Mirror logo width so centered menu is visually centered between logo and right edge */
    width: 180px;
}
.header-lang {
    flex: 0 0 auto;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.header-lang-btn {
    padding: 4px 8px;
    background: none;
    border: 0;
    color: var(--color-text-muted);
    cursor: pointer;
    font: inherit;
    letter-spacing: inherit;
    transition: color 0.2s;
}
.header-lang-btn:hover { color: var(--color-text); }
.header-lang-btn.active { color: var(--color-primary); font-weight: 700; }
.header-lang-sep { color: rgba(0,0,0,0.15); font-weight: 400; user-select: none; }
/* On hero: light text */
#header.on-hero .header-lang-btn,
#header.menu-hidden .header-lang-btn { color: rgba(255,255,255,0.85); text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 2px 12px rgba(0,0,0,0.8); }
#header.on-hero .header-lang-btn:hover,
#header.menu-hidden .header-lang-btn:hover { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 2px 14px rgba(0,0,0,0.9); }
#header.on-hero .header-lang-btn.active,
#header.menu-hidden .header-lang-btn.active { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 2px 14px rgba(0,0,0,0.9); }
#header.on-hero .header-lang-sep,
#header.menu-hidden .header-lang-sep { color: rgba(255,255,255,0.35); text-shadow: 0 1px 4px rgba(0,0,0,0.8); }
.header-logo a {
    display: flex;
    align-items: center;
}
.header-logo img {
    height: 36px;
}
.header-logo .logo-light { display: none; }
.header-logo .logo-dark { display: block; }

/* GNB Menu - clustered by default, spreads on hover (Hanwha-style) */
.gnb-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    /* leave (collapse) fast */
    transition: gap 0.2s ease;
}
.gnb-menu.spread {
    gap: 40px;
    /* enter (spread) slower */
    transition: gap 0.4s cubic-bezier(0.22,1,0.36,1);
}
.gnb-menu > li { position: relative; }
/* On hover (spread state), all lis take the widest natural width (e.g. TECHNOLOGY)
   so column highlights / outlines / submenus line up uniformly */
.gnb-menu.spread > li { min-width: var(--gnb-li-width, auto); }
.gnb-menu > li > a {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    padding: 28px 0;
    display: block;
    text-align: center;
    transition: color var(--transition);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: 'Jost', var(--font-primary);
}
.gnb-menu > li > a:hover,
.gnb-menu > li.active > a,
.gnb-menu > li.current > a {
    color: var(--color-primary);
}
#header.scrolled .gnb-menu > li > a:hover,
#header.scrolled .gnb-menu > li.active > a,
#header.scrolled .gnb-menu > li.current > a {
    color: var(--color-primary);
}

/* LNB (Sub Navigation - Dark-glass Slide In on Hover) */
.lnb-wrapper {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: var(--scrollbar-w, 0px);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1002;
}

.lnb-wrapper.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.lnb-inner {
    position: relative;
    padding: 16px 0 24px;
    min-height: 240px;
}
.lnb-cols {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 200px;
}
.lnb-col {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.lnb-col a {
    position: relative;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    padding: 6px 0;
    text-align: center;
    white-space: nowrap;
    transition: color 0.2s;
}
.lnb-col a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1a6aff;
    transition: width 0.28s cubic-bezier(0.22,1,0.36,1);
}
.lnb-col a:hover { color: #fff; }
.lnb-col a:hover::after { width: 100%; }
.lnb-group-title { color: rgba(255,255,255,0.95); }

/* 메인페이지 히어로 벗어난 상태(스크롤 후): lnb-wrapper 흰 배경, 글씨 검정 */
body:has(.main-page) #header:not(.on-hero) .lnb-wrapper {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
body:has(.main-page) #header:not(.on-hero) .gnb-menu > li::before {
    background: transparent;
}
body:has(.main-page) #header:not(.on-hero) .lnb-col a {
    color: #111;
}
body:has(.main-page) #header:not(.on-hero) .lnb-col a::after {
    background: #1a6aff;
}
body:has(.main-page) #header:not(.on-hero) .lnb-col a:hover {
    color: #000;
}
body:has(.main-page) #header:not(.on-hero) .lnb-group-title {
    color: #111;
}

/* Inline LNB: 스크롤 업으로 헤더 다시 나올 때 현재 페이지 서브메뉴만 가로 일렬 */
.lnb-wrapper.inline .lnb-inner {
    min-height: 0;
    padding: 10px 0 12px;
}
.lnb-wrapper.inline .lnb-cols {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
    flex-wrap: nowrap;
}
.lnb-wrapper.inline .lnb-col {
    display: none;
    position: static;
    top: auto;
    left: auto !important;
    width: auto !important;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
}
.lnb-wrapper.inline[data-current="about"]    .lnb-col[data-parent="about"],
.lnb-wrapper.inline[data-current="technology"] .lnb-col[data-parent="technology"],
.lnb-wrapper.inline[data-current="business"] .lnb-col[data-parent="business"] {
    display: flex;
}
.lnb-wrapper.inline .lnb-col a {
    font-size: 14px;
    padding: 2px 0;
    opacity: 0;
    transform: translateY(-4px);
    animation: lnbInlineIn 0.35s ease forwards;
}
.lnb-wrapper.inline .lnb-col a:nth-child(1) { animation-delay: 0.02s; }
.lnb-wrapper.inline .lnb-col a:nth-child(2) { animation-delay: 0.06s; }
.lnb-wrapper.inline .lnb-col a:nth-child(3) { animation-delay: 0.10s; }
.lnb-wrapper.inline .lnb-col a:nth-child(4) { animation-delay: 0.14s; }
.lnb-wrapper.inline .lnb-col a:nth-child(5) { animation-delay: 0.18s; }
@keyframes lnbInlineIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Lordin-style GNB hover: vertical column highlight only ===== */
/* Raise header-inner above LNB backdrop so column highlights & text sit on top */
.header-inner { z-index: 1001; }

/* Per-column outline: short horizontal line under each main menu + vertical divider between cols
   (fades in on menu-open, aligned with 160px column highlight width, height matches longest submenu area) */
.gnb-menu > li::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 240px;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    pointer-events: none;
    z-index: 1;
    transition: border-color 0.3s ease;
}

/* 서브페이지/비히어로: 기존 흰 헤더 유지 */
#header:not(.on-hero).menu-open {
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.35s ease;
}
#header:not(.on-hero).menu-open .gnb-menu > li::after {
    border-top-color: rgba(0,0,0,0.07);
    border-right-color: rgba(0,0,0,0.05);
}
#header:not(.on-hero).menu-open .gnb-menu > li:last-child::after {
    border-right-color: transparent;
}



/* LNB pointer-events (공통) */
#header.menu-open .lnb-wrapper { pointer-events: none; }
#header.menu-open .lnb-wrapper .lnb-inner { pointer-events: auto; }

/* Vertical column highlight — extends li's width by ±20px each side so adjacent columns
   meet exactly at the gap midpoint (spread gap=40px, so 20+20=40 fills the gap) */
.gnb-menu > li::before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: -20px;
    right: -20px;
    height: 0;
    background: rgba(6, 20, 46, 0.28);
    pointer-events: none;
    z-index: -1;
    /* leave (collapse) fast */
    transition: height 0.25s ease;
}
.gnb-menu.spread > li:hover::before,
.gnb-menu.spread > li.active::before {
    /* enter (expand) slower for nice sweep — stays visible while li is .active
       (JS keeps .active on the last-hovered li so the column bar persists when
       the pointer moves down into the submenu area) */
    transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    height: 100vh;
}

/* Gradient underline on hovered/current GNB item */
.gnb-menu > li > a { position: relative; }
.gnb-menu > li > a::after {
    content: '';
    position: absolute;
    left: -20px;
    right: -20px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #3d87f5 0%, #78d2ff 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.gnb-menu.spread > li:hover > a::after,
.gnb-menu.spread > li.active > a::after { transform: scaleX(1); }

/* ===== Overview-style intro (shared across sub-pages; extracted from about.jsp) ===== */
.pv-eyebrow {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #3d87f5;
    text-transform: uppercase;
    margin: 0 0 20px;
    font-family: 'Jost', var(--font-primary);
}
.pv-eyebrow.light { color: #6bb0ff; }

.pv-intro {
    max-width: 1600px;
    margin: 0 auto;
    padding: 160px 80px 0;
}
.pv-intro-head {
    text-align: center;
    margin-bottom: 100px;
}
.pv-intro[data-reveal] { opacity: 1; transform: none; }
.pv-intro-head > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.pv-intro.is-visible .pv-intro-head > * { opacity: 1; transform: translateY(0); }
.pv-intro.is-visible .pv-intro-head > *:nth-child(1) { transition-delay: 0.15s; }
.pv-intro.is-visible .pv-intro-head > *:nth-child(2) { transition-delay: 0.35s; }
.pv-intro.is-visible .pv-intro-head > *:nth-child(3) { transition-delay: 0.55s; }
.pv-intro-sub {
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 500;
    color: var(--color-dark);
    margin: 0 0 20px;
}
.pv-intro-title {
    font-size: clamp(28px, 3.8vw, 48px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.025em;
    color: var(--color-dark);
    margin: 0;
    word-break: keep-all;
}
@media (max-width: 768px) {
    .pv-intro { padding: 80px 24px 0; }
    .pv-intro-head { margin-bottom: 60px; }
}

/* ===== Sticky sub-nav: refined light glass bar that slides in on scroll-up =====
   No transform on the bar or its children (transforms trigger a compositing layer
   that renders at integer subpixels, which can blur small text/glass content).
   Use top for slide animation instead. */
.sticky-nav {
    position: fixed;
    top: -100px;
    left: 0;
    right: var(--scrollbar-w, 0px);
    z-index: 1001;
    padding: 12px 40px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: top 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.25s, visibility 0.25s;
    pointer-events: none;
}
.sticky-nav.active {
    top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* Breadcrumb → dark text for light glass */
.sticky-nav .pv-hero-breadcrumb {
    color: rgba(0, 0, 0, 0.6);
    font-size: 13px;
}
.sticky-nav .pv-hero-breadcrumb i { color: rgba(0, 0, 0, 0.5); }
.sticky-nav .pv-hero-breadcrumb .sep { color: rgba(0, 0, 0, 0.25); opacity: 1; }
/* Outline pill → dark border + dark text */
.sticky-nav .pv-hero-pill {
    min-width: 160px;
    padding: 9px 18px;
    font-size: 14px;
    background: transparent;
    border-color: rgba(0, 0, 0, 0.18);
    color: #1a1a1a;
}
.sticky-nav .pv-hero-pill:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.3);
}
/* Primary pill keeps brand color */
.sticky-nav .pv-hero-pill.primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.sticky-nav .pv-hero-pill.primary:hover { background: #0d5db0; border-color: #0d5db0; }
/* Dropdowns open downward */
.sticky-nav .pv-hero-pill-menu {
    top: calc(100% + 8px);
    bottom: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .sticky-nav { padding: 10px 16px; gap: 12px; flex-wrap: wrap; }
    .sticky-nav .pv-hero-pill { min-width: 120px; padding: 8px 14px; font-size: 13px; }
    .sticky-nav .pv-hero-breadcrumb { font-size: 12px; gap: 6px; }
}

/* ===== To-Top Bar (푸터 위 고정 버튼) ===== */
.totop-bar {
    display: flex;
    align-items: center;
    padding: 20px 40px 36px;
}
.totop-bar::before,
.totop-bar::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.1);
}
.totop-bar-btn {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border: 1px solid #d4d8de;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: border-color 0.25s ease, color 0.25s ease;
}
.totop-bar-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Back to Top button */
.to-top-btn {
    position: fixed;
    right: 24px;
    bottom: 32px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(20,30,55,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.to-top-btn.show {
    opacity: 0.55;
    visibility: visible;
    transform: translateY(0);
}
.to-top-btn.show:hover { opacity: 1; background: var(--color-primary); color: #fff; }

/* ===== Footer ===== */
/* ===== Footer (sitemap columns style) ===== */
#footer {
    background: #0b1426;
    color: rgba(255, 255, 255, 0.72);
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px 40px;
}

/* Top area: brand + nav columns */
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand { max-width: 320px; }
.footer-logo img {
    height: 32px;
    margin-bottom: 20px;
}
.footer-tagline {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    word-break: keep-all;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.4fr;
    gap: 40px;
}
.footer-col h5 {
    font-family: 'Jost', var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #6bb0ff;
    text-transform: uppercase;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.78);
    word-break: keep-all;
}
.footer-col a {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: color 0.25s ease;
}
.footer-col a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: #6bb0ff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-col a:hover { color: #fff; }
.footer-col a:hover::after { transform: scaleX(1); }
.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}
.footer-contact li:last-child {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.65;
    white-space: normal;
}

/* Bottom area: compact info + certifications */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-info p {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin: 0;
}
.footer-copyright {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-top: 4px !important;
}
.footer-sep {
    display: inline-block;
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.25);
}
.footer-certifications {
    display: flex;
    gap: 10px;
    align-items: center;
}
.footer-certifications img {
    height: 28px;
    border-radius: 4px;
    opacity: 0.75;
    transition: opacity 0.25s ease;
}
.footer-certifications img:hover { opacity: 1; }
.footer-cert-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.65);
    white-space: nowrap;
    transition: border-color 0.25s, color 0.25s;
}
.footer-cert-badge:hover { border-color: rgba(255,255,255,0.6); color: rgba(255,255,255,0.95); }

/* Subpage footer — same dark style (kept for legacy selector) */
#wrap:not(.main-page) #footer {
    background: #0b1426;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-logo .logo-dark { display: none; }
.footer-logo .logo-light { display: block; }
#wrap:not(.main-page) .client-rolling {
    background: #fff;
    border-top: 1px solid #e0e0e0;
}

/* Client Logo Rolling */
.client-rolling {
    padding: 30px 0;
    overflow: hidden;
    background: rgba(8, 12, 24, 0.6);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.client-rolling-track {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: rolling 60s linear infinite;
    width: max-content;
}
.client-rolling-track img {
    height: 48px;
    width: auto;
    max-width: 180px;
    max-height: 48px;
    padding: 8px 16px;
    background: #fff;
    border: none;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: contain;
}
@keyframes rolling {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Section Common ===== */
.section-label {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    word-break: keep-all;
}
.section-desc {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.8;
    max-width: 960px;
    margin: 0 auto;
    word-break: keep-all;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* View More Button */
.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 12px 32px;
    border-radius: 30px;
    transition: all var(--transition);
    margin-top: 40px;
}
.btn-view-more:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.btn-view-more i { font-size: 15px; }

/* ===== Card Styles ===== */
.card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.card-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.card-body { padding: 20px; }
.card-tag {
    font-size: 15px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 8px;
}
.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.4;
    margin-bottom: 8px;
}
.card-text {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.5;
}
.card-date {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-top: 12px;
}

/* ===== Stats Counter ===== */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 50px;
    font-weight: 900;
    color: var(--color-dark);
    line-height: 1;
}
.stat-number .suffix {
    font-size: 34px;
    font-weight: 700;
}
.stat-label {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* ===== Tab Navigation ===== */
.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 40px;
}
.tab-nav li {
    flex: 1;
    text-align: center;
}
.tab-nav li a {
    display: block;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-muted);
    position: relative;
    transition: color var(--transition);
}
.tab-nav li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.tab-nav li.active a {
    color: var(--color-dark);
}
.tab-nav li.active a::after {
    transform: scaleX(1);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== Responsive ===== */
@media (max-width: 1280px) {
    /* Slight shrink, English still visible */
    .gnb-menu { gap: 36px; }
}
@media (max-width: 1100px) {
    .gnb-menu { gap: 24px; }
    .gnb-menu > li > a { font-size: 19px; }
    .gnb-en { font-size: 14px; }
}
@media (max-width: 1024px) {
    .safe-zone { padding: 0 24px; }
    .section-title { font-size: 30px; }
    .section-label { font-size: 18px; }
    .stats-row { gap: 40px; }
    .stat-number { font-size: 38px; }
    .gnb-menu { gap: 20px; }
    .gnb-menu > li > a { font-size: 18px; }
    .lnb-inner { gap: 40px; }
}
@media (max-width: 900px) {
    .gnb-menu { gap: 14px; }
    .gnb-en { display: none; }
}

/* Hamburger button (hidden on desktop, shown at <=768px) */
.header-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    margin-left: 8px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 1001;
}
.header-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s, background 0.2s;
}
#header.on-hero .header-menu-btn span,
#header.menu-hidden .header-menu-btn span { background: #fff; }
#header.mobile-open .header-menu-btn span { background: var(--color-dark); }
#header.on-hero.mobile-open .header-menu-btn span { background: #fff; }
#header.mobile-open .header-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#header.mobile-open .header-menu-btn span:nth-child(2) { opacity: 0; }
#header.mobile-open .header-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    :root { --header-height: 60px; }
    .safe-zone { padding: 0 16px; }
    .section-title { font-size: 22px; }
    .section-label { font-size: 16px; }
    .section-desc { font-size: 15px; }
    .stats-row {
        flex-wrap: wrap;
        gap: 24px;
    }
    .stat-item { min-width: 120px; }
    .stat-number { font-size: 30px; }
    .header-inner { padding: 0 16px; }
    .header-logo img { height: 24px; }
    .header-lang { width: auto; font-size: 13px; margin-left: auto; }
    .header-lang-btn { padding: 3px 5px; }
    .gnb-en { display: none; }
    .lnb-wrapper { display: none !important; }

    /* 햄버거 버튼 표시 */
    .header-menu-btn { display: flex; }

    /* 모바일 슬라이드 패널 */
    .header-inner nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-height));
        background: rgba(255,255,255,0.98);
        padding: 24px 20px 40px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    #header.mobile-open .header-inner nav { transform: translateX(0); }
    #header.on-hero .header-inner nav { background: rgba(8,12,24,0.97); }

    .gnb-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: stretch;
    }
    .gnb-menu > li { border-bottom: 1px solid rgba(0,0,0,0.08); }
    #header.on-hero .gnb-menu > li { border-bottom-color: rgba(255,255,255,0.12); }
    .gnb-menu > li > a {
        display: block;
        padding: 16px 8px;
        font-size: 18px;
        font-weight: 600;
    }
    #header.on-hero .gnb-menu > li > a { text-shadow: none; }
    body.no-scroll { overflow: hidden; }

    .footer-inner { padding: 60px 20px 32px; }
    .footer-top { grid-template-columns: 1fr; gap: 48px; padding-bottom: 40px; }
    .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
    .footer-info p {
        font-size: 13px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    .footer-sep { margin: 0 6px; }
    .footer-certifications { flex-wrap: wrap; }
    .footer-certifications img { height: 26px; }
}

