/* =========================================================
   XE GHÉP HÀ NỘI - NGHỆ AN
   CSS RIÊNG CHO TRANG DỊCH VỤ
   Giao diện: xanh navy + xanh dương + điểm nhấn đỏ
========================================================= */

/* =========================================================
   RESET & BIẾN CHUNG
========================================================= */

:root {
    --xe-blue: #1E50A2;
    --xe-blue-dark: #0b2454;
    --xe-blue-deep: #061735;
    --xe-blue-light: #2d68c7;
    --xe-red: #ff5858;
    --xe-red-dark: #d93636;
    --xe-white: #ffffff;
    --xe-text-soft: #dbe7ff;
    --xe-border: rgba(255, 255, 255, 0.18);
    --xe-shadow: 0 0 25px rgba(255, 88, 88, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--xe-blue-deep);
    scroll-padding-top: 20px;
}

body {
    margin: 0;
    padding: 0;
    background: var(--xe-blue-deep);
    color: var(--xe-white);
    font-family: Arial, Helvetica, sans-serif;
    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(--xe-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 BANNER
========================================================= */

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

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

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

.header_info {
    display: flex;
    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.95),
        rgba(18, 57, 122, 0.82)
    );
    border: 1px solid rgba(255, 88, 88, 0.35);
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(255, 88, 88, 0.08);
}

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

.header_profile {
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--xe-blue-dark);
    border: 3px solid var(--xe-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(--xe-white);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.left_info h1 strong,
.header_info h1 strong {
    color: inherit;
}

/* =========================================================
   LIÊN KẾT MẠNG XÃ HỘI
========================================================= */

.right_info {
    display: flex;
    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;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    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;
}

.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 & KHUNG FUTURE
========================================================= */

.bio_box {
    position: relative;
    width: 100%;
    margin-top: 20px;
    padding: 22px;
    overflow: hidden;
    color: var(--xe-white);
    background: linear-gradient(
        180deg,
        rgba(18, 57, 122, 0.95),
        rgba(7, 20, 43, 0.98)
    );
    border: 2px solid var(--xe-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);
}

.bio_box::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 3px;
    background: var(--xe-red);
    box-shadow:
        0 0 10px var(--xe-red),
        0 0 22px var(--xe-red);
    content: "";
}

.tlg-future {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: var(--xe-white);
    background: linear-gradient(
        180deg,
        rgba(18, 57, 122, 0.95),
        rgba(7, 20, 43, 0.98)
    );
    border: 1px solid rgba(255, 88, 88, 0.55);
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(255, 88, 88, 0.08);
}

.tlg-future::before {
    display: block;
    padding: 10px 16px;
    color: var(--xe-white);
    background: linear-gradient(
        90deg,
        var(--xe-red),
        var(--xe-red-dark),
        #0b2050
    );
    border-bottom: 1px solid var(--xe-red);
    content: "TLG // FUTURE TRANSIT";
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tlg-shell {
    position: relative;
    padding: 25px;
    color: var(--xe-white);
}

/* =========================================================
   NỘI DUNG RIÊNG CỦA BÀI XE GHÉP
========================================================= */

.xe-ghep-ha-noi-nghe-an-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    color: var(--xe-white);
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.xe-ghep-ha-noi-nghe-an-content * {
    box-sizing: border-box;
}

.xe-ghep-ha-noi-nghe-an-content p {
    margin: 0 0 16px;
    color: var(--xe-text-soft);
}

.xe-ghep-ha-noi-nghe-an-content strong,
.xe-ghep-ha-noi-nghe-an-content b {
    color: var(--xe-white);
    font-weight: 700;
}

.xe-ghep-ha-noi-nghe-an-content section {
    margin: 30px 0 0;
    padding: 0 0 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    scroll-margin-top: 20px;
}

.xe-ghep-ha-noi-nghe-an-content section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

/* =========================================================
   TIÊU ĐỀ BÀI & HEADING
========================================================= */

.xe-ghep-ha-noi-nghe-an-content .article-header > h2 {
    margin: 0 0 18px;
    padding: 0 0 16px;
    color: var(--xe-white);
    background: transparent;
    border: 0;
    border-bottom: 2px solid rgba(255, 88, 88, 0.65);
    border-radius: 0;
    font-size: clamp(25px, 3.4vw, 32px);
    line-height: 1.35;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.xe-ghep-ha-noi-nghe-an-content section > h2 {
    margin: 0 0 18px;
    padding: 13px 16px;
    color: var(--xe-white);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.07),
        rgba(255, 255, 255, 0.015)
    );
    border: 0;
    border-left: 5px solid var(--xe-red);
    border-radius: 5px 10px 10px 5px;
    font-size: clamp(21px, 2.7vw, 25px);
    line-height: 1.4;
}

.xe-ghep-ha-noi-nghe-an-content h3 {
    margin: 25px 0 12px;
    padding: 10px 14px;
    color: var(--xe-white);
    background: linear-gradient(
        135deg,
        #123875,
        #0b2454
    );
    border: 0;
    border-left: 4px solid var(--xe-red);
    border-radius: 5px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.17);
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.45;
}

.xe-ghep-ha-noi-nghe-an-content h3:first-child {
    margin-top: 0;
}

/* =========================================================
   LINK TRONG NỘI DUNG
========================================================= */

.xe-ghep-ha-noi-nghe-an-content a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--xe-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.xe-ghep-ha-noi-nghe-an-content a:hover {
    color: #ffdede;
}

.xe-ghep-ha-noi-nghe-an-content a:focus-visible,
.right_info a:focus-visible {
    outline: 2px solid var(--xe-red);
    outline-offset: 4px;
    border-radius: 3px;
}

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

.xe-ghep-ha-noi-nghe-an-content ul,
.xe-ghep-ha-noi-nghe-an-content ol {
    margin: 16px 0 20px;
    padding: 17px 22px 17px 44px;
    color: var(--xe-text-soft);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
}

.xe-ghep-ha-noi-nghe-an-content li {
    margin: 0 0 9px;
    padding-left: 3px;
    color: var(--xe-text-soft);
}

.xe-ghep-ha-noi-nghe-an-content li:last-child {
    margin-bottom: 0;
}

.xe-ghep-ha-noi-nghe-an-content li::marker {
    color: var(--xe-red);
    font-weight: 700;
}

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

.xe-ghep-ha-noi-nghe-an-content blockquote {
    position: relative;
    margin: 22px 0;
    padding: 18px 20px;
    color: var(--xe-white);
    background: linear-gradient(
        135deg,
        #123875,
        #0b2454
    );
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 5px solid var(--xe-red);
    border-radius: 9px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
}

.xe-ghep-ha-noi-nghe-an-content blockquote p {
    margin: 0 0 8px;
    color: var(--xe-white);
}

.xe-ghep-ha-noi-nghe-an-content blockquote p:last-child {
    margin-bottom: 0;
}

.xe-ghep-ha-noi-nghe-an-content blockquote a[href^="tel:"] {
    display: inline-block;
    color: var(--xe-white);
    font-size: 1.12em;
    white-space: nowrap;
}

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

.xe-ghep-ha-noi-nghe-an-content .table-responsive {
    width: 100%;
    margin: 22px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--xe-blue-dark);
    border: 2px solid var(--xe-red);
    border-radius: 11px;
    box-shadow: 0 0 16px rgba(255, 88, 88, 0.1);
}

.xe-ghep-ha-noi-nghe-an-content table {
    width: 100%;
    min-width: 640px;
    margin: 0;
    border-collapse: collapse;
    color: var(--xe-white);
    background: var(--xe-blue-dark);
    font-size: 15px;
    line-height: 1.6;
}

.xe-ghep-ha-noi-nghe-an-content thead th {
    padding: 14px 12px;
    color: var(--xe-white);
    background: #123875;
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-align: center;
    vertical-align: middle;
}

.xe-ghep-ha-noi-nghe-an-content tbody th,
.xe-ghep-ha-noi-nghe-an-content tbody td {
    padding: 13px 12px;
    color: var(--xe-text-soft);
    background: #0b2454;
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
    vertical-align: middle;
}

.xe-ghep-ha-noi-nghe-an-content tbody th {
    color: var(--xe-white);
    font-weight: 700;
    text-align: left;
}

.xe-ghep-ha-noi-nghe-an-content tbody tr:nth-child(even) td,
.xe-ghep-ha-noi-nghe-an-content tbody tr:nth-child(even) th {
    background: #102e65;
}

.xe-ghep-ha-noi-nghe-an-content tbody tr:hover td,
.xe-ghep-ha-noi-nghe-an-content tbody tr:hover th {
    background: #173d80;
}

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

.xe-ghep-ha-noi-nghe-an-content .faq-item {
    margin: 14px 0;
    padding: 17px 19px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.xe-ghep-ha-noi-nghe-an-content .faq-item h3 {
    margin: 0 0 10px;
    padding: 0 0 10px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 88, 88, 0.4);
    border-radius: 0;
    box-shadow: none;
    color: var(--xe-white);
    font-size: 18px;
}

.xe-ghep-ha-noi-nghe-an-content .faq-item p {
    margin: 0;
}

/* =========================================================
   PHẦN LIÊN HỆ
========================================================= */

.xe-ghep-ha-noi-nghe-an-content .contact-section {
    margin-top: 32px;
    padding: 22px;
    background: linear-gradient(
        145deg,
        rgba(18, 56, 117, 0.7),
        rgba(11, 36, 84, 0.85)
    );
    border: 1px solid rgba(255, 88, 88, 0.5);
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(255, 88, 88, 0.08);
}

.xe-ghep-ha-noi-nghe-an-content .contact-section > h2:first-child {
    margin-top: 0;
}

.xe-ghep-ha-noi-nghe-an-content .contact-section > p:last-child {
    margin-bottom: 0;
}

.xe-ghep-ha-noi-nghe-an-content .contact-section a[href^="tel:"] {
    color: var(--xe-white);
    font-size: 1.05em;
    font-weight: 800;
    white-space: nowrap;
}

/* =========================================================
   HÌNH ẢNH BÊN TRONG BÀI VIẾT
========================================================= */

.xe-ghep-ha-noi-nghe-an-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 9px;
}

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

@media (max-width: 768px) {
    .container {
        width: 96%;
        margin: 15px auto;
        padding: 8px;
    }

    .header_info {
        flex-direction: column;
        justify-content: center;
        padding: 16px;
        text-align: center;
    }

    .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.5vw, 30px);
    }

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

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

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

    .bio_box {
        padding: 14px;
    }

    .tlg-shell {
        padding: 18px;
    }

    .xe-ghep-ha-noi-nghe-an-content {
        font-size: 15.5px;
    }

    .xe-ghep-ha-noi-nghe-an-content section {
        margin-top: 25px;
        padding-bottom: 20px;
    }

    .xe-ghep-ha-noi-nghe-an-content section > h2 {
        padding: 12px 13px;
    }

    .xe-ghep-ha-noi-nghe-an-content ul,
    .xe-ghep-ha-noi-nghe-an-content ol {
        padding: 15px 18px 15px 38px;
    }

    .xe-ghep-ha-noi-nghe-an-content .contact-section {
        padding: 17px;
    }
}

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

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

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

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

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

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

    .right_info {
        gap: 8px;
    }

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

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

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

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

    .xe-ghep-ha-noi-nghe-an-content {
        font-size: 14px;
        line-height: 1.75;
    }

    .xe-ghep-ha-noi-nghe-an-content .article-header > h2 {
        font-size: 23px;
        line-height: 1.4;
    }

    .xe-ghep-ha-noi-nghe-an-content section > h2 {
        margin-bottom: 14px;
        padding: 10px 11px;
        font-size: 19px;
    }

    .xe-ghep-ha-noi-nghe-an-content h3 {
        margin-top: 20px;
        padding: 9px 10px;
        font-size: 16px;
    }

    .xe-ghep-ha-noi-nghe-an-content p {
        margin-bottom: 13px;
    }

    .xe-ghep-ha-noi-nghe-an-content ul,
    .xe-ghep-ha-noi-nghe-an-content ol {
        padding: 13px 12px 13px 31px;
        margin: 13px 0 17px;
    }

    .xe-ghep-ha-noi-nghe-an-content li {
        padding-left: 1px;
        margin-bottom: 8px;
    }

    .xe-ghep-ha-noi-nghe-an-content blockquote {
        padding: 14px 13px;
    }

    .xe-ghep-ha-noi-nghe-an-content .table-responsive {
        border-radius: 8px;
    }

    .xe-ghep-ha-noi-nghe-an-content table {
        min-width: 610px;
        font-size: 13px;
    }

    .xe-ghep-ha-noi-nghe-an-content thead th,
    .xe-ghep-ha-noi-nghe-an-content tbody th,
    .xe-ghep-ha-noi-nghe-an-content tbody td {
        padding: 10px 9px;
    }

    .xe-ghep-ha-noi-nghe-an-content .faq-item {
        padding: 13px 12px;
    }

    .xe-ghep-ha-noi-nghe-an-content .faq-item h3 {
        font-size: 16px;
    }

    .xe-ghep-ha-noi-nghe-an-content .contact-section {
        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 {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}