/* 山岳详情页样式 */
.m-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.m-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 35, 27, 0.1) 30%, rgba(20, 35, 27, 0.72) 100%);
}
.m-hero-content {
  position: relative;
  color: #fff;
  padding-bottom: 36px;
  padding-top: 140px;
}
.m-region {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 6px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.m-hero-content h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.m-name-my {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.m-trip-pill {
  display: inline-block;
  margin-top: 14px;
  background: var(--orange-500);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.trip-banner-wrap {
  margin-top: -26px;
  position: relative;
  z-index: 2;
}
.trip-banner {
  background: var(--orange-100);
  border: 1.5px solid var(--orange-500);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.trip-banner-title {
  font-weight: 800;
  color: var(--orange-600);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.trip-banner-desc {
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.trip-urgency {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.slots-pill,
.days-pill {
  display: inline-block;
  background: var(--orange-500);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 5px 14px;
  border-radius: 999px;
}
.days-pill {
  background: var(--green-900);
}
.days-pill.is-closed {
  background: var(--muted);
}
.trip-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trip-banner-actions .btn-wa {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid var(--green-700);
  box-shadow: none;
}

.info-section {
  margin-top: -26px;
  position: relative;
  z-index: 2;
}
/* 有团期 banner 时，信息格不再往上叠 */
.info-section.has-banner {
  margin-top: 24px;
}
.info-grid {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  overflow: hidden;
}
.info-item {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.info-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.info-label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.info-value {
  font-weight: 700;
  color: var(--green-900);
  font-size: 0.98rem;
}
/* 团费格：每种身份一行，客人一眼看到自己那一栏 */
.info-line {
  display: block;
  font-size: 0.92rem;
  line-height: 1.5;
}

.prose-section {
  padding-top: 44px;
}
.prose {
  max-width: 680px;
}
/* 主标题：明显分区（加大上间距 + 底线），让 section 的边界一眼看清 */
.prose h2 {
  color: var(--green-900);
  font-size: 1.45rem;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-100);
}
/* 小标题：橙色竖条 + 深色字 + 紧贴内文，看得出是隶属的小重点而不是新 section */
.prose h3 {
  color: var(--green-900);
  font-size: 1.08rem;
  font-weight: 700;
  margin: 22px 0 4px;
  padding-left: 12px;
  border-left: 4px solid var(--orange-500);
  line-height: 1.4;
}
.prose h3 + p {
  padding-left: 12px;
}
.prose p {
  margin-bottom: 14px;
}
.prose ul {
  padding-left: 1.3em;
  margin-bottom: 14px;
}
.prose li {
  margin-bottom: 6px;
}
.prose blockquote {
  border-left: 3px solid var(--orange-500);
  background: var(--orange-100);
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
  margin: 18px 0;
  color: var(--ink);
}
.prose blockquote p {
  margin-bottom: 0;
}
/* 正文内嵌照片：文字讲到哪，照片就在哪，不用滚到相册去找证据 */
.prose p > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 6px 0 18px;
  box-shadow: var(--shadow);
}

.video-section {
  padding-top: 52px;
}
.video-embed {
  max-width: 360px;
  aspect-ratio: 9 / 14;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-900);
  box-shadow: var(--shadow);
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-poster {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
}
.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(236, 143, 47, 0.95);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.video-hint {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.testi-section {
  padding-top: 52px;
}
.testi-grid {
  display: grid;
  gap: 14px;
  max-width: 900px;
}
.testi-card {
  margin: 0;
  background: var(--green-100);
  border-radius: var(--radius);
  padding: 22px 20px 16px;
  position: relative;
}
.testi-mark {
  position: absolute;
  top: 6px;
  left: 14px;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--green-600);
  opacity: 0.35;
  font-family: Georgia, serif;
}
.testi-card blockquote {
  margin: 0;
  padding-left: 8px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.7;
}
.testi-card figcaption {
  margin-top: 10px;
  padding-left: 8px;
  font-size: 0.83rem;
  color: var(--muted);
}

.timeline-section {
  padding-top: 52px;
}
.timeline {
  list-style: none;
  padding: 0;
  max-width: 680px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--green-100);
}
.timeline-step {
  position: relative;
  padding: 0 0 22px 32px;
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange-500);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--orange-500);
}
.tl-time {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange-600);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.tl-title {
  font-weight: 700;
  color: var(--green-900);
  font-size: 1.05rem;
}
.tl-desc {
  color: var(--muted);
  font-size: 0.93rem;
}

.fees-section {
  padding-top: 52px;
}
.fees-wrap {
  display: grid;
  gap: 18px;
  max-width: 680px;
}
.fee-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.fee-card {
  background: var(--green-100);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
}
.fee-label {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.fee-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-900);
}
.fee-includes {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.fee-includes-title {
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 8px;
}
.fee-includes ul {
  list-style: none;
  padding: 0;
}
.fee-includes li {
  padding: 4px 0;
  color: var(--ink);
  font-size: 0.95rem;
}
.fee-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 680px;
}
.mid-cta {
  margin-top: 22px;
  max-width: 680px;
  background: var(--green-100);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: center;
}
.mid-cta-text {
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 14px;
}
.mid-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.btn-wa-ghost {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid var(--green-700);
  box-shadow: none;
}

.gear-section {
  padding-top: 52px;
}
.gear-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 20px;
  max-width: 680px;
}
.gear-grid li {
  background: var(--sand);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.93rem;
}

.gallery-section {
  padding-top: 52px;
}
.gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.gallery-item {
  flex: 0 0 78vw;
  max-width: 360px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--sand);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-section {
  padding-top: 52px;
}
.faq-list {
  max-width: 680px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-900);
  padding: 15px 18px;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange-600);
  font-size: 1.3rem;
  font-weight: 400;
}
.faq-item[open] summary::after {
  content: '×';
}
.faq-item p {
  padding: 0 18px 16px;
  color: var(--muted);
}

.cta-section {
  padding-top: 52px;
}
.m-cta {
  background: var(--green-900);
  border-radius: calc(var(--radius) + 6px);
  color: #fff;
  text-align: center;
  padding: 44px 24px;
}
.m-cta h2 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}
.trips {
  display: inline-block;
  background: rgba(236, 143, 47, 0.18);
  border: 1px solid rgba(236, 143, 47, 0.5);
  color: #ffd9ae;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.cta-note {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
}
.deadline {
  color: #ffd9ae;
  font-weight: 700;
  margin-bottom: 10px;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn-signup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-500);
  color: #fff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(236, 143, 47, 0.4);
}
.back-link {
  margin-top: 22px;
}
.back-link a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}
.disclaimer {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .info-item {
    border-right: 1px solid var(--line);
  }
  .info-item:nth-child(4n) {
    border-right: none;
  }
  .info-item:nth-child(n + 5) {
    border-bottom: none;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }
  .gallery-item {
    flex: none;
    max-width: none;
  }
  .gear-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 多团期：一座山开好几团时，每个日期各自一张卡，客人点哪个报哪个 */
.trip-option-more {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--orange-500);
}
.trip-option-date {
  font-weight: 700;
  color: var(--green-900);
  font-size: 1rem;
  margin-bottom: 8px;
}
