.jiuzhaigou-page {
  background: #f7f5ef;
}

.jzg-hero,
.jzg-section,
.jzg-final-cta {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
}

.jzg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px) 0 36px;
}

.jzg-hero-media {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 26px 70px rgba(23, 48, 51, 0.16);
}

.jzg-hero-media img,
.route-card img,
.real-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jzg-pill {
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  background: #edf7f2;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.jzg-hero h1 {
  max-width: 680px;
  margin: 16px 0;
  color: var(--charcoal);
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.02;
}

.jzg-subtitle {
  color: #3c4a4d;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.45;
}

.jzg-intro {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.jzg-tags,
.route-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jzg-tags span,
.route-tags span {
  border-radius: 999px;
  padding: 7px 11px;
  background: white;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.jzg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.jzg-actions .ghost,
.jzg-final-cta .ghost {
  border-color: var(--teal-dark);
  background: transparent;
  color: var(--teal-dark);
}

.jzg-section {
  padding: clamp(34px, 5vw, 62px) 0;
}

.jzg-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.jzg-section-head.centered {
  display: block;
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.jzg-section-head h2 {
  color: var(--charcoal);
}

.jzg-section-head p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 34px rgba(23, 48, 51, 0.08);
}

.route-card img {
  height: 310px;
}

.route-card > div {
  padding: 24px;
}

.route-fit {
  margin-bottom: 10px;
  color: var(--rose);
  font-size: 14px;
  font-weight: 950;
}

.route-card h3 {
  color: var(--charcoal);
  font-size: 25px;
}

.route-card p {
  color: var(--muted);
  line-height: 1.65;
}

.route-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.route-card li {
  color: #3d5154;
  font-size: 14px;
  font-weight: 840;
  line-height: 1.45;
}

.route-card li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--teal-dark);
}

.route-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--charcoal);
  color: white;
  font-weight: 950;
}

.selector-section,
.why-section {
  border-radius: 18px;
  padding-inline: clamp(18px, 4vw, 42px);
  background: #fbf4e9;
}

.guide-table {
  overflow: hidden;
  border: 1px solid rgba(221, 231, 229, 0.9);
  border-radius: 16px;
  background: white;
}

.guide-table div {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.guide-table div:first-child {
  border-top: 0;
}

.guide-table strong {
  color: #344654;
}

.guide-table span {
  color: var(--teal-dark);
  font-weight: 950;
}

.section-button {
  width: fit-content;
  margin-top: 18px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.promise-grid article {
  border: 1px solid rgba(221, 231, 229, 0.9);
  border-radius: 16px;
  padding: 22px;
  background: white;
  box-shadow: 0 10px 26px rgba(23, 48, 51, 0.07);
}

.promise-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mist);
  color: var(--teal-dark);
  font-weight: 950;
}

.promise-grid h3 {
  margin-top: 16px;
  color: var(--charcoal);
  font-size: 20px;
}

.promise-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.compare-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.compare-row {
  min-width: 920px;
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr 1.4fr 1.4fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: #44575a;
}

.compare-row:first-child {
  border-top: 0;
}

.compare-row.header {
  background: #edf7f2;
  color: var(--teal-dark);
  font-weight: 950;
}

.compare-row strong {
  color: var(--charcoal);
}

.route-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 14px;
}

.route-tabs button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: white;
  color: var(--charcoal);
  cursor: pointer;
  font-weight: 950;
}

.route-tabs button.active {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: white;
}

.departure-panel {
  display: none;
  gap: 12px;
}

.departure-panel.active {
  display: grid;
}

.departure-panel article {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(180px, 1fr) 120px 100px 100px 120px;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: white;
}

.departure-panel time,
.departure-panel strong {
  color: var(--charcoal);
  font-weight: 950;
}

.departure-panel span,
.departure-panel em {
  color: var(--muted);
  font-style: normal;
  font-weight: 820;
}

.departure-panel a {
  border-radius: 8px;
  padding: 9px 10px;
  background: var(--mist);
  color: var(--teal-dark);
  text-align: center;
  font-size: 13px;
  font-weight: 950;
}

.departure-panel a:last-child {
  background: var(--charcoal);
  color: white;
}

.real-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.real-strip img,
.real-strip article {
  min-height: 270px;
  border-radius: 16px;
}

.real-strip img {
  box-shadow: 0 14px 34px rgba(23, 48, 51, 0.09);
}

.real-strip img.wide {
  grid-column: span 2;
}

.real-strip article {
  display: grid;
  align-content: end;
  padding: 22px;
  background: white;
  box-shadow: 0 10px 26px rgba(23, 48, 51, 0.07);
}

.real-strip strong {
  color: var(--teal-dark);
}

.real-strip p {
  color: var(--muted);
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.faq-list summary {
  cursor: pointer;
  padding: 17px 18px;
  color: var(--charcoal);
  font-weight: 950;
}

.faq-list p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0 18px 17px;
  color: var(--muted);
  line-height: 1.7;
}

.jzg-final-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 42px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(90deg, rgba(15, 43, 47, 0.92), rgba(15, 43, 47, 0.62)),
    url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1800&q=86") center/cover;
  color: white;
}

.jzg-final-cta h2 {
  max-width: 640px;
  color: white;
}

.jzg-final-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.jzg-final-cta .eyebrow {
  color: var(--gold);
}

.jzg-final-cta .ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.jzg-sticky-whatsapp {
  display: none;
}

@media (max-width: 1040px) {
  .jzg-hero,
  .route-grid,
  .promise-grid,
  .real-strip {
    grid-template-columns: 1fr;
  }

  .jzg-hero-media {
    aspect-ratio: 16 / 10;
  }

  .departure-panel article {
    grid-template-columns: 1fr 1fr;
  }

  .jzg-final-cta {
    display: grid;
  }
}

@media (max-width: 640px) {
  .jzg-hero,
  .jzg-section,
  .jzg-final-cta {
    width: min(100% - 32px, 1320px);
  }

  .jzg-hero {
    gap: 20px;
    padding-top: 18px;
  }

  .jzg-hero-media {
    aspect-ratio: auto;
    height: 300px;
  }

  .jzg-hero h1 {
    font-size: 36px;
  }

  .jzg-subtitle {
    font-size: 18px;
  }

  .jzg-intro {
    font-size: 15px;
  }

  .jzg-section {
    padding: 30px 0;
  }

  .jzg-section-head {
    display: block;
  }

  .route-card img {
    height: 230px;
  }

  .route-card > div {
    padding: 20px;
  }

  .route-card h3 {
    font-size: 21px;
  }

  .route-card ul,
  .guide-table div,
  .departure-panel article {
    grid-template-columns: 1fr;
  }

  .promise-grid {
    display: flex;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 0 16px 8px;
    scroll-snap-type: x mandatory;
  }

  .promise-grid article {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  .compare-row {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .compare-row.header {
    display: none;
  }

  .compare-row {
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
  }

  .real-strip {
    display: flex;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 0 16px 8px;
    scroll-snap-type: x mandatory;
  }

  .real-strip img,
  .real-strip article {
    flex: 0 0 80%;
    min-height: 250px;
    scroll-snap-align: start;
  }

  .real-strip img.wide {
    grid-column: auto;
  }

  .section-button,
  .jzg-actions .button {
    width: 100%;
  }

  .jzg-sticky-whatsapp {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--teal-dark);
    color: white;
    font-weight: 950;
    box-shadow: 0 12px 30px rgba(23, 48, 51, 0.2);
  }
}
