/* 로컬 폰트는 fonts.css에서 로드됨 */

/* 기본 타이포그래피 스타일 - deprecated API 경고 해결 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
}

/* 기본 h1 태그에 명시적 font-size 설정 - inherit 제거로 deprecated API 경고 해결 */
h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

/* h2-h6 태그에도 명시적 font-size 설정으로 deprecated API 경고 방지 */
h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

h5 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

h6 {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
}

/* 이미지 lazy loading 스타일 */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

img.lazy.loaded {
    opacity: 1;
    background: none;
    animation: none;
}

/* 로딩 애니메이션 */
@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* 🎯 모달 이미지 스켈레톤 로딩 애니메이션 - 더 sleek하고 simple하게 */

/* 🎯 통합된 스켈레톤 애니메이션 - 성능 최적화 */
@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}


/* 🎯 통합된 스켈레톤 애니메이션 - shimmer + pulse 조합 */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
        opacity: 0.5;
    }

    50% {
        background-position: 0% 0;
        opacity: 0.8;
    }

    100% {
        background-position: 200% 0;
        opacity: 0.5;
    }
}

/* 포트폴리오 모달 이미지 - 간단한 로딩 표시 */
.simple-modal img {
    transition: opacity 0.2s ease;
}

/* 케이스 모달 이미지 스켈레톤 - 성능 최적화된 통합 애니메이션 */
.modal-overlay img[data-skeleton] {
    display: block;
    width: 100%;
    height: auto;
    background: linear-gradient(90deg, #f8f9fa 30%, #e9ecef 50%, #f8f9fa 70%);
    background-size: 200% 100%;
    animation: skeleton-loading 2s ease-in-out infinite;
    color: transparent;
    object-fit: cover;
    min-height: 200px;
    opacity: 0.7;
    border-radius: 8px;
    will-change: background-position, opacity;
    transform: translateZ(0);
    /* GPU 가속 강제 활성화 */
}

/* 로딩 완료 시 페이드인 - 간단하게 */
.simple-modal img.is-loaded,
.modal-overlay img.is-loaded {
    opacity: 1;
}

/* 로딩 스피너 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0B7EC8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 이미지 컨테이너에 로딩 상태 표시 */
.image-container {
    position: relative;
    overflow: hidden;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
}

.image-container.loaded::before {
    display: none;
}

/* 에러 상태 스타일 */
.image-container.error::before {
    content: '이미지를 불러올 수 없습니다';
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 14px;
    text-align: center;
}

img.error {
    opacity: 0;
}

/* Critical CSS - 기본 레이아웃 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

:root {
    --primary-blue: #0B7EC8;
    --primary-orange: #FF8C42;
    --primary-yellow: #FFD23F;

    --blue-light: #E8F4FD;
    --blue-dark: #0A6BA8;
    --orange-light: #FFF2E8;
    --yellow-light: #FFF9E6;

    --gray-50: #FAFBFC;
    --gray-100: #F4F6F8;
    --gray-200: #E5E8EB;
    --gray-300: #D1D6DB;
    --gray-500: #8B95A1;
    --gray-700: #4E5968;
    --gray-900: #1A1D29;

    --white: #FFFFFF;
    --black: #000000;

    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-yellow) 100%);

    --shadow-sm: 0 1px 3px rgba(27, 31, 35, 0.1);
    --shadow-md: 0 4px 12px rgba(27, 31, 35, 0.15);
    --shadow-lg: 0 8px 24px rgba(27, 31, 35, 0.2);
    --shadow-xl: 0 16px 48px rgba(27, 31, 35, 0.25);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Pretendard', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
    scroll-behavior: smooth;
}

/* 모바일 전용 줄바꿈 - 데스크탑에서는 숨김 */
.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .mobile-break {
        display: inline;
    }
}

body {
    color: var(--gray-900);
    background: var(--white);
    font-weight: 400;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-left: -10px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 80px;
    margin-top: 0;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.company-name {
    font-family: 'Paperlogy-6SemiBold', 'Pretendard', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
    font-size: 26px;
    font-weight: 400;
    color: #000000;
    letter-spacing: -0.02em;
    white-space: nowrap;
    margin-left: 0;
}

.nav {
    display: flex;
    gap: 60px;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 60px;
    transform: translateX(40px);
}

.nav-link {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 12px 0;
    letter-spacing: -0.02em;
}

.nav-link:hover {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    position: relative;
    overflow: visible;
    margin-right: 20px;
}



.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}


.nav-cta-button {
    background: transparent;
    color: #000000;
    padding: 12px 5px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    letter-spacing: 0.02em;
    border: none;
    position: relative;
    overflow: visible;
    margin-right: 20px;
    text-decoration: none;
}

.nav-cta-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--blue-light));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.nav-cta-button:hover::after {
    width: 100%;
}

.nav-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-light), var(--primary-blue));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.nav-cta-button:hover::before {
    width: 100%;
}

/* 히어로 섹션 */
.hero {

    padding: 0px 0;
    /* 헤더 높이만큼 패딩 조정 */
    scroll-margin-top: 80px;
    height: 100vh;
    /* 화면 전체 높이로 변경 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* 내용이 넘칠 수 있도록 변경 */
}

.hero-content {

    max-width: 1600px;
    /* 가로 폭 확장 */
    width: 100%;
    margin: 0 auto;
    transform: translateX(15px);
    /* 오른쪽으로 15px 이동 */
    /* padding: 0 40px; */
    padding: 0 60px;
    /* 20px → 60px 좌우 여백 확대 */
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    grid-template-columns: 4fr 6fr;
    /* 4:6 비율로 변경 (좌우 반전) */
    /* gap: 100px; */
    gap: 60px;
    align-items: center;
}


.hero-gallery {
    display: flex;
    gap: 20px;
    width: 90%;
    /* 전체 너비를 20% 줄임 */
    height: 60vh;
    /* 뷰포트 높이 기준 */
    min-height: 500px;
    max-height: 600px;
    /* 최대 높이 제한 */
}

.gallery-item {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.4s ease;
    /* 빠르고 부드럽게 수정 */
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: auto;
    max-width: none;
    transform: translate(-50%, -50%);
    transition: transform 0.6s ease;
}

.gallery-item .gallery-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-family: 'IBM Plex Sans KR', sans-serif;
    /* 새로운 폰트 적용 */
    font-size: 28px;
    font-weight: 700;
    /* 폰트 두께 조정 */
    letter-spacing: 0.02em;
    /* 자간 조정 */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-gallery:hover .gallery-item:not(:hover) {
    flex: 0.7;
    filter: brightness(0.7);
}

.gallery-item:hover {
    flex: 3;
    box-shadow: var(--shadow-xl);
    /* 빛나는 효과 제거, 깔끔한 그림자 효과로 변경 */
}

/* 호버 시 텍스트/그라데이션 표시 규칙은 기본 표시로 변경되어 불필요하므로 제거 */

.hero-text-content {
    padding-left: 40px;
    /* 100px → 40px 왼쪽으로 이동 */
    padding-top: 50px;
    /* 텍스트 블록을 아래로 10px 이동 */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero-subtitle .highlight {
    font-weight: 700;
    color: var(--primary-blue);
}

/* 새로운 스토리 섹션 */
.story-section {
    padding: 150px 0;
    background: var(--white);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ========================
   심플 솔루션 섹션
======================== */

.simple-solution {
    padding: 120px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.simple-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.simple-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.simple-left {
    max-width: 500px;
}

.simple-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6366f1;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.simple-icon svg {
    width: 20px;
    height: 20px;
}

.simple-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin: 0 0 24px 0;
}

.simple-description {
    font-size: 24px;
    line-height: 1.8;
    color: var(--gray-600);
    margin: 0;
}

.simple-right {
    display: flex;
    justify-content: center;
}



/* 하단 컨텐츠 (큰 이미지 + 설명) */
.simple-second-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 120px;
}

.simple-large-image {
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease 0.1s;
    /* 1.2s → 0.6s, 0.4s → 0.1s 더 빠르게 */
}

.simple-large-image.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.large-image-container {
    transition: all 0.3s ease;
}

.large-image-container:hover {
    transform: translateY(-10px);
}

.large-image-container img {
    width: 520px;
    height: 520px;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.simple-text {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease 0.3s;
    /* 1.2s → 0.6s, 0.8s → 0.3s 더 빠르게 */
}

.simple-text.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.simple-text-content h3 {
    font-size: 40px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 32px 0;
    line-height: 1.4;
}

.simple-text-content p {
    font-size: 22px;
    line-height: 1.8;
    color: var(--gray-600);
    margin: 0 0 28px 0;
}

.simple-text-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {

    /* 모바일 헤더 최적화 - World-class spacing */
    .header {
        height: 60px;
        min-height: 60px;
    }

    .header-content {
        height: 60px;
        min-height: 60px;
        padding: 0 16px;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        position: relative;
        z-index: 1000;
        pointer-events: auto;
    }

    /* 모바일에서 햄버거 메뉴 영역 확실히 클릭 가능하게 */
    .mobile-nav-toggle {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative;
        z-index: 1003;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 2px solid rgba(0, 0, 0, 0.1) !important;
        margin-top: -10px;
    }

    .logo {
        height: 60px;
        margin-top: 0;
        flex-shrink: 0;
    }

    .logo img {
        height: 44px;
        width: auto;
    }

    .logo-container .company-name,
    .header .logo-container .company-name,
    .header-content .logo-container .company-name {
        font-size: 24px !important;
        margin-left: -15px !important;
        /* 왼쪽으로 5px 이동 */
        margin-top: -7px !important;
        /* 위로 3px 이동 */
        flex-shrink: 0;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
    }

    /* 모바일에서 헤더 간격 최적화 */
    .logo-container {
        margin-left: 30px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0px;
    }

    /* 모바일에서 회사명을 중앙에 배치 */
    .company-name-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 21px;
        font-weight: 800;
        color: var(--gray-900);
        letter-spacing: -0.02em;
        white-space: nowrap;
        margin-top: -8px;
        z-index: 1001;
    }

    /* 데스크탑 네비게이션 숨김 */
    .nav-group {
        display: none !important;
        visibility: hidden;
        opacity: 0;
        width: 0;
        height: 0;
        overflow: hidden;
    }

    /* 모바일에서 햄버거 메뉴만 표시 */
    .mobile-nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 1003;
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .simple-solution {
        padding: 48px 0;
        /* Reduced from 80px - World-class density */
    }

    .simple-content {
        text-align: center;
    }

    .simple-title {
        font-size: 36px;
    }

    .simple-description {
        font-size: 18px;
        line-height: 1.7;
    }



    /* Bottom content mobile */
    .simple-second-content {
        grid-template-columns: 1fr;
        gap: 32px;
        /* Reduced from 48px */
        margin-top: 48px;
        /* Reduced from 80px */
        text-align: center;
    }

    .large-image-container img {
        width: 364px;
        height: 364px;
    }

    .simple-text-content h3 {
        font-size: 32px;
        line-height: 1.3;
    }

    .simple-text-content p {
        font-size: 18px;
        line-height: 1.7;
    }
}



/* 솔루션 비교 섹션 (사용 안함) */
.solution-comparison {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    display: none;
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 섹션 헤더 */
.comparison-header {
    text-align: center;
    margin-bottom: 80px;
}

.comparison-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.comparison-header p {
    font-size: 18px;
    color: var(--gray-600);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.accent-text {
    color: var(--primary-blue);
    font-weight: 800;
}

/* 비교 섹션 헤더 */
.comparison-headers {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 32px;
    padding: 0;
}

.comparison-section-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding: 16px 24px;
    border-radius: 12px;
    letter-spacing: -0.01em;
}

.comparison-section-title.left {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.comparison-section-title.right {
    color: var(--primary-blue);
    background: rgba(11, 126, 200, 0.08);
    border: 1px solid rgba(11, 126, 200, 0.2);
}

.comparison-vs {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-500);
    text-align: center;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    letter-spacing: 0.1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 시각적 비교 섹션 */
.visual-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 100px;
    padding: 0;
}

.comparison-visual {
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.comparison-visual.left {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border: 2px solid #e5e5e5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-visual.left:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #d1d1d1;
}

.comparison-visual.right {
    background: white;
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 20px rgba(11, 126, 200, 0.1);
}

.comparison-visual.right:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(11, 126, 200, 0.2);
    border-color: var(--primary-blue);
}

.comparison-visual.right::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comparison-visual.right:hover::before {
    opacity: 0.1;
}

/* 프로세스 타이틀 */
.process-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.problem-text {
    color: #000000;
    font-weight: 900;
    font-size: 28px;
    text-decoration: line-through;
    text-decoration-color: #dc2626;
    text-decoration-thickness: 3px;
}

.solution-text {
    color: #000000;
    font-weight: 900;
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.solution-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-radius: 2px;
}

/* 분리된 프로세스 (기존 방식) */
.separated-process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.process-box {
    background: #f8f8f8;
    border: 2px solid #d1d1d1;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    min-width: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.process-box:hover {
    background: #f0f0f0;
    border-color: #bbb;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.process-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.process-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.process-company {
    font-size: 14px;
    color: var(--gray-600);
}

.process-arrow {
    color: var(--gray-400);
    font-size: 20px;
    font-weight: 600;
}

/* 통합된 프로세스 (씨앤에스(주)) */
.integrated-process {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.unified-container {
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    width: 100%;
    max-width: 320px;
    transition: all 0.3s ease;
}

.unified-container:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(11, 126, 200, 0.15);
    transform: translateY(-2px);
}

.unified-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.unified-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.unified-step {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    padding: 8px 12px;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.step-plus {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 16px;
}

.unified-footer {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
}

/* 프로세스 요약 */
.process-summary {
    text-align: left;
}

.summary-item {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.process-summary.negative .summary-item {
    color: #333333;
}

.process-summary.negative .summary-item::before {
    content: '✗';
    color: #dc2626;
    font-weight: 900;
    font-size: 18px;
    width: 20px;
    flex-shrink: 0;
}

.process-summary.positive .summary-item {
    color: #1a1a1a;
    font-weight: 700;
}

.process-summary.positive .summary-item::before {
    content: '✓';
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 18px;
    width: 20px;
    flex-shrink: 0;
}

/* VS 메인 구분선 */
.vs-divider-main {
    font-size: 20px;
    font-weight: 900;
    color: #000000;
    text-align: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border: 3px solid #000000;
    border-radius: 50px;
    letter-spacing: 0.2em;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.vs-divider-main:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* 결론 섹션 */
.comparison-conclusion {
    background: white;
    border-radius: 24px;
    padding: 60px 40px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-top: 20px;
}

.conclusion-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.conclusion-left {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.conclusion-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
    text-align: left;
    line-height: 1.4;
}

.result-highlight {
    color: var(--primary-blue);
    font-weight: 800;
    position: relative;
}

.result-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    opacity: 0.7;
    border-radius: 2px;
}

/* 결론 지표 - 세로 배치 */
.conclusion-metrics {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
    justify-content: center;
}

.metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.metric:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(11, 126, 200, 0.12);
    border-color: var(--primary-blue);
}

.metric-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.metric-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin: 0;
}

.metric-label {
    font-size: 16px;
    color: var(--gray-700);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* 결론 이미지 - 우측 배치 */
.conclusion-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.conclusion-image {
    margin: 0;
}

.conclusion-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.conclusion-image img:hover {
    transform: translateY(-6px);
}

.story-content h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 60px;
    color: var(--gray-900);
    letter-spacing: -0.03em;
}

.story-content h2 .accent-underline {
    position: relative;
    display: inline-block;
}

.story-content h2 .accent-underline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--gradient-accent);
    opacity: 0.7;
}

.story-content p {
    font-size: 22px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 60px;
}

.story-content .highlight {
    font-weight: 700;
    color: var(--primary-blue);
}

.story-content .final-cta {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
}

.story-more-button {
    display: inline-block;
    background: var(--gradient-accent);
    /* hero-primary와 동일한 그라데이션으로 변경 */
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    /* 유리 효과 */
    overflow: hidden;
    /* 유리 효과 */
}

.story-more-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.story-more-button:hover::before {
    left: 100%;
}

.story-more-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* 스크롤 다운 UI */
.scroll-down {
    position: absolute;
    /* 다시 absolute로 변경 */
    bottom: 50px;
    /* Hero section 하단에서 60px 위에 위치 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: var(--gray-500);
    text-align: center;
    cursor: pointer;
}

.scroll-down .mouse {
    width: 28px;
    height: 48px;
    border: 2px solid var(--gray-500);
    border-radius: 14px;
    position: relative;
    opacity: 0.8;
}

.scroll-down .scroller {
    width: 4px;
    height: 10px;
    background: var(--gray-500);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-animation 1.8s infinite;
    /* 애니메이션 속도 및 느낌 조정 */
}

@keyframes scroll-animation {
    0% {
        top: 8px;
        opacity: 1;
    }

    40% {
        top: 24px;
        opacity: 0;
    }

    /* 더 역동적인 움직임 */
    80% {
        top: 8px;
        opacity: 0;
    }

    100% {
        top: 8px;
        opacity: 1;
    }
}

/* 성공사례 가로 스크롤 섹션 */
.case-scroll-section {
    padding-top: 100px;
    /* 상단 여백 추가 */
    padding-bottom: 100px;
    background: var(--gray-50);
    /* 배경색 추가 */
}

.case-scroll-container {
    display: flex;
    gap: 24px;
    /* 간격 조정 */
    overflow-x: auto;
    padding: 20px;
    margin: 0 -20px;
    /* 컨테이너 패딩 고려 */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.case-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, and Opera */
}

.case-card-horizontal {
    flex: 0 0 380px;
    /* 카드 너비 축소 */
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card-horizontal:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.case-card-thumbnail {
    width: 100%;
    height: 220px;
    /* 썸네일 높이 축소 */
    background-size: cover;
    background-position: center;
}

.case-card-content {
    padding: 20px;
    /* 내부 여백 축소 */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-card-tag {
    display: inline-block;
    background: var(--orange-light);
    color: var(--primary-orange);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.case-card-title {
    font-size: 19px;
    /* 폰트 크기 축소 */
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.4;
}

.case-card-desc {
    color: var(--gray-700);
    font-size: 14px;
    /* 폰트 크기 축소 */
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.case-card-stats {
    display: flex;
    gap: 24px;
    border-top: 1px solid var(--gray-100);
    padding-top: 20px;
}

.case-card-stat-item {
    text-align: center;
}

.case-card-stat-value {
    font-size: 18px;
    /* 폰트 크기 축소 */
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.case-card-stat-label {
    font-size: 12px;
    color: var(--gray-500);
}

/* --- 성공사례 페이지 V2 스타일 --- */

/* 필터 버튼 */
.filter-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 60px;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--gray-300);
    background: white;
    color: var(--gray-700);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

/* 카드 그리드 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    margin-bottom: 80px;
    /* 이미지카드와 footer 사이 갭 추가 */
}

.case-card-v2 {
    background: white;
    border-radius: 16px;
    overflow: visible;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.case-card-v2:hover {
    transform: perspective(1000px) translateY(-10px) rotateX(2deg);
    box-shadow: var(--shadow-lg);
}


.case-card-v2-img {
    position: relative !important;
    height: 260px;
    /* 200px에서 20% 증가 */
    overflow: hidden;
}

.case-card-v2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card-v2:hover .case-card-v2-img img {
    transform: scale(1.05);
}

.case-card-v2-info {
    padding: 20px 25px 35px 25px;
}

.case-card-v2-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    position: relative;
}

.case-card-v2-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.3;
    max-width: 60%;
}

/* HACCP 서비스 표 스타일 */
.case-card-v2-services {
    margin-top: 10px;
}

.service-table {
    display: grid;
    grid-template-columns: 1.3fr 1fr 40px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.service-table .cell {
    padding: 8px 10px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    color: var(--gray-800);
}

.service-table .cell.label {
    grid-row: 1 / span 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f8fafc;
    font-weight: 800;
    color: var(--gray-900);
    font-size: 15px;
}

.service-table .cell.service {
    font-weight: 700;
}

.service-table .cell.check {
    text-align: center;
    font-weight: 800;
    color: #111827;
    border-right: 0;
}

.service-table .cell:nth-last-child(-n+1) {
    border-bottom: 0;
}

.case-card-v2-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
}

.case-card-v2-duration {
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.case-card-v2-duration::before {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    opacity: 0.7;
}

.case-card-v2-industry {
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 2px;
    width: fit-content;
    text-align: right;
    align-self: flex-end;
}

.case-card-v2-industry::before {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    opacity: 0.7;
}

.case-card-v2-location {
    color: var(--gray-600);
    margin: 0 0 8px 0;
    font-size: 14px;
}

.case-card-v2-tags {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.case-card-v2-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    background: white;
    border: 1px solid #fbbf24;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.case-card-v2-tag:hover {
    border-color: #9ca3af;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 표의 모바일 최적화 */
@media (max-width: 768px) {
    .service-table {
        grid-template-columns: 1.2fr 0.8fr 32px;
    }

    .service-table .cell {
        padding: 6px 8px;
        font-size: 12px;
    }

    .service-table .cell.label {
        font-size: 14px;
    }

    .case-card-v2-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-top: 16px;
    }

    .case-card-v2-industry {
        font-size: 14px;
    }

    .case-card-v2-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 14px;
    }

    .case-card-v2-industry {
        align-self: flex-start;
    }

    .case-card-v2-duration {
        font-size: 13px;
    }
}

/* Additional mobile optimizations for case card metadata */
@media (max-width: 480px) {
    .case-card-v2-industry {
        font-size: 12px;
    }

    .case-card-v2-duration {
        font-size: 12px;
    }

    .case-card-v2-meta {
        margin-top: 14px;
        gap: 4px;
    }

    .case-card-v2-industry {
        font-size: 13px;
    }

    .case-card-v2-header {
        margin-bottom: 12px;
    }

    .service-table .cell {
        font-size: 11px;
    }

    .service-table .cell.label {
        font-size: 13px;
    }
}

/* 모달(팝업) 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 29, 41, 0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-gallery {
    flex: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.modal-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Reserve reasonable height for skeleton, but allow content to determine actual size */
    min-height: 380px;
    max-height: 60vh;
}

.modal-main-image img {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    display: block;
}

/* When showing skeleton on the modal image, make it cover the reserved area */
.modal-main-image img[data-skeleton] {
    width: 100% !important;
    height: 380px !important;
    min-height: 380px !important;
    object-fit: cover;
}

.modal-thumb-images {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 0;
}

.modal-thumb-images img {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    border-radius: 8px;
    cursor: pointer;
    border: 0;
    object-fit: cover;
    box-sizing: border-box;
}

.modal-thumb-images img:hover {
    outline: 2px solid var(--primary-blue);
    outline-offset: 0;
}

.modal-thumb-images img.active {
    outline: 2px solid var(--primary-blue);
    outline-offset: 0;
}

.modal-info {
    flex: 1;
    padding: 30px;
    border-left: 1px solid var(--gray-100);
}

.modal-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-info .location {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.modal-info .info-section {
    margin-bottom: 20px;
}

.modal-info .info-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    border-left: 3px solid var(--primary-blue);
    padding-left: 10px;
}

.modal-info .info-section p {
    font-size: 15px;
    color: var(--gray-700);
    padding-left: 13px;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #64748b;
    font-size: 24px;
    font-weight: 400;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #0f172a;
    transform: scale(1.05);
}


.hero-badges {
    margin-left: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--orange-light);
    color: var(--primary-orange);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 27px;
    margin-left: 0;
    border: 2px solid rgba(255, 140, 66, 0.3);
    transform: scale(0.85);
    transform-origin: left center;
    letter-spacing: 0.02em;
    font-family: 'Hamchorom', sans-serif;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-top: 32px;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    font-family: 'Hamchorom', sans-serif;
}

.hero-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.3;
    /* 1.1 -> 1.3 으로 수정 */
    margin-bottom: 32px;
    /* 24px -> 32px 으로 수정 */
    margin-left: 0;
    letter-spacing: -2px;
}

.hero-title .accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-subtitle {
    font-size: 26px;
    /* 24px -> 26px */
    color: var(--gray-700);
    font-weight: 400;
    margin-bottom: 48px;
    max-width: 600px;
    line-height: 1.6;
    /* 1.5 -> 1.6 */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
}

.hero-primary {
    background: var(--gradient-accent);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

.hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.hero-primary:hover::before {
    left: 100%;
}

.hero-primary:hover {
    transform: translateY(-4px);
    /* scale(1.02) 제거 */
    box-shadow: var(--shadow-xl);
    border-color: white;
}

.hero-secondary {
    /* 유리효과 기본 스타일 */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.18);
    color: var(--gray-700);
    padding: 16px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.hero-secondary:hover::before {
    left: 100%;
}

.hero-secondary:hover {
    background: linear-gradient(135deg, #0d8df1 0%, #00a0e9 100%);
    color: white;
    transform: translateY(-3px);
    border-color: #0d8df1;
    box-shadow:
        0 12px 40px rgba(13, 141, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

/* --- NEW: Six-step process section (infinite scroll animation) --- */
.process-six-steps {
    padding: 60px 0;
    overflow: hidden;
    /* Hide overflowing content */
}

/* Hero flow wrapper for infinite scroll */
.hero-flow-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-flow-track {
    display: inline-flex;
    /* shrink-to-content to ensure exact 200% width with duplication */
    width: max-content;
    /* force track width to be content width for precise -50% translation */
    align-items: center;
    white-space: nowrap;
    animation: hero-flow-scroll 20s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform-origin: 0 50%;
}

/* Process card styles for horizontal flow */
.hero-flow-track .process-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    width: 200px;
    /* Fixed width for consistent flow */
    margin: 0 8px;
    display: flex;
    flex-direction: column;
}

.hero-flow-track .process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hero-flow-track .process-thumb {
    aspect-ratio: 6 / 5;
    /* widen ~1.2x vs square */
    overflow: hidden;
}

.hero-flow-track .process-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-flow-track .process-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
}

.hero-flow-track .process-meta .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.hero-flow-track .process-meta .label {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
}

/* Flow arrow styles */
.flow-arrow {
    font-size: 24px;
    color: var(--primary-blue);
    font-weight: bold;
    margin: 0 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: arrow-pulse 2s ease-in-out infinite;
}

/* Seam spacing between duplicated sets for seamless loop */
.hero-flow-track .flow-gap {
    flex-shrink: 0;
    width: 45px;
    /* default desktop gap */
}

/* Arrow pulse animation */
@keyframes arrow-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Infinite scroll animation */
@keyframes hero-flow-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Pause animation on hover */
.hero-flow-wrapper:hover .hero-flow-track {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-flow-track .process-card {
        width: 180px;
    }

    .flow-arrow {
        font-size: 20px;
        margin: 0 8px;
    }

    .hero-flow-track .flow-gap {
        width: 24px;
    }
}

@media (max-width: 768px) {
    .process-six-steps {
        padding: 48px 0;
    }

    .hero-flow-track .process-card {
        width: 160px;
        margin: 0 6px;
    }

    .hero-flow-track .process-meta {
        padding: 8px 10px;
    }

    .hero-flow-track .process-meta .label {
        font-size: 13px;
    }

    .flow-arrow {
        font-size: 18px;
        margin: 0 6px;
    }

    /* Slower animation on mobile for better readability */
    .hero-flow-track {
        animation-duration: 24s;
    }

    .hero-flow-track .flow-gap {
        width: 18px;
    }
}

@media (max-width: 480px) {
    .hero-flow-track .process-card {
        width: 140px;
        margin: 0 4px;
    }

    .flow-arrow {
        font-size: 16px;
        margin: 0 4px;
    }

    .hero-flow-track {
        animation-duration: 28s;
    }

    .hero-flow-track .flow-gap {
        width: 14px;
    }
}

/* Hide original hero flow (remove moving effect in hero) */
.hero-compact .hero-flow-container,
.hero-compact .services-kicker {
    display: none !important;
}

/* Hero section 버튼은 이제 일반 스타일과 동일 */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 800px;
}

.hero-image {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--orange-light) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--gray-700);
    font-size: 16px;
    font-weight: 500;
}

/* 공통 섹션 스타일 */
.section {
    padding: 60px 0;
    /* Reduced from 100px - Better mobile density */
    scroll-margin-top: 60px;
    /* Adjusted for new header height */
}

.section-dark {
    background: var(--gray-50);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title p {
    font-size: 20px;
    color: var(--gray-700);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* Page basic styles - Optimized for mobile-first */
.page {
    min-height: 100vh;
    padding-top: 60px;
    /* Reduced from 90px - World-class mobile density */
    padding-bottom: 40px;
    /* Reduced from 60px */
}

/* Page header layout - Optimized for mobile-first */
.page-header {
    margin-bottom: 48px;
    /* Reduced from 80px for better mobile density */
    padding-top: 50px;
    /* 네비게이션 바와의 간격을 늘림 */
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.page-title {
    flex: 0 0 auto;
    margin: 0;
    font-size: 52px;
    font-family: 'Paperlogy-8ExtraBold', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* 구분선 */
.divider-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--gray-200) 0%, var(--gray-300) 50%, var(--gray-200) 100%);
    margin-bottom: 24px;
}

.page-description {
    flex: 1;
    padding-top: 12px;
    position: relative;
}

.contact-phone-button {
    position: absolute;
    top: 70%;
    right: 1px;
    transform: translateY(-50%);
}

.page-subtitle {
    margin: 0;
    font-size: 20px;
    line-height: 1.7;
    color: var(--gray-600);
    font-weight: 400;
}

/* 필터 안내 문구 */
.filter-guide {
    margin-top: 20px;
    /* -30px에서 20px로 변경하여 위쪽에 gap 추가 */
    text-align: center;
    padding: 24px 0;
}

.filter-guide p {
    margin: 0;
    font-size: 20px;
    /* 18px에서 20px로 크기 증가 */
    color: var(--gray-700);
    /* 600에서 700으로 더 진하게 */
    font-weight: 600;
    /* 500에서 600으로 더 굵게 */
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    /* 미묘한 그림자 효과 */
    letter-spacing: 0.5px;
    /* 글자 간격 추가 */
}

/* 아이콘 */
.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 반응형 */
@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
        height: 70px;
    }

    .nav {
        display: none;
    }

    .nav-link {
        font-size: 16px;
    }

    .hero {
        padding: 16px 0;
        /* Compact mobile padding */
        scroll-margin-top: 60px;
        min-height: calc(100vh - 60px);
        /* Updated for new header height */
        display: flex;
        align-items: center;
    }

    .hero-content {
        padding: 0 16px;
        /* Tighter horizontal padding */
        grid-template-columns: 1fr;
        gap: 20px;
        /* Reduced gap for better density */
        max-width: 100%;
        text-align: left;
    }

    .hero-title {
        font-size: clamp(28px, 7vw, 42px);
        /* Slightly smaller for better proportion */
        line-height: 1.2;
        margin-bottom: 12px;
        /* Tighter spacing */
        margin-left: 0;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
        /* Reduced margin */
        padding: 0 8px;
    }

    .hero-gallery {
        height: 35vh;
        /* Reduced height for better density */
        min-height: 280px;
        max-height: 360px;
        gap: 8px;
        /* Tighter gap */
        padding: 0 8px;
    }

    /* hero-compact 1000px 이하 추가 최적화 */
    @media (max-width: 1000px) {
        .hero-compact .hero-title {
            font-size: clamp(28px, 6vw, 40px) !important;
            line-height: 1.25 !important;
            margin-bottom: 16px !important;
            margin-left: 0 !important;
        }

        .hero-compact .hero-message {
            font-size: clamp(14px, 3.5vw, 18px) !important;
            line-height: 1.6 !important;
            margin-bottom: 24px !important;
        }

        .hero-compact .hero-actions {
            flex-direction: column;
            gap: 14px;
            width: 100%;
            max-width: 320px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-compact .btn {
            width: 100%;
            padding: 16px 24px;
            font-size: 16px;
            border-radius: 12px;
        }

        .hero-compact .hero-badges {
            margin-bottom: 5px;
            margin-left: 0;
        }

        .hero-compact .hero-badge {
            font-size: 10px;
            padding: 7px 14px;
            transform: scale(0.85);
            transform-origin: left center;
            margin-left: 0;
        }

        .hero-compact .hero-features {
            flex-direction: column;
            gap: 12px;
            padding: 20px 16px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 12px;
            backdrop-filter: blur(10px);
            margin-top: 20px;
        }

        .hero-compact .hero-features .feature {
            font-size: 14px;
            font-weight: 600;
            justify-content: center;
            color: #000000;
        }

        .hero-compact .hero-features .icon {
            width: 20px;
            height: 20px;
        }
    }

    /* hero-compact class mobile optimization - World-class spacing */
    .hero-compact {
        text-align: left;
        padding: 16px 12px;
        /* Tighter padding */
    }

    .hero-compact .hero-inner {
        padding: 0 12px;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
        /* Reduced gap */
    }

    .hero-compact .hero-panel {
        margin-left: 0;
        margin-top: 16px;
        /* Reduced margin */
        padding: 16px 0;
        text-align: left;
        width: 100%;
    }

    .hero-compact .hero-title {
        font-size: clamp(26px, 6.5vw, 34px);
        line-height: 1.2;
        margin-bottom: 12px;
        /* Tighter spacing */
        margin-left: 0;
    }

    .hero-compact .hero-message {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 20px;
        /* Reduced margin */
        padding: 0 8px;
    }

    .hero-compact .hero-actions {
        flex-direction: column;
        gap: 12px;
        /* Tighter button spacing */
        align-items: center;
    }

    .hero-compact .btn {
        width: 100%;
        max-width: 260px;
        /* Slightly smaller */
        padding: 14px 20px;
        /* More compact padding */
        font-size: 15px;
    }

    .hero-compact .hero-media {
        margin-top: 24px;
        /* Reduced margin */
        width: 100%;
    }

    .hero-compact .services-kicker {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-compact .hero-flow-container {
        padding: 0 10px;
    }

    /* 모바일에서만 flow item 크기 조정 */
    @media (max-width: 768px) {
        .hero-compact .flow-item {
            min-width: 120px;
            margin-right: 16px;
        }

        .hero-compact .flow-image img {
            width: 80px;
            height: 80px;
        }

        .hero-compact .flow-title {
            font-size: 14px;
            line-height: 1.3;
        }

        /* 모바일 네비게이션 활성화 */
        .mobile-nav-toggle {
            display: flex !important;
        }

        .mobile-nav-overlay {
            display: block !important;
        }

        .mobile-nav-menu {
            display: flex !important;
        }

        /* Remove conflicting mobile styles - handled by main mobile section */
    }

    /* Cases page mobile optimization */
    .filter-buttons {
        flex-wrap: wrap;
        gap: 10px;
        /* Reduced from 12px */
        justify-content: center;
        padding: 0 16px;
    }

    .filter-btn {
        padding: 12px 20px;
        font-size: 16px;
        min-width: auto;
        flex: 1;
        min-width: 120px;
        max-width: 200px;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .case-card {
        margin: 0;
    }

    .case-card img {
        height: 200px;
    }

    .case-card h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    .case-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    .filter-guide p {
        font-size: clamp(20px, 5vw, 30px);
        padding: 0 16px;
        line-height: 1.4;
    }

    /* About page mobile optimization - padding now handled in specific mobile media query */

    .greeting-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .greeting-text {
        order: 2;
    }

    .greeting-image {
        order: 1;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .greeting-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .greeting-text p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 16px;
        /* Reduced from 20px */
        text-align: left;
    }

    .section-title {
        font-size: clamp(28px, 6vw, 36px);
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 18px;
        line-height: 1.5;
    }

    .scroll-down {
        bottom: 40px;
        /* 모바일에서도 위로 올림 */
    }

    /* Solution comparison section mobile responsive */
    .solution-comparison {
        padding: 48px 0;
        /* Reduced from 80px */
    }

    .comparison-header h2 {
        font-size: clamp(22px, 5.5vw, 30px);
        /* Slightly smaller */
        margin-bottom: 12px;
    }

    .comparison-header p {
        font-size: 15px;
        /* Reduced from 16px */
        padding: 0 8px;
        /* Reduced from 10px */
    }

    .comparison-headers {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }

    .comparison-section-title {
        font-size: 17px;
        /* Slightly reduced */
        padding: 10px 16px;
        /* Reduced padding */
    }

    .comparison-vs {
        font-size: 13px;
        /* Slightly reduced */
        padding: 6px 12px;
        margin: 8px auto;
        width: fit-content;
    }

    .visual-comparison {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }

    .comparison-visual {
        padding: 24px 20px;
        /* Reduced padding */
    }

    .process-title {
        font-size: 18px;
        /* Reduced from 20px */
        margin-bottom: 20px;
        /* Reduced from 24px */
    }

    .problem-text,
    .solution-text {
        font-size: 24px;
    }

    .separated-process {
        flex-direction: column;
        gap: 12px;
    }

    .process-box {
        min-width: auto;
        width: 100%;
        max-width: 200px;
        padding: 16px;
    }

    .process-arrow {
        transform: rotate(90deg);
        font-size: 18px;
    }

    .unified-container {
        max-width: 100%;
        padding: 16px;
        /* Reduced from 20px */
    }

    .unified-steps {
        flex-direction: column;
        gap: 12px;
    }

    .unified-step {
        font-size: 14px;
        padding: 6px 10px;
    }

    .step-plus {
        transform: rotate(90deg);
        font-size: 14px;
    }

    .summary-item {
        font-size: 14px;
    }

    .vs-divider-main {
        font-size: 16px;
        /* Reduced from 18px */
        padding: 12px 16px;
        /* Reduced padding */
        margin: 16px auto;
        /* Reduced from 20px */
        width: fit-content;
        border-width: 2px;
    }

    .comparison-conclusion {
        padding: 40px 24px;
    }

    .conclusion-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .conclusion-left {
        order: 2;
    }

    .conclusion-right {
        order: 1;
    }

    .conclusion-content h3 {
        font-size: 22px;
        margin-bottom: 28px;
        text-align: center;
        line-height: 1.3;
    }

    .conclusion-metrics {
        gap: 16px;
    }

    .metric {
        padding: 20px 24px;
    }

    .metric:hover {
        transform: translateY(-2px);
    }

    .metric-value {
        font-size: 28px;
    }

    .metric-label {
        font-size: 15px;
    }

    .conclusion-image img {
        width: 90%;
        max-width: 280px;
    }

    .hero-image {
        height: 300px;
        order: 2;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .stat-item {
        text-align: center;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .page-title {
        font-size: 36px;
    }

    /* 성공사례 카드 반응형 */
    .case-card-horizontal {
        flex-direction: column !important;
        min-height: auto !important;
    }

    .case-card-thumbnail {
        width: 100% !important;
        min-width: 100% !important;
        height: 200px !important;
    }

    /* 회사소개 반응형 */
    .about-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .about-content-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .company-info-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* 푸터 */
.footer {
    background: rgb(248, 248, 247);
    color: black;
    padding: 56px 0;
    /* 80px -> 56px, 높이 70%로 축소 */
    font-size: 16px;
    border-top: 1px solid black;
    /* 검정 경계선 */
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 로고와 텍스트를 세로 중앙 정렬 */
    gap: 300px;
    /* 로고+회사명과 회사정보 사이 간격 */
}

.footer-logo {
    display: flex;
    align-items: center;
    /* 로고와 회사명을 세로 중앙 정렬 */
    padding-top: 0;
    /* 패딩 제거하여 중앙 정렬 */
    gap: 12px;
    /* 로고와 회사명 사이 간격 */
}

.footer-logo img {
    height: 70px;
    /* 로고 크기 조정 */
    margin-bottom: 0;
    /* 하단 마진 제거 */
    filter: none;
    /* 흰색 배경에서는 필터 제거 */
}

.footer-logo .company-name {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

.footer-info {
    margin-top: -15px;
    /* 상호부터 이메일까지 내용을 위로 올림 */
    margin-right: -190px;
    /* 회사정보를 오른쪽으로 60px 이동 */
}

.footer-info p {
    margin-bottom: 8px;
    line-height: 1.8;
}

.footer-info span {
    margin: 0 8px;
}

.footer-copyright {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #0b0b0b;
    text-align: center;
    font-size: 12px;
    color: #060707;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Supersquad Signature Styles */
@keyframes shine-pass {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

.footer.group:hover .shimmer-overlay {
    animation: shine-pass 0.8s ease-in-out 2;
}

.supersquad-signature {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    user-select: none;
    padding: 4px 8px;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
}

.supersquad-signature .signature-text {
    font-size: 12px;
    font-weight: 500;
    color: #737373;
}

.supersquad-signature .signature-logo {
    opacity: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.supersquad-signature .signature-logo img {
    width: auto;
    height: 18px;
    object-fit: contain;
}

.supersquad-signature .shimmer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-100%) skewX(12deg);
    pointer-events: none;
    mix-blend-mode: overlay;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 32px;
    }

    .footer-info {
        margin: 0 auto;
    }

    .footer-info p {
        display: flex;
        flex-direction: column;
    }

    .footer-info span {
        display: none;
    }
}

/* Mobile responsive - World-class spacing optimization */
@media (max-width: 768px) {

    /* Ensure content clears fixed navbar comfortably */
    .page {
        padding-top: 100px;
        /* Header (60px) + generous 40px breathing room */
    }

    .page-header {
        margin-bottom: 24px;
        /* Compact but breathable */
        padding: 0 16px;
        /* Remove top padding since .page handles navbar clearance */
    }

    .page-header-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        /* 2px에서 8px로 증가 - 타이틀과 서브타이틀 사이 적절한 간격 */
        text-align: left;
        /* Left-aligned title stack */
        align-items: flex-start;
        /* Align to left edge */
        justify-content: flex-start !important;
        /* Override desktop space-between */
        padding: 0 !important;
        /* Remove any inherited padding */
        margin: 0 !important;
        /* Remove any inherited margin */
    }

    .divider-line {
        display: none;
        /* subtitle 위의 기존 divider는 숨김 */
    }

    /* subtitle 아래에 새로운 divider 추가 */
    .page-subtitle::after {
        content: '';
        display: block;
        width: 60px;
        height: 2px;
        background-color: var(--primary-blue);
        margin: 10px 0 0 0;
        /* 하단 여백 제거, 상단만 10px */
    }

    /* 페이지 헤더와 본문 사이의 공통 간격 제어 */
    .page-header {
        margin-bottom: 20px !important;
        /* 24px에서 20px로 조정 */
    }

    /* 모든 페이지의 첫 번째 섹션 상단 여백 통일 */
    .about-section,
    .section:first-of-type,
    .contact-section,
    .construction-process-overview,
    .consulting-process-section {
        margin-top: 10px !important;
        /* divider 이후 본문까지의 간격 */
    }

    .page-description {
        padding: 0 !important;
        /* Remove all padding forcefully */
        margin: 0 !important;
        /* Remove all margin forcefully */
        text-indent: 0 !important;
        /* Remove any text indentation */
        flex: none !important;
        /* Remove flex properties that might add space */
    }

    .page-title {
        font-size: 32px;
        /* Slightly smaller to match compact style */
        font-weight: 800;
        line-height: 1.1;
        /* More headline-like */
        margin: 0 !important;
        /* Remove all margins forcefully */
        padding: 0 !important;
        /* Remove all padding forcefully */
        text-indent: 0 !important;
        /* Remove any text indentation */
        box-sizing: border-box !important;
        /* Ensure proper box model */
    }

    .page-subtitle {
        font-size: 18px;
        /* Slightly larger for better readability */
        line-height: 1.4;
        /* Tighter line spacing for compact look */
        color: var(--gray-600);
        font-family: 'Nanum Myeongjo', serif !important;
        /* Apply Nanum Myeongjo font */
        max-width: none;
        /* Remove width restriction for natural flow */
        width: 100%;
        /* Full width to match title alignment */
        margin: 0 !important;
        /* Remove all margins forcefully */
        padding: 0 !important;
        /* Remove all padding forcefully */
        text-indent: 0 !important;
        /* Remove any text indentation */
        word-break: keep-all;
        /* Prevent awkward Korean word breaks */
        overflow-wrap: break-word;
        /* Allow breaking only when necessary */
        box-sizing: border-box !important;
        /* Ensure proper box model */
    }

    .filter-guide {
        margin-bottom: 20px;
        /* Reduced from 30px */
        padding: 16px 0;
        /* Reduced from 20px */
    }

    .filter-guide p {
        font-size: 15px;
        /* Reduced from 16px */
    }

    .filter-buttons {
        margin-bottom: 28px;
        /* Reduced from 40px */
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        /* Reduced from 30px */
    }

    .filter-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .case-card-v2-img {
        height: 216px;
        /* 180px에서 20% 증가 */
    }

    .case-card-v2-info {
        padding: 16px;
    }

    .case-card-v2-title {
        font-size: 16px;
    }

    .case-card-v2-duration {
        font-size: 11px;
    }

    .certification-badge {
        top: 8px;
        right: 8px;
        font-size: 11px;
        padding: 6px 12px;
        border-radius: 20px;
        letter-spacing: 0.5px;
    }

    .certification-badge::before {
        font-size: 10px;
    }

    .medal-icon {
        top: -6px;
        right: -6px;
        width: 34px;
        height: 34px;
        z-index: 10;
    }

    /* 480px 이하 작은 모바일 화면 최적화 */
    @media (max-width: 480px) {
        .page-header {
            margin-bottom: 24px;
            padding: 0 16px;
            /* Follow .page top padding approach */
        }

        .page-header-content {
            gap: 8px !important;
            /* Match 768px 8px gap */
        }

        .divider-line {
            display: none;
            /* subtitle 위의 기존 divider는 숨김 */
        }

        /* 작은 모바일에서 subtitle 아래 divider */
        .page-subtitle::after {
            content: '';
            display: block;
            width: 80px;
            /* 전체 너비 */
            height: 2px;
            background-color: var(--primary-blue);
            margin: 10px 0 0 0;
            /* 하단 여백 제거, 상단만 10px */
        }

        /* 페이지 헤더와 본문 사이의 공통 간격 제어 */
        .page-header {
            margin-bottom: 10px !important;
            /* 통일된 간격 */
        }

        /* 모든 페이지의 첫 번째 섹션 상단 여백 통일 */
        .about-section,
        .section:first-of-type,
        .contact-section,
        .construction-process-overview,
        .consulting-process-section {
            margin-top: 10px !important;
            /* divider 이후 본문까지의 간격 */
        }

        .page-title {
            font-size: 32px;
            /* 작은 화면에 최적화 */
            line-height: 1.15;
            /* 줄간격 최적화 */
            margin: 0 !important;
            /* Remove all margins forcefully */
            padding: 0 !important;
            /* Remove all padding forcefully */
            text-indent: 0 !important;
            /* Remove any text indentation */
            box-sizing: border-box !important;
            /* Ensure proper box model */
        }

        .page-subtitle {
            font-size: 17px;
            /* 작은 화면에 최적화 */
            line-height: 1.4;
            /* 줄간격 최적화 */
            font-family: 'Nanum Myeongjo', serif !important;
            /* Apply Nanum Myeongjo font */
            max-width: none;
            /* Remove width restriction */
            width: 100%;
            /* Full width to match title alignment */
            margin: 0 !important;
            /* Remove all margins forcefully */
            padding: 0 !important;
            /* Remove all padding forcefully */
            text-indent: 0 !important;
            /* Remove any text indentation */
            word-break: keep-all;
            /* 자연스러운 한글 줄바꿈 */
            overflow-wrap: break-word;
            box-sizing: border-box !important;
            /* Ensure proper box model */
        }

        .divider-line {
            display: none;
            /* Keep the clean stack on extra small screens */
        }

        .page-description {
            padding: 0 !important;
            /* Remove all padding forcefully */
            margin: 0 !important;
            /* Remove all margin forcefully */
            text-indent: 0 !important;
            /* Remove any text indentation */
            flex: none !important;
            /* Remove flex properties that might add space */
        }

        /* 480px 이하에서도 페이지별 특화 스타일을 무시하고 통일된 스타일 적용 */
        .services-construction-page .page-header,
        .services-equipment-page .page-header,
        .services-consulting-page .page-header,
        .greeting-page .page-header,
        .business-page .page-header,
        .cases-page .page-header {
            margin-bottom: 24px;
            /* 통일된 하단 여백 */
            padding: 0 16px;
            /* 통일된 좌우 여백, .page가 상단 처리 */
        }
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }
}

/* 회사소개 페이지 스타일 */
.about-section {
    margin-bottom: 60px;
    /* 120px에서 60px로 줄여서 이미지와 Footer 사이 갭 축소 */
}

.about-section:first-of-type {
    margin-top: 40px;
    /* 120px에서 60px로 줄여서 타이틀과 이미지 사이 갭 축소 */
}

.section-header {
    margin-bottom: 10px;
    /* 60px에서 20px로 줄여서 타이틀과 이미지 사이 간격 축소 */
}

.section-header .page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.section-title {
    flex: 0 0 auto;
    margin: 0;
    font-size: 36px;
    font-weight: 800;
    font-family: 'Paperlogy-8ExtraBold', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
    color: var(--gray-900);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-description {
    flex: 1;
    padding-top: 8px;
}

.section-subtitle {
    margin: 0 0 10px 0;
    /* 하단 마진을 20px로 설정하여 타이틀과 이미지 사이 gap 줄임 */
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    font-weight: 400;
}

/* 인사말 섹션 */
.greeting-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.greeting-text {
    width: 80vw;
    max-width: 800px;
    margin: 0 auto;
    margin-top: -60px;
    /* -80px에서 -40px로 변경하여 본문 위치를 살짝 아래로 */
}

.greeting-text p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.greeting-text .signature {
    margin-top: 40px;
    font-size: 20px;
    color: var(--gray-900);
}

.greeting-image {
    text-align: center;
    margin-top: 20px;
    /* 0에서 20px로 변경하여 본문과 이미지 사이 간격 조정 */
}

.greeting-image img {
    width: 96vw;
    max-width: 960px;
    height: auto;
    aspect-ratio: 924/500;
    /* 410에서 500으로 변경하여 높이 증가 */
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* 사업분야 섹션 */
.business-image-container {
    text-align: center;
    margin-top: 20px;
}

.business-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* 시공이미지 섹션 */
.construction-images-section {
    padding: 80px 0 140px 0;
    /* 하단 패딩을 80px에서 100px로 늘려서 CTA 섹션과의 간격 확대 */
    background: white;
}

.construction-images-section .section-header {
    text-align: center;
    margin-bottom: 20px;
    /* 50px에서 25px로 줄여서 타이틀과 이미지 그리드 사이 간격 축소 */
}

.construction-images-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    font-family: 'Paperlogy-8ExtraBold', 'Pretendard', sans-serif;
}

.construction-images-section .section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.6;
}

.construction-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 95vw;
    margin: 0 auto;
}

.construction-image-item {
    width: 100%;
}

.construction-image-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.construction-image-item img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 반응형 */
@media (max-width: 768px) {
    .construction-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .construction-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 찾아오시는 길 섹션 */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}

.contact-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 32px;
}

.contact-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-card strong {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
    flex-shrink: 0;
}

.contact-card p span {
    color: var(--gray-800);
    line-height: 1.7;
}

.transport-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.transport-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transport-info li {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.transport-info li::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.transport-info li strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.location-map {
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
}

/* 지도 로딩 오버레이 */
.map-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border-radius: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.map-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 로딩 스피너 */
.map-loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: var(--primary-orange);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: var(--primary-yellow);
    animation-duration: 0.9s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {

    /* About page mobile - World-class spacing */
    .about-section:not(.business-page .about-section) {
        margin-bottom: 0;
        /* 50px 간격 조정을 위해 제거 */
        padding: 26px 0 !important;
        /* 50px - 24px(footer) = 26px로 조정 */
    }

    .about-section:first-of-type {
        margin-top: 60px;
        /* Reduced from 120px */
    }

    .section-header {
        margin-bottom: 28px;
        /* Reduced from 40px */
    }

    .section-header .page-header-content {
        flex-direction: column;
        gap: 20px;
        /* Reduced from 30px */
        text-align: center;
    }

    .section-title {
        font-size: 26px;
        /* Slightly reduced */
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Greeting Page Mobile Optimization */
    .greeting-content {
        flex-direction: column;
        gap: 24px;
        /* Reduced from 32px */
        text-align: left;
        padding: 0 16px;
        /* Reduced from 20px */
    }

    .greeting-text {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0;
        order: 1;
        /* Ensure text comes before image on mobile */
    }

    /* Mobile typography optimization */
    .greeting-text h2 {
        font-size: 22px !important;
        /* Slightly reduced */
        line-height: 1.3;
        margin-bottom: 8px !important;
    }

    .greeting-text p {
        font-size: 15px !important;
        /* Reduced from 16px */
        line-height: 1.6 !important;
        /* Improve readability on mobile */
        margin-bottom: 12px !important;
        /* Reduced from 16px */
        text-align: left !important;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* Header section mobile optimization */
    .greeting-text>div:first-child {
        margin-bottom: 20px !important;
        /* Reduced from 24px */
        text-align: left;
    }

    .greeting-text>div:first-child p:first-child {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    .greeting-text>div:first-child p:last-child {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    /* Signature section mobile optimization */
    .greeting-text>div:last-child {
        margin-top: 24px !important;
        /* Reduced from 32px */
        text-align: left;
    }

    .greeting-text>div:last-child p:first-child {
        font-size: 16px !important;
        text-align: left !important;
    }

    .greeting-text>div:last-child p:last-child {
        font-size: 16px !important;
        text-align: right !important;
        margin-top: 16px !important;
    }

    /* Mobile image optimization */
    .greeting-image {
        order: 2;
        /* Place image below the text on mobile */
        text-align: center;
        margin: 16px auto 0 auto !important;
        /* Top space from text */
        width: 100%;
        max-width: 100%;
    }

    .greeting-image img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        aspect-ratio: 924/700;
        /* Double height vs desktop ratio (924/500) */
        object-fit: cover;
        border-radius: 12px;
    }

    /* Page header mobile spacing - follow global */
    .greeting-page .page-header {
        margin-bottom: 24px;
        padding: 0 16px;
    }




    /* Section content mobile padding */
    .greeting-page .section-content {
        padding: 0;
    }

    /* Improved touch targets */
    .greeting-text a,
    .greeting-text button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Business page mobile optimization - World-class spacing */
    .business-page .page-header {
        margin-bottom: 24px;
        padding: 0 16px;
    }

    /* Override 100vh on this page to remove extra bottom gap */
    .business-page {
        min-height: auto;
    }

    /* FORCE: Business page about-section 간격 강제 적용 */
    .business-page .about-section {
        margin-bottom: 0 !important;
        /* 마진 완전 제거 */
        padding-top: 0 !important;
        /* 상단 패딩 제거 */
        padding-bottom: 70px !important;
        /* 이게 유효했음.  */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .business-image-container {
        margin-top: 38px;
        /* divider와 이미지 사이 간격 추가 */
        padding: 0 8px;
        /* 16px에서 8px로 줄여서 이미지가 더 크게 보이도록 */
        margin-bottom: 0;
        /* footer와의 간격 최적화를 위해 제거 */
    }

    .business-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        margin: 0 auto;
        display: block;
        object-fit: cover;
        background-color: #f8f9fa;
        /* 모바일에서 이미지 크기 최적화 */
        min-height: 250px;
    }

    /* Business page container mobile optimization */
    .business-page .container {
        padding: 0 16px;
    }

    .business-page .section-content {
        padding: 0;
    }

    /* Business page 전체 패딩 최적화 */
    .business-page.page {
        padding-bottom: 0 !important;
        /* footer와의 간격을 최소화 - !important로 강제 적용 */
    }

    /* Business page footer default spacing (remove negative margin hack) */
    .business-page+.footer,
    .business-page~.footer {
        margin-top: 0;
    }

    /* === 찾아오시는 길 페이지 모바일 최적화 === */

    /* Location page header optimization */
    .location-page .page-header {
        margin-bottom: 24px;
        padding: 0 16px;
    }



    /* 메인 컨텐츠 레이아웃 - 모바일에서는 세로 배치 */
    .location-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 20px;
    }

    /* 연락처 카드 모바일 최적화 - 깔끔한 라벨-내용 형태 */
    .contact-card {
        padding: 24px 20px;
        margin-bottom: 24px;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .contact-card h3 {
        font-size: 22px;
        margin-bottom: 24px;
        text-align: center;
        color: var(--gray-900);
        font-weight: 700;
    }

    .contact-card p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 16px;
        padding: 0;
        background: none;
        border-radius: 0;
        border-left: none;
        box-shadow: none;
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }

    .contact-card p:last-child {
        margin-bottom: 0;
    }

    .contact-card strong {
        display: inline-block;
        min-width: 60px;
        margin-bottom: 0;
        font-size: 15px;
        color: var(--primary-blue);
        font-weight: 600;
        flex-shrink: 0;
    }

    .contact-card p span {
        color: var(--gray-800);
        line-height: 1.6;
    }

    /* 대중교통 정보 모바일 최적화 - 단순 텍스트 형태 */
    .transport-info {
        background: none;
        padding: 0;
        border-radius: 0;
        margin-top: 32px;
    }

    .transport-info h4 {
        font-size: 18px !important;
        margin-bottom: 20px !important;
        text-align: left;
        color: var(--gray-900);
        font-weight: 600;
        padding-left: 0;
    }

    .transport-info ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .transport-info li {
        font-size: 15px !important;
        line-height: 1.8 !important;
        margin-bottom: 16px !important;
        padding: 0;
        background: none;
        border-radius: 0;
        border-left: none;
        color: var(--gray-700);
        position: relative;
        padding-left: 20px;
    }

    .transport-info li:last-child {
        margin-bottom: 0 !important;
    }

    .transport-info li strong {
        color: var(--primary-blue);
        display: inline;
        min-width: auto;
        font-weight: 600;
        margin-right: 8px;
    }

    .transport-info li::before {
        content: '•';
        color: var(--primary-blue);
        font-weight: bold;
        position: absolute;
        left: 0;
        top: 0;
    }

    /* 지도 컨테이너 모바일 최적화 */
    .location-map {
        height: 280px;
        border-radius: 12px;
        margin: 0;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .location-map iframe {
        border-radius: 12px;
    }

    /* 지도 로딩 오버레이 모바일 최적화 */
    .map-loading-overlay {
        border-radius: 12px;
        background: #f8f9fa;
    }

    .loading-text {
        font-size: 14px;
        color: var(--gray-600);
    }

    /* 찾아오시는 길 섹션 컨테이너 모바일 최적화 */
    .location-page .container {
        padding: 0 16px;
    }

    .location-page .section-content {
        padding: 0;
    }

    .location-page .about-section {
        margin-bottom: 9px !important;
    }

    /* 터치 친화적 인터랙션 최적화 */
    .location-page .contact-card p,
    .location-page .transport-info li {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: text;
        user-select: text;
    }

    /* 연락처 정보 선택 가능하게 */
    .location-page .contact-card p:not(:first-child) {
        cursor: text;
    }

    /* 모바일에서 지도 상호작용 개선 */
    .location-page .location-map {
        position: relative;
        z-index: 1;
    }

    /* 모바일 세로 방향 추가 최적화 */
    @media (max-width: 768px) and (orientation: portrait) {
        .location-page .location-content {
            gap: 28px;
        }

        .location-page .contact-card {
            padding: 20px 16px;
        }

        .location-page .location-map {
            height: 260px;
        }
    }

    /* 작은 모바일 화면 (480px 이하) 추가 최적화 */
    @media (max-width: 480px) {

        /* Business page 작은 모바일 최적화 */
        .business-image-container {
            margin-top: 36px;
            /* 작은 모바일에서 divider와 이미지 사이 간격 */
            padding: 0 4px;
            /* 더 작은 여백으로 이미지를 최대한 크게 */
            margin-bottom: 0;
            /* footer와의 간격 최적화를 위해 제거 */
        }

        .business-image {
            border-radius: 8px;
            /* 작은 화면에서는 더 작은 border-radius */
            min-height: 200px;
            /* 작은 화면에서도 충분한 높이 확보 */
        }

        /* Business page 작은 모바일 전체 패딩 최적화 */
        .business-page.page {
            padding-bottom: 0 !important;
            /* footer와의 간격을 완전히 제거 - !important로 강제 적용 */
        }

        /* Business page 작은 모바일에서 footer 기본 간격 유지 (remove negative margin) */
        .business-page+.footer,
        .business-page~.footer {
            margin-top: 0;
        }

        .location-page .page-header {
            padding: 0 16px;
        }

        .location-page .location-content {
            padding: 0 16px;
            gap: 24px;
        }

        .location-page .contact-card {
            padding: 20px 16px;
        }

        .location-page .contact-card h3 {
            font-size: 20px;
            margin-bottom: 20px;
        }

        .location-page .contact-card p {
            padding: 0;
            font-size: 14px;
            gap: 12px;
        }

        .location-page .contact-card strong {
            min-width: 55px;
            font-size: 14px;
        }

        .location-page .transport-info {
            padding: 0;
            margin-top: 28px;
        }

        .location-page .transport-info h4 {
            font-size: 17px !important;
            margin-bottom: 18px !important;
        }

        .location-page .transport-info li {
            font-size: 14px !important;
            margin-bottom: 14px !important;
            padding-left: 18px;
        }

        .location-page .location-map {
            height: 240px;
        }
    }

    /* 이 스타일들은 이미 위에서 올바른 미디어 쿼리로 정의되어 있으므로 삭제 */

    .filter-guide {
        margin-bottom: 30px;
        padding: 20px 0;
    }

    .filter-guide p {
        font-size: 16px;
    }

    .filter-buttons {
        margin-bottom: 40px;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .filter-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .case-card-v2-img {
        height: 216px;
        /* 180px에서 20% 증가 */
    }

    .case-card-v2-info {
        padding: 16px;
    }

    .case-card-v2-title {
        font-size: 16px;
    }

    .case-card-v2-duration {
        font-size: 11px;
    }

    .certification-badge {
        top: 8px;
        right: 8px;
        font-size: 11px;
        padding: 6px 12px;
        border-radius: 20px;
        letter-spacing: 0.5px;
    }

    .certification-badge::before {
        font-size: 10px;
    }

    .medal-icon {
        top: -6px;
        right: -6px;
        width: 34px;
        height: 34px;
        z-index: 10;
    }
}

/* 고객문의 페이지 스타일 */
.contact-section {
    margin-top: 80px;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 90px;
}

.contact-form {
    background: white;
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--gray-50);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(11, 126, 200, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.checkbox-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--gray-700);
    font-weight: 500;
    user-select: none;
    transition: color 0.3s ease;
}

.checkbox-item:hover {
    color: var(--primary-blue);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-400);
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    background: white;
    flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked+.checkmark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-item input[type="checkbox"]:checked+.checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.privacy-agreement {
    margin-top: 40px;
    margin-bottom: 50px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.privacy-agreement .checkbox-item {
    font-size: 15px;
    color: var(--gray-600);
}

.submit-button {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.submit-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-orange);
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:active {
    transform: translateY(-1px);
}

.submit-button span {
    position: relative;
    z-index: 1;
}

/* 체크박스 기능 수정 및 텍스트에어리어 높이 조정 */
.checkbox-item input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
    height: 0 !important;
    width: 0 !important;
}

.form-group textarea {
    height: 180px !important;
    min-height: 120px !important;
}

/* 체크박스 아이템 개선 */
.checkbox-item {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.checkbox-item:hover {
    background: var(--blue-light) !important;
    color: var(--primary-blue) !important;
}

.checkmark {
    position: relative !important;
    flex-shrink: 0 !important;
}

/* 새로운 체크박스 스타일 */
.checkbox-wrapper {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--gray-700);
    font-weight: 500;
    user-select: none;
    transition: all 0.3s ease;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid transparent;
    position: relative;
    background: var(--gray-50);
}

.checkbox-label:hover {
    background: var(--gray-100);
}

.custom-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid black;
    border-radius: 8px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Removed empty ruleset: .checkbox-wrapper input:checked + .checkbox-label */

.checkbox-wrapper input[type="checkbox"]:checked+.checkbox-label .custom-checkbox {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.checkbox-wrapper input[type="checkbox"]:checked+.checkbox-label .custom-checkbox::after {
    content: "✓";
    color: white;
    font-size: 14px;
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: checkAnimation 0.3s ease-in-out;
}

@keyframes checkAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* 개인정보 동의 체크박스 스타일 */
.privacy-agreement {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.privacy-agreement .checkbox-wrapper {
    width: 100%;
}

.privacy-agreement .checkbox-label {
    font-size: 15px;
    color: var(--gray-600);
    padding: 16px 20px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    width: 100%;
    justify-content: flex-start;
}

.privacy-agreement .checkbox-label:hover {
    border-color: var(--gray-300);
    background: var(--gray-100);
}

/* Removed empty ruleset: .privacy-agreement input:checked + .checkbox-label */

/* 체크박스 그룹 레이아웃 */
.checkbox-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* 관심 서비스 설명 */
.service-description {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 8px;

}

/* 모바일에서 세로 배치 */
@media (max-width: 768px) {
    .checkbox-group {
        flex-direction: column;
        gap: 12px;
    }

    .checkbox-label {
        font-size: 15px;
        padding: 14px 16px;
    }

    .custom-checkbox {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }

    .privacy-agreement .checkbox-label {
        font-size: 14px;
        padding: 14px 16px;
    }
}

/* ==========================================
   SERVICES PAGE STYLES
   ========================================== */

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
    color: white;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><circle cx="10" cy="10" r="1"/></g></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.services-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.services-hero-title {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.title-main {
    font-size: 54px;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-sub {
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}

.services-hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 60px;
    opacity: 0.7;
    font-style: italic;
}

.services-hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Services Overview */
.services-overview {
    padding: 120px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    transition: all 0.4s ease;
}

.service-card.primary {
    border: 3px solid #000000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-card.secondary {
    border: 3px solid var(--primary-blue);
    box-shadow: 0 8px 32px rgba(11, 126, 200, 0.1);
}

.service-card.tertiary {
    border: 3px solid var(--primary-orange);
    box-shadow: 0 8px 32px rgba(253, 126, 20, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card.primary:hover {
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.2);
}

.service-card.secondary:hover {
    box-shadow: 0 16px 64px rgba(11, 126, 200, 0.2);
}

.service-card.tertiary:hover {
    box-shadow: 0 16px 64px rgba(253, 126, 20, 0.2);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.service-icon {
    width: 64px;
    height: 64px;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card.primary .service-icon {
    background: #000000;
    color: white;
}

.service-card.secondary .service-icon {
    background: var(--primary-blue);
    color: white;
}

.service-card.tertiary .service-icon {
    background: var(--primary-orange);
    color: white;
}

.service-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    color: white;
}

.service-card.primary .service-badge {
    background: #000000;
}

.service-card.secondary .service-badge {
    background: var(--primary-blue);
}

.service-card.tertiary .service-badge {
    background: var(--primary-orange);
}

.service-title {
    font-size: 28px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.service-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.service-description strong {
    color: #000000;
    font-weight: 700;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card.primary .service-link {
    color: #000000;
}

.service-card.secondary .service-link {
    color: var(--primary-blue);
}

.service-card.tertiary .service-link {
    color: var(--primary-orange);
}

.service-link:hover {
    transform: translateX(4px);
}

.service-link svg {
    width: 20px;
    height: 20px;
}

/* Service Detail Sections */
.service-detail {
    padding: 120px 0;
    background: white;
}

.service-detail.alternate {
    background: #fafafa;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 80px;
    text-align: left;
}

.service-number {
    width: 80px;
    height: 80px;
    background: #000000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    flex-shrink: 0;
}

.service-detail-title {
    font-size: 48px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.service-detail-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    font-weight: 400;
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.process-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
}

.process-content h4 {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 12px;
}

.process-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.5;
}

.process-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: 900;
}

/* Service Highlights */
.service-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 60px;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-radius: 24px;
    border: 2px solid #e0e0e0;
}

.highlight-item {
    text-align: center;
}

.highlight-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.highlight-text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-700);
}

.highlight-text strong {
    color: #000000;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.equipment-category {
    background: white;
    border: 2px solid #e0e0e5;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.equipment-category:hover {
    border-color: #000000;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.equipment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.equipment-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    margin: 0;
}

.equipment-icon {
    font-size: 32px;
}

.equipment-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    font-size: 15px;
    color: var(--gray-700);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item::before {
    content: '✓';
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 16px;
}

/* Equipment Benefits */
.equipment-benefits {
    text-align: center;
}

.equipment-benefits h3 {
    font-size: 36px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: white;
    border: 2px solid #000000;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.benefit-number {
    width: 48px;
    height: 48px;
    background: #000000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    margin: 0 auto 20px;
}

.benefit-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Consulting Approach */
.consulting-approach {
    margin-bottom: 80px;
}

.approach-header {
    text-align: center;
    margin-bottom: 60px;
}

.approach-header h3 {
    font-size: 36px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.approach-header p {
    font-size: 18px;
    color: var(--gray-600);
    font-weight: 400;
}

.consulting-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.consulting-phase {
    background: white;
    border: 2px solid #e0e0e5;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.consulting-phase:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(11, 126, 200, 0.1);
}

.consulting-phase h4 {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 24px;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.phase-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #fafafa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: #f0f0f0;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
}

.step-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
}

/* Consulting Success */
.consulting-success {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    padding: 60px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 24px;
    color: white;
}

.success-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat-box {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-big {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box .stat-label {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.success-features h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.success-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-features li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.success-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 20px;
}

.success-features strong {
    color: white;
    font-weight: 700;
}

/* Services CTA */
.services-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><polygon points="50,0 60,40 100,50 60,60 50,100 40,60 0,50 40,40"/></g></svg>');
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-question {
    font-size: 36px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: line-through;
    text-decoration-color: #dc2626;
    text-decoration-thickness: 3px;
}

.cta-solution {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 48px;
    opacity: 0.9;
    font-weight: 400;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(11, 126, 200, 0.3);
}

.cta-secondary {
    background: transparent;
    color: white;
    padding: 18px 36px;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: white;
    color: #000000;
    transform: translateY(-2px);
}

.cta-primary svg,
.cta-secondary svg {
    width: 20px;
    height: 20px;
}

/* Mobile Responsiveness - World-class spacing */
@media (max-width: 768px) {
    .services-hero {
        padding: 60px 0 48px;
        /* Reduced from 100px/80px */
    }

    .title-main {
        font-size: 36px;
    }

    .title-sub {
        font-size: 18px;
    }

    .services-hero-stats {
        flex-direction: column;
        gap: 24px;
        /* Reduced from 32px */
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        /* Reduced from 32px */
    }

    .service-detail {
        padding: 48px 0;
        /* Reduced from 80px */
    }

    .service-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        /* Reduced from 16px */
    }

    .service-detail-title {
        font-size: 28px;
        /* Reduced from 32px */
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
        /* Reduced from 32px */
    }

    .service-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
        /* Reduced from 24px */
        padding: 32px;
        /* Reduced from 40px */
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        /* Reduced from 32px */
    }

    .consulting-steps {
        grid-template-columns: 1fr;
        gap: 24px;
        /* Reduced from 32px */
    }

    .consulting-success {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .success-stats {
        flex-direction: row;
        gap: 16px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-question {
        font-size: 24px;
    }

    .cta-solution {
        font-size: 32px;
    }

    .cta-actions {
        flex-direction: column;
        gap: 16px;
    }

    .approach-header h3 {
        font-size: 28px;
    }

    .equipment-benefits h3 {
        font-size: 28px;
    }
}

/* ==========================================
   NAVIGATION DROPDOWN
   ========================================== */

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: top;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 100px;
    padding: 8px 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-link:hover {
    background: var(--gray-50);
    color: var(--primary-blue);
    padding-left: 24px;
}

.dropdown-link.active {
    background: var(--blue-light);
    color: var(--primary-blue);
    font-weight: 700;
}

/* ==========================================
   SERVICE PAGES COMMON STYLES
   ========================================== */

/* Service Overview Stats */
.service-overview-section {
    padding: 40px 0;
    /* 80px에서 40px로 줄여서 위 이미지와의 간격 축소 */
    margin-bottom: 40px;
    /* 통계 섹션 아래에 60px 간격 추가 */
    background: transparent;
    /* 회색 배경 제거 */
}

.service-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border: 3px solid #000000;
    border-radius: 24px;
    padding: 45px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #000000, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card .stat-number {
    font-size: 52px;
    font-weight: 900;
    color: #000000;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.stat-card .stat-label {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-600);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .service-stats {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 300px;
    }

    .stat-card {
        padding: 35px 20px;
    }

    .stat-card .stat-number {
        font-size: 42px;
    }

    .stat-card .stat-label {
        font-size: 16px;
    }
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 60px;
    text-align: left;
}

.section-badge {
    width: 60px;
    height: 60px;
    background: #000000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    flex-shrink: 0;
}

.section-badge.secondary {
    background: var(--primary-blue);
}

.section-badge.tertiary {
    background: var(--primary-orange);
}

.section-badge.quaternary {
    background: #6b46c1;
}

.section-title-group {
    flex: 1;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    margin-bottom: 60px;
    /* CTA 섹션 아래에 30px 여백 추가 */
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    text-align: center;
    color: white;
}

/* 흰색 CTA 섹션 스타일 */
.cta-section-white {
    padding: 100px 0;
    margin-bottom: 60px;
    background: white;
    text-align: center;
    color: #111111;
}

.cta-content {
    max-width: 100%;
    /* 800px에서 100%로 변경하여 가로로 꽉 채움 */
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-description {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 48px;
    opacity: 0.9;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(11, 126, 200, 0.3);
}

.cta-secondary {
    background: transparent;
    color: white;
    padding: 18px 36px;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: white;
    color: #000000;
    transform: translateY(-2px);
}

.cta-primary svg,
.cta-secondary svg {
    width: 20px;
    height: 20px;
}

/* ==========================================
   UNIFIED CTA BUTTON STYLES (Hero Section Style)
   ========================================== */

/* 새로운 통일된 CTA 버튼 스타일 - 검은 배경용 */
.cta-section .btn-hero-style {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 60px !important;
    padding: 0 30px !important;
    border-radius: 14px !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    text-decoration: none !important;
    border: 2px solid #ffffff !important;
    background: transparent !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    gap: 12px !important;
}

.cta-section .btn-hero-style:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

.cta-section .btn-hero-style svg {
    width: 20px !important;
    height: 20px !important;
}

/* ==========================================
   HACCP CONSULTING PAGE STYLES
   ========================================== */

/* Section Image */
.section-image {
    text-align: center;
    margin: -40px 0 0px 0;
    /* 하단 마진을 60px에서 20px로 줄여서 이미지와 통계 섹션 사이 간격 축소 */
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

/* section-image hover 효과도 제거 */

.consulting-image {
    max-width: 65%;
    /* 80%에서 65%로 줄여서 이미지 크기 추가 축소 */
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

/* 컨설팅과 공사 페이지 이미지 hover 효과 제거 */

.image-subtitle {
    font-size: 16px;
    color: var(--gray-700);
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.image-subtitle br {
    margin-bottom: 8px;
}

.image-subtitle strong {
    color: #000000;
    font-weight: 700;
}

/* Equipment Image Grid */
.equipment-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.equipment-image-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.equipment-image-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.equipment-image-card .section-image {
    margin: 0;
}

.equipment-image-card .consulting-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.equipment-image-card .image-subtitle {
    padding: 20px 15px;
    margin: 0;
    font-size: 15px;
    text-align: center;
    line-height: 1.4;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.equipment-image-card .image-subtitle strong {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    display: block;
}

@media (max-width: 1200px) {
    .equipment-image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .equipment-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 40px;
    }

    .equipment-image-card .consulting-image {
        height: 200px;
    }

    .equipment-image-card .image-subtitle {
        padding: 18px 12px;
        font-size: 14px;
        min-height: 75px;
    }

    .equipment-image-card .image-subtitle strong {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .equipment-image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .equipment-image-card .consulting-image {
        height: 200px;
    }

    .equipment-image-card .image-subtitle {
        padding: 18px 15px;
        font-size: 14px;
        min-height: 75px;
    }
}

/* Process Phases */
.consulting-process-section {
    padding: 60px 0;
    /* 100px에서 60px로 줄여서 섹션 간 간격 축소 */
    background: white;
}

.process-phases {
    display: grid;
    gap: 60px;
}

.phase-block {
    background: #fafafa;
    border-radius: 24px;
    padding: 48px;
    border: 2px solid #e5e5e5;
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.phase-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.phase-title {
    font-size: 28px;
    font-weight: 800;
    color: #000000;
    margin: 0;
}

.phase-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.step-item {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(11, 126, 200, 0.1);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 16px;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Advantages */
.advantages-section {
    padding: 60px 0;
    /* 100px에서 60px로 줄여서 섹션 간 간격 축소 */
    background: transparent;
    /* 회색 배경 제거 */
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.advantage-card {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: #000000;
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: block;
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 16px;
}

.advantage-card p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
}

.advantage-card strong {
    color: #000000;
    font-weight: 700;
}

/* Timeline */
.consulting-timeline-section {
    padding: 60px 0;
    /* 100px에서 60px로 줄여서 섹션 간 간격 축소 */
    background: white;
}

/* Verification Section - 5번째 섹션 간격 통일 (데스크톱/태블릿만) */
@media (min-width: 769px) {
    .consulting-verification-section {
        padding: 60px 0 5px 0;
        /* 상단 60px, 하단 30px로 CTA와의 간격 조정 */
        background: white;
    }
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e5e5;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.timeline-marker {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: white;
    /* 회색 배경을 흰색으로 변경 */
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e5e5;
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ==========================================
   HACCP EQUIPMENT PAGE STYLES
   ========================================== */

/* Equipment Categories */
.equipment-categories-section {
    padding: 50px 0;
    /* background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); 회색 그라데이션 배경 제거 */
}

.equipment-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: 24px;
    padding: 32px 30px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card.primary {
    --card-accent: #000000;
}

.category-card.secondary {
    --card-accent: var(--primary-blue);
}

.category-card.tertiary {
    --card-accent: var(--primary-orange);
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--card-accent);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:active {
    transform: translateY(-8px) scale(1.01);
}

/* ===========================================
   PORTFOLIO GALLERY SECTION
   =========================================== */

.portfolio-gallery-section {
    padding: 100px 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #fafbfc 0%, #f4f6f8 100%);
    overflow: hidden;
    position: relative;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 80px;
}

.portfolio-header h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.portfolio-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.portfolio-gallery {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.portfolio-control {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #000000;
}

.portfolio-control:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
    background: #000000;
    color: white;
}

.portfolio-control:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.portfolio-control svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.portfolio-prev {
    left: -28px;
}

.portfolio-next {
    right: -28px;
}

.portfolio-slider {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-in-out;
    padding: 20px;
    will-change: transform;
}

.portfolio-card {
    flex: 0 0 380px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    user-select: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.portfolio-card:hover,
.portfolio-card.auto-center-hover {
    transform: translateY(-12px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.portfolio-card.auto-center-hover {
    position: relative;
    animation: centerPulse 2s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.2);
}

.portfolio-card.auto-center-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4) 50%,
            transparent);
    border-radius: 20px;
    animation: glassShine 2.5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.portfolio-card.auto-center-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

/* 사용자가 실제로 호버하고 있을 때는 자동 애니메이션 정지 */
.portfolio-card:hover.auto-center-hover {
    animation: none;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 0 1px rgba(59, 130, 246, 0.3);
}

.portfolio-card:hover.auto-center-hover::before {
    animation-play-state: paused;
}

@keyframes centerPulse {

    0%,
    100% {
        transform: translateY(-12px) scale(1);
    }

    50% {
        transform: translateY(-14px) scale(1.01);
    }
}

@keyframes glassShine {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.portfolio-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-image img,
.portfolio-card.auto-center-hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 24px 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-overlay,
.portfolio-card.auto-center-hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay-content {
    color: white;
}

.portfolio-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-stats {
    display: flex;
    gap: 24px;
}

.portfolio-stat {
    flex: 1;
    text-align: center;
}

.portfolio-stat .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    line-height: 1;
    margin-bottom: 4px;
}

.portfolio-stat .stat-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 600;
}

.portfolio-indicators {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}

.portfolio-dots {
    display: flex;
    gap: 8px;
}

.portfolio-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-dot.active {
    background: #000000;
    transform: scale(1.2);
}

.portfolio-drag-hint {
    opacity: 0.7;
    animation: fadeInOut 3s infinite;
}

.portfolio-drag-hint span {
    font-size: 15px;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.3;
    }
}

.portfolio-cta {
    text-align: center;
    margin-top: 80px;
}

.portfolio-more-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: #000000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.portfolio-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    background: var(--primary-blue);
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .portfolio-gallery-section {
        padding: 60px 0;
    }

    .portfolio-header {
        margin-bottom: 60px;
    }

    .portfolio-header h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .portfolio-subtitle {
        font-size: 16px;
    }

    .portfolio-controls {
        display: none;
    }

    .portfolio-card {
        flex: 0 0 300px;
    }

    .portfolio-image {
        height: 220px;
    }

    .portfolio-track {
        gap: 16px;
        padding: 10px;
    }

    .portfolio-indicators {
        margin-top: 40px;
    }

    .portfolio-cta {
        margin-top: 60px;
    }

    .portfolio-more-button {
        padding: 16px 32px;
        font-size: 15px;
    }

    /* 모바일에서는 자동 센터 효과 단순화 */
    .portfolio-card.auto-center-hover {
        animation: none;
        border: 1px solid rgba(59, 130, 246, 0.3);
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            0 0 0 1px rgba(59, 130, 246, 0.1);
        background: rgba(255, 255, 255, 0.98);
    }

    .portfolio-card.auto-center-hover::before {
        animation: none;
        left: 0;
        opacity: 0.3;
    }

    .portfolio-card.auto-center-hover::after {
        opacity: 0.6;
    }
}

.category-title {
    font-size: 26px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.category-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 900px) {
    .equipment-categories-section {
        padding: 40px 0;
    }

    .equipment-categories {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .category-card {
        padding: 28px 25px;
    }

    .category-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .category-description {
        font-size: 15px;
    }
}

/* Equipment Detail Sections */
.equipment-detail-section {
    padding: 100px 0;
    background: white;
    scroll-margin-top: 100px;
    /* 헤더 높이만큼 오프셋 */
}

/* Removed empty alternates to satisfy linter */

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.equipment-item {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.equipment-item:hover {
    border-color: #000000;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.equipment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.equipment-number {
    width: 32px;
    height: 32px;
    background: #000000;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
}

.equipment-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.equipment-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.equipment-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.5;
}

.equipment-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 16px;
}

/* Monitoring Grid */
.monitoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.monitoring-category {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

.monitoring-category:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(11, 126, 200, 0.1);
}

.monitoring-category h3 {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.monitoring-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.monitoring-item {
    padding: 16px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.monitoring-item:hover {
    background: #f0f0f0;
    border-color: var(--primary-blue);
}

.monitoring-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 6px;
}

.monitoring-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.4;
    margin: 0;
}

/* Lab Equipment Grid */
.lab-equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.lab-equipment-card {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.lab-equipment-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(253, 126, 20, 0.1);
}

.lab-equipment-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.lab-equipment-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 16px;
}

.lab-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.lab-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.lab-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.4;
}

.lab-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 900;
}

/* Equipment Management */
.equipment-management-section {
    padding: 100px 0;
    background: white;
}

.management-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.management-card {
    background: #fafafa;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.management-card:hover {
    border-color: #000000;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.management-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.management-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 12px;
}

.management-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ==========================================
   HACCP CONSTRUCTION PAGE STYLES
   ========================================== */

/* Process Overview */
.construction-process-overview {
    padding: 40px 0;
    /* 80px에서 40px로 줄여서 첫 번째 이미지와 '시공 이미지' 타이틀 사이 갭 축소 */
    /* background: #fafafa; 회색 배경 제거 */
}

.process-overview-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.process-overview-card {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.process-overview-card:hover {
    border-color: #000000;
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.process-overview-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    margin: 0 auto 20px;
}

.process-overview-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 12px;
}

.process-overview-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.4;
}

/* Construction Steps */
.construction-step-section {
    padding: 100px 0;
    background: white;
}

.construction-step-section.alternate {
    background: #fafafa;
}

.step-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step-detail-card {
    background: #fafafa;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.step-detail-card:hover {
    border-color: #000000;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.step-detail-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.step-detail-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 20px;
}

.step-detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-detail-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.5;
}

.step-detail-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: 900;
}

/* Design Process */
.design-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
}

.design-stage {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 40px;
}

.design-stage h3 {
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.design-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.design-feature h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.design-feature p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Construction Works */
.construction-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.work-category {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.work-category:hover {
    border-color: #000000;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.work-category h3 {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.work-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.work-item {
    padding: 16px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.work-item:hover {
    background: #f0f0f0;
    border-color: #000000;
}

.work-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 6px;
}

.work-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.4;
    margin: 0;
}

/* Documentation Process */
.documentation-process {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.doc-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.doc-step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
}

.doc-step-content {
    flex: 1;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 24px;
}

.doc-step-content h4 {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 12px;
}

.doc-step-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.doc-step-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-step-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.5;
}

.doc-step-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #6b46c1;
    font-weight: 900;
}

/* Construction Advantages */
.construction-advantages-section {
    padding: 100px 0;
    background: #fafafa;
}

.construction-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.advantage-big-card {
    background: white;
    border: 2px solid #000000;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-big-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.15);
}

.advantage-big-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: block;
}

.advantage-big-card h3 {
    font-size: 26px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 16px;
}

.advantage-big-card p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.advantage-big-card strong {
    color: #000000;
    font-weight: 800;
}

.advantage-big-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.advantage-big-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.5;
}

.advantage-big-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 16px;
}

/* ==========================================
   MOBILE RESPONSIVENESS
   ========================================== */

@media (max-width: 768px) {

    /* Navigation Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin-top: 16px;
    }

    .dropdown-link {
        padding: 8px 0;
        font-size: 14px;
    }

    /* Service Stats - 이미 위에서 더 상세히 정의됨 */

    /* Section Headers */
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Equipment Categories - 이미 위에서 더 상세히 정의됨 */

    /* Process Overview */
    .process-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Timeline */
    .timeline::before {
        left: 16px;
    }

    .timeline-marker {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    /* Construction Works */
    .construction-works {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* CTA */
    .cta-title {
        font-size: 28px;
    }

    .cta-description {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 16px;
    }

    /* Doc Steps */
    .doc-step {
        flex-direction: column;
        gap: 16px;
    }

    .doc-step-number {
        align-self: flex-start;
    }

    /* Section Images */
    .section-image {
        padding: 24px;
        margin-bottom: 40px;
    }

    .image-subtitle {
        font-size: 14px;
    }
}

/* ==========================================
   BUTTON STYLE UNIFICATION
   Hero Section 버튼 스타일로 통일
   ========================================== */

/* 사업실적 관련 버튼들에 hero-primary 스타일 적용 */

/* 네비게이션 메뉴 사업실적 링크는 원래 스타일 유지 */

/* 포트폴리오 더보기 버튼 */
.portfolio-more-button {
    background: var(--gradient-accent) !important;
    color: white !important;
    padding: 20px 40px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: var(--shadow-lg) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 2px solid transparent !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;
}

.portfolio-more-button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.6s !important;
}

.portfolio-more-button:hover::before {
    left: 100% !important;
}

.portfolio-more-button:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-xl) !important;
    border-color: white !important;
}

/* 고객문의 관련 버튼들에 유리효과와 그라데이션 적용 */

/* 헤더 CTA 버튼 */
.cta-button {
    /* 유리효과 기본 스타일 */
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.18) !important;
    color: var(--gray-700) !important;
    padding: 11px 25px !important;
    /* 16px 34px에서 80%로 축소 */
    border-radius: 40px !important;
    /* 50px에서 80%로 축소 */
    font-weight: 600 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

.cta-button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.6s !important;
}

.cta-button:hover::before {
    left: 100% !important;
}

.cta-button:hover {
    background: linear-gradient(135deg, #0d8df1 0%, #00a0e9 100%) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    border-color: #0d8df1 !important;
    box-shadow:
        0 12px 40px rgba(13, 141, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(15px) !important;
}

/* CTA 섹션 내 버튼들 - 검은 배경용 특별 스타일 */
.cta-section .cta-primary,
.cta-section .cta-secondary {
    /* 검은 배경에서 가독성을 위한 불투명 스타일 */
    background: white !important;
    backdrop-filter: none !important;
    border: 2px solid white !important;
    color: var(--gray-900) !important;
    padding: 18px 36px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

/* 간단한 버튼 섹션 스타일 */
.buttons-section {
    padding: 00px 0 160px 0;
    /* 140px에서 160px로 늘려서 Footer와의 간격 확대 */
    background: white;
    text-align: center;
    margin-top: -40px;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.consultation-text h3 {
    font-size: 42px;
    font-weight: 900;
    color: var(--gray-900);
    margin: 0 0 24px 0;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.consultation-text p {
    font-size: 20px;
    font-weight: 400;
    color: var(--gray-700);
    margin: 0 0 48px 0;
    text-align: center;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Hero Actions 스타일 - hero section과 동일 */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero Section Button Styles - 모든 페이지에서 사용 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 30px;
    border-radius: 14px;
    font-weight: 500;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, background-color .28s ease, color .28s ease, border-color .28s ease, box-shadow .28s ease;
    gap: 12px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: translateX(-120%) skewX(-15deg);
    transition: transform .6s ease;
}

.btn:hover::before {
    transform: translateX(120%) skewX(-15deg);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20), 0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18), 0 2px 4px rgba(0, 0, 0, 0.10);
}

.btn-primary {
    background: #ffffff;
    color: #111111;
    border-color: #111111;
    border-width: 1px;
}

.btn-primary:hover {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.btn-secondary {
    background: transparent;
    color: #111111;
    border-color: rgba(0, 0, 0, 0.6);
    border-width: 1px;
}

.btn-secondary:hover {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.buttons-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}



.cta-section .cta-primary::before,
.cta-section .cta-secondary::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.6s !important;
}

.cta-section .cta-primary:hover::before,
.cta-section .cta-secondary:hover::before {
    left: 100% !important;
}

.cta-section .cta-primary:hover,
.cta-section .cta-secondary:hover {
    background: linear-gradient(135deg, #0d8df1 0%, #00a0e9 100%) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    border-color: #0d8df1 !important;
    box-shadow:
        0 8px 32px rgba(13, 141, 241, 0.3),
        0 0 0 4px rgba(13, 141, 241, 0.1) !important;
}

/* 일반 secondary 버튼들 (CTA 섹션 외부) */
.cta-secondary:not(.cta-section .cta-secondary) {
    /* 유리효과 기본 스타일 */
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.18) !important;
    color: var(--gray-700) !important;
    padding: 16px 34px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

.cta-secondary:not(.cta-section .cta-secondary)::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.6s !important;
}

.cta-secondary:not(.cta-section .cta-secondary):hover::before {
    left: 100% !important;
}

.cta-secondary:not(.cta-section .cta-secondary):hover {
    background: linear-gradient(135deg, #0d8df1 0%, #00a0e9 100%) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    border-color: #0d8df1 !important;
    box-shadow:
        0 12px 40px rgba(13, 141, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(15px) !important;
}

/* 서비스 페이지 메인 CTA 버튼들은 위의 CTA 섹션 스타일로 처리됨 */

/* 고객문의 페이지 제출 버튼 - 유리효과와 그라데이션 */
.submit-button {
    /* 유리효과 기본 스타일 */
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.18) !important;
    color: var(--gray-700) !important;
    padding: 20px 40px !important;
    border-radius: 16px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    letter-spacing: 0.02em !important;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    width: 100% !important;
}

.submit-button::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.6s ease !important;
}

.submit-button:hover {
    background: linear-gradient(135deg, #0d8df1 0%, #00a0e9 100%) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    border-color: #0d8df1 !important;
    box-shadow:
        0 12px 40px rgba(13, 141, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(15px) !important;
}

.submit-button:hover::before {
    left: 100% !important;
}

.submit-button:active {
    transform: translateY(-1px) !important;
}

.submit-button span {
    position: relative !important;
    z-index: 1 !important;
}

/* 메인 페이지 마지막 CTA 버튼 특별 스타일 */
.final-cta-button {
    font-size: 20px !important;
    padding: 20px 50px !important;
}

/* 필터 버튼들 - 깔끔한 검정계열 디자인 */
.filter-btn {
    padding: 12px 24px !important;
    border: 1px solid var(--gray-300) !important;
    background: white !important;
    color: var(--gray-700) !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 16px !important;
    position: relative !important;
    letter-spacing: -0.01em !important;
}

.filter-btn:hover {
    background: var(--gray-50) !important;
    border-color: var(--gray-400) !important;
    color: var(--gray-900) !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.filter-btn.active {
    background: var(--gray-900) !important;
    color: white !important;
    border-color: var(--gray-900) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
}

.filter-btn.active:hover {
    background: var(--black) !important;
    border-color: var(--black) !important;
    color: white !important;
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

/* 모바일 반응형 - 버튼 스타일 조정 */
@media (max-width: 768px) {
    /* 네비게이션 사업실적 링크는 원래 스타일 유지 */

    /* 포트폴리오 더보기 버튼 모바일 */
    .portfolio-more-button {
        padding: 16px 32px !important;
        font-size: 16px !important;
    }

    /* 고객문의 관련 버튼들 모바일 - 유리효과 유지 */
    .cta-button {
        padding: 14px 28px !important;
        font-size: 16px !important;
    }

    .cta-secondary:not(.cta-section .cta-secondary) {
        padding: 14px 28px !important;
        font-size: 16px !important;
    }

    /* CTA 섹션 내 버튼들 모바일 */
    .cta-section .cta-primary,
    .cta-section .cta-secondary {
        padding: 16px 32px !important;
        font-size: 16px !important;
    }

    /* 제출 버튼 모바일 */
    .submit-button {
        padding: 18px 32px !important;
        font-size: 16px !important;
    }

    /* 마지막 CTA 버튼 모바일 */
    .final-cta-button {
        font-size: 18px !important;
        padding: 18px 40px !important;
    }

    /* 필터 버튼 모바일 - 깔끔한 검정계열 */
    .filter-btn {
        padding: 10px 16px !important;
        font-size: 14px !important;
        border-radius: 6px !important;
    }

    /* 모바일에서 뱃지 스타일 조정 */
    .case-card-v2-tag {
        padding: 5px 8px !important;
        font-size: 11px !important;
        gap: 3px !important;
        border-radius: 3px !important;
    }

    .case-card-v2-tags {
        gap: 3px !important;
    }

    .case-card-v2-title {
        max-width: 50% !important;
    }
}

/* ==========================================
   관리자 페이지 관련 스타일
   ========================================== */

/* 관리자 비밀 버튼 */
.admin-secret-btn {
    background: none;
    border: none;
    color: var(--gray-500);
    padding: 8px;
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.3s ease;
    border-radius: 50%;
    position: absolute;
    right: -50px;
    /* 헤더 우측 여백과 동일하게 */
    top: 50%;
    transform: translateY(-50%);
}

.admin-secret-btn:hover {
    opacity: 1;
    background: var(--gray-100);
}

/* 관리자 비밀번호 모달 */
.admin-password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.admin-password-modal {
    background: white;
    border-radius: 20px;
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    position: relative;
}

.admin-password-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
}

.admin-password-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.password-close-btn {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.password-close-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.admin-password-body {
    padding: 24px;
}

.password-input-group {
    margin-bottom: 24px;
}

.password-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.password-input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.password-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.password-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel,
.btn-login {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #f8fafc;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.btn-cancel:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-login {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
}

/* ===========================================
   SHOPPING MALL SECTION
   =========================================== */

.shopping-mall-section {
    padding: 100px 0;
    background: white;
}

.shopping-mall-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mall-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.mall-info h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 24px;
    font-family: 'Paperlogy-8ExtraBold', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
}

.mall-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 32px;
}

.mall-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--gray-700);
}

.feature-icon {
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 18px;
}

.mall-visual {
    text-align: center;
}

.mall-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.product-categories {
    margin-bottom: 80px;
}

.product-categories h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-item {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.category-item:hover::before {
    opacity: 1;
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.category-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.category-item p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 24px;
}

.category-link {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
}

.category-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.mall-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: white;
}

.mall-cta h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.mall-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.mall-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.mall-cta .cta-primary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid white;
}

.mall-cta .cta-primary:hover {
    background: transparent;
    color: white;
}

.mall-cta .cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.mall-cta .cta-secondary:hover {
    background: white;
    color: var(--primary-blue);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .mall-intro {
        grid-template-columns: 1fr;
        gap: 32px;
        /* Reduced from 40px */
        text-align: center;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .mall-cta {
        padding: 40px 20px;
    }

    .mall-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===========================================
   EQUIPMENT SHOPPING INTRO SECTION
   =========================================== */

.equipment-shopping-intro {
    padding: 120px 0;
    background: white;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.equipment-shopping-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.equipment-shopping-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
}

.shopping-intro-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.shopping-intro-text h3 {
    font-size: 48px;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 32px;
    font-family: 'Paperlogy-8ExtraBold', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
    position: relative;
}

.shopping-intro-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
    border-radius: 2px;
}

.shopping-intro-text p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 500px;
}

.shopping-features {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-badge {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.shopping-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.shopping-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.shopping-cta-button:hover::before {
    left: 100%;
}

.shopping-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.4);
}

.shopping-intro-visual {
    text-align: center;
    position: relative;
}

.shopping-intro-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
    border-radius: 30px;
    z-index: -1;
}

.shopping-intro-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.shopping-intro-image:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/* Shopping Link Container */
.shopping-link-container {
    margin-top: 20px;
    text-align: center;
}

.shopping-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.shopping-link:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .shopping-intro-content {
        grid-template-columns: 1fr;
        gap: 32px;
        /* Reduced from 40px */
        text-align: center;
    }

    .shopping-features {
        justify-content: center;
    }
}

/* ===========================================
   ACHIEVEMENTS TABLE SECTION
   =========================================== */

.achievements-table-container {
    max-width: 1400px;
    margin: 0 auto;
    margin-top: -60px;
    /* 추진실적 타이틀과 표 사이 간격 줄임 */
}

.table-wrapper {
    background: white;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 60px;
}

.achievements-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Pretendard', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
}

.achievements-table thead {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.achievements-table th {
    padding: 24px 20px;
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    border: none;
    position: relative;
}

.achievements-table th:first-child {
    text-align: center;
    width: 110px;
}

.achievements-table th:nth-child(2) {
    text-align: left;
    width: 140px;
}

.achievements-table th:nth-child(3) {
    text-align: left;
    width: 140px;
    /* 250px에서 180px로 줄임 */
}

.achievements-table th:nth-child(4) {
    text-align: center;
    width: 110px;
}

.achievements-table th:nth-child(5),
.achievements-table th:nth-child(6),
.achievements-table th:nth-child(7) {
    width: 120px;
    text-align: center;
}



.achievements-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.achievements-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(251, 146, 60, 0.02) 100%);
    transform: translateX(4px);
}

.achievements-table tbody tr:last-child {
    border-bottom: none;
}

.achievements-table td {
    padding: 20px;
    text-align: center;
    font-size: 15px;
    color: #000000;
    font-weight: 600;
    border: none;
    vertical-align: middle;
}

.achievements-table td:nth-child(2),
.achievements-table td:nth-child(3) {
    text-align: left;
}

.service-check {
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    width: 32px;
    height: 32px;
    margin: 0 auto;
}

.service-check.has-service::before {
    content: '○';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #34d399 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(52, 211, 153, 0.2);
}

.service-check.has-service {
    color: transparent;
}

/* achievements.html의 ✓ 표시에도 동일한 스타일 적용 */
.service-check:contains('✓') {
    color: transparent;
}

.service-check:contains('✓')::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #34d399 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(52, 211, 153, 0.2);
}

.service-check.no-service {
    color: var(--gray-400);
    font-weight: 500;
}

.service-empty {
    color: var(--gray-400);
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
}

/* Achievements Summary */
.achievements-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 10px !important;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4개 카드를 한 줄로 배치 */
    gap: 30px;
    max-width: 1200px;
    /* 전체 너비 확장 */
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 24px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #34d399, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-family: 'Paperlogy-8ExtraBold', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
}

.stat-label {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {

    .achievements-table th,
    .achievements-table td {
        padding: 16px 12px;
        font-size: 14px;
    }

    .achievements-table th:first-child {
        width: 100px;
    }

    .achievements-table th:nth-child(2) {
        width: 150px;
    }

    .achievements-table th:nth-child(3) {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .table-wrapper {
        border-radius: 16px;
        margin-bottom: 32px;
        /* Reduced from 40px */
    }

    .achievements-table {
        font-size: 13px;
    }

    .achievements-table th,
    .achievements-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .haccp-subheaders {
        font-size: 12px;
        bottom: 8px;
    }

    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .achievements-table-container {
        margin: 0 -20px;
    }

    .table-wrapper {
        border-radius: 0;
        box-shadow: none;
        border: 1px solid #e5e5e5;
    }

    .summary-stats {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   IMAGE LOADING OPTIMIZATION
   =========================================== */

/* 이미지 로딩 최적화 */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

/* 포트폴리오 이미지 최적화 */
.portfolio-image img,
.case-card img,
.modal-image img {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.portfolio-image img.loaded,
.case-card img.loaded,
.modal-image img.loaded {
    opacity: 1;
}

/* 이미지 로딩 스켈레톤 */
.image-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* 이미지 컨테이너 최적화 */
.image-container {
    overflow: hidden;
    position: relative;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f9fa;
    z-index: -1;
}

/* ===========================================
   HACCP EQUIPMENT GRID LAYOUT
   =========================================== */

.equipment-grid-section {
    padding: 20px 0 0px 0;
    /* 하단 패딩을 80px에서 40px로 줄여서 이미지와 CTA 섹션 사이 갭 축소 */
    background: white;
}

.equipment-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* 30px에서 40px로 늘려서 한 줄과 다음 타이틀 간 간격 확대 */
}

.equipment-row-header {
    text-align: left;
    margin-bottom: -15px;
    /* 타이틀과 격자 아이템 사이 간격 제거 */
    display: flex;
    align-items: center;
    gap: 20px;
}

.equipment-row-header h3 {
    font-size: 28px;
    /* 36px에서 28px로 줄여서 위생설비 타이틀 폰트 크기 축소 */
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
    font-family: 'Paperlogy-8ExtraBold', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
    white-space: nowrap;
}

.equipment-row-header p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.equipment-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: -10px;
    /* 타이틀과 격자 아이템을 더 붙이기 위해 음수 마진 적용 */
}

.equipment-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.equipment-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.equipment-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.equipment-item:hover .equipment-image img {
    transform: scale(1.1);
}

.equipment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
}

.equipment-item:hover .equipment-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-content {
    text-align: center;
    color: #111827;
    /* 검정색으로 변경 */
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.equipment-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Paperlogy-8ExtraBold', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
}

.overlay-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.detail-link {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.detail-link:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .equipment-row {
        gap: 25px;
    }

    .equipment-item {
        border-radius: 16px;
    }
}

@media (max-width: 900px) {
    .equipment-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .equipment-grid {
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .equipment-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .equipment-item {
        aspect-ratio: 4/3;
    }

    .overlay-content h3 {
        font-size: 18px;
    }

    .overlay-content p {
        font-size: 13px;
    }

    .detail-link {
        padding: 10px 20px;
        font-size: 13px;
    }
}



/* Sleek 모달 디자인 */
.simple-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.simple-modal.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Modal-open scroll lock (no scroll position changes) */
html.modal-open,
body.modal-open {
    overflow: hidden;
}

.modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 60px 50px 50px 50px;
    border-radius: 0;
    width: 90vw;
    max-width: 1000px;
    height: 90vh;
    max-height: 800px;
    overflow-y: auto;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.simple-modal.show .modal-box {
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
    margin-bottom: 16px;
    text-align: left;
    padding-left: 20px;
    padding-top: 25px;
}

.modal-title-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 2px;
    margin-top: -85px;
    margin-left: -20px;
    padding-top: 0;
}

.modal-logo {
    width: 108px;
    height: 108px;
    object-fit: contain;
}

.modal-box h3 {
    margin: 0;
    color: #0f172a;
    font-size: 28px;
    font-weight: 800;
    font-family: 'Paperlogy-8ExtraBold', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    color: #000000;
    font-size: 25px;
    font-weight: 700;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    letter-spacing: -0.01em;
    text-align: left;
    margin: 0px 0 0 0;
    padding: 8px 16px;
    background: transparent;
    border-radius: 0;
    border: none;
    display: inline-block;
    width: auto;
    position: relative;
}

.modal-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 1px;
}

.modal-box button {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #64748b;
}

.modal-box button::before {
    content: "×";
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.modal-box button:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #0f172a;
    transform: scale(1.05);
}

.modal-box button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.image-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
    width: 100%;
}

.image-grid img {
    width: 95%;
    height: 600px;
    object-fit: cover;
    border-radius: 16px !important;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 2s ease-in-out infinite;
    will-change: background-position, opacity;
    transform: translateZ(0);
}

.image-grid img.loaded {
    background: none;
    animation: none;
}

.image-grid img.skeleton-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 2s ease-in-out infinite;
    will-change: background-position, opacity;
    transform: translateZ(0);
    opacity: 0.7;
}

/* 🎯 통합된 스켈레톤 애니메이션 - 성능 최적화 */
@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}


/* 🎯 통합된 스켈레톤 애니메이션 - shimmer + pulse 조합 */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
        opacity: 0.5;
    }

    50% {
        background-position: 0% 0;
        opacity: 0.8;
    }

    100% {
        background-position: 200% 0;
        opacity: 0.5;
    }
}

.image-grid img:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

/* 스크롤바 스타일링 */
.modal-box::-webkit-scrollbar {
    width: 8px;
}

.modal-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.modal-box::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-box::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .modal-box {
        padding: 32px 16px 24px 16px;
        /* Reduced padding */
        border-radius: 16px;
        width: 98vw;
        max-width: 98vw;
        height: 95vh;
        max-height: 95vh;
    }

    .modal-header {
        margin-bottom: 12px;
        padding-left: 10px;
        padding-top: 35px;
    }

    .modal-title-section {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .modal-box h3 {
        font-size: 24px;
        margin-bottom: 0;
        margin-top: 35px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .modal-subtitle {
        font-size: 18px;
        margin-top: 2px;
        white-space: nowrap;
    }

    .modal-box button {
        top: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 14px;
    }

    .image-grid {
        gap: 25px;
    }

    .image-grid img {
        width: 100% !important;
        height: auto !important;
        min-height: 250px;
        max-height: 400px;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 12px !important;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .modal-box {
        padding: 40px 20px 30px 20px;
        border-radius: 16px;
    }

    .modal-box h3 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .image-grid img {
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
        max-height: 300px;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 10px !important;
        aspect-ratio: 4/3;
    }
}

/* ==========================================
   페이지별 개별 스타일
   ========================================== */

/* HACCP 공사 페이지 - 타이틀과 첫 번째 서브타이틀 간격 (데스크탑/태블릿만) */
@media (min-width: 769px) {
    .services-construction-page .page-header {
        margin-bottom: 15px;
        padding-top: 50px;
        /* 네비게이션 바와의 간격을 늘림 */
    }
}

/* HACCP 설비 페이지 - 타이틀과 첫 번째 서브타이틀 간격 (데스크탑/태블릿만) */
@media (min-width: 769px) {
    .services-equipment-page .page-header {
        margin-bottom: 25px;
        padding-top: 50px;
        /* 네비게이션 바와의 간격을 늘림 */
    }
}

/* HACCP 컨설팅 페이지 - 타이틀과 첫 번째 서브타이틀 간격 (데스크탑/태블릿만) */
@media (min-width: 769px) {
    .services-consulting-page .page-header {
        margin-bottom: 5px;
        padding-top: 50px;
        /* 네비게이션 바와의 간격을 늘림 */
    }
}

/* 인사말 페이지 - 타이틀과 본문 간격 (데스크탑/태블릿만) */
@media (min-width: 769px) {
    .greeting-page .page-header {
        margin-bottom: 35px;
        padding-top: 50px;
        /* 네비게이션 바와의 간격을 늘림 */
    }
}

/* 사업분야 페이지 - 타이틀과 이미지 간격 (데스크탑/태블릿만) */
@media (min-width: 769px) {
    .business-page .page-header {
        margin-bottom: 40px;
        padding-top: 50px;
        /* 네비게이션 바와의 간격을 늘림 */
    }
}

/* Removed duplicate mobile styles - handled by main mobile section at line 2548 */

/* 5번째 이미지(consulting-verification-section) 특별 스타일 */
.consulting-verification-section .consulting-image {
    max-width: 55%;
    /* 65%에서 55%로 줄여서 5번째 이미지 크기 추가 축소 */
}

/* 사업실적 페이지 - 타이틀과 필터 안내 문구 간격 (데스크탑/태블릿만) */
@media (min-width: 769px) {
    .cases-page .page-header {
        margin-bottom: 40px;
        padding-top: 50px;
        /* 네비게이션 바와의 간격을 늘림 */
    }
}

/* 모바일 네비게이션 토글 버튼 - Apple/Google 스타일 (데스크탑에서는 숨김) */
.mobile-nav-toggle {
    display: none;
    /* 기본적으로 숨김 */
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    pointer-events: auto !important;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mobile-nav-toggle span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--gray-900);
    border-radius: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-nav-toggle span:nth-child(1) {
    transform: translate(-50%, -8px);
}

.mobile-nav-toggle span:nth-child(2) {
    transform: translate(-50%, -50%);
}

.mobile-nav-toggle span:nth-child(3) {
    transform: translate(-50%, 8px);
}

.mobile-nav-toggle.active {
    background: var(--primary-blue);
}

.mobile-nav-toggle.active span {
    background: white;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}



/* 모바일 네비게이션 메뉴 - 프리미엄 사이드바 디자인 */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 340px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1002;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -2px 0 60px rgba(0, 0, 0, 0.08), -1px 0 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav-menu.active {
    right: 0;
}

/* 모바일 네비게이션 오버레이 - 배경만 어둡게 (데스크탑에서는 숨김) */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* 모바일 네비게이션 헤더 */
.mobile-nav-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 28px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1003;
    min-height: 80px;
}

.mobile-nav-header .company-name {
    font-family: 'Paperlogy-6SemiBold', 'Paperlogy-8ExtraBold', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: visible;
    flex-shrink: 0;
    margin-left: 20px;
}

.mobile-nav-close {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 18px;
    cursor: pointer;
    color: var(--gray-700);
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 300;
    flex-shrink: 0;
}

.mobile-nav-close:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
    transform: scale(1.02);
}

.mobile-nav-close:active {
    transform: scale(0.98);
    background: rgba(0, 0, 0, 0.12);
}

/* 모바일 네비게이션 콘텐츠 */
.mobile-nav-links {
    flex: 1;
    padding: 24px 28px 16px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 모바일 네비게이션 섹션 */
.mobile-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 12px;
    padding: 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.8;
}

/* 모바일 네비게이션 링크 */
.mobile-nav-link {
    display: block;
    padding: 14px 20px;
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 16px;
    background: transparent;
    border: none;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
    position: relative;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-blue);
    transform: translateX(4px);
    font-weight: 600;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    opacity: 1;
}

.mobile-nav-link:active {
    transform: translateX(2px) scale(0.98);
}

/* 모바일 네비게이션 CTA */
.mobile-nav-cta {
    margin-top: auto;
    padding: 18px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px rgba(11, 126, 200, 0.25);
    border: none;
    letter-spacing: -0.01em;
    margin: 16px 28px 28px 28px;
    min-height: 56px;
    line-height: 1;
}

.mobile-nav-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 48px rgba(11, 126, 200, 0.35);
}

.mobile-nav-cta:active {
    transform: translateY(-1px) scale(1.0);
    box-shadow: 0 4px 20px rgba(11, 126, 200, 0.3);
}

/* 모바일 네비게이션 애니메이션 - 더 우아한 스태거링 */
.mobile-nav-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-nav-menu.active .mobile-nav-section:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-nav-menu.active .mobile-nav-section:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-nav-menu.active .mobile-nav-section:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-nav-menu.active .mobile-nav-cta {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 스크롤바 스타일링 - 미니멀 디자인 */
.mobile-nav-menu::-webkit-scrollbar {
    width: 4px;
}

.mobile-nav-menu::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-nav-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.mobile-nav-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.15);
}

/* ==========================================
   태블릿 구간(769-1024px) 전용 내비게이션 스타일
   모바일과 동일한 구조로 동작하도록 구현
   ========================================== */

/* 태블릿 구간에서 모바일과 동일한 내비게이션 구조 적용 */
@media (min-width: 769px) and (max-width: 1024px) {
    #site-navbar .header {
        height: 60px;
        min-height: 60px;
    }

    #site-navbar .header-content {
        height: 60px;
        min-height: 60px;
        padding: 0 16px;
        justify-content: space-between;
        align-items: center;
    }

    #site-navbar .logo-container .company-name {
        font-size: 24px !important;
        margin-left: 30px !important;
        margin-top: 0px !important;
        flex-shrink: 0;
        position: relative !important;
    }

    /* 태블릿에서 데스크탑 네비게이션 숨김 */
    #site-navbar .nav-group {
        display: none !important;
        visibility: hidden;
        opacity: 0;
        width: 0;
        height: 0;
    }

    /* 태블릿에서 햄버거 메뉴 표시 */
    #site-navbar .mobile-nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 1003;
        pointer-events: auto !important;
        cursor: pointer !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 2px solid rgba(0, 0, 0, 0.1) !important;
        border-radius: 12px !important;
        width: 44px !important;
        height: 44px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    #site-navbar .mobile-nav-toggle:hover {
        background: rgba(255, 255, 255, 1) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    }

    /* 태블릿에서 모바일 네비게이션 오버레이와 메뉴 활성화 */
    #site-navbar .mobile-nav-overlay {
        display: block !important;
    }

    #site-navbar .mobile-nav-menu {
        display: flex !important;
    }

    /* 태블릿에서 사이드바 헤더 폰트 크기 모바일과 통일 */
    #site-navbar .mobile-nav-header .company-name {
        font-size: 24px !important;
        margin-left: 15px !important;
        margin-top: 3px !important;
        position: static !important;
    }

    /* 태블릿에서 닫기 버튼 X자 폰트 크기 모바일과 통일 */
    #site-navbar .mobile-nav-close {
        font-size: 24px !important;
        margin-left: auto !important;
    }
}

/* 모바일 햄버거 메뉴 폰트 크기 최적화 */
@media (max-width: 768px) {

    /* 모바일 햄버거 메뉴 헤더 레이아웃 재정의 */
    .mobile-nav-header {
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 28px 20px !important;
    }

    /* 햄버거 메뉴 회사명 폰트 크기 및 위치 조정 */
    .mobile-nav-header .company-name {
        font-size: 24px !important;
        margin-left: 15px !important;
        /* 기본 20px에서 15px로 조정 (왼쪽으로 5px) */
        margin-top: 3px !important;
        /* 위로 3px */
        position: static !important;
    }

    /* 닫기 버튼을 오른쪽 끝으로 */
    .mobile-nav-close {
        margin-left: auto !important;
    }

    /* 햄버거 메뉴 닫기 버튼 X자 폰트 크기 증가 */
    .mobile-nav-close {
        font-size: 24px !important;
    }
}

/* Mobile Footer optimization - 이쁘고 깔끔한 디자인 */
@media (max-width: 768px) {
    .footer {
        padding: 28px 0 !important;
        /* background 색상은 데스크톱 스타일을 상속받음 */
        border-top: 1px solid black !important;
        /* color도 데스크톱 스타일을 상속받음 */
    }

    .footer-content {
        flex-direction: column !important;
        text-align: center !important;
        padding: 0 16px !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .footer-logo {
        margin: 0 auto 20px auto !important;
        padding-top: 0 !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .footer-logo img {
        height: 50px !important;
        margin-bottom: 0 !important;
        filter: none !important;
        /* 흰색 배경에서는 필터 제거 */
    }

    .footer-logo .company-name {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        line-height: 1 !important;
    }

    .footer-info {
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: left !important;
    }

    /* 각 정보를 한 줄씩 이쁘게 정렬 - 모든 정보마다 한 줄 띄기 */
    .footer-info p {
        margin-bottom: 16px !important;
        font-size: 15px !important;
        line-height: 1.4 !important;
        color: black !important;
        /* 모바일에서도 검정색 텍스트 */
        display: flex !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding: 3px 0 !important;
    }

    .footer-info p:last-child {
        margin-bottom: 0 !important;
    }

    .footer-info strong {
        color: black !important;
        font-weight: 500 !important;
        font-size: 15px !important;
        display: inline-block !important;
        min-width: 80px !important;
        margin-right: 8px !important;
        flex-shrink: 0 !important;
        text-align: left !important;
    }

    /* 주소 등 긴 텍스트는 자연스럽게 줄바꿈 */
    .footer-info p:nth-child(3) {
        flex-wrap: wrap !important;
        white-space: normal !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }

    .footer-info p:nth-child(3) strong {
        align-self: flex-start !important;
    }

    /* 구분자 숨기기 */
    .footer-info span {
        display: none !important;
    }

    .footer-copyright {
        margin-top: 20px !important;
        padding-top: 14px !important;
        border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
        font-size: 10px !important;
        color: #6b7280 !important;
        text-align: center !important;
        width: 100% !important;
    }
}

/* 모달 이미지 순차 로딩 애니메이션 */
.simple-modal .image-grid img {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-height: 400px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 2s ease-in-out infinite;
    will-change: background-position, opacity;
    transform: translateZ(0);
}

.simple-modal .image-grid img.loaded {
    opacity: 1;
    transform: scale(1);
    background: none !important;
    animation: none !important;
}