/* ================================================
   FastBox Homepage - Editorial / Minimal Concept
   Navy #161F36 · Gold #BE9A63 · Cream #EFEBE2 · Slate #3C4458
   ================================================ */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-primary: #161F36;   /* navy */
    --color-secondary: #3C4458; /* slate */
    --color-accent: #BE9A63;    /* gold */
    --color-gold: #BE9A63;
    --color-success: #27ae60;
    --color-warning: #BE9A63;   /* 포인트 언더바 등 — 골드로 통일 */
    --color-dark: #161F36;
    --color-gray: #3C4458;
    --color-light-gray: #F6F5F1; /* soft cream 배경 */
    --color-cream: #EFEBE2;
    --color-white: #fff;
    --color-border: rgba(60, 68, 88, 0.22);  /* hairline */
    --line-soft: rgba(60, 68, 88, 0.12);
    --navy-70: rgba(22, 31, 54, 0.62);
    --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1320px;
    --header-height: 84px;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    color: var(--color-dark);
    background: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.text-center { text-align: center; }

/* 에디토리얼 공통: 골드 키커 */
.kicker {
    color: var(--color-gold);
    letter-spacing: 0.32em;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ================================================
   Header — 라이트 에디토리얼 (크림 반투명 + 블러)
   ================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* 높이 = 유틸리티 바(34px) + 내비 행(--header-height). 모바일은 유틸 바 숨김 */
    height: auto;
    background: rgba(246, 245, 241, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: none;
    z-index: 1000;
    transition: background 0.3s, border-color 0.3s;
}
/* 구 스크림 레이어 — 라이트 헤더에서는 사용하지 않음 */
.site-header::before { content: none; }
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--color-border);
}
/* 메인(라이트 에디토리얼 히어로)에서는 상단 헤더 완전 투명 — v7 컨셉.
   서브페이지(어두운 이미지 히어로)는 가독성을 위해 크림 블러 유지 */
body:has(.hero-fullscreen) .site-header:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
}

/* 로고: 라이트 헤더이므로 항상 검은 로고 사용 */
.logo .logo-light { display: none; }
.logo .logo-dark { display: block; }

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

.logo img { height: 40px; }
.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.16em;
}

/* GNB */
.gnb-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.gnb-menu > li > a {
    display: block;
    padding: 0 22px;
    line-height: var(--header-height);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    transition: color 0.2s;
}

.gnb-menu > li > a:hover { color: var(--color-gold); }

/* Submenu — 헤어라인 카드 드롭다운 */
.gnb-menu .has-sub { position: relative; }
.sub-menu {
    position: absolute;
    top: calc(100% - 6px);
    left: 50%;
    min-width: 220px;
    background: var(--color-white);
    box-shadow: 0 18px 44px rgba(22, 31, 54, 0.10);
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 200;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.sub-menu a {
    display: block;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark);
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.sub-menu a:hover {
    background: var(--color-light-gray);
    color: var(--color-gold);
    padding-left: 28px;
}
.sub-menu .sub-menu-all a {
    margin-top: 6px;
    border-top: 1px solid var(--line-soft);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--color-gray);
}
.sub-menu .sub-menu-all a:hover { color: var(--color-gold); }

/* Quick Menu */
.quick-menu { display: flex; align-items: center; gap: 18px; }

/* 최상단 유틸리티 바 (브라우저 상단 끝, 우측 정렬) */
.top-utility { border-bottom: 1px solid var(--line-soft); }
.top-utility-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}
.sitemap-link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--color-secondary);
    transition: color 0.2s;
}
.sitemap-link:hover { color: var(--color-gold); }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 4px 7px;
    transition: color 0.2s;
    color: rgba(60, 68, 88, 0.62);
}
.lang-switch a.active {
    color: var(--color-primary);
    box-shadow: inset 0 -2px 0 var(--color-gold);
}
.lang-switch a:hover { color: var(--color-gold); }

/* CTA Button — 사각 네이비 */
.btn-cta-header {
    display: inline-block;
    padding: 11px 24px;
    background: var(--color-primary);
    color: var(--color-cream) !important;
    border: 1px solid var(--color-primary);
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-cta-header:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-primary) !important; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: 0.3s;
}

/* ================================================
   Main Content Area
   ================================================ */
/* 헤더는 fixed 반투명(블러) — 히어로가 헤더 뒤까지 올라오는 몰입형 유지 */
main { margin-top: 0; }

/* ================================================
   Hero Fullscreen — 에디토리얼 타이포 히어로
   ================================================ */
.hero-fullscreen {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 슬라이드 이미지 배경(흰색)과 동일 — 전환 순간 네이비 여백이 보이지 않도록 유지 */
    background: #ffffff;
    color: var(--color-primary);
    text-align: center;
    overflow: hidden;
}
/* Hero Slideshow (관리자 슬라이드 사용 시 — 흰 워시 아래 은은하게) */
.hero-slideshow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
/* 이미지 채움 방식 */
.hero-slide.hf-cover { background-size: cover; background-repeat: no-repeat; }
.hero-slide.hf-contain { background-size: contain; background-repeat: no-repeat; }
.hero-slide.hf-repeat { background-size: auto; background-repeat: repeat; }

/* Slide effect */
.hero-slide[data-effect="slide"] {
    opacity: 1;
    transform: translateX(100%);
    transition: transform 0.8s ease;
}
.hero-slide[data-effect="slide"].active { transform: translateX(0); }
.hero-slide[data-effect="slide"].prev { transform: translateX(-100%); }

/* Zoom effect */
.hero-slide[data-effect="zoom"] { transition: opacity 1.2s ease, transform 6s ease; transform: scale(1); }
.hero-slide[data-effect="zoom"].active { opacity: 1; transform: scale(1.1); }

/* Ken Burns effect */
.hero-slide[data-effect="kenburns"] { transition: opacity 1.5s ease; }
.hero-slide[data-effect="kenburns"].active { opacity: 1; animation: kenburns 8s ease forwards; }
@keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, -1%); }
}

/* 슬라이드 위 라이트 워시 — 에디토리얼 타이포가 주인공이 되도록 */
.hero-slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
.hero-wash {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    z-index: 1;
}

/* 청사진 라인 배경 */
.hero-blueprint {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.9;
    pointer-events: none;
}
.hero-blueprint svg { width: 100%; height: 100%; }
.hero-blueprint line, .hero-blueprint path, .hero-blueprint rect, .hero-blueprint circle {
    stroke: var(--line-soft);
    fill: none;
    stroke-width: 1;
}
/* 거대 워터마크 */
.hero-watermark {
    position: absolute;
    top: 50%;
    right: -4%;
    transform: translateY(-50%);
    font-size: 34vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(60, 68, 88, 0.06);
    letter-spacing: -0.04em;
    z-index: 1;
    user-select: none;
    white-space: nowrap;
    pointer-events: none;
}
/* 좌측 세로 태그라인 */
.hero-vtag {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    letter-spacing: 0.32em;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-secondary);
    z-index: 2;
}
/* 좌하단 카피 + 바코드 */
.hero-foot-l {
    position: absolute;
    left: 48px;
    bottom: 56px;
    z-index: 2;
    text-align: left;
}
.hero-foot-l p { font-size: 14px; line-height: 1.9; color: var(--color-primary); font-weight: 500; }
/* 브랜드 필름 QR (카피 상단) — 스캔 시 유튜브 연결 */
.hero-qr { display: block; margin-bottom: 20px; }
.hero-qr img { width: 88px; height: 88px; display: block; border: 1px solid var(--line-soft); }
.hero-qr .s {
    display: block;
    margin-top: 8px;
    color: var(--color-gold);
    letter-spacing: 0.24em;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.2s;
}
.hero-qr:hover .s { color: var(--color-primary); }
.hero-barcode { display: flex; align-items: flex-end; gap: 2px; height: 34px; margin-top: 20px; }
.hero-barcode i { display: block; width: 2px; background: var(--color-primary); }
/* 우하단 라벨 */
.hero-foot-r {
    position: absolute;
    right: 48px;
    bottom: 56px;
    text-align: right;
    z-index: 2;
}
.hero-foot-r .s { color: var(--color-gold); letter-spacing: 0.28em; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.hero-foot-r .b { font-size: 22px; font-weight: 800; letter-spacing: 0.14em; margin-top: 6px; }

/* Hero indicators (dots) — 라이트 배경용 */
.hero-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}
.hero-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(22, 31, 54, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.hero-dot.active { background: var(--color-gold); border-color: var(--color-gold); transform: scale(1.2); }

#hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 0 20px;
}

/* 타이포 스택 */
.hero-kicker {
    display: block;
    color: var(--color-gold);
    letter-spacing: 0.34em;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 34px;
}
.hero-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.hero-word { font-weight: 900; line-height: 1; letter-spacing: 0.02em; color: var(--color-primary); }
.hero-word .g { color: var(--color-gold); }
.hero-word.w1 { font-size: clamp(48px, 8vw, 110px); }
.hero-word.w2 { font-size: clamp(48px, 8vw, 110px); letter-spacing: -0.01em; }
.hero-word.w3 { font-size: clamp(40px, 6.4vw, 88px); }
.hero-vline { width: 1px; height: 44px; background: var(--color-gold); }

/* ── 히어로 레이아웃 & 텍스트 스타일 옵션 (관리자 설정) ── */
/* 높이 */
.hero-fullscreen.hh-tall { min-height: 85vh; }
.hero-fullscreen.hh-medium { min-height: 70vh; }
.hero-fullscreen.hh-compact { min-height: 55vh; }

/* 텍스트 위치 */
.hero-fullscreen.hp-left { justify-content: flex-start; text-align: left; }
.hero-fullscreen.hp-left .hero-content { margin-left: 7vw; }
.hero-fullscreen.hp-left .hero-stack { align-items: flex-start; }
.hero-fullscreen.hp-right { justify-content: flex-end; text-align: right; }
.hero-fullscreen.hp-right .hero-content { margin-right: 7vw; }
.hero-fullscreen.hp-right .hero-stack { align-items: flex-end; }
.hero-fullscreen.hp-bottom-left { align-items: flex-end; justify-content: flex-start; text-align: left; }
.hero-fullscreen.hp-bottom-left .hero-content { margin: 0 0 13vh 7vw; }
.hero-fullscreen.hp-bottom-left .hero-stack { align-items: flex-start; }
.hero-fullscreen.hp-bottom-center { align-items: flex-end; }
.hero-fullscreen.hp-bottom-center .hero-content { margin-bottom: 13vh; }
.hero-fullscreen.hp-left .hero-buttons,
.hero-fullscreen.hp-bottom-left .hero-buttons { justify-content: flex-start; }
.hero-fullscreen.hp-right .hero-buttons { justify-content: flex-end; }
.hero-fullscreen.hp-left .hero-indicators,
.hero-fullscreen.hp-bottom-left .hero-indicators { justify-content: flex-start; }
.hero-fullscreen.hp-right .hero-indicators { justify-content: flex-end; }

/* 글자 그림자 — 라이트 히어로에서는 절제 */
.hero-fullscreen.hts-none .hero-content { text-shadow: none; }
.hero-fullscreen.hts-soft .hero-content { text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6); }
.hero-fullscreen.hts-strong .hero-content { text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9); }

/* 텍스트 프레임 */
.hero-fullscreen.htf-box .hero-content {
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 44px 52px;
}
.hero-fullscreen.htf-glass .hero-content {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 44px 52px;
}
.hero-fullscreen.htf-underbar .hero-title::after,
.hero-fullscreen.htf-underbar .hero-stack::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background: var(--color-gold);
    margin: 20px auto 0;
}
.hero-fullscreen.hp-left.htf-underbar .hero-title::after,
.hero-fullscreen.hp-bottom-left.htf-underbar .hero-title::after { margin-left: 0; margin-right: auto; }
.hero-fullscreen.hp-right.htf-underbar .hero-title::after { margin-left: auto; margin-right: 0; }

@media (max-width: 768px) {
    .hero-fullscreen.htf-box .hero-content,
    .hero-fullscreen.htf-glass .hero-content { padding: 28px 24px; margin-left: 16px; margin-right: 16px; }
    .hero-fullscreen.hp-left .hero-content,
    .hero-fullscreen.hp-bottom-left .hero-content { margin-left: 16px; }
    .hero-fullscreen.hp-right .hero-content { margin-right: 16px; }
}
/* 구 배지형 서브카피 — 키커 스타일 재정의(하위 호환) */
.hero-sub {
    display: inline-block;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    margin-bottom: 30px;
    background: none;
}
.hero-title {
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    color: var(--color-primary);
}
.typing-text { display: inline; }
.cursor {
    display: inline-block;
    animation: blink 0.8s infinite;
    font-weight: 300;
    color: var(--color-gold);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-secondary);
    margin: 34px 0 0;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-cta-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 40px;
    background: var(--color-primary);
    color: var(--color-cream);
    border: 1px solid var(--color-primary);
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.btn-cta-hero:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-primary);
}
.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 40px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 0.25s;
}
.btn-outline-hero:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.hero-scroll-indicator span {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-secondary);
    opacity: 0.7;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    animation: scrollDown 2s infinite;
}
@keyframes scrollDown { 0%{top:-100%} 100%{top:100%} }

/* ================================================
   FB Tracking — 배송조회 모달 (track-open 클릭 시)
   ================================================ */
.mobile-track { display: none; }
.track-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.track-modal[hidden] { display: none; }
.track-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 31, 54, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.track-modal-panel {
    position: relative;
    width: min(560px, 100%);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 52px 48px 48px;
    animation: trackModalIn 0.25s ease;
}
@keyframes trackModalIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
.track-modal-panel .kicker { display: block; margin-bottom: 10px; }
.track-modal-panel h3 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--color-primary);
    margin-bottom: 26px;
}
.track-modal-panel form { display: flex; flex-direction: column; gap: 12px; }
.track-modal-panel input {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 15px;
    font-family: var(--font-family);
    background: #fff;
    color: var(--color-primary);
}
.track-modal-panel input::placeholder { color: rgba(60, 68, 88, 0.45); }
.track-modal-panel input:focus { outline: none; border-color: var(--color-primary); }
.track-modal-panel button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: var(--color-primary);
    color: var(--color-cream);
    border: 1px solid var(--color-primary);
    border-radius: 0;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.track-modal-panel button[type="submit"]:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-primary); }
.track-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--color-secondary);
    cursor: pointer;
    transition: color 0.2s;
}
.track-modal-close:hover { color: var(--color-gold); }
@media (max-width: 768px) {
    .track-modal-panel { padding: 40px 24px 32px; }
    .track-modal-panel h3 { font-size: 21px; }
}

/* ================================================
   Stats Counter — 헤어라인 칼럼
   ================================================ */
.stats-section {
    padding: 130px 0;
    background: var(--color-white);
    border-top: 1px solid var(--line-soft);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: left;
}
.stat-item {
    padding: 14px 28px;
    border-left: 1px solid var(--color-border);
}
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-number {
    font-size: clamp(44px, 5vw, 68px);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    display: inline;
    line-height: 1;
}
.stat-unit {
    display: inline;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    color: var(--color-gold);
    margin-left: 4px;
}
.stat-label {
    margin-top: 16px;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--color-secondary);
    font-weight: 600;
}

/* ================================================
   Section Common — 에디토리얼 섹션 헤드
   ================================================ */
section { padding: 130px 0; }
.section-header {
    display: flex;
    align-items: baseline;
    gap: 22px;
    text-align: left;
    margin-bottom: 70px;
    flex-wrap: wrap;
}
.section-tag {
    display: inline-block;
    padding: 0;
    background: none;
    color: var(--color-gold);
    border-radius: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0;
    white-space: nowrap;
}
section h2 {
    font-size: clamp(26px, 3.4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-align: left;
    margin-bottom: 0;
    color: var(--color-primary);
}
.section-desc {
    font-size: 14px;
    color: var(--color-secondary);
    max-width: 320px;
    margin: 0 0 0 auto;
    line-height: 1.8;
}

/* ================================================
   Services — 에디토리얼 리스트 (메인)
   ================================================ */
.services-section-new { background: var(--color-white); border-top: 1px solid var(--line-soft); }
.svc-list { border-top: 1px solid var(--color-border); }
.svc-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 34px 8px;
    border-bottom: 1px solid var(--color-border);
    transition: padding 0.3s, background 0.3s;
    cursor: pointer;
}
.svc-row:hover { padding-left: 28px; background: rgba(60, 68, 88, 0.03); }
.svc-row .idx { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--color-gold); }
.svc-row .name { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.01em; color: var(--color-primary); }
.svc-row .desc { font-size: 14px; color: var(--color-secondary); max-width: 380px; line-height: 1.7; display: block; margin-top: 6px; font-weight: 400; }
.svc-row .arw { font-size: 22px; color: var(--color-primary); opacity: 0; transform: translateX(-8px); transition: 0.3s; }
.svc-row:hover .arw { opacity: 1; transform: translateX(0); color: var(--color-gold); }
@media (max-width: 820px) {
    .svc-row { grid-template-columns: 56px 1fr; gap: 16px; }
    .svc-row .arw { display: none; }
}

/* 레거시 서비스 카드 (서브 목록 등에서 재사용 가능) */
.service-cards-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.service-card-new {
    display: block;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 36px 28px;
    text-align: center;
    box-shadow: none;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}
.service-card-new::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--color-gold);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.service-card-new:hover { transform: translateY(-6px); border-color: var(--color-gold); }
.service-card-new:hover::before { transform: scaleX(1); }

.scard-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light-gray);
}
.scard-icon img { width: 100%; height: 100%; object-fit: cover; }
.scard-icon-placeholder { font-size: 32px; }

/* 메인 서비스 카드 이미지 크기 옵션 (관리자 설정) */
.service-cards-new.mcards-sm .scard-icon { width: 72px; height: 72px; }
.service-cards-new.mcards-md .scard-icon { width: 110px; height: 110px; }
.service-cards-new.mcards-md .scard-icon-placeholder { font-size: 44px; }
.service-cards-new.mcards-lg .scard-icon { width: 100%; height: 180px; }
.service-cards-new.mcards-lg .scard-icon-placeholder { font-size: 56px; }
.service-cards-new.mcards-xl .scard-icon { width: 100%; height: 240px; }
.service-cards-new.mcards-xl .scard-icon-placeholder { font-size: 64px; }
.service-cards-new.mcards-lg .service-card-new,
.service-cards-new.mcards-xl .service-card-new { padding: 24px 20px 32px; }

.service-card-new h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; color: var(--color-primary); }
.service-card-new p { font-size: 14px; color: var(--color-secondary); line-height: 1.7; }
.scard-arrow {
    display: inline-block;
    margin-top: 16px;
    font-size: 20px;
    color: var(--color-gold);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}
.service-card-new:hover .scard-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ================================================
   Process Section — 5칼럼 에디토리얼
   ================================================ */
.process-section { background: var(--color-white); border-top: 1px solid var(--line-soft); }
.process-steps {
    max-width: none;
    margin: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}
.process-steps::before { content: none; }
.process-step {
    display: block;
    padding: 0 24px;
    border-left: 1px solid var(--color-border);
    position: relative;
}
.process-step:first-child { border-left: none; padding-left: 0; }
.step-number {
    flex-shrink: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--color-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    display: block;
    box-shadow: none;
}
.step-number::after {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary);
    margin: 22px 0;
}
.step-content h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--color-primary); }
.step-content p { font-size: 13px; color: var(--color-secondary); line-height: 1.7; }

/* ================================================
   Partner Marquee
   ================================================ */
.partner-section { padding-bottom: 90px; background: var(--color-light-gray); border-top: 1px solid var(--line-soft); }
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}
.marquee-wrapper::before, .marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--color-light-gray), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--color-light-gray), transparent); }

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    /* gap 대신 개별 margin: 두 세트 폭이 정확히 같아져 -50% 루프가 끊김 없이 이어짐 */
    margin-right: 40px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0;
    min-width: 160px;
    height: 70px;
    box-shadow: none;
}
.marquee-item img { max-height: 36px; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s, opacity 0.3s; }
.marquee-item:hover img { filter: grayscale(0); opacity: 1; }
.marquee-item span { font-size: 14px; font-weight: 600; color: var(--color-secondary); }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================================
   Blog Section
   ================================================ */
.blog-section-new { background: var(--color-white); border-top: 1px solid var(--line-soft); }

/* ================================================
   CTA Section — 라이트 에디토리얼 자이언트 타이포
   ================================================ */
.cta-section-new {
    background: var(--color-white);
    color: var(--color-primary);
    text-align: center;
    padding: 150px 0;
    border-top: 1px solid var(--line-soft);
}
.cta-section-new .kicker { display: block; margin-bottom: 26px; }
.cta-section-new h2 {
    color: var(--color-primary);
    font-size: clamp(34px, 6vw, 86px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 0;
}
.cta-section-new h2 .g { color: var(--color-gold); }
.cta-section-new p { font-size: 16px; color: var(--color-secondary); margin-bottom: 48px; }
.cta-buttons { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 48px; }
.btn-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 0.25s;
}
.btn-cta-phone .phone { font-size: 24px; font-weight: 900; letter-spacing: 0.06em; }
.btn-cta-phone:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: none;
}

/* Legacy */
.btn-cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-primary);
    color: var(--color-cream);
    border: 1px solid var(--color-primary);
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.btn-cta:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-primary);
    transform: none;
    box-shadow: none;
}

/* Service Cards */
.service-cards, .blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
/* 서비스 카드 이미지 크기 옵션 (관리자 설정) */
.service-cards.cards-sm { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.service-cards.cards-sm .card-thumb { height: 160px; }
.service-cards.cards-md { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.service-cards.cards-md .card-thumb { height: 230px; }
.service-cards.cards-lg { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
.service-cards.cards-lg .card-thumb { height: 320px; }

/* 카테고리 필터 선택 시: 좌측 쏠림 방지 — 가운데 정렬 + 큼직한 카드 */
.service-cards.filtered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}
.service-cards.filtered .service-card { width: min(620px, 100%); }
.service-cards.filtered .card-thumb { height: 380px; }
.service-cards.filtered .card-body { padding: 28px; }
.service-cards.filtered .card-body h3 { font-size: 24px; }
.service-cards.filtered .card-body p { font-size: 15px; }
@media (max-width: 768px) {
    .service-cards.filtered .card-thumb { height: 240px; }
    .service-cards.filtered .card-body h3 { font-size: 19px; }
}

.service-card, .blog-card {
    display: block;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s, border-color 0.3s;
}
.service-card:hover, .blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.card-thumb {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-light-gray);
}
.card-thumb.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 12px;
    letter-spacing: 0.3em;
}

.card-body { padding: 22px; }
.card-category {
    display: inline-block;
    font-size: 11px;
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--color-primary); }
.card-body p { font-size: 14px; color: var(--color-secondary); }
.card-body time { font-size: 13px; color: var(--color-secondary); opacity: 0.75; }

.btn-more {
    display: inline-block;
    margin-top: 36px;
    padding: 14px 36px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 0;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    transition: all 0.25s;
}
.btn-more:hover {
    background: none;
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* CTA Section (legacy) */
.cta-section {
    background: var(--color-primary);
    color: var(--color-cream);
    text-align: center;
}
.cta-section h2 { color: var(--color-cream); text-align: center; }
.cta-section p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }

/* ================================================
   Footer — 라이트 에디토리얼 (v7)
   ================================================ */
.site-footer {
    background: var(--color-white);
    color: var(--color-secondary);
    border-top: 1px solid var(--color-border);
    padding: 70px 0 60px;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}
.footer-logo { height: 30px; margin-bottom: 30px; }
.footer-info p { font-size: 13px; line-height: 2; color: var(--color-secondary); }
.footer-links {
    margin-top: 30px;
    display: flex;
    gap: 40px;
}
.footer-links a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-secondary);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-gold); }
.footer-copyright {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--line-soft);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-secondary);
}

/* ================================================
   Popup Layer
   ================================================ */
.popup-layer {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(22, 31, 54, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.popup-content {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0;
    overflow: hidden;
    max-width: 500px;
    width: 90%;
}
.popup-content img { display: block; width: 100%; }
.popup-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 13px;
}
.popup-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-secondary);
    font-size: 13px;
}

/* ================================================
   Editor Content Wrapper (Template Rendering)
   ================================================ */
.main-content,
.editor-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 32px;
    font-size: 16px;
    line-height: 1.8;
}
.main-content { max-width: 100%; padding: 0; }
.editor-content img { border-radius: 0; margin: 20px 0; }
.editor-content h1 { font-size: 36px; margin: 40px 0 20px; }
.editor-content h2 { font-size: 28px; margin: 30px 0 15px; text-align: left; }
.editor-content h3 { font-size: 22px; margin: 25px 0 12px; }
.editor-content p { margin-bottom: 16px; }
.editor-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.editor-content th, .editor-content td { padding: 12px; border: 1px solid var(--color-border); }
.editor-content th { background: var(--color-light-gray); font-weight: 600; }

/* ================================================
   Page Hero (Sub Pages)
   ================================================ */
.page-hero {
    padding: 140px 0 70px;
    background: var(--color-primary);
    color: var(--color-cream);
    text-align: center;
}
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { font-size: 15px; opacity: 0.75; }

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}
.filter-btn {
    padding: 9px 22px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-secondary);
    transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--color-primary);
    color: var(--color-cream);
    border-color: var(--color-primary);
}

/* Service Hero — 레이어 구조 (배경/오버레이/파티클/콘텐츠) + 연출 효과 */
.service-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    background: var(--color-primary);
    color: var(--color-cream);
    text-align: center;
    overflow: hidden;
}
.service-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}
/* 이미지 채움 방식 */
.service-hero-bg.hf-cover { background-size: cover; background-repeat: no-repeat; }
.service-hero-bg.hf-contain { background-size: contain; background-repeat: no-repeat; }
.service-hero-bg.hf-repeat { background-size: auto; background-repeat: repeat; }
.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: #161F36;
}
.service-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.service-hero-inner { position: relative; z-index: 2; }
.service-hero-bg.effect-zoom { animation: svcHeroZoom 16s ease-in-out infinite alternate; }
.service-hero-bg.effect-kenburns { animation: svcHeroKenburns 22s ease-in-out infinite alternate; }
@keyframes svcHeroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
@keyframes svcHeroKenburns {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.15) translate(-2.5%, -1.5%); }
}
.service-hero h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 15px; color: #fff; }
.service-hero p { font-size: 17px; opacity: 0.85; }
/* 목록 페이지용 컴팩트 히어로 */
.service-hero.compact { min-height: 340px; }
.service-hero.compact h1 { font-size: 36px; }
.service-hero.compact p { font-size: 16px; }

/* ── 서비스 히어로 레이아웃 & 텍스트 스타일 옵션 (관리자 설정) ── */
.service-hero-text { display: inline-block; max-width: 780px; }

/* 높이 */
.service-hero.hh-full { min-height: 100vh; }
.service-hero.hh-tall { min-height: 68vh; }
.service-hero.hh-medium { min-height: 440px; }
.service-hero.hh-compact { min-height: 340px; }
.service-hero.hh-compact h1 { font-size: 36px; }
.service-hero.hh-compact p { font-size: 16px; }

/* 텍스트 위치 */
.service-hero.hp-left { text-align: left; }
.service-hero.hp-right { text-align: right; }
.service-hero.hp-bottom-left { align-items: flex-end; text-align: left; }
.service-hero.hp-bottom-left .service-hero-inner { padding-bottom: 48px; }
.service-hero.hp-bottom-center { align-items: flex-end; }
.service-hero.hp-bottom-center .service-hero-inner { padding-bottom: 48px; }

/* 글자 그림자 */
.service-hero.hts-none .service-hero-inner { text-shadow: none; }
.service-hero.hts-soft .service-hero-inner { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4); }
.service-hero.hts-strong .service-hero-inner { text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 6px 26px rgba(0, 0, 0, 0.45); }

/* 텍스트 프레임 */
.service-hero.htf-box .service-hero-text {
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0;
    padding: 32px 44px;
}
.service-hero.htf-glass .service-hero-text {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    padding: 32px 44px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.service-hero.htf-underbar h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--color-gold);
    margin: 16px auto 0;
}
.service-hero.hp-left.htf-underbar h1::after,
.service-hero.hp-bottom-left.htf-underbar h1::after { margin-left: 0; margin-right: auto; }
.service-hero.hp-right.htf-underbar h1::after { margin-left: auto; margin-right: 0; }

@media (max-width: 768px) {
    .service-hero.htf-box .service-hero-text,
    .service-hero.htf-glass .service-hero-text { padding: 22px 20px; }
}
.service-hero-category {
    display: inline-block;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 18px;
}
/* ================================================
   Service Detail Body — 에디토리얼 본문
   ================================================ */
.service-content {
    position: relative;
    padding: 90px 0 100px;
    overflow: hidden;
    background: #fff;
}
/* 은은한 장식 블롭 — 골드/네이비 틴트 */
.service-content::before,
.service-content::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.service-content::before {
    width: 380px; height: 380px;
    background: rgba(190, 154, 99, 0.12);
    top: -80px; right: -90px;
    animation: svcFloatA 14s ease-in-out infinite alternate;
}
.service-content::after {
    width: 320px; height: 320px;
    background: rgba(22, 31, 54, 0.07);
    bottom: -60px; left: -70px;
    animation: svcFloatB 16s ease-in-out infinite alternate;
}
@keyframes svcFloatA { from { transform: translate(0,0); } to { transform: translate(-40px, 30px); } }
@keyframes svcFloatB { from { transform: translate(0,0); } to { transform: translate(35px, -25px); } }
.service-content .container { position: relative; z-index: 1; }

/* 리드 문단 */
.svc-lead { text-align: center; max-width: 760px; margin: 0 auto 72px; }
.svc-lead h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.45; letter-spacing: -0.01em; margin-bottom: 16px; text-align: center; }
.svc-lead p { font-size: 16px; color: var(--color-secondary); line-height: 1.9; }

/* 섹션 제목 (골드 언더라인 포인트) */
.svc-h2 { position: relative; text-align: center; font-size: 26px; font-weight: 800; margin: 0 0 42px; padding-bottom: 16px; }
.svc-h2::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 46px; height: 3px; background: var(--color-gold); }

/* 특징 카드 그리드 */
.svc-grid { display: grid; gap: 24px; margin: 0 0 80px; }
.svc-grid-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.svc-grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.svc-card {
    position: relative;
    padding: 34px 28px 30px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.28s cubic-bezier(.2,.7,.3,1), border-color 0.28s;
    overflow: hidden;
}
.svc-card::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--color-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.svc-card:hover { transform: translateY(-6px); border-color: var(--color-gold); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card-num { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--color-gold); margin-bottom: 12px; }
.svc-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--color-primary); }
.svc-card p { font-size: 14px; color: var(--color-secondary); line-height: 1.75; }

/* 프로세스 흐름 타임라인 */
.svc-flow { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; margin: 0 0 80px; }
.svc-flow-step { position: relative; flex: 1; min-width: 120px; max-width: 190px; text-align: center; padding: 0 8px; }
/* 단계 사이 점선 커넥터 */
.svc-flow-step:not(:last-child)::after { content: ''; position: absolute; top: 26px; left: 50%; width: 100%; height: 0; border-top: 1px dashed rgba(60, 68, 88, 0.4); z-index: 0; }
.svc-flow-dot {
    position: relative; z-index: 1;
    width: 54px; height: 54px; margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--color-primary); color: var(--color-cream);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 17px;
    transition: transform 0.25s, background 0.25s, color 0.25s;
}
.svc-flow-step:hover .svc-flow-dot { transform: translateY(-5px) scale(1.06); background: var(--color-gold); color: var(--color-primary); }
.svc-flow-step span { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--color-dark); }

/* 카운터 스탯 밴드 */
.svc-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 0 0 80px; padding: 44px 28px; background: var(--color-light-gray); border: 1px solid var(--line-soft); border-radius: 0; }
.svc-stat { flex: 1; min-width: 150px; text-align: center; }
.svc-stat-num { font-size: 44px; font-weight: 900; letter-spacing: -0.02em; color: var(--color-primary); line-height: 1; }
.svc-stat-num .svc-suffix { color: var(--color-gold); }
.svc-stat p { margin-top: 10px; font-size: 14px; color: var(--color-secondary); }

/* 요금 플랜 카드 */
.svc-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 0 0 80px; }
.svc-plan { padding: 40px 32px; background: #fff; border: 1px solid var(--color-border); border-radius: 0; transition: transform 0.28s, border-color 0.28s; }
.svc-plan:hover { transform: translateY(-6px); border-color: var(--color-gold); }
.svc-plan.featured { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-cream); }
.svc-plan-badge { display: inline-block; padding: 5px 14px; border-radius: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; background: var(--color-primary); color: var(--color-cream); }
.svc-plan.featured .svc-plan-badge { background: var(--color-gold); color: var(--color-primary); }
.svc-plan h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.svc-plan .svc-plan-target { font-size: 14px; opacity: 0.75; margin-bottom: 18px; }
.svc-plan .svc-plan-price { font-size: 26px; font-weight: 800; color: var(--color-primary); margin-bottom: 20px; }
.svc-plan.featured .svc-plan-price { color: var(--color-gold); }
.svc-plan .svc-plan-price small { font-size: 13px; font-weight: 500; opacity: 0.7; }
.svc-plan ul { list-style: none; padding: 0; font-size: 14px; line-height: 2.2; }

/* 안내 박스 */
.svc-note { padding: 26px 30px; background: var(--color-light-gray); border-left: 3px solid var(--color-gold); border-radius: 0; margin: 0 0 80px; }
.svc-note p { font-size: 15px; line-height: 1.85; color: var(--color-secondary); }
.svc-note strong { color: var(--color-primary); }

/* 본문 하단 인라인 CTA */
.svc-cta-inline { text-align: center; padding: 60px 30px; background: var(--color-primary); border-radius: 0; color: var(--color-cream); }
.svc-cta-inline p.svc-cta-title { font-size: 23px; font-weight: 700; margin-bottom: 8px; }
.svc-cta-inline p.svc-cta-sub { font-size: 15px; opacity: 0.75; margin-bottom: 28px; }
.svc-cta-inline a { display: inline-block; padding: 15px 44px; background: var(--color-cream); color: var(--color-primary); border-radius: 0; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; transition: background 0.25s, color 0.25s; }
.svc-cta-inline a:hover { background: var(--color-gold); color: var(--color-primary); }

@media (max-width: 768px) {
    .svc-flow-step { min-width: 45%; max-width: 50%; }
    .svc-flow-step:nth-child(even)::after,
    .svc-flow-step:last-child::after { display: none; }
    .svc-lead h2 { font-size: 24px; }
}

/* Blog Detail */
.blog-detail-header { padding: 150px 0 50px; background: var(--color-primary); color: var(--color-cream); }
.blog-detail-header h1 { font-size: 32px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.blog-detail-header .card-category { color: var(--color-gold); }
.blog-detail-meta { display: flex; gap: 15px; font-size: 14px; color: rgba(239, 235, 226, 0.7); flex-wrap: wrap; }
.blog-detail-meta span { display: flex; align-items: center; gap: 4px; }
.blog-detail-body { padding: 40px 0 80px; }

/* Tags */
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--color-secondary);
    transition: all 0.2s;
}
.tag:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-cream); }

/* Attachments */
.attachments { margin-top: 30px; padding: 20px; background: var(--color-light-gray); border: 1px solid var(--line-soft); border-radius: 0; }
.attachments h4 { font-size: 14px; margin-bottom: 10px; }
.attachments a { display: block; padding: 6px 0; font-size: 14px; color: var(--color-primary); text-decoration: underline; text-decoration-color: var(--color-gold); }

/* Search Bar */
.search-bar { display: flex; gap: 8px; max-width: 500px; margin: 0 auto 40px; }
.search-bar input {
    flex: 1;
    padding: 11px 16px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 14px;
    background: #fff;
    font-family: var(--font-family);
}
.search-bar input:focus { outline: none; border-color: var(--color-primary); }
.search-bar button {
    padding: 11px 24px;
    background: var(--color-primary);
    color: var(--color-cream);
    border: 1px solid var(--color-primary);
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-family);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.search-bar button:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-primary); }

/* Form Styles (Public) */
.form-section { padding: 60px 0; }
.form-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 48px 44px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    box-shadow: none;
}
.form-box .form-group { margin-bottom: 20px; }
.form-box label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 8px; }
.form-box input, .form-box select, .form-box textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 14px;
    background: #fff;
    font-family: var(--font-family);
}
.form-box input:focus, .form-box select:focus, .form-box textarea:focus { outline: none; border-color: var(--color-primary); }
.form-box textarea { min-height: 120px; resize: vertical; }
.form-box .btn-cta { width: 100%; text-align: center; cursor: pointer; }
.required { color: var(--color-gold); }

/* Board List (Notice, FAQ, QnA) */
.board-list { list-style: none; }
.board-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
}
.board-item:first-child { border-top: 2px solid var(--color-primary); }
.board-item a { display: flex; justify-content: space-between; align-items: center; }
.board-item .item-title { font-size: 15px; font-weight: 500; flex: 1; }
.board-item a:hover .item-title { color: var(--color-gold); }
.board-item .item-date { font-size: 13px; color: var(--color-secondary); opacity: 0.8; }
.board-item .item-badge {
    display: inline-block;
    padding: 2px 9px;
    background: var(--color-gold);
    color: var(--color-primary);
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    margin-right: 8px;
}

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 2px solid var(--color-primary); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}
.faq-question::after { content: '+'; font-size: 20px; color: var(--color-gold); }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
    display: none;
    padding: 0 0 18px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-secondary);
}
.faq-item.active .faq-answer { display: block; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 48px;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 13px;
    transition: all 0.2s;
}
.pagination a:hover { border-color: var(--color-gold); color: var(--color-gold); }
.pagination .active { background: var(--color-primary); color: var(--color-cream); border-color: var(--color-primary); }

/* ================================================
   Timeline (History)
   ================================================ */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-border);
}
.timeline-year { margin-bottom: 30px; position: relative; }
.timeline-year-label {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
    position: relative;
}
.timeline-year-label::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 50%;
    transform: translateY(-50%);
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-gold);
}
.timeline-entries { padding-left: 0; }
.timeline-entry {
    display: flex;
    gap: 12px;
    padding: 6px 0;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
}
.timeline-entry::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-border);
}
.timeline-month {
    min-width: 40px;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 14px;
}

/* ================================================
   Logo Grid (Network)
   ================================================ */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0;
    min-height: 80px;
    transition: border-color 0.2s;
}
.logo-item:hover { border-color: var(--color-gold); box-shadow: none; }
.logo-item img { max-height: 40px; max-width: 120px; object-fit: contain; }
.logo-item span { font-size: 13px; color: var(--color-secondary); font-weight: 500; }

/* ================================================
   Responsive (v7 — 1024 / 768 / 400)
   ================================================ */
/* Tablet: ~1024px */
@media (max-width: 1024px) {
    .container, .header-inner { padding-left: 32px; padding-right: 32px; }
    section, .stats-section { padding: 90px 0; }
    .section-header { margin-bottom: 50px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
    .stat-item { border-left: none; padding: 14px 0; }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--color-border); padding-top: 44px; }

    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
    .process-step { border-left: none; padding: 0; }

    .hero-vtag { left: 20px; font-size: 10px; letter-spacing: 0.24em; }
    .hero-foot-l { left: 24px; bottom: 36px; }
    .hero-foot-r { right: 24px; bottom: 36px; }
    .hero-foot-l p { font-size: 12px; }
}

/* Mobile: ~768px */
@media (max-width: 768px) {
    :root { --header-height: 64px; }

    .container { padding: 0 20px; }
    .header-inner { padding: 0 20px; }
    .logo img { height: 32px; }

    .gnb, .quick-menu .lang-switch { display: none; }
    .top-utility { display: none; }
    .hamburger { display: flex; }

    /* Mobile Menu */
    .gnb.active {
        display: block;
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0; bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        overflow-y: auto;
        padding: 20px;
        z-index: 999;
    }
    .gnb.active .gnb-menu { flex-direction: column; }
    .gnb.active .gnb-menu > li { border-bottom: 1px solid var(--line-soft); }
    .gnb.active .gnb-menu > li > a { line-height: 50px; font-size: 14px; color: var(--color-dark); }
    .gnb.active .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 15px;
    }
    .gnb.active .sub-menu a { padding: 6px 15px; }
    .gnb.active .sub-menu a:hover { padding-left: 15px; }
    .gnb.active .mobile-track { display: block; }

    /* Hero — 세로 flex 전환, 푸트 요소는 본문 아래로 */
    .hero-fullscreen { padding: 110px 20px 60px; flex-direction: column; justify-content: center; align-items: stretch; }
    .hero-vtag { display: none; }
    .hero-content { width: 100%; max-width: none; padding: 0; }
    .hero-stack { gap: 8px; }
    .hero-word.w1, .hero-word.w2 { font-size: clamp(38px, 11vw, 64px); letter-spacing: -0.01em; white-space: nowrap; }
    .hero-word.w3 { font-size: clamp(30px, 9vw, 52px); white-space: nowrap; }
    .hero-vline { height: 28px; }
    .hero-watermark { font-size: 60vw; opacity: 0.5; right: -8%; }
    .hero-foot-l { position: static; width: 100%; margin-top: 40px; text-align: center; }
    .hero-foot-l p { font-size: 13px; line-height: 1.8; }
    .hero-qr { margin-bottom: 16px; }
    .hero-qr img { width: 76px; height: 76px; margin: 0 auto; }
    .hero-barcode { margin: 18px auto 0; justify-content: center; }
    .hero-foot-r { position: static; width: 100%; margin-top: 24px; text-align: center; }
    .hero-foot-r .b { font-size: 18px; }
    .hero-scroll-indicator { display: none; }
    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 14px; }
    .btn-cta-hero, .btn-outline-hero { padding: 14px 24px; font-size: 14px; }

    section, .stats-section { padding: 70px 0; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 36px; }
    .section-desc { margin-left: 0; max-width: 100%; font-size: 13px; }
    section h2 { font-size: clamp(22px, 6vw, 32px); }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .stat-item, .stat-item:nth-child(3), .stat-item:nth-child(4) { border: none; padding: 0; }
    .stat-number { font-size: clamp(30px, 8vw, 44px); }
    .stat-unit { font-size: 18px; }
    .stat-label { font-size: 12px; margin-top: 10px; }

    .svc-row { grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 4px; }
    .svc-row:hover { padding-left: 14px; }
    .svc-row .name { font-size: 19px; }
    .svc-row .desc { display: none; }

    .service-cards-new, .service-cards, .blog-cards {
        grid-template-columns: 1fr;
    }

    .process-steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .process-step { border-left: none; padding: 0; }
    .step-number::after { margin: 14px 0; }

    .cta-section-new { padding: 90px 0; }
    .cta-section-new h2 { font-size: clamp(28px, 8vw, 44px); }
    .cta-buttons { gap: 12px; margin-top: 36px; }
    .btn-cta-phone .phone { font-size: 19px; }

    .footer-links { flex-wrap: wrap; gap: 20px; }
    .footer-links a { font-size: 11px; }
    .footer-info p { font-size: 12px; line-height: 1.9; }
    .footer-copyright { font-size: 10px; }
}

/* Small mobile: ~400px */
@media (max-width: 400px) {
    .stats-grid { grid-template-columns: 1fr; gap: 26px; }
    .process-steps { grid-template-columns: 1fr; gap: 24px; }
    .hero-word.w1, .hero-word.w2 { font-size: clamp(34px, 11vw, 54px); }
    .hero-word.w3 { font-size: clamp(26px, 8vw, 44px); }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons .btn-cta-hero, .cta-buttons .btn-cta-phone { width: 100%; justify-content: center; }
    .svc-row .name { font-size: 17px; }
}

/* ================================================
   조직문화 페이지 (에디토리얼 톤)
   ================================================ */
.culture-section { padding: 70px 0 90px; }
.culture-lead { text-align:center; max-width:720px; margin:0 auto 56px; font-size:21px; font-weight:600; line-height:1.6; }
.culture-band { position:relative; height:340px; border-radius:0; overflow:hidden; margin-bottom:72px; }
.culture-band img { width:100%; height:100%; object-fit:cover; }
.culture-band-overlay { position:absolute; inset:0; background:linear-gradient(120deg, rgba(22,31,54,.74), rgba(60,68,88,.30)); display:flex; align-items:center; justify-content:center; text-align:center; padding:24px; }
.culture-band-overlay p { color:#fff; font-size:26px; font-weight:800; line-height:1.5; text-shadow:0 2px 12px rgba(0,0,0,.35); max-width:640px; }
.culture-h2 { text-align:center; font-size:28px; font-weight:800; margin:0 0 42px; position:relative; padding-bottom:16px; }
.culture-h2::after { content:''; position:absolute; left:50%; bottom:0; transform:translateX(-50%); width:48px; height:3px; background:var(--color-gold); }
.culture-values { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:24px; margin-bottom:84px; }
.culture-value { background:#fff; border:1px solid var(--color-border); border-radius:0; padding:34px 28px; text-align:center; box-shadow:none; transition:transform .28s, border-color .28s; }
.culture-value:hover { transform:translateY(-6px); border-color:var(--color-gold); }
.culture-value .ic { width:64px; height:64px; margin:0 auto 18px; border-radius:0; display:flex; align-items:center; justify-content:center; font-size:30px; background:var(--color-light-gray); }
.culture-value h3 { font-size:18px; margin-bottom:10px; }
.culture-value p { font-size:14px; color:var(--color-secondary); line-height:1.7; }
.culture-grow { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; margin-bottom:84px; }
.culture-grow-img { border-radius:0; overflow:hidden; aspect-ratio:4/3; }
.culture-grow-img img { width:100%; height:100%; object-fit:cover; }
.culture-grow-body h2 { font-size:26px; font-weight:800; text-align:left; margin-bottom:16px; }
.culture-grow-body > p { font-size:15px; color:var(--color-secondary); line-height:1.9; margin-bottom:24px; }
.culture-grow-list { list-style:none; padding:0; }
.culture-grow-list li { position:relative; padding:14px 0 14px 42px; border-top:1px solid var(--color-border); }
.culture-grow-list li:last-child { border-bottom:1px solid var(--color-border); }
.culture-grow-list li::before { content:'\2713'; position:absolute; left:0; top:13px; width:26px; height:26px; border-radius:50%; background:var(--color-primary); color:var(--color-cream); display:flex; align-items:center; justify-content:center; font-size:13px; }
.culture-grow-list strong { display:block; font-size:15px; margin-bottom:2px; }
.culture-grow-list span { font-size:13px; color:var(--color-secondary); }
.culture-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:80px; }
.culture-gallery figure { position:relative; border-radius:0; overflow:hidden; aspect-ratio:1/1; margin:0; }
.culture-gallery img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.culture-gallery figure:hover img { transform:scale(1.06); }
.culture-gallery figcaption { position:absolute; left:0; right:0; bottom:0; padding:14px 16px; color:#fff; font-size:14px; font-weight:600; background:linear-gradient(to top, rgba(22,31,54,.6), transparent); }
.culture-closing { text-align:center; max-width:760px; margin:0 auto; padding:44px 32px; background:var(--color-light-gray); border:1px solid var(--line-soft); border-radius:0; font-size:16px; line-height:1.9; color:var(--color-secondary); }
@media (max-width:768px){
  .culture-grow{grid-template-columns:1fr;gap:28px}
  .culture-gallery{grid-template-columns:1fr}
  .culture-band{height:240px}
  .culture-band-overlay p{font-size:20px}
}
