/* =========================================
   Footer Component (Re-designed v2026)
   - 안정감, 규모감, 전문성이 느껴지는 수평 직선 구조
 ========================================= */
.footer-wrap {
    background: #090d16; /* Midnight Slate - 안정적이고 신뢰도 높은 딥 다크 계열 */
    color: #94a3b8; /* 가독성 높은 쿨 그레이 */
    font-family: 'Pretendard', -apple-system, sans-serif;
}

.footer-wrap a {

    text-decoration: none;
    transition: all 0.3s;
}

/* 1단계: 최상단 수평 링크 바 */
.footer-top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px 0;
}

.ft-top-links {
    display: flex;
    align-items: center;
    font-size: 14.5px;
    font-weight: 600;
}

.ft-top-links a {
    color: #94a3b8;
}

.ft-top-links a:hover {
    color: #ffffff;
}

.ft-top-links a.highlight {
    color: #ffffff;
    font-weight: 700;
}

.ft-bar {
    color: rgba(255, 255, 255, 0.12);
    margin: 0 16px;
    font-weight: 300;
}

/* 2단계: 메인 기업 정보 및 고객센터 격자 분할 */
.footer-main-bar {
    padding: 65px 0;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr; /* 비대칭 레이아웃으로 균형감 및 시인성 확보 */
    gap: 60px;
    align-items: flex-start;
}

/* 좌측 기업 상세 정보 */
.ft-main-left {
    display: flex;
    flex-direction: column;
}

.footer-logo-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1px;
}

.ft-corp-info {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.85;
}

.ft-info-row {
    margin: 0 0 8px 0;
    color: #94a3b8;
}

.ft-info-row a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* 우측 고객센터 패널 */
.ft-main-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.ft-support-panel {
    text-align: right;
    max-width: 320px;
    width: 100%;
}

.support-sub {
    font-size: 15px;
    font-weight: 800;
    color: #fff; /* 포인트 스카이블루 */
    text-transform: uppercase;
    letter-spacing: 3px;
}

.support-num a {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin: 10px 0 6px 0;
    display: block;
}

.support-num a:hover {
    color: #38bdf8;
}

.support-hours {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
    display: block;
    margin-bottom: 24px;
}

/* 완전히 직선적인 대기업형 사각 상담 버튼 (border-radius: 0) */
.btn-ft-inquiry {
    display: inline-flex;

    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #01419a;
    color: #ffffff;
    padding: 10px 30px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 0 !important; /* 극단적인 직선 구조 */
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    width: 200px;
}

.btn-ft-inquiry:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-ft-inquiry i {
    font-size: 16px;
    transition: transform 0.3s;
}

.btn-ft-inquiry:hover i {
    transform: translateX(4px);
}

/* 3단계: 최하단 저작권 표기 */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 0;
}

.ft-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

/* =========================================
   Footer Component Responsive Styles
 ========================================= */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: 1fr; /* 태블릿 이하에서 1열 적재 */
        gap: 40px;
    }
    .ft-main-right {
        justify-content: flex-start;
    }
    .ft-support-panel {
        text-align: left;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-top-bar {
        padding: 16px 0;
    }
    .ft-top-links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px; /* 모바일 대응 가로 래핑 */
    }
    .ft-bar {
        display: none; /* 모바일에서 수평 바 숨김 */
    }
    .ft-corp-info {
        margin-top: 18px;
    }
    .ft-info-row span {
        display: block; /* 모바일 세로 적재로 자동 줄바꿈 처리 */
        margin-bottom: 4px;
    }
    .ft-info-row .ft-bar {
        display: none;
    }
    .support-num a {
        font-size: 36px;
    }
    .btn-ft-inquiry {
        width: 100%; /* 모바일에서 꽉 차게 배치 */
    }
}
