/* =========================
   FOOTER - DRAGON TRAVEL
========================= */

.tx-footer {
    background: linear-gradient(180deg, #8e1624 0%, #74111d 100%);
    color: #ffffff;
    margin-top: 0;
}

.tx-footer__top {
    padding: 38px 0 26px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.tx-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr .9fr;
    gap: 28px;
    align-items: start;
}

.tx-footer__brand {
    min-width: 0;
}

.tx-footer__logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.tx-footer__logo {
    max-width: 190px;
    max-height: 62px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.tx-footer__logo-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #9e1828;
    font-weight: 800;
    font-size: 18px;
}

.tx-footer__brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tx-footer__brand-text strong {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
}

.tx-footer__brand-text span {
    font-size: 13px;
    color: rgba(255,255,255,.82);
}

.tx-footer__desc {
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 14px;
    line-height: 1.7;
    max-width: 320px;
}

.tx-footer__title {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #ffffff;
}

/* CONTACT */
.tx-footer__contact-list,
.tx-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tx-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.65;
}

.tx-footer__contact-list li:last-child {
    margin-bottom: 0;
}

.tx-footer__icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: #ffd6db;
    margin-top: 2px;
}

/* QUICK LINKS */
.tx-footer__links li {
    margin-bottom: 10px;
}

.tx-footer__links li:last-child {
    margin-bottom: 0;
}

.tx-footer__links a {
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.6;
    transition: color .2s ease, transform .2s ease;
    display: inline-block;
}

.tx-footer__links a:hover {
    color: #ffd6db;
    transform: translateX(3px);
}

/* SOCIAL */
.tx-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.tx-footer__social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.12);
    color: #ffffff;
    transition: transform .2s ease, background .2s ease;
}

.tx-footer__social:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.22);
    color: #ffffff;
}

.tx-footer__social svg {
    width: 20px;
    height: 20px;
}

.tx-footer__social-label {
    margin: 0;
    color: rgba(255,255,255,.8);
    font-size: 13px;
    line-height: 1.6;
}

/* BOTTOM */
.tx-footer__bottom {
    padding: 14px 0;
}

.tx-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.tx-footer__copyright,
.tx-footer__credit {
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    line-height: 1.6;
}

/* BACK TO TOP */
.tx-footer__to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #9e1828;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(116, 17, 29, .28);
    cursor: pointer;
    z-index: 1200;
    transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.tx-footer__to-top:hover {
    background: #7a1320;
    transform: translateY(-2px);
}

.tx-footer__to-top svg {
    width: 18px;
    height: 18px;
}

.tx-footer__to-top.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* TABLET */
@media (max-width: 1024px) {
    .tx-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 22px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .tx-footer__top {
        padding: 30px 0 20px;
    }

    .tx-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tx-footer__brand-text strong {
        font-size: 20px;
    }

    .tx-footer__title {
        margin-bottom: 12px;
        font-size: 17px;
    }

    .tx-footer__bottom {
        padding: 12px 0 18px;
    }

    .tx-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .tx-footer__to-top {
        width: 42px;
        height: 42px;
        right: 12px;
        bottom: 12px;
    }
}


/* ===================================
   FOOTER LOGO - THUE XE QUANG ANH
=================================== */

.tx-footer__brand {
    min-width: 0;
}

.tx-footer__logo-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
    margin-bottom: 16px;
}

.tx-footer__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 66px;
    width: 66px;
}

.tx-footer__logo-wrap .tx-footer__logo {
    display: block;
    width: 100%;
    height: auto;
    max-width: 66px;
    max-height: 66px;
    object-fit: contain;
}

.tx-footer__brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    min-width: 0;
    gap: 5px;
}

.tx-footer__brand-text strong {
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0;
    white-space: normal;
}

.tx-footer__brand-text span {
    color: #f4dce0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.6px;
}

.tx-footer__desc {
    max-width: 330px;
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255,255,255,.85);
}

/* TABLET */
@media (max-width: 1024px) {
    .tx-footer__brand-text strong {
        font-size: 16px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .tx-footer__logo-link {
        gap: 10px;
    }

    .tx-footer__logo-wrap {
        flex-basis: 58px;
        width: 58px;
    }

    .tx-footer__logo-wrap .tx-footer__logo {
        max-width: 58px;
        max-height: 58px;
    }

    .tx-footer__brand-text strong {
        font-size: 16px;
    }

    .tx-footer__brand-text span {
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .tx-footer__desc {
        max-width: 100%;
        font-size: 13px;
    }
}
