/* ==========================================
   1. Aesthetic & Editorial Variables (Color Added)
   ========================================== */
:root {
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-light: #f7f7f5;
    --color-gray: #888888;
    --color-border: #e0e0e0;
    --color-primary: #0057ff; 
    --font-main: 'Pretendard Variable', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body, html { 
    font-family: var(--font-main); 
    color: var(--color-black); 
    background-color: var(--color-white); 
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: none;    
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
.text-center { text-align: center; }
.bg-light { background-color: var(--color-light); }
.text-primary { color: var(--color-primary) !important; }
.container-wide { max-width: 1600px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 950px; margin: 0 auto; padding: 0 30px; }

/* ==========================================
   2. 미니멀 헤더 
   ========================================== */

.header-minimal {
    position: fixed; 
    top: 0; left: 0; width: 100%;
    padding: 30px 40px; 
    z-index: 100;
    transition: all 0.4s ease;
    color: var(--color-white); /* 항상 선명한 흰색 유지 */
}


.header-minimal::before {
    content: ''; 
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 150%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    z-index: -1; 
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* 스크롤을 내렸을 때 (하얀 배경 + 검은 글씨) */
.header-minimal.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    color: var(--color-black); /* 글씨/햄버거 아이콘 검은색으로 변경 */
    padding: 20px 40px;
    border-bottom: 1px solid var(--color-border);
}

/* 스크롤 시 뒤에 깔아둔 어두운 그림자 숨기기 */
.header-minimal.scrolled::before { 
    opacity: 0; 
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-type { font-size: 1.5em; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.nav-type { display: flex; gap: 40px; }
.nav-type a { font-size: 0.9em; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }

.logo-type a {
    position: relative;
    display: block;
    height: 25px; /* 로고 높이에 맞춤 */
}

.logo-type img {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    transition: opacity 0.4s ease;
}

/* 기본 상태 */
.logo-scrolled { opacity: 0; }
.logo-default { opacity: 1; }

/* 스크롤 시 & 모바일 메뉴 오픈 시 */
.header-minimal.scrolled .logo-default,
.header-minimal.menu-open .logo-default { opacity: 0; }

.header-minimal.scrolled .logo-scrolled,
.header-minimal.menu-open .logo-scrolled { opacity: 1; }

/* 네비게이션 호버 시 포인트 컬러 */
.nav-type a:hover { color: var(--color-primary); }

.btn-inquiry { font-size: 0.85em; font-weight: 600; border: 1px solid currentColor; padding: 8px 20px; border-radius: 40px; transition: all 0.3s; }

/* 문의 버튼 호버 시 포인트 컬러 배경 */
.btn-inquiry:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.header-minimal.scrolled .btn-inquiry:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }

/* ==========================================
   3. 감성 풀스크린 자동 롤링 슬라이더 
   ========================================== */
.hero-editorial { 
    position: relative; height: 100vh; overflow: hidden; background: #000; 
}
.hero-slider-wrap { width: 100%; height: 100%; position: relative; }

/* 각 슬라이드 기본 숨김 및 겹침 처리 */
.hero-slide { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    opacity: 0; visibility: hidden; 
    transition: opacity 1.2s ease, visibility 1.2s ease; 
    display: flex; align-items: center; justify-content: center;
}

/* 활성화된 슬라이드 노출 */
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }

.hero-bg { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background-size: cover; background-position: center; transform: scale(1.05); 
}

/* ★ 활성화된 슬라이드 배경만 아주 천천히 줌인되도록 애니메이션 분리 ★ */
.hero-slide.active .hero-bg { animation: slowZoom 10s forwards; } 
@keyframes slowZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }

.hero-dim { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1; }

.hero-text { position: relative; z-index: 2; text-align: center; color: var(--color-white); width: 100%; padding: 0 20px;}
.hero-text .subtitle { font-size: 0.9em; font-weight: 700; letter-spacing: 4px; margin-bottom: 30px; color: var(--color-primary); }
.hero-text .title { font-size: 4.5em; font-weight: 800; line-height: 1.2; margin-bottom: 30px; letter-spacing: -1px; }
.hero-text .desc { font-size: 1.2em; font-weight: 300; opacity: 0.9; }

/* 중앙 하단 스크롤 인디케이터 */
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; color: var(--color-white); text-align: center; font-size: 0.7em; letter-spacing: 2px; font-weight: 600; opacity: 0.7;}
.scroll-indicator .line { width: 1px; height: 60px; background: var(--color-white); margin: 15px auto 0; animation: scrollLine 2s infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); opacity: 0; } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(100%); opacity: 0; } }

/* 우측 하단 타이머 (프로그레스 바) */
.hero-progress-container { position: absolute; bottom: 50px; right: 50px; width: 200px; height: 2px; background: rgba(255,255,255,0.2); z-index: 10; }
.hero-progress-bar { width: 0%; height: 100%; background: var(--color-primary); transition: width 0.1s linear; }

@media (max-width: 768px) {
    .hero-text .title { font-size: 2.8em; }
    .hero-progress-container { width: 150px; right: 50%; transform: translateX(50%); bottom: 20px; }
    .scroll-indicator { display: none; /* 모바일에서는 프로그레스 바와 겹치므로 숨김 */ }
}

/* 스크롤 인디케이터 포인트 컬러 */
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--color-primary); text-align: center; font-size: 0.7em; letter-spacing: 2px; font-weight: 700; }
.scroll-indicator .line { width: 2px; height: 60px; background: var(--color-primary); margin: 15px auto 0; animation: scrollLine 2s infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); opacity: 0; } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(100%); opacity: 0; } }

/* ==========================================
   4. About Typography
   ========================================== */
.section-typo { padding: 180px 0; text-align: center; }
.quote-text { font-size: 2.8em; font-weight: 600; line-height: 1.4; letter-spacing: -1px; margin-bottom: 60px; word-break: keep-all; }
.about-desc { font-size: 1.2em; color: var(--color-gray); font-weight: 400; line-height: 1.8; max-width: 700px; margin: 0 auto; }
/* ==========================================
   About 섹션 (그레이 배경 & 물결 애니메이션)
   ========================================== */
/* 세련된 쿨그레이 배경 */
.bg-gray {
    background-color: #f4f5f7;    
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 50px 50px; /* 체크 무늬의 크기(간격) */
    background-position: center;
}

/* 물결이 절대위치로 붙을 수 있게 relative 설정 */
#about {
    position: relative;
    padding-bottom: 250px; /* 물결이 칠 공간 확보를 위해 하단 여백 추가 */
}

/* 물결 컨테이너 */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* SVG 물결 기본 셋팅 */
.waves {
    position: relative;
    width: 100%;
    height: 120px; /* 물결의 높이 */
    margin-bottom: -7px; /* 브라우저 렌더링 시 하단에 생기는 미세한 틈새 제거 */
}

/* 물결 패럴랙스(교차) 애니메이션 */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes move-forever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

/* 모바일 반응형 조절 */
@media (max-width: 768px) {
    .waves { height: 60px; }
    #about { padding-bottom: 180px; }
}
/* ==========================================
   About 섹션 - 해시태그(Keywords) 스타일
   ========================================== */

.about-tags-marquee {
    margin-top: 40px; /* 50px에서 40px로 수정 (패딩이 늘어난 만큼 보정) */
    width: 100%;
    
    /* ★ 핵심 수정: 태그가 호버될 때 잘리지 않도록 위아래 여백 넉넉히 확보 ★ */
    padding: 15px 0; 
    
    overflow: hidden;
    position: relative;
    z-index: 10;
    
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tag-track {
    display: flex;
    width: max-content; /* 내부 콘텐츠 길이만큼 길어짐 */
    animation: tagScroll 25s linear infinite; /* 25초에 걸쳐 한 바퀴 돎 */
}

/* 마우스를 올리면 흐르던 태그가 멈추게 하는 디테일 */
.tag-track:hover {
    animation-play-state: paused;
}

.tag-group {
    display: flex;
    gap: 15px;
    padding-right: 15px; /* 1세트와 2세트 사이의 간격 */
}

.hash-tag {
    font-size: 0.95em;
    font-weight: 600;
    color: var(--color-gray);
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 26px;
    border-radius: 50px; /* 알약 모양 */
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
    white-space: nowrap; /* 글씨가 줄바꿈되지 않도록 강제 */
}

/* 마우스 호버 시 블루 포인트 및 입체감 */
.hash-tag:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 87, 255, 0.15);
}

/* 흐르는 애니메이션 키프레임 */
@keyframes tagScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* 전체 폭의 절반(1세트)만큼 이동하면 다시 0으로 리셋 */
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .about-tags-marquee { margin-top: 20px; padding: 10px 0; } /* 모바일도 패딩 추가 */
    .hash-tag { font-size: 0.85em; padding: 10px 20px; }
    .tag-group { gap: 10px; padding-right: 10px; }
    .tag-track { animation-duration: 15s; }
}


/* ==========================================
   5. 서비스 소개
   ========================================== */
.section-feed { padding: 100px 0 180px; }
.section-title { margin-bottom: 80px; }
.section-title h4 { font-size: 0.9em; font-weight: 700; letter-spacing: 2px; margin-bottom: 15px; color: var(--color-primary); }
.section-title p { font-size: 2em; font-weight: 600; letter-spacing: -1px; }

/* 3열에서 2열로 변경하여 큼직하게 2줄 배치 */
.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px 40px; }
.feed-item { cursor: pointer; group; }
.feed-img { width: 100%; aspect-ratio: 16 / 10; /* 2단 배열에 맞게 이미지를 살짝 와이드하게 조절 */ background-size: cover; background-position: center; margin-bottom: 30px; overflow: hidden; filter: grayscale(20%); transition: all 0.5s ease; }
.feed-item:hover .feed-img { transform: scale(0.98); filter: grayscale(0%); border-radius: 20px;}

.feed-info .tag { font-size: 0.85em; font-weight: 700; color: var(--color-primary); letter-spacing: 1px; display: block; margin-bottom: 10px; }
.feed-info h3 { font-size: 1.6em; font-weight: 700; margin-bottom: 15px; transition: color 0.3s; }
.feed-item:hover .feed-info h3 { color: var(--color-primary); }
.feed-info p { font-size: 1.05em; color: var(--color-gray); line-height: 1.6; }

/* ==========================================
   6. 룩북 갤러리 
   ========================================== */
.section-lookbook { padding: 150px 0; }
.masonry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.work-item { position: relative; overflow: hidden; display: block; background: #eee; }
.work-item.size-large { grid-row: span 2; height: 800px; }
.work-item.size-small { height: 380px; }
.work-item.size-wide { grid-column: span 2; height: 600px; }

.work-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.work-item:hover .work-img { transform: scale(1.05); }

.work-hover { position: absolute; inset: 0; background: rgba(0,0,0,0.6); color: var(--color-white); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s ease; text-align: center; }
.work-item:hover .work-hover { opacity: 1; }
.work-hover h3 { font-size: 2em; font-weight: 700; margin-bottom: 10px; transform: translateY(20px); transition: transform 0.4s ease; }
/* 호버 시 카테고리 포인트 컬러 */
.work-hover span { font-size: 0.9em; letter-spacing: 2px; text-transform: uppercase; transform: translateY(20px); transition: transform 0.4s ease; transition-delay: 0.1s; color: var(--color-primary); font-weight: 700;}
.work-item:hover .work-hover h3, .work-item:hover .work-hover span { transform: translateY(0); }

/* 아웃라인 버튼 호버 시 포인트 컬러 */
.btn-outline-dark { display: inline-block; padding: 18px 40px; border: 1px solid var(--color-black); font-size: 0.9em; font-weight: 600; letter-spacing: 1px; transition: all 0.3s; }
.btn-outline-dark:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* ==========================================
   7. 문의 폼
   ========================================== */

.section-contact { padding: 150px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }

/* 좌측 정보 영역 */
.contact-header { text-align: left; margin-bottom: 60px; }
.contact-header h2 { font-size: 4.5em; font-weight: 800; line-height: 1.1; margin-bottom: 25px; letter-spacing: -2px;}
.contact-header p { font-size: 1.15em; color: var(--color-gray); line-height: 1.6; }

/* 연락처 텍스트 디테일 */
.contact-details { border-top: 1px solid var(--color-border); padding-top: 50px; display: flex; flex-direction: column; gap: 40px; }
.detail-item span { display: block; font-size: 0.85em; font-weight: 700; color: var(--color-gray); letter-spacing: 2px; margin-bottom: 8px; }
.detail-item p, .detail-item a { font-size: 1.5em; font-weight: 600; color: var(--color-black); transition: color 0.3s; }

/* 이메일 호버 시 밑줄 스르륵 효과 */
.detail-item a.hover-line { position: relative; display: inline-block; }
.detail-item a.hover-line::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0%; height: 2px; background-color: var(--color-primary); transition: width 0.3s ease; }
.detail-item a.hover-line:hover::after { width: 100%; }
.detail-item a:hover { color: var(--color-primary); }

/* 우측 폼 영역 (하얀색 패널 효과) */
.contact-form-wrap form { background: var(--color-white); padding: 60px 50px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); border-radius: 20px; }
.aesthetic-form .form-row { display: flex; gap: 30px; }
.input-line { position: relative; margin-bottom: 40px; flex: 1; }
.input-line input, .input-line textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--color-border); padding: 15px 0; font-size: 1.1em; font-family: inherit; color: var(--color-black); transition: border-color 0.3s; }

/* 입력 활성화 시 밑줄 및 라벨 포인트 컬러 */
.input-line input:focus, .input-line textarea:focus { outline: none; border-bottom-color: var(--color-primary); }
.input-line label { position: absolute; left: 0; top: 15px; font-size: 1.05em; color: var(--color-gray); transition: all 0.3s ease; pointer-events: none; }
.input-line input:focus ~ label, .input-line input:not(:placeholder-shown) ~ label,
.input-line textarea:focus ~ label, .input-line textarea:not(:placeholder-shown) ~ label { top: -20px; font-size: 0.85em; font-weight: 600; color: var(--color-primary); }

/* 문의 전송 버튼 */
.btn-solid-primary { background: var(--color-primary); color: var(--color-white); border: none; width: 100%; padding: 25px; font-size: 1.1em; font-weight: 700; cursor: pointer; transition: background 0.3s; margin-top: 10px; border-radius: 12px;}
.btn-solid-primary:hover { background: #0044cc; }

/* ==========================================
   반응형
   ========================================== */
@media (max-width: 1024px) {
    .contact-grid { gap: 50px; }
    .contact-header h2 { font-size: 3.5em; }
    .contact-form-wrap form { padding: 40px 30px; }
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .contact-header h2 { font-size: 3em; }
    .aesthetic-form .form-row { flex-direction: column; gap: 0; }
}

/* ==========================================
   8. 푸터 
   ========================================== */
.footer-minimal { background: var(--color-black); color: var(--color-white); padding: 100px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 80px; }
.footer-brand h2 { font-size: 3em; font-weight: 800; margin-bottom: 10px; }
.footer-brand p { color: #888; font-size: 1.2em; }
.footer-info p, .footer-social p { font-size: 0.95em; color: #aaa; margin-bottom: 20px; line-height: 1.8; }
.footer-info strong, .footer-social strong {color: var(--color-white); font-weight: 600; }
.footer-social a { display: block; color: #aaa; margin-bottom: 10px; font-size: 0.95em; transition: color 0.3s; }
/* SNS 링크 호버 시 포인트 컬러 */
.footer-social a:hover { color: var(--color-primary); }

.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px !important; color: #666; font-size: 0.85em; }
.footer-bottom a:hover { color: var(--color-white); }

/* ==========================================
   9. 공통 애니메이션 클래스 & 반응형
   ========================================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; } .delay-2 { transition-delay: 0.4s; } .delay-3 { transition-delay: 0.6s; }

@media (max-width: 1024px) {
    .feed-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-text .title { font-size: 3.5em; }
    .quote-text { font-size: 2em; }
}

@media (max-width: 768px) {
    .nav-type { display: none; }
    .hero-text .title { font-size: 2.5em; }
    .feed-grid, .masonry-grid, .footer-grid { grid-template-columns: 1fr; }
    .work-item.size-large, .work-item.size-wide, .work-item.size-small { height: 400px; grid-column: span 1; grid-row: span 1; }
    .aesthetic-form .form-row { flex-direction: column; gap: 0; }
}

/* ==========================================
   협력사 (파트너) 마키 섹션
   ========================================== */
.section-partner { 
    padding: 100px 0; 
    border-bottom: 1px solid var(--color-border); 
    overflow: hidden; 
    background-color: var(--color-white);
    transition: all 0.5s ease;
}

/* 헤더 영역 (타이틀 + 버튼) */
.partner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
}

.partner-title { 
    font-size: 0.85em; 
    font-weight: 700; 
    color: var(--color-gray); 
    letter-spacing: 2px; 
}

/* + / - 토글 버튼 */
.btn-toggle-partner {
    background: transparent;
    border: none;
    font-size: 1.5em;
    color: var(--color-black);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    outline: none;
}
.btn-toggle-partner:hover { color: var(--color-primary); }

/* 마키 스크롤 기본 상태 */
.partner-marquee { 
    width: 100%; 
    display: flex; 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
}

.partner-marquee .track { 
    display: flex; 
    white-space: nowrap; 
    animation: marqueeScroll 30s linear infinite; 
    width: max-content; 
}

.logo-group {
    display: flex;
    gap: 80px;
    padding-right: 80px; /* 그룹 간 연결을 부드럽게 */
    align-items: center;
}

.partner-logo { 
    font-size: 2.5em; 
    font-weight: 900; 
    color: #f0f0f0; 
    letter-spacing: -1px; 
    transition: color 0.4s ease, transform 0.4s ease; 
    cursor: default; 
}
.partner-logo:hover { color: var(--color-primary); transform: scale(1.05); }

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
    펼쳐졌을 때
   ========================================== */
.section-partner.is-expanded .partner-marquee {
    /* 양쪽 페이드아웃 마스크 제거 */
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
}

.section-partner.is-expanded .track {
    /* 스크롤 애니메이션 정지 및 넓이 변경 */
    animation: none;
    width: 100%;
    flex-wrap: wrap; 
}

.section-partner.is-expanded .logo-group.original {
    /* 바둑판 형태로 정렬 */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 60px;
    padding-right: 0;
    width: 100%;
    padding: 0 40px;
}

/* 무한스크롤용 복제 로고는 숨겨서 중복 노출 방지 */
.section-partner.is-expanded .logo-group.clone {
    display: none;
}

.section-partner.is-expanded .partner-logo {
    color: #e5e5e5; /* 멈춰있을 때 조금 더 잘 보이도록 진하게 */
}
.section-partner.is-expanded .partner-logo:hover {
    color: var(--color-primary);
}

/* 반응형 모바일 */
@media (max-width: 768px) {
    .logo-group { gap: 40px; padding-right: 40px; }
    .partner-logo { font-size: 1.8em; }
    .section-partner.is-expanded .logo-group.original { gap: 30px; }
}

/* ==========================================
   모바일 햄버거 버튼 & 풀스크린 메뉴
   ========================================== */

/* 햄버거 버튼 기본 숨김 (데스크탑) */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101; 
    
    /* ★ 이 한 줄을 꼭 추가해 주세요! 부모(헤더)의 글자색을 똑같이 따라가게 만듭니다. */
    color: inherit; 
}

/* 두 줄짜리 미니멀 라인 */
.hamburger .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor; /* 이제 inherit된 색상(흰/검)을 정상적으로 반영합니다 */
    position: absolute;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease, background-color 0.3s ease;
}
.hamburger .line:nth-child(1) { top: 4px; }
.hamburger .line:nth-child(2) { bottom: 4px; }

/* 햄버거 버튼 활성화 (X 모양으로 변환) */
.hamburger.is-active .line:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}
.hamburger.is-active .line:nth-child(2) {
    bottom: 9px;
    transform: rotate(-45deg);
}

/* 모바일 풀스크린 메뉴 오버레이 */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-color: var(--color-white); /* 순백색 배경 */
    color: var(--color-black);
    z-index: 99; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* 메뉴 활성화 상태 */
.mobile-menu.is-active {
    opacity: 1;
    visibility: visible;
}

/* 모바일 메뉴 링크 스타일 (큰 타이포그래피) */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}
.mobile-nav a {
    font-size: 3.5em;
    font-weight: 800;
    letter-spacing: -2px;
    text-transform: uppercase;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
}

/* 호버 시 포인트 컬러 */
.mobile-nav a:hover { color: var(--color-primary); }

/* 메뉴가 열릴 때 순차적으로 떠오르는 효과 */
.mobile-menu.is-active .mobile-nav a {
    transform: translateY(0);
    opacity: 1;
}
.mobile-menu.is-active .mobile-nav a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.is-active .mobile-nav a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.is-active .mobile-nav a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.is-active .mobile-nav a:nth-child(4) { transition-delay: 0.4s; }

/* 하단 연락처 정보 */
.mobile-contact {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--color-gray);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease 0.5s, opacity 0.5s ease 0.5s;
}
.mobile-menu.is-active .mobile-contact {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    /* 기존 네비게이션과 문의 버튼 숨김 */
    .nav-type, .btn-inquiry { display: none; }
    
    /* 햄버거 버튼 보이기 */
    .hamburger { display: block; }
    
    /* 메뉴가 열렸을 때 헤더 텍스트(로고, X버튼)를 무조건 검은색으로 고정 */
    .header-minimal.menu-open {
        color: var(--color-black) !important;
        mix-blend-mode: normal !important;
    }

    .mobile-nav a { font-size: 2.8em; }
}
/* ==========================================
   모바일 최적화: 인스타 감성 가로 스크롤 (Swipe)
   ========================================== */
@media (max-width: 768px) {
    /* 모바일: 가로 스와이프 (인스타 스타일) */
    .feed-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory; /* 스와이프 시 딱딱 맞춰서 멈춤 */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        
        /* 모바일 화면 양옆 여백을 뚫고 스크롤 되도록 설정 */
        margin-left: -30px;
        margin-right: -30px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 40px; /* 그림자 잘림 방지 */
    }
    
    /* 보기 싫은 기본 스크롤바 숨김 */
    .feed-grid::-webkit-scrollbar { display: none; }
    
    .feed-item {
        flex: 0 0 85%; /* 카드가 화면의 85%만 차지하게 해서 다음 카드가 살짝 보이도록 유도 */
        scroll-snap-align: center;
    }
    .feed-img { aspect-ratio: 1 / 1; /* 모바일에서는 다시 정방형(인스타 핏)으로 변경 */ }
}
/* 동영상 배경 스타일 */
.hero-bg-video {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* 이미지가 꽉 차는 background-size: cover와 동일한 효과 */
    transform: scale(1.05); /* 기존 이미지와 동일한 시작 크기 */
}

/* 활성화된 슬라이드의 동영상도 천천히 줌인 되도록 애니메이션 연결 */
.hero-slide.active .hero-bg-video { 
    animation: slowZoom 10s forwards; 
}





/* 카드 슬라이더 */
.portfolio-card-slider {
    position: relative;
    overflow: hidden;
}

/* 슬라이드 한 장씩 겹쳐놓기 */
.portfolio-card-slider .work-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

/* 현재 슬라이드 */
.portfolio-card-slider .work-slide.is-active {
    transform: translateX(0);
    z-index: 3;
}

/* 왼쪽으로 빠져나간 슬라이드 */
.portfolio-card-slider .work-slide.is-prev {
    transform: translateX(-100%);
    z-index: 2;
}

/* 오른쪽 대기 슬라이드 */
.portfolio-card-slider .work-slide.is-next {
    transform: translateX(100%);
    z-index: 1;
}

/* 내부 이미지 */
.portfolio-card-slider .work-slide .work-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

/* 현재 마우스 올라간 슬라이드만 확대 */
.portfolio-card-slider .work-slide:hover .work-img {
    transform: scale(1.04);
}

/* hover 오버레이 */
.portfolio-card-slider .work-slide .work-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    text-align: center;
    z-index: 2;
}

.portfolio-card-slider .work-slide:hover .work-hover {
    opacity: 1;
}

/* 도트 */
.work-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.work-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.work-dots .dot.active {
    background: #fff;
    transform: scale(1.2);
}
/* 드래그 UX 개선 */
.portfolio-card-slider {
    touch-action: pan-y;   /* 세로 스크롤은 살리고, 가로 제스처 처리 */
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.portfolio-card-slider.dragging {
    cursor: grabbing;
}

.portfolio-card-slider .work-slide {
    -webkit-user-drag: none;
}

.portfolio-card-slider .work-img {
    pointer-events: none; /* 드래그 중 이미지가 끌리는 현상 방지 */
}

.portfolio-card-slider .work-hover h3,
.portfolio-card-slider .work-hover span {
    pointer-events: none;
}
.work-hover h3 {
    transform: translateY(20px);
}

.work-item:hover h3 {
    transform: translateY(0);
}


/* ==========================================
   포트폴리오 슬라이드 - 항상 노출되는 상단 캡션 애니메이션
   ========================================== */
/* 밝은 이미지에서도 글씨가 잘 보이도록 상단에만 옅은 어둠 깔기 */
.portfolio-card-slider .work-caption-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 140px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

/* 캡션 컨테이너 */
.portfolio-card-slider .work-caption {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px; /* 우측 여백 확보 */
    z-index: 2;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

/* 카테고리 뱃지 (파란색 포인트) */
.portfolio-card-slider .work-caption .badge {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6px 14px;
    font-size: 0.75em;
    font-weight: 700;
    border-radius: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    /* 애니메이션 초기 상태 (위로 살짝 올라가 있음) */
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 프로젝트 짧은 타이틀 */
.portfolio-card-slider .work-caption .title {
    color: var(--color-white);
    font-size: 1.3em;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin: 0;
    line-height: 1.3;
    /* 애니메이션 초기 상태 */
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s; /* 뱃지보다 아주 살짝 늦게 떨어짐 */
}

/* ★ 슬라이드가 활성화(is-active) 되었을 때 캡션이 부드럽게 나타남 ★ */
.portfolio-card-slider .work-slide.is-active .work-caption-bg,
.portfolio-card-slider .work-slide.is-active .work-caption .badge,
.portfolio-card-slider .work-slide.is-active .work-caption .title {
    opacity: 1;
    transform: translateY(0);
}

/* ★ 마우스를 올렸을 때(hover)는 중앙 텍스트가 돋보이도록 상단 캡션을 스르륵 숨김 ★ */
.portfolio-card-slider .work-slide:hover .work-caption-bg,
.portfolio-card-slider .work-slide:hover .work-caption {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 모바일 반응형 조절 */
@media (max-width: 768px) {
    .portfolio-card-slider .work-caption { top: 20px; left: 20px; right: 20px; gap: 8px; }
    .portfolio-card-slider .work-caption .title { font-size: 1.1em; }
    .portfolio-card-slider .work-caption .badge { font-size: 0.7em; padding: 4px 10px; }
}
/* ==========================================
   포트폴리오 공통 - 상단 캡션 애니메이션
   ========================================== */
/* ==========================================
   포트폴리오 공통 - 상단 캡션 애니메이션 (옵션 2: 화이트 아웃라인)
   ========================================== */
.work-item .work-caption-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 140px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.work-item .work-caption {
    position: absolute;
    top: 30px; left: 30px; right: 30px;
    z-index: 2;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.work-item .work-caption .badge {
    background: rgba(0, 0, 0, 0.2); 
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.4); 
    padding: 5px 14px;
    font-size: 0.75em;
    font-weight: 500; 
    border-radius: 4px; 
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: none;
    opacity: 0; transform: translateY(-15px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-item .work-caption .title {
    color: var(--color-white);
    font-size: 1.3em;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin: 0; line-height: 1.3;
    opacity: 0; transform: translateY(-15px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
}

/* ★ 핵심 수정: 단일 항목(size-wide) 및 활성 슬라이드 캡션 나타나기 ★ */
.work-item .work-slide.is-active .work-caption-bg,
.work-item .work-slide.is-active .work-caption .badge,
.work-item .work-slide.is-active .work-caption .title,
.work-item.size-wide .work-caption-bg,
.work-item.size-wide .work-caption .badge,
.work-item.size-wide .work-caption .title {
    opacity: 1;
    transform: translateY(0);
}

/* 마우스 올렸을 때 중앙 호버가 잘 보이도록 상단 캡션 무조건 숨기기 */
.work-item:hover .work-caption-bg,
.work-item:hover .work-caption {
    opacity: 0 !important;
    transition: opacity 0.3s ease;
}

/* 모바일 반응형 조절 */
@media (max-width: 768px) {
    .work-item .work-caption { top: 20px; left: 20px; right: 20px; gap: 8px; }
    .work-item .work-caption .title { font-size: 1.1em; }
    .work-item .work-caption .badge { font-size: 0.7em; padding: 4px 10px; }
}




/*
여기까지 메인
*/




/*
about.html
*/



/* ==========================================
   4. 철학 & 인사이트 (Philosophy)
   ========================================== */
.section-philosophy { padding: 180px 0; }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.section-label { font-size: 0.85em; font-weight: 700; color: var(--color-primary); letter-spacing: 2px; margin-bottom: 20px; display: block;}
.phil-left .quote { font-size: 2.8em; font-weight: 800; line-height: 1.3; letter-spacing: -1px; color: var(--color-black); margin-top: 20px; word-break: keep-all;}
.phil-right .main-desc { font-size: 1.4em; font-weight: 600; line-height: 1.6; color: var(--color-black); margin-bottom: 30px; word-break: keep-all;}
.phil-right .sub-desc { font-size: 1.1em; font-weight: 400; line-height: 1.8; color: var(--color-gray); word-break: keep-all;}
/* ==========================================
   추가: 모눈종이(Grid) 체크 배경
   ========================================== */
.bg-grid {
	background-color: #ffffff; /* 하얀색 기본 배경 */
	background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
	background-size: 40px 40px; /* 격자의 크기 (간격) */
}

@media (max-width: 768px) {
    /* 모바일에서는 체크 크기를 살짝 줄여서 오밀조밀하게 표현 */
    .bg-grid { background-size: 30px 30px; }
}
@media (max-width: 1024px) {
    .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
    .phil-left .quote { font-size: 2.2em; margin-top: 10px;}
}

/* ==========================================
   5. 핵심 역량 (Our DNA)
   ========================================== */
.section-dna { padding: 150px 0; background-color: var(--color-light); }
.dna-header { text-align: center; margin-bottom: 100px; }
.dna-header h2 { font-size: 3em; font-weight: 800; letter-spacing: -1px; }

.dna-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.dna-card { background: var(--color-white); padding: 50px 40px; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.03); transition: transform 0.3s ease;}
.dna-card:hover { transform: translateY(-10px); }
.dna-num { font-size: 2em; font-weight: 900; color: var(--color-border); margin-bottom: 20px; font-family: 'Arial', sans-serif;}
.dna-title { font-size: 1.6em; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; line-height: 1.3;}
.dna-card p { font-size: 1.05em; line-height: 1.7; color: var(--color-gray); word-break: keep-all;}

@media (max-width: 1024px) {
    .dna-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 768px) {
    .section-dna { padding: 100px 0; }
    .dna-header { margin-bottom: 60px; }
    .dna-header h2 { font-size: 2.2em; }
    .dna-grid { grid-template-columns: 1fr; gap: 20px; }
    .dna-card { padding: 40px 30px; }
}

/* ==========================================
   6. 조직 문화 (Culture Image)
   ========================================== */
.section-culture { padding-bottom: 150px; }
.culture-img { width: 100%; height: 600px; background-size: cover; background-position: center; background-attachment: fixed; margin-bottom: 80px; filter: grayscale(20%); }
.culture-text { text-align: center; }
.culture-text h3 { font-size: 2.5em; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; }
.culture-text p { font-size: 1.2em; line-height: 1.8; color: var(--color-gray); word-break: keep-all;}

@media (max-width: 768px) {
    .culture-img { height: 400px; background-attachment: scroll; margin-bottom: 50px;}
    .culture-text h3 { font-size: 1.8em; }
    .culture-text p { font-size: 1.05em; }
}

/* ==========================================
   7. 오시는 길 (Location)
   ========================================== */
.section-location { padding: 150px 0; background-color: var(--color-white); }
.location-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: start; }

/* 지도 영역 */
.map-wrap { 
    width: 100%; height: 500px; 
    background-color: #eee; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2); }

/* 정보 영역 */
.location-info { display: flex; flex-direction: column; gap: 40px; }
.loc-item { display: flex; gap: 20px; }
.loc-icon { 
    width: 50px; height: 50px; 
    background: var(--color-light); 
    border-radius: 12px; 
    display: flex; justify-content: center; align-items: center; 
    color: var(--color-primary); font-size: 1.2em; 
    flex-shrink: 0;
}
.loc-text h4 { font-size: 1.1em; font-weight: 700; margin-bottom: 8px; color: var(--color-black); }
.loc-text p { font-size: 1em; color: var(--color-gray); line-height: 1.6; word-break: keep-all; }

@media (max-width: 1024px) {
    .location-grid { grid-template-columns: 1fr; gap: 40px; }
    .map-wrap { height: 400px; }
}

@media (max-width: 768px) {
    .section-location { padding: 100px 0; }
    .map-wrap { height: 300px; }
}


/* ==========================================
   3. 서브페이지 공통 히어로 (다크 톤앤매너 통일)
   ========================================== */
.about-hero {
    position: relative;
    padding: 250px 0 150px;
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(pc0040611597.jpg) no-repeat center / cover;
    opacity: 0.7;
    z-index: 0;
}
.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}
.about-hero .subtitle { font-size: 0.9em; font-weight: 700; letter-spacing: 4px; margin-bottom: 20px;  }
.about-hero .title { font-size: 5em; font-weight: 900; line-height: 1.1; letter-spacing: -2px; margin-bottom: 30px; }
.about-hero .desc { font-size: 1.2em; font-weight: 300; opacity: 0.8; line-height: 1.6;}

/* 하단 거대 타이포그래피 장식 */
.bg-typography { position: absolute; bottom: -40px; right: -20px; font-size: 15vw; font-weight: 900; color: rgba(255,255,255,0.03); line-height: 1; z-index: 1; pointer-events: none; overflow: hidden; white-space: nowrap;}

@media (max-width: 768px) {
    .about-hero { padding: 180px 0 100px; }
    .about-hero .title { font-size: 3.5em; }
}


/* ==========================================
   DNA 섹션 - 시인성 강화 아키텍처 배경
   ========================================== */
.section-dna {
	position: relative;
	overflow: hidden;
	background-color: #f4f5f7; /* 기존 그레이 배경 */
	padding: 160px 0;
}

/* 배경 장식 레이어 */
.dna-bg-decor {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

/* 1. 미세한 모눈종이 그리드 (회색 배경 위에서 질감 부여) */
.dna-bg-decor::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: 
		linear-gradient(rgba(0, 87, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 87, 255, 0.03) 1px, transparent 1px);
	background-size: 50px 50px;
	mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* 2. 고정된 대형 원형 선 (농도 15%로 상향) */
.decor-circle {
	position: absolute;
	border: 1px solid rgba(0, 87, 255, 0.18); /* 농도를 0.15로 올려 확실히 보이게 함 */
	border-radius: 50%;
}

.decor-circle.d1 {
	width: 800px; height: 800px;
	top: -200px; right: -150px;
}

.decor-circle.d2 {
	width: 400px; height: 400px;
	bottom: -100px; left: -100px;
	border-style: dashed; /* 기술적인 느낌을 위해 점선 적용 */
}

/* 3. 카드 시인성 확보 (흰색 배경 + 강한 그림자) */
.dna-card {
	position: relative;
	z-index: 2;
	background: #ffffff !important; /* 배경 위에서 카드가 확실히 튀어나와 보이게 */
	border: 1px solid #e7e7e7;
	transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dna-card:hover {
	transform: translateY(-15px);
	border-color: var(--color-primary);
	box-shadow: 0 40px 80px rgba(0, 87, 255, 0.12);
}

.section-dna .container-wide {
	position: relative;
	z-index: 1;
}
#work,#contact{
	overflow:hidden;
	position:relative;
}
#work::before {
	content: 'WORKS';
	position: absolute;
	top: 5%;
	left: 2%;
	font-size: 25vw;
	font-weight: 900;
	color: rgba(0, 0, 0, 0.03);
	line-height: 1;
	pointer-events: none;
	z-index: 0;
	font-family: 'Inter', sans-serif;
}

#contact::before {
	content: 'HANSTORY';
	position: absolute;
	bottom: 0%;
	left: 0%;
	font-size: 20vw;
	font-weight: 900;
	color: rgba(0, 0, 0, 0.03);
	line-height: 1;
	pointer-events: none;
	z-index: 0;
	font-family: 'Inter', sans-serif;
}



/*
service.html
*/



/* ==========================================
   4. About Typography
   ========================================== */
.section-typo { padding: 180px 0; text-align: center; }
.quote-text { font-size: 2.8em; font-weight: 600; line-height: 1.4; letter-spacing: -1px; margin-bottom: 60px; word-break: keep-all; }
.about-desc { font-size: 1.2em; color: var(--color-gray); font-weight: 400; line-height: 1.8; max-width: 700px; margin: 0 auto; }


/* ==========================================
   5. 서비스 소개 (PC: 2단 2줄 그리드)
   ========================================== */
.section-feed { padding: 100px 0 180px; }
.section-title { margin-bottom: 80px; }
.section-title h4 { font-size: 0.9em; font-weight: 700; letter-spacing: 2px; margin-bottom: 15px; color: var(--color-primary); }
.section-title p { font-size: 2em; font-weight: 600; letter-spacing: -1px; }

/* 3열에서 2열로 변경하여 큼직하게 2줄 배치 */
.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px 40px; }
.feed-item { cursor: pointer; group; }
.feed-img { width: 100%; aspect-ratio: 16 / 10; /* 2단 배열에 맞게 이미지를 살짝 와이드하게 조절 */ background-size: cover; background-position: center; margin-bottom: 30px; overflow: hidden; filter: grayscale(20%); transition: all 0.5s ease; }
.feed-item:hover .feed-img { transform: scale(0.98); filter: grayscale(0%); border-radius: 20px;}

.feed-info .tag { font-size: 0.85em; font-weight: 700; color: var(--color-primary); letter-spacing: 1px; display: block; margin-bottom: 10px; }
.feed-info h3 { font-size: 1.6em; font-weight: 700; margin-bottom: 15px; transition: color 0.3s; }
.feed-item:hover .feed-info h3 { color: var(--color-primary); }
.feed-info p { font-size: 1.05em; color: var(--color-gray); line-height: 1.6; }

/* ==========================================
   6. 룩북 갤러리 (컬러 포인트)
   ========================================== */
.section-lookbook { padding: 150px 0; }
.masonry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.work-item { position: relative; overflow: hidden; display: block; background: #eee; }
.work-item.size-large { grid-row: span 2; height: 800px; }
.work-item.size-small { height: 380px; }
.work-item.size-wide { grid-column: span 2; height: 600px; }

.work-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.work-item:hover .work-img { transform: scale(1.05); }

.work-hover { position: absolute; inset: 0; background: rgba(0,0,0,0.6); color: var(--color-white); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s ease; text-align: center; }
.work-item:hover .work-hover { opacity: 1; }
.work-hover h3 { font-size: 2em; font-weight: 700; margin-bottom: 10px; transform: translateY(20px); transition: transform 0.4s ease; }
/* 호버 시 카테고리 포인트 컬러 */
.work-hover span { font-size: 0.9em; letter-spacing: 2px; text-transform: uppercase; transform: translateY(20px); transition: transform 0.4s ease; transition-delay: 0.1s; color: var(--color-primary); font-weight: 700;}
.work-item:hover .work-hover h3, .work-item:hover .work-hover span { transform: translateY(0); }

/* 아웃라인 버튼 호버 시 포인트 컬러 */
.btn-outline-dark { display: inline-block; padding: 18px 40px; border: 1px solid var(--color-black); font-size: 0.9em; font-weight: 600; letter-spacing: 1px; transition: all 0.3s; }
.btn-outline-dark:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* ==========================================
   7. 문의 폼 (컬러 포인트 및 버튼 교체)
   ========================================== */
/* ==========================================
   7. 연락처 및 문의 폼 (2단 분할 Grid Layout)
   ========================================== */
.section-contact { padding: 150px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }

/* 좌측 정보 영역 */
.contact-header { text-align: left; margin-bottom: 60px; }
.contact-header h2 { font-size: 4.5em; font-weight: 800; line-height: 1.1; margin-bottom: 25px; letter-spacing: -2px;}
.contact-header p { font-size: 1.15em; color: var(--color-gray); line-height: 1.6; }

/* 연락처 텍스트 디테일 */
.contact-details { border-top: 1px solid var(--color-border); padding-top: 50px; display: flex; flex-direction: column; gap: 40px; }
.detail-item span { display: block; font-size: 0.85em; font-weight: 700; color: var(--color-gray); letter-spacing: 2px; margin-bottom: 8px; }
.detail-item p, .detail-item a { font-size: 1.5em; font-weight: 600; color: var(--color-black); transition: color 0.3s; }

/* 이메일 호버 시 밑줄 스르륵 효과 */
.detail-item a.hover-line { position: relative; display: inline-block; }
.detail-item a.hover-line::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0%; height: 2px; background-color: var(--color-primary); transition: width 0.3s ease; }
.detail-item a.hover-line:hover::after { width: 100%; }
.detail-item a:hover { color: var(--color-primary); }

/* 우측 폼 영역 (하얀색 패널 효과) */
.contact-form-wrap form { background: var(--color-white); padding: 60px 50px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); border-radius: 20px; }
.aesthetic-form .form-row { display: flex; gap: 30px; }
.input-line { position: relative; margin-bottom: 40px; flex: 1; }
.input-line input, .input-line textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--color-border); padding: 15px 0; font-size: 1.1em; font-family: inherit; color: var(--color-black); transition: border-color 0.3s; }

/* 입력 활성화 시 밑줄 및 라벨 포인트 컬러 */
.input-line input:focus, .input-line textarea:focus { outline: none; border-bottom-color: var(--color-primary); }
.input-line label { position: absolute; left: 0; top: 15px; font-size: 1.05em; color: var(--color-gray); transition: all 0.3s ease; pointer-events: none; }
.input-line input:focus ~ label, .input-line input:not(:placeholder-shown) ~ label,
.input-line textarea:focus ~ label, .input-line textarea:not(:placeholder-shown) ~ label { top: -20px; font-size: 0.85em; font-weight: 600; color: var(--color-primary); }

/* 문의 전송 버튼 */
.btn-solid-primary { background: var(--color-primary); color: var(--color-white); border: none; width: 100%; padding: 25px; font-size: 1.1em; font-weight: 700; cursor: pointer; transition: background 0.3s; margin-top: 10px; border-radius: 12px;}
.btn-solid-primary:hover { background: #0044cc; }

/* ==========================================
   반응형 (기존 미디어 쿼리 부분 덮어쓰기)
   ========================================== */
@media (max-width: 1024px) {
    .contact-grid { gap: 50px; }
    .contact-header h2 { font-size: 3.5em; }
    .contact-form-wrap form { padding: 40px 30px; }
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .contact-header h2 { font-size: 3em; }
    .aesthetic-form .form-row { flex-direction: column; gap: 0; }
}


/* ==========================================
   기존 반응형 미디어 쿼리 덮어쓰기
   ========================================== */
@media (max-width: 768px) {
    /* 기존 네비게이션과 문의 버튼 숨김 */
    .nav-type, .btn-inquiry { display: none; }
    
    /* 햄버거 버튼 보이기 */
    .hamburger { display: block; }
    
    /* 메뉴가 열렸을 때 헤더 텍스트(로고, X버튼)를 무조건 검은색으로 고정 */
    .header-minimal.menu-open {
        color: var(--color-black) !important;
        mix-blend-mode: normal !important;
    }

    .mobile-nav a { font-size: 2.8em; }
}
/* ==========================================
   모바일 최적화: 인스타 감성 가로 스크롤 (Swipe)
   ========================================== */
@media (max-width: 768px) {
    /* 모바일: 가로 스와이프 (인스타 스타일) */
    .feed-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory; /* 스와이프 시 딱딱 맞춰서 멈춤 */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        
        /* 모바일 화면 양옆 여백을 뚫고 스크롤 되도록 설정 */
        margin-left: -30px;
        margin-right: -30px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 40px; /* 그림자 잘림 방지 */
    }
    
    /* 보기 싫은 기본 스크롤바 숨김 */
    .feed-grid::-webkit-scrollbar { display: none; }
    
    .feed-item {
        flex: 0 0 85%; /* 카드가 화면의 85%만 차지하게 해서 다음 카드가 살짝 보이도록 유도 */
        scroll-snap-align: center;
    }
    .feed-img { aspect-ratio: 1 / 1; /* 모바일에서는 다시 정방형(인스타 핏)으로 변경 */ }
}
	</style>
    <style>
/* ==========================================
   [SERVICE DETAIL] 바이럴 마케팅 상세페이지 전용
   ========================================== */

/* 1. 서비스 상세 히어로 (다크) */
.svc-hero {
    position: relative;
    padding: 200px 0 150px;
    background-color: var(--color-black); /* 강렬한 블랙 배경 */
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.svc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(pc0040631125.jpg) no-repeat center / cover;
    opacity: 0.7;
    z-index: 0;
}
.svc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}
.bg-black { background-color: var(--color-black); }

.svc-hero-content { position: relative; z-index: 2; }
.svc-hero .subtitle { font-size: 0.9em; font-weight: 700; letter-spacing: 4px; margin-bottom: 30px; color:#fff}
.svc-hero .title { font-size: 5em; font-weight: 900; line-height: 1.2; letter-spacing: -2px; margin-bottom: 40px; color:#fff}
.svc-hero .desc { font-size: 1.3em; font-weight: 300; line-height: 1.7; opacity: 0.8; color:#fff}

/* 2. 서비스 디테일 (지그재그 화보 레이아웃) */
.svc-details { padding: 150px 0; }
.svc-row { display: flex; align-items: center; gap: 100px; margin-bottom: 150px; }
.svc-row:last-child { margin-bottom: 0; }

/* 짝수 번째 항목은 좌우 반전 (텍스트가 왼쪽, 이미지가 오른쪽) */
.svc-row.reverse { flex-direction: row-reverse; }

.svc-img-col { flex: 1; }
.svc-txt-col { flex: 1; padding: 0 20px; }

.svc-img-box {
    width: 100%;
    aspect-ratio: 4 / 5; /* 세로로 약간 긴 화보 비율 */
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    filter: grayscale(20%);
    transition: all 0.5s ease;
}
.svc-row:hover .svc-img-box { filter: grayscale(0%); transform: translateY(-10px); }

.svc-txt-col .tag { font-size: 0.9em; font-weight: 800; color: var(--color-primary); letter-spacing: 2px; display: block; margin-bottom: 20px; }
.svc-txt-col h3 { font-size: 2.8em; /*font-weight: 800; */line-height: 1.2; letter-spacing: -1px; margin-bottom: 30px; color: var(--color-black); }
.svc-txt-col p { font-size: 1.15em; color: var(--color-gray); line-height: 1.7; margin-bottom: 40px; }

/* 체크 리스트 디자인 */

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding: 20px 0 20px 30px;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

/* 좌측 파란색 수직 강조선 */
.check-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 22px;
    width: 2px; height: 18px;
    background-color: var(--color-primary);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.check-list li:hover {
    padding-left: 40px;
}

.check-list li:hover::before {
    height: 30px;
    top: 15px;
    width: 4px;
    opacity: 1;
}

.check-list li i {
    display: none; /* 아이콘 대신 선을 사용하므로 숨김 */
}

.check-list li strong {
    font-size: 1.1em;
    display: block; /* 제목을 위로 올림 */
    margin-bottom: 5px;
}

/* 3. 작업 프로세스 (선으로 연결된 스텝) */
.svc-process { padding: 150px 0; }
.process-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 80px;
    position: relative;
}

/* 스텝 사이를 연결하는 가로선 */
.process-wrapper::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 1px;
    background-color: var(--color-border);
    z-index: 1;
}

.process-step { position: relative; z-index: 2; }
.step-num { 
    width: 60px; height: 60px; 
    background: var(--color-white); 
    border: 1px solid var(--color-border); 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 1.2em; font-weight: 900; color: var(--color-gray);
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
/* 마지막 핵심 스텝 하이라이트 */
.step-num.text-primary { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-white); }

.process-step h5 { font-size: 1.3em; font-weight: 800; margin-bottom: 15px; letter-spacing: -0.5px; }
.process-step p { font-size: 1em; color: var(--color-gray); line-height: 1.6; }


/* ==========================================
   모바일 반응형 (서비스 상세페이지)
   ========================================== */
@media (max-width: 1024px) {
    .svc-hero .title { font-size: 4em; }
    .svc-row { gap: 50px; }
    .svc-txt-col h3 { font-size: 2.2em; }
    .process-wrapper { grid-template-columns: repeat(2, 1fr); gap: 60px 40px; }
    .process-wrapper::before { display: none; /* 모바일에서는 가로선 숨김 */ }
}

@media (max-width: 768px) {
    .svc-hero { padding: 180px 0 100px; min-height: auto; }
    .svc-hero .title { font-size: 3em; }
    .quote-text { font-size: 2em !important; }
    
    /* 모바일에서는 지그재그 배열을 풀고 세로 1열로 통일 */
    .svc-row, .svc-row.reverse { flex-direction: column; gap: 40px; margin-bottom: 100px; }
    .svc-img-col, .svc-txt-col { width: 100%; padding: 0; }
    .svc-img-box { aspect-ratio: 1 / 1; /* 모바일에서는 정방형으로 변경 */ }
    
    .process-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .step-num { margin-bottom: 20px; }
}

/* ==========================================
   공통: 하단 CTA (Call To Action) 영역
   ========================================== */
.bg-primary { 
    background-color: var(--color-primary); 
    color: var(--color-white); 
}

.section-cta { 
    padding: 150px 0; 
}

.section-cta h2 { 
    font-size: 3.5em; 
    font-weight: 800; 
    line-height: 1.2; 
    letter-spacing: -1px; 
}

/* 흰색 솔리드 버튼 (호버 시 살짝 떠오르는 효과) */
.btn-solid-white {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 20px 40px;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-solid-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.mt-40 { 
    margin-top: 40px; 
}

/* 모바일 반응형 (CTA) */
@media (max-width: 768px) {
    .section-cta { padding: 100px 0; }
    .section-cta h2 { font-size: 2.5em; }
}
/* ==========================================
   서비스 서브메뉴 (Sticky Local Navigation)
   ========================================== */
.service-lnb {
    position: sticky;
    top: 70px; /* 스크롤 시 상단 헤더 바로 밑에 고정되는 위치 */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 90; /* 메인 헤더(100)보다 살짝 아래 배치 */
}

.lnb-inner {
    display: flex;
    gap: 50px;
    align-items: center;
}

.lnb-item {
    padding: 22px 0;
    font-size: 1.05em;
    font-weight: 600;
    color: var(--color-gray);
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap; /* 글씨 줄바꿈 방지 */
}

/* 마우스 올렸을 때 */
.lnb-item:hover {
    color: var(--color-black);
}

/* 현재 보고 있는 페이지 (Active) */
.lnb-item.active {
    color: var(--color-primary);
    font-weight: 700;
}

/* Active 상태일 때 하단 포인트 라인 */
.lnb-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px; /* border-bottom 위에 정확히 겹치도록 */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}
/* ==========================================
   인용구 섹션 (물결 포함) 전용 레이아웃 조절
   ========================================== */
.wave-typo-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 200px; /* 물결 칠 공간을 위해 하단 여백 대폭 증가 */
    background-color: var(--color-light); /* 기존 배경색 유지 */
}

/* ==========================================
   인용구 섹션 (물결 포함) 전용 레이아웃 조절
   ========================================== */
.wave-typo-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 150px; /* 텍스트와 물결 사이의 적절한 간격 */
    background-color: var(--color-light);
}

/* 텍스트가 물결에 가려지지 않도록 보호 */
.wave-typo-section .container-narrow {
    position: relative;
    z-index: 10;
}

/* ★ 핵심 수정: 물결을 섹션의 맨 아래바닥에 딱 붙입니다 ★ */
.wave-typo-section .wave-container {
    position: absolute;
    bottom: -1px; /* 0 대신 -1px을 주어 미세한 회색 틈새까지 완벽히 차단 */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

/* 물결 SVG 자체의 불필요한 여백 제거 */
.wave-typo-section .waves {
    position: relative;
    width: 100%;
    height: 120px;
    display: block;
}

/* 모바일 화면에서는 물결 높이와 여백 축소 */
@media (max-width: 768px) {
    .wave-typo-section {
        padding-top: 80px;
        padding-bottom: 100px;
    }
    .wave-typo-section .waves {
        height: 60px;
    }
}
/* ==========================================
   물결 애니메이션 (Wave Animation Keyframes)
   ========================================== */
/* 4개의 물결 레이어에 각각 다른 속도와 지연 시간을 부여하여 입체감 형성 */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) { 
    animation-delay: -2s; 
    animation-duration: 7s; 
}
.parallax > use:nth-child(2) { 
    animation-delay: -3s; 
    animation-duration: 10s; 
}
.parallax > use:nth-child(3) { 
    animation-delay: -4s; 
    animation-duration: 13s; 
}
.parallax > use:nth-child(4) { 
    animation-delay: -5s; 
    animation-duration: 20s; 
}

/* 좌우로 무한 반복해서 흘러가는 키프레임 */
@keyframes move-forever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

/* ==========================================
   모바일 반응형 (서브메뉴 가로 스크롤)
   ========================================== */
@media (max-width: 768px) {
    .service-lnb {
        top: 60px; /* 모바일 헤더 높이에 맞춤 */
    }
    
    .lnb-inner {
        gap: 30px;
        overflow-x: auto; /* 화면 밖으로 넘어가면 가로 스크롤 허용 */
        -webkit-overflow-scrolling: touch;
        
        /* 모바일 좌우 여백 확보 */
        margin-left: -30px;
        margin-right: -30px;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    /* 미관을 해치는 모바일 스크롤바 숨김 */
    .lnb-inner::-webkit-scrollbar {
        display: none;
    }
    
    .lnb-item {
        font-size: 0.95em;
        padding: 18px 0;
    }
}




/* Recent Works 썸네일 */
.recent-works {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.recent-thumb {
    width: 140px;
    height: 100px;
    border: 0;
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.recent-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.recent-thumb.active {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* 살짝 어두운 오버레이 */
.recent-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.08);
    transition: background 0.25s ease;
}

.recent-thumb:hover::after,
.recent-thumb.active::after {
    background: rgba(0,0,0,0);
}


.bg-grid {
	background-color: #ffffff; /* 하얀색 기본 배경 */
	background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
	background-size: 40px 40px; /* 격자의 크기 (간격) */
}

@media (max-width: 768px) {
    /* 모바일에서는 체크 크기를 살짝 줄여서 오밀조밀하게 표현 */
    .bg-grid { background-size: 30px 30px; }
}

/* ==========================================
   Recent Works 메인 이미지 텍스트 오버레이
   ========================================== */
.svc-img-box { position: relative; overflow: hidden; }

.svc-img-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 60px 40px 40px; /* 위쪽 그라데이션 여유 공간 확보 */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none; /* 텍스트 위로 마우스가 가도 이미지 hover가 풀리지 않도록 */
}

.svc-img-overlay h4 {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.svc-img-overlay p {
    font-size: 1.05em;
    font-weight: 400;
    opacity: 0.8;
    margin: 0;
}

/* 텍스트 변경 시 스르륵 나타나는 애니메이션 */
.fade-in-text {
    animation: fadeInText 0.4s ease forwards;
}

@keyframes fadeInText {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .svc-img-overlay { padding: 40px 20px 20px; }
    .svc-img-overlay h4 { font-size: 1.3em; }
    .svc-img-overlay p { font-size: 0.9em; }
}







/*
work.html
*/



/* ==========================================
   3. 포트폴리오 히어로 (다크)
   ========================================== */
.work-hero {
    position: relative;
    padding: 250px 0 120px;	
    background-color: var(--color-black);
    color: #fff;
    text-align: center;
}

.work-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}
.work-hero .subtitle { font-size: 0.9em; font-weight: 700; letter-spacing: 4px; margin-bottom: 20px;  }
.work-hero .title { font-size: 5em; font-weight: 900; line-height: 1.1; letter-spacing: -2px; margin-bottom: 30px; }
.work-hero .desc { font-size: 1.2em; font-weight: 300; opacity: 0.8; }

/* ==========================================
   4. 포트폴리오 필터 메뉴 (Sticky LNB)
   ========================================== */
.work-lnb {
    position: sticky;
    top: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 90;
}
.work-lnb-inner {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}
.work-lnb-item {
    background: none;
    border: none;
    cursor: pointer;
    padding: 22px 0;
    font-size: 1.05em;
    font-weight: 600;
    color: var(--color-gray);
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.work-lnb-item:hover, .work-lnb-item.active { color: var(--color-black); }
.work-lnb-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

@media (max-width: 1024px) {
    .work-lnb-inner { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -30px; padding: 0 30px; gap: 20px; }
    .work-lnb-inner::-webkit-scrollbar { display: none; }
    .work-lnb { top: 60px; }
    .work-lnb-item { font-size: 0.95em; }
}

/* ==========================================
   5. 포트폴리오 갤러리 (3-Column Grid)
   ========================================== */
.port-section { padding: 100px 0 150px; min-height: 80vh; }

.port-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3단 배열 적용 */
    gap: 30px;
}

.port-item {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(0);
    /* JS 필터링을 위한 부드러운 투명도/크기 전환 효과 */
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.3s ease;
}

.port-item.hide { display: none; } /* 필터링 시 숨김 처리 */

.port-item:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); z-index: 2;}

.port-img {
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.port-item:hover .port-img { transform: scale(1.05); }

/* 호버 시 어두운 그라데이션 오버레이 */
.port-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 30px;
}
.port-item:hover .port-overlay { opacity: 1; }

.port-overlay .tag { font-size: 0.8em; font-weight: 700; color: var(--color-primary); letter-spacing: 1px; margin-bottom: 8px; transform: translateY(15px); transition: all 0.4s ease; }
.port-overlay h4 { font-size: 1.4em; font-weight: 700; color: var(--color-white); letter-spacing: -1px; transform: translateY(15px); transition: all 0.4s ease 0.1s; line-height: 1.3;}
.port-item:hover .port-overlay .tag, .port-item:hover .port-overlay h4 { transform: translateY(0); }

@media (max-width: 1024px) {
    .port-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .work-hero { padding: 180px 0 80px; }
    .work-hero .title { font-size: 3.5em; }
    .port-section { padding: 50px 0 100px; }
    .port-grid { grid-template-columns: 1fr; gap: 20px; }
    .port-overlay { padding: 25px; }
    .port-overlay h4 { font-size: 1.5em; }
}

/* ==========================================
   6. 공통 애니메이션 & CTA & Footer
   ========================================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; } .delay-2 { transition-delay: 0.4s; }

.bg-primary { background-color: var(--color-primary); color: var(--color-white); }
.section-cta { padding: 150px 0;background-image: linear-gradient(rgba(0, 70, 160, 0.65), rgba(0, 49, 122, 0.65)), url('/assets/img/main_banner/main_banner01.jpg');background-size: cover;background-position: center; background-attachment: fixed; }
.section-cta h2 { font-size: 3.5em; font-weight: 800; line-height: 1.2; letter-spacing: -1px; }
.btn-solid-white { display: inline-block; background-color: var(--color-white); color: var(--color-primary); padding: 20px 40px; font-size: 1.1em; font-weight: 700; border-radius: 50px; transition: transform 0.3s, box-shadow 0.3s; margin-top: 40px;}
.btn-solid-white:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }


@media (max-width: 768px) {
    .section-cta { padding: 100px 0; }
    .section-cta h2 { font-size: 2.5em; }
    .footer-grid { grid-template-columns: 1fr; }
}

.empty-message {
    text-align: center;
    padding: 80px 20px;
    margin-top: 30px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    color: var(--color-gray);
    font-size: 1.2em;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.empty-message p {
    margin: 0;
}

.bg-grid {
	background-color: #ffffff; /* 하얀색 기본 배경 */
	background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
	background-size: 40px 40px; /* 격자의 크기 (간격) */
}

@media (max-width: 768px) {
    /* 모바일에서는 체크 크기를 살짝 줄여서 오밀조밀하게 표현 */
    .bg-grid { background-size: 30px 30px; }
}







/*
contact.html
*/




/* ==========================================
   3. 문의하기 히어로 (다크)
   ========================================== */
.contact-hero {
    position: relative;
    padding: 250px 0 100px;
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
}

.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}
.contact-hero .subtitle { font-size: 0.9em; font-weight: 700; letter-spacing: 4px; margin-bottom: 20px; color: #fff; }
.contact-hero .title { font-size: 4.5em; font-weight: 900; line-height: 1.2; letter-spacing: -2px; margin-bottom: 30px; }
.contact-hero .desc { font-size: 1.2em; font-weight: 300; opacity: 0.8; }

/* ==========================================
   4. 문의 폼 & 연락처 (2단 분할 레이아웃)
   ========================================== */
.page-contact { padding: 120px 0; }
.contact-layout { 
    display: grid; 
    grid-template-columns: 1fr 1.8fr; /* 폼 영역을 좀 더 넓게 배정 */
    gap: 80px; 
    align-items: start;
}

/* 좌측 정보 영역 (스크롤 시 고정 - Sticky) */
.contact-sidebar {
    position: sticky;
    top: 120px;
}
.sidebar-title { font-size: 2.5em; font-weight: 800; letter-spacing: -1px; line-height: 1.2; margin-bottom: 40px; }
.sidebar-info { display: flex; flex-direction: column; gap: 40px; }
.info-block span { display: block; font-size: 0.85em; font-weight: 700; color: var(--color-gray); letter-spacing: 2px; margin-bottom: 10px; }
.info-block p, .info-block a { font-size: 1.3em; font-weight: 600; color: var(--color-black); transition: color 0.3s; line-height: 1.5; }
.info-block a:hover { color: var(--color-primary); }

/* 이메일 호버 밑줄 효과 */
.hover-line { position: relative; display: inline-block; }
.hover-line::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0%; height: 2px; background-color: var(--color-primary); transition: width 0.3s ease; }
.hover-line:hover::after { width: 100%; }

/* 우측 폼 영역 (백색 패널) */
.contact-form-wrap {
    background: var(--color-white); 
    /*padding: 60px 70px;  */
    box-shadow: 0 30px 60px rgba(0,0,0,0.03); 
    border-radius: 24px; 
}
.form-section-title { font-size: 1.2em; font-weight: 800; border-bottom: 2px solid var(--color-black); padding-bottom: 15px; margin-bottom: 30px; margin-top: 50px; }
.form-section-title:first-child { margin-top: 0; }

/* 선택형 알약 버튼 (라디오/체크박스 디자인 커스텀) */
.pill-group { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.pill-label { cursor: pointer; position: relative; }
.pill-label input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; } /* 기본 체크박스 숨김 */
.pill-span {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.95em;
    font-weight: 600;
    color: var(--color-gray);
    transition: all 0.3s ease;
    user-select: none;
}
/* 호버 및 선택(Checked) 되었을 때 스타일 */
.pill-label:hover .pill-span { border-color: var(--color-primary); color: var(--color-primary); }
.pill-label input:checked ~ .pill-span {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 8px 15px rgba(0, 87, 255, 0.2);
}

/* 입력 필드 기본 (플로팅 라벨) */
.form-row { display: flex; gap: 30px; }
.input-line { position: relative; margin-bottom: 40px; flex: 1; }
.input-line input, .input-line textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--color-border); padding: 15px 0; font-size: 1.1em; font-family: inherit; color: var(--color-black); transition: border-color 0.3s; resize: none; }
.input-line input:focus, .input-line textarea:focus { outline: none; border-bottom-color: var(--color-primary); }

.input-line label { position: absolute; left: 0; top: 15px; font-size: 1.05em; color: var(--color-gray); transition: all 0.3s ease; pointer-events: none; }
.input-line input:focus ~ label, .input-line input:not(:placeholder-shown) ~ label,
.input-line textarea:focus ~ label, .input-line textarea:not(:placeholder-shown) ~ label { top: -20px; font-size: 0.85em; font-weight: 600; color: var(--color-primary); }

/* 파일 첨부 영역 */
.file-upload-wrap {
    margin-bottom: 40px;
}
.file-upload-box {
    border: 1px dashed var(--color-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: var(--color-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.file-upload-box:hover { border-color: var(--color-primary); background: rgba(0, 87, 255, 0.02); }
.file-upload-box i { font-size: 2em; color: var(--color-gray); margin-bottom: 10px; transition: color 0.3s; }
.file-upload-box:hover i { color: var(--color-primary); }
.file-upload-box p { font-size: 0.95em; color: var(--color-gray); font-weight: 500;}
.file-upload-box input[type="file"] {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.file-name { display: block; margin-top: 10px; font-size: 0.9em; font-weight: 600; color: var(--color-primary); }

/* 개인정보 동의 체크박스 */
.privacy-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; font-size: 0.95em; color: var(--color-gray); font-weight: 500; cursor: pointer;}
.privacy-wrap input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--color-primary); cursor: pointer; }
.privacy-wrap a { color: var(--color-black); text-decoration: underline; font-weight: 600; }

/* 전송 버튼 */
.btn-submit { background: var(--color-primary); color: var(--color-white); border: none; width: 100%; padding: 22px; font-size: 1.1em; font-weight: 700; cursor: pointer; transition: all 0.3s; border-radius: 12px; letter-spacing: 1px;}
.btn-submit:hover { background: #0044cc; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 87, 255, 0.2); }

/* 반응형 */
@media (max-width: 1024px) {
    .contact-layout { grid-template-columns: 1fr; gap: 60px; }
    .contact-sidebar { position: static; }
    .contact-form-wrap { padding: 50px 40px; }
}

@media (max-width: 768px) {
    .contact-hero { padding: 180px 0 80px; }
    .contact-hero .title { font-size: 3em; }
    .page-contact { padding: 80px 0; }
    .sidebar-title { font-size: 2em; }
    .contact-form-wrap { padding: 0px; border-radius: 16px;}
    .form-row { flex-direction: column; gap: 0; }
    .pill-span { padding: 10px 18px; font-size: 0.9em; }
}






/*fast-menu*/


/* fast menu pop-up 컨테이너 */
.fast-menu-popup {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

/* 개별 메뉴 아이템 (알약 형태) */
.fast-menu-popup .menu-item {
  display: flex;
  align-items: center;
  width: 50px; /* 초기에는 아이콘 크기만큼만 노출 */
  height: 50px;
  background: rgba(255, 255, 255, 0.8); /* 반투명 배경 */
  backdrop-filter: blur(8px); /* 뒤쪽 배경 블러 처리 (글래스모피즘) */
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 25px;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  text-decoration: none;
  color: #333333;
  padding: 0;
  margin: 0;
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}

/* 마우스 오버 시 가로로 길어지는 효과 */
.fast-menu-popup .menu-item:hover {
  width: 140px; /* 펼쳐졌을 때의 너비 */
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* 아이콘 영역 고정 */
.fast-menu-popup .icon {
  min-width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 텍스트 영역 */
.fast-menu-popup .text {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 마우스 오버 시 텍스트 등장 */
.fast-menu-popup .menu-item:hover .text {
  opacity: 1;
  transform: translateX(0);
}

/* 포인트 컬러 적용 (옵션) */
.fast-menu-popup .consult-btn {
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
}
.fast-menu-popup .consult-btn:hover {
  background: #000000;
}




/*
policy.html
*/



        /* ==========================================
           정책 페이지 전용 레이아웃
           ========================================== */
        /* 페이지 타이틀 영역 */
        .page-header {
            padding: 180px 0 80px;
            background-color: var(--color-light);
            text-align: center;
        }
        .page-header h2 { font-size: 3em; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
        .page-header p { font-size: 1.1em; color: var(--color-gray); }

        /* 탭 버튼 영역 */
        .legal-tabs {
            display: flex; justify-content: center; gap: 40px;
            border-bottom: 1px solid var(--color-border);
            background-color: var(--color-white);
            position: sticky; top: 70px; z-index: 90;
        }
        .tab-btn {
            background: none; border: none; font-size: 1.1em; font-weight: 600;
            color: var(--color-gray); padding: 20px 10px; cursor: pointer;
            position: relative; transition: color 0.3s;
        }
        .tab-btn:hover { color: var(--color-black); }
        .tab-btn.active { color: var(--color-primary); font-weight: 700; }
        .tab-btn.active::after {
            content: ''; position: absolute; bottom: -1px; left: 0;
            width: 100%; height: 2px; background-color: var(--color-primary);
        }

        /* 본문 내용 영역 */
        .legal-content-wrap { padding: 100px 0; }
        .tab-content { display: none; animation: fadeIn 0.5s ease; }
        .tab-content.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* 법적 고지 텍스트 서식 (가독성 최적화) */
        .policy-box { color: #333; }
        .policy-article { margin-bottom: 50px; }
        .policy-article h4 { font-size: 1.3em; font-weight: 700; margin-bottom: 20px; color: var(--color-black); }
        .policy-article p { font-size: 1em; line-height: 1.8; margin-bottom: 15px; color: #555; word-break: keep-all; }
        .policy-list { list-style: none; margin-bottom: 20px; padding-left: 15px; }
        .policy-list li { position: relative; font-size: 0.95em; line-height: 1.8; color: #555; margin-bottom: 10px; padding-left: 15px; }
        .policy-list li::before { content: '-'; position: absolute; left: 0; color: var(--color-gray); }
        
        /* 강조 텍스트 */
        .policy-box strong { color: var(--color-black); font-weight: 700; }
        .highlight-box { background: var(--color-light); padding: 20px 30px; border-radius: 8px; margin: 30px 0; border-left: 4px solid var(--color-primary); }


        /* 모바일 반응형 */
        @media (max-width: 768px) {
            .page-header { padding: 130px 0 50px; }
            .page-header h2 { font-size: 2.2em; }
            .legal-tabs { gap: 20px; }
            .tab-btn { font-size: 1em; padding: 15px 5px; }
            .legal-content-wrap { padding: 60px 0; }
            .policy-article h4 { font-size: 1.2em; }
        }







/* contact 페이지 상담 부분 */


/* ==========================================
   채팅 UI 스타일
   ========================================== */
.chat-window { 
    background: #fff; 
    border: 1px solid #eee; 
    border-radius: 20px; 
    height: 700px; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.05); 
    margin-top: 20px;
}
.chat-log { 
    flex: 1; 
    padding: 30px; 
    overflow-y: auto; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    background: #f9fafc; 
}

/* 말풍선 공통 */
.bubble { 
    max-width: 80%; 
    padding: 15px 20px; 
    border-radius: 18px; 
    font-size: 15px; 
    line-height: 1.6; 
    position: relative; 
    animation: slideUp 0.3s ease; 
    word-break: break-all;
}
@keyframes slideUp { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* 봇(에이전시) 말풍선 */
.bubble.bot { 
    background: #fff; 
    color: #111; 
    align-self: flex-start; 
    border-bottom-left-radius: 2px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
    border: 1px solid #eee; 
}
/* 사용자 말풍선 */
.bubble.user { 
    background: #0057ff; 
    color: #fff; 
    align-self: flex-end; 
    border-bottom-right-radius: 2px; 
}

/* 입력 영역 */
.chat-input-area { 
    padding: 20px; 
    background: #fff; 
    border-top: 1px solid #eee; 
    min-height: 80px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-direction: column;
    gap: 15px;
}
.chat-choices { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    justify-content: center; 
}
.choice-btn { 
    padding: 12px 20px; 
    background: #fff; 
    border: 1px solid #0057ff; 
    color: #0057ff; 
    border-radius: 50px; 
    cursor: pointer; 
    transition: 0.2s; 
    font-weight: 600; 
    font-size: 14px; 
    user-select: none;
}
.choice-btn:hover, .choice-btn.selected { 
    background: #0057ff; 
    color: #fff; 
}
.choice-btn.primary { 
    background: #0057ff; 
    color: #fff; 
    border: none; 
}
.choice-btn.primary:hover {
    background: #003ebd;
}

.chat-text-input { 
    width: 100%; 
    display: flex; 
    gap: 10px; 
}
.chat-text-input input { 
    flex: 1; 
    border: 1px solid #eee; 
    padding: 15px; 
    border-radius: 10px; 
    outline: none; 
    font-size: 15px;
}
.chat-text-input button { 
    background: #0057ff; 
    color: #fff; 
    border: none; 
    padding: 0 25px; 
    border-radius: 10px; 
    cursor: pointer; 
    font-weight: 600;
}
.chat-file-input { 
    display: flex; 
    gap: 10px; 
    justify-content: center; 
    width: 100%; 
}
.privacy-wrap {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}




/* ==========================================
	바로가기
========================================== */
.fast-menu-container {
    position: fixed;
    bottom: 50px; /* PC는 조금 더 여유 있게 */
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.menu-trigger {
    display: none;
}

.menu-list {
    display: flex;
    flex-direction: column; 
    gap: 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 텍스트 라벨 스타일 */
.menu-item .text {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    opacity: 0; /* 평소엔 숨김 */
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu-item:hover .text {
    opacity: 1;
    transform: translateX(0);
}

.menu-item .icon {
    width: 50px;
    height: 50px;
    background: #fff;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.menu-item:hover .icon {
    background: #0046a0; /* bg-primary */
    color: #fff;
    transform: translateY(-3px);
}

    /* 메인 트리거 버튼 */
    .menu-trigger {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        background: #0046a0; /* bg-primary */
        color: #fff;
        border: none;
        font-size: 24px;
        box-shadow: 0 5px 15px rgba(0,70,160,0.4);
        transition: transform 0.4s;
    }

    .fast-menu-container.active .menu-trigger {
        transform: rotate(135deg); /* +가 x로 변하는 효과 */
        background: #333;
    }


@media (max-width: 768px) {
    .fast-menu-container {
        bottom: 30px;
        right: 20px;
    }

    .menu-trigger {
        display: flex; /* 모바일에서만 보임 */
        align-items: center;
        justify-content: center;
    }

    .menu-list {
        display: flex;
        flex-direction: column-reverse; /* 모바일은 아래서 위로 */
        pointer-events: none;
    }

    .menu-item {
        opacity: 0;
        transform: translateY(20px);
    }

    .menu-item .text {
        opacity: 1;
        transform: translateX(0);
        background: rgba(0, 70, 160, 0.9);
    }

    .fast-menu-container.active .menu-list {
        pointer-events: auto;
    }
    
    .fast-menu-container.active .menu-item {
        opacity: 1;
        transform: translateY(0);
    }
}