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

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

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

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

/* =========================================================
   BIẾN CHUNG
========================================================= */

: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.7);

    --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;

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

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

    color: #ffffff;

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

/* =========================================================
   ẢNH NỀN
========================================================= */

.image_background {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: var(--blue-dark);
}

.image_background img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

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

.header_info {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 20px 0 30px;
    padding: 18px;
    flex-wrap: wrap;

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

    border: 1px solid rgba(255, 88, 88, 0.35) !important;
    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;
    color: #ffffff !important;
    flex: 1 1 500px;
}

.header_profile {
    width: 110px;
    height: 110px;
    padding: 0;
    margin: 0;
    border: 3px solid var(--red);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--blue-dark);

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

.header_profile img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.left_info h1,
.header_info h1 {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.25;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.1);
}

.right_info {
    display: flex !important;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-left: auto;
}

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

.logo_social {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 88, 88, 0.45);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;

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

.logo_social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 1;
    filter: none !important;
}

.right_info a:hover .logo_social {
    transform: translateY(-3px);
    background: rgba(255, 88, 88, 0.12);
    box-shadow:
        0 0 10px rgba(255, 88, 88, 0.45);
}

/* =========================================================
   BIO BOX
========================================================= */

.bio_box {
    width: 100%;
    margin-top: 20px;
    padding: 0;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

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

/* =========================================================
   TLG FUTURE
========================================================= */

.tlg-future {
    width: 100%;
    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.95),
            rgba(7, 20, 43, 0.98)
        ) !important;

    border: 2px solid var(--red) !important;
    border-radius: 14px;
    color: #ffffff !important;

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

    overflow: hidden;
    position: relative;
}

.tlg-future::before {
    content: "THANH LOAN GO // XE GHÉP MAI SƠN";

    display: block;
    padding: 10px 16px;

    color: #ffffff !important;

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

    border-bottom: 1px solid var(--red);

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

.tlg-shell {
    position: relative;
    padding: 25px;
    color: #ffffff !important;
}

/* =========================================================
   CONTENT SECTION
========================================================= */

.content_section {
    width: 100%;
    margin: 0 0 25px;
    padding: 0;
}

.content_section:last-child {
    margin-bottom: 0;
}

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

.tlg-shell h1,
.tlg-shell h2,
.tlg-shell h3,
.tlg-shell h4 {
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff !important;
    position: relative;
    line-height: 1.35;
}

.tlg-shell h1 {
    font-size: 32px;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 88, 88, 0.55);
}

.tlg-shell h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    padding: 12px 16px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.01)
        );

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

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

.tlg-shell h3 {
    font-size: 20px;
    margin: 25px 0 10px;
    padding: 9px 13px;
    background: var(--blue-dark);
    border-left: 4px solid var(--red);
    border-radius: 6px;
}

.tlg-shell h4 {
    font-size: 18px;
    margin: 20px 0 8px;
    padding-left: 10px;
    border-left: 3px solid var(--red);
}

/* =========================================================
   TEXT
========================================================= */

.tlg-shell p {
    margin: 0 0 15px;
    color: #ffffff !important;
}

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

/* =========================================================
   LINK
========================================================= */

.tlg-shell a {
    color: #ffffff !important;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    font-weight: 700;
}

.tlg-shell a:hover {
    color: #ffe1e1 !important;
}

/* =========================================================
   DANH SÁCH
========================================================= */

.tlg-shell ul,
.tlg-shell ol {
    padding: 16px 20px 16px 42px;
    margin: 15px 0;

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

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

.tlg-shell li {
    margin-bottom: 8px;
    color: #ffffff !important;
}

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

.tlg-shell li::marker {
    color: var(--red) !important;
}

/* =========================================================
   NOTE BOX
========================================================= */

.note_box {
    margin: 20px 0;
    padding: 15px 18px;

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

    border-left: 5px solid var(--red);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;

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

.note_box p {
    margin-bottom: 8px;
}

.note_box p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   TABLE WRAPPER
========================================================= */

.table_wrapper {
    width: 100%;
    margin: 22px 0 26px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    border: 2px solid var(--red);
    border-radius: 12px;
    background: #0b2454;

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

/* =========================================================
   BẢNG GIÁ / BẢNG SO SÁNH
========================================================= */

.service_table,
.price_table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #0b2454 !important;
    color: #ffffff !important;
}

.service_table th,
.service_table td,
.price_table th,
.price_table td {
    padding: 13px 12px;

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

    border: 1px solid rgba(255, 255, 255, 0.20);
    vertical-align: top;
}

.service_table th,
.price_table th {
    background: #123875 !important;
    text-align: center;
    font-weight: 700;
    vertical-align: middle;
}

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

.service_table tbody tr:hover td,
.price_table tbody tr:hover td {
    background: #173d80 !important;
}

.service_table td:first-child,
.price_table td:first-child {
    font-weight: 600;
}

.service_table td:last-child,
.price_table td:last-child {
    text-align: center;
    font-weight: 700;
}

/* =========================================================
   PROCESS / QUY TRÌNH
========================================================= */

.process_box {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.process_item {
    position: relative;
    padding: 18px 20px;

    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: 10px;

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

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

.process_item:hover {
    transform: translateY(-2px);
    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.20),
        0 0 12px rgba(255, 88, 88, 0.10);
}

.process_item h3 {
    margin-top: 0;
}

.process_item p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   FAQ
========================================================= */

.faq_item {
    margin: 13px 0;
    padding: 18px 20px;

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

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

.faq_item h3 {
    margin: 0 0 10px;
    background: transparent;
    border: 0;
    padding: 0;
}

.faq_item p {
    margin-bottom: 0;
}

/* =========================================================
   CAM KẾT
========================================================= */

.commitment_list {
    list-style: none;
    padding: 0 !important;
    margin: 18px 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.commitment_list li {
    margin: 10px 0;
    padding: 14px 16px;

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

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

.commitment_list li::marker {
    display: none;
}

/* =========================================================
   CONTACT SECTION
========================================================= */

.contact_section {
    margin-top: 30px;
    padding: 22px;

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

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

    box-shadow:
        0 0 22px rgba(255, 88, 88, 0.14);
}

.contact_section h2 {
    margin-top: 0;
    background: transparent;
    border-left: 0;
    border-bottom: 2px solid rgba(255, 88, 88, 0.55);
    border-radius: 0;
    text-align: center;
}

.contact_benefits {
    display: grid;
    gap: 10px;

    margin: 20px 0 0 !important;
    padding: 0 !important;

    list-style: none;
    background: transparent !important;
    border: 0 !important;
}

.contact_benefits li {
    margin: 0 !important;
    padding: 11px 14px;

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

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.contact_benefits li::marker {
    display: none;
}

/* =========================================================
   BUSINESS INFO
========================================================= */

.business_info {
    margin-top: 25px;
    padding: 22px;

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

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

.business_info h2 {
    margin-top: 0;
}

.business_info p {
    margin-bottom: 10px;
}

.business_info p:last-child {
    margin-bottom: 0;
}

.business_info a {
    word-break: break-word;
}

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

.tlg-shell img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

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

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

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

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

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

/* =========================================================
   TƯƠNG THÍCH CLASS CŨ
========================================================= */

.content_xe {
    width: 100%;
    max-width: 880px;
    margin: 0 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;
}

.content_xe,
.content_xe * {
    color: #ffffff !important;
}

.service-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #0b2454 !important;
    color: #ffffff !important;
}

.service-table th,
.service-table td {
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 10px 12px;
    text-align: center;
    color: #ffffff !important;
    background: #0b2454 !important;
}

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

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

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

/* =========================================================
   MOBILE TABLE
========================================================= */

.table_wrapper::-webkit-scrollbar {
    height: 8px;
}

.table_wrapper::-webkit-scrollbar-track {
    background: #07142b;
}

.table_wrapper::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 10px;
}

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

@media (max-width: 768px) {

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

    .header_info {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .left_info {
        flex-direction: column;
        justify-content: center;
        flex: 1 1 100%;
    }

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

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

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

    .tlg-shell {
        padding: 18px;
    }

    .tlg-shell h1 {
        font-size: 27px;
    }

    .tlg-shell h2 {
        font-size: 22px;
    }

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

    .tlg-shell h4 {
        font-size: 17px;
    }

    .service_table,
    .price_table {
        min-width: 680px;
    }

    .contact_section {
        padding: 18px;
    }
}

/* =========================================================
   MOBILE NHỎ
========================================================= */

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;
        padding: 6px;
        margin: 10px auto;
    }

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

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

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

    .tlg-future {
        border-radius: 10px;
    }

    .tlg-future::before {
        padding: 8px 12px;
        font-size: 10px;
        letter-spacing: 0.04em;
    }

    .tlg-shell {
        padding: 14px 12px;
    }

    .tlg-shell h1 {
        font-size: 23px;
    }

    .tlg-shell h2 {
        font-size: 20px;
        padding: 10px 11px;
        margin-top: 24px;
    }

    .tlg-shell h3 {
        font-size: 17px;
        padding: 8px 10px;
    }

    .tlg-shell h4 {
        font-size: 16px;
    }

    .tlg-shell ul,
    .tlg-shell ol {
        padding: 14px 14px 14px 30px;
    }

    .table_wrapper {
        margin: 16px 0 20px;
        border-radius: 8px;
    }

    .service_table,
    .price_table {
        min-width: 650px;
    }

    .service_table th,
    .service_table td,
    .price_table th,
    .price_table td {
        padding: 10px;
        font-size: 14px;
    }

    .process_item {
        padding: 14px 15px;
    }

    .faq_item {
        padding: 14px 15px;
    }

    .contact_section {
        padding: 15px;
    }

    .business_info {
        padding: 16px;
    }
}

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

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

    html {
        scroll-behavior: auto;
    }

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