/* ===========================================
   푸터 스타일
   =========================================== */


/* ?�그 초기??*/

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

.footer {
    background: #111111;
    color: #CECECE;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6em;
}

.footer-main {
    padding: 60px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-info {
    text-align: center;
    order: 2;
}

.footer-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    color: #CECECE;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    order: 1;
}

.logo-icon {
    width: 365px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
}

.logo-text {
    font-size: 14px;
    font-weight: 400;
    color: #656565;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #464646;
    border-bottom: 1px solid #464646;
    background: #111111;
}

.footer-copyright {
    padding: 16px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    color: #CECECE;
}


/* 푸터 반응형 스타일 */

@media (max-width: 1024px) {
    .footer-main {
        padding: 40px 15px 30px;
        gap: 30px;
        align-items: flex-start;
    }
    .footer-text {
        text-align: start;
        font-size: 14px;
    }
    .logo-icon {
        width: 280px;
        height: 45px;
    }
    .logo-text {
        font-size: 12px;
    }
    .footer-copyright p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer-main {
        gap: 25px;
    }
    .footer-text {
        font-size: 13px;
        line-height: 1.5em;
    }
    .logo-icon {
        width: 240px;
        height: 40px;
    }
    .logo-text {
        font-size: 11px;
    }
    .footer-copyright {
        padding: 20px 15px;
    }
    .footer-copyright p {
        font-size: 13px;
    }
}


/* ===========================================
   플로팅 버튼 스타일
   =========================================== */


/* 초기??�?기본 ?�정 */

.fw-floating-buttons,
.fw-floating-buttons * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ?�로??버튼 컨테?�너 */

.fw-floating-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}


/* 메인 버튼 ?�역 */

.fw-floating-main {
    background: linear-gradient(302deg, rgba(0, 0, 0, 0) 0%, #000 100%) #282828;
    border-radius: 8px 8px 0 0;
    padding: 13px 8px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}


/* 개별 ?�로??버튼 */

.fw-float-button {
    width: 90px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
}

.fw-float-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}


/* ?�이�??�역 */

.fw-float-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fw-float-icon svg {
    width: 100%;
    height: 100%;
}


/* ?�스???�역 */

.fw-float-text {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1em;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
}


/* ?�단 ?�동 버튼 */

.fw-float-scroll-top {
    width: 106px;
    padding: 4px 41px;
    background: #3A3A3A;
    border: none;
    border-radius: 0 0 8px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.fw-float-scroll-top:hover {
    background: #4A4A4A;
}

.fw-float-scroll-top svg {
    width: 32px;
    height: 32px;
}


/* ===========================================
   반응형 - 모바일
   =========================================== */

@media (max-width: 1024px) {
    /* 기본: ?�면 ?�단 고정 */
    .fw-floating-buttons {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        top: auto;
        transform: none;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        padding: 0;
        gap: 0;
        z-index: 1000;
        transition: all 0.3s ease;
    }
    /* 모바??메뉴 ?�렸?????�로??버튼 ?��? */
    body.mobile-menu-open .fw-floating-buttons {
        display: none;
    }
    /* ?�터 ?�역???�달?�을 ?? ?��? ?�치�??�환 */
    .fw-floating-buttons.in-footer {
        position: relative;
        z-index: 0;
    }
    /* 메인 버튼 ?�역??가로로 배치 */
    .fw-floating-main {
        flex-direction: row;
        padding: 8px;
        gap: 0;
        border-radius: 0;
        width: 100%;
        justify-content: space-around;
        background: #282828;
    }
    /* 개별 버튼 ?�기 조정 */
    .fw-float-button {
        width: auto;
        flex: 1;
        padding: 12px 8px;
        gap: 6px;
    }
    /* ?�이�??�기 축소 */
    .fw-float-icon {
        width: 32px;
        height: 32px;
    }
    /* ?�스???�기 조정 */
    .fw-float-text {
        display: none;
        font-size: 12px;
    }
    /* ?�단 ?�동 버튼 ?��? */
    .fw-float-scroll-top {
        display: none;
    }
}


/* ?��? 모바???�면 */

@media (max-width: 480px) {
    .fw-floating-main {
        padding: 6px;
    }
    .fw-float-button {
        padding: 6px 6px;
        gap: 4px;
    }
    .fw-float-icon {
        width: 30px;
        height: 30px;
    }
    .fw-float-text {
        font-size: 11px;
    }
}