
/* =========================================================
   CSS XE GHÉP HÀ NỘI – TRÙNG KHÁNH | THANH LOAN GO
   Tông màu xanh đậm - đỏ
   ========================================================= */

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

:root {
    --blue: #1E50A2;
    --blue-dark: #123875;
    --blue-deep: #07142b;
    --blue-light: #2d68c7;
    --red: #ff5858;
    --red-dark: #d93636;
    --white: #ffffff;
    --text-soft: #dbe7ff;
    --border: rgba(255, 255, 255, 0.18);
}

html {
    scroll-behavior: smooth;
    background: var(--blue-deep);
}

body {
    margin: 0 !important;
    min-width: 320px;
    background: var(--blue-deep) !important;
    color: var(--white) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    overflow-wrap: anywhere;
}

/* =========================================================
   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.99)
    );

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

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

/* =========================================================
   ẢNH BANNER
   ========================================================= */

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

.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;
    gap: 20px;
    flex-wrap: wrap;

    margin: 20px 0 26px;
    padding: 18px;

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

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

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

.left_info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 420px;
    min-width: 0;
    color: var(--white) !important;
}

.header_profile {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    overflow: hidden;

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

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

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

.left_info h1,
.header_info h1 {
    margin: 0;
    color: var(--white) !important;

    font-size: clamp(22px, 3.2vw, 32px);
    line-height: 1.3;
    overflow-wrap: anywhere;

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

.left_info h1 strong {
    color: var(--white) !important;
}

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

.right_info a {
    display: inline-flex;
    border-radius: 10px;
    text-decoration: none;
}

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

    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 88, 88, 0.42);
    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%;
    object-fit: contain;
    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.38);
}

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

.bio_box {
    width: 100%;
    margin-top: 20px;
    padding: 0;
    overflow: hidden;
    position: relative;

    color: var(--white) !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);
}

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

    color: var(--white) !important;
    background: transparent !important;
    border: 0;
    border-radius: 12px;
}

.tlg-future::before {
    content: "THANH LOAN GO / DỊCH VỤ XE GHÉP";
    display: block;
    padding: 10px 18px;

    color: var(--white) !important;

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

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

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

.tlg-shell {
    position: relative;
    width: 100%;
    padding: 25px;
    color: var(--white) !important;
}

/* =========================================================
   NỘI DUNG BÀI VIẾT
   ========================================================= */

.content_xe_ghep_trung_khanh {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    color: var(--white) !important;
    overflow-wrap: anywhere;
}

.content_xe_ghep_trung_khanh,
.content_xe_ghep_trung_khanh * {
    box-sizing: border-box;
}

.content_xe_ghep_trung_khanh p {
    margin: 0 0 16px;
    color: var(--text-soft) !important;
    line-height: 1.8;
}

.content_xe_ghep_trung_khanh strong,
.content_xe_ghep_trung_khanh b {
    color: var(--white) !important;
    font-weight: 700;
}

/* TIÊU ĐỀ H2 */

.content_xe_ghep_trung_khanh h2 {
    margin: 34px 0 16px;
    padding: 13px 16px;

    color: var(--white) !important;
    font-size: clamp(21px, 2.5vw, 26px);
    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-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 5px 10px 10px 5px;

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

/* TIÊU ĐỀ H3 */

.content_xe_ghep_trung_khanh h3 {
    margin: 25px 0 12px;
    padding: 10px 14px;

    color: var(--white) !important;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.45;

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

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

.content_xe_ghep_trung_khanh h2:first-child,
.content_xe_ghep_trung_khanh h3:first-child {
    margin-top: 0;
}

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

.content_xe_ghep_trung_khanh a {
    color: #ffffff !important;
    font-weight: 700;

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

    transition: color 0.2s ease;
}

.content_xe_ghep_trung_khanh a:hover {
    color: #ffe1e1 !important;
}

.content_xe_ghep_trung_khanh a:focus-visible,
.right_info a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

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

.content_xe_ghep_trung_khanh ul,
.content_xe_ghep_trung_khanh ol {
    margin: 15px 0 20px;
    padding: 17px 22px 17px 44px;

    color: var(--text-soft) !important;
    background: rgba(255, 255, 255, 0.055);

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

.content_xe_ghep_trung_khanh li {
    margin: 0 0 9px;
    padding-left: 3px;

    color: var(--text-soft) !important;
    line-height: 1.75;
}

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

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

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

.table-responsive {
    width: 100%;
    margin: 22px 0;

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

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

    box-shadow: 0 0 16px rgba(255, 88, 88, 0.10);
}

.table-responsive table,
.content_xe_ghep_trung_khanh > table {
    width: 100%;
    min-width: 650px;
    margin: 0;

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

    color: var(--white) !important;
    background: #0b2454 !important;
}

.content_xe_ghep_trung_khanh th,
.content_xe_ghep_trung_khanh td {
    padding: 13px 12px;

    color: var(--text-soft) !important;
    text-align: left;
    vertical-align: top;

    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #0b2454 !important;
}

.content_xe_ghep_trung_khanh thead th {
    color: var(--white) !important;
    background: #123875 !important;
    font-weight: 700;
}

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

.content_xe_ghep_trung_khanh tbody tr:hover td {
    background: #173d80 !important;
}

.content_xe_ghep_trung_khanh td strong {
    color: var(--white) !important;
}

/* =========================================================
   KHUNG LIÊN HỆ CUỐI BÀI
   ========================================================= */

.contact_xe_ghep {
    margin: 30px 0 5px;
    padding: 22px;

    color: var(--text-soft) !important;

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

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

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

.contact_xe_ghep h3 {
    margin: 0 0 18px !important;
    padding: 0 0 13px !important;

    color: var(--white) !important;
    font-size: clamp(19px, 2.5vw, 24px) !important;

    background: transparent !important;
    border-left: 0 !important;
    border-bottom: 1px solid rgba(255, 88, 88, 0.65);
    border-radius: 0 !important;
}

.contact_xe_ghep p {
    margin: 10px 0;
    color: var(--text-soft) !important;
    overflow-wrap: anywhere;
}

.contact_xe_ghep strong {
    color: var(--white) !important;
}

.contact_xe_ghep a[href^="tel:"] {
    display: inline-block;
    padding: 2px 8px;

    color: var(--white) !important;
    background: rgba(255, 88, 88, 0.16);

    border: 1px solid rgba(255, 88, 88, 0.55);
    border-radius: 6px;

    text-decoration: none;
}

.contact_xe_ghep a[href^="tel:"]:hover {
    background: rgba(255, 88, 88, 0.28);
}

/* =========================================================
   ẢNH TRONG BÀI VIẾT
   ========================================================= */

.content_xe_ghep_trung_khanh img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 10px;
}

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

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        width: 96%;
        margin: 15px auto;
        padding: 8px;
        border-radius: 12px;
    }

    .header_info {
        flex-direction: column;
        gap: 15px;
        margin: 14px 0 20px;
        padding: 16px 12px;
        text-align: center;
    }

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

    .header_profile {
        flex-basis: 86px;
        width: 86px;
        height: 86px;
    }

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

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

    .logo_social {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
    }

    .tlg-shell {
        padding: 20px 16px;
    }

    .content_xe_ghep_trung_khanh h2 {
        margin-top: 28px;
        padding: 12px;
    }

    .content_xe_ghep_trung_khanh ul,
    .content_xe_ghep_trung_khanh ol {
        padding: 15px 16px 15px 35px;
    }

    .contact_xe_ghep {
        padding: 18px 15px;
    }
}

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

@media (max-width: 480px) {
    body {
        font-size: 14px;
        line-height: 1.7;
    }

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

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

    .header_info {
        padding: 13px 8px;
        border-radius: 10px;
    }

    .header_profile {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

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

    .right_info {
        gap: 8px;
    }

    .logo_social {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .bio_box {
        margin-top: 14px;
        border-radius: 10px;
    }

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

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

    .content_xe_ghep_trung_khanh h2 {
        margin: 25px 0 13px;
        padding: 10px;
        font-size: 19px;
    }

    .content_xe_ghep_trung_khanh h3 {
        margin: 20px 0 10px;
        padding: 9px 10px;
        font-size: 16px;
    }

    .content_xe_ghep_trung_khanh p {
        margin-bottom: 13px;
    }

    .content_xe_ghep_trung_khanh ul,
    .content_xe_ghep_trung_khanh ol {
        padding: 13px 10px 13px 28px;
        border-radius: 8px;
    }

    .content_xe_ghep_trung_khanh li {
        padding-left: 1px;
    }

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

    .table-responsive table,
    .content_xe_ghep_trung_khanh > table {
        min-width: 620px;
    }

    .content_xe_ghep_trung_khanh th,
    .content_xe_ghep_trung_khanh td {
        padding: 10px;
        font-size: 13px;
    }

    .contact_xe_ghep {
        margin-top: 22px;
        padding: 15px 11px;
        border-radius: 10px;
    }

    .contact_xe_ghep h3 {
        font-size: 18px !important;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
