.footer {
    width: 100%;
    background-color: #F9FAFB;
    border-top: 1px solid #E5E7EB;
    padding: 60px 0 40px 0;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: 100%;
    max-width: 1265px;
    padding: 0 32px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-links-section {
    flex: 2;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
}

.footer-nav a {
    color: #4A5565;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #590401;
}

.sep {
    color: #CBD5E1;
    font-size: 14px;
}

.footer-contact-section {
    flex: 1;
    text-align: right;
}

.contact-info p {
    font-size: 14px;
    color: #4A5565;
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info strong {
    color: #1A1A1A;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #64748B;
    font-size: 14px;
}

.back-to-top-btn {
    background-color: #590401;
    color: #FFFFFF;
    border: none;
    height: 44px;
    padding: 0 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.back-to-top-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

@media (max-width: 1024px) {
    .footer-main {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-contact-section {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 30px 0;
    }
    
    .footer-nav {
        gap: 10px 14px;
    }
    
    .footer-nav a {
        font-size: 14px;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 24px;
        text-align: center;
    }

    .btn-text {
        display: none;
    }
    
    .back-to-top-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
    }
}