/* =====================================================
   로랑한의원 - Footer
   ===================================================== */

.footer {
    background: #2d2d2d;
    color: #ffffff;
    padding: 36px 0 24px;
    line-height: 1.3;
    position: relative;
    z-index: 10;
    /* GPU rendering stabilization */
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.footer-container {
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Footer Top: 로고 & 버튼 ===== */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.footer-logo .logo-ko {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-logo .logo-en {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}

/* ===== Footer Buttons ===== */
.footer-buttons {
    display: flex;
    gap: 12px;
}

.btn-booking {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-booking .icon {
    width: 14px;
    height: 14px;
}

.btn-booking.naver {
    background: #03C75A;
    color: #ffffff;
}

.btn-booking.naver:hover {
    background: #02a94f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 199, 90, 0.3);
}

.btn-booking.kakao {
    background: #FEE500;
    color: #3C1E1E;
}

.btn-booking.kakao:hover {
    background: #f5da00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.3);
}

/* ===== Footer Info: 사업자 정보 ===== */
.footer-info {
    padding: 12px 0;
}

.footer-since {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.footer-since .small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-business {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 구분선 스타일 */
.divider {
    display: inline-block;
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 12px;
}

/* ===== Footer Contact: 고객센터 + SNS ===== */
.footer-contact {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.footer-contact-left {
    flex: 1;
}

.contact-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.contact-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Footer Social: SNS 아이콘 ===== */
.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    opacity: 1;
    transform: scale(1.15);
}

.footer-social-link svg {
    width: 22px;
    height: 22px;
}

/* ===== Footer Bottom: 저작권 ===== */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
}

.privacy-link {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy-link:hover {
    color: #ffffff;
}

.copyright {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.link-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6rem;
    vertical-align: middle;
    /* 크기 조절 */
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .footer {
        padding: 48px 0 32px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-logo {
        flex-direction: column;
        gap: 4px;
    }

    .footer-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-booking {
        justify-content: center;
        width: 100%;
    }

    .footer-since,
    .footer-business,
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
    }

    .divider {
        display: none;
    }

    .footer-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-social {
        margin-top: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-bottom: 8px;
    }

    .link-divider {
        color: rgba(255, 255, 255, 0.4);
        font-size: 0.6rem;
        vertical-align: middle;
        /* 크기 조절 */
    }
}