* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Microsoft YaHei", Arial, sans-serif; font-size: 14px; color: #333; background: #f5f5f5; }

/* ======== 顶部导航栏（蓝色调） ======== */
.top-nav {
  background: #1a5fb4;
  height: 40px;
  line-height: 40px;
}
.top-nav .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 13px;
  margin-left: 20px;
}
.top-nav a:hover { color: #fff; }
.top-nav .left a { margin-left: 0; margin-right: 20px; }

/* ======== 主导航（蓝色调） ======== */
.main-header {
  background: #fff;
  border-bottom: 2px solid #1a5fb4;
}
.main-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 46px;
  height: 46px;
  background: #1a5fb4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}
.logo-text h1 {
  font-size: 22px;
  font-weight: bold;
  color: #1a5fb4;
  letter-spacing: 1px;
}
.logo-text p {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}
.main-nav {
  display: flex;
  gap: 0;
}
.main-nav a {
  padding: 0 20px;
  height: 70px;
  line-height: 70px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all .2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #1a5fb4;
  background: #f0f7ff;
}

/* ======== 主体内容 ======== */
.main-body { max-width: 1200px; margin: 0 auto; padding: 24px 15px 40px; }

/* 页面标题 */
.page-title {
  text-align: center;
  margin-bottom: 28px;
}
.page-title h2 {
  font-size: 26px; color: #1a5fb4; font-weight: bold; letter-spacing: 2px;
  display: inline-block; padding: 0 20px;
  border-bottom: 3px solid #1a5fb4; padding-bottom: 10px;
}
.page-title p { font-size: 13px; color: #666; margin-top: 8px; }

/* ======== 地区选择区 ======== */
.region-section {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.region-section .label {
  font-size: 14px; font-weight: bold; color: #1a5fb4;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.region-section .label::before {
  content: ""; display: inline-block;
  width: 4px; height: 16px; background: #1a5fb4; border-radius: 2px;
}

/* 省/市各一行 */
.region-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.region-row + .region-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #dce8f5;
}
.row-label {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
  padding-top: 8px;
  min-width: 36px;
}

.region-grid {
  display: flex; flex-wrap: wrap; gap: 8px; flex: 1;
}

/* 省级按钮 */
.region-btn {
  padding: 7px 18px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  color: #555;
  background: #fafafa;
  transition: all .18s;
  user-select: none;
}
.region-btn:hover {
  border-color: #1a5fb4;
  color: #1a5fb4;
  background: #f0f7ff;
}
.region-btn.active {
  background: #1a5fb4;
  color: #fff;
  border-color: #1a5fb4;
  font-weight: bold;
}
.region-btn.current {
  background: #1a5fb4;
  color: #fff;
  border-color: #1a5fb4;
  font-weight: bold;
}

/* 市级按钮（稍小，浅蓝底） */
.city-btn {
  padding: 5px 14px;
  border: 1px solid #c8dcf0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  color: #4a6f99;
  background: #f5f9ff;
  transition: all .18s;
  user-select: none;
}
.city-btn:hover {
  border-color: #1a5fb4;
  color: #1a5fb4;
  background: #e0eeff;
}
.city-btn.active {
  background: #4a90d9;
  color: #fff;
  border-color: #4a90d9;
  font-weight: bold;
}
.city-btn.current {
  background: #4a90d9;
  color: #fff;
  border-color: #4a90d9;
  font-weight: bold;
}

/* ======== 套餐展示区 ======== */
.package-section {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  min-height: 520px;
}
.package-header {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #f0f0f0; padding-bottom: 14px; margin-bottom: 20px;
}
.package-header .ptitle {
  font-size: 18px; font-weight: bold; color: #1a5fb4;
  display: flex; align-items: center; gap: 8px;
}
.package-header .ptitle::before {
  content: ""; display: inline-block;
  width: 4px; height: 20px; background: #1a5fb4; border-radius: 2px;
}
/* 图片展示区 */
.package-img-wrap {
  text-align: center;
  position: relative;
}
.package-img-wrap img {
  max-width: 100%; border-radius: 4px;
  border: 1px solid #eee;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: opacity .3s;
}
.package-img-wrap .placeholder {
  width: 100%; min-height: 400px;
  border: 2px dashed #ddd; border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #bbb; font-size: 16px; gap: 12px;
}
.package-img-wrap .placeholder .icon { font-size: 48px; }

/* loading遮罩 */
.img-loading {
  display: none;
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.7);
  align-items: center; justify-content: center;
  font-size: 13px; color: #1a5fb4;
}
.img-loading.show { display: flex; }

/* 响应式 */
@media (max-width: 768px) {
  .main-body { padding: 16px 12px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav a { padding: 0 12px; font-size: 13px; }
}

/* ======== 页脚（蓝色调） ======== */

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col p,
.footer-col a {
  font-size: 13px;
  color: #8aa8c0;
  text-decoration: none;
  line-height: 2;
  display: block;
}
.footer-col a:hover {
  color: #4da6ff;
}
.footer-contact {
  margin-top: 12px;
}
.footer-contact strong {
  color: #4da6ff;
  font-size: 16px;
}
.footer-bottom {
  border-top: 1px solid #2a4a6c;
  padding-top: 20px;
  font-size: 12px;
  text-align: center;
  color: #6a8aaa;
}
.footer-bottom a {
  color: #6a8aaa;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #4da6ff;
}
