/* ============================================
   川西川藏旅游官网 - 主样式表
   设计风格：简约治愈、高原国风、干净高级
   主色调：雪山蓝 #1a3a5c | 草原绿 #2d6a4f | 藏式浅红 #8b4513
   ============================================ */

/* 基础重置 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    color: #333; line-height: 1.7; background: #fff; overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 按钮 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 32px; border-radius: 8px; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all .3s; border: 2px solid transparent; text-decoration: none;
}
.btn-primary { background: linear-gradient(135deg, #1a3a5c, #2d6a4f); color: #fff; }
.btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,58,92,.25); }
.btn-outline { background: #fff; color: #1a3a5c; border-color: #1a3a5c; }
.btn-outline:hover { background: #1a3a5c; color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 20px; font-size: 13px; }

/* 导航 */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,.06); transition: all .3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: #1a3a5c; }
.logo-icon { font-size: 28px; }
.logo-img { max-height: 42px; max-width: 180px; object-fit: contain; }
.nav { display: flex; gap: 4px; }
.nav-link { padding: 8px 16px; font-size: 14px; color: #555; border-radius: 6px; transition: all .2s; font-weight: 500; }
.nav-link:hover, .nav-link.active { color: #1a3a5c; background: rgba(26,58,92,.06); }
.header-contact { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #1a3a5c; font-weight: 600; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #1a3a5c; padding: 8px; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 600px; max-height: 800px; overflow: hidden; }
.hero-slide {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity 1s ease;
    display: flex; align-items: center; justify-content: center;
    background-color: #1a3a5c;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-content { text-align: center; color: #fff; max-width: 800px; padding-top: 64px; }
.hero-title { font-size: clamp(28px, 5vw, 48px); font-weight: 800; margin-bottom: 16px; line-height: 1.3; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-subtitle { font-size: clamp(14px, 2vw, 18px); opacity: .9; margin-bottom: 24px; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 32px; }
.hero-tag { background: rgba(255,255,255,.2); backdrop-filter: blur(4px); padding: 6px 16px; border-radius: 20px; font-size: 14px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; }
.hero-dot.active { background: #fff; width: 28px; border-radius: 5px; }

/* 数据条 */
.stats-bar { background: #fff; padding: 32px 0; border-bottom: 1px solid #f0f0f0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 36px; font-weight: 800; color: #1a3a5c; }
.stat-label { font-size: 14px; color: #888; margin-top: 4px; }

/* 通用区块 */
.section { padding: 80px 0; }
.section-alt { background: #f8fafb; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: clamp(24px, 4vw, 32px); font-weight: 700; color: #1a3a5c; margin-bottom: 12px; }
.section-desc { font-size: 16px; color: #888; max-width: 600px; margin: 0 auto; }
.section-more { text-align: center; margin-top: 40px; }
.loading { text-align: center; padding: 40px; color: #aaa; font-size: 14px; }

/* 套餐卡片 */
.tours-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.tour-card {
    background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.06);
    transition: all .3s; cursor: pointer;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.tour-card-img { position: relative; height: 200px; overflow: hidden; background: #e8ecf0; }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tour-card:hover .tour-card-img img { transform: scale(1.05); }
.tour-card-img .placeholder-img {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1a3a5c 0%, #2d6a4f 50%, #8b4513 100%);
    color: #fff; font-size: 48px;
}
.tour-tag {
    position: absolute; top: 12px; left: 12px; background: #e74c3c; color: #fff;
    padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600;
}
.tour-card-body { padding: 20px; }
.tour-card-title { font-size: 17px; font-weight: 700; color: #222; margin-bottom: 8px; line-height: 1.4; }
.tour-card-meta { display: flex; gap: 16px; font-size: 13px; color: #888; margin-bottom: 10px; }
.tour-card-route { font-size: 13px; color: #666; margin-bottom: 14px; line-height: 1.5; }
.tour-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid #f0f0f0; }
.tour-price { color: #e74c3c; font-size: 22px; font-weight: 700; }
.tour-price small { font-size: 13px; font-weight: 400; }
.tour-price-original { color: #aaa; font-size: 13px; text-decoration: line-through; margin-left: 6px; }

/* 主题网格 */
.themes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.theme-card {
    background: #fff; border-radius: 14px; padding: 28px 20px; text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.04); transition: all .3s; cursor: pointer;
}
.theme-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.theme-icon { font-size: 40px; margin-bottom: 14px; }
.theme-name { font-size: 16px; font-weight: 600; color: #1a3a5c; margin-bottom: 6px; }
.theme-desc { font-size: 13px; color: #888; line-height: 1.5; }

/* ========== 预订动态 + 天气 双栏布局 ========== */
.booking-weather-row { display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: start; }

/* ===== 天气面板 ===== */
.weather-panel { background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.04); overflow: hidden; }
.weather-loading { padding: 40px; text-align: center; color: #999; font-size: 15px; }
.weather-tabs { display: flex; border-bottom: 1px solid #eee; }
.weather-tab {
    flex: 1; padding: 12px 8px; text-align: center; font-size: 14px; font-weight: 500;
    color: #888; cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent;
    transition: all .25s; white-space: nowrap;
}
.weather-tab:hover { color: #1a3a5c; }
.weather-tab.active { color: #1a3a5c; border-bottom-color: #1a3a5c; font-weight: 700; }
.weather-body { padding: 20px; }
.weather-city-name { font-size: 18px; font-weight: 700; color: #1a3a5c; margin-bottom: 6px; }
.weather-aqi {
    display: inline-block; padding: 3px 12px; border-radius: 12px; font-size: 13px; font-weight: 600;
    margin-bottom: 14px;
}
.aqi-good { background: #d4edda; color: #155724; }
.aqi-moderate { background: #fff3cd; color: #856404; }
.aqi-sensitive { background: #ffeeba; color: #856404; }
.aqi-unhealthy { background: #f8d7da; color: #721c24; }
.aqi-unknown { background: #e2e3e5; color: #383d41; }
.weather-forecast { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.weather-day {
    text-align: center; padding: 12px 6px; border-radius: 10px;
    background: #f8fafb; transition: background .25s;
}
.weather-day:hover { background: #eef5fb; }
.weather-day-date { font-size: 12px; color: #999; margin-bottom: 6px; }
.weather-day-date strong { display: block; font-size: 13px; color: #555; }
.weather-day-icon { font-size: 28px; margin-bottom: 6px; }
.weather-day-temp { font-size: 14px; font-weight: 700; color: #1a3a5c; }
.weather-day-temp .low { color: #999; font-weight: 400; margin-left: 4px; font-size: 12px; }
.weather-day-detail { font-size: 11px; color: #888; margin-top: 4px; line-height: 1.6; }
.weather-day-detail span { display: block; }
.weather-today { border: 2px solid #1a3a5c; background: #f0f6fb; }

/* ===== 预订动态 - 纵向滚动 ===== */
.booking-panel { background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.04); overflow: hidden; }
.booking-scroll-v {
    height: 360px; overflow: hidden; position: relative;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
}
.booking-list-v {
    display: flex; flex-direction: column; gap: 0;
    animation: scrollBookingUp 40s linear infinite;
}
.booking-list-v.paused { animation-play-state: paused; }
.booking-item-v {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px; border-bottom: 1px solid #f5f5f5;
    transition: background .2s; flex-shrink: 0;
}
.booking-item-v:hover { background: #f8fafb; }
.booking-avatar-v {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #1a3a5c, #2d6a4f); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600; flex-shrink: 0;
}
.booking-info-v { font-size: 13px; min-width: 0; }
.booking-info-v strong { color: #1a3a5c; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking-info-v span { color: #888; font-size: 12px; }
@keyframes scrollBookingUp {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@media (max-width: 1024px) {
    .booking-weather-row { grid-template-columns: 1fr; }
    .booking-scroll-v { height: 280px; }
}
@media (max-width: 600px) {
    .weather-forecast { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .weather-day { padding: 10px 4px; }
}

/* ===== 天气 + 资讯 联动行 ===== */
.weather-news-row .news-panel {
    background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.04); overflow: hidden;
    display: flex; flex-direction: column;
}
.news-panel-scroll {
    flex: 1; overflow-y: auto; max-height: 360px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
}
.news-panel-item {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 14px 20px; border-bottom: 1px solid #f5f5f5;
}
.news-panel-item:last-child { border-bottom: none; }
.news-panel-title {
    font-size: 15px; font-weight: 500; color: #1a3a5c; text-decoration: none;
    flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color .2s;
}
.news-panel-title:hover { color: #2d6a4f; }
.news-panel-date { font-size: 12px; color: #aaa; white-space: nowrap; flex-shrink: 0; }
.news-panel-more {
    display: block; text-align: center; padding: 12px; font-size: 13px; color: #1a3a5c;
    text-decoration: none; border-top: 1px solid #eee; transition: background .2s;
}
.news-panel-more:hover { background: #f8fafb; color: #2d6a4f; }

/* ===== 预订动态 + 评价 联动行 ===== */
.booking-reviews-row .reviews-panel {
    background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.04); overflow: hidden;
}
.reviews-panel-scroll {
    height: 360px; overflow: hidden; position: relative;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
}
.reviews-list-v {
    display: flex; flex-direction: column; gap: 0;
    animation: scrollBookingUp 40s linear infinite;
}
.reviews-list-v.paused { animation-play-state: paused; }
.review-item-compact {
    padding: 14px 20px; border-bottom: 1px solid #f5f5f5; flex-shrink: 0;
}
.review-item-compact:last-child { border-bottom: none; }
.review-compact-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.review-compact-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, #2d6a4f, #40916c); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; flex-shrink: 0;
}
.review-compact-name { font-size: 14px; color: #333; }
.review-compact-stars { font-size: 13px; flex-shrink: 0; }
.review-compact-text {
    font-size: 13px; color: #666; line-height: 1.6; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 评价 */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.review-card {
    background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,.04);
    transition: all .3s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #2d6a4f, #40916c); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; }
.review-name { font-weight: 600; font-size: 15px; }
.review-tour { font-size: 12px; color: #888; }
.review-stars { color: #f39c12; font-size: 16px; margin-bottom: 10px; }
.review-content { font-size: 14px; color: #555; line-height: 1.8; }
.review-date { font-size: 12px; color: #bbb; margin-top: 10px; }

/* 攻略 */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.tip-card {
    background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.04);
    transition: all .3s; cursor: pointer;
}
.tip-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.tip-card-body { padding: 24px; }
.tip-category { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 500; margin-bottom: 12px; }
.tip-category.season { background: #fff3cd; color: #856404; }
.tip-category.health { background: #f8d7da; color: #721c24; }
.tip-category.guide { background: #d1ecf1; color: #0c5460; }
.tip-category.recommend { background: #d4edda; color: #155724; }
.tip-category.general { background: #e2e3e5; color: #383d41; }
.tip-card-title { font-size: 17px; font-weight: 700; color: #1a3a5c; margin-bottom: 8px; }
.tip-card-summary { font-size: 14px; color: #666; line-height: 1.6; }

/* 旅游资讯 - 列表形式 */
.news-list { max-width: 800px; }
.news-list-item {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding: 14px 0; border-bottom: 1px dashed #e0e0e0;
}
.news-list-item:last-child { border-bottom: none; }
.news-list-title {
    font-size: 16px; font-weight: 500; color: #1a3a5c; text-decoration: none;
    transition: color .3s; flex: 1; min-width: 0;
}
.news-list-title:hover { color: #2d6a4f; text-decoration: underline; }
.news-list-date {
    font-size: 13px; color: #999; white-space: nowrap; flex-shrink: 0;
}

/* 目的地 */
.destinations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.dest-card {
    position: relative; border-radius: 14px; overflow: hidden; height: 260px; cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: all .3s;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.12); }
.dest-card-bg { width: 100%; height: 100%; object-fit: cover; }
.dest-card-bg.placeholder {
    background: linear-gradient(135deg, #1a3a5c, #2d6a4f); display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff;
}
.dest-card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 60px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff;
}
.dest-card-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.dest-card-meta { font-size: 12px; opacity: .85; }

/* 优势 */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.advantage-card {
    background: #fff; border-radius: 14px; padding: 28px 24px; text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.04); transition: all .3s;
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.advantage-icon { font-size: 36px; margin-bottom: 14px; }
.advantage-title { font-size: 16px; font-weight: 700; color: #1a3a5c; margin-bottom: 8px; }
.advantage-desc { font-size: 13px; color: #888; line-height: 1.6; }

/* 公司车辆 */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.vehicle-card {
    background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s; cursor: pointer;
}
.vehicle-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.vehicle-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.vehicle-card-img.placeholder { background: #f0f4f8; display: flex; align-items: center; justify-content: center; font-size: 48px; color: #ccc; }
.vehicle-card-body { padding: 16px; }
.vehicle-card-type { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; background: #d1ecf1; color: #0c5460; margin-bottom: 8px; }
.vehicle-card-name { font-size: 17px; font-weight: 700; color: #1a3a5c; margin-bottom: 6px; }
.vehicle-card-service { font-size: 13px; color: #666; margin-bottom: 4px; }
.vehicle-card-booking { font-size: 12px; color: #999; }
.vehicle-lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.92); z-index: 9999; justify-content: center; align-items: center; flex-direction: column; }
.vehicle-lightbox.show { display: flex; }
.vehicle-lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 8px; object-fit: contain; }
.vehicle-lightbox .lb-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 36px; cursor: pointer; z-index: 1; }
.vehicle-lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 42px; cursor: pointer; user-select: none; padding: 10px; }
.vehicle-lightbox .lb-prev { left: 20px; }
.vehicle-lightbox .lb-next { right: 20px; }
.vehicle-lightbox .lb-counter { color: #fff; margin-top: 16px; font-size: 14px; }
.vehicle-lightbox .lb-info { color: #fff; margin-top: 8px; font-size: 14px; opacity: .8; }
.vehicle-view-gallery { display: inline-block; margin-top: 8px; font-size: 13px; color: #1a3a5c; text-decoration: underline; cursor: pointer; }

@media (max-width: 768px) {
    .vehicle-grid { grid-template-columns: 1fr; }
    .vehicle-card-img { height: 180px; }
    .vehicle-lightbox .lb-nav { font-size: 32px; }
}

/* CTA联系 */
.section-cta { background: linear-gradient(135deg, #1a3a5c 0%, #15304a 100%); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta-info h2 { font-size: 28px; margin-bottom: 12px; }
.cta-info > p { opacity: .85; margin-bottom: 28px; }
.cta-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-detail-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.cta-icon { font-size: 24px; flex-shrink: 0; }
.cta-form { background: #fff; padding: 32px; border-radius: 16px; color: #333; }
.cta-form h3 { font-size: 20px; margin-bottom: 20px; color: #1a3a5c; }
.cta-form .form-group { margin-bottom: 14px; }
.cta-form input, .cta-form textarea {
    width: 100%; padding: 12px 16px; border: 1px solid #d0d5dd; border-radius: 8px;
    font-size: 14px; outline: none; transition: border-color .3s; font-family: inherit;
}
.cta-form input:focus, .cta-form textarea:focus { border-color: #1a3a5c; }
.cta-form textarea { resize: vertical; }

/* 页脚 */
.footer { background: #0f212f; color: rgba(255,255,255,.7); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer p { font-size: 14px; line-height: 1.8; }
.footer ul { font-size: 14px; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { opacity: .8; transition: opacity .2s; }
.footer ul li a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 20px 0; text-align: center; font-size: 13px; }

/* 弹窗 */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.6);
    z-index: 9999; justify-content: center; align-items: center; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
    background: #fff; border-radius: 16px; width: 700px; max-width: 90vw; max-height: 85vh;
    overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.tour-detail-modal { width: 780px; max-width: 92vw; }
.modal-header { padding: 20px 24px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 20px; color: #1a3a5c; }
.modal-close { background: none; border: none; font-size: 28px; cursor: pointer; color: #999; transition: color .2s; }
.modal-close:hover { color: #e74c3c; }
.modal-body { padding: 24px; }
.modal-body img { max-width: 100%; border-radius: 8px; }
.tour-cover { width: 100%; max-height: 380px; object-fit: cover; margin-bottom: 16px; border-radius: 10px; }

/* 详情 - 相册画廊（可折叠） */
.tour-gallery-wrap { margin-bottom: 20px; }

.tour-gallery-toggle {
    display: none; width: 100%; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 16px; border: 1px dashed #ccc; border-radius: 8px;
    background: #fafafa; color: #555; font-size: 14px; cursor: pointer;
    transition: all .25s; user-select: none;
}
.tour-gallery-toggle:hover { background: #eef5fb; border-color: #1a3a5c; color: #1a3a5c; }
.tour-gallery-toggle .toggle-arrow { font-size: 12px; transition: transform .3s; }
.tour-gallery-toggle.active .toggle-arrow { transform: rotate(180deg); }

.tour-gallery {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px;
}
.tour-gallery-item {
    border-radius: 8px; overflow: hidden; cursor: pointer; transition: transform .3s;
    aspect-ratio: 4/3; border: 2px solid transparent;
}
.tour-gallery-item:hover { transform: scale(1.04); border-color: #1a3a5c; }
.tour-gallery-item img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 6px; margin-bottom: 0;
    transition: transform .4s;
}
.tour-gallery-item:hover img { transform: scale(1.08); }

/* 移动端：图册默认折叠 */
@media (max-width: 768px) {
    .tour-gallery-toggle {
        display: flex;
    }
    .tour-gallery {
        max-height: 0; overflow: hidden;
        transition: max-height .4s ease, margin-top .3s;
        margin-top: 0;
    }
    .tour-gallery.open {
        max-height: 3000px;
        margin-top: 12px;
    }
}

/* ========== 图片灯箱 ========== */
.lightbox-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000;
    background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
}
.lightbox-overlay.show { opacity: 1; }

.lightbox-close {
    position: absolute; top: 20px; right: 30px; z-index: 10;
    background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 36px;
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer; transition: background .2s;
    line-height: 48px; text-align: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

.lightbox-prev, .lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 28px;
    width: 50px; height: 80px; border-radius: 6px; cursor: pointer; transition: background .2s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.28); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-img-wrap {
    max-width: 90vw; max-height: 85vh; display: flex; align-items: center; justify-content: center;
    padding: 60px 80px;
}
.lightbox-img {
    max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 6px;
    transition: opacity .15s; box-shadow: 0 8px 40px rgba(0,0,0,.5);
}

.lightbox-counter {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.7); font-size: 14px; letter-spacing: 2px;
}

@media (max-width: 768px) {
    .lightbox-prev { left: 8px; width: 40px; height: 60px; font-size: 22px; }
    .lightbox-next { right: 8px; width: 40px; height: 60px; font-size: 22px; }
    .lightbox-close { top: 12px; right: 16px; width: 38px; height: 38px; font-size: 28px; line-height: 38px; }
    .lightbox-img-wrap { padding: 50px 60px; }
    .lightbox-counter { bottom: 20px; font-size: 13px; }
}

/* 套餐详情 - 元信息 */
.tour-detail-meta {
    display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; font-size: 14px; color: #666; align-items: center;
}
.tour-detail-badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: #e8f4fd; color: #1a3a5c; padding: 4px 14px; border-radius: 20px;
    font-size: 13px; font-weight: 500;
}

/* 套餐详情 - 价格 */
.modal-body .tour-detail-price {
    color: #e74c3c; font-size: 28px; font-weight: 700; margin: 16px 0;
    padding: 12px 16px; background: #fff5f5; border-radius: 8px;
    display: inline-block;
}
.tour-detail-orig { color: #aaa; font-size: 16px; margin-left: 10px; font-weight: 400; }

/* 套餐详情 - 内容区 */
.modal-body .tour-detail-content { line-height: 1.9; font-size: 15px; color: #444; }
.tour-detail-section {
    margin-top: 20px; padding-top: 20px; border-top: 1px solid #f0f0f0;
}
.tour-detail-section:first-child { border-top: none; margin-top: 16px; padding-top: 0; }
.tour-detail-section h4 {
    font-size: 17px; color: #1a3a5c; margin-bottom: 12px; font-weight: 600;
}
.tour-detail-section p { margin-bottom: 10px; }
.tour-detail-section ul, .tour-detail-section ol { padding-left: 20px; margin: 8px 0 16px; }
.tour-detail-section li { margin-bottom: 6px; }
.tour-detail-section table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.tour-detail-section table td, .tour-detail-section table th {
    border: 1px solid #e0e0e0; padding: 8px 12px; font-size: 14px;
}
.tour-detail-section table th { background: #f8fafb; font-weight: 600; }
.tour-detail-section img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0; }
.tour-detail-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0; }
.tour-detail-section h3 { font-size: 16px; margin: 12px 0 6px; color: #333; }
.tour-detail-section blockquote {
    border-left: 4px solid #1a3a5c; padding: 10px 16px; margin: 12px 0;
    background: #f8fafb; color: #555; font-style: italic;
}
.tour-detail-content .tour-detail-info { display: flex; gap: 20px; margin-bottom: 16px; font-size: 14px; color: #666; }

/* 响应式 */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .header-inner { height: 56px; }
    .nav { display: none; position: fixed; top: 56px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.1); z-index: 999; }
    .nav.show { display: flex; }
    .nav-link { padding: 12px 16px; }
    .menu-toggle { display: block; }
    .header-contact { display: none; }
    .hero { height: 80vh; min-height: 500px; }
    .hero-title { font-size: 26px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tours-grid { grid-template-columns: 1fr; }
    .themes-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .tips-grid { grid-template-columns: 1fr; }
    
    .destinations-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .cta-details { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero-tags { flex-direction: column; align-items: center; }
    .themes-grid { grid-template-columns: 1fr; }
    .destinations-grid { grid-template-columns: 1fr; }
}