/* =========================================================
   RESET & BIẾN MÀU — XE GHÉP HÀ NỘI SẦM SƠN
   Tông màu theo mẫu: xanh navy + đỏ
========================================================= */

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

: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);
    --shadow: 0 0 25px rgba(255, 88, 88, 0.12);
}

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

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

img {
    max-width: 100%;
}

a {
    color: inherit;
}

/* =========================================================
   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.08);
    border-radius: 14px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(30, 80, 162, 0.12);
}

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

.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 / PROFILE / SOCIAL
========================================================= */

.header_info {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0 30px;
    padding: 18px;
    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 480px;
    color: var(--white) !important;
}

.header_profile {
    width: 110px;
    height: 110px;
    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;
}

.left_info h1,
.header_info h1 {
    margin: 0;
    color: var(--white) !important;
    font-size: clamp(23px, 3.4vw, 34px);
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

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

.logo_social {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    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%;
    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.45);
}

/* =========================================================
   BIO BOX + TLG FUTURE / TLG SHELL
========================================================= */

.bio_box {
    width: 100%;
    margin-top: 20px;
    padding: 22px;
    color: var(--white) !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);
    position: relative;
    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: 1;
}

.tlg-future {
    width: 100%;
    position: relative;
    overflow: hidden;
    color: var(--white) !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);
}

.tlg-future::before {
    content: "THANH LOAN GO // XE GHÉP";
    display: block;
    padding: 9px 16px;
    color: var(--white) !important;
    background: linear-gradient(90deg, var(--red), var(--red-dark), #0b2050);
    border-bottom: 1px solid var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tlg-shell {
    position: relative;
    padding: 25px;
    color: var(--white) !important;
    overflow-wrap: break-word;
}

/* Ép màu chữ trong phần nội dung theo mẫu */
.bio_box,
.bio_box *,
.tlg-future,
.tlg-future *,
.tlg-shell,
.tlg-shell *,
.xe-ghep-ha-noi-sam-son,
.xe-ghep-ha-noi-sam-son * {
    color: var(--white) !important;
}

/* =========================================================
   BÀI VIẾT / TYPOGRAPHY
========================================================= */

.xe-ghep-ha-noi-sam-son {
    width: 100%;
    font-size: 16px;
    line-height: 1.75;
}

.xe-ghep-ha-noi-sam-son header {
    margin-bottom: 22px;
}

.xe-ghep-ha-noi-sam-son section {
    margin: 0 0 28px;
    scroll-margin-top: 20px;
}

.tlg-shell h1,
.tlg-shell h2,
.tlg-shell h3,
.xe-ghep-ha-noi-sam-son h1,
.xe-ghep-ha-noi-sam-son h2,
.xe-ghep-ha-noi-sam-son h3 {
    position: relative;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.tlg-shell h1,
.xe-ghep-ha-noi-sam-son h1 {
    margin: 0 0 18px;
    padding-bottom: 12px;
    font-size: clamp(25px, 3vw, 32px);
    border-bottom: 2px solid rgba(255, 88, 88, 0.55);
}

.tlg-shell h2,
.xe-ghep-ha-noi-sam-son h2 {
    margin: 30px 0 15px;
    padding: 12px 16px;
    font-size: clamp(21px, 2.5vw, 24px);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), 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,
.xe-ghep-ha-noi-sam-son h3 {
    margin: 24px 0 10px;
    padding: 9px 13px;
    font-size: clamp(17px, 2vw, 20px);
    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);
}

.xe-ghep-ha-noi-sam-son header h2:first-child,
.xe-ghep-ha-noi-sam-son section h2:first-child {
    margin-top: 0;
}

.tlg-shell p,
.xe-ghep-ha-noi-sam-son p {
    margin: 12px 0 15px;
    color: var(--white) !important;
}

.tlg-shell strong,
.tlg-shell b,
.xe-ghep-ha-noi-sam-son strong,
.xe-ghep-ha-noi-sam-son b {
    color: var(--white) !important;
    font-weight: 700;
}

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

.tlg-shell a,
.xe-ghep-ha-noi-sam-son a,
.bio_box 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;
}

.tlg-shell a:hover,
.xe-ghep-ha-noi-sam-son a:hover,
.bio_box a:hover {
    color: #ffe1e1 !important;
}

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

.tlg-shell ul,
.tlg-shell ol,
.xe-ghep-ha-noi-sam-son ul,
.xe-ghep-ha-noi-sam-son ol {
    margin: 15px 0;
    padding: 16px 22px 16px 42px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
}

.tlg-shell li,
.xe-ghep-ha-noi-sam-son li {
    margin: 0 0 8px;
    color: var(--white) !important;
}

.tlg-shell li:last-child,
.xe-ghep-ha-noi-sam-son li:last-child {
    margin-bottom: 0;
}

.tlg-shell li::marker,
.xe-ghep-ha-noi-sam-son li::marker {
    color: var(--red) !important;
}

/* =========================================================
   BẢNG GIÁ — CUỘN NGANG TRÊN ĐIỆN THOẠI
========================================================= */

.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 18px rgba(0, 0, 0, 0.15), 0 0 15px rgba(255, 88, 88, 0.12);
}

.table-responsive table,
.tlg-shell table,
.xe-ghep-ha-noi-sam-son table {
    width: 100%;
    min-width: 650px;
    margin: 0;
    border-collapse: collapse;
    background: #0b2454 !important;
    color: var(--white) !important;
}

.table-responsive thead,
.tlg-shell thead,
.xe-ghep-ha-noi-sam-son thead {
    background: #123875 !important;
}

.table-responsive th,
.table-responsive td,
.tlg-shell th,
.tlg-shell td,
.xe-ghep-ha-noi-sam-son th,
.xe-ghep-ha-noi-sam-son td {
    padding: 13px 12px;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    vertical-align: top;
    text-align: left;
}

.table-responsive th,
.tlg-shell th,
.xe-ghep-ha-noi-sam-son th {
    background: #123875 !important;
    text-align: center;
    font-weight: 700;
}

.table-responsive td,
.tlg-shell td,
.xe-ghep-ha-noi-sam-son td {
    background: #0b2454 !important;
}

.table-responsive tbody tr:nth-child(even) td,
.tlg-shell tbody tr:nth-child(even) td,
.xe-ghep-ha-noi-sam-son tbody tr:nth-child(even) td {
    background: #102e65 !important;
}

.table-responsive tbody tr:hover td,
.tlg-shell tbody tr:hover td,
.xe-ghep-ha-noi-sam-son tbody tr:hover td {
    background: #173d80 !important;
}

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

.faq-section {
    margin-top: 30px;
}

.faq-item {
    margin: 13px 0;
    padding: 16px 18px;
    color: var(--white) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 4px solid var(--red);
    border-radius: 10px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(255, 88, 88, 0.65);
    background: rgba(255, 255, 255, 0.09);
}

.faq-item h3 {
    margin: 0 0 10px !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 18px !important;
}

.faq-item p {
    margin: 0 !important;
}

/* =========================================================
   KHỐI LIÊN HỆ
========================================================= */

.contact-section {
    margin-top: 30px;
    padding-top: 5px;
}

.contact-info {
    margin: 20px 0;
    padding: 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.2);
    border-left: 5px solid var(--red);
    border-radius: 12px;
}

.contact-info p {
    margin: 8px 0;
    overflow-wrap: anywhere;
}

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

.contact-info strong {
    display: inline;
}

/* Làm nổi bật liên kết gọi điện */
.xe-ghep-ha-noi-sam-son a[href^="tel:"] {
    display: inline-block;
    color: #ffffff !important;
    font-weight: 700;
}

/* =========================================================
   BLOCKQUOTE / ẢNH TRONG BÀI
========================================================= */

.tlg-shell blockquote,
.xe-ghep-ha-noi-sam-son blockquote {
    margin: 20px 0;
    padding: 16px 18px;
    color: var(--white) !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);
}

.tlg-shell img,
.xe-ghep-ha-noi-sam-son img {
    display: block;
    max-width: 100%;
    height: auto;
    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: 1 1 100%;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

    .left_info h1,
    .header_info h1 {
        font-size: clamp(22px, 4.2vw, 29px);
    }

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

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

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

    .bio_box {
        padding: 15px;
    }

    .tlg-shell {
        padding: 18px;
    }

    .xe-ghep-ha-noi-sam-son {
        font-size: 15px;
        line-height: 1.7;
    }

    .tlg-shell h2,
    .xe-ghep-ha-noi-sam-son h2 {
        margin-top: 25px;
        padding: 11px 13px;
        font-size: 21px;
    }

    .tlg-shell h3,
    .xe-ghep-ha-noi-sam-son h3 {
        font-size: 18px;
    }

    .table-responsive table,
    .tlg-shell table,
    .xe-ghep-ha-noi-sam-son table {
        min-width: 650px;
    }

    .contact-info {
        padding: 16px;
    }
}

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

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

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

    .header_info {
        gap: 14px;
        margin: 12px 0 18px;
        padding: 12px 9px;
    }

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

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

    .right_info {
        gap: 8px;
    }

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

    .bio_box {
        padding: 10px;
        border-radius: 10px;
    }

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

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

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

    .xe-ghep-ha-noi-sam-son {
        font-size: 14px;
        line-height: 1.7;
    }

    .tlg-shell h1,
    .xe-ghep-ha-noi-sam-son h1 {
        font-size: 23px;
    }

    .tlg-shell h2,
    .xe-ghep-ha-noi-sam-son h2 {
        font-size: 19px;
        padding: 10px 11px;
    }

    .tlg-shell h3,
    .xe-ghep-ha-noi-sam-son h3 {
        margin-top: 20px;
        padding: 8px 10px;
        font-size: 16px;
    }

    .tlg-shell ul,
    .tlg-shell ol,
    .xe-ghep-ha-noi-sam-son ul,
    .xe-ghep-ha-noi-sam-son ol {
        padding: 13px 12px 13px 30px;
    }

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

    .table-responsive th,
    .table-responsive td,
    .tlg-shell th,
    .tlg-shell td,
    .xe-ghep-ha-noi-sam-son th,
    .xe-ghep-ha-noi-sam-son td {
        padding: 9px;
        font-size: 13px;
    }

    .faq-item {
        padding: 13px 12px;
    }

    .faq-item h3 {
        font-size: 16px !important;
    }

    .contact-info {
        padding: 13px 11px;
    }
}

/* =========================================================
   GIẢM CHUYỂN ĐỘNG THEO THIẾT LẬP THIẾT BỊ
========================================================= */

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

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