/* 西藏迎昭旅行社 - 基础样式 */
:root {
  --primary: #1a5276;
  --primary-light: #2980b9;
  --primary-dark: #0e2f44;
  --accent: #e67e22;
  --accent-light: #f39c12;
  --text: #333;
  --text-light: #666;
  --text-lighter: #999;
  --bg: #fff;
  --bg-alt: #f8f5f0;
  --border: #e8e0d8;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:var(--font); font-size:15px; color:var(--text); line-height:1.7; background:var(--bg); }
a { color:var(--primary); text-decoration:none; }
a:hover { color:var(--primary-light); }
img { max-width:100%; height:auto; }
.wm-1200 { max-width:1200px; margin:0 auto; padding:0 15px; }

/* 加载 */
.loading { text-align:center; padding:40px; color:var(--text-lighter); }
.no-data { text-align:center; padding:40px; color:var(--text-lighter); }

/* 顶栏 */
.web-top { background:var(--primary-dark); color:rgba(255,255,255,0.8); font-size:13px; }
.web-top .wm-1200 { display:flex; justify-content:space-between; align-items:center; height:36px; }
.notice-txt { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; flex:1; }
.top-login { display:flex; align-items:center; gap:10px; }
.top-login a { color:rgba(255,255,255,0.8); }
.top-login a:hover { color:#fff; }
.dh { position:relative; cursor:pointer; }
.dh dt { padding:0 8px; }
.dh dt i { margin-right:4px; }
.dh dd { display:none; position:absolute; right:0; top:100%; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:8px; min-width:140px; z-index:1000; box-shadow:var(--shadow); }
.dh:hover dd { display:block; }
.dh dd a { display:block; padding:6px 10px; color:var(--text); font-size:13px; }
.dh dd a:hover { background:var(--bg-alt); color:var(--primary); }

/* 头部 */
.st-header { background:#fff; border-bottom:1px solid var(--border); }
.st-header .wm-1200 { display:flex; align-items:center; justify-content:space-between; height:80px; }
.st-logo img { height:50px; }
.st-top-search { flex:1; max-width:450px; margin:0 30px; }
.st-search-input { width:100%; height:40px; border:2px solid var(--primary); border-radius:20px; padding:0 45px 0 16px; font-size:14px; outline:none; }
.st-top-search form { position:relative; }
.st-top-search button { position:absolute; right:0; top:0; width:40px; height:40px; border:none; background:transparent; color:var(--primary); font-size:16px; cursor:pointer; }
.link-way-txt { text-align:right; }
.link-way-txt strong { font-size:20px; color:var(--accent); display:block; }
.link-way-txt span { font-size:12px; color:var(--text-lighter); }

/* 导航 */
.st-nav { background:var(--primary); }
.st-menu { display:flex; }
.st-menu > a { display:block; padding:0 20px; line-height:44px; color:rgba(255,255,255,0.9); font-size:15px; }
.st-menu > a:hover, .st-menu > a.active { background:var(--primary-dark); color:#fff; }
.down-nav { position:relative; }
.down-nav > a { display:block; padding:0 20px; line-height:44px; color:rgba(255,255,255,0.9); font-size:15px; }
.down-nav > a:hover { background:var(--primary-dark); color:#fff; }
.sub-list { display:none; position:absolute; left:0; top:100%; background:#fff; border:1px solid var(--border); border-radius:var(--radius); min-width:150px; z-index:999; box-shadow:var(--shadow); }
.down-nav:hover .sub-list { display:block; }
.sub-list a { display:block; padding:8px 16px; color:var(--text); font-size:14px; }
.sub-list a:hover { background:var(--bg-alt); color:var(--primary); }

/* 轮播 */
.banner-wrap { position:relative; overflow:hidden; }
.banner-slider { position:relative; height:420px; }
.banner-slide { position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity 1s; }
.banner-slide.active { opacity:1; }
.banner-text { position:absolute; left:10%; top:50%; transform:translateY(-50%); color:#fff; text-shadow:0 2px 8px rgba(0,0,0,0.5); }
.banner-text h1 { font-size:2.2rem; margin-bottom:10px; }
.banner-text p { font-size:1.05rem; opacity:0.9; }
.banner-dots { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); display:flex; gap:8px; }
.banner-dots span { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,0.5); cursor:pointer; }
.banner-dots span.active { background:#fff; }

/* 服务特色 */
.service-features { background:#fff; border-bottom:1px solid var(--border); }
.service-features .wm-1200 { display:flex; justify-content:space-between; padding:20px 15px; }
.feature-item { display:flex; align-items:center; gap:12px; flex:1; }
.feature-item i { font-size:1.8rem; color:var(--primary); }
.feature-item h4 { font-size:14px; margin-bottom:2px; }
.feature-item p { font-size:12px; color:var(--text-lighter); }

/* 区块 */
.section { padding:40px 0; }
.section-alt { background:var(--bg-alt); }
.section-title { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.section-title h2 { font-size:1.4rem; color:var(--primary); position:relative; padding-left:14px; border-left:3px solid var(--accent); }
.section-title .more { font-size:13px; color:var(--text-lighter); }

/* 线路卡片 */
.line-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:20px; }
.line-card { background:#fff; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); transition:box-shadow 0.3s; }
.line-card:hover { box-shadow:var(--shadow-hover); }
.line-img { height:180px; background-size:cover; background-position:center; position:relative; }
.line-tag { position:absolute; top:10px; left:10px; background:var(--accent); color:#fff; padding:2px 10px; border-radius:3px; font-size:12px; }
.line-body { padding:14px; }
.line-body h3 { font-size:15px; margin-bottom:8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.line-meta { display:flex; gap:12px; font-size:12px; color:var(--text-lighter); margin-bottom:8px; }
.line-price { }
.line-price strong { font-size:18px; color:var(--accent); }
.line-price span { font-size:12px; color:var(--text-lighter); }

/* 攻略卡片 */
.raider-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(350px,1fr)); gap:20px; }
.raider-card { display:flex; background:#fff; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); }
.raider-img { width:180px; min-height:130px; background-size:cover; background-position:center; flex-shrink:0; }
.raider-body { padding:14px; flex:1; }
.raider-date { font-size:12px; color:var(--text-lighter); }
.raider-body h3 { font-size:14px; margin:6px 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.raider-body p { font-size:13px; color:var(--text-light); }

/* 目的地 */
.dest-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:16px; }
.dest-card { display:block; height:200px; border-radius:var(--radius-lg); background-size:cover; background-position:center; position:relative; overflow:hidden; }
.dest-card .dest-info { position:absolute; bottom:0; left:0; right:0; padding:16px; background:linear-gradient(transparent,rgba(0,0,0,0.7)); color:#fff; }
.dest-card h3 { font-size:18px; margin-bottom:4px; }
.dest-card p { font-size:13px; opacity:0.9; }

/* 企业动态 */
.news-list { }
.news-item { display:flex; align-items:center; padding:12px 0; border-bottom:1px solid var(--border); gap:16px; }
.news-item:last-child { border:none; }
.news-date { font-size:12px; color:var(--text-lighter); white-space:nowrap; width:90px; }
.news-title { flex:1; font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.news-item:hover .news-title { color:var(--primary); }

/* Footer */
.footer { background:var(--primary-dark); color:rgba(255,255,255,0.8); padding:40px 0 20px; margin-top:40px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:30px; }
.footer h3, .footer h4 { color:#fff; margin-bottom:12px; }
.footer h3 { font-size:16px; }
.footer h4 { font-size:14px; }
.footer p { font-size:13px; line-height:1.8; }
.footer-links { display:flex; flex-direction:column; gap:6px; }
.footer-links a { color:rgba(255,255,255,0.7); font-size:13px; }
.footer-links a:hover { color:#fff; }
.footer-contact p { margin-bottom:4px; font-size:13px; }
.footer-contact i { width:20px; color:var(--accent); }
.footer-contact a { color:var(--accent); }
.footer-bottom { text-align:center; padding-top:20px; margin-top:20px; border-top:1px solid rgba(255,255,255,0.1); font-size:12px; }
.footer-bottom a { color:var(--accent-light); }

/* 浮动按钮 */
.float-phone, .float-wa { position:fixed; right:20px; width:50px; height:50px; border-radius:50%; color:#fff; display:flex; align-items:center; justify-content:center; font-size:22px; box-shadow:0 2px 10px rgba(0,0,0,0.2); z-index:999; transition:transform 0.3s; }
.float-phone:hover, .float-wa:hover { transform:scale(1.1); color:#fff; }
.float-phone { bottom:80px; background:var(--accent); }
.float-wa { bottom:20px; background:#25d366; }

/* 面包屑 */
.breadcrumb { padding:12px 0; font-size:13px; color:var(--text-lighter); }
.breadcrumb a { color:var(--text-lighter); }
.breadcrumb a:hover { color:var(--primary); }
.breadcrumb .sep { margin:0 8px; }

/* 页面头部 */
.page-header { background:linear-gradient(135deg,var(--primary),var(--primary-light)); color:#fff; padding:40px 0; text-align:center; }
.page-header h1 { font-size:1.8rem; margin-bottom:8px; }
.page-header p { opacity:0.85; font-size:14px; }

/* 线路详情页 */
.line-details { }
.line-details__top { }
.line-details__main { display:flex; gap:30px; }
.line-details__left { flex:1; }
.line-details__right { width:360px; }
.line-details__slide { position:relative; }
.line-details__slide .big-img { width:100%; height:400px; background-size:cover; background-position:center; border-radius:var(--radius-lg); }
.product-number { padding:12px 0; font-size:12px; color:var(--text-lighter); }
.line-details__info { }
.line-details__info h1 { font-size:1.3rem; line-height:1.4; margin-bottom:12px; }
.line-info-meta { display:flex; flex-wrap:wrap; gap:16px; margin-bottom:12px; font-size:13px; color:var(--text-light); }
.line-info-meta i { color:var(--primary); width:18px; }
.line-info-price { background:var(--bg-alt); padding:16px; border-radius:var(--radius); margin-bottom:16px; }
.line-info-price .price-big { font-size:28px; color:var(--accent); font-weight:700; }
.line-info-price .price-unit { font-size:13px; color:var(--text-lighter); }
.line-info-price .price-original { font-size:13px; color:var(--text-lighter); text-decoration:line-through; margin-left:10px; }
.line-info-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.tag { display:inline-block; padding:2px 10px; border-radius:3px; font-size:12px; }
.tag-primary { background:var(--primary); color:#fff; }
.tag-accent { background:var(--accent); color:#fff; }
.tag-outline { border:1px solid var(--border); color:var(--text-light); }
.btn-booking { display:block; width:100%; padding:14px; background:var(--accent); color:#fff; border:none; border-radius:var(--radius); font-size:16px; font-weight:600; cursor:pointer; text-align:center; }
.btn-booking:hover { background:#d35400; }
.line-content { margin-top:30px; }
.line-content h2 { font-size:1.2rem; color:var(--primary); margin:24px 0 12px; padding-left:12px; border-left:3px solid var(--accent); }
.line-content h3 { font-size:1rem; color:var(--text); margin:16px 0 8px; }
.line-content p { margin-bottom:10px; font-size:14px; color:var(--text-light); }
.line-content ul { padding-left:20px; margin-bottom:10px; }
.line-content ul li { list-style:disc; margin-bottom:4px; font-size:14px; color:var(--text-light); }
.line-content table { width:100%; border-collapse:collapse; margin-bottom:16px; font-size:13px; }
.line-content th, .line-content td { border:1px solid var(--border); padding:8px 12px; }
.line-content th { background:var(--bg-alt); font-weight:600; }
.itinerary-day { background:#fff; border:1px solid var(--border); border-radius:var(--radius); margin-bottom:10px; overflow:hidden; }
.itinerary-day h4 { background:var(--primary); color:#fff; padding:10px 14px; font-size:14px; cursor:pointer; }
.itinerary-day h4 .arrow { float:right; transition:transform 0.3s; }
.itinerary-day.open h4 .arrow { transform:rotate(180deg); }
.itinerary-day .day-body { padding:14px; display:none; }
.itinerary-day.open .day-body { display:block; }
.day-meals { font-size:12px; color:var(--text-lighter); margin-bottom:8px; }
.day-meals .yes { color:#27ae60; }
.day-meals .no { color:#e74c3c; }
.day-items { list-style:none; padding:0; }
.day-items li { padding:6px 0; border-bottom:1px dashed var(--border); font-size:13px; color:var(--text-light); }
.day-items li:last-child { border:none; }

/* 攻略详情 */
.raider-article { max-width:800px; margin:0 auto; padding:30px 0; }
.raider-article h1 { font-size:1.5rem; margin-bottom:12px; }
.raider-article-meta { font-size:13px; color:var(--text-lighter); margin-bottom:20px; }
.raider-article-body { line-height:2; font-size:15px; color:var(--text); }
.raider-article-body h2 { margin:24px 0 12px; color:var(--primary); }
.raider-article-body p { margin-bottom:14px; }
.raider-article-body img { border-radius:var(--radius); margin:12px 0; }

/* 响应式 */
@media(max-width:768px){
  .st-header .wm-1200 { flex-wrap:wrap; height:auto; padding:10px 15px; gap:10px; }
  .st-top-search { order:3; max-width:100%; margin:0; }
  .st-menu { overflow-x:auto; }
  .service-features .wm-1200 { flex-wrap:wrap; gap:12px; }
  .feature-item { flex:0 0 48%; }
  .banner-slider { height:200px; }
  .banner-text h1 { font-size:1.3rem; }
  .footer-grid { grid-template-columns:1fr; }
  .line-details__main { flex-direction:column; }
  .line-details__right { width:100%; }
  .raider-card { flex-direction:column; }
  .raider-img { width:100%; height:160px; }
  .web-top .wm-1200 { flex-wrap:wrap; height:auto; padding:5px 15px; }
}
