/* ============================================
   厦门恒通假期国际旅行社官网 - 海洋蓝主题
   设计：海滨城市 + 闽南暖金 + 蓝白调
   配色：海洋蓝 + 深海蓝 + 闽南暖金
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #0d7eb8;
    --primary-dark: #095a85;
    --primary-light: rgba(13, 126, 184, 0.1);
    --navy: #2C1810;
    --navy-light: #3D2B1F;
    --navy-dark: #1A0F08;
    --green: #5B9EC0;
    --green-light: #EBF4F8;
    --text: #1A1A1A;
    --text-secondary: #555555;
    --text-muted: #999999;
    --bg: #FFFFFF;
    --bg-warm: #FBF8F4;
    --bg-section: #F5F0EA;
    --border: #E8E6E1;
    --border-light: #F0EEEA;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --radius: 8px;
    --radius-sm: 6px;
    --transition: all 0.3s ease;
    --font-cn: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --font-title: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --max-width: 1240px;
    --header-height: 72px;
}

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-cn);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.section { padding: 60px 0; }
.section-title {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary);
    margin: 16px auto 0;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 56px;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* === Header & Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(13,126,184,0.92) 0%, rgba(54,163,217,0.88) 25%, rgba(173,216,230,0.85) 50%, rgba(255,228,181,0.82) 75%, rgba(255,255,255,0.85) 100%);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}
.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/xiamen/鼓浪屿全景.jpg') center/cover no-repeat;
    opacity: 0.35;
    z-index: -1;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header.scrolled::before {
    opacity: 0.02;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 42px; width: auto; border-radius: 10px; object-fit: cover; }
.logo-text {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.3px;
}
.logo-text span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 0; }
.nav a {
    padding: 8px 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0;
}
.nav a:hover, .nav a.active {
    color: var(--navy);
    background: var(--primary-light);
}

/* Dropdown */
.nav-item { position: relative; }
.nav-item .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all 0.25s ease;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item .dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-radius: 0;
}
.nav-item .dropdown a:hover {
    color: var(--navy);
    background: var(--bg-section);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--navy);
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.2px;
}
.header-phone:hover { background: var(--navy-light); color: #fff; }

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
}

/* === Hero Banner === */

/* Chinese site hero banner */
.hero {
    position: relative;
    width: 100%;
    min-height: 400px; height: 67vh;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s;
    will-change: opacity;
    z-index: 0;

    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slide.active .hero-content {
    opacity: 1;
}







.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 20px;
    border-radius: 4px;
    font-size: 0.82rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}
.hero-title {
    font-family: var(--font-title);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    letter-spacing: -1px;
}
.hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 400;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.2px;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.2); border-color: #fff; }
.btn-green { background: #107C10; color: #fff; border-color: #107C10; }
.btn-green:hover { background: #0E6B0E; border-color: #0E6B0E; }

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dots span.active { background: #fff; width: 24px; border-radius: 4px; }

/* V13: Slider Arrow Buttons */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}
.slider-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* V13: Per-slide captions */
.hero-slide-caption {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.hero-slide-caption.active {
    opacity: 1;
}
.hero-slide-caption .slide-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 1px;
}
.hero-slide-caption .slide-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 4px;
}
.hero-slide-caption .slide-desc {
    font-size: 0.85rem;
    opacity: 0.8;
}


/* === Video Section === */
.video-section {
    background: var(--bg-warm);
    padding: 100px 0;
}
.video-container {
    max-width: 880px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy-dark);
}
.video-container video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #000;
}
.video-overlay-text {
    text-align: center;
    margin-top: 24px;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* === About Preview === */
.about-section { background: #fff; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image {
    border-radius: var(--radius);
    overflow: hidden;
}
.about-image img { width: 100%; height: 440px; object-fit: cover; transition: transform 0.6s ease; }
.about-image:hover img { transform: scale(1.02); }
.about-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}
.about-text p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; font-size: 0.95rem; }
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}
.about-feature .icon {
    width: 36px;
    height: 36px;
    background: var(--bg-section);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* === Route Cards === */
.routes-section { background: var(--bg-section); }
.routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.route-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.route-card:hover { border-color: var(--border); transform: translateY(-4px); }
.route-card-img { position: relative; height: 200px; overflow: hidden; }
.route-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.route-card:hover .route-card-img img { transform: scale(1.04); }
.route-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--navy);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.route-card-body { padding: 20px; }
.route-card-body h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}
.route-card-body p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.route-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.route-price { color: var(--navy); font-size: 1.2rem; font-weight: 700; }
.route-price small { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
.route-link {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}
.route-link:hover { color: var(--primary-dark); }

/* === Advantages === */
.advantages-section { background: #fff; }
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.advantage-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius);
    background: var(--bg-warm);
    border: 1px solid transparent;
    transition: var(--transition);
}
.advantage-card:hover { border-color: var(--border); }
.advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.advantage-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 10px; font-weight: 600; }
.advantage-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }

/* === Stats === */
.stats-section {
    background: var(--navy);
    padding: 72px 0;
}
.stats-section::before {
    background: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    color: #fff;
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -1px;
}
.stat-label { font-size: 0.9rem; opacity: 0.6; margin-top: 8px; font-weight: 400; }

/* === News === */
.news-section { background: var(--bg-section); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.news-card:hover { border-color: var(--border); transform: translateY(-3px); }
.news-card-img { height: 180px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-body { padding: 20px; }
.news-card-date { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 8px; }
.news-card-body h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; line-height: 1.5; font-weight: 600; }
.news-card-body p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

/* === Cases / Testimonials === */
.cases-section { background: #fff; }
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.case-card {
    background: var(--bg-warm);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.case-card:hover { border-color: var(--border); }
.case-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}
.case-stars { color: var(--primary); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.case-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
.case-author { display: flex; align-items: center; gap: 12px; }
.case-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}
.case-name { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.case-info { font-size: 0.8rem; color: var(--text-muted); }

/* === CTA Banner === */
.cta-section {
    background: var(--navy);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}
.cta-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.cta-section p { font-size: 1rem; opacity: 0.6; margin-bottom: 28px; }
.cta-phone {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary);
}
.cta-phone a { color: var(--primary); }

/* === Contact Section === */
.contact-section { background: var(--bg-section); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info { padding: 20px 0; }
.contact-info h2 { font-size: 1.8rem; font-weight: 600; color: var(--navy); margin-bottom: 24px; letter-spacing: -0.5px; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-value { font-size: 1rem; color: var(--navy); font-weight: 600; }

/* === Footer === */
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo-text { color: #fff; font-size: 1.2rem; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; opacity: 0.5; }
.footer h4 { color: rgba(255,255,255,0.9); font-size: 0.85rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.footer-links a {
    display: block;
    padding: 4px 0;
    font-size: 0.88rem;
    opacity: 0.5;
}
.footer-links a:hover { opacity: 1; color: var(--primary); }
.footer-contact p { font-size: 0.88rem; margin-bottom: 12px; opacity: 0.5; }
.footer-bottom {
    padding: 40px 32px;
    text-align: center;
    background: none;
    position: relative;
    border-top: 2px solid rgba(200, 168, 100, 0.3);
    margin-top: 16px;
}
.footer-bottom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,27,47,0.82) 0%, rgba(27,27,47,0.72) 100%);
}
.footer-bottom p { font-size: 0.82rem; opacity: 0.7; position: relative; z-index: 1; color: #fff; }

/* === Breadcrumb === */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.breadcrumb-outside {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    padding: 12px 0;
    margin-top: 72px;
}
.breadcrumb-outside a { color: rgba(255,255,255,0.8) !important; }
.breadcrumb-outside a:hover { color: #fff !important; }
.breadcrumb-outside span { color: rgba(255,255,255,0.5); }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* === Page Hero (Sub pages) === */
/* V13b: Page hero with visible watermark background */
.page-hero {
    padding: 100px 0 48px;
    background: 
        url('../images/watermark.svg') center center / 400px auto no-repeat,
        linear-gradient(135deg, #1a365d 0%, #2d3748 50%, #1a365d 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before { background: none; }
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(255,255,255,0.02) 60px,
            rgba(255,255,255,0.02) 61px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 60px,
            rgba(255,255,255,0.02) 60px,
            rgba(255,255,255,0.02) 61px
        ),
        radial-gradient(ellipse at 20% 50%, rgba(102,126,234,0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(118,75,162,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.page-hero p { opacity: 0.5; font-size: 1rem; font-weight: 400; }

/* === Route Detail === */
.route-detail { background: #fff; }
.route-detail-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}
.route-gallery {
    border-radius: var(--radius);
    overflow: hidden;
}
.route-gallery img { width: 100%; height: 400px; object-fit: cover; }
.route-info-box {
    background: var(--bg-warm);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border-light);
}
.route-info-box h2 { font-size: 1.3rem; color: var(--navy); margin-bottom: 16px; font-weight: 600; }
.route-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.route-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--text-muted); }
.route-highlights { margin-bottom: 24px; }
.route-highlights h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: 12px; font-weight: 600; }
.route-highlights li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}
.route-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}
.route-cta-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
}
.route-cta-btn:hover { background: var(--primary-dark); }

/* Route itinerary */
.itinerary { margin-top: 40px; }
.itinerary h2 { font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: 28px; }
.day-card {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    padding: 24px;
    background: var(--bg-warm);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}
.day-card:hover { background: var(--bg-section); }
.day-number {
    min-width: 56px;
    height: 56px;
    background: var(--navy);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.day-number small { font-size: 0.65rem; font-weight: 400; color: rgba(255,255,255,0.5); }
.day-content h3 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; font-weight: 600; }
.day-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; }

/* === News List Page === */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 0;
}

/* === News Detail === */
.news-detail-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 0;
}
.news-detail-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.4;
    letter-spacing: -0.5px;
}
.news-detail-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}
.news-detail-body { line-height: 1.9; color: var(--text-secondary); font-size: 0.95rem; }
.news-detail-body p { margin-bottom: 20px; }
.news-detail-body h2 { font-size: 1.3rem; color: var(--navy); margin: 28px 0 14px; font-weight: 600; }
.news-detail-body img { border-radius: var(--radius-sm); margin: 20px 0; }

/* === Cases Page === */
.cases-list { padding: 40px 0; }
.case-full {
    background: var(--bg-warm);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}
.case-full h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 14px; font-weight: 600; }
.case-full p { color: var(--text-secondary); line-height: 1.9; margin-bottom: 12px; font-size: 0.95rem; }

/* === Animations === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}
.fade-in.visible {
    opacity: 1;
}

/* === Back to Top === */
.back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary); transform: translateY(-2px); }

/* === Language Switcher === */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
    padding: 4px;
    border-radius: 6px;
    background: var(--bg-section);
    font-size: 0.82rem;
}
.lang-switch a { padding: 4px 10px; border-radius: 4px; color: var(--text-muted); font-weight: 500; }
.lang-switch a.active { background: var(--navy); color: #fff; }

/* === English Site Compatible Classes === */
.nav-list { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all 0.25s ease;
    list-style: none;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.dropdown-menu li a:hover { color: var(--navy); background: var(--bg-section); }

/* V13c: EN nav-thumb size constraints */
.dropdown-menu li a .nav-thumb {
    width: 56px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}
.dropdown-menu li a .nav-thumb-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.dropdown-menu li a .nav-thumb-text small {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
}
.dropdown-menu li a {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--navy);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
}
.active-lang { background: var(--navy) !important; color: #fff !important; }

/* === Responsive === */
@media (max-width: 1024px) {
    .routes-grid, .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.6rem; }
}

/* V20b: Route content grid for 2-day/3-day pages */
.route-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    /* ==============================
       V13d: Mobile Navigation - Complete Rewrite
       ============================== */

    /* Hamburger button (CN) - always clickable */
    .menu-toggle,
    button.menu-toggle {
        display: flex !important;
        position: relative !important;
        z-index: 10001 !important;
        order: 10;
        margin-left: auto;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        align-items: center !important;
        justify-content: center !important;
        background: #0d7eb8 !important;
        border-radius: 10px !important;
        padding: 0 !important;
        cursor: pointer !important;
        border: none !important;
        box-shadow: 0 2px 8px rgba(102,126,234,0.3) !important;
        flex-shrink: 0;
        -webkit-tap-highlight-color: rgba(102,126,234,0.2);
        touch-action: manipulation;
        -webkit-user-select: none;
        user-select: none;
    }
    .menu-toggle span {
        display: block !important;
        width: 22px !important;
        height: 3px !important;
        background: #fff !important;
        border-radius: 2px !important;
        margin: 0 !important;
        pointer-events: none !important;
    }
    .menu-toggle span:nth-child(1) { margin-bottom: 4px !important; }
    .menu-toggle span:nth-child(2) { margin-bottom: 4px !important; }

    /* Nav container - hidden by default, shown when checkbox checked */
    .nav {
        display: none !important;
        position: fixed !important;
        top: var(--header-height, 72px) !important;
        left: 0 !important;
        right: 0 !important;
        height: calc(100vh - var(--header-height, 72px)) !important;
        background: rgba(255, 255, 255, 0.99) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px 20px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        z-index: 9999 !important;
    }
    .nav.open {
        display: flex !important;
    }
    .nav a {
        padding: 14px 16px !important;
        font-size: 1rem !important;
        width: 100% !important;
        display: block !important;
        color: #333 !important;
        border-bottom: 1px solid #f0f0f0 !important;
        box-sizing: border-box !important;
    }
    .nav-item .dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
        margin: 4px 0 8px !important;
        padding: 4px 0 !important;
        display: block !important;
    }
    .nav-item .dropdown a {
        padding: 10px 16px 10px 36px !important;
        font-size: 0.9rem !important;
        border-bottom: 1px solid rgba(0,0,0,0.04) !important;
    }

    /* Hide desktop elements on mobile */
    .header-phone { display: none !important; }
    /* Hide lang-switch in header on mobile (keep only in nav menu for EN) */
    .header-inner > .lang-switch { display: none !important; }
    /* CN lang-switch (direct .nav children) - hide on mobile */
    .nav > a[href="index.html"],
    .nav > a[href="en/index.html"] { display: none !important; }
    /* EN lang-switch (li inside nav-list) - keep visible in mobile menu */
    .nav-list .lang-switch { display: list-item !important; padding: 8px 16px !important; border-bottom: 1px solid #f0f0f0 !important; }
    .nav-list .lang-switch a { display: inline !important; padding: 0 !important; border: none !important; width: auto !important; font-size: 0.85rem !important; color: #0d7eb8 !important; }
    .nav-list .lang-switch .active-lang { font-weight: 700; }

    /* Hamburger button (EN) - always clickable */
    .mobile-toggle,
    button.mobile-toggle {
        display: flex !important;
        position: relative !important;
        z-index: 10001 !important;
        order: 10;
        margin-left: auto;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 1.4rem !important;
        background: #0d7eb8 !important;
        border-radius: 10px !important;
        border: none !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        color: #fff !important;
        cursor: pointer !important;
        box-shadow: 0 2px 8px rgba(102,126,234,0.3) !important;
        flex-shrink: 0;
        line-height: 44px !important;
        padding: 0 !important;
        -webkit-tap-highlight-color: rgba(102,126,234,0.2);
        touch-action: manipulation;
        -webkit-user-select: none;
        user-select: none;
    }

    /* EN nav-list inside .nav - normal flow inside parent overlay */
    .nav-list {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
    }
    .nav-list li a {
        padding: 14px 16px !important;
        font-size: 1rem !important;
        width: 100% !important;
        display: block !important;
        color: #333 !important;
        border-bottom: 1px solid #f0f0f0 !important;
        box-sizing: border-box !important;
    }
    .nav-list .nav-dropdown > a {
        font-weight: 600 !important;
        color: #0d7eb8 !important;
    }
    .dropdown-menu {
        list-style: none !important;
        margin: 0 0 8px !important;
        padding: 0 !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
        display: block !important;
    }
    .dropdown-menu li a {
        padding: 10px 16px 10px 36px !important;
        font-size: 0.9rem !important;
        display: block !important;
        border-bottom: 1px solid rgba(0,0,0,0.04) !important;
    }
    .dropdown-menu .nav-thumb {
        width: 48px !important;
        height: 36px !important;
        border-radius: 4px !important;
        object-fit: cover !important;
        vertical-align: middle !important;
        margin-right: 8px !important;
    }
    .dropdown-menu .nav-thumb-text {
        display: inline-flex !important;
        flex-direction: column !important;
        vertical-align: middle !important;
        line-height: 1.3 !important;
    }
    .dropdown-menu .nav-thumb-text small {
        font-size: 0.72rem !important;
        color: #999 !important;
    }

    /* Other mobile layout rules */
    .hero-title { font-size: 2rem; letter-spacing: 0; }
    .hero-desc { font-size: 1rem; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .routes-grid, .news-grid, .cases-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-number { font-size: 2.2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
    }
    .footer-contact { grid-column: 1 / -1; }
    .section { padding: 48px 0; }
    .section-title { font-size: 1.6rem; }
    .route-detail-header { grid-template-columns: 1fr; }
    .cta-phone { font-size: 1.8rem; }
    .news-list-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 90px 0 36px; }
    .page-hero h1 { font-size: 1.8rem; }
    .route-content-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
    .container { padding: 0 20px; }

    /* V19: Mobile dropdown collapse/expand (moved inside media query) */
    .nav-item .dropdown {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .nav-item.expanded .dropdown {
        max-height: 800px !important;
        padding: 4px 0 !important;
    }
    .nav-item > a {
        position: relative;
    }
    .nav-item > a::after {
        content: '▸';
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s;
        font-size: 0.9rem;
        color: #999;
    }
    .nav-item.expanded > a::after {
        transform: translateY(-50%) rotate(90deg);
    }

    /* V19: EN Mobile dropdown collapse/expand */
    .dropdown-menu {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .nav-dropdown.expanded .dropdown-menu {
        max-height: 800px !important;
        margin: 0 0 8px !important;
        padding: 4px 0 !important;
    }
    .nav-dropdown > a {
        position: relative;
    }
    .nav-dropdown > a::after {
        content: '▸';
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s;
        font-size: 0.9rem;
        color: #999;
    }
    .nav-dropdown.expanded > a::after {
        transform: translateY(-50%) rotate(90deg);
    }

    /* V19: Nav scroll padding - ensure last item visible */
    .nav {
        padding-bottom: 80px !important;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .advantage-card { padding: 20px 12px; }
    .day-card { flex-direction: column; gap: 12px; }
}

/* === Nav Dropdown with Images === */
.nav-item .dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
}
.nav-item .dropdown a .nav-thumb {
    width: 56px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.08);
}
.nav-item .dropdown a .nav-thumb-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.nav-item .dropdown a .nav-thumb-text small {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* === English site banner compatibility === */
.hero-banner { position: relative; width: 100%; min-height: 600px; height: 100vh; overflow: hidden; }
.banner-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.banner-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity 1.2s ease-in-out, visibility 1.2s; z-index: 0; }
.banner-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.banner-slide img { display: none; }
.banner-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; z-index: 5; padding: 20px; }
.banner-overlay h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.banner-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
}
.banner-prev, .banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.15s ease;
}
.banner-prev { left: 24px; }
.banner-next { right: 24px; }
.banner-prev:hover, .banner-next:hover { background: rgba(255,255,255,0.4); }

/* === Page Banner for subpages === */
.page-banner {
    position: relative;
    width: 100%;
    min-height: 267px; height: 33vh;
    overflow: hidden;
}
.page-banner > img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.page-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 5;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.5) 100%);
}
.page-banner-overlay h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.page-banner-overlay p {
    font-size: 1.25rem;
    margin-bottom: 24px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
    .page-banner { min-height: 280px; height: 40vh; position: relative; overflow: hidden; }
    .page-banner > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
    .page-banner-overlay h1 { font-size: 2rem; }
    .page-banner-overlay p { font-size: 1rem; }
}


/* === Win10 Style Extras === */
.route-card:hover {
    transform: none;
    border-color: #0078D7;
}
.footer-links a:hover { color: #0078D7; }

/* === V5 Footer Redesign === */
.footer {
    position: relative;
    overflow: hidden;
}
.footer-bg-overlay {
    position: absolute;
    inset: 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.18;
    z-index: 0;
}
.footer-brand-full {
    text-align: center;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 40px;
}
.footer-brand-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 8px;
}
.footer-brand-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    margin-bottom: 12px;
}
.footer-brand-slogan {
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.8;
    letter-spacing: 2px;
}
.footer .footer-grid {
    position: relative;
    z-index: 1;
}
.footer .footer-bottom {
    background: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 32px;
    position: relative;
    z-index: 1;
}
.footer .footer-bottom::before {
    display: none;
}

/* === V5 Banner Fix - ensure proper display === */


.slider-dots { z-index: 3; }


/* === V5 Route grid - 6 cards layout === */
.routes-grid {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 992px) {
    .routes-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === V6 Logo Two Lines === */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.logo-text .logo-en {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}
.logo-text .logo-cn {
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
}
/* Nav dropdown for news */
.nav-item .dropdown a {
    padding: 8px 16px;
    font-size: 0.85rem;
}


/* === Navigation Hover Effect === */
.nav a, .nav-list a {
    position: relative;
    transition: all 0.3s ease;
}
.nav a::before, .nav-list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0d7eb8, #c9a96e, #095a85, #36a3d9);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav a:hover::before, .nav-list a:hover::before {
    width: 80%;
}
.nav-item:hover > a::before, .nav-dropdown:hover > a::before {
    width: 80%;
}

/* Header scroll effect */
.header {
    transition: background 0.3s ease;
}
.header.scrolled {
    background: linear-gradient(135deg, #0d7eb8 0%, #095a85 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}


/* === Tips Navigation Section === */
.tips-nav-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.tips-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.tips-nav-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}
.tips-nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.tips-nav-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}
.tips-nav-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--navy);
}
.tips-nav-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}
.tips-nav-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #0d7eb8 0%, #095a85 100%);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.tips-nav-card:hover .tips-nav-btn {
    background: linear-gradient(135deg, #095a85 0%, #0d7eb8 100%);
}

/* === Tips Content Pages === */
.tips-content {
    max-width: 900px;
    margin: 0 auto;
}
.tips-category {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.tips-category h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}
.tips-category ul {
    list-style: none;
    padding: 0;
}
.tips-category li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    line-height: 1.8;
    color: #555;
}
.tips-category li:last-child {
    border-bottom: none;
}
.tips-category li strong {
    color: var(--navy);
    font-weight: 600;
}

@media (max-width: 768px) {
    .tips-nav-grid { grid-template-columns: 1fr; }
    .tips-nav-card { padding: 30px 20px; }
    .tips-category { padding: 20px; }
    .tips-category h2 { font-size: 1.2rem; }
}

/* V9 - Tips Images Grid */
.tips-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.tips-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tips-images img:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .tips-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tips-images img {
        height: 200px;
    }
}


/* V9 - Dynamic Navigation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header {
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d7eb8, #c9a96e, #095a85, #36a3d9, #c9a96e);
    transition: width 0.4s ease;
}

.header:hover::before {
    width: 100%;
}

/* V9 - About Preview */
.about-preview {
    padding: 60px 0;
    background: #f8f9fa;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-video {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.about-video video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #000;
}

.about-text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.about-text .lead {
    font-size: 1.25rem;
    color: #0d7eb8;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-highlights {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.about-highlights span {
    background: linear-gradient(135deg, #0d7eb8 0%, #095a85 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-highlights {
        gap: 8px !important;
        flex-wrap: nowrap !important;
        justify-content: center;
    }
    .about-highlights span {
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
        white-space: nowrap;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
    }
}




    /* Language switch button (mobile) */
    .lang-switch-btn {
        display: flex !important;
        position: relative !important;
        z-index: 10001 !important;
        order: 9;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(102,126,234,0.15) !important;
        border: 1.5px solid #0d7eb8 !important;
        border-radius: 8px !important;
        font-size: 0.7rem !important;
        font-weight: 700 !important;
        color: #0d7eb8 !important;
        cursor: pointer !important;
        text-decoration: none !important;
        margin-right: 6px !important;
        flex-shrink: 0;
        line-height: 1 !important;
        padding: 0 !important;
    }

/* === Contact Modal (V17) === */
.contact-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 20000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.contact-modal-overlay.active {
    display: flex;
}
.contact-modal {
    background: #fff;
    border-radius: 16px;
    width: 320px;
    max-width: 90vw;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    animation: modalIn 0.25s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.contact-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    border: none;
    background: none;
    line-height: 1;
    padding: 4px;
}
.contact-modal-close:hover { color: #333; }
.contact-modal h3 {
    text-align: center;
    font-size: 1.15rem;
    color: #333;
    margin: 0 0 6px;
}
.contact-modal .modal-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 20px;
}
.contact-modal .modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all 0.2s;
}
.modal-btn-phone {
    background: linear-gradient(135deg, #0d7eb8, #095a85);
    color: #fff;
}
.modal-btn-phone:hover { opacity: 0.9; transform: translateY(-1px); }
.modal-btn-phone2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #fff;
}
.modal-btn-phone2:hover { opacity: 0.9; transform: translateY(-1px); }
.modal-btn-wechat {
    background: #07c160;
    color: #fff;
}
.modal-btn-wechat:hover { opacity: 0.9; transform: translateY(-1px); }
.modal-btn-wechat .wechat-id {
    font-size: 0.85rem;
    opacity: 0.9;
}
.modal-copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    z-index: 30000;
    display: none;
}

/* Founder Image Styles */
.founder-image {
    flex-shrink: 0;
}

.founder-image img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.founder-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.founder-text {
    flex: 1;
}

@media (max-width: 768px) {
    .founder-content {
        flex-direction: column;
    }
    
    .founder-image img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}


/* === V12 Footer Layout Fix === */
.footer .footer-grid {
    grid-template-columns: 1fr 1fr 1.5fr !important;
}
.footer .footer-grid > div:nth-child(1),
.footer .footer-grid > div:nth-child(2) {
    /* 快速链接和热门线路在同一行 */
}

/* === V12 Logo Enhancement === */
.logo img {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* V13: Mobile footer - quick links + popular tours side by side */
@media (max-width: 768px) {
    .footer .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .footer .footer-grid .footer-contact {
        grid-column: 1 / -1;
    }
}

/* ============================================
   V13c: EN Homepage CSS - Complete definitions
   ============================================ */

/* Trust Badge Section */
.trust-badge {
    background: linear-gradient(135deg, rgba(102,126,234,0.05), rgba(118,75,162,0.05));
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}
.badge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.badge-icon {
    font-size: 1.5rem;
}

/* Featured Tours Section */
.featured-tours {
    background: var(--bg-section);
    padding: 100px 0;
}
.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.tour-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}
.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: transparent;
}
.tour-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tour-card:hover .tour-card-image img {
    transform: scale(1.05);
}
.tour-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.tour-card-body {
    padding: 20px;
}
.tour-card-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}
.tour-card-body p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.tour-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.tour-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.tour-price .price-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e53e3e;
}
.price-unit {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}
.price-conv {
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Why Choose Us Section */
.why-choose-us {
    background: #fff;
    padding: 100px 0;
}
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.advantage-grid .advantage-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    background: var(--bg-section);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.advantage-grid .advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.advantage-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}
.advantage-grid .advantage-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}
.advantage-grid .advantage-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* News Preview Section */
.news-preview {
    background: var(--bg-section);
    padding: 100px 0;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-card-image {
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card-image img {
    transform: scale(1.05);
}
.news-date {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Button variants */
.btn-sm {
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
    border-radius: 6px !important;
}
.btn-text {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 0;
}
.btn-text:hover {
    color: var(--primary);
}
.btn-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
    border: none;
}
.btn-whatsapp:hover {
    background: #1da851 !important;
}

/* Stats section (EN compatibility) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item {
    padding: 20px;
}
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* Responsive for EN sections */
@media (max-width: 1024px) {
    .tour-grid,
    .advantage-grid,
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .badge-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .tour-grid,
    .advantage-grid,
    .news-grid { grid-template-columns: 1fr; }
    .badge-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .badge-item { font-size: 0.78rem; flex-direction: column; gap: 4px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-badge { padding: 24px 0; }
    .featured-tours,
    .why-choose-us,
    .news-preview { padding: 60px 0; }
}
@media (max-width: 480px) {
    .badge-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 1.8rem; }
}

/* ============================================
   V13c: Complete EN Pages CSS
   All missing class definitions
   ============================================ */

/* === Route Detail Pages === */

/* === V20e: CN Route Full Card (routes listing page) === */
.route-full-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    margin-bottom: 28px;
    overflow: hidden;
}
.route-full-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}
.route-full-card-img {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: var(--radius) 0 0 var(--radius);
}
.route-full-card-img .tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.route-full-card-img .tag.green { background: var(--green); }
.route-full-card-img .tag.blue { background: #4a90d9; }
.route-full-card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.route-full-card-content h3 {
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}
.route-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.route-tags span {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--bg-warm);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.route-tags span.green { background: #e8f5e9; color: #2e7d32; border-color: #c8e6c9; }
.route-tags span.blue { background: #e3f2fd; color: #1565c0; border-color: #bbdefb; }
.route-full-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}
.route-full-meta-item {
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.route-full-meta-item strong {
    color: var(--navy);
}
.route-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.route-highlights-list li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.route-highlights-list li:last-child { border-bottom: none; }
.route-highlights-list li::before {
    content: '✓ ';
    color: var(--green);
    font-weight: 700;
}
.route-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.route-price-big {
    font-size: 1.6rem;
    font-weight: 800;
    color: #e53e3e;
}
.route-price-big small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* V20e: route-full-card responsive */
@media (max-width: 768px) {
    .route-full-card-grid {
        grid-template-columns: 1fr !important;
        direction: ltr !important;
    }
    .route-full-card-img {
        min-height: 200px;
        border-radius: var(--radius) var(--radius) 0 0;
    }
    .route-full-card-img [style*="direction"] { direction: ltr !important; }
    .route-full-card-content {
        padding: 20px;
    }
    .route-full-card-content h3 {
        font-size: 1.15rem;
    }
    .route-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .route-full-meta {
        gap: 8px;
    }
}

.route-detail-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}
.route-detail-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: start;
}
.route-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
}
.route-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.route-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}
.route-info-main {
    grid-column: 1 / -1;
}
.route-overview {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.route-overview h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin: 24px 0 12px;
}
.route-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}
.route-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-section);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.route-desc {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.route-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}
.sticky-card {
    position: sticky;
    top: 100px;
}
.sidebar-price {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.price-main-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: #e53e3e;
}
.price-large {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e53e3e;
}
.price-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.price-box {
    background: var(--bg-section);
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
}
.price-conversions {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
}
.price-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: italic;
}
.sidebar-features {
    list-style: none;
    padding: 0;
}
.sidebar-features li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-features li:last-child { border-bottom: none; }
.sidebar-conversions {
    background: var(--bg-section);
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}
.sidebar-note {
    background: #fff8e1;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.8rem;
    color: #795548;
    margin-top: 12px;
}

/* Key Info */
.key-info-box {
    background: var(--bg-section);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
}
.key-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}
.key-info-item:last-child { border-bottom: none; }
.key-label { font-weight: 600; color: var(--navy); font-size: 0.88rem; }
.key-value { color: var(--text-secondary); font-size: 0.88rem; }

/* Itinerary Timeline */
.itinerary-timeline {
    margin: 24px 0;
}
.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-time {
    flex-shrink: 0;
    width: 80px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}
.timeline-content {
    flex: 1;
}
.timeline-content h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.timeline-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
}

/* Inclusions / Exclusions */
.inclusions-section {
    margin: 24px 0;
}
.inclusion-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.inclusion-list li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.exclusions {
    margin-top: 16px;
}
.exclusions li {
    padding: 4px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mini Tour Grid (Related Routes) */
.other-routes {
    background: var(--bg-section);
    padding: 80px 0;
}
.mini-tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mini-tour-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
    text-align: center;
}
.mini-tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.mini-tour-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.mini-tour-card h4 {
    padding: 12px 12px 4px;
    font-size: 0.95rem;
    color: var(--navy);
}
.mini-tour-card p {
    padding: 0 12px;
    font-size: 0.85rem;
    color: #e53e3e;
    font-weight: 600;
}
.mini-tour-card a {
    display: block;
    padding: 12px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}
.mini-tour-card a:hover { color: var(--primary); }

/* Comparison */
.comparison-section { margin: 24px 0; }
.comparison-table, .upgrade-comparison {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.comparison-table th, .comparison-table td,
.upgrade-comparison th, .upgrade-comparison td {
    padding: 10px 16px;
    border: 1px solid var(--border);
    text-align: left;
}
.comparison-table th, .upgrade-comparison th {
    background: var(--bg-section);
    font-weight: 600;
    color: var(--navy);
}
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* === About Page === */
.about-intro {
    padding: 60px 0;
    text-align: center;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.about-content h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin: 32px 0 16px;
}
.about-advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}
.founder-quote {
    background: var(--bg-section);
    border-radius: var(--radius);
    padding: 32px;
    margin: 40px 0;
    border-left: 4px solid var(--primary);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}
.founder-story {
    line-height: 1.8;
    color: var(--text-secondary);
}
.brand-story {
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 24px 0;
}
.brand-slogan {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy);
    text-align: center;
    margin: 32px 0;
}
.certifications { margin: 40px 0; }
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cert-item {
    text-align: center;
    padding: 24px;
    background: var(--bg-section);
    border-radius: var(--radius);
}
.cert-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}
.team-section { padding: 60px 0; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.team-card {
    text-align: center;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.highlight-card {
    background: var(--bg-section);
    border-radius: var(--radius);
    padding: 24px;
    margin: 16px 0;
}
.highlight-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.highlight-item:last-child { border-bottom: none; }
.custom-tour-cta {
    background: linear-gradient(135deg, #0d7eb8, #095a85);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: #fff;
    margin: 40px 0;
}
.custom-benefits {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.custom-benefits span {
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* === News/Article Pages === */
.news-article {
    max-width: 800px;
    margin: 0 auto;
}
.news-article-image {
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
    margin-bottom: 24px;
}
.news-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-article-body {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.news-article-body h2 {
    font-size: 1.4rem;
    color: var(--navy);
    margin: 32px 0 16px;
}
.news-article-body h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin: 24px 0 12px;
}
.article-content {
    line-height: 1.8;
    color: var(--text-secondary);
}
.article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.article-cta {
    background: var(--bg-section);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin: 32px 0;
}
.news-category {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}
.news-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 8px 0;
}
.news-list { margin: 24px 0; }
.news-cta {
    text-align: center;
    padding: 40px 0;
}
.news-article-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}

/* Traveler Notes */
.traveler-notes { margin: 40px 0; }
.notes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.note-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
}

/* Transport Guide */
.transport-guide { margin: 40px 0; }
.transport-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.transport-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
}
.transport-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 12px;
}

/* FAQ */
.faq-section { margin: 40px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    margin-bottom: 12px;
}
.faq-item h4 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.faq-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === Contact Page === */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}
.contact-card {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.contact-card h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 12px;
}
.contact-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}
.contact-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}
.quick-contact-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0;
    flex-wrap: wrap;
}
.map-section { margin: 40px 0; }
.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-placeholder {
    color: var(--text-muted);
    font-size: 0.92rem;
}
.inquiry-form { margin: 24px 0; }
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.92rem;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* === CTA Section extras === */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}
.cta-note {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin-top: 16px;
    text-align: center;
}

/* === Utility classes === */
.btn-lg {
    padding: 14px 36px !important;
    font-size: 1rem !important;
}
.btn-block {
    display: block !important;
    width: 100%;
    text-align: center;
}
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* === Responsive for all EN pages === */
@media (max-width: 1024px) {
    .route-detail-body { grid-template-columns: 1fr; }
    .mini-tour-grid { grid-template-columns: repeat(2, 1fr); }
    .about-advantages,
    .cert-grid,
    .team-grid,
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .notes-grid,
    .transport-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .route-detail-body { grid-template-columns: 1fr; }
    .route-info-grid { grid-template-columns: 1fr; }
    .mini-tour-grid { grid-template-columns: 1fr; }
    .about-advantages,
    .cert-grid,
    .contact-cards { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .team-card { padding: 16px 10px; }
    .team-card h4 { font-size: 0.9rem; }
    .team-card p { font-size: 0.8rem; }
    .notes-grid,
    .transport-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .timeline-item { flex-direction: column; gap: 8px; }
    .timeline-time { width: auto; }
    .inclusion-list { grid-template-columns: 1fr; }
    .news-article-image { height: 250px; }
    .quick-contact-btns { flex-direction: column; }
    .custom-benefits { flex-direction: column; align-items: center; }
}

/* === V18: Reviews Grid Responsive === */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* === V18: EN Desktop Nav - Reduce Compression === */
.nav-list {
    gap: 0 !important;
}
.nav-list li a {
    padding: 8px 10px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
}
.nav-list .nav-dropdown > a {
    padding: 8px 10px !important;
    font-size: 0.85rem !important;
}

/* === V19: Ensure Hamburger Visible on ALL Pages === */
button.menu-toggle {
    display: none; /* hidden on desktop */
}
button.mobile-toggle {
    display: none; /* hidden on desktop */
}
@media (max-width: 768px) {
    button.menu-toggle,
    button.mobile-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10002 !important;
        pointer-events: auto !important;
    }
}

/* === V20d: 终极汉堡按钮可见性保障 === */
@media (max-width: 768px) {
    button.menu-toggle,
    button.mobile-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10002 !important;
        pointer-events: auto !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        flex-shrink: 0 !important;
    }
}
@media (min-width: 769px) {
    button.menu-toggle,
    button.mobile-toggle {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* === V20d: EN路线页手机端grid响应式 === */
@media (max-width: 768px) {
    .route-content-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* ============================================
   V3: Page Background Images with Semi-transparent Overlay
   ============================================ */
body.page-bg {
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

body.page-bg::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(251, 248, 244, 0.82);
    z-index: -1;
    pointer-events: none;
}

body.page-bg .section {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

body.page-bg .hero {
    background: rgba(251, 248, 244, 0.7) !important;
}

body.page-bg .cta-section {
    background: rgba(196, 149, 106, 0.12) !important;
}

body.page-bg .stats-section {
    background: rgba(44, 24, 16, 0.06) !important;
}

body.page-bg .article-content {
    background: rgba(255, 255, 255, 0.8) !important;
}

body.page-bg .news-detail-card {
    background: rgba(255, 255, 255, 0.85) !important;
}

body.page-bg .route-detail-header {
    background: rgba(255, 255, 255, 0.7) !important;
}

/* Footer stays opaque */
body.page-bg .footer {
    background: var(--navy-dark) !important;
    position: relative;
    z-index: 1;
}

/* Header stays opaque */

@media (max-width: 768px) {
    body.page-bg {
        background-attachment: scroll;
    }
}

/* === V4: 浮动在线咨询按钮 === */
.float-consult-btn {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 9000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d7eb8, #095a85);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102,126,234,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    animation: float-pulse 2s infinite;
}
.float-consult-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(102,126,234,0.5);
}
@keyframes float-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(102,126,234,0.4); }
    50% { box-shadow: 0 4px 28px rgba(102,126,234,0.6); }
}

/* EN floating button */
.float-consult-btn-en {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 9000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d7eb8, #095a85);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102,126,234,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    animation: float-pulse 2s infinite;
}
.float-consult-btn-en:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(102,126,234,0.5);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .float-consult-btn, .float-consult-btn-en {
        right: 12px;
        bottom: 80px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}
/* ============================================
   Jinjiao Travel - Additional Styles
   ============================================ */

/* Itinerary */
.itinerary-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.itinerary-day {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.itinerary-day:last-child {
    border-bottom: none;
}
.day-badge {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d7eb8, #095a85);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.95rem;
}
.day-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    color: #095a85;
}
.day-content p {
    margin: 0;
    color: #555;
    line-height: 1.8;
}

/* Highlight tags */
.highlight-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(13,126,184,0.1), rgba(201,169,110,0.15));
    border: 1px solid rgba(13,126,184,0.2);
    color: #095a85;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
}

/* Sidebar routes */
.sidebar-route {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}
.sidebar-route:hover {
    background: rgba(13,126,184,0.05);
}
.sidebar-route img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.sidebar-route h4 {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
}
.sidebar-route p {
    margin: 0;
    font-size: 0.8rem;
    color: #0d7eb8;
    font-weight: bold;
}

/* Route detail layout responsive */
@media (max-width: 768px) {
    .route-detail-layout {
        grid-template-columns: 1fr !important;
    }
    .route-sidebar {
        order: -1;
    }
}

/* Hero tag */
.hero-tag {
    display: inline-block;
    background: rgba(13,126,184,0.85);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

/* Page hero */
.page-hero {
    position: relative;
}
.page-hero .container {
    position: relative;
    z-index: 1;
}

/* Article body */
.article-body h3 {
    color: #095a85;
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.3rem;
}
.article-body p {
    margin-bottom: 16px;
}
.article-body ul {
    margin-bottom: 16px;
    padding-left: 24px;
}
.article-body li {
    margin-bottom: 8px;
}

/* CTA phone */
.cta-phone {
    font-size: 1.5rem;
    margin: 16px 0;
}

/* Stats section */
.stats-section {
    background: linear-gradient(135deg, #095a85 0%, #0d7eb8 100%);
    color: #fff;
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #c9a96e;
}
.stat-label {
    margin-top: 8px;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Gold accent color utility */
:root {
    --gold: #c9a96e;
}

/* Logo text update */
.logo-en {
    letter-spacing: 1px;
}

/* Footer brand */
.footer-brand-full {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-title {
    font-size: 2rem;
    letter-spacing: 3px;
    color: #c9a96e;
    margin: 0 0 8px 0;
}
.footer-brand-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 8px 0;
    font-weight: normal;
}
.footer-brand-slogan {
    color: rgba(255,255,255,0.7);
    font-style: italic;
    margin: 0;
}

/* Float consult button */
.float-consult-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d7eb8, #095a85);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(13,126,184,0.4);
    z-index: 999;
    transition: transform 0.2s;
}
.float-consult-btn:hover {
    transform: scale(1.1);
}

/* Contact modal */
.contact-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.contact-modal-overlay.active {
    display: flex;
}
.contact-modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
}
.contact-modal-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
}
.contact-modal h3 {
    margin: 0 0 16px 0;
    color: #095a85;
}

/* Back to top */
.back-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 998;
}

/* News grid in articles */
@media (max-width: 768px) {
    .article-body + .news-grid,
    .news-grid[style*="repeat(3"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   V14 Fixes - 2026-08-17
   ============================================ */

/* Desktop dropdown nav - better spacing */
.nav-item .dropdown {
    min-width: 240px;
    padding: 10px 0;
}
.nav-item .dropdown a {
    padding: 12px 20px;
    font-size: 0.88rem;
    line-height: 1.5;
    white-space: nowrap;
}
.nav-item .dropdown a .nav-thumb {
    width: 48px;
    height: 36px;
    border-radius: 6px;
    margin-right: 12px;
    flex-shrink: 0;
}
.nav-item .dropdown a .nav-thumb-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-item .dropdown a .nav-thumb-text small {
    font-size: 0.75rem;
    color: #999;
    white-space: normal;
    line-height: 1.3;
}

/* Homepage routes grid - 2 rows × 3 cols = 6 cards */
.routes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* About page promises - 4 per row on desktop */
.about-promises-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

/* Modal enhancements */
.modal-phone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.modal-phone-row:last-of-type { border-bottom: none; }
.modal-phone-link {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    flex: 1;
}
.modal-wechat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    margin-top: 8px;
    background: #f0faf0;
    border-radius: 10px;
    padding: 12px 14px;
    flex-wrap: wrap;
}
.modal-wechat-label {
    font-size: 0.9rem;
    color: #333;
}
.modal-wechat-id {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}
.modal-hours {
    text-align: center;
    margin-top: 14px;
    color: #999;
    font-size: 0.82rem;
}
.copy-btn {
    padding: 6px 14px;
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.82rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}
.copy-btn:hover {
    background: var(--primary);
    color: #fff;
}
.copy-btn:active { transform: scale(0.96); }

/* Route detail page mobile fixes */
@media (max-width: 768px) {
    /* Route full-card grid -> single column */
    .route-full-card-grid {
        grid-template-columns: 1fr !important;
    }
    .route-full-card-img {
        min-height: 220px !important;
    }
    .route-full-card-content {
        padding: 20px !important;
    }
    .route-full-card-content h3 {
        font-size: 1.25rem !important;
    }
    
    /* Routes list page cards */
    .route-card-img {
        height: 180px !important;
    }
    
    /* About promises - 2 columns on tablet, 1 on small phone */
    .about-promises-grid,
    div[style*="repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    /* Homepage routes - 2 columns on mobile */
    .routes-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    /* Brand stats - 2 columns on mobile */
    .stats-grid,
    div[style*="repeat(4,1fr)"][style*="text-align:center"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    /* Nav dropdown on mobile - ensure visible */
    .nav-item .dropdown {
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    /* Fix modal on mobile */
    .contact-modal {
        width: 90vw !important;
        max-width: 340px;
        padding: 24px 20px 20px;
    }
    .modal-phone-link { font-size: 1.05rem; }
    .modal-wechat-row { flex-direction: column; align-items: stretch; text-align: center; gap: 6px; }
}

@media (max-width: 480px) {
    .routes-grid {
        grid-template-columns: 1fr !important;
    }
    .about-promises-grid,
    div[style*="repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Route detail page - mobile single column layout */
@media (max-width: 768px) {
    .route-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    /* Itinerary items */
    .itinerary-day {
        flex-direction: column;
        gap: 8px;
    }
    .day-badge {
        align-self: flex-start;
    }
    /* Page hero on mobile */
    .page-hero {
        padding: 80px 0 50px !important;
    }
    .page-hero h1 {
        font-size: 1.6rem !important;
    }
    .page-hero p {
        font-size: 1rem !important;
    }
    /* Highlight tags */
    .highlight-tag {
        font-size: 0.82rem;
        padding: 6px 12px;
    }
    /* Route sidebar */
    .route-sidebar, .route-main > div[style*="320px"] {
        width: 100% !important;
    }
    /* Section padding */
    .section {
        padding: 32px 0 !important;
    }
    /* Container padding */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    /* Tables */
    .compare-table, .compare-table th, .compare-table td {
        font-size: 0.8rem !important;
        padding: 8px 6px !important;
    }
    .compare-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Ensure route-full-card-grid used in routes list works on mobile */
@media (max-width: 768px) {
    .route-full-card-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
}

/* EN page specific mobile fixes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.6rem !important;
    }
    .hero-desc {
        font-size: 0.95rem !important;
    }
    .hero-buttons .btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* ============================================
   V15 Fixes - 2026-08-17
   ============================================ */

/* News article pages need top padding to clear fixed header */
body > .section:first-of-type {
    /* only apply when immediately after fixed header - handled via inline style */
}

/* ---- Desktop dropdown nav: wider & less cramped ---- */
.nav-item .dropdown {
    min-width: 320px !important;
    padding: 12px 0 !important;
}
.nav-item .dropdown a {
    padding: 14px 20px !important;
    gap: 14px !important;
    line-height: 1.5 !important;
}
.nav-item .dropdown a .nav-thumb {
    width: 64px !important;
    height: 48px !important;
    border-radius: 8px !important;
}
.nav-item .dropdown a .nav-thumb-text {
    gap: 3px !important;
}
.nav-item .dropdown a .nav-thumb-text small {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
    white-space: normal !important;
}

/* ---- Mobile: fix hamburger menu on all pages ---- */
@media (max-width: 768px) {
    /* Ensure header-inner uses proper flex layout */
    .header-inner {
        flex-wrap: nowrap !important;
        gap: 8px !important;
        position: relative !important;
    }
    /* Logo shrinks if needed */
    .logo {
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }
    .logo img {
        height: 36px !important;
    }
    .logo-text {
        font-size: 0.95rem !important;
    }
    .logo-cn {
        display: none !important;
    }

    /* Language switch button */
    .lang-switch-btn {
        display: flex !important;
        order: 9 !important;
        flex-shrink: 0 !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        margin-right: 4px !important;
    }

    /* Hamburger - always visible, pushed right */
    .menu-toggle,
    button.menu-toggle {
        display: flex !important;
        order: 10 !important;
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }

    /* Hide header phone and lang-switch (the duplicate one inside header-inner) */
    .header-phone {
        display: none !important;
    }
    .header-inner > .lang-switch {
        display: none !important;
    }

    /* Nav overlay */
    .nav {
        display: none !important;
    }
    .nav.open {
        display: flex !important;
    }
}

/* ---- Mobile: route detail page 2-col grids → 1 col ---- */
@media (max-width: 768px) {
    /* Route detail main layout - inline style override */
    div[style*="grid-template-columns:1fr 320px"],
    div[style*="grid-template-columns: 1fr 320px"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    /* Fee section 2-column grids on route pages */
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    /* Contact page grid */
    .contact-page-grid {
        grid-template-columns: 1fr !important;
    }
    /* Sidebar moves below content on mobile */
    .route-sidebar {
        order: 2 !important;
    }
}

/* ---- Mobile: fix route sidebar card widths ---- */
@media (max-width: 768px) {
    .sidebar-route {
        padding: 12px !important;
    }
    .sidebar-route img {
        width: 72px !important;
        height: 54px !important;
    }
}

/* ============================================================
   V16 Mobile Logo Fix — show Chinese brand name next to logo
   ============================================================ */
@media (max-width: 768px) {
    .logo {
        gap: 6px !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .logo img {
        height: 40px !important;
        flex-shrink: 0 !important;
    }
    .logo-text {
        display: flex !important;
        flex-direction: column !important;
        line-height: 1.2 !important;
        font-size: 0 !important;  /* reset; child spans set their own sizes */
        min-width: 0 !important;
    }
    /* Show both English and Chinese stacked vertically
       White text + strong dark shadow = readable on both pastel gradient (top) and dark green (scrolled) */
    .logo-text .logo-en {
        display: block !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        color: #ffffff !important;
        text-shadow: 0 0 3px rgba(0,0,0,0.40), 0 1px 2px rgba(0,0,0,0.50) !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 52vw !important;
    }
    .logo-text .logo-cn {
        display: block !important;
        font-size: 0.78rem !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        text-shadow: 0 0 3px rgba(0,0,0,0.40), 0 1px 2px rgba(0,0,0,0.50) !important;
        letter-spacing: 0 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 52vw !important;
    }
}

/* ============================================================
   V19 Logo text readability — applies to ALL breakpoints
   Strong dark shadow around white letters so the brand name
   stays readable on both the pastel gradient (top of page)
   and the dark green header (after scroll).
   ============================================================ */
.logo-text .logo-en,
.logo-text .logo-cn {
    color: #ffffff !important;
    text-shadow:
        0 0 3px rgba(0,0,0,0.40),
        0 1px 2px rgba(0,0,0,0.50) !important;
}
.logo-text .logo-en {
    font-weight: 700 !important;
}
.logo-text .logo-cn {
    font-weight: 600 !important;
}

/* ============================================
   V21 Hengtong Holiday - New component styles
   Ocean Blue theme additions
   ============================================ */

/* === Page Hero (used across inner pages) === */
.page-hero {
    position: relative;
    padding: 140px 0 60px;
    color: #fff;
    text-align: left;
    background-size: cover;
    background-position: center;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    line-height: 1.25;
}
.page-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 720px;
    line-height: 1.6;
}
.page-hero-meta {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.95rem;
}
.page-hero-meta span {
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}
.breadcrumb {
    font-size: 0.88rem;
    margin-bottom: 14px;
    opacity: 0.9;
}
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.7); margin: 0 6px; }

/* === Route Detail Layout === */
.route-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}
.route-main { min-width: 0; }
.route-hero-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
}
.route-hero-image img { width: 100%; display: block; }
.route-detail-h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 32px 0 18px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    line-height: 1.3;
}
.highlights-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px 20px;
}
.highlights-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: var(--text);
    line-height: 1.6;
}
.highlights-list li::before {
    content: "✓";
    position: absolute;
    left: 0; top: 8px;
    width: 20px; height: 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 0.75rem;
    line-height: 20px;
    font-weight: 700;
}

/* Itinerary */
.itinerary-list { position: relative; padding-left: 8px; }
.day-item {
    display: flex;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px dashed var(--border);
}
.day-item:last-child { border-bottom: none; }
.day-badge {
    flex-shrink: 0;
    width: 78px;
    height: 78px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
}
.day-content h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.day-content p { color: var(--text-secondary); line-height: 1.8; margin: 0; }

/* Cost boxes */
.cost-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.cost-box {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
}
.cost-box h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}
.cost-include { background: rgba(13,126,184,0.04); border-color: rgba(13,126,184,0.2); }
.cost-exclude { background: #fafafa; }
.cost-box ul { list-style: none; padding: 0; margin: 0; }
.cost-box li {
    padding: 6px 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Notice */
.notice-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
}
.notice-box p {
    margin: 6px 0;
    line-height: 1.8;
    color: var(--text);
    font-size: 0.95rem;
}

/* FAQ */
.faq-list .faq-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
}
.faq-item h3 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Sidebar */
.route-sidebar { position: sticky; top: 90px; }
.sidebar-booking {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.sidebar-booking h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    text-align: center;
}
.sidebar-price {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #d9480f;
    margin-bottom: 6px;
}
.sidebar-price small { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.sidebar-duration, .sidebar-tag {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 4px 0;
}
.sidebar-tag { color: var(--primary); font-weight: 600; }
.sidebar-booking form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}
.sidebar-booking input,
.sidebar-booking select,
.sidebar-booking textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: inherit;
}
.sidebar-booking input:focus,
.sidebar-booking select:focus,
.sidebar-booking textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.sidebar-contact {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
    text-align: center;
}
.sidebar-contact p {
    margin: 4px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.sidebar-phone {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary) !important;
    margin: 6px 0;
    letter-spacing: 0.5px;
}
.sidebar-wechat { color: var(--text); font-weight: 600; }

/* Related routes */
.related-routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.related-route-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.related-route-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.related-route-card img { width: 100%; height: 150px; object-fit: cover; }
.related-route-card > div { padding: 12px 14px; }
.related-route-card h4 {
    font-size: 0.98rem;
    margin-bottom: 6px;
    color: var(--text);
    line-height: 1.4;
}
.related-route-card .route-price {
    color: #d9480f;
    font-weight: 700;
    font-size: 1.05rem;
}

/* === News detail === */
.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
}
.news-article {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.news-article-cover { width: 100%; max-height: 420px; object-fit: cover; }
.news-article-body {
    padding: 32px;
    line-height: 1.9;
    color: var(--text);
    font-size: 1rem;
}
.news-article-body h2 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin: 28px 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}
.news-article-body h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin: 22px 0 10px;
}
.news-article-body p { margin: 12px 0; }
.news-article-body ul, .news-article-body ol {
    padding-left: 24px;
    margin: 12px 0;
}
.news-article-body li { margin: 6px 0; line-height: 1.8; }
.news-article-body a { color: var(--primary); text-decoration: underline; }
.news-article-body strong { color: var(--primary-dark); }
.news-article-cta {
    margin: 32px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-light), rgba(232,168,56,0.1));
    border-radius: 12px;
    text-align: center;
}
.news-article-cta h3 { color: var(--primary-dark); margin-bottom: 8px; }
.news-article-cta p { color: var(--text-secondary); margin-bottom: 14px; }
.news-sidebar { position: sticky; top: 90px; }
.news-sidebar h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.news-related-card {
    display: block;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.news-related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.news-related-card img { width: 100%; height: 130px; object-fit: cover; }
.news-related-card h4 {
    padding: 10px 12px 4px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--text);
}
.news-related-card span {
    display: block;
    padding: 0 12px 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.sidebar-contact-card {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    color: #fff;
    text-align: center;
}
.sidebar-contact-card h4 { margin-bottom: 12px; font-size: 1.05rem; }
.sidebar-contact-card a.sidebar-phone { color: #fff !important; font-size: 1.2rem; }
.sidebar-contact-card p { color: rgba(255,255,255,0.85); margin: 6px 0; font-size: 0.88rem; }

/* === About page extras === */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-intro-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.about-intro h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.about-intro .lead {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 16px;
}
.about-intro p { margin: 12px 0; line-height: 1.9; color: var(--text-secondary); }
.promises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.promise-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}
.promise-card:hover { transform: translateY(-4px); }
.promise-card h3 { color: var(--primary-dark); margin-bottom: 10px; font-size: 1.15rem; }
.promise-card p { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }

.qual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.qual-card {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.qual-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.05rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}
.qual-card p { margin: 6px 0; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.team-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--gold);
}
.team-card h3 { color: var(--primary-dark); margin-bottom: 4px; }
.team-card .team-role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.team-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* === Cases === */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.case-card-img img { width: 100%; height: 220px; object-fit: cover; }
.case-card-body { padding: 20px; }
.case-card-body h3 { color: var(--primary-dark); margin-bottom: 6px; font-size: 1.15rem; }
.case-meta {
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.case-card-body p { color: var(--text-secondary); line-height: 1.8; font-size: 0.95rem; }

/* === Contact === */
.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-info h2 { color: var(--primary-dark); margin-bottom: 20px; font-size: 1.4rem; }
.contact-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
    width: 48px; height: 48px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.contact-item h3 { color: var(--primary-dark); font-size: 1.05rem; margin-bottom: 4px; }
.contact-item p { margin: 2px 0; color: var(--text-secondary); line-height: 1.6; }
.contact-form-wrap {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.contact-form-wrap h2 { color: var(--primary-dark); margin-bottom: 6px; }
.contact-form-wrap > p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.92rem; }
.form-row { margin-bottom: 14px; }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* === Custom page === */
.custom-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}
.custom-intro h2 { color: var(--primary-dark); font-size: 1.8rem; margin-bottom: 16px; }
.custom-intro p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.9; }
.custom-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.custom-type-card {
    background: #fff;
    padding: 28px 22px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.custom-type-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.ct-icon { font-size: 2.4rem; margin-bottom: 12px; }
.custom-type-card h3 { color: var(--primary-dark); margin-bottom: 8px; }
.custom-type-card p { color: var(--text-secondary); line-height: 1.7; font-size: 0.92rem; }
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    text-align: center;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    position: relative;
}
.step-num {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.step h3 { color: var(--primary-dark); margin-bottom: 6px; }
.step p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* === Tips === */
.tip-block {
    background: #fff;
    padding: 24px 28px;
    margin-bottom: 18px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}
.tip-block h2 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.tip-block p, .tip-block li {
    color: var(--text-secondary);
    line-height: 1.85;
}
.tip-block ul { padding-left: 22px; }
.tip-block li { margin: 4px 0; }

/* Route card meta */
.route-card-meta {
    display: flex;
    gap: 12px;
    margin: 8px 0 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === Responsive additions === */
@media (max-width: 968px) {
    .route-detail-layout,
    .news-detail-layout,
    .contact-layout,
    .about-intro-grid { grid-template-columns: 1fr; }
    .route-sidebar, .news-sidebar { position: static; }
    .cost-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .page-hero { padding: 110px 0 40px; }
    .page-hero h1 { font-size: 1.8rem; }
    .news-article-body { padding: 20px; }
    .news-article-cta { margin: 20px; }
}
@media (max-width: 560px) {
    .process-steps { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 1.5rem; }
    .highlights-list { grid-template-columns: 1fr; }
}

/* ============================================================
   V22 Fixes — dropdown width, contact form cards
   ============================================================ */
/* Desktop dropdown wider so long route names don't crowd */
.nav-item .dropdown {
    min-width: 380px !important;
    max-width: 420px !important;
    padding: 12px 0 !important;
    overflow: hidden !important;
}
.nav-item .dropdown a {
    padding: 10px 16px !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    white-space: normal !important;
    overflow: hidden !important;
}
.nav-item .dropdown a .nav-thumb {
    width: 72px !important;
    height: 54px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    margin-right: 0 !important;
}
.nav-item .dropdown a .nav-thumb-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
}
.nav-item .dropdown a .nav-thumb-text span,
.nav-item .dropdown a .nav-thumb-text {
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
.nav-item .dropdown a .nav-thumb-text small {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
/* Contact quick-action cards hover */
.contact-form-wrap a[href^="tel"]:hover,
.contact-form-wrap div[onclick]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(13,126,184,0.25) !important;
}

/* ============================================
   V24: 线路侧边栏预订按钮改联系按钮
   ============================================ */
.sidebar-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}
.sidebar-cta-btn {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px !important;
    border: none;
    border-radius: 10px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    font-family: inherit;
}
.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    text-decoration: none !important;
}
.sidebar-cta-btn .cta-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}
.sidebar-cta-btn .cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    text-align: left;
}
.sidebar-cta-btn .cta-text strong {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.sidebar-cta-btn .cta-text small {
    font-size: 13px;
    color: rgba(255,255,255,0.88);
    margin-top: 2px;
}
.sidebar-cta-call {
    background: linear-gradient(135deg, #0d7eb8, #095a85);
}
.sidebar-cta-call2 {
    background: linear-gradient(135deg, #13a88c, #0d7d68);
}
.sidebar-cta-wechat {
    background: linear-gradient(135deg, #07c160, #06ad56);
}
.sidebar-cta-call:hover {
    background: linear-gradient(135deg, #0f8fcf, #0a6a9c);
}
.sidebar-cta-call2:hover {
    background: linear-gradient(135deg, #16bf9f, #0f9478);
}
.sidebar-cta-wechat:hover {
    background: linear-gradient(135deg, #08d56a, #07c060);
}

/* ============================================
   V24 fix: 手机端英文版关于我们文字溢出
   ============================================ */
.about-text,
.about-text h2,
.about-text p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
.about-text h2 {
    hyphens: auto;
}
@media (max-width: 768px) {
    .about-text .lead {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    .about-text p {
        font-size: 0.88rem !important;
        line-height: 1.7 !important;
    }
}
.about-preview-grid > div { min-width: 0; }
@media (max-width: 768px) {
    .about-highlights {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }
    .about-highlights span {
        white-space: normal !important;
        text-align: center;
    }
}

/* ============================================
   V26: 新闻分类栏目美化
   ============================================ */
.news-category {
    margin-bottom: 56px;
    scroll-margin-top: 90px;
}
.news-category:last-child {
    margin-bottom: 0;
}
.news-category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #eef3f7;
    position: relative;
}
.news-category-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
}
.news-category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 12px;
    flex-shrink: 0;
}
.news-category-itinerary .news-category-icon {
    background: linear-gradient(135deg, #e8f4fc, #d0eaf8);
    box-shadow: 0 3px 10px rgba(13,126,184,0.15);
}
.news-category-info .news-category-icon {
    background: linear-gradient(135deg, #fef5e7, #fdebc8);
    box-shadow: 0 3px 10px rgba(232,168,56,0.15);
}
.news-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0;
    white-space: nowrap;
}
.news-category-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #dde6ed, transparent);
}
.news-category-count {
    font-size: 0.82rem;
    color: #8a9aa8;
    background: #f0f4f7;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 500;
}
.news-category-itinerary .news-category-count {
    color: var(--primary);
    background: #e8f4fc;
}
.news-category-info .news-category-count {
    color: #b88020;
    background: #fef5e7;
}
