/* =================================================================
   Footer Component
   Dark navy 4-column footer (Flatsome UX Builder structure)
   ================================================================= */

/* ─── WRAPPER ───────────────────────────────────────────────────────────────── */
.footer-wrapper {
    background: var(--color-secondary) !important;
    color: rgba(255, 255, 255, .65);
}

#footer .section-bg.fill {
    background: var(--color-secondary) !important;
}

#footer .section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#footer .section-content {
    padding: 56px 0 48px;
}

/* ─── WIDGET TITLES — Italic serif ──────────────────────────────────────────── */
#footer .widget-title,
#footer h3.widget-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin-bottom: 20px !important;
    letter-spacing: 0;
    line-height: 1.3;
    padding-bottom: 0;
    border: none;
}

/* ─── CỘT 1: Logo + Mô tả ─────────────────────────────────────────────────── */
#footer .img-inner img {
    max-height: 38px;
    width: auto;
}

#footer .col:first-child .text,
#footer .col:first-child p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .5);
    line-height: 1.75;
    margin-top: 4px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .7);
    font-size: var(--text-xs);
    font-weight: 800;
    text-decoration: none;
    transition: all var(--transition-fast);
    letter-spacing: .02em;
}

.footer-social__link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(255, 200, 51, .08);
}

/* ─── CỘT 2 & 3: Navigation links ─────────────────────────────────────────── */
#footer .widget_nav_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer .widget_nav_menu li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

#footer .widget_nav_menu li:last-child {
    border-bottom: none;
}

#footer .widget_nav_menu a {
    display: block;
    padding: 10px 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

#footer .widget_nav_menu a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

/* ─── CỘT 4: Liên hệ ──────────────────────────────────────────────────────── */
.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-block .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .6);
    line-height: 1.6;
}

/* Icon circles — yellow bg */
.footer-contact-block .contact-item i {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 200, 51, .14);
    color: var(--color-primary);
    font-size: 14px;
    font-style: normal;
    margin-top: 1px;
}

/* Phone — larger + bold */
.footer-contact-block .contact-item .hotline-link {
    font-size: var(--text-xl);
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: .02em;
    transition: color var(--transition-fast);
}

.footer-contact-block .contact-item .hotline-link:hover {
    color: var(--color-primary);
}

/* Email link */
.footer-contact-block .contact-item a:not(.hotline-link) {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact-block .contact-item a:not(.hotline-link):hover {
    color: var(--color-primary);
}

/* ─── COPYRIGHT BAR ─────────────────────────────────────────────────────────── */
#footer .absolute-footer,
.absolute-footer {
    background: rgba(0, 0, 0, .2) !important;
    border-top: 1px solid rgba(255, 255, 255, .06) !important;
    color: rgba(255, 255, 255, .3) !important;
    font-size: var(--text-xs);
    padding: 14px 0;
}

.absolute-footer a {
    color: rgba(255, 255, 255, .45) !important;
    text-decoration: none;
}

.absolute-footer a:hover {
    color: var(--color-primary) !important;
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 849px) {
    #footer .section-content {
        padding: 36px 0 28px;
    }

    #footer .col {
        margin-bottom: 24px !important;
    }

    #footer .widget-title,
    #footer h3.widget-title {
        margin-bottom: 14px !important;
    }
}