@charset "utf-8";

/* =========================================
   [1] 기본 설정 및 공통 (Variables & Reset)
   ========================================= */
:root {
    --navy: #0a2b5e;
    --gold: #c9a46c;
    --gold-hover: #b08d55;
    --dark: #111;
    --gray-bg: #f8f9fa;
    --gray-text: #666;
    --border: #eaeaea;
    --header-height: 80px;
    --pc-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Pretendard', sans-serif; color: var(--dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
li { list-style: none; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
.img-cover { width: 100%; height: 100%; object-fit: cover; }

.inner { width: 100%; max-width: var(--pc-width); margin: 0 auto; padding: 0 20px; position: relative; }
.section-padding { padding: 100px 0; }
.bg-gray { background: var(--gray-bg); }

/* 공통 타이틀 스타일 */
.sec-tit { text-align: center; margin-bottom: 60px; }
.sec-tit h3 { font-size: 36px; color: var(--navy); margin-bottom: 10px; font-weight: 800; letter-spacing: -1px; }
.sec-tit p { font-size: 16px; color: var(--gray-text); }


/* =========================================
   [2] 헤더 (Header) - 최종 수정본
   ========================================= */
   .header { 
    height: var(--header-height); /* 80px */
    position: fixed; width: 100%; top: 0; 
    background: #fff; z-index: 1000; 
    border-bottom: 1px solid #eee; 
    display: flex; align-items: center;
    overflow: visible !important; 
}

.header .inner { 
    display: flex; align-items: center; justify-content: space-between; 
    max-width: 100%; padding: 0 30px; 
    position: relative; 
    height: 100%; /* 높이 꽉 채우기 */
    overflow: visible !important;
}

.logo img { height: 32px; display: block; }

/* GNB 위치 및 스타일 */
.gnb {
    position: absolute; left: 50%; transform: translateX(-50%);
    height: 100%; /* 높이 꽉 채우기 */
    overflow: visible !important;
}
.gnb .main-menu { 
    display: flex; gap: clamp(15px, 4vw, 40px);
    height: 100%; align-items: center; 
}

/* 1차 메뉴 스타일 */
.gnb .main-menu > li { 
    position: relative; 
    height: 100%; 
    display: flex; align-items: center; 
}

.gnb .main-menu > li > a { 
    font-size: clamp(13px, 1.5vw, 16px); font-weight: 700; color: var(--dark); 
    transition: 0.3s; 
    display: flex; align-items: center; /* 화살표 정렬용 */
    height: 100%; /* 클릭 영역 확보 */
    padding: 0 5px;
    white-space: nowrap; /* 글자가 절대 두 줄로 떨어지지 않게 강제함 */
}
.gnb .main-menu > li > a:hover { color: var(--gold); }


/* ------------------------------------------------
   [NEW] 화살표 아이콘 추가 (Font Awesome)
   ------------------------------------------------ */
.gnb .main-menu li.has-dropdown > a::after {
    content: "\f107"; /* 화살표 아이콘 (Chevron Down) */
    font-family: "Font Awesome 6 Free"; /* 폰트어썸 6 버전 */
    font-weight: 900; /* 아이콘 굵기 필수 */
    margin-left: 6px; /* 텍스트와 간격 */
    font-size: 12px;
    color: #bbb; /* 기본 연한 회색 */
    transition: transform 0.3s, color 0.3s;
}

/* 호버 시 화살표 회전 및 색상 변경 */
.gnb .main-menu li.has-dropdown:hover > a::after {
    transform: rotate(180deg); /* 180도 회전 */
    color: var(--gold);
}


/* ------------------------------------------------
   [NEW] 드롭다운 서브메뉴 (위치 밀착 & 디자인)
   ------------------------------------------------ */
.gnb .sub-menu {
    display: none;
    position: absolute;
    
    /* [수정] 헤더 높이(80px)에 딱 맞춰서 시작 */
    top: 80px; 
    left: 50%;
    transform: translateX(-50%);
    
    background: #fff;
    min-width: 180px;
    padding: 10px 0;
    
    border: 1px solid #eee;

    
    /* 위쪽은 각지게, 아래쪽만 둥글게 처리하여 헤더와 일체감 줌 */
    border-radius: 0 0 8px 8px; 
    
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 99999;
}

/* 마우스 올렸을 때 보이기 */
.gnb .main-menu li.has-dropdown:hover .sub-menu {
    display: block;
}

/* 서브메뉴 항목 스타일 */
.gnb .sub-menu li { width: 100%; display: block; } 

.gnb .sub-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #555;
    text-align: center;
    background: #fff;
    white-space: nowrap;
    transition: 0.2s;
    height: auto; /* 상속된 높이 초기화 */
}

.gnb .sub-menu li a:hover {
    background: #f8f9fa;
    color: var(--navy);
    font-weight: 800;
}
.nav-toggle { display: none; margin-left: auto; }

/* =========================================
   [3] 메인 히어로 (Hero & Card Slider)
   ========================================= */
.hero { 
    height: 900px;
    margin-top: var(--header-height); 
    position: relative; 
    background: url('img/hero_bg.jpg') no-repeat center / cover; 
    display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
    background-color: #0a2b5e; 
    overflow: hidden;
}
.hero-overlay { 
    position: absolute; top:0; left:0; width:100%; height:100%; 
    background: linear-gradient(to bottom, rgba(7, 21, 43, 0.8), rgba(23, 72, 144, 0.95)); 
}
.hero-content { position: relative; z-index: 10; width: 100%; padding: 80px 20px; }

.hero h2 { 
    font-size: clamp(40px, 6vw, 64px); 
    line-height: 1.2; margin-bottom: 15px; font-weight: 400; margin-top: 50px;
}
.hero h2 strong { font-weight: 600; }
.hero p { 
    line-height: 1.35; font-size: clamp(18px, 2vw, 22px); 
    opacity: 0.9; margin-bottom: 60px; font-weight: 400; word-break: keep-all; 
}
.hero p.action-desc {
    margin-top: 20px; font-size: 16px; color: rgba(255,255,255,0.6); font-weight: 400; opacity: 0.8;
}

/* 카드 슬라이더 컨테이너 */
.cowork-card-slider {
    position: relative;
    width: 100%; max-width: 1300px; height: 420px;
    margin: 30px auto 50px;
}

/* 개별 카드 공통 */
.cw-card {
    width: 260px;
    background: #fff; border-radius: 20px; padding: 25px 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    display: flex; flex-direction: column; align-items: center;
    position: absolute; top: 0; left: 50%; margin-left: -130px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.cw-img {
    width: 100%; height: 220px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; background: #f0f0f0;
}
.cw-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cw-info span { display: block; font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.cw-info h4 { font-size: 24px; font-weight: 800; margin: 0; color: var(--navy); }

/* PC용 카드 배치 상태 */
.card-center { transform: translateX(0) scale(1.1) translateY(0); z-index: 10; opacity: 1; border: 3px solid var(--gold); box-shadow: 0 25px 50px rgba(201, 164, 108, 0.4); }
.card-left { transform: translateX(-300px) scale(0.9) translateY(15px); z-index: 5; opacity: 0.8; filter: blur(0.5px); }
.card-right { transform: translateX(300px) scale(0.9) translateY(15px); z-index: 5; opacity: 0.8; filter: blur(0.5px); }
.card-far-left { transform: translateX(-580px) scale(0.75) translateY(30px); z-index: 1; opacity: 0.5; filter: blur(2px) grayscale(50%); }
.card-far-right { transform: translateX(580px) scale(0.75) translateY(30px); z-index: 1; opacity: 0.5; filter: blur(2px) grayscale(50%); }

/* 히어로 하단 버튼 */
.hero-action { display: flex; flex-direction: column; align-items: center; }
.btn-hero-action {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold); color: #fff; padding: 15px 40px; 
    font-size: 18px; font-weight: 700; border-radius: 50px; 
    box-shadow: 0 5px 15px rgba(201, 164, 108, 0.4); transition: all 0.3s;
}
.btn-hero-action:hover { 
    background: var(--gold-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(201, 164, 108, 0.6);
}


/* =========================================
   [4] 구인난 해결 리스트 (아이콘 4개)
   ========================================= */
.center-text { text-align: center; margin-bottom: 60px; }
.center-text h2 { font-size: 48px; line-height: 1.3; color: var(--navy); font-weight: 400; margin: 0; }
.center-text h2 strong { font-weight: 800; color: #0056b3; }

/* 리스트 컨테이너 (PC: 4열 가로) */
.sol-list-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

/* 개별 아이템 박스 */
.sol-list-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #fff; padding: 40px 20px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid transparent; text-align: center;
}
.sol-list-item:hover {
    transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); border-color: #0056b3;
}

/* 아이콘 박스 */
.sol-list-item .sol-icon-box {
    width: 100px; height: 100px; margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 64px; color: var(--navy); transition: 0.3s;
}
.sol-list-item:hover .sol-icon-box { color: var(--gold); transform: scale(1.1); }

/* 텍스트 영역 */
.sol-list-item .sol-check-txt {
    display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px;
    font-size: 18px; font-weight: 800; color: var(--navy); word-break: keep-all;
}
.sol-list-item .sol-check-txt i { font-size: 20px; color: #0056b3; }


/* =========================================
   [5] 솔루션 섹션 (실시간 현황판 디자인)
   ========================================= */
.sol-grid { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.sol-text { flex: 1; }
.sol-badge { display: inline-block; color: var(--gold); font-weight: 800; font-size: 14px; letter-spacing: 1px; margin-bottom: 20px; position: relative; padding-left: 25px; }
.sol-badge::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 2px; background: var(--gold); }
.sol-text h2 { font-size: 40px; line-height: 1.3; color: var(--navy); margin-bottom: 25px; font-weight: 400; }
.sol-text h2 strong { font-weight: 800; }
.sol-text p { font-size: 17px; color: #666; line-height: 1.6; margin-bottom: 40px; }
.sol-text .highlight { display: inline-block; margin-top: 10px; color: var(--navy); font-weight: 700; background: rgba(10, 43, 94, 0.08); padding: 2px 8px; border-radius: 4px; }

.btn-sol { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; padding: 16px 40px; border-radius: 50px; font-weight: 700; font-size: 16px; transition: 0.3s; }
.btn-sol:hover { background: var(--gold); transform: translateX(5px); }

/* --- [우측 비주얼 영역] --- */
.sol-visual { flex: 1; position: relative; display: flex; justify-content: center; }
.bg-circle { position: absolute; top: -20px; right: -20px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(201,164,108,0.15) 0%, rgba(255,255,255,0) 70%); z-index: 0; border-radius: 50%; }

/* 브라우저 목업 틀 */
.browser-mockup { 
    position: relative; width: 100%; max-width: 480px; 
    background: #fff; border-radius: 16px; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); 
    z-index: 1; border: 1px solid #f0f0f0; overflow: visible; /* 아이콘이 밖으로 나가야 해서 visible */
}

/* 브라우저 헤더 (신호등 점 3개) */
.browser-header { background: #f9f9fb; padding: 15px 20px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #eee; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }

/* 실시간 리스트 디자인 */
.live-list { list-style: none; padding: 0; margin: 0; }
.live-list li {
    padding: 12px 35px; /* 패딩 축소 */
    border-bottom: 1px solid #f5f5f5;
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: #444;
    background: #fff;
    transition: background 0.2s;
}
.live-list li:hover { background: #f9fbfd; }

.live-list .loc { color: #888; font-size: 13px; min-width: 35px; }
.live-list .comp { color: #223055; font-weight: 700; min-width: 100px; }
.live-list .desc { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* LIVE 빨간 점 깜빡임 효과 */
.live-dot {
    display: inline-block; width: 8px; height: 8px;
    background-color: #ff0000; border-radius: 50%;
    margin-left: 8px; animation: blink-dot 1.5s infinite;
}
@keyframes blink-dot { 
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* LIVE 텍스트 스타일 */
.live-text {
    color: #ff0000; font-weight: 800; font-size: 13px;
    margin-left: 6px; letter-spacing: 0.5px;
}

/* 둥둥 떠다니는 아이콘 (수정됨: 작게, 위치 이동) */
.float-item { 
    position: absolute; 
    width: 50px; height: 50px; /* 크기 축소 */
    background: #fff; border-radius: 50%; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    display: flex; align-items: center; justify-content: center; 
    font-size: 25px; /* 아이콘 크기 축소 */
    color: var(--gold); z-index: 2; 
    animation: float 3s ease-in-out infinite; 
}
/* 위치는 HTML 인라인 스타일로 제어하거나 여기서 설정 */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }


/* =========================================
   [6] Why MCC (Trust Section)
   ========================================= */
.why-mcc {
    background: #fff; text-align: center;
}
.trust-header { margin-bottom: 60px; }
.trust-badge {
    display: inline-block; background: #2b70c9; color: #fff;
    font-size: 16px; font-weight: 700; padding: 10px 30px;
    border-radius: 50px; margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(43, 112, 201, 0.3);
}
.trust-header h3 {
    font-size: 40px; color: var(--navy); font-weight: 800; letter-spacing: 1px; margin: 0;
}

/* [PC] 3단 가로 배치 */
.trust-grid {
    display: flex; justify-content: space-between; gap: 30px;
}
.trust-item {
    width: 32%; padding: 0 10px;
}

/* 로고 영역 */
.trust-logo {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 30px;
}
.trust-logo img {
    max-height: 100%; max-width: 100%; object-fit: contain;
}

/* [PC 로고 크기] */
.trust-item:nth-child(1) .trust-logo,
.trust-item:nth-child(2) .trust-logo {
    height: 90px;
}
.trust-item:nth-child(3) .trust-logo {
    height: 60px; /* SGI 작게 */
    margin-top: 15px; margin-bottom: 45px;
}

.trust-item h4 { font-size: 20px; font-weight: 700; color: #2b70c9; margin-bottom: 20px; }
.trust-item p { font-size: 15px; color: #666; line-height: 1.6; word-break: keep-all; }

/* 오시는 길 (PC 스타일) */
.location { padding: 100px 0; background: #fff; }
.map-box { width: 100%; height: 450px; background: #eee; margin-bottom: 50px; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.map-box iframe { display: block; }

.loc-info { display: flex; justify-content: space-between; margin-bottom: 50px; padding-bottom: 40px; border-bottom: 1px solid #eee; }
.info-col { width: 33.33%; padding-right: 20px; }
.info-col h4 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 15px; }
.info-col p { font-size: 16px; color: #555; line-height: 1.6; }

.trans-grid { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.trans-item { width: 33.33%; display: flex; align-items: flex-start; background: #f9f9fb; padding: 30px 20px; border-radius: 12px; transition: 0.3s; }
.trans-item:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05); background: #fff; border: 1px solid #eee; }
.trans-item .icon-circle { width: 50px; height: 50px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; margin-right: 15px; }
.trans-item .txt { flex-grow: 1; }
.trans-item .txt strong { display: block; font-size: 18px; color: #333; margin-bottom: 8px; font-weight: 700; }
.trans-item .txt p { font-size: 15px; color: #666; line-height: 1.5; }

.nav-btns { display: flex; gap: 20px; }
.btn-map { width: 50%; height: 60px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; border-radius: 8px; transition: 0.3s; }
.btn-map.naver { background: #03C75A; color: #fff; }
.btn-map.naver:hover { background: #02b150; }
.btn-map.kakao { background: #FEE500; color: #3C1E1E; }
.btn-map.kakao:hover { background: #fdd800; }


/* =========================================
   [7] 하단 CTA / 푸터 / 위젯
   ========================================= */
/* CTA Banner */
.cta-banner { background: var(--navy); padding: 80px 0; text-align: center; color: #fff; }
.cta-content h3 { font-size: 32px; font-weight: 400; line-height: 1.3; margin-bottom: 30px; }
.cta-content h3 strong { color: var(--gold); font-weight: 800; }
.btn-cta { 
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--gold); color: #fff; padding: 15px 40px; 
    font-size: 18px; font-weight: 700; border-radius: 50px; transition: 0.3s; 
}
.btn-cta:hover { background: var(--gold-hover); transform: translateX(5px); }

/* Footer */
.footer { background: #f4f6f9; color: #777; padding: 60px 0; font-size: 14px; border-top: 1px solid #eee; }
.f-info p { margin-bottom: 5px; line-height: 1.1; }
.copy { margin-top: 15px; font-size: 13px; color: #999; }

/* Side Quick Widget */
.quick-widget {
    position: fixed; bottom: 30px; right: 30px; z-index: 9999;
    display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.qw-btn {
    display: flex; align-items: center; justify-content: flex-end;
    width: 50px; height: 50px; background: #fff; border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); overflow: hidden; text-decoration: none; white-space: nowrap;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.qw-icon {
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0; color: #333; transition: 0.3s;
}
.qw-text {
    opacity: 0; font-size: 15px; font-weight: 700; color: #333;
    padding-left: 20px; transform: translateX(20px); transition: 0.3s;
}
.phone .qw-icon { color: #007bff; } .phone:hover .qw-text { color: #007bff; }
.youtube .qw-icon { color: #ff0000; } .youtube:hover .qw-text { color: #ff0000; }
.blog .qw-icon { color: #03c75a; } .blog:hover .qw-text { color: #03c75a; }
.consult { background: var(--navy); } .consult .qw-icon, .consult .qw-text { color: #fff; } .consult:hover { background: var(--gold); }

/* PC Hover Effect Only */
@media (hover: hover) {
    .qw-btn:hover { width: 180px; }
    .qw-btn:hover .qw-text { opacity: 1; transform: translateX(0); }
}



/* =========================================
   [8] 모바일 / 반응형 (Responsive)
   ========================================= */

/* 태블릿 (1024px 이하) */
@media screen and (max-width: 1024px) {
    .sol-list-items { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .job-list { grid-template-columns: repeat(2, 1fr); }
    .sol-grid { flex-direction: column; gap: 40px; text-align: center; }
    .sol-badge { padding-left: 0; } .sol-badge::before { display: none; }
    .sol-text h2 { font-size: 28px; }
    .btn-sol { width: 100%; justify-content: center; }
    .sol-visual { width: 100%; }
    .browser-mockup { margin: 0 auto; } /* 중앙 정렬 */
    
}

/* 모바일 (768px 이하) */
@media screen and (max-width: 768px) {
    :root { --header-height: 60px; }
    .header .inner { padding: 0 20px; }
    .nav-toggle { display: block; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--navy); }
    .gnb { display: none; position: static; transform: none; }
    
    /* Hero */
    .hero { height: auto; padding-bottom: 10px; }
    .hero-content { padding: 40px 20px; }
    .hero h2 { margin-top: 20px; margin-bottom: 10px; }
    .hero p { margin-bottom: 10px; }

    /* 모바일 카드 슬라이더 */
    .cowork-card-slider { height: 380px; margin-bottom: 20px; display: block; }
    .cw-card { position: absolute; top: 0; left: 50%; margin-left: -120px; width: 240px; transform: scale(0.8); opacity: 0; transition: all 0.5s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border: none; }
    .card-center { transform: scale(1); opacity: 1 !important; z-index: 10; border: 2px solid var(--gold); }
    .card-left, .card-right, .card-far-left, .card-far-right { opacity: 0 !important; z-index: 1; transform: scale(0.5); }
    .cw-img { height: 200px; }

    /* 구인난 해결 리스트 */
    .sol-list-items { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .sol-list-item { padding: 25px 10px; }
    .sol-list-item .sol-icon-box { width: 60px; height: 60px; font-size: 32px; margin-bottom: 15px; }
    .sol-list-item .sol-check-txt { font-size: 15px; gap: 5px; flex-direction: column; line-height: 1.3; }
    .sol-list-item .sol-check-txt i { font-size: 16px; margin-bottom: 2px; }
    .center-text h2 { font-size: 28px; }

    /* Why MCC 모바일 2열 강제 배치 */
    .trust-grid { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .trust-item { flex: 0 0 calc(50% - 10px); width: calc(50% - 10px); margin-bottom: 20px; padding: 10px 5px; }
    .trust-item:nth-child(3) { flex: 0 0 80%; width: 80%; }
    .trust-header h3 { font-size: 32px; }
    .trust-item:nth-child(1) .trust-logo, .trust-item:nth-child(2) .trust-logo { height: 70px; }
    .trust-item:nth-child(3) .trust-logo { height: 50px; margin-top: 5px; margin-bottom: 20px; }
    .trust-item h4 { font-size: 18px; }
    .trust-item p { font-size: 14px; padding: 0; }

    /* [최종 수정] 오시는 길 모바일 (여백 축소 + 가로 배치 + 버튼 슬림화) */
    
    /* 1. 전체 섹션 여백 축소 */
    .section-padding { padding: 50px 0; }
    .location { padding: 50px 0; }
    .sec-tit, .center-text, .trust-header { margin-bottom: 30px; }

    /* 2. 지도 높이 조절 */
    .map-box { height: 300px; margin-bottom: 30px; }
    
    /* 3. 주소/연락처/시간 (세로 배치) */
    .loc-info { flex-direction: column; gap: 30px; margin-bottom: 30px; }
    .info-col { width: 100%; padding-right: 0; }
    
    /* 4. 교통편 (가로 1줄 배치!) */
    .trans-grid { 
        flex-direction: row; /* 가로 유지 */
        gap: 8px; /* 간격 좁힘 */
        margin-bottom: 30px;
    }
    
    .trans-item { 
        width: 33.33%; /* 한 줄에 3개 */
        flex-direction: column; /* 아이콘 위, 텍스트 아래 */
        align-items: center; 
        text-align: center;
        padding: 15px 5px; /* 패딩 축소 */
    }
    
    /* 아이콘 크기 및 위치 조정 */
    .trans-item .icon-circle { 
        margin-right: 0; /* 오른쪽 여백 제거 */
        margin-bottom: 10px; /* 아래 여백 추가 */
        width: 40px; height: 40px; font-size: 18px; /* 크기 축소 */
    }
    
    /* 텍스트 사이즈 대폭 축소 (한 줄에 3개 넣기 위함) */
    .trans-item .txt strong { font-size: 13px; margin-bottom: 5px; }
    .trans-item .txt p { font-size: 11px; line-height: 1.3; word-break: keep-all; }
    
    /* 5. 길찾기 버튼 (세로 배치 + 슬림화) */
    .nav-btns { flex-direction: column; gap: 10px; }
    .btn-map { 
        width: 100%; 
        height: 45px; /* 높이 60px -> 45px 축소 */
        font-size: 14px; /* 글자 18px -> 14px 축소 */
        border-radius: 6px; 
    }

    /* 6. 하단 CTA 버튼 슬림화 */
    .btn-cta {
        padding: 12px 30px; /* 패딩 축소 */
        font-size: 15px;    /* 글자 축소 */
    }

    /* 기타 모바일 설정 */
    .stats-grid { flex-direction: column; gap: 15px; }
    .job-list { grid-template-columns: 1fr; }
    .cta-content h3 { font-size: 24px; }
    .quick-widget { bottom: 20px; right: 20px; }

 /* 1. 토글 버튼 (햄버거) */
 .nav-toggle { 
    display: block !important; 
    font-size: 24px; color: var(--navy); 
    cursor: pointer; border: none; background: none; 
}

/* 2. 메뉴 패널 (전체 틀) */
.gnb { 
    display: none; 
    position: fixed; top: 60px; left: 0; 
    width: 100%; 
    height: calc(100vh - 60px); /* 화면 꽉 채우기 */
    background: #fff; z-index: 9999;
    overflow-y: auto; 
    border-top: 1px solid #eee;
    padding: 0; /* 패딩 제거 (깔끔하게) */
}

/* active 클래스 붙으면 보이기 */
.gnb.active { display: block !important; }

/* 3. 메뉴 리스트 초기화 (가장 중요!) */
.gnb .main-menu { 
    display: block !important; /* Flex 해제하고 블록으로 변경 */
    width: 100%;
    padding: 20px 0; /* 위아래 여백 */
}

/* 개별 메뉴 아이템 (li) 높이 초기화 */
.gnb .main-menu > li {
    display: block !important; /* 가로 배치 해제 */
    height: auto !important; /* PC의 100% 높이 강제 해제 */
    width: 100%;
    margin: 0; padding: 0;
    border-bottom: 1px solid #f5f5f5; /* 구분선 */
}

/* 메뉴 링크 디자인 */
.gnb .main-menu > li > a {
    display: flex !important; /* Flex로 양쪽 정렬 */
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    height: auto !important; /* 높이 초기화 */
    padding: 15px 20px; /* 적당한 간격 */
    font-size: 16px; color: #333; font-weight: 500;
}

/* 4. 서브메뉴 (아코디언 스타일 - 아래로 밀기) */
.gnb .sub-menu {
    position: static !important; /* 둥둥 뜨지 않게 강제 고정 */
    display: none; 
    width: 100% !important; 
    background: #f8f9fa; /* 회색 배경 */
    border: none; box-shadow: none; transform: none; padding: 0;
    visibility: visible !important; opacity: 1 !important; /* 강제 보임 설정 */
}

/* 열렸을 때 보이기 */
.gnb .main-menu li.has-dropdown.open .sub-menu {
    display: block !important;
}

/* 서브메뉴 아이템 스타일 */
.gnb .sub-menu li {
    width: 100%; border: none;
}
.gnb .sub-menu li a {
    display: block !important;
    padding: 12px 0 12px 30px; /* 들여쓰기 */
    text-align: left;
    font-size: 14px; color: #666;
    background: transparent;
}

/* 화살표 회전 효과 */
.gnb .main-menu li.has-dropdown.open > a::after {
    transform: rotate(180deg);
    color: var(--navy);
}
/* [긴급 수정] 모바일에서는 호버(마우스 올리기)로 열리는 기능 차단 */
.gnb .main-menu li.has-dropdown:hover .sub-menu {
    display: none !important; /* 호버로는 절대 안 열림 */
}

/* 오직 'open' 클래스가 있을 때만 열림 (자바스크립트 제어) */
.gnb .main-menu li.has-dropdown.open .sub-menu {
    display: block !important;
}

/* [화살표 버그 수정] 모바일에서는 호버(터치) 시 회전 차단 */
.gnb .main-menu li.has-dropdown:hover > a::after {
    transform: rotate(0deg) !important; /* 회전 강제 취소 */
    color: #bbb; /* 색상도 원래대로 */
}

/* [화살표 작동] 오직 'open' 클래스가 붙었을 때만 회전 */
.gnb .main-menu li.has-dropdown.open > a::after {
    transform: rotate(180deg) !important; /* 이때만 회전 */
    color: var(--navy); /* 이때만 네이비색 */
}
/* -------------------------------------------------------
       [글씨 색상 버그 수정] 
       모바일에서는 터치(호버) 시 색상 변경을 강제로 막고,
       오직 메뉴가 열렸을 때(open)만 색상을 변경함
       ------------------------------------------------------- */
    
    /* 1. 그냥 터치만 했을 때는 색상 바꾸지 마! (기본 검정색 유지) */
    .gnb .main-menu > li > a:hover {
        color: #333 !important; 
    }

    /* 2. 메뉴가 열렸을 때(open)만 색상을 네이비로 바꿔! */
    .gnb .main-menu li.has-dropdown.open > a {
        color: var(--navy) !important; 
        font-weight: 800; /* 글자도 더 굵게 강조 */
    }
}

/* 이미지 비율 유지 (찌그러짐 방지) */
img {
    object-fit: cover;
}

/* 혹시 특정 클래스(img-cover)만 적용하고 싶다면 아래 주석을 풀고 쓰세요 */
/* .img-cover { object-fit: cover; } */

/* 본문 글자 진하게 만들기 (가독성 확보) */
p, span, li, dd {
    
    /* 줄 간격을 넉넉하게 줘서 읽기 편하게 만듭니다 */
    line-height: 1.6; 
}

/* 클릭 가능한 모든 요소에 손가락 커서 표시 */
button, 
.btn, 
a {
    cursor: pointer;
}


