/* =========================================================
    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;
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* =========================================================
    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 !important;

    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 {
    display: block;

    width: 100%;
    height: auto;

    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;
    flex: 1 1 320px;

    color: #ffffff !important;
}

.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(22px, 3.5vw, 32px);

    line-height: 1.35;
    overflow-wrap: anywhere;

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

.right_info {
    display: flex !important;

    gap: 12px;

    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    margin-left: auto;
}

.right_info a {
    display: block;
    text-decoration: none;
}

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

    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;

    border-radius: 0;

    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 {
    position: relative;

    width: 100%;

    margin-top: 20px;
    padding: 12px;

    color: #ffffff !important;

    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;

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

    overflow: hidden;
}

.bio_box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background: var(--red);

    box-shadow:
        0 0 10px var(--red),
        0 0 22px var(--red);

    z-index: 2;
}

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

.tlg-future {
    width: 100%;

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

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

    color: #ffffff !important;

    overflow: hidden;

    position: relative;
}

.tlg-future::before {
    content: "THANH LOAN GO  |  XE GHÉP";

    display: block;

    padding: 9px 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.12em;
    text-transform: uppercase;
}

.tlg-shell {
    position: relative;

    width: 100%;
    padding: 22px;

    color: #ffffff !important;
}

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

.tlg-shell,
.tlg-shell p,
.tlg-shell li,
.tlg-shell span,
.tlg-shell strong,
.tlg-shell b,
.tlg-shell td,
.tlg-shell th,
.service-content,
.service-content p,
.service-content li,
.service-content strong,
.service-content b,
.service-content td,
.service-content th {
    color: #ffffff !important;
}

/* =========================================================
    MAIN CONTENT
========================================================= */

.service-content {
    width: 100%;
    max-width: 100%;

    margin: 0 auto;

    color: #ffffff !important;

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

    overflow-wrap: break-word;
    word-wrap: break-word;
}

.service-content section {
    display: block;

    width: 100%;

    margin: 0 0 30px;
    padding: 0 0 25px;

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

    scroll-margin-top: 20px;
}

.service-content section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-content p {
    margin: 12px 0 16px;

    color: #ffffff !important;

    line-height: 1.85;
}

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

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

.service-content h2 {
    position: relative;

    margin: 32px 0 18px;
    padding: 13px 16px;

    color: #ffffff !important;

    font-size: clamp(21px, 2.7vw, 25px);
    line-height: 1.45;

    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;

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

.service-content section > h2:first-child {
    margin-top: 8px;
}

.service-content h3 {
    margin: 25px 0 12px;
    padding: 10px 14px;

    color: #ffffff !important;

    font-size: clamp(18px, 2.4vw, 21px);
    line-height: 1.5;

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

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

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.15);
}

.service-content h4 {
    margin: 22px 0 10px;

    color: #ffffff !important;

    font-size: 17px;
    line-height: 1.5;

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

    padding-bottom: 7px;
}

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

.service-content ul,
.service-content ol {
    margin: 16px 0 20px;

    padding: 17px 22px 17px 42px;

    color: #ffffff !important;

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

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

    border-radius: 10px;
}

.service-content li {
    margin: 7px 0;

    padding-left: 3px;

    color: #ffffff !important;

    line-height: 1.75;
}

.service-content li::marker {
    color: var(--red);
    font-weight: 700;
}

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

.service-content 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;
}

.service-content a:hover {
    color: #ffe1e1 !important;

    text-decoration-color: #ffffff;

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

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

.table-responsive {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 20px 0 24px;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

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

    background: #0b2454;

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

.service-content table,
.price-table {
    width: 100%;
    min-width: 560px;

    margin: 0;

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

    background: #0b2454 !important;

    color: #ffffff !important;

    font-size: 15px;
    line-height: 1.65;
}

.service-content thead,
.price-table thead {
    background: #123875 !important;
}

.service-content th,
.price-table th {
    padding: 14px 12px;

    color: #ffffff !important;
    background: #123875 !important;

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

    text-align: left;
    vertical-align: middle;

    font-weight: 700;
}

.service-content td,
.price-table td {
    padding: 13px 12px;

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

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

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

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

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

.service-content table strong,
.service-content table b {
    color: #ffffff !important;
}

/* =========================================================
    HOTLINE / CTA
========================================================= */

.service-content p:has(> a > strong) {
    line-height: 1.8;
}

.service-content a[href^="tel:"] {
    text-decoration: none;

    color: #ffffff !important;
}

.service-content a[href^="tel:"] strong {
    color: #ffffff !important;
}

.service-content section > p:has(a[href^="tel:"]) {
    margin-top: 18px;
}

.service-content a[href^="tel:"]:has(strong),
.service-content a[href*="zalo.me/"]:has(strong) {
    display: inline-block;

    max-width: 100%;

    margin: 5px 0;
    padding: 11px 18px;

    color: #ffffff !important;

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

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

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.18),
        0 0 10px rgba(255, 88, 88, 0.08);

    text-align: center;
    text-decoration: none;

    overflow-wrap: anywhere;
}

.service-content a[href^="tel:"]:has(strong):hover,
.service-content a[href*="zalo.me/"]:has(strong):hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            #2d68c7,
            #123875
        );

    box-shadow:
        0 5px 17px rgba(0, 0, 0, 0.25),
        0 0 15px rgba(255, 88, 88, 0.16);
}

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

.service-content img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 15px auto;

    border-radius: 9px;
}

/* =========================================================
    BẢO ĐẢM MÀU CHỮ
========================================================= */

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

.service-content li::marker {
    color: var(--red) !important;
}

.service-content a:hover {
    color: #ffe1e1 !important;
}

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

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 96%;

        margin: 15px auto;

        padding: 8px;
    }

    .header_info {
        flex-direction: column;

        justify-content: center;
        text-align: center;

        padding: 16px;
    }

    .left_info {
        width: 100%;

        flex-direction: column;

        justify-content: center;
        align-items: center;

        flex: 1 1 100%;
    }

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

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

    .right_info {
        justify-content: center;

        width: 100%;

        margin-left: 0;
    }

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

    .bio_box {
        padding: 8px;
    }

    .tlg-shell {
        padding: 17px;
    }

    .service-content {
        font-size: 15px;
    }

    .service-content h2 {
        font-size: 21px;

        padding: 12px 13px;
    }

    .service-content h3 {
        font-size: 18px;

        padding: 9px 11px;
    }

    .service-content ul,
    .service-content ol {
        padding: 14px 16px 14px 34px;
    }

    .service-content table,
    .price-table {
        min-width: 530px;
    }
}

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

@media (max-width: 480px) {

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

    .container {
        width: 98%;

        margin: 8px auto;

        padding: 5px;

        border-radius: 10px;
    }

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

    .header_info {
        gap: 14px;

        margin: 12px 0 18px;
        padding: 13px 10px;

        border-radius: 10px;
    }

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

        border-width: 2px;
    }

    .left_info {
        gap: 11px;
    }

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

        line-height: 1.4;
    }

    .right_info {
        gap: 9px;
    }

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

        border-radius: 8px;
    }

    .bio_box {
        padding: 5px;

        border-radius: 10px;
    }

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

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

        font-size: 10px;
        letter-spacing: 0.08em;
    }

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

    .service-content {
        font-size: 14px;

        line-height: 1.75;
    }

    .service-content section {
        margin-bottom: 23px;
        padding-bottom: 19px;
    }

    .service-content p {
        margin: 10px 0 13px;

        line-height: 1.8;
    }

    .service-content h2 {
        margin: 23px 0 13px;

        padding: 10px 10px;

        font-size: 19px;

        line-height: 1.5;

        border-left-width: 4px;
    }

    .service-content section > h2:first-child {
        margin-top: 5px;
    }

    .service-content h3 {
        margin: 19px 0 10px;

        padding: 9px 10px;

        font-size: 17px;

        line-height: 1.5;

        border-left-width: 3px;
    }

    .service-content h4 {
        margin: 17px 0 8px;

        font-size: 15px;
    }

    .service-content ul,
    .service-content ol {
        margin: 12px 0 16px;

        padding: 12px 10px 12px 28px;

        border-radius: 8px;
    }

    .service-content li {
        margin: 6px 0;

        padding-left: 1px;
    }

    .table-responsive {
        margin: 15px 0 19px;

        border-width: 1px;

        border-radius: 8px;
    }

    .service-content table,
    .price-table {
        min-width: 510px;

        font-size: 13px;
    }

    .service-content th,
    .service-content td,
    .price-table th,
    .price-table td {
        padding: 9px 8px;
    }

    .service-content a[href^="tel:"]:has(strong),
    .service-content a[href*="zalo.me/"]:has(strong) {
        display: block;

        width: 100%;

        margin: 9px 0;
        padding: 10px 11px;

        font-size: 14px;
    }
}

/* =========================================================
    MOBILE RẤT NHỎ
========================================================= */

@media (max-width: 360px) {

    .container {
        width: 99%;
        padding: 4px;
    }

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

    .service-content h2 {
        font-size: 18px;
    }

    .service-content h3 {
        font-size: 16px;
    }

    .tlg-shell {
        padding: 10px 7px;
    }

    .service-content table,
    .price-table {
        min-width: 480px;
    }
}

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

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

    html {
        scroll-behavior: auto;
    }

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