/* =====================================================================
   HTT LOGISTICS - Template trang chủ
   Logistics & Xuất nhập khẩu cửa khẩu Hữu Nghị - Tân Thanh
   ---------------------------------------------------------------------
   Mục lục:
   01. Biến CSS (màu, font, khoảng cách)
   02. Reset & base
   03. Tiện ích dùng chung (section, heading, button, badge)
   04. Header (topbar, navbar, offcanvas mobile)
   05. Hero slideshow
   06. Giới thiệu
   07. Dịch vụ
   08. Tuyến vận chuyển / bảng giá
   09. Tra cứu vận đơn & lịch xe
   10. Lý do chọn chúng tôi
   11. Đối tác & cảm nhận khách hàng
   12. Tin tức
   13. Liên hệ / form báo giá
   14. Footer
   15. Thành phần nổi (mobile CTA, back-to-top, modal, toast)
   16. Responsive
   ===================================================================== */

/* ---------- 01. Biến CSS ---------- */
:root {
    /* 2 màu chủ đạo */
    --navy: #12365B;
    --navy-dark: #0B2540;
    --navy-light: #1C4A78;
    --orange: #F28C28;
    --orange-dark: #D9731A;

    /* Màu trung tính */
    --text: #1E2B3A;
    --muted: #5C6B7D;
    --border: #E2E8F0;
    --bg-soft: #F4F7FB;
    --white: #FFFFFF;

    /* Màu kênh chat (nhận diện thương hiệu bên thứ 3) */
    --zalo: #0068FF;
    --wechat: #07C160;
    --telegram: #229ED9;

    /* Font + font dự phòng an toàn (hỗ trợ tiếng Việt) */
    --font-heading: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Khoảng cách thống nhất */
    --section-py: 96px;
    --gap: 24px;
    --head-gap: 48px;

    /* Bo góc, bóng, chuyển động */
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 4px 14px rgba(18, 54, 91, .06);
    --shadow: 0 14px 40px rgba(18, 54, 91, .10);
    --shadow-lg: 0 24px 60px rgba(18, 54, 91, .18);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --transition: all .3s var(--ease);

    /* Kích thước button thống nhất */
    --btn-h: 52px;
    --btn-px: 28px;

    --header-h: 84px;
}

/* ---------- 02. Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

p {
    margin: 0;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

img.img-missing {
    visibility: hidden;
}

button {
    font-family: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

::selection {
    background: var(--orange);
    color: var(--white);
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 2000;
    background: var(--orange);
    color: var(--white);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
}

/* ---------- 03. Tiện ích dùng chung ---------- */
.section {
    padding: var(--section-py) 0;
    position: relative;
}

.bg-soft {
    background: var(--bg-soft);
}

.bg-navy {
    background: var(--navy);
    color: rgba(255, 255, 255, .82);
}

/* Section heading */
.section-head {
    max-width: 720px;
    margin: 0 auto var(--head-gap);
    text-align: center;
}

.section-head.text-start {
    margin-left: 0;
    margin-right: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.eyebrow-light {
    color: var(--orange);
}

.section-title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 16px;
    text-wrap: balance;
}

.section-title span {
    color: var(--orange);
}

.section-desc {
    color: var(--muted);
    font-size: 17px;
}

.bg-navy .section-title,
.contact-info .section-title {
    color: var(--white);
}

.bg-navy .section-desc,
.contact-info .section-desc {
    color: rgba(255, 255, 255, .75);
}

.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--gap);
    margin-bottom: var(--head-gap);
}

.section-head-row .section-head {
    margin-bottom: 0;
}

.section-head-row .section-title {
    margin-bottom: 0;
}

.block-title {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.block-title i {
    color: var(--orange);
}

.note-text {
    font-size: 13px;
    color: var(--muted);
    margin-top: var(--gap);
}

.note-text i {
    color: var(--orange);
    margin-right: 4px;
}

/* Buttons - cùng chiều cao, cùng bo góc */
.btn-main,
.btn-navy,
.btn-outline-light-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: var(--btn-h);
    padding: 0 var(--btn-px);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-main {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(242, 140, 40, .32);
}

.btn-main:hover,
.btn-main:focus-visible {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.btn-navy:hover,
.btn-navy:focus-visible {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.btn-outline-light-main {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .7);
    color: var(--white);
    backdrop-filter: blur(4px);
}

.btn-outline-light-main:hover,
.btn-outline-light-main:focus-visible {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.btn-block {
    width: 100%;
}

.btn-navy i,
.link-more i {
    transition: transform .3s var(--ease);
}

.btn-navy:hover i,
.link-more:hover i {
    transform: translateX(4px);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--navy);
}

.link-more:hover {
    color: var(--orange);
}

/* Badge DEMO / mẫu */
.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(242, 140, 40, .12);
    color: var(--orange-dark);
    border: 1px dashed var(--orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Nút chat Zalo / WeChat / Telegram */
.chat-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    border: 0;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.chat-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.chat-zalo { background: var(--zalo); }
.chat-wechat { background: var(--wechat); }
.chat-telegram { background: var(--telegram); }

/* ---------- 04. Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--white);
    transition: box-shadow .3s var(--ease);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(18, 54, 91, .12);
}

/* Topbar */
.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    transition: margin-top .3s var(--ease);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
}

.topbar-info {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.topbar-info li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-info i {
    color: var(--orange);
}

.topbar-info a:hover {
    color: var(--orange);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
}

.lang-btn {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--white);
}

.lang-btn.active {
    background: var(--orange);
    color: var(--white);
}

.topbar-social {
    display: flex;
    gap: 8px;
}

.chat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
}

.chat-chip:hover {
    color: var(--white);
    filter: brightness(1.1);
}

/* Navbar */
.main-nav {
    padding: 0;
    min-height: var(--header-h);
}

.main-nav > .container {
    min-height: var(--header-h);
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.brand-mark {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--white);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.01em;
}

.brand-text small {
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nav-links {
    gap: 4px;
}

.nav-links .nav-link {
    position: relative;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    padding: 10px 14px !important;
}

.nav-links .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform .3s var(--ease);
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
    color: var(--orange);
}

.nav-links .nav-link:hover::after,
.nav-links .nav-link.active::after {
    transform: scaleX(1);
}

.header-hotline {
    align-items: center;
    gap: 12px;
    padding: 6px 18px 6px 6px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.header-hotline:hover {
    border-color: var(--orange);
}

.hotline-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: var(--white);
    animation: ring 2.4s infinite;
}

.hotline-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hotline-text small {
    font-size: 12px;
    color: var(--muted);
}

.hotline-text strong {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--navy);
}

@keyframes ring {
    0%, 100% { box-shadow: 0 0 0 0 rgba(242, 140, 40, .5); }
    50% { box-shadow: 0 0 0 10px rgba(242, 140, 40, 0); }
}

/* Hamburger */
.nav-toggler {
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--white);
}

.nav-toggler:focus {
    box-shadow: none;
}

.nav-toggler span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
}

/* Offcanvas: chỉ hoạt động như menu trượt trên mobile */
@media (min-width: 992px) {
    .main-menu.offcanvas {
        position: static;
        visibility: visible !important;
        transform: none !important;
        background: transparent;
        border: 0;
        width: auto;
        flex-grow: 1;
        z-index: auto;
        transition: none;
    }

    .main-menu .offcanvas-header {
        display: none;
    }

    .main-menu .offcanvas-body {
        display: flex;
        justify-content: center;
        padding: 0;
        overflow: visible;
    }
}

/* ---------- 05. Hero slideshow ---------- */
.hero {
    position: relative;
    background: var(--navy-dark);
}

.hero .carousel-item {
    position: relative;
    min-height: 680px;
    height: calc(100vh - 128px);
    max-height: 820px;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: none;
}

.hero .carousel-item.active .hero-img {
    animation: kenburns 9s ease-out forwards;
}

@keyframes kenburns {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 37, 64, .92) 0%, rgba(18, 54, 91, .72) 45%, rgba(18, 54, 91, .15) 100%),
        linear-gradient(0deg, rgba(11, 37, 64, .7) 0%, rgba(11, 37, 64, 0) 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 110px;
    color: var(--white);
}

.hero-content > * {
    max-width: 680px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.02em;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--orange);
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions a {
    min-width: 200px;
}

/* Animation nội dung slide */
.hero .carousel-item .hero-content > * {
    opacity: 0;
    transform: translateY(24px);
}

.hero .carousel-item.active .hero-content > * {
    opacity: 1;
    transform: none;
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.hero .carousel-item.active .hero-content > *:nth-child(2) { transition-delay: .15s; }
.hero .carousel-item.active .hero-content > *:nth-child(3) { transition-delay: .3s; }
.hero .carousel-item.active .hero-content > *:nth-child(4) { transition-delay: .45s; }

.hero-control {
    width: 52px;
    height: 52px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .3);
    color: var(--white);
    opacity: 1;
    transition: var(--transition);
    margin: 0 24px;
}

.hero-control:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.hero-indicators {
    left: auto;
    right: 0;
    bottom: 120px;
    margin: 0;
    justify-content: flex-end;
    padding-right: max(24px, calc((100vw - 1296px) / 2));
}

.hero-indicators [data-bs-target] {
    width: 28px;
    height: 4px;
    border-radius: 4px;
    border: 0;
    background: rgba(255, 255, 255, .5);
    opacity: 1;
    transition: var(--transition);
}

.hero-indicators .active {
    width: 48px;
    background: var(--orange);
}

/* Dải cửa khẩu */
.hero-gates {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    background: rgba(11, 37, 64, .72);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.gate-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.gate-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px;
    color: var(--white);
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.gate-list li:last-child {
    border-right: 0;
}

.gate-list i {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(242, 140, 40, .18);
    color: var(--orange);
    font-size: 20px;
}

.gate-list strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
}

.gate-list span {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

/* ---------- 06. Giới thiệu ---------- */
.about-media {
    position: relative;
    padding: 0 0 60px 0;
}

.about-img {
    width: 88%;
    aspect-ratio: 4 / 4.2;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--bg-soft);
}

.about-badge {
    position: absolute;
    top: 32px;
    right: 0;
    background: var(--orange);
    color: var(--white);
    padding: 22px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-badge strong {
    font-family: var(--font-heading);
    font-size: 42px;
    line-height: 1;
}

.about-badge span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.video-card {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    aspect-ratio: 16 / 10;
    padding: 0;
    border: 6px solid var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--navy);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .75;
    transition: transform .6s var(--ease);
}

.video-card:hover img {
    transform: scale(1.06);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: var(--white);
    font-size: 20px;
    animation: ring 2.4s infinite;
}

.video-label {
    position: absolute;
    left: 14px;
    bottom: 10px;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
}

.network {
    margin-bottom: var(--gap);
}

.network .block-title {
    margin-bottom: 14px;
}

.network-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.network-tags li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}

.network-tags li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-item {
    padding: 20px 16px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.stat-item i {
    font-size: 22px;
    color: var(--orange);
    margin-bottom: 10px;
    display: block;
}

.stat-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}

.stat-item > span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}

.about .note-text {
    margin: 12px 0 var(--gap);
}

/* ---------- 07. Dịch vụ ---------- */
.service-card {
    position: relative;
    height: 100%;
    padding: 32px 28px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(18, 54, 91, .07);
    color: var(--navy);
    font-size: 26px;
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--orange);
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ---------- 08. Tuyến vận chuyển ---------- */
.route-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.filter-btn {
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--navy);
}

.filter-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.route-col.is-hidden {
    display: none;
}

.route-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.route-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.route-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-soft);
}

.route-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.route-card:hover .route-thumb img {
    transform: scale(1.06);
}

.route-tag {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
}

.route-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.route-path {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 20px;
    margin-bottom: 18px;
}

.route-path i {
    color: var(--orange);
    font-size: 18px;
}

.route-meta {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
    flex-grow: 1;
}

.route-meta li {
    display: grid;
    grid-template-columns: 22px 92px 1fr;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}

.route-meta li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.route-meta i {
    color: var(--orange);
}

.route-meta span {
    color: var(--muted);
}

.route-meta strong {
    color: var(--navy);
    font-weight: 600;
}

/* ---------- 09. Tra cứu vận đơn & lịch xe ---------- */
.panel {
    height: 100%;
    padding: 32px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 8px;
}

.track-input {
    position: relative;
    display: flex;
    gap: 10px;
}

.track-input > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.track-input .form-control {
    padding-left: 44px;
    text-transform: uppercase;
}

.track-input .btn-main {
    flex-shrink: 0;
}

.form-control,
.form-select {
    min-height: var(--btn-h);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 15px;
    color: var(--text);
    background-color: var(--white);
}

textarea.form-control {
    min-height: 100px;
    padding-top: 12px;
}

.form-control::placeholder {
    color: #9AA6B5;
    text-transform: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(242, 140, 40, .15);
}

.track-alert,
.form-alert {
    display: none;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.55;
}

.track-alert.show,
.form-alert.show {
    display: block;
}

.alert-info-box {
    background: rgba(18, 54, 91, .06);
    border-left: 4px solid var(--navy);
    color: var(--navy);
}

.alert-warn-box {
    background: rgba(242, 140, 40, .1);
    border-left: 4px solid var(--orange);
    color: #8A4A0B;
}

.alert-success-box {
    background: rgba(7, 193, 96, .08);
    border-left: 4px solid var(--wechat);
    color: #0B6B3A;
}

.timeline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 28px 0 20px;
}

.schedule-panel .timeline-head {
    margin-top: 0;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--border) 0 6px, transparent 6px 12px);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 16px;
    padding-bottom: 18px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.tl-dot {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 2px solid var(--border);
    color: var(--navy);
    font-size: 16px;
    transition: var(--transition);
}

.timeline-item strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 15px;
    margin: 2px 0 2px;
}

.timeline-item p {
    font-size: 14px;
    color: var(--muted);
}

.timeline-item:hover .tl-dot {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* Highlight khi chạy minh họa */
.timeline.is-demo .timeline-item.is-active .tl-dot {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* Bảng lịch xe */
.schedule-table {
    margin: 0;
    font-size: 14px;
    caption-side: bottom;
}

.schedule-table caption {
    font-size: 13px;
    color: var(--muted);
    padding-top: 14px;
}

.schedule-table thead th {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    border: 0;
    padding: 14px 16px;
    white-space: nowrap;
}

.schedule-table thead th:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.schedule-table thead th:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.schedule-table td {
    padding: 14px 16px;
    vertical-align: middle;
    border-color: var(--border);
    color: var(--text);
}

.schedule-table tbody tr:hover td {
    background: var(--bg-soft);
}

.schedule-table td strong {
    color: var(--navy);
    font-weight: 600;
}

.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-open {
    background: rgba(18, 54, 91, .08);
    color: var(--navy);
}

.status-contact {
    background: rgba(242, 140, 40, .12);
    color: var(--orange-dark);
}

.schedule-cta {
    margin-top: var(--gap);
    padding: 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.schedule-cta p {
    font-weight: 500;
    color: var(--navy);
    flex: 1 1 260px;
}

.schedule-cta p i {
    color: var(--orange);
    margin-right: 6px;
}

/* ---------- 10. Lý do chọn chúng tôi ---------- */
.why {
    overflow: hidden;
}

.why::before {
    content: "";
    position: absolute;
    right: -180px;
    top: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 80px solid rgba(242, 140, 40, .07);
    pointer-events: none;
}

.why .container {
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.why-card {
    padding: 28px 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(242, 140, 40, .5);
    transform: translateY(-4px);
}

.why-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: var(--white);
    font-size: 22px;
    margin-bottom: 18px;
}

.why-card h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, .72);
}

.why-cta {
    background: var(--orange);
    border-color: var(--orange);
}

.why-cta:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
}

.why-cta .why-icon {
    background: var(--white);
    color: var(--orange);
}

.why-cta p {
    color: rgba(255, 255, 255, .9);
}

.why-phone {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
}

.why-phone:hover {
    color: var(--navy);
}

/* ---------- 11. Đối tác & cảm nhận khách hàng ---------- */
.partner-marquee {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--head-gap);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.partner-track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    animation: marquee 30s linear infinite;
}

.partner-marquee:hover .partner-track {
    animation-play-state: paused;
}

.partner-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 72px;
    padding: 0 28px;
    border-radius: var(--radius-sm);
    border: 1px dashed #C5D0DD;
    background: var(--bg-soft);
    color: #7A8899;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    filter: grayscale(1);
    transition: var(--transition);
}

.partner-item i {
    font-size: 22px;
}

.partner-item:hover {
    filter: none;
    color: var(--navy);
    border-color: var(--orange);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - var(--gap) / 2)); }
}

.testi-card {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 32px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.testi-card::after {
    content: "\f10e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 28px;
    bottom: 24px;
    font-size: 48px;
    color: rgba(18, 54, 91, .06);
}

.testi-card .demo-badge {
    position: absolute;
    top: 24px;
    right: 24px;
}

.testi-stars {
    color: var(--orange);
    font-size: 14px;
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testi-card blockquote {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 24px;
    flex-grow: 1;
}

.testi-card figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
}

.testi-card figcaption strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--navy);
}

.testi-card figcaption small {
    color: var(--muted);
    font-size: 13px;
}

.testimonial-carousel .carousel-item {
    padding: 4px 2px 8px;
}

.testi-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.testi-control {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
    transition: var(--transition);
}

.testi-control:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.testi-indicators {
    position: static;
    margin: 0;
    gap: 6px;
}

.testi-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    margin: 0;
    background: #C5D0DD;
    opacity: 1;
    transition: var(--transition);
}

.testi-indicators .active {
    width: 28px;
    border-radius: 6px;
    background: var(--orange);
}

/* ---------- 12. Tin tức ---------- */
.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.news-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-soft);
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.news-card:hover .news-thumb img {
    transform: scale(1.06);
}

.news-cat {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.news-meta i {
    color: var(--orange);
    margin-right: 4px;
}

.news-body h3 {
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-body h3 a:hover {
    color: var(--orange);
}

.news-body p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* ---------- 13. Liên hệ / form báo giá ---------- */
.contact-wrap {
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-info {
    height: 100%;
    padding: 48px 40px;
    background:
        radial-gradient(circle at 110% -10%, rgba(242, 140, 40, .25) 0, rgba(242, 140, 40, 0) 45%),
        var(--navy);
    color: rgba(255, 255, 255, .8);
}

.contact-info .section-desc {
    margin-bottom: 28px;
}

.contact-list {
    display: grid;
    gap: 18px;
    margin-bottom: 32px;
}

.contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-list i {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: var(--orange);
}

.contact-list span {
    display: flex;
    flex-direction: column;
    color: var(--white);
    font-weight: 500;
}

.contact-list small {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, .6);
}

.contact-list a:hover {
    color: var(--orange);
}

.chat-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.quote-form {
    padding: 48px 40px;
}

.form-title {
    font-size: 24px;
    margin-bottom: var(--gap);
}

.req {
    color: var(--orange);
}

.unit-select {
    max-width: 120px;
    background-color: var(--bg-soft);
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-color: #B9C4D2;
}

.form-check-input:checked {
    background-color: var(--orange);
    border-color: var(--orange);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(242, 140, 40, .15);
    border-color: var(--orange);
}

.form-check-label {
    font-size: 14px;
    color: var(--muted);
    padding-left: 4px;
}

.form-check-label a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid,
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #DC3545;
}

/* ---------- 14. Footer ---------- */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, .7);
    padding-top: var(--section-py);
    font-size: 15px;
}

.footer-main {
    padding-bottom: 48px;
}

.brand-footer {
    margin-bottom: 20px;
}

.brand-footer .brand-text strong {
    color: var(--white);
}

.footer-about {
    margin-bottom: 18px;
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--orange);
}

.footer-list {
    display: grid;
    gap: 12px;
}

.footer-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-list i {
    color: var(--orange);
    margin-top: 5px;
    width: 16px;
    flex-shrink: 0;
}

.footer-list a:hover,
.footer-links a:hover {
    color: var(--orange);
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: var(--orange);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a,
.footer-social button {
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .06);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social .social-zalo {
    font-size: 13px;
    font-weight: 700;
}

.footer-social a:hover,
.footer-social button:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.footer-privacy {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
}

.footer-privacy i {
    font-size: 24px;
    color: var(--orange);
    margin-top: 2px;
}

.footer-privacy strong {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 24px 0;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

/* ---------- 15. Thành phần nổi ---------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1020;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: var(--orange);
    color: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    background: var(--navy);
}

.mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1025;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(18, 54, 91, .1);
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-cta a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 62px;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
}

.mobile-cta a i {
    font-size: 18px;
    color: var(--orange);
}

.zalo-mini {
    display: inline-grid;
    place-items: center;
    height: 20px;
    padding: 0 5px;
    border-radius: 5px;
    background: var(--zalo);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
}

.mobile-cta .mobile-cta-main {
    background: var(--orange);
    color: var(--white);
}

.mobile-cta .mobile-cta-main i {
    color: var(--white);
}

/* Modal */
.modal-content {
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
}

.modal-title {
    font-size: 18px;
}

.wechat-modal .modal-title i {
    color: var(--wechat);
}

.wechat-modal .modal-body {
    padding: 24px;
    text-align: center;
}

.wechat-modal .modal-body p {
    margin-bottom: 16px;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto 18px;
    border-radius: var(--radius-sm);
    border: 2px dashed var(--border);
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    padding: 12px;
}

.qr-placeholder i {
    font-size: 64px;
    color: var(--navy);
}

.video-modal {
    background: var(--navy-dark);
}

.video-modal .modal-header {
    border-color: rgba(255, 255, 255, .1);
}

.video-modal .modal-title {
    color: var(--white);
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
    color: rgba(255, 255, 255, .75);
}

.video-placeholder i {
    font-size: 48px;
    color: var(--orange);
}

/* Toast */
.toast-pos {
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 1090;
}

.site-toast {
    background: var(--navy);
    color: var(--white);
    border: 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-weight: 500;
}

/* Hiệu ứng xuất hiện khi cuộn */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .hero .carousel-item .hero-content > * {
        opacity: 1;
        transform: none;
    }
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 1199.98px) {
    .nav-links .nav-link {
        padding: 10px 10px !important;
        font-size: 14px;
    }

    .nav-links .nav-link::after {
        left: 10px;
        right: 10px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-py: 72px;
        --head-gap: 40px;
        --header-h: 72px;
    }

    .topbar-info li:not(:first-child) {
        display: none;
    }

    .nav-toggler {
        display: flex;
    }

    .main-menu {
        max-width: 340px;
    }

    .main-menu .offcanvas-header {
        border-bottom: 1px solid var(--border);
        padding: 18px 22px;
    }

    .main-menu .offcanvas-body {
        padding: 12px 22px 28px;
        display: flex;
        flex-direction: column;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links .nav-link {
        padding: 14px 0 !important;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links .nav-link::after {
        display: none;
    }

    .mobile-menu-extra {
        display: grid;
        gap: 16px;
        margin-top: 24px;
    }

    .mobile-menu-extra .lang-switch {
        background: var(--bg-soft);
        justify-self: start;
    }

    .mobile-menu-extra .lang-btn {
        color: var(--navy);
        padding: 6px 16px;
        font-size: 13px;
    }

    .mobile-menu-extra .lang-btn.active {
        color: var(--white);
    }

    .mobile-menu-extra .chat-btn {
        flex: 1;
    }

    .hero .carousel-item {
        min-height: 620px;
        height: auto;
    }

    .hero-content {
        min-height: 620px;
        padding-top: 60px;
        padding-bottom: 150px;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(11, 37, 64, .75) 0%, rgba(18, 54, 91, .85) 100%);
    }

    .hero-control {
        display: none;
    }

    .hero-indicators {
        bottom: 108px;
        justify-content: center;
        padding-right: 0;
        left: 0;
    }

    .gate-list {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .gate-list::-webkit-scrollbar {
        display: none;
    }

    .gate-list li {
        flex: 0 0 auto;
        min-width: 210px;
        scroll-snap-align: start;
        padding: 18px 16px;
    }

    .about-media {
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-info,
    .quote-form {
        padding: 40px 32px;
    }

    .back-to-top {
        bottom: 80px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    .toast-pos {
        bottom: 80px;
    }

    body {
        padding-bottom: 62px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-py: 64px;
        --head-gap: 32px;
        --gap: 20px;
        --btn-h: 50px;
        --btn-px: 22px;
    }

    body {
        font-size: 15px;
    }

    .topbar-inner {
        min-height: 40px;
    }

    .topbar-info {
        display: none;
    }

    .topbar-actions {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text small {
        font-size: 11px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .section-desc,
    .hero-desc {
        font-size: 16px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions a {
        flex: 1 1 100%;
        min-width: 0;
    }

    .section-head-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-img {
        width: 100%;
    }

    .about-badge {
        top: 16px;
        right: 16px;
        padding: 14px 16px;
    }

    .about-badge strong {
        font-size: 32px;
    }

    .video-card {
        width: 64%;
        right: 16px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-item {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 12px;
        align-items: center;
    }

    .stat-item i {
        grid-row: span 2;
        margin: 0;
    }

    .stat-item > span {
        margin-top: 0;
    }

    .service-card,
    .panel,
    .testi-card {
        padding: 24px 20px;
    }

    .route-filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .route-filter::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .track-input {
        flex-direction: column;
    }

    .track-input > i {
        top: calc(var(--btn-h) / 2);
    }

    .track-input .btn-main {
        width: 100%;
    }

    .timeline-head {
        flex-wrap: wrap;
    }

    /* Bảng lịch xe dạng thẻ trên điện thoại */
    .schedule-table thead {
        display: none;
    }

    .schedule-table,
    .schedule-table tbody,
    .schedule-table tr,
    .schedule-table td {
        display: block;
        width: 100%;
    }

    .schedule-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        overflow: hidden;
    }

    .schedule-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 14px;
        border-bottom: 1px dashed var(--border);
        text-align: right;
    }

    .schedule-table td:last-child {
        border-bottom: 0;
    }

    .schedule-table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-weight: 500;
        text-align: left;
    }

    .schedule-table td:first-child {
        background: var(--bg-soft);
    }

    .schedule-table caption {
        display: block;
        padding-top: 4px;
    }

    .schedule-cta .chat-group {
        width: 100%;
    }

    .schedule-cta .chat-btn {
        flex: 1;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testi-card .demo-badge {
        top: 20px;
        right: 20px;
    }

    .testi-card blockquote {
        font-size: 16px;
    }

    .partner-item {
        height: 60px;
        padding: 0 20px;
        font-size: 14px;
    }

    .contact-info,
    .quote-form {
        padding: 32px 20px;
    }

    .contact-info .chat-btn {
        flex: 1 1 calc(33.333% - 10px);
        padding: 0 10px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .chat-chip {
        padding: 0 10px;
        font-size: 11px;
    }

    .topbar-social {
        gap: 6px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 11px;
    }

    .hero-title {
        font-size: 30px;
    }

    .route-meta li {
        grid-template-columns: 20px 96px 1fr;
    }

    .contact-info .chat-btn {
        flex: 1 1 100%;
    }
}


/* =====================================================================
   17. THÀNH PHẦN TRANG CON (SUBPAGES)
   ===================================================================== */
.page-banner {
    position: relative;
    padding: 140px 0 70px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(242, 140, 40, .18) 0%, transparent 60%);
    pointer-events: none;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-banner .eyebrow-light {
    margin-bottom: 12px;
}

.page-banner-title {
    color: var(--white);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.page-banner-title span {
    color: var(--orange);
}

.page-banner-desc {
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Breadcrumb */
.breadcrumb-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
}

.breadcrumb-custom a {
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-custom a:hover {
    color: var(--orange);
}

.breadcrumb-custom .separator {
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
}

.breadcrumb-custom .active {
    color: var(--orange);
    font-weight: 600;
}

/* Vision - Mission - Values */
.vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.vmv-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.vmv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(242, 140, 40, .3);
}

.vmv-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(242, 140, 40, .1);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.vmv-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.vmv-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.vmv-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vmv-list li {
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.vmv-list li i {
    color: var(--orange);
    font-size: 12px;
}

/* Infrastructure Grid */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.infra-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.infra-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.infra-thumb {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.infra-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.infra-card:hover .infra-thumb img {
    transform: scale(1.05);
}

.infra-body {
    padding: 24px;
    flex: 1;
}

.infra-body h3 {
    font-size: 19px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.infra-body h3 i {
    color: var(--orange);
}

.infra-body p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Process Stepper (5 bước) */
.process-stepper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 40px;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: var(--shadow);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--navy);
}

.step-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* Commitment Box */
.commit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.commit-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius);
    padding: 32px 24px;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.commit-card .commit-icon {
    font-size: 36px;
    color: var(--orange);
    margin-bottom: 18px;
}

.commit-card h3 {
    color: var(--white);
    font-size: 19px;
    margin-bottom: 10px;
}

.commit-card p {
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    line-height: 1.6;
}

/* Subpage CTA Banner */
.subpage-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: var(--radius);
    padding: 56px 44px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.subpage-cta::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(242, 140, 40, .2) 0%, transparent 70%);
    pointer-events: none;
}

.subpage-cta-text {
    max-width: 600px;
}

.subpage-cta-text h2 {
    color: var(--white);
    font-size: 30px;
    margin-bottom: 12px;
}

.subpage-cta-text h2 span {
    color: var(--orange);
}

.subpage-cta-text p {
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
}

.subpage-cta-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Responsive subpages */
@media (max-width: 1199.98px) {
    .process-stepper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .vmv-grid,
    .commit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .infra-grid {
        grid-template-columns: 1fr;
    }
    .process-stepper {
        grid-template-columns: repeat(2, 1fr);
    }
    .subpage-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 24px;
    }
}

@media (max-width: 767.98px) {
    .page-banner {
        padding: 120px 0 50px;
    }
    .vmv-grid,
    .commit-grid,
    .process-stepper {
        grid-template-columns: 1fr;
    }
    .subpage-cta-text h2 {
        font-size: 25px;
    }
    .subpage-cta-btns {
        width: 100%;
    }
    .subpage-cta-btns a {
        width: 100%;
        text-align: center;
    }
}


/* =====================================================================
   19. TRANG LIÊN HỆ & MẠNG LƯỚI (contact.html)
   ===================================================================== */
.station-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.station-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.station-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(242, 140, 40, .3);
}

.station-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.station-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(18, 54, 91, .08);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.station-card:hover .station-icon {
    background: rgba(242, 140, 40, .15);
    color: var(--orange);
}

.station-title {
    font-size: 18px;
    margin: 0 0 4px;
}

.station-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #E8F5E9;
    color: #2E7D32;
}

.station-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
    margin-top: auto;
}

.station-info li {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.station-info li i {
    color: var(--orange);
    width: 16px;
    text-align: center;
}

/* Contact Page Form Card */
.contact-page-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow);
}

.captcha-box {
    background: var(--bg-soft);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.captcha-question {
    font-weight: 700;
    color: var(--navy);
    font-size: 16px;
    white-space: nowrap;
}

.captcha-input {
    max-width: 120px;
}

/* Map Wrapper */
.map-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.map-header h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.map-header p {
    font-size: 13px;
    color: var(--muted);
}

.map-embed {
    width: 100%;
    height: 380px;
    background: #EAEFF5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder-content {
    text-align: center;
    padding: 24px;
}

.map-placeholder-content i {
    font-size: 48px;
    color: var(--navy-light);
    margin-bottom: 12px;
}

@media (max-width: 991.98px) {
    .station-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================================
   20. TRANG DỊCH VỤ & CHI TIẾT TUYẾN (services.html & service-detail.html)
   ===================================================================== */
.services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar Lọc */
.filter-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.filter-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-sidebar h3 i {
    color: var(--orange);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--navy);
}

.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox-list .form-check-label {
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}

/* Toolbar phía trên danh sách */
.services-toolbar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.results-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.sort-select-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.sort-select-wrap .form-select {
    width: auto;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 14px;
}

/* Phân trang */
.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-custom .page-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--navy);
    font-weight: 600;
    transition: var(--transition);
}

.pagination-custom .page-link:hover,
.pagination-custom .active .page-link {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* Trang Chi tiết tuyến: Gallery, Bảng thông số & Lộ trình */
.detail-gallery {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid var(--border);
}

.detail-main-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.detail-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 12px;
    background: var(--bg-soft);
}

.detail-thumb-item {
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.detail-thumb-item.active,
.detail-thumb-item:hover {
    border-color: var(--orange);
}

.detail-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bảng thông số kỹ thuật tuyến */
.specs-table {
    width: 100%;
    margin-bottom: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table th {
    width: 32%;
    padding: 14px 18px;
    background: var(--bg-soft);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.specs-table td {
    padding: 14px 18px;
    font-size: 15px;
    color: var(--text);
}

/* Bảng giá cước tham khảo */
.price-table-wrap {
    margin-bottom: 36px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.price-table-wrap .table {
    margin-bottom: 8px;
}

.price-table-wrap th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    padding: 12px 16px;
    font-size: 14px;
}

.price-table-wrap td {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: 14px;
}

/* Sidebar Nhận báo giá trang chi tiết */
.detail-sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

@media (max-width: 991.98px) {
    .services-layout {
        grid-template-columns: 1fr;
    }
    .filter-sidebar {
        position: static;
        margin-bottom: 24px;
    }
    .detail-main-img {
        height: 300px;
    }
    .detail-sidebar-card {
        position: static;
        margin-top: 32px;
    }
}


/* =====================================================================
   21. TRANG TRA CỨU VẬN ĐƠN & LỊCH XE CONTAINER (tracking.html & tracking-detail.html)
   ===================================================================== */
.tracking-search-hero-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.tracking-search-input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tracking-search-input-group .form-control {
    height: 54px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius);
    padding-left: 20px;
    border: 2px solid var(--border);
    flex: 1 1 300px;
}

.tracking-search-input-group .form-control:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(18, 54, 91, 0.12);
}

.tracking-search-input-group .btn {
    height: 54px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.demo-chips-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
}

.demo-chip-btn {
    background: #eef2f6;
    border: 1px solid #cbd5e1;
    color: var(--navy);
    font-family: monospace;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--trans);
}

.demo-chip-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* Schedule Table */
.schedule-table-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-top: 24px;
}

.schedule-filter-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.schedule-filter-bar .form-select {
    font-size: 14px;
    min-width: 170px;
}

.table-schedule {
    margin-bottom: 0;
}

.table-schedule thead th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    padding: 14px 16px;
    border: none;
    white-space: nowrap;
}

.table-schedule tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.table-schedule tbody tr:hover {
    background: #f8fafc;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-status-available {
    background: #dcfce7;
    color: #166534;
}

.badge-status-almost {
    background: #fef3c7;
    color: #92400e;
}

.badge-status-full {
    background: #fee2e2;
    color: #991b1b;
}

.badge-status-transit {
    background: #e0f2fe;
    color: #0369a1;
}

/* Chi tiết vận đơn (tracking-detail.html) */
.tracking-detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 28px;
    margin-bottom: 24px;
}

.tracking-detail-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.tracking-detail-code {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    font-family: monospace;
    letter-spacing: 0.5px;
}

.masked-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 28px;
}

.masked-item-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--slate);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.masked-item-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Timeline chặng kiểm soát */
.milestone-stepper {
    position: relative;
    padding-left: 36px;
    margin-top: 20px;
}

.milestone-stepper::before {
    content: '';
    position: absolute;
    top: 14px;
    bottom: 20px;
    left: 15px;
    width: 2px;
    background: #e2e8f0;
}

.milestone-step-item {
    position: relative;
    margin-bottom: 30px;
}

.milestone-step-item:last-child {
    margin-bottom: 0;
}

.milestone-icon {
    position: absolute;
    left: -36px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--slate);
    z-index: 2;
}

.milestone-step-item.is-completed .milestone-icon {
    background: #10b981;
    border-color: #10b981;
    color: var(--white);
}

.milestone-step-item.is-active .milestone-icon {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.25);
}

.milestone-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 4px;
}

.milestone-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.milestone-desc {
    font-size: 14px;
    color: var(--slate);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Điều phối viên hiện trường */
.coordinator-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.coordinator-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--navy);
    border: 2px solid var(--orange);
}

.coordinator-meta h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--navy);
}

.coordinator-meta p {
    font-size: 13px;
    color: var(--slate);
    margin-bottom: 0;
}


/* =====================================================================
   22. TRANG TIN TỨC & BÀI VIẾT CHI TIẾT (blogs.html & blog-detail.html)
   ===================================================================== */
.blog-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.blog-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-cat-pill {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all var(--trans);
    text-decoration: none;
}

.blog-cat-pill:hover,
.blog-cat-pill.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.blog-search-box {
    position: relative;
    min-width: 260px;
}

.blog-search-box .form-control {
    padding-left: 38px;
    height: 40px;
    font-size: 14px;
    border-radius: 999px;
}

.blog-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate);
    font-size: 14px;
}

/* Chi tiết bài viết */
.article-main-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 36px;
    margin-bottom: 32px;
}

.article-hero-img-wrap {
    margin-bottom: 28px;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-hero-img-wrap img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--slate);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.article-meta-bar i {
    color: var(--orange);
    margin-right: 4px;
}

.article-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--navy);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 32px;
}

.article-toc h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-toc ol {
    margin-bottom: 0;
    padding-left: 20px;
}

.article-toc li {
    font-size: 14px;
    line-height: 1.8;
}

.article-toc a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
}

.article-toc a:hover {
    color: var(--orange);
    text-decoration: underline;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.article-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-top: 36px;
    margin-bottom: 16px;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-top: 24px;
    margin-bottom: 12px;
}

.article-body p {
    margin-bottom: 18px;
}

.article-callout {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 15px;
}

.article-download-box {
    background: linear-gradient(135deg, #12365b 0%, #1e4b7a 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    margin: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.article-share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    margin-top: 36px;
}

.article-author-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 24px;
}

.article-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

/* =====================================================================
   23. TRANG CHÍNH SÁCH & ĐIỀU KHOẢN (terms, shipping, claim, privacy)
   ===================================================================== */
.policy-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 30px;
}

.policy-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.policy-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #f1f5f9;
    color: var(--slate);
    margin-bottom: 12px;
}

.policy-body {
    font-size: 15px;
    line-height: 1.85;
    color: #334155;
}

.policy-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-top: 32px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.policy-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-body ul, .policy-body ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.policy-body li {
    margin-bottom: 8px;
}

.policy-contact-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
}
