/* ============ 面包屑 ============ */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  padding: 12px 0;
  font-size: 13px;
  color: #7a8fa6;
}
.breadcrumb a { color: #5a6f85; }
.breadcrumb a:hover { color: #1a73e8; }
.breadcrumb span { margin: 0 8px; color: #c5d2e0; }

/* ============ 版块1：标题 + 轮播 + 特色 ============ */
.route-top {
  background: #fff;
  padding: 40px 0;
}
.route-top-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}
.route-title {
  font-size: 26px;
  color: #1a3a5c;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* 轮播图 */
.route-slider {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f0f4f9;
  aspect-ratio: 16 / 10;
}
.route-slider .slide {
  width: 100%;
  height: 100%;
  display: none;
}
.route-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dots span.active {
  background: #ff6b35;
  width: 24px;
  border-radius: 5px;
}
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-prev:hover, .slider-next:hover { background: rgba(0,0,0,0.7); }

/* 右侧特色卡 */
.route-top-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-card {
  background: #f7f9fc;
  border-radius: 14px;
  padding: 24px;
  border-left: 4px solid #1a73e8;
}
.feature-card h3 {
  font-size: 18px;
  color: #1a3a5c;
  margin-bottom: 16px;
}
.feature-list { list-style: none; }
.feature-list li {
  padding: 9px 0;
  font-size: 14px;
  color: #33475b;
  border-bottom: 1px dashed #e0e8f0;
}
.feature-list li:last-child { border-bottom: none; }

/* 联系卡 */
.contact-card {
  background: linear-gradient(135deg, #1a3a5c, #2c5f8d);
  border-radius: 14px;
  padding: 24px;
  color: #fff;
}
.contact-price {
  font-size: 22px;
  color: #ffd166;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact-btn {
  display: block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
  text-align: center;
  transition: background 0.2s;
}
.contact-btn:last-child { margin-bottom: 0; }
.contact-btn:hover { background: rgba(255,255,255,0.2); }
.contact-btn span { font-size: 12px; color: #a8d4ff; display: block; margin-bottom: 4px; }
.contact-btn strong { font-size: 16px; color: #fff; }

/* ============ 通用 Section ============ */
.section { padding: 50px 0; }
.route-brief, .route-notice, .route-custom { background: #f7f9fc; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { font-size: 24px; color: #1a3a5c; margin-bottom: 8px; }
.section-title p { color: #7a8fa6; font-size: 14px; }
.section-title h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #ff6b35;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ============ 版块2：简版线路 ============ */
.brief-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.brief-item {
  background: #fff;
  border-radius: 12px;
  padding: 22px 12px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.brief-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(26,115,232,0.1);
}
.brief-icon { font-size: 26px; margin-bottom: 10px; }
.brief-item h4 {
  font-size: 13px;
  color: #7a8fa6;
  margin-bottom: 6px;
  font-weight: 400;
}
.brief-item p {
  font-size: 15px;
  color: #1a3a5c;
  font-weight: 600;
}

/* ============ 版块4：详细路书 ============ */
.route-itinerary { background: #fff; }
.itinerary-content {
  background: #fff;
  padding: 36px 40px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-size: 15px;
  line-height: 1.9;
  color: #33475b;
}
.itinerary-content h2 {
  font-size: 20px;
  color: #1a3a5c;
  margin: 28px 0 16px;
  padding-left: 14px;
  border-left: 4px solid #ff6b35;
}
.itinerary-content h3 {
  font-size: 17px;
  color: #1a3a5c;
  margin: 22px 0 12px;
}
.itinerary-content p { margin-bottom: 16px; }
.itinerary-content img { border-radius: 10px; margin: 16px 0; max-width: 100%; }
.itinerary-content ul, .itinerary-content ol { margin: 14px 0 14px 24px; }
.itinerary-content li { margin-bottom: 8px; }
.itinerary-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.itinerary-content th, .itinerary-content td {
  border: 1px solid #e8eef5;
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
}
.itinerary-content th {
  background: #f7f9fc;
  color: #1a3a5c;
  font-weight: 600;
}

/* ============ 版块5：预订须知 Tab ============ */
.notice-wrap {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.notice-tabs {
  display: flex;
  border-bottom: 1px solid #eef2f7;
  background: #fafbfd;
}
.tab-btn {
  flex: 1;
  padding: 16px;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #5a6f85;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  font-weight: 500;
  font-family: inherit;
}
.tab-btn:hover { color: #1a73e8; }
.tab-btn.active {
  color: #1a73e8;
  border-bottom-color: #1a73e8;
  background: #fff;
  font-weight: 600;
}
.notice-panels { padding: 28px 32px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel ul { list-style: none; }
.tab-panel li {
  padding: 10px 0 10px 24px;
  position: relative;
  font-size: 14px;
  color: #33475b;
  border-bottom: 1px dashed #eef2f7;
}
.tab-panel li:last-child { border-bottom: none; }
.tab-panel li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: #1a73e8;
  font-weight: 700;
}

/* ============ 版块6：定制表单 ============ */
.custom-form-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: start;
}
.custom-form {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  color: #1a3a5c;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-group .required {
  color: #e63946;
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e0e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #33475b;
  transition: border-color 0.2s;
  font-family: inherit;
  background: #fafbfd;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a73e8;
  background: #fff;
}
.form-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.form-contact input {
  padding: 11px 14px;
  border: 1px solid #e0e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fafbfd;
}
.form-contact input:focus {
  outline: none;
  border-color: #1a73e8;
  background: #fff;
}
.submit-btn {
  width: 100%;
  padding: 14px;
  background: #ff6b35;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: inherit;
}
.submit-btn:hover {
  background: #e85a2a;
  transform: translateY(-2px);
}

/* 右侧定制引导区 */
.form-tips {
  background: linear-gradient(135deg, #1a3a5c, #2c5f8d);
  border-radius: 14px;
  padding: 32px;
  color: #fff;
}
.form-tips h3 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.form-tips ul {
  list-style: none;
  margin-bottom: 26px;
}
.form-tips ul li {
  padding: 10px 0;
  font-size: 14px;
  color: #d0e0f0;
  line-height: 1.7;
}
.tips-contact {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
}
.tips-contact p {
  font-size: 13px;
  color: #a8d4ff;
  margin-bottom: 8px;
}
.tips-contact a {
  font-size: 20px;
  color: #ffd166;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .route-top-inner { grid-template-columns: 1fr; }
  .brief-grid { grid-template-columns: repeat(3, 1fr); }
  .custom-form-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-contact { grid-template-columns: 1fr; }
  .itinerary-content { padding: 24px 20px; }
  .notice-panels { padding: 20px; }
  .tab-btn { font-size: 13px; padding: 12px 6px; }
}
@media (max-width: 600px) {
  .brief-grid { grid-template-columns: repeat(2, 1fr); }
  .route-title { font-size: 20px; }
  .custom-form { padding: 22px 18px; }
  .form-tips { padding: 24px 20px; }
}
/* ============ 上下篇导航（线路详情页） ============ */
.route-nav-section {
  padding: 0 0 40px;
  background: #f7f9fc;
}
.route-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-size: 14px;
}
.route-nav a {
  color: #5a6f85;
  max-width: 38%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}
.route-nav a:hover { color: #1a73e8; }
.route-nav .nav-back {
  color: #1a73e8;
  flex-shrink: 0;
  padding: 6px 18px;
  background: #f0f6ff;
  border-radius: 6px;
  max-width: none;
  font-weight: 500;
}
.route-nav .nav-back:hover { background: #e0efff; }
.route-nav .disabled {
  color: #c5d2e0;
  cursor: not-allowed;
  max-width: 38%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .route-nav {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
  .route-nav a,
  .route-nav .disabled { max-width: 100%; text-align: center; }
  .route-nav .nav-back { width: 100%; }
}