/* ---------------------------------------------------
    푸터 리뉴얼 스타일 (Figma 473:82 기준)
--------------------------------------------------- */
.renewal_footer {
    width: 100%;
    background-color: #000000;
    padding: 48px 0;
    /* 좌우 padding은 inner에서 처리 */
}

.renewal_footer .inner {
    max-width: 1512px;
    margin: 0 auto;
    padding: 0 40px;
    /* PC에서는 좌우 여백 적용, 모바일에서는 20px 등 */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* right 영역(탑버튼) 하단 정렬을 위함 */
    position: relative;
    /* content-stretch flex flex-col items-start px-[210px] py-[48px] => px 약간 축소하여 1512px에 대응 */
}

.renewal_footer .footer_content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    /* 피그마에 지정된 w-[810px] 기준 */
}

/* 로고 영역 */
.renewal_footer .footer_left {
    height: 44px;
    display: flex;
    align-items: center;
}

.renewal_footer .ft_logo {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* 텍스트 영역 래퍼 */
.renewal_footer .footer_info_wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* 대표자 정보와 전화번호 그룹 사이 간격 */
    width: 100%;
}

/* 각 정보 행 단위 */
.renewal_footer .info_row {
    display: flex;
    align-items: center;
    gap: 10px;
    /* 텍스트 간격 */
    flex-wrap: wrap;
    /* 모바일 대응 */
}

.renewal_footer .info_item {
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;
    line-height: 40px;
    margin: 0;
}

.renewal_footer .info_item span {
    font-weight: 600;
}

/* 연락처 영역 컨테이너 (정렬용) */
.renewal_footer .contact_row {
    gap: 31px;
}

.renewal_footer .contact_group {
    display: flex;
    align-items: center;
    gap: 28px;
}

.renewal_footer .contact_group.end {
    gap: 51px;
    flex: 1;
    /* 남은 공간 차지 */
}

/* 전화걸기 버튼 */
.renewal_footer .btn_call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 97px;
    min-height: 33px;
    border: 1px solid #ffffff;
    border-radius: 16.5px;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.renewal_footer .btn_call:hover {
    background-color: #ffffff;
    color: #000000;
}

.renewal_footer .btn_call .icon_call {
    display: inline-block;
    width: 15px;
    /* 이미지 크기에 따라 조정 필요할 수 있음 */
    height: 15px;
    /* SVG의 12.75px에서 비율 맞추기 위해 조정 */
    background-image: url('../img/footer_icon_01.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: filter 0.3s;
}

.renewal_footer .btn_call:hover .icon_call {
    /* 아이콘 색상을 검은색으로 반전 (간단히 필터 사용) */
    filter: invert(1);
}

.renewal_footer .btn_call span {
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    color: inherit;
}

/* 이메일 링크 */
 .renewal_footer .info_item.email a {
    color: #ffffff;
    font-weight: 400;
}

/* 카피라이트 */
.renewal_footer .copyright {
    font-weight: 500;
    font-size: 16px;
    color: #acacac;
    line-height: 40px;
    margin: 0;
}

/* 맨위로 (Top) 버튼 영역 */
.renewal_footer .footer_right {
    position: absolute;
    right: 40px;
    /* inner의 padding-right와 맞춤 */
    bottom: 0px;
}

.renewal_footer #top_btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.renewal_footer #top_btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.renewal_footer #top_btn img {
    width: 24px;
    height: 24px;
}


/* ---------------------------------------------------
    반응형 미디어 쿼리 (태블릿 / 모바일)
--------------------------------------------------- */
@media screen and (max-width: 1024px) {
    .renewal_footer .info_row {
        gap: 20px;
    }

    .renewal_footer .info_item {
        font-size: 18px;
        line-height: 30px;
    }

    .renewal_footer .btn_call {
        transform: scale(0.9);
        transform-origin: left center;
    }
}

@media screen and (max-width: 768px) {
    .renewal_footer {
        padding: 40px 0;
    }

    .renewal_footer .inner {
        padding: 0 20px;
        flex-direction: column;
        align-items: flex-start;
        /* 좌측 정렬 */
    }

    .renewal_footer .footer_content {
        max-width: 100%;
        gap: 24px;
    }

    .renewal_footer .footer_left {
        height: 36px;
        margin-bottom: 10px;
    }

    /* flex-direction 컬럼으로 변경하여 스택으로 세움 */
    .renewal_footer .info_row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .renewal_footer .contact_row {
        gap: 12px;
        margin-top: 10px;
    }

    .renewal_footer .contact_group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .renewal_footer .contact_group.end {
        gap: 4px;
    }

    .renewal_footer .info_item {
        font-size: 16px;
        line-height: 26px;
    }

    .renewal_footer .btn_call {
        margin-top: 4px;
        transform: scale(1);
    }

    .renewal_footer .copyright {
        font-size: 14px;
        line-height: 24px;
        margin-top: 10px;
    }

    .renewal_footer .footer_right {
        bottom: -20px;
        right: 20px;
    }

    .renewal_footer #top_btn {
        width: 50px;
        height: 50px;
    }
}