/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --primary-glow: rgba(230, 57, 70, 0.5);
    --secondary: #1d3557;
    --accent: #457b9d;
    --light: #f1faee;
    --dark: #0d1b2a;
    --gray: #6c757d;
    --gray-light: #f8f9fa;
    --white: #ffffff;
    --zalo: #0068ff;
    --green: #2d6a4f;
    --gold: #f59e0b;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

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

.btn-zalo:hover {
    background: #0050cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.4);
}

.btn-phone {
    background: var(--green);
    color: var(--white);
}

.btn-phone:hover {
    background: #1b4332;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.4);
}

.btn-zalo-sm,
.btn-phone-sm {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-zalo-sm {
    background: var(--zalo);
    color: var(--white);
}

.btn-zalo-sm:hover {
    background: #0050cc;
}

.btn-phone-sm {
    background: var(--green);
    color: var(--white);
}

.btn-phone-sm:hover {
    background: #1b4332;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--secondary);
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary);
}

.logo strong {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.06);
}

.nav-link i {
    font-size: 0.7rem;
    transition: var(--transition);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--secondary);
}

.dropdown-menu a:hover {
    background: rgba(230, 57, 70, 0.06);
    color: var(--primary);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    animation: pulse-phone 2s infinite;
}

@keyframes pulse-phone {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

.header-phone:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d1b2a 0%, #1d3557 40%, #2a4a6e 70%, #e63946 100%);
    background-size: 200% 200%;
    animation: heroGradient 15s ease infinite;
    padding-top: 70px;
    overflow: hidden;
}

@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: floatShape 20s ease-in-out infinite;
}

.hero-shape-1 { width: 300px; height: 300px; top: 10%; right: 5%; animation-delay: 0s; }
.hero-shape-2 { width: 200px; height: 200px; bottom: 20%; left: -50px; animation-delay: -7s; }
.hero-shape-3 { width: 150px; height: 150px; top: 50%; right: 20%; animation-delay: -14s; }

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(245, 158, 11, 0.25);
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fde68a;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: badgePulse 2s ease-in-out infinite;
}

.hero-badge i {
    color: var(--gold);
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title-accent {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1em;
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.btn-glow {
    box-shadow: 0 4px 24px var(--primary-glow);
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 4px 24px var(--primary-glow); }
    50% { box-shadow: 0 6px 32px rgba(230, 57, 70, 0.6); }
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.hero-hotline {
    margin-top: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.hero-hotline a {
    color: #fde68a;
    font-weight: 700;
}

.hero-hotline a:hover {
    color: var(--white);
}

.hero-hotline-divider {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* Booking Form */
.booking-form {
    background: var(--white);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.booking-form-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.booking-form h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 6px;
    margin-top: 8px;
    font-weight: 800;
}

.booking-form-desc {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.booking-form-benefits {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.booking-form-benefits li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray);
}

.booking-form-benefits li i {
    color: var(--green);
    position: static;
    transform: none;
}

.form-group {
    position: relative;
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--dark);
    transition: var(--transition);
    background: var(--gray-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 0.9rem;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.form-actions .btn-block {
    width: 100%;
}

.form-actions .btn-zalo {
    background: var(--zalo);
    color: var(--white);
}

.form-actions .btn-zalo:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.4);
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: linear-gradient(135deg, var(--secondary), #2a4a6e);
    padding: 24px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.trust-item i {
    font-size: 1.8rem;
    color: var(--gold);
}

.trust-number {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.trust-suffix {
    font-size: 1.2rem;
    font-weight: 700;
}

.trust-label {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-left: 4px;
}

/* ===== TICKER ===== */
.ticker-wrap {
    display: flex;
    align-items: center;
    background: var(--gray-light);
    border-bottom: 2px solid #eee;
    overflow: hidden;
}

.ticker-label {
    flex-shrink: 0;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-label i {
    font-size: 0.5rem;
    animation: tickerDot 1s ease-in-out infinite;
}

@keyframes tickerDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.ticker-track {
    flex: 1;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 60px;
    animation: tickerScroll 25s linear infinite;
    padding: 12px 0;
}

.ticker-content span {
    flex-shrink: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 12px auto 0;
}

.section-desc {
    max-width: 800px;
    margin: 20px auto 0;
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== INTRO SECTION ===== */
.intro-section {
    padding: 80px 0;
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text p:first-child {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #444;
}

.intro-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    background: var(--gray-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.intro-list li:hover {
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.intro-list li i {
    color: var(--primary);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.intro-list li div {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.price-highlight {
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 700;
}

.intro-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 36px;
}

/* ===== COMPARE SECTION ===== */
.compare-section {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.compare-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    border: 2px solid #eee;
    transition: var(--transition);
}

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

.compare-card-highlight {
    border-color: var(--primary);
    background: linear-gradient(180deg, #fff 0%, rgba(230, 57, 70, 0.04) 100%);
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.15);
}

.compare-card-highlight:hover {
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.2);
}

.compare-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--gray-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gray);
}

.compare-card-highlight .compare-icon {
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: var(--white);
}

.compare-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 12px;
    font-weight: 700;
}

.compare-price {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #444;
}

.compare-price strong {
    color: var(--primary);
    font-size: 1.3rem;
}

.compare-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.compare-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
}

.compare-list .fa-check { color: var(--green); }
.compare-list .fa-times { color: var(--primary); }

.compare-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ===== ROUTES SECTION ===== */
.routes-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.routes-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.tab-btn {
    padding: 8px 20px;
    border: 2px solid #dee2e6;
    background: var(--white);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
    font-family: inherit;
}

.tab-btn:hover,
.tab-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(230, 57, 70, 0.06);
}

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

.routes-grid-two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

@media (max-width: 768px) {
    .routes-grid-two {
        grid-template-columns: 1fr;
    }
}

.route-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
    display: flex;
    flex-direction: column;
}

.routes-grid-two .route-card {
    min-height: 220px;
}

.route-card-popular {
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.08);
}

.route-badge-popular {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 1;
}

.route-badge-popular i {
    margin-right: 4px;
}

.route-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.route-card-header {
    padding: 20px 20px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.route-card-header i {
    font-size: 1.4rem;
    color: var(--primary);
}

.route-card-header h4 {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 700;
    white-space: nowrap;
}

.route-card-body {
    padding: 0 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 90px;
}

.routes-grid-two .route-card-body {
    min-height: 88px;
}

.route-price {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.875rem;
    white-space: nowrap;
}

.route-price .label {
    flex-shrink: 0;
    color: var(--gray);
    font-weight: 500;
    white-space: nowrap;
}

.route-price .value {
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.route-price:last-child {
    border-bottom: none;
}

.route-price .value strong {
    color: var(--primary);
    font-size: 1.05rem;
}

.route-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.routes-grid-two .route-card-btn {
    margin-top: auto;
}

.route-card-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), #a10f1d);
}

/* ===== VEHICLES SECTION ===== */
.vehicles-section {
    padding: 80px 0;
    background: var(--white);
}

.vehicles-section .section-subtitle {
    color: var(--accent);
}

.vehicles-section .section-title {
    color: var(--primary);
    font-size: 1.5rem;
}

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

/* Grid 6 dòng xe: VF6, VF7, VF8, Canival, Limogreen, Xpander */
.vehicles-grid-six {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vehicle-card {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eee;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.vehicle-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.12);
    transform: translateY(-6px);
}

.vehicle-card-image-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-light);
}

.vehicle-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-card-image {
    transform: scale(1.05);
}

.vehicle-card-body {
    padding: 20px 20px 16px;
}

.vehicle-card-body h3 {
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 6px;
    font-weight: 700;
}

.vehicle-card-body .vehicle-models {
    color: #333;
    font-size: 0.9rem;
    margin: 0;
}

.vehicle-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0 20px 24px;
}

.vehicle-actions .btn-zalo-sm,
.vehicle-actions .btn-phone-sm {
    flex: 0 1 auto;
    min-width: 0;
    justify-content: center;
}

/* Tránh số điện thoại bị che: nút gọi luôn đủ rộng hiển thị đủ số */
.vehicle-actions .btn-phone-sm {
    min-width: 130px;
    white-space: nowrap;
}

.btn-more-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-more-sm:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-more-sm i {
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .vehicles-grid,
    .vehicles-grid-six {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vehicle-actions {
        flex-direction: column;
    }

    .vehicle-actions .btn-zalo-sm,
    .vehicle-actions .btn-phone-sm {
        flex: none;
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #1d3557 0%, #0d1b2a 100%);
    color: var(--white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.cta-text {
    text-align: left;
}

.cta-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.cta-text ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.cta-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.cta-text ul li i {
    color: #2ecc71;
    margin-top: 4px;
    flex-shrink: 0;
}

.cta-commitment {
    background: rgba(255, 255, 255, 0.06);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 24px;
}

.cta-commitment h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--white);
}

.cta-commitment p {
    margin-bottom: 0 !important;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 80px 0;
    background: var(--gray-light);
}

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

.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(69, 123, 157, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

.features-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
}

/* ===== TESTIMONIALS - Cuộn ngang ===== */
.testimonials-section {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%);
}

.testimonials-section .section-desc {
    margin-top: 8px;
}

.testimonials-scroll-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0 30px;
    margin: 0 -20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonials-scroll-wrap::-webkit-scrollbar {
    height: 8px;
}

.testimonials-scroll-wrap::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 4px;
}

.testimonials-scroll-wrap::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    width: max-content;
}

.testimonial-card {
    flex: 0 0 auto;
    width: 320px;
    min-width: 320px;
    background: var(--white);
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #555;
    margin-bottom: 16px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonials-scroll-hint {
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 12px;
}

.testimonials-scroll-hint i {
    margin-right: 6px;
    color: var(--primary);
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 280px;
        width: 280px;
        padding: 20px 18px;
    }

    .testimonials-track {
        gap: 16px;
    }
}

/* ===== NEWS SECTION ===== */
.news-section {
    padding: 80px 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    border: 1px solid #eee;
}

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

.news-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #1d3557, #457b9d);
}

.news-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.news-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-body {
    padding: 24px;
}

.news-body h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-body h4 a {
    color: var(--secondary);
}

.news-body h4 a:hover {
    color: var(--primary);
}

.news-body p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-link:hover {
    gap: 10px;
}

.news-more {
    text-align: center;
    margin-top: 36px;
}

/* ===== FOOTER ===== */
.footer {
    background: #0d1b2a;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
    /* Khoảng trống phía dưới để thanh sticky CTA + nút floating không che nội dung footer */
    padding-bottom: 160px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-about h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.footer-routes {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-info li i {
    color: var(--primary);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-info li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-info li a:hover {
    color: var(--primary);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '›';
    color: var(--primary);
    font-size: 1.2rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== STICKY CTA ===== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: var(--white);
    padding: 14px 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.sticky-cta-text {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.sticky-cta-text i {
    color: var(--gold);
    margin-right: 6px;
}

.sticky-cta-btns {
    display: flex;
    gap: 10px;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 90px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.float-phone {
    background: var(--green);
    animation: pulse-float 2s infinite;
}

.float-zalo {
    background: var(--zalo);
}

@keyframes pulse-float {
    0% { box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.4); }
    70% { box-shadow: 0 0 0 14px rgba(45, 106, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(45, 106, 79, 0); }
}

.float-btn:hover {
    transform: scale(1.15);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-desc { max-width: none; }
    .hero-cta-wrap { justify-content: center; }
    .hero-hotline {
        justify-content: center;
    }

    .hero-form-wrap {
        max-width: 480px;
        margin: 0 auto;
    }

    .trust-bar-inner {
        justify-content: center;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    .compare-card-highlight {
        order: -1;
    }

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

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

    .sticky-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

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

    .header-phone {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        transform: translateX(100%);
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .booking-form {
        padding: 28px 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .routes-grid {
        grid-template-columns: 1fr;
    }

    .routes-tabs {
        gap: 6px;
    }

    .tab-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .trust-item .trust-label { margin-left: 0; }
    .ticker-label { font-size: 0.75rem; padding: 10px 14px; }

    .intro-cta,
    .cta-buttons,
    .features-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer {
        padding-bottom: 200px;
    }

    .floating-buttons {
        bottom: 16px;
        right: 16px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Modal nội dung gửi Zalo ===== */
.zalo-message-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.zalo-message-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.zalo-message-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #0068ff 0%, #0052cc 100%);
    color: #fff;
}
.zalo-message-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.zalo-message-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    opacity: 0.9;
}
.zalo-message-modal-close:hover {
    opacity: 1;
}
.zalo-message-modal-hint {
    padding: 12px 20px;
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    background: #f0f7ff;
    border-bottom: 1px solid #e0e8f0;
}
.zalo-message-modal-hint-small {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #555;
}
.zalo-message-modal-body {
    padding: 16px 20px;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #222;
    white-space: pre-wrap;
    word-break: break-word;
    flex: 1;
    min-height: 80px;
}
.zalo-message-modal-body br {
    display: block;
    content: "";
    margin-top: 4px;
}
.zalo-message-modal-actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}
.zalo-message-modal-actions .btn {
    flex: 1;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.zalo-message-modal-actions .zalo-btn-open {
    text-decoration: none;
}
