/* ============================================================
   APC HEALTH — FOOTER B2B CHUẨN DOANH NGHIỆP (ĐỎ - TRẮNG - XANH LÁ)
   ============================================================ */

/* 1. Dải Trust Badge đầu Footer */
.acha-trust-ribbon-wrapper {
    background: linear-gradient(90deg, #00994C 0%, #008A43 100%);
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 0;
    box-sizing: border-box;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}
.acha-trust-ribbon-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
}
.acha-ribbon-item { display: flex; align-items: center; gap: 14px; color: #FFFFFF; text-decoration: none; }
.acha-ribbon-icon {
    width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.16);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.acha-ribbon-icon svg { width: 22px; height: 22px; fill: #FFFFFF; }
.acha-ribbon-text h4 { margin: 0 0 2px 0; font-size: 13.5px; font-weight: 800; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.4px; }
.acha-ribbon-text p { margin: 0; font-size: 12px; color: rgba(255, 255, 255, 0.92); }

/* 2. Footer chính (4 cột) */
.acha-footer-wrapper {
    background-color: #F8FAFC;
    padding: 48px 0 0 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.7;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
}
.acha-footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px 36px;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.05fr;
    gap: 35px;
}
.acha-footer-title {
    color: #0F172A;
    font-size: 14.5px;
    font-weight: 800;
    margin: 0 0 18px 0;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.acha-footer-list { list-style: none; padding: 0; margin: 0; }
.acha-footer-list li { margin-bottom: 10px; }
.acha-footer-list a { color: #475569; text-decoration: none; transition: color 0.2s, transform 0.2s; display: inline-block; font-size: 13px; }
.acha-footer-list a:hover { color: #00994C; transform: translateX(3px); }

.acha-corp-info { font-size: 13px; line-height: 1.7; color: #475569; }
.acha-corp-name { color: #008A43; font-weight: 800; font-size: 14.5px; margin-bottom: 10px; line-height: 1.35; text-transform: uppercase; }
.acha-corp-info p { margin: 0 0 6px 0; }
.acha-corp-info strong { color: #0F172A; }

.acha-contact-box { margin-bottom: 18px; }
.acha-hotline { color: #DC2626; font-size: 22px; font-weight: 800; display: block; margin-top: 4px; text-decoration: none; }
.acha-hotline:hover { color: #B91C1C; }

.acha-social-wrap { display: flex; gap: 10px; margin-top: 10px; }
.acha-social-icon {
    width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF;
    border: 1px solid #CBD5E1; transition: 0.25s; display: flex; align-items: center; justify-content: center;
}
.acha-social-icon:hover { border-color: #00994C; background: #ECFDF5; transform: translateY(-2px); }
.acha-social-icon svg { width: 17px; height: 17px; fill: #00994C; transition: 0.25s; }

/* 3. Thanh bản quyền chân trang Full-Width — Chữ Trắng Sắc Nét */
.acha-footer-bottom {
    width: 100%;
    background: #14532D !important;
    color: #E2E8F0 !important;
    padding: 20px 20px !important;
    margin: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    font-size: 12.5px;
    text-align: center;
}
.acha-footer-bottom-inner {
    max-width: 1240px;
    margin: 0 auto;
}
.acha-footer-bottom p {
    margin: 0 0 5px 0;
    color: #E2E8F0 !important;
}
.acha-footer-bottom p:last-child { margin-bottom: 0; }
.acha-footer-bottom strong {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
}

.acha-toggle-icon { display: none; width: 14px; height: 14px; transition: transform 0.3s; }

/* 4. Responsive Mobile & Accordion */
@media (max-width: 991px) {
    .acha-footer-container { grid-template-columns: 1fr 1fr; gap: 25px; }
}
@media (max-width: 768px) {
    .acha-trust-ribbon-wrapper { padding: 14px 0; }
    .acha-trust-ribbon-container {
        display: flex; overflow-x: auto; gap: 12px; padding: 0 12px;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .acha-trust-ribbon-container::-webkit-scrollbar { display: none; }
    .acha-ribbon-item { flex-direction: column; text-align: center; gap: 6px; flex: 0 0 120px; }
    .acha-ribbon-icon { width: 34px; height: 34px; }
    .acha-ribbon-icon svg { width: 18px; height: 18px; }
    .acha-ribbon-text h4 { font-size: 12px; margin: 0; }
    .acha-ribbon-text p { display: none; }

    .acha-footer-wrapper { padding: 24px 0 0 0; }
    .acha-footer-container { grid-template-columns: 1fr; gap: 0; padding-bottom: 20px; }
    .acha-footer-col { border-bottom: 1px solid #E2E8F0; padding-bottom: 5px; }
    .acha-footer-col.no-border { border-bottom: none; padding-top: 18px; }
    .acha-footer-col:first-child { padding-bottom: 15px; }
    .acha-footer-title { margin: 0; padding: 14px 0; cursor: pointer; font-size: 14px; }
    .acha-toggle-icon { display: block; }
    .acha-footer-list { display: none; padding-bottom: 12px; }
    .acha-footer-col.active .acha-footer-list { display: block; }
    .acha-footer-col.active .acha-toggle-icon { transform: rotate(180deg); }
}
