/* ==========================================================================
   VUTA FOOTER - dùng chung cho các website của VUTA
   Bố cục kiểu MISA: logo, khối thông tin công ty + các cột link,
   hàng mạng xã hội / chứng nhận, thanh bản quyền.
   File tự đủ: không phụ thuộc vuta.css hay vuta.lib.css.
   Cần: Font Awesome (icon .fab), ảnh icon trong /themes/vuta2/assets/images/
        (location-1.svg, home.svg, call.svg, email.svg, category.svg, license.svg,
         logo-bocongthuong.png, dmca_protected.png)
   Đổi màu/độ rộng ở khối biến ngay bên dưới.
   ========================================================================== */
.vf {
    --vf-width: 1320px;
    --vf-text: #141414;
    --vf-accent: #ffc300;
    --vf-accent-dark: #b97a00;
    --vf-line: rgba(185, 122, 0, 0.25);
    --vf-dark: #1c1e22;
    --vf-bar: #212529;
    color: var(--vf-text);
    font-size: 14px;
}
.vf *,
.vf *::before,
.vf *::after {
    box-sizing: border-box;
}
.vf ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.vf li {
    background: none;
}
.vf a {
    text-decoration: none;
}
.vf strong {
    font-weight: 700;
    color: inherit;
}

/* Container */
.vf .vf__container {
    width: min(var(--vf-width), 100%);
    margin: 0 auto;
    padding: 0 15px;
}

/* Khối chính: nền gradient (trên trắng để logo vàng nổi, dưới vàng mật) */
.vf .vf__main {
    padding: 30px 0 24px;
    background:
        radial-gradient(ellipse 45% 55% at 92% 100%, rgba(255, 150, 0, 0.30) 0%, rgba(255, 150, 0, 0) 100%),
        linear-gradient(180deg, #ffffff 0%, #fffdf6 22%, #ffeeb8 62%, #ffc94d 100%);
}
.vf .vf__brand img {
    width: 150px;
    height: auto;
}

/* Lưới: khối công ty + 3 cột link */
.vf .vf__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 32px;
    margin-top: 16px;
}
.vf .vf__company-name {
    margin: 0 0 16px;
    color: var(--vf-text);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.vf .vf__contact li,
.vf .vf__license {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    line-height: 22.4px;
    color: var(--vf-text);
}
.vf .vf__contact li {
    margin: 0 0 14px;
}
.vf .vf__contact img {
    filter: brightness(0);
}
.vf .vf__license {
    align-items: flex-start;
    margin: 0;
}
.vf .vf__license img {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}
.vf .vf__contact a,
.vf .vf__col ul li a {
    color: var(--vf-text);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}
.vf .vf__contact a:hover,
.vf .vf__col ul li a:hover {
    color: var(--vf-accent-dark);
}

/* Cột link */
.vf .vf__title {
    position: relative;
    margin: 0 0 16px;
    padding-bottom: 10px;
    color: var(--vf-text);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}
.vf .vf__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: var(--vf-accent);
}
.vf .vf__col ul li a::before,
.vf .vf__col ul li a::after {
    content: none;
    display: none;
}
.vf .vf__col ul li a {
    border-bottom: 0;
}
.vf .vf__col ul li {
    background: none;
    margin: 0 0 12px;
    padding: 0;
    line-height: 22.4px;
}

/* Banner quảng cáo (QC_FOOTER) - đang ẩn, bỏ display:none để hiện lại */
.vf .vf__ads {
    display: none;
    margin-top: 24px;
}
.vf .vf__ads img {
    max-width: 100%;
    height: auto;
}

/* Hàng mạng xã hội + chứng nhận */
.vf .vf__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--vf-line);
}
.vf .social ul {
    display: flex;
    align-items: center;
}
.vf .social ul li a {
    display: block;
    width: 35px;
    height: 35px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--vf-dark);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    font-size: 15px;
    line-height: 35px;
    text-align: center;
    transition: all 300ms ease;
}
.vf .social ul li a:hover {
    background: #fff;
    color: var(--vf-accent-dark);
    transform: translateY(-2px);
}
.vf .vf__badges {
    display: flex;
    align-items: center;
    gap: 32px;
}
.vf .vf__badges figure {
    margin: 0;
}
.vf .vf__badges #bct img {
    width: 125px;
}
.vf .vf__badges #DM img {
    width: 91px;
}

/* Thanh bản quyền */
.vf .vf__bottom {
    padding: 10px 0;
    background: var(--vf-bar);
    color: #fff;
    font-size: 14px;
}
.vf .vf__bottom-content {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.vf .vf__copyright a {
    color: var(--vf-accent);
    font-weight: 700;
}
.vf .vf__policy a {
    color: #fff;
}
.vf .vf__policy a:hover {
    color: var(--vf-accent);
}

/* Responsive */
@media (max-width: 1200px) {
    .vf .vf__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .vf .vf__company {
        grid-column: 1 / -1;
    }
}
@media (max-width: 768px) {
    .vf .vf__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vf .vf__row {
        justify-content: center;
    }
    .vf .vf__bottom-content {
        flex-direction: column;
    }
}
