/* ==========================================================================
   FOOTER: TRUNG TÂM NHA KHOA 3D
   Màu nền: XANH ĐEN y tế sang trọng (#0b172a -> #060d17)
   Bố cục 3 cột đơn giản, thực tế, tải nhanh, dễ liên hệ
   Responsive hoàn hảo trên mọi thiết bị: Desktop, Tablet, Mobile
   ========================================================================== */

footer.site-footer {
    background-color: #081220 !important;
    background: linear-gradient(180deg, #0b172a 0%, #060d17 100%) !important;
    color: #cbd5e1 !important;
    position: relative;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    border-top: 3px solid #0284c7 !important;
    overflow: hidden;
}

/* ==========================================================================
   TOP FOOTER
   ========================================================================== */

.site-footer .footer-top,
.site-footer .footer1 {
    background-color: #081220 !important;
    background: transparent !important;
    padding: 55px 0 35px 0 !important;
    color: #cbd5e1 !important;
}

.site-footer .footer-grid-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Reset bất kỳ màu xám nào từ mystyle.css */
.site-footer p,
.site-footer span,
.site-footer div {
    color: #cbd5e1;
}

/* Titles */
.site-footer .footer-col-title {
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 18px 0;
    padding-bottom: 10px;
    position: relative;
}

.site-footer .footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background-color: #0284c7;
    border-radius: 2px;
}

.site-footer .footer-sub-title {
    margin-top: 24px;
}

/* CỘT 1: THƯƠNG HIỆU & HOTLINE */
.footer-brand-wrap {
    margin-bottom: 18px;
}

.footer-brand-logo {
    display: inline-block;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.footer-brand-logo img {
    height: 42px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.footer-brand-name {
    font-size: 16px;
    font-weight: 800;
    color: #0f294a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-clinic-fullname {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.4px;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.footer-brand-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8 !important;
    margin: 0;
}

/* Khối Hotline & Giờ làm việc nổi bật */
.footer-highlight-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.footer-hl-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-hl-item:not(:last-child) {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hl-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.hl-text-wrap {
    flex-grow: 1;
}

.hl-label {
    display: block;
    font-size: 11.5px;
    color: #94a3b8 !important;
    margin-bottom: 2px;
}

.hl-value {
    font-size: 17px;
    font-weight: 800;
    color: #38bdf8 !important;
    text-decoration: none !important;
    letter-spacing: 0.5px;
}

.hl-value:hover {
    color: #7dd3fc !important;
}

.hl-value-sm {
    font-size: 12px;
    color: #e2e8f0 !important;
    font-weight: 500;
}

/* Mạng xã hội */
.footer-social-wrap {
    margin-bottom: 15px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.footer-social-btn:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
}

.footer-social-btn.btn-fb:hover {
    background-color: #1877f2;
    border-color: #1877f2;
}

.footer-social-btn.btn-yt:hover {
    background-color: #ff0000;
    border-color: #ff0000;
}

.footer-social-btn.btn-zalo {
    width: auto;
    padding: 0 12px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 11.5px;
}

.footer-social-btn.btn-zalo:hover {
    background-color: #0068ff;
    border-color: #0068ff;
}

/* CỘT 2: CHI NHÁNH */
.footer-branch-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-branch-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.footer-branch-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 189, 248, 0.35);
}

.branch-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.branch-marker-icon {
    color: #ef4444;
    font-size: 14px;
    flex-shrink: 0;
}

.branch-card-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(2, 132, 199, 0.25);
    color: #38bdf8;
    letter-spacing: 0.3px;
}

.branch-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0;
    letter-spacing: 0.3px;
}

.branch-card-addr {
    font-size: 12.5px;
    color: #cbd5e1 !important;
    margin: 0 0 5px 0;
    line-height: 1.45;
}

.branch-card-phone {
    font-size: 12px;
    color: #94a3b8 !important;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.branch-card-phone i {
    color: #38bdf8;
    font-size: 11px;
}

.branch-card-phone a {
    color: #38bdf8 !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.branch-card-phone a:hover {
    color: #7dd3fc !important;
    text-decoration: underline !important;
}

.footer-email-box {
    font-size: 12.5px;
    color: #cbd5e1 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
}

.footer-email-box i {
    color: #38bdf8;
    font-size: 13px;
    flex-shrink: 0;
}

.footer-email-box a {
    color: #38bdf8 !important;
    text-decoration: none !important;
}

.footer-email-box a:hover {
    text-decoration: underline !important;
}

/* CỘT 3: DỊCH VỤ & LIÊN KẾT NHANH */
.footer-service-links,
.footer-info-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-service-links li a,
.footer-info-links li a {
    font-size: 12.5px;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.footer-service-links li a i,
.footer-info-links li a i {
    font-size: 11px;
    color: #38bdf8;
    transition: transform 0.2s ease;
}

.footer-service-links li a:hover,
.footer-info-links li a:hover {
    color: #38bdf8 !important;
    transform: translateX(3px);
}

/* ==========================================================================
   FOOTER BOTTOM (footer2)
   ========================================================================== */

.site-footer .footer-bottom,
.site-footer .footer2 {
    background-color: #040810 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 16px 0 !important;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 12px;
    color: #64748b !important;
    margin: 0;
}

.footer-copyright strong {
    color: #cbd5e1 !important;
    font-weight: 600;
}

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

.footer-stat-badge {
    font-size: 11.5px;
    color: #64748b !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-stat-badge strong {
    color: #38bdf8 !important;
    font-weight: 700;
}

.footer-back-to-top {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.footer-back-to-top:hover {
    background-color: #0284c7;
    border-color: #0284c7;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablet & Mobile)
   ========================================================================== */

@media (max-width: 991px) {
    .site-footer .footer-top,
    .site-footer .footer1 {
        padding: 45px 0 25px 0 !important;
    }

    .footer-col-wrap {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .site-footer .footer-top,
    .site-footer .footer1 {
        padding: 38px 0 15px 0 !important;
    }

    .site-footer .footer-grid-row {
        display: block !important;
    }

    .footer-col-wrap {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-bottom: 26px !important;
        display: block !important;
    }

    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-stats-wrap {
        justify-content: center;
    }

    .branch-card-addr,
    .branch-card-phone {
        font-size: 12px;
    }
}
