@charset "utf-8";

.footer {
    padding: 60px 0 40px;
    text-align: center;
}

.footer > .center {
    width: 70.4vw;
    max-width: 1120px;
}

.footer .footer__logo {
    display: inline-block;
    font-size: clamp(36px, 4.44vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.footer__line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #000;
    margin: 28px 0 48px;
}

/* ------------------------
   Adress / Contact / Link
------------------------ */
.footer__info {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding-inline: 40px;
    text-align: left;
}

.footer__col-title {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer .footer__text {
    display: block;
    color: var(--color-sub1);
    font-size: 14px;
    line-height: 1.7;
}

/* ------------------------
   하단 : 카피라이트 + SNS 아이콘
------------------------ */
.footer__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 32px;
    padding-inline: 40px;
}

.footer__copy {
    text-align: left;
}

.footer__copy p {
    font-size: 12px;
    color: var(--color-sub2);
    line-height: 1.8;
}

.footer__sns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer__sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.footer__sns img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ------------------------
   우측 플로팅 퀵메뉴
------------------------ */
.quick {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 17.5px;
    z-index: 9999;   /* 90 -> 9999로 확실하게 */
}

.quick__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
}


.quick__btn img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}



/* ========================
   반응형 — footer.css
======================== */
@media (max-width: 1024px) {
    .footer {
        padding: 48px 0 36px;
    }

    .footer > .center {
        width: calc(100% - 48px);
    }

    .footer__info {
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer__info,
    .footer__bottom {
        padding-inline: 0;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 32px;
    }

    .footer__line {
        margin: 24px 0 28px;
    }

    /* 주소는 한 줄 전체, Contact / Link는 두 열 배치 */
    .footer__info {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 24px;
    }

    .footer__col:first-child {
        grid-column: 1 / -1;
    }

    /* 하단 세로 배치 */
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 28px;
    }

    .footer__copy {
        order: 2;
    }

    .footer__sns {
        gap: 6px;
    }

    .footer__sns a {
        width: 32px;
        height: 32px;
    }

    /* 퀵메뉴 */
    .quick {
        right: 16px;
        bottom: 16px;
        gap: 12px;
    }

    .quick__btn {
        width: 46px;
        height: 46px;
    }

    .quick__btn img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 32px 0 28px;
    }

    .footer__line {
        margin: 20px 0 24px;
    }

    .footer__bottom {
        margin-top: 24px;
    }

    /* 퀵메뉴 더 작게 */
    .quick__btn {
        width: 40px;
        height: 40px;
    }

    .quick__btn img {
        width: 55px;
        height: 55px;
    }
}
