@charset "utf-8";

/* 1. 헤더를 처음에 완전히 숨김 — FontFace.load() 완료 전 시스템폰트 노출 차단 */
.header {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s ease;
}

/* 2. 폰트 로드 완료(fonts-loaded) 확인 후 헤더 노출 */
.fonts-loaded .header {
    opacity: 1 !important;
    visibility: visible !important;
}

.hanja { font-family: 'Noto Serif KR', serif; font-weight: 700; }

/* ==========================================================
   CSS 변수 — 브랜드 컬러 · 간격 통일 관리
   ========================================================== */
:root {
    --brand-navy:    #052f67;
    --brand-blue:    #00a8ff;
    --brand-dark:    #0b111e;
    --section-pad:   120px;
    --section-pad-sm: 60px;
    --inner-max:     1440px;
    --inner-pad:     40px;
    /* 그레이 스케일 — 유사 회색 통일 */
    --gray-line:     #dde3ec;   /* 테두리·구분선 */
    --gray-bg:       #f4f7fb;   /* 카드·섹션 배경 */
    --gray-bg-deep:  #eef2f8;   /* 스켈레톤·hover 배경 */
    --gray-text-sub: #777;      /* 보조 텍스트 - WCAG AA 준수 */
    --gray-text-dim: #444;      /* 중간 텍스트 - WCAG AAA 준수 */
}

/* ==========================================================
   1. 기본 초기화
   ========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #111;
    line-height: 1.6;
    background: #fff;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}


a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, button, textarea { font-family: inherit; border: none; outline: none; }
button { background: none; cursor: pointer; }

/* ── 키보드 포커스 표시 — 마우스 클릭 시에는 표시 안 됨 ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 3px;
}

.inner { max-width: var(--inner-max); margin: auto; padding: 0 var(--inner-pad); position: relative; z-index: 1; }

.pc-br { display: block; }
.m-br  { display: none; }
.pc-indent { display: inline; }

/* ==========================================================
   2. 티스토리 툴바
   ========================================================== */
div.menu_toolbar, #tistorytoolbarid, .tistory-toolbar {
    display: block; position: fixed; top: 15px; right: 20px;
    z-index: 999999; visibility: visible; opacity: 1;
    width: auto; min-width: 300px; height: auto; max-width: none;
}
.tistory-toolbar .btn_menu_toolbar { max-width: none; white-space: nowrap; }
.tistory-toolbar .txt_state { max-width: none; text-overflow: clip; white-space: nowrap; display: inline-block; }

/* ==========================================================
   2-1. 티스토리 자체 UI 숨김
   ========================================================== */
#comment, .comment_wrap, .wrap_comment,
.area_comment, #cmt_wrap, .cmt_wrap,
.tt_comments, #tt-body-comment,
.entry-comment, .comment-list,
.comments-area, #commentForm { display: none !important; }

.reaction_wrap, .wrap_reaction, .area_reaction,
.likeit_wrap, .wrap_likeit,
.tt-likeit, .btn_likeit, .container_likeit,
.tt_like, .sympathy, .wrap_sympathy,
[class*="likeit"], [class*="sympathy"],
[class*="reaction"] { display: none !important; }

.share_wrap, .wrap_share, .area_share,
.tt_share, .btn_share, .container_share,
[class*="share"] { display: none !important; }

.subscribe_wrap, .wrap_subscribe,
.btn_subscribe, .tt_subscribe,
[class*="subscribe"] { display: none !important; }

.tag_wrap, .wrap_tag, .area_tag,
.container_tag, .tt_tags,
[class*="tag_area"] { display: none !important; }

.prev_next_article_wrap,
.article_prev_next,
.prevnext_post,
#prevnext, .prevnext { display: none !important; }

.area_publisher, .publisher_wrap,
.tt_publisher, .kakao_publisher,
[class*="publisher"] { display: none !important; }

.sidebar .widget, .widget_wrap,
.tt_widget, [class*="tt_widget"] { display: none !important; }

.tt_ad, .ad_wrap, [class*="kakao_ad"],
[id*="kakao_ad"], .adfit { display: none !important; }

.revenue_unit_wrap,
.wrap_btn_post,
.btn_post,
.sympathy_container,
.area_sympathy,
.container_sympathy,
#tistoryReaction,
.tistory-reaction,
.post-reaction,
.wrap_kk,
.wrap-sympathy { display: none !important; }
.container_postbtn,
.postbtn_like,
.wrap_postbtn,
.area_postbtn { display: none !important; }

/* ==========================================================
   3. 공통 섹션 & 타이포그래피
   ========================================================== */
section { padding: var(--section-pad) 0; }

.bg-gray { background: linear-gradient(180deg, #fcfcfd 0%, #f0f4f8 100%); }
.bg-dark { background: linear-gradient(180deg, #09111e 0%, #051a3a 100%); color: #fff; }
.section-projects.bg-gray { background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%); }

.design-grid-bg { position: relative; overflow: hidden; }
.design-grid-bg::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(to right, rgba(0,0,0,0.025) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.025) 1px, transparent 1px);
    background-size: 150px 150px; pointer-events: none; z-index: 0;
}
.design-grid-bg::after {
    content: ''; position: absolute; top: 0; left: 5%; right: 5%; bottom: 0;
    border-left: 1px solid rgba(0,0,0,0.03); border-right: 1px solid rgba(0,0,0,0.03);
    pointer-events: none; z-index: 0;
}

.section-title { text-align: center; margin-bottom: 80px; position: relative; z-index: 1; }

.eng-title {
    font-size: 58px;
    font-weight: 800;
    color: #111;
    letter-spacing: 3px;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
}
.bg-dark .eng-title { color: #fff; }
.section-title p { font-size: 20px; color: #444; font-weight: 500; }

.animated-title .eng-title { display: inline-block; position: relative; padding-bottom: 15px; margin-bottom: 20px; }
.animated-title .eng-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--brand-navy);
    transition: width 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.25s;
}
.bg-dark .animated-title .eng-title::after { background: var(--brand-blue); }
.animated-title[data-aos].aos-animate .eng-title::after { width: 80px; }

/* ==========================================================
   4. 스크롤 인터랙션
   ========================================================== */
#scrollProgressBar {
    position: fixed; top: 0; left: 0; width: 0%; height: 3px;
    background: var(--brand-blue);
    z-index: 99999999; transition: width 0.1s ease-out;
}
@media (min-width: 769px) {
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { 
        background: linear-gradient(to bottom, 
            transparent 0px, transparent 8px,
            #ccc 8px, #ccc 9px, 
            transparent 9px, transparent 10px,
            #ccc 10px, #ccc 11px,
            transparent 11px, transparent 12px,
            #f1f1f4 12px, #f1f1f4 calc(100% - 12px),
            transparent calc(100% - 12px), transparent calc(100% - 11px),
            #ccc calc(100% - 11px), #ccc calc(100% - 10px),
            transparent calc(100% - 10px), transparent calc(100% - 9px),
            #ccc calc(100% - 9px), #ccc calc(100% - 8px),
            transparent calc(100% - 8px), transparent 100%
        );
    }
    ::-webkit-scrollbar-thumb { background: #666; border-radius: 5px; }
    ::-webkit-scrollbar-thumb:hover { background: #555; }
    ::-webkit-scrollbar-button:vertical:start:decrement {
        display: block;
        height: 12px;
        background: linear-gradient(135deg, transparent 50%, #999 50%),
                    linear-gradient(225deg, transparent 50%, #999 50%);
        background-size: 50% 100%;
        background-position: left, right;
        background-repeat: no-repeat;
    }
    ::-webkit-scrollbar-button:vertical:end:increment {
        display: block;
        height: 12px;
        background: linear-gradient(45deg, transparent 50%, #999 50%),
                    linear-gradient(315deg, transparent 50%, #999 50%);
        background-size: 50% 100%;
        background-position: left, right;
        background-repeat: no-repeat;
    }
}

.img-lazy { 
    opacity: 0; 
    transform: translateY(30px); 
    filter: blur(5px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                filter 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); 
}
.img-lazy.loaded { 
    opacity: 1; 
    transform: translateY(0);
    filter: blur(0);
}

.img-parallax-wrap { overflow: hidden; }
.parallax-img { transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); transform: scale(1.2); }
.parallax-img.is-visible { transform: scale(1); }

/* ==========================================================
   5. 헤더
   ========================================================== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; height: 108px;
    background: #ffffff; z-index: 10000;
    transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header.scrolled {
    height: 80px;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 10px 15px -3px rgba(0,0,0,0.03);
}

.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 100%; max-width: var(--inner-max); margin: auto; padding: 0 var(--inner-pad);
}



/* 로고 */
.logo a { display: flex; align-items: center; color: var(--brand-navy); transition: opacity 0.3s; }

.logo-icon {
    overflow: hidden;
    width: 0;
    margin-right: 0;
}
.logo-icon img,
.logo-img {
    height: 58px; width: auto; display: block; position: relative; top: 0;
    transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.logo-text-wrap { display: flex; flex-direction: column; justify-content: center; margin-left: 0; }

.logo-text { font-size: 26px; font-weight: 800; letter-spacing: -1px; line-height: 1.1;
    transition: font-size 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.logo-ju { font-size: 0.78em; }
.ko-ju { font-size: 0.78em; }
.logo-eng  { font-size: 12.8px; font-weight: 600; color: #444; letter-spacing: 0.3px; margin-top: 2px;
    transition: opacity 0.3s, max-height 0.4s, visibility 0.3s; max-height: 20px; overflow: hidden; visibility: visible; }

/* SAMJUNG 워드마크 — 기본 숨김, 스크롤 시 등장 */
.logo-samjung {
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: var(--brand-navy);
    letter-spacing: 4px;
    padding-left: 15px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease, visibility 0.4s;
    white-space: nowrap;
}

/* 스크롤 시: 한글명 숨김 + 영문명 숨김 + SAMJUNG 등장 */
.header.scrolled .logo-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    margin: 0;
}
.header.scrolled .logo-eng {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    visibility: hidden;
}
.header.scrolled .logo-img {
    height: 0;
}
.header.scrolled .logo-samjung {
    opacity: 1;
    max-height: 40px;
    visibility: visible;
}

/* GNB */
.gnb ul { display: flex; gap: 50px; }
.gnb > ul > li { position: relative; height: 108px; display: flex; align-items: center; transition: height 0.4s; }
.header.scrolled .gnb > ul > li { height: 80px; }
.gnb > ul > li > a { font-size: 18px; font-weight: 700; color: #111; position: relative; padding: 10px 0; transition: color 0.3s, transform 0.25s; }
.gnb > ul > li > a:hover { transform: translateY(-1px); }
.gnb > ul > li > a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--brand-navy); transition: width 0.4s cubic-bezier(0.76, 0, 0.24, 1); }
.gnb > ul > li > a:hover::after { width: 100%; }

/* 2. 로고 부분 깜빡임 및 위치 틀어짐 방지 */
.header .inner h1 a, 
.header .inner .logo a { /* 본인 스킨의 로고 클래스에 맞게 적용됨 */
    font-family: 'Pretendard Variable', sans-serif !important;
    font-display: block !important;
    /* 폰트가 바뀔 때 글자 폭 차이로 인한 흔들림 방지 */
    letter-spacing: -0.03em; 
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================
   6. GNB 현재 페이지 활성화
   ========================================================== */
.gnb > ul > li > a.gnb-active {
    color: var(--brand-navy);
    font-weight: 800;
}
.gnb > ul > li > a.gnb-active::after {
    width: 100% !important;
    background: var(--brand-navy);
    height: 3px;
}
.m-gnb > ul > li > a.gnb-active {
    color: var(--brand-navy);
    font-weight: 900;
}

/* 헤더 유틸 */
.header-util { display: flex; align-items: center; gap: 20px; }
.header-search { display: flex; align-items: center; border-bottom: 2px solid #111; padding-bottom: 5px; margin-right: 15px; }
.header-search input { width: 130px; background: transparent; font-size: 15px; font-weight: 500; transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.header-search input:focus { width: 180px; }
.header-search button { display: flex; align-items: center; color: #111; padding-left: 5px; transition: transform 0.2s ease-out; }
.header-search button:hover { transform: scale(1.1); }

/* 모바일 햄버거 — 三 스타일 (오른쪽 정렬, 왼쪽 길이 차등) */
.mobile-menu-toggle { display: none; width: 28px; height: 22px; position: relative; z-index: 10001; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.mobile-menu-toggle .bar { display: block; height: 2.5px; background-color: #111; border-radius: 1px; transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1); transform-origin: right center; }
.mobile-menu-toggle .bar-1 { width: 90%; }
.mobile-menu-toggle .bar-2 { width: 70%; }
.mobile-menu-toggle .bar-3 { width: 100%; }
.mobile-menu-toggle.active .bar-1 { width: 100%; transform: translateY(9.75px) rotate(-45deg); }
.mobile-menu-toggle.active .bar-2 { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.active .bar-3 { width: 100%; transform: translateY(-9.75px) rotate(45deg); }

/* 모바일 오버레이 */
.mobile-dim { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s; }
.mobile-dim.active { opacity: 1; visibility: visible; }
.mobile-overlay {
    position: fixed; top: 0; right: 0; width: 63%; max-width: 310px; height: 100vh;
    background: #fff; z-index: 10000; padding: 55px 24px 35px;
    transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 40px rgba(0,0,0,0.1);
    display: flex; flex-direction: column;
}
.mobile-overlay.active { transform: translateX(0); }

.mobile-close-btn {
    position: absolute; top: 18px; right: 20px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: #f5f5f5; border-radius: 50%;
    cursor: pointer; transition: background 0.2s;
    border: none;
}
.mobile-close-btn:hover { background: #e8eef6; }
.mobile-close-btn svg { width: 18px; height: 18px; stroke: #333; }

.mobile-search-box { margin-bottom: 30px; border-bottom: 2px solid #111; padding-bottom: 8px; }
.mobile-search-box s_search { display: flex; flex-direction: row; flex-wrap: nowrap; width: 100%; align-items: baseline; gap: 8px; }
.mobile-search-box input { flex: 1; min-width: 0; background: transparent; font-size: 15px; font-weight: 500; }
.mobile-search-box button { color: #111; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.m-gnb > ul > li { border-bottom: 1px solid #eee; }
.m-gnb > ul > li > a { display: block; font-size: 20px; font-weight: 800; color: #111; padding: 20px 0; }

/* ==========================================================
   7. 히어로 슬라이더
   ========================================================== */
.hero-slider-wrap { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; background: #fff; margin-bottom: 0; }
/* Swiper FOUC 방지: JS 초기화 전 슬라이드 텍스트 노출 차단 */
.heroSwiper:not(.swiper-initialized) .swiper-slide { visibility: hidden; }
.heroSwiper:not(.swiper-initialized) .swiper-wrapper { height: 100vh; min-height: 600px; overflow: hidden; }
.swiper-full { width: 100%; height: 100%; }
.slide-bg { width: 100%; height: 100%; background-size: cover; position: relative; }

.slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(5,47,103,0.25) 0%,
        rgba(5,47,103,0.35) 40%,
        rgba(0,0,0,0.55) 100%
    );
    z-index: 1; pointer-events: none;
}

.slide-content { position: absolute; top: 42%; left: 10%; transform: translateY(-50%); color: #fff; z-index: 5; max-width: 80%; }

/* 클립 마스크 래퍼 */
.slide-title-wrap { overflow: hidden; margin-bottom: 20px; }
.slide-sub-wrap   { overflow: hidden; display: flex; align-items: center; gap: 14px; }

.slide-title {
    font-size: clamp(28px, 5vw, 60px); font-weight: 900; line-height: 1.3;
    word-break: keep-all;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4); letter-spacing: -0.5px;
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif;
    opacity: 0;
    transform: translateY(110%);
    transition: opacity 0.01s,
                transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-sub {
    font-size: clamp(14px, 2vw, 20px); font-weight: 400;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3); letter-spacing: 2px;
    opacity: 0;
    transform: translateY(110%);
    transition: opacity 0.01s,
                transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-sub-line {
    display: block; flex-shrink: 0;
    width: 0; height: 1px;
    background: rgba(255,255,255,0.7);
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.swiper-slide-active .slide-title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.01s,
                transform 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}
.swiper-slide-active .slide-sub {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.01s,
                transform 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.85s;
}
.swiper-slide-active .slide-sub-line {
    width: 32px;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}
html:not(.fonts-loaded) .slide-title,
html:not(.fonts-loaded) .slide-sub { opacity: 0 !important; transform: translateY(110%) !important; }

.swiper-pagination-hero { bottom: 40px; }
.swiper-pagination-bullet { background: #fff; opacity: 0.6; width: 10px; height: 10px; border-radius: 0; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.swiper-pagination-bullet-active { opacity: 1; background: var(--brand-blue); width: 35px; box-shadow: 0 2px 10px rgba(0,168,255,0.5); }

/* ── 히어로 슬라이드 카운터 (모바일 전용) ── */
.hero-slide-counter {
    display: none;
    position: absolute;
    bottom: 48px; right: 20px;
    z-index: 11;
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px; font-weight: 400;
    color: rgba(255,255,255,0.38);
    letter-spacing: 2px;
    text-shadow: none;
    pointer-events: none;
    line-height: 1;
}
.hero-slide-counter .counter-cur {
    font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.38);
}



/* 스크롤 인디케이터 */
.hero-scroll-indicator {
    position: absolute;
    bottom: 44px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    z-index: 10; cursor: pointer;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hero-scroll-indicator.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.hero-scroll-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px; font-weight: 700;
    color: #fff; letter-spacing: 5px; text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-scroll-line {
    width: 2px; height: 56px;
    background: linear-gradient(to bottom, #fff, rgba(255,255,255,0));
    box-shadow: 0 0 8px rgba(255,255,255,0.4);
    animation: heroScrollLine 1.8s cubic-bezier(0.76, 0, 0.24, 1) 1.8s infinite;
    transform-origin: top;
}

@keyframes heroScrollLine {
    0%   { transform: scaleY(0); opacity: 1; transform-origin: top; }
    50%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
    51%  { transform: scaleY(1); opacity: 1; transform-origin: bottom; }
    100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}
.hero-scroll-indicator.hidden {
    opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
}

/* 히어로 화살표 */
.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 56px; height: 56px;
    background: transparent; backdrop-filter: none;
    border: none; box-shadow: none; color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hero-nav:hover { background: rgba(0,168,255,0.25); transform: translateY(-50%) scale(1.08); }
.hero-nav:focus, .hero-nav:focus-visible { outline: none !important; box-shadow: none !important; }
.hero-prev { left: 40px; }
.hero-next { right: 40px; }

/* ==========================================================
   8. SAMJUNG PRINCIPLE 섹션
   ========================================================== */
.section-stats { padding: 80px 0 120px; border-top: 5px solid var(--brand-navy); position: relative; overflow: hidden; }

.stats-bg-section {
    background: url('/images/B-2.webp') no-repeat center center / cover;
}
@media (min-width: 769px) {
    .stats-bg-section { background-attachment: fixed; }
}

.stats-bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5, 47, 103, 0.85); z-index: 1; }
.stats-inner { position: relative; z-index: 2; }

.principle-hero { text-align: center; max-width: 900px; margin: 0 auto 90px; }

.principle-label-wrap { display: inline-block; position: relative; margin-bottom: 24px; }
.vision-label-wrap    { display: inline-block; position: relative; margin-bottom: 24px; }

.principle-label {
    display: inline-block; font-size: 12px; font-weight: 600;
    color: #fff; letter-spacing: 3px; margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3); padding: 6px 16px;
}

.principle-title { font-size: 44px; font-weight: 900; line-height: 1.2; color: #fff; margin-bottom: 24px; }
.principle-line { width: 0; height: 2px; background: var(--brand-blue); margin: 0 auto 22px; transition: width 1.0s cubic-bezier(0.76, 0, 0.24, 1) 0.4s; }
.principle-hero.aos-animate .principle-line,
[data-aos].aos-animate .principle-line { width: 60px; }
.principle-sub { font-size: 15px; color: rgba(255,255,255,0.75); letter-spacing: 1px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; text-align: center; }

.stat-item {
    position: relative; padding: 60px 30px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(7, 18, 36, 0.92); border: 1px solid rgba(0, 168, 255, 0.3);
    backdrop-filter: blur(10px); box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-item:hover { background: rgba(10, 25, 50, 1); border-color: var(--brand-blue); transform: translateY(-10px); }
.stat-item:last-child::after { display: none; }

.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800; color: var(--brand-blue); text-shadow: 0 0 15px rgba(0,168,255,0.3); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 25px; }
.stat-main-text { font-size: 22px; font-weight: 700; color: #ffffff; margin-bottom: 15px; letter-spacing: -0.5px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.stat-divider { width: 30px; height: 2px; background: var(--brand-blue); opacity: 0.8; margin-bottom: 15px; }
.stat-sub-text { font-size: 16px; color: #cbd5e0; line-height: 1.7; font-weight: 300; }

/* ==========================================================
   9. 엔지니어링 프로세스
   ========================================================== */
.process-combined-grid { display: flex; flex-direction: column; gap: 50px; margin-top: 60px; }
.process-row { display: flex; justify-content: center; align-items: center; gap: 20px; }

.process-card { flex: 1; max-width: 380px; background: #fff; border: 1px solid #eaeaea; position: relative; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.process-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--brand-navy); transition: width 0.6s cubic-bezier(0.76, 0, 0.24, 1); }
.process-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(5,47,103,0.08); border-color: transparent; }
.process-card:hover::after { width: 100%; }

.step-badge { position: absolute; top: 16px; left: 16px; background: var(--brand-navy); color: #fff; padding: 4px 14px; font-size: 11px; font-weight: 800; letter-spacing: 1px; border-radius: 100px; box-shadow: 0 4px 12px rgba(5,47,103,0.25); z-index: 10; }

.process-card .img-box { position: relative; width: 100%; height: 260px; overflow: hidden; background: #f8f9fa; }
.process-card .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; }
.process-card .img-box::after { content: ''; position: absolute; inset: 0; background: rgba(5,47,103,0); transition: background 0.5s; z-index: 1; pointer-events: none; }
.process-card:hover .img-box img { transform: scale(1.08); }
.process-card:hover .img-box::after { background: rgba(5,47,103,0.08); }

.img-eng-title { position: absolute; bottom: 0; left: 0; background: rgba(5,47,103,0.95); color: #fff; padding: 10px 20px; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; z-index: 10; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.process-card:hover .img-eng-title { background: var(--brand-blue); padding-left: 28px; padding-right: 28px; }

.process-card .txt-box { padding: 45px 35px; text-align: left; }
.process-card .txt-box h4 { font-size: 22px; font-weight: 800; color: #111; margin-bottom: 15px; }
.process-card .txt-box p { font-size: 15px; color: #666; line-height: 1.6; word-break: keep-all; }

.process-arrow { display: flex; align-items: center; justify-content: center; width: 40px; }
.process-arrow svg { width: 32px; height: 32px; stroke: var(--brand-navy); opacity: 0.5; }
.process-arrow.arrow-flow-down svg { opacity: 0.9; }

/* ==========================================================
   10. Featured Projects
   ========================================================== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    position: relative; z-index: 1;
}

.p-text-block {
    grid-column: 1 / 3; grid-row: 1 / 2;
    background: var(--brand-navy); color: #fff; padding: 40px 50px;
    display: flex; flex-direction: column; justify-content: center;
    box-shadow: 0 20px 40px rgba(5,47,103,0.25);
}
.p-text-block .eng-word { font-size: 14px; font-weight: 800; letter-spacing: 2px; color: var(--brand-blue); margin-bottom: 10px; }
.p-text-block h3 { font-size: 34px; font-weight: 800; line-height: 1.3; margin-bottom: 15px; letter-spacing: -1px; }
.p-text-block p { font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.9); line-height: 1.6; margin-bottom: 25px; word-break: keep-all; }

.btn-base {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; padding: 14px 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer; letter-spacing: -0.2px;
}
.btn-more {
    display: inline-block; color: #fff;
    border-bottom: 2px solid rgba(0,168,255,0.5); padding-bottom: 4px;
    font-weight: 700; font-size: 15px; align-self: flex-start;
    transition: border-color 0.4s cubic-bezier(0.76, 0, 0.24, 1), color 0.3s, transform 0.3s;
}
.btn-more:hover { 
    color: var(--brand-blue); 
    border-bottom-color: var(--brand-blue);
    transform: translateY(-2px);
}

.p-item { position: relative; overflow: hidden; background: #000; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.p-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0.85; }
.p-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(transparent, rgba(0,35,82,0.95)); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; opacity: 0; transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.p-overlay span { color: var(--brand-blue); font-size: 13px; font-weight: 800; border: 1px solid var(--brand-blue); padding: 6px 12px; align-self: flex-start; margin-bottom: 15px; transform: translateY(20px); transition: transform 0.4s 0.1s cubic-bezier(0.25, 0.8, 0.25, 1); }
.p-title { color: #fff; font-size: clamp(16px, 1.5vw, 22px); font-weight: 800; transform: translateY(20px); transition: transform 0.4s 0.2s cubic-bezier(0.25, 0.8, 0.25, 1); }
.p-item:hover img { transform: scale(1.1); opacity: 0.58; }
.p-item:hover .p-overlay { opacity: 1; }
.p-item:hover .p-overlay span, .p-item:hover .p-title { transform: translateY(0); }

.p-item.i-large  { grid-column: 3 / 5; grid-row: 1 / 3; }
.p-item.i-normal:nth-child(3) { grid-column: 1 / 2; grid-row: 2 / 3; }
.p-item.i-normal:nth-child(4) { grid-column: 2 / 3; grid-row: 2 / 3; }
.p-item.i-wide:nth-child(5)   { grid-column: 1 / 3; grid-row: 3 / 4; }
.p-item.i-wide:nth-child(6)   { grid-column: 3 / 5; grid-row: 3 / 4; }

.p-item::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--brand-blue); transition: width 0.6s cubic-bezier(0.76, 0, 0.24, 1); z-index: 30; }
.p-item:hover::after { width: 100%; }

/* PC 전용 — p-swipe-row grid 배치 */
.p-swipe-row { display: contents; }
.p-swipe-row .p-item.i-large               { grid-column: 3 / 5; grid-row: 1 / 3; }
.p-swipe-row .p-item.i-normal:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 3; }
.p-swipe-row .p-item.i-normal:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
.p-swipe-row .p-item.i-wide:nth-child(4)   { grid-column: 1 / 3; grid-row: 3 / 4; }
.p-swipe-row .p-item.i-wide:nth-child(5)   { grid-column: 3 / 5; grid-row: 3 / 4; }

/* ==========================================================
   11. Latest Insights
   ========================================================== */
.section-latest-news { padding: 120px 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; position: relative; z-index: 1; }
.news-card { display: block; cursor: pointer; position: relative; padding-bottom: 8px; }
.news-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--brand-blue); transition: width 0.6s cubic-bezier(0.76, 0, 0.24, 1); z-index: 30; }
.news-card:hover::after { width: 100%; }
.news-img-box { position: relative; display: block; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #000; margin-bottom: 25px; }
.news-img-box img { position: relative; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; z-index: 1; display: block; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.news-img-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5,47,103,0.75); opacity: 0; transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 10; pointer-events: none; }
.news-skeleton { pointer-events: none; }
.news-skel-img {
    background: linear-gradient(90deg, #eef2f8 25%, #dde5f0 50%, #eef2f8 75%);
    background-size: 200% 100%; animation: skeleton-shimmer 1.4s infinite;
    aspect-ratio: 4/3; /* 실제 이미지 비율 */
}
.news-skel-date {
    display: block; height: 14px; width: 90px; /* 날짜 실제 크기 */
    background: linear-gradient(90deg, #eef2f8 25%, #dde5f0 50%, #eef2f8 75%);
    background-size: 200% 100%; animation: skeleton-shimmer 1.4s infinite;
    border-radius: 6px; margin-bottom: 12px;
}
.news-skel-title {
    height: 24px; width: 85%; /* 제목 실제 높이 */
    background: linear-gradient(90deg, #eef2f8 25%, #dde5f0 50%, #eef2f8 75%);
    background-size: 200% 100%; animation: skeleton-shimmer 1.4s infinite;
    border-radius: 6px; margin-bottom: 8px;
}
/* 제목 2줄 표현 */
.news-skel-title-line2 {
    height: 24px; width: 60%;
    background: linear-gradient(90deg, #eef2f8 25%, #dde5f0 50%, #eef2f8 75%);
    background-size: 200% 100%; animation: skeleton-shimmer 1.4s infinite;
    border-radius: 6px;
}
.news-img-box::after { content: 'VIEW DETAIL'; position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1px; opacity: 0; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 20; pointer-events: none; }
.news-card:hover .news-img-box::before { opacity: 1; }
.news-card:hover .news-img-box::after { opacity: 1; }
.news-card:hover .news-img-box img { transform: scale(1.06); }
.news-date { display: block; font-size: 13px; font-weight: 600; color: var(--gray-text-sub); margin-bottom: 10px; letter-spacing: 0.3px; }
.news-card .news-title { font-size: 22px; font-weight: 800; color: #111; line-height: 1.4; word-break: keep-all; transition: color 0.25s; }
.news-card:hover .news-title { color: var(--brand-navy); }

/* ==========================================================
   12. 비전 CTA
   ========================================================== */
.section-vision-cta { position: relative; padding: 180px 0; text-align: center; overflow: hidden; }
.vision-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('/images/B-1.webp'); background-size: cover; background-position: center; z-index: 0; }
@media (min-width: 769px) {
    .vision-bg { background-attachment: fixed; }
}
.vision-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(5,47,103,0.9) 0%, rgba(0,0,0,0.75) 100%); z-index: 1; }
.vision-content { position: relative; z-index: 2; color: #fff; }
.vision-label {
    display: inline-block; font-size: 12px; font-weight: 600;
    color: #fff; letter-spacing: 3px; margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3); padding: 6px 16px;
}

.vision-title { font-size: 44px; font-weight: 900; line-height: 1.3; margin-bottom: 25px; letter-spacing: -1.5px; word-break: keep-all; text-shadow: 0 10px 30px rgba(0,0,0,0.5); display: inline-block; position: relative; padding-bottom: 20px; }
.vision-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--brand-blue);
    transition: width 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.25s;
}
.vision-title-wrap[data-aos].aos-animate .vision-title::after { width: 80px; }
.vision-desc { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 50px; font-weight: 400; }
.vision-btn-wrap { margin-top: 30px; }

.btn-vision-cta { display: inline-block; background: var(--brand-blue); color: #fff; font-size: 18px; font-weight: 800; padding: 20px 50px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); border: 2px solid transparent; }
.btn-vision-cta:hover { background: transparent; color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,168,255,0.25); border-color: rgba(255,255,255,0.7); }

/* ==========================================================
   13. 서브페이지 공통
   ========================================================== */
#sub-content { padding: 0 0 150px; min-height: 80vh; background-color: #f8f9fa; position: relative; }
#sub-content::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(to right, rgba(0,0,0,0.02) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.02) 1px, transparent 1px); background-size: 150px 150px; pointer-events: none; z-index: 0; }

.subpage-hero { position: relative; width: 100%; height: 450px; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; z-index: 1; padding: 0 20px; }
.subpage-hero .hero-overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,15,40,0.65); z-index: 1; }
.subpage-hero .hero-text-box { position: relative; z-index: 2; color: #fff; margin-top: 50px; }
.subpage-hero .eng-title-sm {
    display: block; font-size: 15px; font-weight: 700; color: var(--brand-blue);
    letter-spacing: 4px; margin-bottom: 15px; text-transform: uppercase;
    opacity: 0; transform: translateY(12px);
    animation: heroSeqIn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0.15s forwards;
}
.subpage-hero h2 {
    font-size: 48px; font-weight: 900; letter-spacing: -2px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5); word-break: keep-all; line-height: 1.2;
    opacity: 0; transform: translateY(18px);
    animation: heroSeqIn 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) 0.35s forwards;
}
@keyframes heroSeqIn {
    to { opacity: 1; transform: translateY(0); }
}

.page-nav-divider { position: sticky; top: 108px; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-line); z-index: 9000; box-shadow: 0 10px 20px rgba(0,0,0,0); transition: box-shadow 0.3s; margin-bottom: 50px; }
.header.scrolled ~ #wrap .page-nav-divider { top: 80px; }
.page-nav-divider.is-stuck { box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-bottom-color: transparent; }
.nav-inner-flex { display: flex; justify-content: space-between; align-items: center; padding: 0 40px; height: 72px; position: relative; }

/* 프로젝트 탭 바 */
.project-tabs-divider {
    background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--gray-line);
    position: sticky; top: 108px; z-index: 9000; margin-bottom: 50px;
    backdrop-filter: blur(10px);
}
.project-tabs-divider::before, .project-tabs-divider::after { display: none; }
.project-tabs-divider .nav-inner-flex { padding: 0 40px; height: 72px; position: relative; z-index: 1; }
.project-tabs-divider .project-tabs-grid li a.tab-btn {
    background: transparent; border: none; border-bottom: 3px solid transparent;
    color: var(--gray-text-sub); box-shadow: none;
}
.project-tabs-divider .project-tabs-grid li a.tab-btn:hover {
    color: #111; border-bottom-color: #ccc; background: transparent;
    transform: none; box-shadow: none;
}
.project-tabs-divider .project-tabs-grid li a.tab-btn.active {
    color: #111; background: transparent; border-color: var(--brand-navy);
    box-shadow: none; font-weight: 800;
}
.project-tabs-divider .project-tabs-grid li a.tab-btn.active::before { display: none; }
.project-tabs-divider.is-stuck { box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.support-tabs { display: flex; width: 100%; max-width: 1200px; margin: 0 auto; gap: 10px; justify-content: center; align-items: center; }
.support-tabs.align-left { justify-content: flex-start; max-width: 100%; }
.support-tabs .tab-btn, .support-tabs li a.tab-btn { flex: 1; display: flex; justify-content: center; align-items: center; font-size: 18px; font-weight: 700; padding: 0; height: 52px; color: var(--gray-text-sub); border-bottom: 3px solid transparent; transition: color 0.25s, border-color 0.25s; background: transparent; text-align: center; white-space: nowrap; position: relative; }
/* 고객지원 탭 구분선 */
.support-tabs .tab-btn + .tab-btn::before { content: ''; position: absolute; left: -5px; top: 50%; transform: translateY(-50%); width: 1px; height: 18px; background: var(--gray-line); }
.support-tabs.align-left .tab-btn { flex: none; padding: 0 10px; margin: 0 30px; height: 52px; }
.support-tabs .tab-btn:hover { color: #111; border-bottom-color: #ccc; }
.support-tabs .tab-btn.active { color: #111; border-bottom-color: var(--brand-navy); }
/* 고객지원 탭만 — 짧은 밑줄 */
.support-tabs:not(.align-left):not(.project-tabs-grid) > .tab-btn {
    border-bottom-color: transparent !important;
}
.support-tabs:not(.align-left):not(.project-tabs-grid) > .tab-btn::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px; background: transparent; 
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.25s;
}
.support-tabs:not(.align-left):not(.project-tabs-grid) > .tab-btn:hover::after {
    width: 35%; background: #ccc;
}
.support-tabs:not(.align-left):not(.project-tabs-grid) > .tab-btn.active::after {
    width: 38%; background: var(--brand-navy);
}

.project-tabs-grid {
    display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
    gap: 0; width: 100%; max-width: 1200px; margin-bottom: 0; padding: 0;
}
.project-tabs-grid li { flex: 0 0 auto; }
.project-tabs-grid li a.tab-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 18px; height: 52px; min-width: auto;
    font-size: 16px; font-weight: 700; letter-spacing: 0;
    color: var(--gray-text-sub); background: transparent; border: none; border-radius: 0;
    border-bottom: 3px solid transparent;
    white-space: nowrap; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: none; flex: none; margin: 0 6px;
}
.project-tabs-grid li a.tab-btn:hover {
    color: #111; border-bottom-color: #ccc; background: transparent;
    box-shadow: none; transform: none;
}
.project-tabs-grid li a.tab-btn.active {
    color: #111; background: transparent; border-color: var(--brand-navy);
    box-shadow: none; font-weight: 800;
}
.project-tabs-grid li a.tab-btn.active::before { display: none; }
.project-tabs-grid li:first-child a.tab-btn { font-weight: 800; letter-spacing: 0.5px; }
/* 프로젝트 탭: 전체보기 뒤 구분선 */
.project-tabs-grid li:first-child {
    position: relative; margin-right: 12px; padding-right: 18px;
}
.project-tabs-grid li:first-child::after {
    content: ''; position: absolute; right: 0; top: 50%;
    transform: translateY(-50%); width: 1px; height: 20px;
    background: var(--gray-line);
}
@media (max-width: 768px) {
    .project-tabs-grid li:first-child::after { display: none; }
    .project-tabs-grid li:first-child { margin-right: 0; padding-right: 0; }
}


/* ==========================================================
   14. 갤러리 & 지원 패널
   ========================================================== */
.default-list-title { display: none; }
.is-search-result-page .default-list-title { display: block; font-size: 22px; font-weight: 800; color: #111; letter-spacing: -0.5px; margin-bottom: 40px; }
.is-search-result-page .default-list-title span { font-size: 16px; font-weight: 600; color: var(--gray-text-sub); margin-left: 6px; }
#tistory-paging { display: none; }
.is-project-page #tistory-paging,
.is-search-result-page #tistory-paging { display: block; }
.paging {
    display: flex; justify-content: center; align-items: center;
    gap: 6px; padding: 60px 0 20px; flex-wrap: wrap;
}
.paging a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 14px;
    font-size: 14px; font-weight: 700; color: var(--gray-text-dim);
    background: #fff; border: 1px solid var(--gray-line); border-radius: 100px;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.3px; text-decoration: none;
}
.paging a:hover {
    color: var(--brand-navy); border-color: var(--brand-navy); background: #f0f5ff;
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(5,47,103,0.1);
}
.paging a.num.on,
.paging a.num[style*="font-weight:bold"],
.paging a[aria-current] {
    background: var(--brand-navy); color: #fff; border-color: var(--brand-navy);
    box-shadow: 0 4px 14px rgba(5,47,103,0.25);
}
.paging a.no_more,
.paging a.no_more_prev,
.paging a.no_more_next { opacity: 0.3; pointer-events: none; }
.gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 28px); position: relative; z-index: 1;
}
.gallery-item { background: #fff; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #eee; transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.gallery-item:hover { transform: translateY(-8px); box-shadow: 0 15px 25px rgba(0,0,0,0.1); border-color: #111; }
.gallery-item .img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--gray-bg-deep); }
.gallery-item .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s, opacity 0.4s; opacity: 0; }
.gallery-item .img-wrap img.loaded { opacity: 1; }
.gallery-item .img-wrap::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, #eef2f8 25%, #dde5f0 50%, #eef2f8 75%);
    background-size: 200% 100%; animation: skeleton-shimmer 1.4s infinite;
    z-index: 1; transition: opacity 0.3s;
}
.gallery-item .img-wrap.img-loaded::before { opacity: 0; pointer-events: none; }
@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.gallery-item .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(5,47,103,0.88) 0%, rgba(5,47,103,0.55) 50%, rgba(5,47,103,0.2) 100%); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 5; }
.gallery-item .view-detail { color: #fff; border: 1px solid #fff; padding: 10px 20px; font-size: 13px; font-weight: 700; transform: translateY(15px); transition: transform 0.2s ease-out, opacity 0.2s; letter-spacing: 1px; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item:hover .view-detail { transform: translateY(0); }
.gallery-item .text-wrap { padding: 12px 18px; min-height: auto; }
.gallery-item .title { font-size: 16px; font-weight: 800; color: #111; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; word-break: keep-all; min-height: auto; }

.gallery-empty {
    grid-column: 1 / -1; text-align: center; padding: 80px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.gallery-empty-icon { opacity: 0.5; margin-bottom: 6px; }
.gallery-empty-title { font-size: 18px; font-weight: 800; color: #444; letter-spacing: -0.3px; }
.gallery-empty-desc { font-size: 15px; color: var(--gray-text-sub); line-height: 1.6; }
.gallery-empty-btn {
    margin-top: 10px; display: inline-flex; align-items: center;
    padding: 10px 24px; font-size: 14px; font-weight: 700;
    color: var(--brand-navy); border: 1.5px solid var(--brand-navy); border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-empty-btn:hover { background: var(--brand-navy); color: #fff; transform: translateY(-2px); }


.support-panel { display: none; animation: fadeUp 0.5s; }
.support-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.support-panel-inner { padding: 20px 0; }
.panel-sub-title { font-size: 28px; font-weight: 800; color: #111; margin-bottom: 10px; letter-spacing: -1px; }
.panel-sub-desc { font-size: 18px; color: var(--gray-text-dim); margin-bottom: 30px; border-bottom: 1px dashed #ddd; padding-bottom: 25px; }

.faq-list { border-top: 3px solid #111; }
.consult-border-top,
.location-border-top { border-top: 3px solid #111; margin-bottom: 40px; }
.faq-item { border-bottom: 1px solid #eee; display: flex; flex-direction: column; }
.faq-q { padding: 35px 20px 20px; font-size: 20px; font-weight: 800; color: #111; text-align: left; line-height: 1.4; display: flex; align-items: flex-start; cursor: default; }
.faq-q::before { content: 'Q.'; color: var(--brand-blue); font-size: 24px; margin-right: 15px; font-weight: 900; line-height: 1; }
.faq-a { padding: 0 20px 40px 52px; font-size: 17px; line-height: 1.8; color: var(--gray-text-dim); text-align: left; display: block; }

/* ==========================================================
   15. 하단 문의 & 지도 & 폼
   ========================================================== */
.pre-footer-section { padding: 100px 0; background: #fff; border-top: 1px solid #eee; }
.pre-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.pf-title { font-size: 32px; font-weight: 900; color: #111; margin-bottom: 10px; letter-spacing: -1px; }
.pf-desc { font-size: 16px; color: #666; margin-bottom: 40px; }
.dc-card-wrap { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.dc-card { display: flex; align-items: center; gap: 20px; border: 1px solid var(--gray-line); padding: 30px; background: #fdfdfd; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.dc-card:hover { border-color: var(--brand-navy); box-shadow: 0 10px 30px rgba(5,47,103,0.08); transform: translateY(-4px); background: #fff; }
.dc-icon { width: 60px; height: 60px; min-width: 60px; background: var(--brand-navy); display: flex; justify-content: center; align-items: center; color: #fff; }
.dc-icon svg { width: 26px; height: 26px; }
.dc-text span { display: block; font-size: 14px; color: #666; margin-bottom: 5px; font-weight: 600; }
.dc-text strong { display: block; font-size: 20px; font-weight: 800; color: #111; line-height: 1.2; }
.messenger-buttons { display: flex; gap: 20px; }
.messenger-buttons a { flex: 1; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 20px; font-size: 18px; font-weight: 800; transition: transform 0.25s ease-out, box-shadow 0.3s; }
.btn-kakao { background: #FEE500; color: #391B1B; }
.btn-kakao:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(254,229,0,0.3); }
.btn-naver { background: #03C75A; color: #fff; }
.btn-naver:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(3,199,90,0.3); }
/* 고객지원 상담탭 채널 래퍼 — mail-form-card(max-width:900px)와 폭 통일 */
.consult-channel-wrap { max-width: 900px; margin: 0 auto; }
/* panel-messengers: 카카오·네이버 가로 2열, 콤팩트 */
.panel-messengers { display: flex; flex-direction: row; gap: 16px; margin-top: 16px; }
.panel-messengers a { flex: 1; justify-content: center; padding: 16px 20px; font-size: 16px; font-weight: 800; gap: 10px; }
.pre-footer-map { height: 100%; min-height: 300px; position: relative; border: 1px solid var(--gray-line); }
.support-panel .panel-map-wrap { height: 600px; position: relative; border: 1px solid var(--gray-line); max-width: 90%; margin: 0 auto; }
.pre-footer-section .panel-map-wrap { height: 450px; position: relative; border: 1px solid var(--gray-line); }
.map-wrap { height: 100%; width: 100%; position: relative; }
.map-address-box { position: absolute; bottom: 20px; left: 20px; background: rgba(255,255,255,0.97); padding: 20px 25px; border-left: 5px solid var(--brand-navy); box-shadow: 0 10px 25px rgba(0,0,0,0.15); max-width: 350px; z-index: 10; }
@media (max-width: 768px) { .map-address-box { backdrop-filter: blur(5px); background: rgba(255,255,255,0.92); } }
.map-address-box strong { display: block; font-size: 18px; font-weight: 800; color: #111; margin-bottom: 5px; }
.map-address-box p { font-size: 14px; color: #444; font-weight: 500; line-height: 1.4; }

.consult-form-container { margin-top: 50px; }
.mail-form-card { background: #ffffff; border: 1px solid #eee; padding: 40px; box-shadow: 0 12px 30px rgba(0,0,0,0.06); border-radius: 8px; max-width: 900px; margin: 0 auto; }
.form-header { margin-bottom: 30px; border-bottom: 1px solid #f5f5f5; padding-bottom: 20px; text-align: left; }
.form-label { color: var(--brand-blue); font-size: 12px; font-weight: 800; letter-spacing: 2px; }
.form-header h4 { font-size: 24px; font-weight: 800; margin: 10px 0; color: #111; }
.form-header p { font-size: 15px; color: #666; }
.form-row-group { display: flex; gap: 20px; }
.input-field { flex: 1; margin-bottom: 20px; text-align: left; position: relative; }
.input-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #333; }
.input-field input, .input-field textarea { width: 100%; padding: 15px; border: 1px solid var(--gray-line); background: #fafafa; font-size: 15px; border-radius: 4px; color: #333; font-family: inherit; outline: none; }
.input-field input:focus, .input-field textarea:focus { border-color: var(--brand-blue); background: #fff; }
.input-field textarea { height: 130px; resize: none; }
.file-guide { background: #f0f7ff; padding: 15px; margin-bottom: 25px; border-left: 4px solid var(--brand-blue); text-align: left; }
.file-guide p { font-size: 13px; color: var(--gray-text-dim); margin-bottom: 4px; }
.file-guide a { color: var(--brand-blue); font-weight: 700; text-decoration: underline; }
.btn-mail-submit { width: 100%; background: var(--brand-navy); color: #fff; padding: 20px; font-size: 18px; font-weight: 700; cursor: pointer; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); border-radius: 4px; font-family: inherit; }
.btn-mail-submit:hover { background: var(--brand-blue); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,168,255,0.25); }
.direct-contact-grid { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }

/* ==========================================================
   16. 회사소개 / 사업분야
   ========================================================== */
.article-wrap, .static-page { padding: 60px 0; }
.article-content { max-width: 900px; margin: 0 auto; line-height: 1.8; font-size: 17px; color: #333; }

html.is-entry-page .article-wrap { padding: 0; }
html.is-entry-page .article-content {
    max-width: none; padding: 0;
    font-size: inherit; line-height: inherit; color: inherit; margin: 0;
}

.premium-page-wrap { max-width: 1040px; margin: 0 auto; padding: 40px 0 80px; }

.ceo-content-flex { display: flex; gap: 80px; align-items: center; }
.ceo-image { flex: 1; display: flex; align-items: center; justify-content: center; }
.ceo-image img { width: 100%; aspect-ratio: 3/4; object-fit: cover; box-shadow: 25px 25px 0px #f4f6f9; }
.ceo-logo-box {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 0; background: transparent; align-self: flex-start; margin-top: 140px;
}
.ceo-logo-box img { aspect-ratio: auto !important; object-fit: contain !important; box-shadow: none !important; max-height: 340px; width: 100%; }

.ceo-text { flex: 1; font-size: 17px; color: #444; line-height: 1.85; word-spacing: 0; letter-spacing: 0; text-align: left; }
.ceo-text .greeting { margin-bottom: 30px; font-weight: 800; color: #111; font-size: 22px; letter-spacing: -0.5px; }
.ceo-text p { margin-bottom: 28px; word-break: keep-all; word-spacing: normal; text-indent: 0; }
.ceo-text p.ceo-p-indent { text-indent: 1em; }

.ceo-quote {
    font-size: 20px; font-weight: 700; color: var(--brand-navy); line-height: 1.8;
    letter-spacing: -0.5px; margin-bottom: 36px !important; word-break: keep-all; text-indent: 0;
}
.ceo-quote::before {
    content: ''; display: block; width: 0; height: 2px;
    background: var(--brand-blue); margin-bottom: 18px;
    animation: lineDrawIn 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.5s forwards;
}
@keyframes lineDrawIn { to { width: 80px; } }
.ceo-signature {
    text-align: right; margin-top: 55px; padding-top: 40px;
    border-top: 1px solid #e0e6ef; position: relative;
}
.ceo-signature::before {
    content: ''; position: absolute; top: -1px; right: 0; width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
}
.ceo-signature > span { display: block; font-size: 20px; font-weight: 800; color: #111; letter-spacing: -0.5px; margin-bottom: 10px; }
.ceo-sig-row { display: flex; align-items: baseline; justify-content: flex-end; gap: 12px; margin-top: 4px; }
.ceo-sig-title { font-size: 18px !important; color: #444 !important; font-weight: 600 !important; margin-bottom: 0 !important; display: inline !important; letter-spacing: 0.5px; }
.ceo-signature strong { font-size: 38px; font-weight: 900; color: var(--brand-navy); letter-spacing: 6px; margin-right: -6px; }

/* 사업분야 카드 그리드 */
.biz-premium-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px; padding: 20px 0 60px; }
.biz-p-card { background: #fff; border: 1px solid #eaeaea; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); position: relative; width: 100%; }
.biz-premium-grid > .biz-p-card:nth-child(1) { grid-column: 1 / 3; }
.biz-premium-grid > .biz-p-card:nth-child(2) { grid-column: 3 / 5; }
.biz-premium-grid > .biz-p-card:nth-child(3) { grid-column: 5 / 7; }
.biz-premium-grid > .biz-p-card:nth-child(4) { grid-column: 2 / 4; }
.biz-premium-grid > .biz-p-card:nth-child(5) { grid-column: 4 / 6; }
.biz-p-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--brand-navy); transition: width 0.6s cubic-bezier(0.76, 0, 0.24, 1); }
.biz-p-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(5,47,103,0.08); border-color: transparent; }
.biz-p-card:hover::after { width: 100%; }
.biz-p-card .img-box { height: 260px; overflow: hidden; background: #f8f9fa; }
.biz-p-card .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.biz-p-card:hover .img-box img { transform: scale(1.08); }
.biz-p-card .txt-box { padding: 45px 35px; }
.biz-p-card .num { display: inline-block; font-size: 14px; font-weight: 900; color: var(--brand-blue); letter-spacing: 1px; margin-bottom: 15px; }
.biz-p-card h4 { font-size: 26px; font-weight: 800; color: #111; margin-bottom: 15px; letter-spacing: -1px; word-break: keep-all; }
.biz-p-card p { font-size: 16px; color: #666; line-height: 1.6; word-break: keep-all; }

/* ==========================================================
   17. 푸터
   ========================================================== */
.footer { background: var(--brand-dark); color: #b0bac9; padding: 54px 0 42px; border-top: 1px solid #222; }
.ft-row {
    display: flex; align-items: flex-start; gap: 48px;
}
.ft-info { margin-left: auto; }
.ft-brand { flex-shrink: 0; }
.ft-brand .ko-name { font-size: 36.5px; font-weight: 800; color: #fff; line-height: 1.2; display: block; letter-spacing: -0.5px; }
.ft-brand .en-slogan { font-size: 13.3px; color: #aaa; font-weight: 400; margin-top: 6px; display: block; letter-spacing: 0.3px; }
.ko-ju { font-size: 0.78em; }
.ft-info { flex: 1; }
.ft-info p { font-size: 15px; margin-bottom: 5px; color: #aaa; line-height: 1.6; font-weight: 300; }
.ft-corp { color: #aaa; font-weight: 300; }
.ft-lbl { color: #aaa; font-weight: 500; margin-right: 3px; }
.ft-sep { color: #aaa; margin: 0 8px; }
.ft-copy { font-size: 12px; color: #aaa; margin-top: 2px; }
.cf-email-link { color: #b0bac9; transition: color 0.3s; }
.cf-email-link:hover { color: var(--brand-blue); }

/* 네이버 N 아이콘 + Workspace */
.ft-sns { flex-shrink: 0; display: flex; align-items: flex-end; align-self: flex-end; gap: 20px; }
.ft-naver-btn {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.ft-naver-btn:hover {
    background: rgba(3,199,90,0.15); border-color: #03C75A;
    transform: translateY(-2px); box-shadow: 0 6px 16px rgba(3,199,90,0.2);
}

/* Workspace 드롭다운 */
.ft-workspace-dropdown { position: relative; }
.ft-workspace-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 20px; font-size: 14px; font-weight: 700;
    color: #c8d1dc; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 0;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px; min-width: 140px; justify-content: center;
}
.ft-workspace-btn:hover {
    background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2);
    color: #fff;
}
.ft-workspace-btn svg {
    transition: transform 0.3s;
}
.ft-workspace-btn.active svg {
    transform: rotate(180deg);
}
.ft-workspace-menu {
    position: absolute; bottom: 100%; right: 0; margin-bottom: 0;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0; min-width: 140px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.4);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 100;
}
.ft-workspace-menu.active {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.ft-workspace-menu a {
    display: block; padding: 14px 18px;
    color: #ccc; font-size: 14px; font-weight: 600;
    transition: all 0.2s;
    border-radius: 0; margin: 0;
}
.ft-workspace-menu a:hover {
    background: rgba(255,255,255,0.08); color: #fff;
}

.cf-email-link { color: inherit; }
.cf-email-link:hover { color: var(--brand-blue); }

/* ── 하단 우측 공지 카드 (PC 전용) ── */
.site-notice-card {
    position: fixed;
    bottom: 100px; right: 40px;
    width: 256px;
    background: #fff;
    border: 1px solid rgba(5,47,103,0.14);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(5,47,103,0.10);
    z-index: 9998;
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1),
                opacity 0.45s cubic-bezier(0.16,1,0.3,1);
}
.site-notice-card.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.site-notice-card.is-hiding {
    transform: translateY(12px);
    opacity: 0;
    pointer-events: none;
}
.snc-top-line {
    height: 2px;
    background: linear-gradient(90deg, #00a8ff 0%, rgba(0,168,255,0.15) 100%);
}
.snc-body {
    padding: 14px 16px 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
}
.snc-dot {
    width: 6px; height: 6px;
    background: #00a8ff;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
}
.snc-texts { flex: 1; }
.snc-label {
    font-size: 10px; font-weight: 800;
    color: #00a8ff;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}
.snc-text {
    font-size: 12.5px; font-weight: 400;
    color: #444;
    line-height: 1.65;
    word-break: keep-all;
}
.snc-close {
    position: absolute; top: 12px; right: 12px;
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-bg);
    border: none; border-radius: 50%;
    cursor: pointer;
    color: #999;
    transition: background 0.2s, color 0.2s;
    padding: 0; flex-shrink: 0;
}
.snc-close:hover { background: var(--gray-bg-deep); color: #333; }
.snc-close svg { display: block; }

/* 모바일: 완전 숨김 */
@media (max-width: 768px) {
    .site-notice-card { display: none !important; }
}

.scroll-top-btn { position: fixed; bottom: 30px; right: 40px; width: 52px; height: 52px; background: #fff; color: var(--brand-navy); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 9999; cursor: pointer; border: 1.5px solid var(--gray-line); border-radius: 50%; box-shadow: 0 4px 18px rgba(5,47,103,0.12); }
.scroll-top-btn.visible { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); transform: translateY(-5px); box-shadow: 0 10px 28px rgba(5,47,103,0.25); }

/* ==========================================================
   18-1. 반응형 — 769px~900px (태블릿 중간 구간)
   ========================================================== */
@media (min-width: 769px) and (max-width: 900px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    .p-text-block { grid-column: 1 / 3; grid-row: 1 / 2; }
    .p-swipe-row .p-item.i-large               { grid-column: 1 / 3; grid-row: 2 / 4; }
    .p-swipe-row .p-item.i-normal:nth-child(2) { grid-column: 1 / 2; grid-row: 4 / 5; }
    .p-swipe-row .p-item.i-normal:nth-child(3) { grid-column: 2 / 3; grid-row: 4 / 5; }
    .p-swipe-row .p-item.i-wide:nth-child(4)   { grid-column: 1 / 3; grid-row: 5 / 6; }
    .p-swipe-row .p-item.i-wide:nth-child(5)   { grid-column: 1 / 3; grid-row: 6 / 7; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================
   18. 반응형 — 1024px 이하
   ========================================================== */
@media (max-width: 1024px) {
    .process-combined-grid { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 15px; padding-bottom: 25px; -webkit-overflow-scrolling: touch; }
    .process-combined-grid::-webkit-scrollbar { display: none; }
    .process-row { display: contents; }
    .process-card { flex: 0 0 85%; max-width: none; scroll-snap-align: center; }
    .process-arrow { display: none; }
}

/* ==========================================================
   19. 반응형 — 900px 이하
   ========================================================== */
@media (max-width: 900px) {
    div.menu_toolbar, #tistorytoolbarid, .tistory-toolbar { display: none; }
    .gnb, .header-search { display: none; }
    .mobile-menu-toggle { display: flex; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .stats-grid { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 15px; padding-bottom: 20px; -webkit-overflow-scrolling: touch; }
    .stats-grid::-webkit-scrollbar { display: none; }
    .stats-grid .stat-item { flex: 0 0 85%; max-width: none; scroll-snap-align: center; }

    .news-grid { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 15px; padding: 10px 20px 30px; -webkit-overflow-scrolling: touch; }
    .news-grid::-webkit-scrollbar { display: none; }
    .news-card { flex: 0 0 82%; scroll-snap-align: center; }
    .news-img-box { aspect-ratio: 16/10; margin-bottom: 15px; }

    .principle-title { font-size: 32px; }
    .principle-hero { margin-bottom: 50px; }

    .ft-row { flex-wrap: wrap; gap: 24px; }
    .ft-brand { width: 100%; }
    .pre-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .project-tabs-grid li { flex: 0 0 auto; }
    .project-tabs-grid li:first-child { flex: 0 0 auto; min-width: auto; }
}

/* ==========================================================
   20. 반응형 — 768px 이하 (모바일)
   ========================================================== */
@media (max-width: 768px) {
    .pc-br { display: none; }
    .m-br  { display: block; }
    .pc-indent { display: none; }
    .header         { height: 80px; }
    .header.scrolled { height: 65px; }
    .gnb > ul > li  { height: 80px; }

    .logo-icon img,
    .logo-img { height: 50px; top: 0; }

    section { padding: var(--section-pad-sm) 0; }
    .slide-content { top: 38%; left: 6%; max-width: 88%; }
    .slide-title { font-size: clamp(22px, 6.5vw, 36px); line-height: 1.35; margin-bottom: 12px; }
    .slide-sub { font-size: clamp(12px, 3.5vw, 16px); letter-spacing: 1px; }
    .hero-slide-counter { display: block; }
    .section-stats { padding: 60px 0; }
    .section-latest-news { padding: 60px 0; }
    .section-vision-cta { padding: 120px 0; }
    .vision-title { font-size: 28px; letter-spacing: -1px; }
    .vision-desc  { font-size: 15px; margin-bottom: 32px; }

        .vision-bg { background-attachment: scroll; }
    .stats-bg-section { background-attachment: scroll; }

    .eng-title { font-size: 32px; margin-bottom: 15px; letter-spacing: 2px; }
    .principle-title { font-size: 28px; line-height: 1.3; margin-bottom: 15px; letter-spacing: -1px; }
    .principle-label { font-size: 12px; letter-spacing: 2px; margin-bottom: 12px; }
    .principle-hero { margin-bottom: 40px; }
    .principle-line { margin: 0 auto 15px; }
    .principle-sub { font-size: 13px; line-height: 1.5; padding: 0 10px; }

    .stat-item { padding: 40px 20px; }
    .stat-num { font-size: 22px; }
    .stat-main-text { font-size: 20px; }
    .stat-sub-text { font-size: 15px; }

    /* Featured Projects 모바일 */
    .section-projects .project-grid {
        display: flex; flex-direction: column; gap: 0;
    }
    .p-text-block {
        width: 100%; min-height: 160px; margin-bottom: 0;
        grid-column: unset; grid-row: unset;
    }
    .p-swipe-row {
        display: flex; flex-direction: row; overflow-x: auto;
        scroll-snap-type: x mandatory; gap: 12px; padding: 15px 0 25px;
        -webkit-overflow-scrolling: touch; width: 100%;
    }
    .p-swipe-row::-webkit-scrollbar { display: none; }
    .p-swipe-row .p-item {
        display: block; flex: 0 0 82%; height: 260px;
        scroll-snap-align: center; grid-column: unset; grid-row: unset;
    }

    .article-wrap, .static-page { padding: 40px 15px; }
    .pre-footer-section .panel-map-wrap, .support-panel .panel-map-wrap { height: 280px; max-width: 100%; }
    .map-address-box { left: 15px; bottom: 15px; padding: 15px; width: calc(100% - 30px); max-width: none; }
    .messenger-buttons { flex-direction: row; gap: 10px; }
    .messenger-buttons a { font-size: 14px; padding: 14px 10px; }
    .pre-footer-grid { gap: 20px; }
    .dc-card { padding: 15px; gap: 12px; flex-wrap: nowrap; }
    .dc-icon { width: 48px; height: 48px; min-width: 48px; }
    .dc-icon svg { width: 20px; height: 20px; }
    .dc-text strong { font-size: 17px; }
    .dc-text span { font-size: 13px; }
    .mail-form-card { padding: 30px 20px; }
    .form-row-group { flex-direction: column; gap: 0; }

    .hero-nav { width: 40px; height: 40px; }
    .hero-prev { left: 12px; }
    .hero-next { right: 12px; }
    .gallery-item:active { transform: scale(0.97); transition: transform 0.1s ease-out; }
    .gallery-item { transition: transform 0.1s ease-out, box-shadow 0.3s; }

    .ft-brand .ko-name { font-size: 31.5px; }
    .ft-brand .en-slogan { font-size: 11.5px; }
    .ft-row { flex-direction: column; gap: 24px; }
    .ft-brand { text-align: center; padding-bottom: 20px; border-bottom: 1px solid #333; }
    .ft-info { margin-left: 0; }
    .ft-info p { font-size: 13px; }
    .ft-copy { font-size: 11px; }
    .ft-sep-email { display: none; }
    .ft-email-wrap { display: block; margin-top: 2px; }
    .ft-sns { margin-top: 8px; align-self: flex-start; }
    .inner { padding: 0 18px; }
    .header-inner { padding: 0 18px; }
    .logo-text { font-size: 21px; }
    .logo-eng  { font-size: 10.8px; font-weight: 600; letter-spacing: 0; } /* 모바일 영문 상호 축소 — 한글 상호보다 길게 나오는 현상 방지 */
    .logo-samjung { font-size: 21px; padding-left: 8px; }

    .scroll-top-btn {
        width: 52px !important; height: 52px !important;
        right: 18px !important; bottom: 22px !important;
    }
    .scroll-top-btn svg { width: 24px !important; height: 24px !important; }

    .news-card:active .news-img-box::after { opacity: 1; }
    .news-card:active .news-img-box::before { opacity: 1; }
    .news-card .news-title { font-size: 18px; line-height: 1.4; }


    /* 갤러리 카드 제목 축소 — 더 많은 글자 표시 */
    .gallery-item .title { font-size: 13px; font-weight: 700; line-height: 1.35; -webkit-line-clamp: 2; }
    .gallery-item .text-wrap { padding: 10px 14px; }
    /* iOS 서브페이지 히어로 */
    .subpage-hero { height: 300px; }
    .subpage-hero h2 { font-size: 36px; }
}

/* ==========================================================
   21. 모바일 카테고리 드롭다운
   ========================================================== */
.mob-cat-trigger { display: none; }

@media (max-width: 768px) {
    /* 21. 모바일 카테고리 드롭다운 */
    .mob-cat-trigger {
        display: inline-flex;
        align-items: center; gap: 8px;
        padding: 10px 16px; margin: 9px 15px;
        background: #fff;
        border: 1.5px solid var(--brand-navy);
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 3px 12px rgba(5,47,103,0.12);
        transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1); width: auto;
    }
    .mob-cat-trigger:hover, .mob-cat-trigger.open {
        background: var(--brand-navy);
        box-shadow: 0 5px 18px rgba(5,47,103,0.22);
    }
    .mob-cat-trigger:hover .trigger-current,
    .mob-cat-trigger.open  .trigger-current { color: #fff; }
    .mob-cat-trigger:hover .mob-cat-filter-icon,
    .mob-cat-trigger.open  .mob-cat-filter-icon { stroke: rgba(255,255,255,0.9); }
    .mob-cat-trigger:hover .mob-cat-arrow svg,
    .mob-cat-trigger.open  .mob-cat-arrow svg { stroke: rgba(255,255,255,0.85); }
    .mob-cat-filter-icon {
        stroke: var(--brand-navy); transition: stroke 0.25s;
        flex-shrink: 0;
    }
    .mob-cat-trigger .trigger-badge { display: none; }
    .mob-cat-trigger .trigger-current { font-size: 14px; font-weight: 700; color: #111; transition: color 0.25s; }
    .mob-cat-arrow {
        width: 14px; height: 14px; display: flex; align-items: center; justify-content: center;
        transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1); color: var(--gray-text-sub);
    }
    .mob-cat-trigger.open .mob-cat-arrow { transform: rotate(180deg); }

    .project-tabs-divider .nav-inner-flex {
        flex-direction: column; align-items: flex-start;
        padding: 0; position: relative; height: auto; min-height: 56px;
    }
    /* 드롭다운 패널 — 1열, 콤팩트 폭, 불투명 */
    .project-tabs-divider .project-tabs-grid {
        display: none;
        position: absolute; top: 100%; left: 15px; z-index: 9999;
        flex-direction: column; flex-wrap: nowrap;
        width: auto; min-width: 140px; max-width: 200px;
        background: #fff;
        border: 1px solid #e0e8f4; border-radius: 10px;
        box-shadow: 0 8px 24px rgba(5,47,103,0.12);
        padding: 6px; gap: 2px;
        margin-bottom: 0; overflow: visible;
    }
    .project-tabs-divider .project-tabs-grid.mob-open {
        display: flex; animation: dropFadeIn 0.18s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    @keyframes dropFadeIn {
        from { opacity: 0; transform: translateY(-5px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .project-tabs-divider .project-tabs-grid li { flex: none; width: 100%; }
    /* 드롭다운 내 탭 버튼 — 왼쪽 가로선 스타일 */
    /* 모바일 드롭다운 active 왼쪽 가로선 */
    .project-tabs-grid li a.tab-btn.active {
        background: transparent; color: var(--brand-navy);
        border-radius: 0; border: none; box-shadow: none;
        border-left: 3px solid var(--brand-navy);
        justify-content: flex-start; padding-left: 14px;
        font-weight: 800;
    }
    .project-tabs-grid li a.tab-btn.active::before { display: none; }
    .project-tabs-grid li a.tab-btn {
        width: 100%; font-size: 13.5px; font-weight: 700;
        padding: 9px 14px; border-radius: 0;
        justify-content: flex-start; text-align: left;
        border: none; box-shadow: none;
        background: transparent; color: #333;
        white-space: nowrap; position: relative;
        border-left: 3px solid transparent;
        transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .project-tabs-grid li a.tab-btn:hover {
        background: transparent; color: #333;
        transform: none; box-shadow: none; border: none;
        border-left: 3px solid #ccc;
    }

}

/* ==========================================================
   22. 회사소개 페이지 전용
   ========================================================== */
.about-page-wrap { padding-bottom: 0; }
.about-section { padding: 80px 0; }
.about-section.about-ceo { padding: 60px 0 100px; background: #fff; }
.about-section.about-values { background: linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%); }

.about-label {
    display: inline-block; font-size: 12px; font-weight: 800;
    color: var(--brand-blue); letter-spacing: 4px; text-transform: uppercase;
    margin-bottom: 18px; padding: 5px 14px;
    border: 1px solid rgba(0,168,255,0.3); background: rgba(0,168,255,0.06);
}
.about-section-header { text-align: center; margin-bottom: 70px; }
.about-section-title { font-size: 42px; font-weight: 900; color: #111; letter-spacing: -1.5px; line-height: 1.25; margin-bottom: 20px; word-break: keep-all; }
.about-section-desc { font-size: 18px; color: var(--gray-text-dim); line-height: 1.7; word-break: keep-all; }

.ceo-header { text-align: center; margin-bottom: 70px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-card {
    background: #fff; border: 1px solid #e8eef6; padding: 50px 40px;
    position: relative; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden;
}
.value-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0;
    background: linear-gradient(180deg, var(--brand-blue), var(--brand-navy));
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.value-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(5,47,103,0.1); border-color: transparent; }
.value-card:hover::before { height: 100%; }
.value-icon { margin-bottom: 20px; }
.value-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 64px; font-weight: 900; color: rgba(5,47,103,0.06);
    line-height: 1; position: absolute; top: 30px; right: 30px; letter-spacing: -2px;
}
.value-title { font-size: 22px; font-weight: 900; color: #111; margin-bottom: 18px; letter-spacing: -0.5px; word-break: keep-all; }
.value-desc { font-size: 16px; color: var(--gray-text-dim); line-height: 1.75; word-break: keep-all; }

/* ==========================================================
   23. 사업분야 페이지 전용
   ========================================================== */
.biz-page-wrap { padding-bottom: 0; }

.biz-intro {
    background: linear-gradient(135deg, var(--brand-navy) 0%, #0a4a9e 100%);
    padding: 100px 40px; text-align: center; position: relative; overflow: hidden;
}
.biz-intro::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,168,255,0.4) 20%, rgba(0,168,255,0.9) 50%, rgba(0,168,255,0.4) 80%, transparent 100%);
}
.biz-intro::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px; pointer-events: none;
}
.biz-intro-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }

.biz-intro-label-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 28px; }
.biz-intro-line { flex: 1; max-width: 60px; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,168,255,0.6)); }
.biz-intro-label-row .biz-intro-line:last-child { background: linear-gradient(90deg, rgba(0,168,255,0.6), transparent); }
.biz-intro-label-text { font-size: 11px; font-weight: 700; color: rgba(0,168,255,0.9); letter-spacing: 4px; text-transform: uppercase; }
.biz-intro-title { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.3; letter-spacing: -1.5px; margin: 0 0 20px; word-break: keep-all; }
.biz-intro-desc { font-size: 18px; color: rgba(255,255,255,0.75); line-height: 1.75; word-break: keep-all; margin-bottom: 0; }

.biz-cards-section { padding: 80px 0; background: #fff; }
.biz-detail-list { margin-top: 20px; padding-top: 20px; border-top: 1px solid #f0f0f0; display: flex; flex-direction: column; gap: 8px; }
.biz-detail-list li { font-size: 14px; color: var(--gray-text-dim); padding-left: 18px; position: relative; line-height: 1.5; }
.biz-detail-list li::before { content: '→'; position: absolute; left: 0; color: var(--brand-blue); font-weight: 700; font-size: 13px; }

.biz-flow-section { padding: 80px 0; background: linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%); }
.biz-flow-grid { display: flex; align-items: stretch; gap: 0; margin-top: 60px; }
.biz-flow-step {
    flex: 1; text-align: center; padding: 40px 25px;
    background: #fff; border: 1px solid #e8eef6; position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-color 0.25s; 
    min-height: 260px;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.biz-flow-step:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(5,47,103,0.08); border-color: var(--brand-blue); }
.flow-num { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: var(--brand-blue); letter-spacing: 1px; margin-bottom: 15px; }
.flow-icon { margin-bottom: 15px; display: flex; justify-content: center; }
.biz-flow-step h5 { font-size: 17px; font-weight: 800; color: #111; margin-bottom: 12px; letter-spacing: -0.3px; }
.biz-flow-step p { font-size: 13px; color: #666; line-height: 1.65; word-break: keep-all; }
.biz-flow-arrow { display: flex; align-items: center; justify-content: center; font-size: 22px; color: #c0cfe0; padding: 40px 5px 0; font-weight: 300; flex-shrink: 0; width: 30px; }

.biz-cta-section { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy) 100%); padding: 100px 40px; text-align: center; position: relative; overflow: hidden; }
.biz-cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at center, rgba(0,168,255,0.15) 0%, transparent 70%); pointer-events: none; }
.biz-cta-inner { position: relative; z-index: 1; }
.biz-cta-label { display: block; font-size: 12px; font-weight: 800; color: var(--brand-blue); letter-spacing: 4px; margin-bottom: 20px; }
.biz-cta-title { font-size: 42px; font-weight: 900; color: #fff; letter-spacing: -1.5px; margin-bottom: 20px; }
.biz-cta-desc { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; line-height: 1.7; word-break: keep-all; }

/* ==========================================================
   24. 회사소개·사업분야 반응형 (768px 이하)
   ========================================================== */
@media (max-width: 768px) {
    .about-section { padding: 60px 0; }
    .about-section-title { font-size: 28px; }
    .about-section-desc { font-size: 16px; }
    .values-grid { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 10px 15px 25px; -webkit-overflow-scrolling: touch; }
    .values-grid::-webkit-scrollbar { display: none; }
    .value-card { flex: 0 0 78%; scroll-snap-align: center; padding: 35px 25px; }
    .value-title { font-size: 22px; }

    .biz-intro { padding: 60px 20px 50px; }
    .biz-intro-title { font-size: 26px; }
    .biz-intro-desc { font-size: 15px; }

    .biz-flow-grid { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 10px 15px 25px; -webkit-overflow-scrolling: touch; align-items: stretch; }
    .biz-flow-grid::-webkit-scrollbar { display: none; }
    .biz-flow-step { flex: 0 0 72%; scroll-snap-align: center; padding: 30px 20px; min-height: 260px; }
    .biz-flow-arrow { display: none; }

    .biz-cards-section { padding: 60px 0; }
    .biz-premium-grid { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 10px 15px 25px; -webkit-overflow-scrolling: touch; }
    .biz-premium-grid::-webkit-scrollbar { display: none; }
    .biz-p-card { flex: 0 0 80%; scroll-snap-align: center; }
    .biz-p-card .txt-box { padding: 30px 20px; }

    .biz-cta-section { padding: 60px 20px; }
    .biz-cta-title { font-size: 26px; }
    .biz-cta-desc { font-size: 15px; }

    .ceo-content-flex { flex-direction: column; gap: 40px; align-items: center; }
    .ceo-logo-box { flex: 0 0 auto; width: 100%; max-width: 280px; }
    .ceo-logo-box img { max-height: 300px; }
    .ceo-image { min-width: 100%; }
    .ceo-image img { box-shadow: 15px 15px 0px #f4f6f9; }
    .about-section.about-ceo { padding: 50px 20px 70px; }
    .premium-page-wrap { padding: 30px 20px 60px; }
    .ceo-text { font-size: 16px; line-height: 1.9; }
    .ceo-text p { margin-bottom: 20px; text-indent: 0; word-break: break-word; }
    .ceo-text .greeting { font-size: 18px; }
    .ceo-quote { font-size: 17px; margin-bottom: 24px !important; }
    .ceo-signature { padding-top: 30px; margin-top: 40px; padding-right: 4px; }
    .ceo-signature > span { font-size: 17px; }
    .ceo-sig-title { font-size: 15px !important; }
    .ceo-signature strong { font-size: 30px; letter-spacing: 4px; }
}

/* ==========================================================
   25. 히어로 슬라이더 화살표 (768px)
   ========================================================== */
@media (max-width: 768px) {
    .hero-nav { width: 40px; height: 40px; }
    .hero-prev { left: 12px; }
    .hero-next { right: 12px; }
    .hero-scroll-indicator { display: none; }
}

/* ==========================================================
   26. 토스트 알림
   ========================================================== */
#samjung-toast {
    position: fixed; bottom: 40px; left: 50%;
    transform: translateX(-50%) translateY(30px);
    min-width: 320px; max-width: 520px;
    padding: 18px 28px; font-size: 15px; font-weight: 600; line-height: 1.6;
    border-radius: 4px; z-index: 999999; opacity: 0; pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center; word-break: keep-all; box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
#samjung-toast.toast-show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
#samjung-toast.toast-success { background: var(--brand-navy); color: #fff; border-left: 4px solid var(--brand-blue); }
#samjung-toast.toast-error { background: #1a0a0a; color: #fff; border-left: 4px solid #ff4d4d; }

/* ==========================================================
   27. 실적 모자이크 무한 마키
   ========================================================== */
.about-section.about-marquee { padding: 80px 0 0; background: #0b111e; overflow: hidden; }
.about-marquee .about-section-header { padding-bottom: 60px; }
.about-marquee .about-section-title { color: #fff; }
.about-marquee .about-section-desc { color: rgba(255,255,255,0.6); }

.marquee-stage { position: relative; width: 100%; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
.marquee-row { display: flex; width: max-content; gap: 12px; will-change: transform; }
.marquee-left  { animation: marquee-left  35s linear infinite; }
.marquee-right { animation: marquee-right 42s linear infinite; }
.marquee-slow  { animation: marquee-left  55s linear infinite; }
.marquee-mid   { animation: marquee-right 48s linear infinite; }

@keyframes marquee-left  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.marquee-row:hover { animation-play-state: paused; }
.marquee-track { display: flex; gap: 12px; }

.mq-item { flex-shrink: 0; width: 260px; height: 175px; overflow: hidden; background: #1a2236; position: relative; }
.mq-item.mq-wide { width: 380px; }
.mq-item.mq-tall { width: 220px; height: 200px; }
.mq-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity 0.4s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); display: block; }
.mq-item:hover img { opacity: 1; transform: scale(1.06); }

.marquee-fade-left, .marquee-fade-right { position: absolute; top: 0; bottom: 0; width: 180px; z-index: 10; pointer-events: none; }
.marquee-fade-left  { left: 0;  background: linear-gradient(to right, #0b111e 0%, transparent 100%); }
.marquee-fade-right { right: 0; background: linear-gradient(to left,  #0b111e 0%, transparent 100%); }

.marquee-overlay-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 20; text-align: center; pointer-events: none;
    background: rgba(11,17,30,0.55); backdrop-filter: blur(6px);
    padding: 28px 50px; border: 1px solid rgba(0,168,255,0.3);
}
.mot-num { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 72px; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -2px; }
.mot-num sup { font-size: 36px; color: var(--brand-blue); vertical-align: baseline; position: relative; top: 0; }
.mot-label { display: block; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.7); letter-spacing: 3px; text-transform: uppercase; margin-top: 8px; }

@media (max-width: 768px) {
    .mq-item { width: 180px; height: 120px; }
    .mq-item.mq-wide { width: 260px; }
    .mq-item.mq-tall { width: 160px; height: 140px; }
    .marquee-fade-left, .marquee-fade-right { width: 60px; }
    .marquee-overlay-text { padding: 18px 28px; }
    .mot-num { font-size: 48px; }
    .mot-num sup { font-size: 24px; vertical-align: baseline; top: 0; }
    .mot-label { font-size: 11px; }
}

/* ==========================================================
   28. 숫자 카드 & 강점 리스트
   ========================================================== */
.about-section.about-numbers { background: #fff; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border: 1px solid #eaeff6; }
.number-card { padding: 50px 40px; background: #fff; position: relative; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s; text-align: center; }
.number-card:hover { background: #f8fafd; }
.number-card + .number-card { border-left: 1px solid #eaeff6; }
.nc-top { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 20px; }
.nc-num { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 900; color: var(--brand-navy); line-height: 1; letter-spacing: 0; }
.nc-unit { font-size: 22px; font-weight: 700; color: var(--brand-blue); }
.nc-divider { width: 30px; height: 2px; background: var(--brand-blue); margin: 0 auto 16px; }
.nc-label { font-size: 15px; font-weight: 800; color: #111; margin-bottom: 10px; letter-spacing: -0.3px; }
.nc-desc { font-size: 14px; color: #666; line-height: 1.65; word-break: keep-all; }

@media (max-width: 768px) {
    .numbers-grid { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 10px 15px 25px; border: none; -webkit-overflow-scrolling: touch; }
    .numbers-grid::-webkit-scrollbar { display: none; }
    .number-card { flex: 0 0 72%; scroll-snap-align: center; padding: 35px 25px; border: 1px solid #eaeff6; border-left: 1px solid #eaeff6 !important; }
    .number-card + .number-card { border-left: 1px solid #eaeff6; }
    .nc-num { font-size: 36px; }
}

/* 강점 리스트 */
.about-section.about-strengths { background: linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%); }
.strength-list { display: flex; flex-direction: column; gap: 0; }
.strength-item { display: flex; gap: 60px; align-items: flex-start; padding: 50px 0; border-bottom: 1px solid #dce6f0; transition: background 0.3s; }
.strength-item:last-child { border-bottom: none; }
.strength-item:hover { background: rgba(5,47,103,0.02); }
.si-left { flex-shrink: 0; width: 120px; text-align: center; padding-top: 8px; }
.si-num { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 48px; font-weight: 900; color: var(--brand-navy); opacity: 0.35; line-height: 1; margin-bottom: 16px; letter-spacing: -1px; }
.si-bar-wrap { width: 100%; height: 3px; background: #dce6f0; border-radius: 2px; overflow: hidden; }
.si-bar { height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue)); border-radius: 2px; transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s; }
.si-right { flex: 1; }
.si-right h5 { font-size: 24px; font-weight: 900; color: #111; margin-bottom: 14px; letter-spacing: -0.5px; }
.si-right p { font-size: 16px; color: var(--gray-text-dim); line-height: 1.8; word-break: keep-all; margin-bottom: 18px; }
.si-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.si-tags span { font-size: 13px; font-weight: 700; color: var(--brand-navy); border: 1px solid rgba(5,47,103,0.25); padding: 5px 12px; background: rgba(5,47,103,0.04); letter-spacing: 0.3px; transition: all 0.2s; }
.si-tags span:hover { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); }

@media (max-width: 768px) {
    .strength-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 10px 15px 25px; -webkit-overflow-scrolling: touch; }
    .strength-list::-webkit-scrollbar { display: none; }
    .strength-item { flex: 0 0 82%; flex-direction: column; scroll-snap-align: center; gap: 20px; padding: 30px 25px; border-bottom: none; border: 1px solid #dce6f0; background: #fff; }
    .si-left { width: 100%; display: flex; align-items: center; gap: 20px; }
    .si-num { margin-bottom: 0; font-size: 36px; }
    .si-bar-wrap { flex: 1; }
    .si-right h5 { font-size: 20px; }
    .si-right p { font-size: 15px; }
}

/* ==========================================================
   29. 위치안내 — 지도 아래 주소박스
   ========================================================== */
.location-info-box { border: 1px solid #e8eef6; border-top: none; background: #fafbfd; padding: 0; overflow: hidden; max-width: 90%; margin: 32px auto 0; }
.loc-row { display: flex; align-items: center; gap: 16px; padding: 14px 24px; border-bottom: 1px solid #e8eef6; min-height: 64px; }
.loc-row:last-child { border-bottom: none; }
.loc-icon { width: 36px; height: 36px; min-width: 36px; background: var(--brand-navy); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.loc-text { display: flex; flex-direction: row; align-items: center; gap: 12px; flex: 1; }
.loc-label { font-size: 14px; font-weight: 700; color: var(--brand-blue); letter-spacing: 1px; text-transform: uppercase; flex-shrink: 0; min-width: 72px; }
.loc-text strong { font-size: 15px; font-weight: 800; color: #111; line-height: 1.4; }
.loc-sub { font-size: 13px; color: #444; font-weight: 600; }
.loc-strong-pc { font-size: 15px; font-weight: 800; color: #111; }
.loc-sub-pc { margin-left: 8px; }
.loc-text-mo { display: none; }
.loc-company-pc { font-size: 15px; font-weight: 800; color: #111; }
.loc-company-mo { display: none; }

@media (max-width: 768px) {
    .loc-row { padding: 12px 16px; gap: 12px; flex-wrap: wrap; }
    .loc-icon { width: 32px; height: 32px; min-width: 32px; }
    .loc-text { flex-wrap: wrap; gap: 4px; width: 100%; }
    .loc-text strong { font-size: 13px; }
    .loc-sub { font-size: 11px; }
    .loc-strong-pc { display: none; }
    .loc-sub-pc { display: none; }
    .loc-text-mo { display: flex; flex-direction: column; gap: 3px; width: 100%; margin-top: 4px; }
    .loc-text-mo strong { font-size: 13px; font-weight: 800; color: #111; }
    .loc-company-pc { display: none; }
    .loc-company-mo { display: inline; font-size: 13px; font-weight: 800; color: #111; }
    .loc-text-mo .loc-sub { font-size: 11px; margin-left: 0; }
    .location-info-box { max-width: 100%; }
}

/* ==========================================================
   30. 회사소개 인트로 박스
   ========================================================== */
.about-intro-section { margin-bottom: 0; padding: 0; }
.about-intro-bg {
    position: relative;
    background: linear-gradient(135deg, #06152b 0%, #0a2448 45%, #071e3d 100%);
    padding: 100px 60px; overflow: hidden; text-align: center;
}
.about-intro-bg::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px; pointer-events: none;
}
.about-intro-bg::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(180,150,80,0.4) 20%, rgba(220,190,110,0.9) 50%, rgba(180,150,80,0.4) 80%, transparent 100%);
}
.about-intro-watermark {
    position: absolute; right: -20px; bottom: -60px; font-size: 280px; font-weight: 900;
    color: rgba(255,255,255,0.025); line-height: 1; letter-spacing: -10px;
    pointer-events: none; user-select: none; font-family: 'Noto Serif KR', serif; font-weight: 700;
}
.about-intro-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.about-intro-label-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 28px; }
.about-intro-line { flex: 1; max-width: 80px; height: 1px; background: linear-gradient(90deg, transparent, rgba(180,150,80,0.7)); }
.about-intro-label-row .about-intro-line:last-child { background: linear-gradient(90deg, rgba(180,150,80,0.7), transparent); }
.about-intro-label { font-size: 11px; font-weight: 700; color: rgba(180,150,80,0.9); letter-spacing: 4px; text-transform: uppercase; }
.about-intro-title { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.3; letter-spacing: -1.5px; margin-bottom: 20px; word-break: keep-all; }
.about-intro-desc { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 0; word-break: keep-all; }

@media (max-width: 768px) {
    .about-intro-bg { padding: 60px 24px; }
    .about-intro-title { font-size: 28px; }
    .about-intro-desc { font-size: 15px; }
    .about-intro-watermark { font-size: 160px; right: -10px; bottom: -30px; }
}

/* ==========================================================
   31. 폼 유효성 검사 스타일
   ========================================================== */
.input-field.field-error input,
.input-field.field-error textarea {
    border-color: #e03131 !important; background: #fff8f8 !important;
    box-shadow: 0 0 0 3px rgba(224,49,49,0.1);
    animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}
.error-msg { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: #e03131; letter-spacing: -0.2px; }
.error-msg::before { content: '⚠ '; font-size: 11px; }

/* 이메일 dc-card strong 폰트 통일 */
#email-dc-card .dc-text strong,
#email-dc-card .dc-text strong .cf-email-reveal {
    font-size: 20px; font-weight: 800; color: #111; word-break: break-all; line-height: 1.2;
}

/* ==========================================================
   32. 프로젝트 게시물 내부 네비게이션
   ========================================================== */
.entry-nav-divider { background: rgba(255,255,255,0.97); border-bottom: 2px solid #f0f2f5; margin-bottom: 0 !important; box-shadow: 0 2px 12px rgba(5,47,103,0.04); }
.entry-nav-inner { min-height: 56px; padding: 0 40px; }
.entry-nav-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #aaa; }
.entry-nav-breadcrumb a { color: var(--gray-text-dim); font-weight: 700; transition: color 0.2s; }
.entry-nav-breadcrumb a:hover { color: var(--brand-navy); }
.entry-breadcrumb-sep { color: #bbb; font-size: 15px; }
.entry-breadcrumb-current { font-weight: 800; color: var(--brand-navy); font-size: 14px; }
.entry-nav-btns { display: flex; gap: 10px; align-items: center; }
.entry-btn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 16px; font-size: 13px; font-weight: 700;
    border-radius: 100px; transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.2px; text-decoration: none;
}
.entry-btn-list { color: #fff; background: var(--brand-navy); border: 1px solid var(--brand-navy); box-shadow: 0 4px 14px rgba(5,47,103,0.18); }
.entry-btn-list:hover { background: var(--brand-blue); border-color: var(--brand-blue); box-shadow: 0 4px 14px rgba(0,168,255,0.25); }
html.is-sub-page .article-wrap { padding-top: 52px; }

@media (max-width: 768px) {
    .entry-nav-divider { border-bottom-width: 1px; }
    .entry-nav-inner { padding: 0 16px !important; min-height: 52px !important; }
    .entry-nav-breadcrumb { font-size: 14px; gap: 5px; }
    .entry-nav-breadcrumb a { font-size: 14px; font-weight: 700; }
    .entry-breadcrumb-sep { font-size: 15px; }
    .entry-breadcrumb-current { font-size: 14px; font-weight: 800; }
    .entry-btn { height: 34px; padding: 0 14px; font-size: 13px; font-weight: 800; }
}

/* ==========================================================
   33. 게시물 공유·출력 버튼
   ========================================================== */
.post-actions-bar { display: none; }
html.is-entry-page .post-actions-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 28px 0 0; margin-top: 48px; border-top: 1px solid #eaeff6;
}
.post-actions-label { font-size: 12px; font-weight: 800; color: #aaa; letter-spacing: 2px; text-transform: uppercase; margin-right: 4px; flex-shrink: 0; }
.post-actions-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; color: var(--gray-text-dim); background: #fff;
    border: 1px solid var(--gray-line); border-radius: 50%; cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; flex-shrink: 0;
}
.post-actions-btn:hover { color: var(--brand-navy); border-color: var(--brand-navy); background: #f0f5ff; box-shadow: 0 4px 12px rgba(5,47,103,0.1); transform: translateY(-1px); }
.post-actions-btn.copied { border-color: #00c896; background: rgba(0,200,150,0.08); box-shadow: 0 0 0 3px rgba(0,200,150,0.2); transform: scale(1.08); }
.post-actions-btn svg { flex-shrink: 0; }

@media (max-width: 768px) {
    .post-actions-bar { gap: 8px; padding-top: 20px; margin-top: 32px; }
    .post-actions-btn { width: 38px; height: 38px; }
}

/* ==========================================================
   34. 인쇄·PDF 최적화
   ========================================================== */
@media print {
    /* 일반 페이지(홈·서브) 여백 */
    @page { size: A4 portrait; margin: 18mm 14mm; }
    *, *::before, *::after {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        animation: none !important; transition: none !important; box-shadow: none !important;
    }
    body { background: #fff !important; color: #111 !important; font-size: 10pt !important; line-height: 1.6 !important; opacity: 1 !important; }
    .header, .mobile-menu-toggle, .mobile-overlay, .mobile-dim,
    .hero-slider-wrap, .hero-nav, .hero-scroll-indicator,
    .section-stats, .section-vision-cta, .section-projects,
    .section-latest-news,
    .pre-footer-section, .footer,
    #scrollProgressBar, #scrollToTop,
    .messenger-buttons,
    .btn-mail-submit, .support-tabs, .page-nav-divider, .tab-btn,
    .post-actions-bar, .entry-nav-divider,
    #samjung-toast, .swiper-pagination, .process-arrow,
    .gallery-item .overlay, .biz-cta-section,
    .biz-flow-section, .map-wrap, .panel-map-wrap,
    [data-aos] { display: none !important; }

    /* 일반 페이지 인쇄 헤더·푸터 */
    body::before {
        content: '(주)삼정엔지니어링\00A0\00B7\00A0Tel. 041-555-8900\00A0\00B7\00A0충청남도 천안시 서북구 검은들3길 34, 403호';
        display: block; font-size: 8.5pt; color: var(--gray-text-dim);
        border-bottom: 2px solid var(--brand-navy); padding-bottom: 7px; margin-bottom: 18px; letter-spacing: 0.2px;
    }
    body::after {
        content: 'www.samjungeng.co.kr';
        display: block; font-size: 8.5pt; color: #999;
        text-align: right; border-top: 1px solid #ddd; padding-top: 7px; margin-top: 18px;
    }
    /* 게시물 페이지: 포스트 템플릿 푸터가 회사정보 대신하므로 body::before/after 완전 제거
       포스트 템플릿 @page(8mm)는 <style> 태그로 후순위 삽입되어 18mm를 덮어씀 — 충돌 없음 */
    html.is-entry-page body::before,
    html.is-entry-page body::after { display: none !important; content: none !important; }

    #sub-content { background: #fff !important; padding: 0 !important; min-height: auto !important; }
    #sub-content::before { display: none !important; }
    .subpage-hero { height: auto !important; background-image: none !important; background: var(--brand-navy) !important; padding: 16px 20px !important; margin-bottom: 20px; }
    .subpage-hero .hero-overlay-dark { display: none !important; }
    .subpage-hero h2 { color: #fff !important; font-size: 18pt !important; opacity: 1 !important; transform: none !important; }
    .subpage-hero .eng-title-sm { color: #aad4ff !important; opacity: 1 !important; transform: none !important; }

    .about-intro-bg { background: var(--brand-navy) !important; padding: 20px 30px !important; }
    .about-intro-title { color: #fff !important; font-size: 18pt !important; }
    .about-intro-desc  { color: rgba(255,255,255,0.8) !important; font-size: 10pt !important; }
    .about-intro-watermark { display: none !important; }

    .ceo-content-flex { flex-direction: row !important; gap: 24px !important; align-items: flex-start !important; }
    .ceo-image { max-width: 160px !important; min-width: 160px !important; }
    .ceo-image img { max-height: 200px !important; object-fit: cover !important; }
    .ceo-quote { font-size: 11pt !important; }
    .ceo-text p { font-size: 9.5pt !important; margin-bottom: 10px !important; }
    .premium-page-wrap { padding: 16px 0 !important; }

    .values-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; overflow: visible !important; }
    .value-card { border: 1px solid #ddd !important; padding: 14px !important; page-break-inside: avoid; flex: none !important; }
    .value-title { font-size: 11pt !important; }
    .value-desc  { font-size: 9pt !important; }
    .value-num   { display: none !important; }

    .numbers-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; overflow: visible !important; border: 1px solid #ddd !important; }
    .number-card { border: none !important; border-right: 1px solid #ddd !important; padding: 14px !important; page-break-inside: avoid; flex: none !important; }
    .nc-num { font-size: 20pt !important; }
    .nc-label { font-size: 9pt !important; }
    .nc-desc  { font-size: 8.5pt !important; }

    .biz-intro { padding: 16px 20px !important; }
    .biz-intro-title { font-size: 16pt !important; color: #fff !important; }
    .biz-intro-desc  { font-size: 9.5pt !important; color: rgba(255,255,255,0.8) !important; }
    .biz-premium-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; overflow: visible !important; padding: 0 !important; width: 100% !important; }
    .biz-premium-grid > .biz-p-card:nth-child(1),
    .biz-premium-grid > .biz-p-card:nth-child(2),
    .biz-premium-grid > .biz-p-card:nth-child(3),
    .biz-premium-grid > .biz-p-card:nth-child(4),
    .biz-premium-grid > .biz-p-card:nth-child(5) { grid-column: auto !important; grid-row: auto !important; }
    .biz-p-card { display: block !important; flex: none !important; width: auto !important; border: 1px solid #ddd !important; border-left: 3px solid var(--brand-navy) !important; background: #fff !important; padding: 14px 16px !important; page-break-inside: avoid; transform: none !important; scroll-snap-align: none !important; }
    .biz-p-card .img-box { display: none !important; }
    .biz-p-card .txt-box { padding: 0 !important; }
    .biz-p-card .num { font-size: 8pt !important; color: var(--brand-blue) !important; font-weight: 700 !important; letter-spacing: 1px !important; display: block !important; margin-bottom: 4px !important; }
    .biz-p-card h4 { font-size: 12pt !important; font-weight: 800 !important; color: var(--brand-navy) !important; margin-bottom: 6px !important; letter-spacing: -0.3px !important; }
    .biz-p-card p { font-size: 8.5pt !important; color: #444 !important; line-height: 1.5 !important; margin-bottom: 6px !important; }
    .biz-detail-list { padding-left: 12px !important; margin-top: 6px !important; padding-top: 6px !important; gap: 4px !important; }
    .biz-detail-list li { font-size: 8.5pt !important; color: #444 !important; line-height: 1.5 !important; padding-left: 14px !important; }

    .consult-form-container { page-break-inside: avoid; }
    .mail-form-card { border: 1px solid #ddd !important; padding: 16px !important; }
    .form-header h4 { font-size: 13pt !important; }
    .input-field input, .input-field textarea { border: 1px solid #ccc !important; background: #fff !important; }
    .location-info-box { display: block !important; }
    .faq-item { page-break-inside: avoid; }
    .faq-q { font-size: 10pt !important; padding: 12px 10px 8px !important; }
    .faq-a { font-size: 9pt !important; padding: 0 10px 14px 36px !important; }

    a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 7.5pt; color: #aaa; }
    a[href^="tel"]::after, a[href^="mailto"]::after, a[href^="/"]::after { content: none !important; }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}
/* ==========================================================
   35. 모바일 터치기기 .tag sticky hover 방지
   ========================================================== */
@media (hover: hover) and (pointer: fine) {
    .tag:hover { background: #052f67; color: #fff; border-color: #052f67; }
}
@media (hover: none) {
    .tag { transition: none; }
    .tag:hover { background: rgba(5,47,103,0.04); color: #052f67; border-color: rgba(5,47,103,0.25); }
}
/* ==========================================================
   36. 전체보기 카테고리 쇼케이스 (v6)
   ========================================================== */

#cat-showcase {
    padding: 0 0 80px;
    display: flex; flex-direction: column;
}
/* 헤더 — 전체 폭 중앙 정렬 */
#cat-showcase .showcase-header {
    width: 100%; text-align: center; padding: 60px 0 48px;
}
/* 네비+콘텐츠 가로 배치 */
.showcase-body {
    display: flex; gap: 0; align-items: flex-start;
}

/* 왼쪽 고정 사이드 네비 */
.showcase-nav {
    position: sticky; top: 50vh; /* 뷰포트 중간 기준 */
    transform: translateY(-50%);
    width: 136px; flex-shrink: 0;
    margin-right: 60px;
    display: flex; flex-direction: column; gap: 2px;
    align-self: flex-start;
}
.showcase-nav-item {
    display: block; font-size: 15px; font-weight: 700;
    color: var(--gray-text-sub); text-decoration: none; letter-spacing: -0.4px;
    padding: 8px 0 8px 14px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.showcase-nav-item:hover { color: #333; border-color: #ccc; }
.showcase-nav-item.active {
    color: var(--brand-navy); border-color: var(--brand-navy);
    font-weight: 900;
}

/* 오른쪽 콘텐츠 */
.showcase-content { flex: 1; min-width: 0; }


.showcase-label {
    display: inline-block; font-size: 11px; font-weight: 700;
    color: var(--brand-blue); letter-spacing: 4px;
    text-transform: uppercase; margin-bottom: 16px;
}
.showcase-title {
    font-size: 38px; font-weight: 900; color: #111;
    letter-spacing: -1.5px; margin-bottom: 12px; line-height: 1.2;
}
.showcase-desc { font-size: 16px; color: #666; }

/* 섹션 세로 나열 */
.showcase-grid { display: flex; flex-direction: column; gap: 0; }

/* 섹션 하나 */
.sc-section {
    display: flex; flex-direction: column;
    padding: 56px 0 64px;
    border-bottom: 1px solid #e8ecf2;
}
.sc-section:last-child { border-bottom: none; padding-bottom: 0; }

/* 섹션 헤더 */
.sc-section-header {
    display: flex; align-items: center; gap: 14px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e4e9f0;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}
/* 헤더 왼쪽 강조 라인 */
.sc-section-header::before {
    content: ''; display: block;
    width: 4px; height: 28px; flex-shrink: 0;
    background: var(--brand-navy); border-radius: 2px;
}
/* 섹션 번호 */
.sc-section-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px; font-weight: 700; color: #ccc;
    letter-spacing: 2px; flex-shrink: 0; margin-left: auto;
    padding-left: 16px;
}
.sc-section-link {
    display: flex; align-items: baseline; gap: 14px;
    flex: 1; text-decoration: none; color: inherit;
}
.sc-section-title {
    font-size: 26px; font-weight: 900; color: #111;
    letter-spacing: -0.8px; line-height: 1;
    transition: color 0.2s;
}
.sc-section-link:hover .sc-section-title { color: var(--brand-navy); }
.sc-section-eng {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px; font-weight: 700; color: #bbb;
    letter-spacing: 3px; text-transform: uppercase;
}
.sc-section-desc {
    font-size: 13px; color: var(--gray-text-dim); margin-left: auto;
    padding-left: 20px; font-weight: 500;
}
/* 전체보기 버튼 — fill 슬라이드 애니메이션 */
.sc-section-cta {
    position: relative;
    display: inline-flex; align-items: center;
    font-size: 13px; font-weight: 800; color: #444;
    letter-spacing: 0.5px; white-space: nowrap;
    border: 1.5px solid #bbb; border-radius: 100px;
    padding: 5px 16px 5px 14px;
    overflow: hidden; background: transparent;
    transition: color 0.35s, border-color 0.35s, transform 0.25s, box-shadow 0.25s;
    z-index: 0;
}
.sc-section-cta::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: var(--brand-navy); border-radius: inherit;
    transition: left 0.35s cubic-bezier(0.77, 0, 0.18, 1);
    z-index: -1;
}
.sc-section-cta:hover {
    color: #fff; border-color: var(--brand-navy);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(5,47,103,0.22);
}
.sc-section-cta:hover::before { left: 0; }

/* 레이아웃: 왼쪽 큰 1 + 오른쪽 2×2
   오른쪽 격자(1:1 × 4) 높이 기준으로 왼쪽이 완전히 맞춰짐 */
.sc-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 6px;
    text-decoration: none; color: inherit;
    cursor: pointer;
}
/* sc-right가 aspect-ratio로 높이 결정 → sc-left가 그 높이에 stretch */
.sc-left  { display: flex; }
.sc-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
}

/* 이미지 셀 */
.sc-img-cell {
    position: relative; overflow: hidden;
    background: #e8ecf0; width: 100%;
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: outline-color 0.25s;
    text-decoration: none;
    display: block;
}
/* 오른쪽 격자 — 정방형 */
.sc-grid-cell { aspect-ratio: 1/1; }
/* 왼쪽 큰 셀 — sc-right 전체 높이 채움 (grid row stretch) */
.sc-main-cell { height: 100%; min-height: 0; }
.sc-img-cell img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s;
    opacity: 0; display: block;
}
.sc-img-cell img.loaded { opacity: 1; }
.sc-img-cell.img-loaded img { opacity: 1; }

/* 개별 셀 호버 — 해당 이미지만 줌 + 테두리 강조 */
.sc-img-cell:hover img { transform: scale(1.06); }
.sc-img-cell:hover { outline-color: rgba(0,168,255,0.55); }

/* 빈 슬롯 */
.sc-img-empty { background: #f0f3f6; pointer-events: none; }

/* 이미지 제목 — 개별 셀 호버 시만 노출 */
.sc-img-title {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 32px 14px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 60%, transparent 100%);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}
.sc-img-cell:hover .sc-img-title { opacity: 1; transform: translateY(0); }
.sc-img-title span {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 14px; font-weight: 700;
    color: #fff; line-height: 1.45; word-break: keep-all;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
    letter-spacing: -0.3px;
}
/* 왼쪽 큰 셀 제목 더 크게 */
.sc-main-cell .sc-img-title { padding: 56px 18px 16px; }
.sc-main-cell .sc-img-title span { font-size: 18px; }

/* 스켈레톤 */
.sc-shimmer {
    width: 100%; height: 100%;
    background: linear-gradient(90deg, #eef2f8 25%, #dde5f0 50%, #eef2f8 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
}

/* ==========================================================
   37. 쇼케이스 모바일
   ========================================================== */
@media (max-width: 768px) {
    /* 쇼케이스 전체 */
    #cat-showcase { flex-direction: column; width: 100%; box-sizing: border-box; }
    .showcase-body { flex-direction: column; width: 100%; }
    .showcase-content { width: 100%; min-width: 0; overflow: hidden; }
    .showcase-nav  { display: none; }

    .showcase-header { padding: 32px 0 24px; }
    .showcase-title  { font-size: 24px; }
    .showcase-desc   { font-size: 13px; }

    /* 섹션 */
    .showcase-grid { gap: 0; }
    .sc-section {
        padding: 32px 0 36px;
        border-bottom: 1px solid #e8ecf2;
    }
    .sc-section:last-child { border-bottom: none; padding-bottom: 0; }

    .sc-section-title  { font-size: 20px; }
    .sc-section-eng    { font-size: 11px; }
    .sc-section-desc   { display: none; }
    .sc-section-num    { display: none; }
    .sc-section-cta    { padding: 4px 10px; font-size: 12px; }
    .sc-section-header::before { height: 22px; }

    /* 레이아웃: 모바일에서 세로 쌓기 */
    .sc-layout {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    /* 대표 이미지 — 16:9 고정 */
    .sc-main-cell { height: auto; aspect-ratio: 16/9; min-height: 0; }
    /* 오른쪽 격자 — 2열 2행 유지하되 높이 제한 */
    .sc-right {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .sc-grid-cell { aspect-ratio: 1/1; }

    /* 모바일: 이미지 제목 항상 노출 */
    .sc-layout .sc-img-title,
    .sc-img-cell .sc-img-title {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
    }
    .sc-img-title span { font-size: 11px; }
    .sc-main-cell .sc-img-title span { font-size: 13px; }
    .sc-main-cell .sc-img-title { padding: 36px 12px 10px; }
    /* 모바일: 개별 셀 outline 제거 */
    .sc-img-cell:hover { outline-color: transparent; }
    /* 모바일: 터치 링크 보장 */
    .sc-img-cell { -webkit-tap-highlight-color: rgba(0,168,255,0.15); cursor: pointer; }
    .sc-img-title { pointer-events: none; }
}

/* 푸터 회사명 줄간격 */
.ft-corp { display: inline; }
@media (max-width: 768px) {
    .ft-corp { display: block; margin-top: 6px; }
}

/* ===== 정적 배포용 보정 (티스토리 서버가 처리하던 것 대체) ===== */
/* <s_search> 래퍼: 티스토리는 이 태그를 제거하지만 정적 사이트엔 남아 PC 검색의 input·돋보기가 겹침.
   모바일(.mobile-search-box s_search)엔 이미 flex가 있으나 PC(.header-search)엔 없어 보정. */
.header-search s_search { display: flex; align-items: center; }
