/* ==========================================================================
   FOOTER STYLES - LIVING HOPE (KHỚP 100% THIẾT KẾ)
   ========================================================================== */

.site-footer {
    background-color: var(--color-surface, #F7F2EE) !important;
    color: var(--text-primary, #333333) !important;
    padding: 70px 0 25px 0 !important;
    font-family: var(--font-body, sans-serif) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
}

.footer-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Lưới 4 cột trên Desktop */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 0.9fr 1.3fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Tiêu đề mỗi cột */
.footer-col-title {
    font-family: var(--font-body, 'Nunito Sans', sans-serif) !important;
    color: #1a1a1a !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- CỘT 1: BRAND / LOGO & QUOTE --- */
.footer-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
    background: #ffffff;
    padding: 6px;
    display: block;
    margin-bottom: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.footer-quote {
    font-family: var(--font-heading) !important;
    font-size: var(--fs-body-s) !important;
    font-style: italic;
    color: #2b2b2b !important;
    line-height: 1.4 !important;
    margin: 0 0 25px 0 !important;
    max-width: 280px;
  text-transform: uppercase;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-primary-second, #456967);
    color: #ffffff !important;
    text-decoration: none;
    transition: var(--transition-base, all 0.3s ease);
}

.social-icon:hover {
    background-color: var(--color-primary-third, #74A59F);
    transform: translateY(-2px);
}

/* --- CỘT 2:  (INFO LIST) --- */
.footer-info-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    color: #1a1a1a;
    flex-shrink: 0;
    margin-top: 3px;
    display: flex;
}

.info-text {
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
}

.info-link {
    text-decoration: none;
    color: #333333;
    transition: color 0.2s ease;
}

.info-link:hover {
    color: var(--color-primary-second, #456967);
    text-decoration: underline;
}

/* --- CỘT 3: MENU LIÊN KẾT --- */
.footer-nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list li:last-child {
    margin-bottom: 0;
}

.footer-nav-list li a {
    color: #333333 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    transition: var(--transition-base, all 0.2s ease);
    display: inline-block;
}

.footer-nav-list li a:hover {
    color: var(--color-primary-second, #456967) !important;
    transform: translateX(3px);
}

/* --- CỘT 4: MAPS --- */
.footer-map-wrapper {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.footer-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 170px;
    border: none;
}

/* --- COPYRIGHT CUỐI TRANG --- */
.footer-bottom {
    border-top: 1px solid rgba(69, 105, 103, 0.18);
    padding-top: 24px;
    text-align: center;
}

.copyright-text {
    margin: 0;
    font-size: 14.5px !important;
    color: #4f4f4f !important;
}

/* ==========================================================================
   RESPONSIVE (MOBILE & TABLET - CHUẨN 1 CỘT NHƯ ẢNH 2)
   ========================================================================== */
@media (max-width: 991px) {
    .site-footer {
        padding: 50px 0 20px 0 !important;
    }

    /* Đưa về 1 cột dạng dọc */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        margin-bottom: 35px;
    }

    .footer-logo {
        width: 85px;
        height: 85px;
        margin-bottom: 16px;
    }

    .footer-quote {
        font-size: 18px !important;
        max-width: 100%;
        margin-bottom: 20px !important;
    }

    .footer-col-title {
        font-size: 18px !important;
        margin-bottom: 16px;
    }

    .footer-map-wrapper iframe {
        height: 200px;
    }

    .footer-bottom {
        padding-top: 18px;
    }

    .copyright-text {
        font-size: 13.5px !important;
    }
}