/* ============================================
   footer
============================================ */

/* ============================
   상단 : 퀵메뉴 / 상담전화
============================= */
.ft_top_wrap{
    border-top: 1px solid #CCCCCC;
}
.ft_top{
    display: flex;
    justify-content: space-between;
    background: #fff;
    width: 100%;
}

/* 1920 기준 좌측 시작점 220px (하단 정보와 라인 맞춤) */
.ft_quick{
    display: flex;
    align-items: center;
    padding: 54px 0;

}

.ft_quick li{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 190px;
    cursor: pointer;
}

.ft_quick li + li{
    border-left: 1px solid #DDDDDD;
}

.ft_quick img{
    display: block;
    object-fit: contain;
    transition: transform 0.3s;
}

.ft_quick p{
    margin-top: 22px;
    color: #222222;
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s;
}

.ft_quick li:hover img{
    transform: translateY(-5px);
}

.ft_quick li:hover p{
    color: var(--red);
}

/* 상담전화 */
.ft_call{
    flex-shrink: 0;
    width: 100%;
    padding: 30px 40px 32px;
    background: var(--red);
    color: #fff;
}

.ft_call_label{
    display: flex;
    align-items: center;
    gap: 10px;
}

.ft_call_label i{
    font-size: 22px;
}

.ft_call_num{
    display: block;
    margin-top: 10px;
    color: #fff;
}

.ft_call_time{
    margin-top: 10px;
    line-height: 1.45;
}

.ft_call_more{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 300px;
    margin-top: 16px;
    color: #fff;
}

.ft_call_more i{
    font-size: 22px;
    transition: transform 0.3s;
}

.ft_call_more:hover i{
    transform: rotate(90deg);
}

/* ============================
   하단 : 링크 바
============================= */
.ft_link_bar{
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.ft_link_inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.ft_links{
    display: flex;
    flex-wrap: wrap;
    gap: 10px 40px;
}

.ft_links a{
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
}

.ft_links a:hover{
    color: #fff;
}

/* 관련사이트 */
.ft_family{
    position: relative;
    flex-shrink: 0;
}

.ft_family_btn{
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
}

.ft_family_btn i{
    font-size: 14px;
    transition: transform 0.3s;
}

.ft_family.open .ft_family_btn i{
    transform: rotate(45deg);
}

.ft_family_list{
    display: none;
    position: absolute;
    right: 0;
    bottom: calc(100% + 6px);
    z-index: 10;
    min-width: 200px;
    padding: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #3A3F4E;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.ft_family.open .ft_family_list{
    display: block;
}

.ft_family_list a{
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    transition: background 0.3s, color 0.3s;
}

.ft_family_list a:hover{
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}


/* ============================
   하단 : 회사정보
============================= */
.ft_bottom{
    padding: 0 0 70px;
    background: #2E323F;
}

.ft_inner{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    padding-top: 62px;
}

.ft_name{
    color: #fff;
}

.ft_info_row{
    display: flex;
    flex-wrap: wrap;
    gap: 10px 35px;
    margin-top: 22px;
    color: #fff;
}

.ft_info_row + .ft_info_row{
    margin-top: 14px;
}

.ft_info_row li{
    display: flex;
    gap: 20px;
}

.ft_right{
    flex-shrink: 0;
    text-align: right;
}

.ft_logo{
    display: inline-block;
}

.ft_copy{
    color: #999999;
}

.ft_copy span{
    color: #DDDDDD;
}

/* ============================
   팝업 : 이메일 무단 수집거부
============================= */
.ft_pop{
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.ft_pop.on{
    display: flex;
}

body.ft_pop_lock{
    overflow: hidden;
}

.ft_pop_box{
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 50px 40px 26px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.05em;
}

.ft_pop_x{
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border: 0;
    background: none;
    color: #222222;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.ft_pop_tit{
    color: #222222;
}

.ft_pop_txt{
    margin-top: 14px;
    color: #555555;
    line-height: 1.6;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.ft_pop_date{
    margin-top: 10px;
    color: #777777;
}

.ft_pop_close{
    display: block;
    width: 156px;
    height: 46px;
    margin: 22px auto 0;
    border: 0;
    border-radius: 6px;
    background: #666666;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.ft_pop_close:hover{
    background: #444444;
}
/* ============================================
   반응형
============================================ */
@media (max-width: 1600px){
    .ft_quick li{
        width: 160px;
    }
    .ft_call{
        width: 420px;
    }
}

@media (max-width: 1440px){
    .ft_quick{
        padding-left: 40px;
    }
    .ft_quick li{
        width: 150px;
    }
}

@media (max-width: 1280px){
    .ft_top{
        flex-direction: column;
        min-height: auto;
        flex-shrink: 0;
        margin: 0;
    }
    .ft_quick{
        justify-content: center;
        width: 100%;
        padding: 50px 0;
    }
    .ft_call{
        width: 100%;
        padding: 30px 40px;
    }
}

@media (max-width: 1024px){
    .ft_inner{
        flex-direction: column;
    }
    .ft_right{
        margin-top: 40px;
        text-align: left;
    }
    .ft_copy{
        margin-top: 15px;
    }
    .ft_link_inner{
        min-height: 70px;
        gap: 20px;
    }
    .ft_links{
        gap: 8px 28px;
    }
}

@media (max-width: 767px){
    .ft_quick{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
        padding: 40px 10px;
    }
    .ft_quick li{
        width: auto;
        padding: 0 5px;
    }
    .ft_quick li:nth-child(3n+1){
        border-left: 0;
    }
    .ft_quick img{
        width: 46px;
        height: 46px;
    }
    .ft_quick p{
        margin-top: 12px;
        white-space: normal;
    }
    .ft_call{
        padding: 25px 20px;
    }
    .ft_bottom{
        padding: 0 0 50px;
    }
    .ft_link_inner{
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px 0 15px;
    }
    .ft_links{
        gap: 8px 18px;
    }
    .ft_links a{
        font-size: 14px;
    }
    .ft_family_btn{
        padding: 5px 0;
        font-size: 15px;
    }
    .ft_family_list{
        left: 0;
        right: auto;
    }
    .ft_inner{
        padding-top: 40px;
    }
    .ft_info_row{
        flex-direction: column;
        gap: 8px;
    }
    .ft_info_row li{
        gap: 12px;
    }
    .ft_pop_box{
        padding: 44px 20px 22px;
        border-radius: 14px;
    }
    .ft_pop_x{
        top: 12px;
        right: 12px;
        font-size: 22px;
    }
    .ft_pop_tit{
        font-size: 18px;
    }
    .ft_pop_txt{
        font-size: 14px;
    }
    .ft_pop_txt br{
        display: none;
    }
    .ft_pop_close{
        width: 130px;
        height: 42px;
    }
}