/* Footer */
.main-footer {
    background: #333;
    padding: 40px 0 20px;
    margin-bottom: 110px;
}

.main-footer .container {
    max-width: 1280px;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    color: #999;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.footer-logo {
    height: 30px;
    width: auto;
}

.footer-divider {
    color: #999;
}

.footer-copyright {
    text-align: left;
}

.footer-copyright p {
    color: #999;
    font-family: 'Pretendard', sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.55px;
    margin: 0;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 40px;
    bottom: 140px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border: none;
    background: none;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Fixed Bottom Inquiry Banner */
.inquiry-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #062132 calc(280px + ((100% - 1280px) / 2)), #333333 calc(280px + ((100% - 1280px) / 2)));
    padding: 0;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.inquiry-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
}

.inquiry-left {
    flex: 0 0 280px;
    background: #062132;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.inquiry-left-label {
    color: #FFF;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

.inquiry-left-phone {
    color: #FFF;
    font-family: 'Pretendard', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.inquiry-form {
    flex: 1;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.inquiry-field {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inquiry-label {
    color: #FFF;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    min-width: 60px;
}

.inquiry-input {
    height: 45px;
    padding: 0 15px;
    border: none;
    background: #FFF;
    color: #000;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    border-radius: 4px;
    width: 220px;
}

.inquiry-input::placeholder {
    color: #999;
}

.inquiry-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.inquiry-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.inquiry-checkbox label {
    color: #FFF;
    font-family: 'Pretendard', sans-serif;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

.inquiry-submit {
    height: 50px;
    padding: 0 50px;
    background: #4169E1;
    color: #FFF;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.inquiry-submit:hover {
    background: #3355cc;
}


/* Toggle Button - 기본 숨김 */
.inquiry-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.inquiry-toggle-btn svg {
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .main-footer {
        margin-bottom: 80px; /* inquiry-banner 높이만큼 여백 */
    }

    /* 모바일에서 inquiry-banner 구조 변경 */
    .inquiry-banner {
        background: #062132 !important;
    }

    .inquiry-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .inquiry-left {
        flex: none;
        width: 100%;
        padding: 15px 20px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .inquiry-left-content {
        display: flex;
        flex-direction: column;
    }

    .inquiry-left-label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .inquiry-left-phone {
        font-size: 20px;
    }

    /* 토글 버튼 표시 */
    .inquiry-toggle-btn {
        display: block;
    }

    /* 폼 기본 숨김 */
    .inquiry-form {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding: 0 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        background: #333333;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    }

    /* 폼 열림 상태 */
    .inquiry-form.active {
        max-height: 500px;
        opacity: 1;
        padding: 20px;
    }

    /* 토글 버튼 회전 */
    .inquiry-banner.expanded .inquiry-toggle-btn {
        transform: rotate(180deg);
    }

    .inquiry-field {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .inquiry-label {
        min-width: auto;
    }

    .inquiry-input {
        width: 100%;
    }

    .inquiry-checkbox {
        justify-content: flex-start;
    }

    .inquiry-submit {
        width: 100%;
        padding: 0 20px;
    }

    .floating-buttons {
        right: 16px;
        bottom: 96px; /* inquiry-banner 위로 */
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }
}
