/* Tổng quan Footer đen sang trọng */
.agency-custom-footer {
    background-color: #111111; /* Đen nhám như hình */
    color: #a3a3a3; /* Chữ xám nhạt tăng độ tinh tế */
    padding: 60px 0 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border-top: 1px solid #222222;
}

.af-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tầng Trên: Chia 4 cột */
.af-top-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.af-col-title {
    color: #ffffff; /* Tiêu đề trắng nổi bật */
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 24px 0;
    position: relative;
}

/* Cột 1: Thông tin liên hệ */
.af-contact-list {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.af-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.af-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.af-text {
    font-size: 15px;
    color: #cccccc;
}

/* Cài đặt phần Mạng xã hội */
.af-social-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.af-social-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.af-social-icons {
    display: flex;
    gap: 12px;
}

/* Vòng tròn mạng xã hội thanh lịch */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #333333;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #ffffff;
    color: #111111;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Cột 2 & Cột 3: Menu Footer */
.af-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.af-footer-menu li {
    margin-bottom: 12px;
}

.af-footer-menu li a {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.af-footer-menu li a:hover {
    color: #ffffff;
    padding-left: 5px; /* Hiệu ứng đẩy nhẹ khi di chuột */
}

/* Cột 4: Bản đồ Maps */
.af-map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222222;
}

.af-map-wrapper iframe {
    display: block;
}

/* ==========================================================
   TẦNG DƯỚI: ĐƯỜNG PHÂN CÁCH + LOGO + COPYRIGHT
   ========================================================== */
.af-bottom-row {
    border-top: 1px solid #222222; /* Đường gạch ngang như hình */
    padding-top: 30px;
    margin-top: 20px;
}

.af-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.af-bottom-logo img {
    max-height: 55px; /* Chỉnh logo trắng thon gọn */
    width: auto;
    filter: brightness(0) invert(1); /* Chuyển logo sang màu trắng hoàn toàn */
}

.af-copyright-text p {
    margin: 0;
    font-size: 14px;
    color: #666666;
}

/* ==========================================================
   RESPONSIVE CHO MOBILE (Co lại cực đẹp)
   ========================================================== */
@media (max-width: 768px) {
    .agency-custom-footer {
        padding: 40px 0 20px 0;
    }
    .af-top-row {
        grid-template-columns: 1fr; /* Trượt dài 1 cột thẳng đứng */
        gap: 30px;
    }
    .af-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}