/* ========= HL Travel - Common Styles (service pages) ========= */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", sans-serif; line-height: 1.7; color: #0f172a; background: #fff; }
a { text-decoration: none; color: inherit; }

/* ===== Top Nav (global) ===== */
.topnav{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(226,232,240,0.9);
}
.topnav-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ✅ Brand：同时兼容「红点+文字」和「logo图片」两种写法 */
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: .2px;
  white-space: nowrap;
}

/* 旧版：红点（你如果不用也没关系，保留不影响） */
.brand-dot{
  width: 12px; height: 12px;
  border-radius: 4px;
  background: #ff4d4f;
  box-shadow: 0 8px 18px rgba(255,77,79,0.25);
}

/* ✅ 新增：导航栏 logo 图片（关键） */
.brand-logo{
  height: 54px;              /* 桌面端建议 36~44 */
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 260px;          /* 防止 logo 太宽挤压右侧菜单 */
}

/* 如果你的 logo 看起来“贴上边/贴下边”，用这个轻微校正 */
.brand-logo { transform: translateY(1px); }

.navlinks{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.navlinks a{
  color: #0f172a;
  font-weight: 700;
  font-size: .98rem;
  padding: 8px 10px;
  border-radius: 10px;
}
.navlinks a:hover{ background: rgba(15,23,42,0.06); }
.navlinks .nav-cta{
  background: #ff4d4f;
  color: #fff;
  box-shadow: 0 10px 25px rgba(255,77,79,0.18);
}
.navlinks .nav-cta:hover{ background: #f5222d; }

@media (max-width:768px){
  .topnav-inner{ padding: 10px 14px; }
  .navlinks a{ font-size: .95rem; }
  .brand-logo{
    height: 34px;
    max-width: 200px;
  }
}

/* ===== Gradient Hero (full width) ===== */
.page-hero{
  padding: 64px 20px 34px;
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(255,77,79,0.12), transparent 55%),
    radial-gradient(900px 500px at 85% 10%, rgba(59,130,246,0.10), transparent 55%);
}
.page-hero .wrap{
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.page-hero h1{
  font-size: 2.15rem;
  letter-spacing: .2px;
  color: #0f172a;
  line-height: 1.15;
}
.page-hero p{
  margin: 10px auto 0;
  color: #334155;
  max-width: 760px;
  text-align: center;
}
.cta-row{
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
  opacity: .9;
}
.btn-secondary:hover{ opacity: 1; }

/* ===== Page Content / Cards ===== */
.content{
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px 60px;
}
.card{
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(2,8,23,.08);
  border: 1px solid rgba(226,232,240,.9);
  padding: 18px;
  margin-top: 14px;
}

.card h2{
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 10px;
}

/* layout_v2_fix3 behavior: left align title + remove bullets */
.card.stack h2{ text-align: left; }
.list{
  margin: 0;
  padding-left: 0;
  color: #334155;
  line-height: 1.8;
  list-style: none;
}
.card.stack .list li{ margin: 8px 0; }

.divider{
  height: 1px;
  background: rgba(226,232,240,.9);
  margin: 14px 0;
}
.card.stack h3{
  margin-top: 14px;
  font-size: 1.1rem;
  color: #0f172a;
}
.card.stack .p{
  color: #334155;
  line-height: 1.85;
  margin: 0;
}
.hint{
  color: #334155;
  font-size: .95rem;
  margin-top: 10px;
  line-height: 1.7;
}

/* ===== Tip strip (white card) ===== */
.tip-strip{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(226,232,240,.9);
  background: #fff;
  box-shadow: 0 18px 45px rgba(2,8,23,.08);
}
.tip-title{ font-weight: 900; color: #0f172a; font-size: 1rem; }
.tip-items{ margin-top: 6px; color: #334155; line-height: 1.7; }

/* ===== FAQ (collapsed by default) ===== */
.faq h2{ text-align: center; }
.faq details{
  border-top: 1px solid rgba(226,232,240,.9);
  padding: 12px 0;
}
.faq details:first-child{ border-top: none; padding-top: 0; }
.faq summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 900;
  color: #0f172a;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq .a{ margin-top: 8px; color: #334155; line-height: 1.8; }
.faq .chev{ color: #64748b; font-weight: 900; transition: transform .15s ease; }
.faq details[open] .chev{ transform: rotate(180deg); }
.finehint{
  margin-top: 14px;
  color: #64748b;
  font-size: .95rem;
  line-height: 1.7;
  text-align: center;
}
.topnav .navlinks a.active{
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}
/* 下拉容器 */
.nav-dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* 下拉按钮外观：看起来像普通导航文字 */
.nav-dropbtn{
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: #111;
  opacity: .9;
  padding: 8px 4px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropbtn:hover{ opacity: 1; }

.nav-caret{
  font-size: 12px;
  transform: translateY(1px);
}

/* 下拉菜单 */
.nav-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
  display: none;
  z-index: 9999;
}

.nav-menu a{
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  white-space: nowrap;
}
.nav-menu a:hover{
  background: rgba(0,0,0,.05);
}

/* 桌面端：hover 打开 */
@media (min-width: 901px){
  .nav-dropdown:hover .nav-menu{ display: block; }
}

/* JS 打开状态 */
.nav-dropdown.open .nav-menu{ display:block; }
.nav-dropdown.open .nav-dropbtn{ opacity: 1; }
/* === 强制顶栏跟随滚动：fixed（覆盖 sticky） === */
.topnav{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(226,232,240,0.9);
}

