/* ==================== FOOTER & FLOATING WIDGETS RESPONSIVE ==================== */

.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 20px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.footer-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #10b981;
    border-radius: 2px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #94a3b8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: #10b981;
    padding-left: 5px;
}

/* Google Map responsive trong footer */
.hq-map-container {
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
    width: 100%;
}

.hq-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* ==================== FLOATING BUTTONS (HOTLINE & BACK TO TOP) ==================== */

.hotline-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #dc2626;
    color: #ffffff;
    padding: 8px 14px 8px 10px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    transition: transform 0.2s, background-color 0.2s;
}

.hotline-widget:hover {
    background-color: #b91c1c;
    transform: scale(1.05);
}

.hotline-icon-box {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 40px;
    height: 40px;
    background-color: #0f172a;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.2s;
}

.back-to-top-btn:hover {
    background-color: #059669;
    transform: translateY(-3px);
}

/* ==================== RESPONSIVE MOBILE ==================== */

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Thu nhỏ nút hotline trên mobile để không chắn màn hình */
    .hotline-widget {
        bottom: 15px;
        left: 15px;
        padding: 6px 12px 6px 8px;
        font-size: 12px;
    }

    .back-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
    }
}