/* HCT CLIENT02 (Fujin Việt Nam) — FOOTER, khớp mockup design-reference/mockup-home.html */
.hctclient02-footer {
    background: #12382d;
    color: #9db3aa;
    padding: 60px 0 20px;
    font-family: var(--hctclient02-font-family-base);
    font-size: var(--hctclient02-text-body);
}

.hctclient02-footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 55px;
}

.hctclient02-footer__column--brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hctclient02-footer__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.hctclient02-footer__logo {
    display: block;
    width: auto;
    max-width: 190px;
    height: 80px;
    object-fit: contain;
    object-position: left center;
}

.hctclient02-footer__brand-mark {
    display: block;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 70% 15%;
    background: linear-gradient(135deg, #7fbd8c, #236b4e);
    transform: rotate(-35deg);
    position: relative;
}

.hctclient02-footer__brand-mark::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 32px;
    left: 19px;
    top: 5px;
    background: #fff;
    transform: rotate(35deg);
}

.hctclient02-footer__brand-name {
    display: block;
    /* Chỉ wordmark thương hiệu mới dùng font-heading (Georgia) + chữ hoa dãn cách,
       không phải h-tag nên không bị rule h1-h6 toàn site ghi đè. */
    font-family: var(--hctclient02-font-family-heading);
    font-size: 1.375rem;
    font-weight: var(--hctclient02-font-weight-bold);
    letter-spacing: .1em;
    /* Chữ trắng để đọc được trên nền tối — mockup dùng chung màu logo header (#20694c)
       nhưng trên nền footer #12382d gần như vô hình, đây là fix contrast tối thiểu. */
    color: #fff;
}

.hctclient02-footer__brand-name small {
    display: block;
    font-family: var(--hctclient02-font-family-base);
    font-size: var(--hctclient02-text-caption);
    font-weight: var(--hctclient02-font-weight-regular);
    letter-spacing: .3em;
    margin-top: 5px;
    color: #9db3aa;
}

.hctclient02-footer__about-text {
    margin: 0;
    max-width: 320px;
    font-size: var(--hctclient02-text-body);
    line-height: var(--hctclient02-line-height-relaxed);
}

.hctclient02-footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/*
 * Selector 2 class (.hctclient02-footer__socials .hctclient02-footer__social-link)
 * thay vì chỉ 1 class — bắt buộc vì `.hctclient02-footer__column a` (khai báo ở
 * trên) có độ đặc trưng CSS (1 class + 1 thẻ) cao hơn 1 class đơn, từng đè mất
 * display:flex/color/line-height khiến icon rơi về layout mặc định (dồn góc
 * trên-trái thay vì căn giữa vòng tròn). Không dùng !important để dễ bảo trì.
 */
.hctclient02-footer__socials .hctclient02-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.hctclient02-footer__socials .hctclient02-footer__social-link svg {
    display: block;
    flex: none;
    width: 22px;
    height: 22px;
}

.hctclient02-footer__socials .hctclient02-footer__social-link:hover,
.hctclient02-footer__socials .hctclient02-footer__social-link:focus-visible {
    color: var(--hctclient02-color-primary);
    background: #fff;
    transform: translateY(-2px);
}

.hctclient02-footer__title {
    /* h4 mặc định bị rule h1-h6 toàn site ép Georgia/bold/màu heading — ghi đè lại
       thành nhãn nhỏ chữ hoa sans-serif đúng mockup, không phải tiêu đề nội dung. */
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--hctclient02-font-family-base);
    font-size: var(--hctclient02-text-meta);
    font-weight: var(--hctclient02-font-weight-bold);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hctclient02-footer__column a,
.hctclient02-footer__column p {
    display: block;
    margin: 0 0 8px;
    font-size: var(--hctclient02-text-body);
    line-height: var(--hctclient02-line-height-relaxed);
    color: #9db3aa;
    text-decoration: none;
}

.hctclient02-footer__column a:hover {
    color: #fff;
}

.hctclient02-footer__column a.hctclient02-footer__contact-item,
.hctclient02-footer__column p.hctclient02-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hctclient02-footer__contact-item svg {
    flex: none;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: var(--hctclient02-color-primary);
}

.hctclient02-footer__bottom {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--hctclient02-text-meta);
    text-align: left;
}

@media (max-width: 900px) {
    .hctclient02-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hctclient02-footer__column--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .hctclient02-footer__bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* DANH MỤC: menu động (pc_footer position) trong footer */
.hctclient02-footer .hct-menu--pc-footer {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hctclient02-footer .hct-menu--pc-footer .hct-menu-item__head {
    display: block;
}

.hctclient02-footer .hct-menu--pc-footer .hct-menu-link {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    color: #9db3aa;
    font-size: var(--hctclient02-text-body);
    line-height: var(--hctclient02-line-height-relaxed);
    text-decoration: none;
}

.hctclient02-footer .hct-menu--pc-footer .hct-menu-link:hover {
    color: #fff;
}

.hctclient02-footer .hct-menu--pc-footer .hct-menu-toggle,
.hctclient02-footer .hct-menu--pc-footer .hct-sub-menu,
.hctclient02-footer .hct-menu--pc-footer .hct-mega-menu {
    display: none !important;
}

/* Fanpage box */
.hctclient02-footer__fanpage-frame {
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
}

.hctclient02-footer__fanpage-frame .fb-page,
.hctclient02-footer__fanpage-frame iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
}
