/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #07142b;
}

body {
    margin: 0 !important;
    padding: 0;
    background: #07142b !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #ffffff !important;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* =========================================================
   BIẾN MÀU
========================================================= */

:root {
    --blue: #1E50A2;
    --blue-dark: #0b2454;
    --blue-deep: #061735;
    --blue-light: #2d68c7;

    --red: #ff5858;
    --red-dark: #d93636;

    --white: #ffffff;
    --text: #ffffff;
    --text-soft: #dbe7ff;

    --border: rgba(255, 255, 255, 0.18);
    --border-red: rgba(255, 88, 88, 0.55);

    --shadow:
        0 0 25px rgba(255, 88, 88, 0.12);
}

/* =========================================================
   KHUNG WEBSITE
========================================================= */

.container {
    position: relative;
    z-index: 1;

    width: min(95%, 1000px);
    margin: 25px auto;
    padding: 12px;

    color: var(--white);

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.96),
            rgba(6, 23, 53, 0.98)
        );

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;

    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(30, 80, 162, 0.12);
}

/* =========================================================
   ẢNH NỀN ĐẦU TRANG
========================================================= */

.image_background {
    width: 100%;
    overflow: hidden;

    background: var(--blue-dark);
    border-radius: 12px;
}

.image_background img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
    border-radius: 12px;
}

/* =========================================================
   HEADER
========================================================= */

.header_info {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    gap: 20px;
    margin: 20px 0 30px;
    padding: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(11, 36, 84, 0.98),
            rgba(18, 57, 122, 0.88)
        );

    border: 1px solid var(--border-red);
    border-radius: 14px;

    box-shadow:
        0 0 20px rgba(255, 88, 88, 0.08);
}

.left_info {
    display: flex;
    align-items: center;
    gap: 15px;

    min-width: 0;
    flex: 1 1 350px;

    color: var(--white) !important;
}

/* =========================================================
   ẢNH ĐẠI DIỆN
========================================================= */

.header_profile {
    width: 100px;
    height: 100px;

    padding: 0;
    margin: 0;

    flex-shrink: 0;
    overflow: hidden;

    background: var(--blue-dark);
    border: 3px solid var(--red);
    border-radius: 50%;

    box-shadow:
        0 0 12px rgba(255, 88, 88, 0.45);
}

.header_profile img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 50%;
}

/* =========================================================
   H1 HEADER
========================================================= */

.left_info h1,
.header_info h1 {
    margin: 0;

    color: #ffffff !important;

    font-size: clamp(23px, 3.5vw, 34px);
    font-weight: 700;
    line-height: 1.3;

    overflow-wrap: anywhere;

    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.10);
}

/* =========================================================
   MẠNG XÃ HỘI
========================================================= */

.right_info {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 12px;
    margin-left: auto;
}

.right_info a {
    display: inline-flex;
    text-decoration: none !important;
}

.logo_social {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;
    flex-shrink: 0;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 88, 88, 0.45);
    border-radius: 10px;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.logo_social img {
    display: block;

    width: 100%;
    height: 100%;

    padding: 5px;

    object-fit: contain;
    border-radius: 8px;

    filter: none !important;
}

.right_info a:hover .logo_social {
    transform: translateY(-3px);

    background: rgba(255, 88, 88, 0.14);

    box-shadow:
        0 0 12px rgba(255, 88, 88, 0.45);
}

/* =========================================================
   KHUNG BIO
========================================================= */

.bio_box {
    position: relative;
    width: 100%;

    margin-top: 20px;
    padding: 0;

    overflow: hidden;

    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.95),
            rgba(7, 20, 43, 0.99)
        ) !important;

    border: 2px solid var(--red);
    border-radius: 14px;

    box-shadow:
        0 0 25px rgba(255, 88, 88, 0.12),
        inset 0 0 25px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   THANH TIÊU ĐỀ TRÊN KHUNG TLG
========================================================= */

.tlg-future {
    position: relative;
    width: 100%;

    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.95),
            rgba(7, 20, 43, 0.98)
        ) !important;
}

.tlg-future::before {
    content: "THANH LOAN GO • XE GHÉP HÀ NỘI - ANH SƠN";

    display: block;

    padding: 10px 16px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            var(--red-dark),
            var(--red),
            #123875
        );

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =========================================================
   KHUNG NỘI DUNG
========================================================= */

.tlg-shell {
    width: 100%;
    padding: 24px;

    color: #ffffff !important;
}

.tlg-shell article {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    color: #ffffff !important;
}

.tlg-shell,
.tlg-shell * {
    box-sizing: border-box;
}

/* Giữ chữ nội dung màu trắng */

.bio_box,
.bio_box *,
.tlg-future,
.tlg-future *,
.tlg-shell,
.tlg-shell * {
    color: #ffffff !important;
}

/* =========================================================
   TIÊU ĐỀ H2
========================================================= */

.bio_box h2,
.tlg-shell h2 {
    position: relative;

    margin: 30px 0 16px;
    padding: 13px 16px;

    color: #ffffff !important;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.015)
        );

    border-left: 5px solid var(--red);
    border-radius: 5px;

    overflow-wrap: anywhere;
}

.tlg-shell h2:first-child {
    margin-top: 0;
}

/* =========================================================
   TIÊU ĐỀ H3
========================================================= */

.bio_box h3,
.tlg-shell h3 {
    margin: 25px 0 12px;
    padding: 10px 14px;

    color: #ffffff !important;

    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;

    background:
        linear-gradient(
            135deg,
            #123875,
            #0b2454
        );

    border-left: 4px solid var(--red);
    border-radius: 6px;

    overflow-wrap: anywhere;
}

/* =========================================================
   ĐOẠN VĂN
========================================================= */

.bio_box p,
.tlg-shell p {
    margin: 12px 0 16px;

    color: #ffffff !important;

    font-size: 16px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

.bio_box strong,
.bio_box b,
.tlg-shell strong,
.tlg-shell b {
    color: #ffffff !important;
    font-weight: 700;
}

/* =========================================================
   DANH SÁCH UL / OL
========================================================= */

.bio_box ul,
.bio_box ol,
.tlg-shell ul,
.tlg-shell ol {
    margin: 16px 0;
    padding: 16px 22px 16px 44px;

    color: #ffffff !important;

    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
}

.bio_box li,
.tlg-shell li {
    margin: 0 0 9px;

    color: #ffffff !important;

    line-height: 1.75;
}

.bio_box li:last-child,
.tlg-shell li:last-child {
    margin-bottom: 0;
}

.bio_box li::marker,
.tlg-shell li::marker {
    color: var(--red);
}

/* =========================================================
   LIÊN KẾT
========================================================= */

.bio_box a,
.tlg-shell a {
    color: #ffffff !important;

    font-weight: 700;

    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;

    overflow-wrap: anywhere;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.bio_box a:hover,
.tlg-shell a:hover {
    color: #ffe1e1 !important;
    text-decoration-color: #ffffff;
}

/* =========================================================
   BẢNG GIÁ
========================================================= */

/* Bao bảng để cuộn ngang trên màn hình nhỏ */

.table-responsive {
    width: 100%;
    max-width: 100%;

    margin: 22px 0;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    background: #0b2454;

    border: 2px solid var(--red);
    border-radius: 10px;

    box-shadow:
        0 0 15px rgba(255, 88, 88, 0.08);
}

/* Bảng bên trong */

.bio_box table,
.tlg-shell table {
    width: 100%;
    min-width: 600px;

    margin: 0;

    border-collapse: collapse;
    border-spacing: 0;

    background: #0b2454 !important;

    color: #ffffff !important;
}

/* Ô tiêu đề */

.bio_box th,
.tlg-shell th {
    padding: 13px 12px;

    color: #ffffff !important;

    font-weight: 700;
    text-align: left;
    vertical-align: middle;

    background: #123875 !important;

    border: 1px solid rgba(255, 255, 255, 0.24);
}

/* Ô dữ liệu */

.bio_box td,
.tlg-shell td {
    padding: 12px;

    color: #ffffff !important;

    text-align: left;
    vertical-align: top;

    background: #0b2454 !important;

    border: 1px solid rgba(255, 255, 255, 0.18);

    overflow-wrap: anywhere;
}

/* Tô màu hàng xen kẽ */

.bio_box tbody tr:nth-child(even) td,
.tlg-shell tbody tr:nth-child(even) td {
    background: #102e65 !important;
}

/* Hiệu ứng khi rê chuột */

.bio_box tbody tr:hover td,
.tlg-shell tbody tr:hover td {
    background: #173d80 !important;
}

/* =========================================================
   THÔNG TIN LIÊN HỆ
========================================================= */

.contact_info {
    margin: 28px 0 10px;
    padding: 22px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            rgba(18, 56, 117, 0.98),
            rgba(11, 36, 84, 0.98)
        );

    border: 1px solid rgba(255, 88, 88, 0.50);
    border-left: 5px solid var(--red);
    border-radius: 12px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.18);
}

.contact_info h2 {
    margin-top: 0;
}

.contact_info p {
    margin: 12px 0;
}

.contact_info strong {
    color: #ffffff !important;
}

.contact_info a {
    overflow-wrap: anywhere;
}

/* =========================================================
   KHỐI THÔNG TIN / GHI CHÚ
========================================================= */

.tlg-info-box,
.tlg-note {
    margin: 20px 0;
    padding: 16px 18px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            rgba(18, 56, 117, 0.98),
            rgba(11, 36, 84, 0.98)
        );

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 5px solid var(--red);
    border-radius: 9px;
}

.tlg-note {
    font-style: italic;
}

/* =========================================================
   BLOCKQUOTE
========================================================= */

.bio_box blockquote,
.tlg-shell blockquote {
    margin: 20px 0;
    padding: 16px 18px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #123875,
            #0b2454
        );

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 5px solid var(--red);
    border-radius: 8px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.18);
}

.bio_box blockquote p,
.tlg-shell blockquote p {
    margin: 0;
}

/* =========================================================
   ẢNH TRONG NỘI DUNG
========================================================= */

.bio_box article img,
.tlg-shell article img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 18px auto;

    border-radius: 10px;
}

/* Không áp dụng quy tắc ảnh nội dung lên icon mạng xã hội */

.header_info img {
    margin: 0;
}

/* =========================================================
   NÚT / LIÊN KẾT HOTLINE NẾU ĐƯỢC SỬ DỤNG
========================================================= */

.tlg-hotline {
    margin: 25px 0;
    padding: 24px 18px;

    text-align: center;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #123875,
            #1E50A2
        );

    border: 2px solid var(--red);
    border-radius: 14px;

    box-shadow:
        0 0 20px rgba(255, 88, 88, 0.18);
}

.tlg-hotline-title {
    margin-bottom: 10px;

    color: #ffffff !important;

    font-size: 20px;
    font-weight: 700;
}

.tlg-hotline-number {
    display: inline-block;

    margin-top: 8px;
    padding: 10px 22px;

    color: #ffffff !important;

    background: #0b2454;

    border: 2px solid var(--red);
    border-radius: 8px;

    font-size: 23px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.tlg-hotline-number:hover {
    color: #ffffff !important;

    background: #173d80;

    transform: translateY(-2px);
}

/* =========================================================
   FAQ NẾU ĐƯỢC SỬ DỤNG DƯỚI DẠNG KHỐI RIÊNG
========================================================= */

.tlg-faq {
    margin: 14px 0;
    padding: 16px 18px;

    color: #ffffff !important;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-left: 4px solid var(--red);
    border-radius: 9px;
}

.tlg-faq strong {
    color: #ffffff !important;
}

/* =========================================================
   BẢNG DỊCH VỤ CŨ NẾU TÁI SỬ DỤNG
========================================================= */

.content_xe {
    width: 100%;
    max-width: 880px;

    margin: 20px auto;
    padding: 16px;

    overflow-x: auto;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.95),
            rgba(7, 20, 43, 0.98)
        );

    border: 2px solid var(--red);
    border-radius: 10px;
}

.service-table {
    width: 100%;
    min-width: 600px;

    border-collapse: collapse;

    background: #0b2454 !important;
    color: #ffffff !important;
}

.service-table th,
.service-table td {
    padding: 12px;

    color: #ffffff !important;

    text-align: left;
    vertical-align: top;

    border: 1px solid rgba(255, 255, 255, 0.20);
}

.service-table th {
    background: #123875 !important;
}

.service-table tbody tr:nth-child(even) td {
    background: #102e65 !important;
}

.service-table tbody tr:hover td {
    background: #173d80 !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .container {
        width: 96%;
        margin: 15px auto;
        padding: 8px;
    }

    .header_info {
        flex-direction: column;
        justify-content: center;

        gap: 16px;
        padding: 15px;

        text-align: center;
    }

    .left_info {
        flex-direction: column;
        justify-content: center;

        flex: 1 1 100%;
        width: 100%;

        gap: 12px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: clamp(22px, 4vw, 30px);
        text-align: center;
    }

    .header_profile {
        width: 90px;
        height: 90px;
    }

    .right_info {
        justify-content: center;
        margin-left: 0;
        gap: 10px;
    }

    .logo_social {
        width: 43px;
        height: 43px;
    }

    .tlg-shell {
        padding: 18px;
    }

    .bio_box h2,
    .tlg-shell h2 {
        margin-top: 25px;
        padding: 12px 13px;
        font-size: 22px;
    }

    .bio_box h3,
    .tlg-shell h3 {
        font-size: 18px;
    }

    .bio_box p,
    .tlg-shell p {
        font-size: 15px;
    }

    .table-responsive {
        border-radius: 8px;
    }

    .bio_box table,
    .tlg-shell table {
        min-width: 600px;
    }

    .contact_info {
        padding: 17px;
    }
}

/* =========================================================
   ĐIỆN THOẠI
========================================================= */

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;
        margin: 8px auto;
        padding: 5px;

        border-radius: 10px;
    }

    .image_background,
    .image_background img {
        border-radius: 8px;
    }

    .header_info {
        margin: 12px 0 18px;
        padding: 12px;

        border-radius: 10px;
    }

    .header_profile {
        width: 75px;
        height: 75px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: 22px;
        line-height: 1.35;
    }

    .right_info {
        gap: 8px;
    }

    .logo_social {
        width: 36px;
        height: 36px;

        border-radius: 8px;
    }

    .logo_social img {
        padding: 4px;
    }

    .bio_box {
        border-radius: 10px;
    }

    .tlg-future::before {
        padding: 9px 10px;

        font-size: 10px;
        letter-spacing: 0.035em;
        text-align: center;
    }

    .tlg-shell {
        padding: 13px 11px;
    }

    .bio_box h2,
    .tlg-shell h2 {
        margin: 24px 0 12px;
        padding: 10px 11px;

        font-size: 19px;
        line-height: 1.45;

        border-left-width: 4px;
    }

    .tlg-shell h2:first-child {
        margin-top: 0;
    }

    .bio_box h3,
    .tlg-shell h3 {
        margin: 20px 0 10px;
        padding: 9px 10px;

        font-size: 16px;
        line-height: 1.5;
    }

    .bio_box p,
    .tlg-shell p {
        margin: 10px 0 13px;

        font-size: 14px;
        line-height: 1.8;
    }

    .bio_box ul,
    .bio_box ol,
    .tlg-shell ul,
    .tlg-shell ol {
        padding: 13px 12px 13px 31px;
        margin: 13px 0;

        border-radius: 8px;
    }

    .bio_box li,
    .tlg-shell li {
        margin-bottom: 8px;

        font-size: 14px;
        line-height: 1.7;
    }

    .table-responsive {
        margin: 16px 0;

        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .bio_box table,
    .tlg-shell table {
        min-width: 580px;
    }

    .bio_box th,
    .bio_box td,
    .tlg-shell th,
    .tlg-shell td {
        padding: 9px;

        font-size: 13px;
        line-height: 1.6;
    }

    .contact_info {
        margin-top: 20px;
        padding: 13px;

        border-radius: 9px;
    }

    .contact_info h2 {
        font-size: 19px;
    }

    .tlg-hotline {
        padding: 18px 12px;
    }

    .tlg-hotline-title {
        font-size: 17px;
    }

    .tlg-hotline-number {
        display: block;
        width: 100%;

        padding: 10px 12px;

        font-size: 19px;
    }
}

/* =========================================================
   GIẢM CHUYỂN ĐỘNG
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}