/* ========================================
   Trek Detail Pages — Premium Adventure Layout
   Mobile-first; pairs with site design tokens
   ======================================== */

body.trek-page {
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(243, 178, 24, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(232, 220, 200, 0.55), transparent 50%),
    var(--color-bg-light);
}

/* ----- Hero ----- */

.trek-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--color-white);
}

.trek-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.trek-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 1.2s ease;
}

.trek-hero:hover .trek-hero__media img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .trek-hero__media img,
  .trek-hero:hover .trek-hero__media img {
    transform: none;
    transition: none;
  }
}

.trek-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.35) 0%, rgba(26, 26, 26, 0.2) 35%, rgba(26, 26, 26, 0.78) 72%, rgba(26, 26, 26, 0.94) 100%);
  pointer-events: none;
}

.trek-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-height) + 28px) 0 36px;
}

.trek-hero__label {
  color: var(--color-accent);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.trek-hero__title {
  max-width: 16ch;
  margin: 0 0 14px;
  font-size: clamp(2rem, 8.2vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-wrap: balance;
}

.trek-hero__text {
  max-width: 36rem;
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.trek-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.trek-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  transition: transform var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.trek-fact:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(243, 178, 24, 0.45);
}

.trek-fact__label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.trek-fact__value {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: 1.35;
}

.trek-inclu-grid--single {
  max-width: 560px;
  margin-inline: auto;
}

.trek-fact--price .trek-fact__value {
  color: var(--color-accent);
}

.trek-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trek-hero__actions .btn {
  min-height: 48px;
  padding-inline: 28px;
}

.trek-page .btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.trek-page .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
  box-shadow: none;
}

.trek-page .btn--whatsapp {
  background: var(--social-whatsapp);
  border-color: var(--social-whatsapp);
  color: var(--color-white);
}

.trek-page .btn--whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: var(--color-white);
}

@media (min-width: 480px) {
  .trek-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 768px) {
  .trek-hero {
    min-height: 92vh;
    align-items: center;
  }

  .trek-hero__inner {
    padding: calc(var(--header-height) + 48px) 0 64px;
  }

  .trek-hero__facts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 900px;
    gap: 14px;
    margin-bottom: 32px;
  }

  .trek-fact {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .trek-fact__value {
    font-size: 1.05rem;
  }

  .trek-hero__text {
    font-size: 1.125rem;
    margin-bottom: 32px;
  }
}

/* ----- Shared section rhythm ----- */

.trek-section {
  padding: 64px 0;
}

.trek-section--alt {
  background:
    linear-gradient(180deg, rgba(249, 246, 240, 0) 0%, rgba(241, 231, 222, 0.55) 40%, rgba(249, 246, 240, 0) 100%);
}

.trek-section__header {
  max-width: 40rem;
  margin: 0 0 36px;
}

.trek-section__header--center {
  margin-inline: auto;
  text-align: center;
}

.trek-section__header .section-divider {
  margin-block: 14px 0;
}

.trek-section__lead {
  margin-top: 16px;
  color: var(--color-text-body);
}

/* ----- Overview ----- */

.trek-overview__card {
  position: relative;
  padding: 28px 22px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, var(--color-white) 0%, var(--color-bg-sand) 100%);
  border: 1px solid rgba(201, 184, 150, 0.45);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.trek-overview__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-dark));
}

.trek-overview__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text-body);
}

@media (min-width: 768px) {
  .trek-section {
    padding: 100px 0;
  }

  .trek-overview__card {
    padding: 40px 44px 40px 48px;
  }

  .trek-overview__text {
    font-size: 1.125rem;
  }
}

/* ----- Itinerary timeline ----- */

.trek-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trek-timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--color-accent) 0%,
    rgba(201, 184, 150, 0.55) 50%,
    rgba(201, 184, 150, 0.2) 100%
  );
}

.trek-day {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.trek-day__marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-text-dark);
  box-shadow: 0 8px 20px rgba(243, 178, 24, 0.35);
}

.trek-day__marker svg {
  width: 20px;
  height: 20px;
}

.trek-day__card {
  padding: 22px 20px;
  border-radius: 22px;
  background: var(--color-white);
  border: 1px solid rgba(232, 220, 200, 0.9);
  box-shadow: var(--shadow-feature);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.trek-day__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.trek-day__eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}

.trek-day__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--color-text-dark);
}

.trek-day__distance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-sand);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
}

.trek-day__distance svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent-dark);
}

.trek-day__text {
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--color-text-body);
}

.trek-day__text:last-child {
  margin-bottom: 0;
}

.trek-day__meta {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.trek-day__meta-block {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: var(--color-bg-light);
  border: 1px solid rgba(232, 220, 200, 0.8);
}

.trek-day__meta-title {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dark);
}

.trek-day__meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trek-day__meta-list--standalone {
  margin: 0 0 14px;
}

.trek-day__meta-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-body);
}

.trek-day__meta-list li:last-child {
  margin-bottom: 0;
}

.trek-day__meta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.trek-day__stay {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-body);
}

@media (min-width: 768px) {
  .trek-timeline {
    gap: 28px;
  }

  .trek-timeline::before {
    left: 27px;
  }

  .trek-day {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 22px;
  }

  .trek-day__marker {
    width: 56px;
    height: 56px;
  }

  .trek-day__marker svg {
    width: 22px;
    height: 22px;
  }

  .trek-day__card {
    padding: 28px 32px;
    border-radius: 24px;
  }

  .trek-day__title {
    font-size: 1.35rem;
  }

  .trek-day__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ----- Pack list ----- */

.trek-pack {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trek-pack__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 20px;
  background: var(--color-white);
  border: 1px solid rgba(232, 220, 200, 0.95);
  box-shadow: var(--shadow-feature);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.trek-pack__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.trek-pack__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(243, 178, 24, 0.2), rgba(243, 178, 24, 0.08));
  color: var(--color-accent-dark);
}

.trek-pack__icon svg {
  width: 22px;
  height: 22px;
}

.trek-pack__text {
  margin: 0;
  padding-top: 8px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--color-text-body);
}

@media (min-width: 640px) {
  .trek-pack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .trek-pack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trek-pack__item {
    flex-direction: column;
    min-height: 100%;
    padding: 24px 20px;
  }

  .trek-pack__text {
    padding-top: 0;
  }
}

/* ----- Inclusions ----- */

.trek-inclu-grid {
  display: grid;
  gap: 16px;
}

.trek-inclu {
  padding: 26px 22px;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
}

.trek-inclu--included {
  border-color: rgba(74, 140, 90, 0.22);
  background:
    linear-gradient(180deg, rgba(74, 140, 90, 0.06), transparent 45%),
    var(--color-white);
}

.trek-inclu--extra {
  border-color: rgba(196, 120, 60, 0.22);
  background:
    linear-gradient(180deg, rgba(196, 120, 60, 0.07), transparent 45%),
    var(--color-white);
}

.trek-inclu__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.trek-inclu__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.trek-inclu--included .trek-inclu__icon {
  background: rgba(74, 140, 90, 0.14);
  color: #3d7a4a;
}

.trek-inclu--extra .trek-inclu__icon {
  background: rgba(196, 120, 60, 0.14);
  color: #b86a28;
}

.trek-inclu__icon svg {
  width: 20px;
  height: 20px;
}

.trek-inclu__title {
  margin: 0;
  font-size: 1.25rem;
}

.trek-inclu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trek-inclu__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--color-text-body);
}

.trek-inclu__list li:last-child {
  margin-bottom: 0;
}

.trek-inclu__mark {
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
}

.trek-inclu--included .trek-inclu__mark {
  color: #3d7a4a;
}

.trek-inclu--extra .trek-inclu__mark {
  color: #b86a28;
}

@media (min-width: 768px) {
  .trek-inclu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .trek-inclu {
    padding: 32px 28px;
  }
}

/* ----- Booking & payment ----- */

.trek-book-grid {
  display: grid;
  gap: 16px;
}

.trek-info-card {
  position: relative;
  padding: 28px 22px;
  border-radius: 24px;
  background: var(--color-white);
  border: 1px solid rgba(232, 220, 200, 0.95);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.trek-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.trek-info-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 178, 24, 0.14), transparent 70%);
  pointer-events: none;
}

.trek-info-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-text-dark);
  box-shadow: 0 10px 24px rgba(243, 178, 24, 0.3);
}

.trek-info-card__icon svg {
  width: 24px;
  height: 24px;
}

.trek-info-card__title {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.trek-info-card__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--color-text-body);
}

@media (min-width: 768px) {
  .trek-book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .trek-info-card {
    padding: 36px 32px;
  }
}

/* ----- Availability CTA ----- */

.trek-cta {
  position: relative;
  padding: 72px 0 120px;
  overflow: hidden;
  color: var(--color-white);
}

.trek-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.trek-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.2s ease;
}

.trek-cta:hover .trek-cta__bg img {
  transform: scale(1.07);
}

@media (prefers-reduced-motion: reduce) {
  .trek-cta__bg img,
  .trek-cta:hover .trek-cta__bg img {
    transform: none;
    transition: none;
  }
}

.trek-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(26, 26, 26, 0.88) 0%, rgba(26, 26, 26, 0.72) 55%, rgba(26, 26, 26, 0.82) 100%);
}

.trek-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.trek-cta__label {
  color: var(--color-accent);
}

.trek-cta__title {
  margin: 0 0 12px;
  color: var(--color-white);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
}

.trek-cta__text {
  margin: 0 auto 28px;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.88);
}

.trek-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.trek-cta__actions .btn {
  min-height: 50px;
  justify-content: center;
}


@media (min-width: 560px) {
  .trek-cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .trek-cta__actions .btn {
    min-width: 180px;
  }
}

@media (min-width: 768px) {
  .trek-cta {
    padding: 110px 0 130px;
  }
}

/* ----- Sticky mobile booking bar ----- */

/* Footer overlaps CTA (site pattern) — prevents white gap */
.trek-page .site-footer {
  margin-top: -48px;
}

.trek-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(26, 26, 26, 0.94);
  border-top: 1px solid rgba(243, 178, 24, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
}

.trek-sticky-bar__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trek-sticky-bar__label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.trek-sticky-bar__price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  white-space: nowrap;
}

.trek-sticky-bar .btn {
  flex-shrink: 0;
  min-height: 46px;
  padding-inline: 22px;
  font-size: 13px;
}

@media (min-width: 768px) {
  .trek-sticky-bar {
    display: none;
  }
}

/* ----- Breadcrumb (subtle) ----- */

.trek-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.trek-breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.trek-breadcrumb a:hover {
  color: var(--color-accent);
}

.trek-breadcrumb__sep {
  opacity: 0.5;
}

.trek-breadcrumb__current {
  color: var(--color-white);
}

/* Detail-page nav links point home */
.trek-page .site-nav__link.is-active {
  color: var(--color-accent);
}

.trek-page img {
  max-width: 100%;
}

.trek-hero__media img,
.trek-cta__bg img {
  height: 100%;
  max-width: none;
}

/* ========================================
   Mobile only — trek detail pages
   (max-width: 767px; tablet/desktop unchanged)
   ======================================== */

@media (max-width: 767px) {
  /* ~5% smaller type across the trek page on mobile */
  html:has(body.trek-page) {
    font-size: 95%;
  }

  .trek-page {
    --trek-inline-pad: 32px;
    --trek-sticky-clearance: calc(52px + max(8px, env(safe-area-inset-bottom, 0px)));
    overflow-x: hidden;
  }

  /* Keep sticky bar clear of footer content */
  .trek-page .site-footer__card {
    padding-bottom: calc(var(--footer-padding-bottom) + var(--trek-sticky-clearance));
  }

  /* Footer overlaps CTA on trek pages too — no white strip */
  .trek-page .site-footer {
    margin-top: -32px;
  }

  .trek-page .site-header__inner,
  .trek-page .container,
  .trek-page .trek-cta__inner {
    padding-left: var(--trek-inline-pad);
    padding-right: var(--trek-inline-pad);
  }

  .trek-page .trek-section .container,
  .trek-page .trek-cta .container {
    box-sizing: border-box;
  }

  /* ----- Hero: balanced vertical spacing ----- */

  .trek-page .trek-hero {
    min-height: 80svh;
    min-height: 80dvh;
    align-items: stretch;
    box-sizing: border-box;
  }

  .trek-page .trek-hero__media img {
    filter: blur(2.5px);
    transform: scale(1.06);
  }

  .trek-page .trek-hero:hover .trek-hero__media img {
    transform: scale(1.08);
  }

  .trek-page .trek-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(26, 26, 26, 0.58) 0%,
        rgba(26, 26, 26, 0.48) 32%,
        rgba(26, 26, 26, 0.82) 68%,
        rgba(26, 26, 26, 0.94) 100%
      );
  }

  .trek-page .trek-hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding-top: calc(var(--header-height) + 28px);
    padding-right: var(--trek-inline-pad);
    padding-bottom: calc(18px + var(--trek-sticky-clearance));
    padding-left: var(--trek-inline-pad);
    box-sizing: border-box;
  }

  .trek-page .trek-breadcrumb {
    gap: 5px;
    margin: 0 0 16px;
    font-size: 11px;
  }

  .trek-page .trek-hero__label {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .trek-page .trek-hero__title {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 6vw, 1.7rem);
    line-height: 1.18;
  }

  .trek-page .trek-hero__text {
    margin: 0 0 18px;
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .trek-page .trek-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 18px;
  }

  .trek-page .trek-fact {
    min-width: 0;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }

  .trek-page .trek-fact__label {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .trek-page .trek-fact__value {
    font-size: 0.72rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .trek-page .trek-hero__actions {
    gap: 8px;
  }

  /* Sticky bar owns booking on mobile — avoid duplicate Book Now in hero */
  .trek-page .trek-hero__actions .btn:not(.btn--ghost) {
    display: none;
  }

  .trek-page .trek-hero__actions .btn {
    min-height: 38px;
    padding-inline: 18px;
    font-size: 12px;
  }

  /* ----- Page body: tighter rhythm ----- */

  .trek-page .trek-section {
    padding: 44px 0;
  }

  .trek-page .trek-section.trek-acc--section {
    padding: 0;
  }

  .trek-page .trek-hero + .trek-section.trek-acc--section {
    margin-top: 36px;
  }

  .trek-page .trek-section.trek-acc--section:has(+ .trek-cta) {
    margin-bottom: 36px;
  }

  .trek-page .trek-section.trek-acc--section.is-open {
    padding: 0 0 12px;
  }

  .trek-page .trek-section__header {
    margin-bottom: 22px;
  }

  .trek-page .trek-section.trek-acc--section .trek-section__header,
  .trek-page .trek-section.trek-acc--section .trek-acc__header {
    margin: 0;
  }

  .trek-page .trek-section.trek-acc--section + .trek-section.trek-acc--section {
    margin-top: 10px;
  }

  .trek-page .trek-section__header .section-label {
    margin-bottom: 2px;
    font-size: 9.5px;
  }

  .trek-page .trek-section__header .heading-2 {
    font-size: 0.86rem;
  }

  .trek-page .trek-section__header .section-divider {
    margin-block: 10px 0;
  }

  .trek-page .trek-section__lead {
    margin-top: 10px;
    font-size: 0.9rem;
  }

  .trek-page .trek-acc__trigger {
    padding: 20px 14px;
    gap: 10px;
  }

  .trek-page .trek-acc__chevron {
    width: 18px;
    height: 18px;
  }

  .trek-page .trek-overview__card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .trek-page .trek-overview__text {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .trek-page .trek-timeline {
    gap: 10px;
  }

  .trek-page .trek-day {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
  }

  .trek-page .trek-timeline::before {
    left: 16px;
  }

  .trek-page .trek-day__marker {
    width: 34px;
    height: 34px;
  }

  .trek-page .trek-day__marker svg {
    width: 14px;
    height: 14px;
  }

  .trek-page .trek-day__card {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .trek-page .trek-day__eyebrow {
    margin-bottom: 2px;
    font-size: 9px;
  }

  .trek-page .trek-day__title {
    margin: 0 0 4px;
    font-size: 0.82rem;
  }

  .trek-page .trek-day.trek-acc--day .trek-day__card {
    padding: 10px 12px;
  }

  .trek-page .trek-acc__trigger--day .trek-day__title {
    font-size: 0.82rem;
  }

  .trek-page .trek-day__distance {
    margin: 0 0 8px;
    padding: 4px 10px;
    font-size: 11px;
  }

  .trek-page .trek-day__text {
    margin: 0 0 10px;
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .trek-page .trek-day__meta-block {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .trek-page .trek-day__meta-title {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .trek-page .trek-day__meta-list li,
  .trek-page .trek-day__stay {
    font-size: 0.85rem;
  }

  .trek-page .trek-pack {
    gap: 10px;
  }

  .trek-page .trek-pack__item {
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
  }

  .trek-page .trek-pack__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .trek-page .trek-pack__icon svg {
    width: 18px;
    height: 18px;
  }

  .trek-page .trek-pack__text {
    padding-top: 6px;
    font-size: 0.875rem;
  }

  .trek-page .trek-inclu-grid {
    gap: 12px;
  }

  .trek-page .trek-inclu {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .trek-page .trek-inclu__header {
    gap: 10px;
    margin-bottom: 12px;
  }

  .trek-page .trek-inclu__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .trek-page .trek-inclu__icon svg {
    width: 16px;
    height: 16px;
  }

  .trek-page .trek-inclu__title {
    font-size: 1.05rem;
  }

  .trek-page .trek-inclu__list li {
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.875rem;
  }

  .trek-page .trek-inclu__mark {
    width: 16px;
    height: 16px;
  }

  .trek-page .trek-book-grid {
    gap: 12px;
  }

  .trek-page .trek-info-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .trek-page .trek-info-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .trek-page .trek-info-card__icon svg {
    width: 18px;
    height: 18px;
  }

  .trek-page .trek-info-card__title {
    margin: 0 0 6px;
    font-size: 1.05rem;
  }

  .trek-page .trek-info-card__text {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .trek-page .trek-cta {
    padding: 48px 0 88px;
  }

  .trek-page .trek-cta__title {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .trek-page .trek-cta__text {
    margin: 0 auto 18px;
    font-size: 0.875rem;
  }

  .trek-page .trek-cta__actions {
    gap: 8px;
  }

  .trek-page .trek-cta__actions .btn {
    min-height: 40px;
    font-size: 12px;
  }

  /* ----- Compact fixed booking bar (single instance) ----- */

  .trek-page .trek-sticky-bar {
    left: 0;
    right: 0;
    gap: 10px;
    padding-top: 8px;
    padding-right: var(--trek-inline-pad);
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
    padding-left: var(--trek-inline-pad);
    box-sizing: border-box;
  }

  .trek-page .trek-sticky-bar__meta {
    padding-right: 4px;
    gap: 0;
  }

  .trek-page .trek-sticky-bar__label {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .trek-page .trek-sticky-bar__price {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .trek-page .trek-sticky-bar .btn {
    margin-right: 0;
    min-height: 36px;
    padding-inline: 16px;
    font-size: 12px;
  }

  .trek-page .back-to-top {
    bottom: calc(var(--trek-sticky-clearance) + 10px);
  }
}

@media (max-width: 480px) {
  .trek-page {
    --trek-inline-pad: 28px;
  }

  .trek-page .trek-hero__inner {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: calc(16px + var(--trek-sticky-clearance));
  }

  .trek-page .trek-hero__title {
    font-size: clamp(1.28rem, 6.2vw, 1.55rem);
  }

  .trek-page .trek-hero__facts {
    column-gap: 7px;
    row-gap: 11px;
  }

  .trek-page .trek-fact {
    padding: 7px 9px;
  }

  .trek-page .trek-fact__value {
    font-size: 0.68rem;
  }
}

@media (max-width: 360px) {
  .trek-page {
    --trek-inline-pad: 24px;
  }

  .trek-page .trek-hero__facts {
    column-gap: 6px;
    row-gap: 10px;
  }

  .trek-page .trek-fact {
    padding: 6px 8px;
  }

  .trek-page .trek-fact__value {
    font-size: 0.65rem;
  }
}

/* ----- Accordion (sections + day cards) ----- */

.trek-page .trek-section.trek-acc--section {
  padding: 0;
  margin: 0;
  background: transparent;
}

.trek-page .trek-hero + .trek-section.trek-acc--section {
  margin-top: 40px;
}

.trek-page .trek-section.trek-acc--section:has(+ .trek-cta) {
  margin-bottom: 40px;
}

.trek-page .trek-section.trek-acc--section + .trek-section.trek-acc--section {
  margin-top: 10px;
}

.trek-page .trek-section.trek-acc--section.is-open {
  padding: 0 0 16px;
}

.trek-page .trek-section.trek-acc--section.is-open + .trek-section.trek-acc--section,
.trek-page .trek-section.trek-acc--section + .trek-section.trek-acc--section.is-open {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .trek-page .trek-hero + .trek-section.trek-acc--section {
    margin-top: 48px;
  }

  .trek-page .trek-section.trek-acc--section:has(+ .trek-cta) {
    margin-bottom: 48px;
  }

  .trek-page .trek-section.trek-acc--section + .trek-section.trek-acc--section {
    margin-top: 14px;
  }

  .trek-page .trek-section.trek-acc--section.is-open {
    padding: 0 0 20px;
  }
}

.trek-page .trek-section.trek-acc--section.is-open.trek-section--alt {
  background:
    linear-gradient(180deg, rgba(249, 246, 240, 0) 0%, rgba(241, 231, 222, 0.55) 40%, rgba(249, 246, 240, 0) 100%);
}

.trek-acc__header {
  margin: 0;
  max-width: none;
}

.trek-page .trek-section.trek-acc--section .trek-section__header {
  margin: 0;
  max-width: none;
}

.trek-acc__header.trek-section__header--center {
  text-align: left;
}

.trek-acc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  color: var(--color-text-dark);
  background: var(--color-white);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.04);
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.trek-acc__trigger:hover {
  border-color: rgba(243, 178, 24, 0.4);
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.07);
  background-color: rgba(255, 255, 255, 0.98);
}

.trek-acc__trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.trek-acc--section.is-open > .container > .trek-acc__header .trek-acc__trigger {
  border-color: rgba(243, 178, 24, 0.45);
  box-shadow: 0 14px 32px rgba(26, 26, 26, 0.08);
}

.trek-acc__trigger-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.trek-acc__trigger-text .section-label {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 1.4px;
  line-height: 1.2;
}

.trek-acc__trigger-text .heading-2 {
  margin: 0;
  font-size: clamp(0.735rem, 2.2vw, 1rem);
  line-height: 1.2;
}

.trek-acc__chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-accent-dark);
  transition: transform 0.3s ease;
}

.trek-acc.is-open > .container > .trek-acc__header .trek-acc__chevron,
.trek-acc--day.is-open .trek-acc__chevron {
  transform: rotate(180deg);
}

.trek-acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.trek-acc.is-open > .container > .trek-acc__panel,
.trek-acc--day.is-open .trek-acc__panel {
  grid-template-rows: 1fr;
}

.trek-acc__panel-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  padding-top: 0;
  transition:
    opacity 0.3s ease,
    padding-top 0.3s ease;
}

.trek-acc.is-open > .container > .trek-acc__panel > .trek-acc__panel-inner,
.trek-acc--day.is-open .trek-acc__panel-inner {
  opacity: 1;
  padding-top: 22px;
}

.trek-acc__trigger--day {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  align-items: flex-start;
}

.trek-acc__trigger--day:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.trek-day.trek-acc--day .trek-day__card {
  padding: 12px 14px;
}

.trek-day.trek-acc--day .trek-day__card:hover {
  transform: none;
}

.trek-day.trek-acc--day.is-open .trek-day__card {
  border-color: rgba(243, 178, 24, 0.4);
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.07);
}

.trek-acc__trigger--day .trek-day__eyebrow {
  margin-bottom: 2px;
  font-size: 0.625rem;
  letter-spacing: 1.2px;
  line-height: 1.2;
}

.trek-acc__trigger--day .trek-day__title {
  margin: 0;
  font-size: clamp(0.7rem, 2.1vw, 0.95rem);
  line-height: 1.2;
}

.trek-acc__trigger--day .trek-acc__chevron {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.trek-acc__panel-inner--day {
  padding-top: 0;
}

.trek-acc--day.is-open .trek-acc__panel-inner--day {
  padding-top: 14px;
}

.trek-acc__panel-inner--day .trek-day__distance {
  margin-top: 0;
}

.trek-acc__panel-inner--day .trek-day__text:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .trek-acc__trigger {
    padding: 22px 26px;
  }

  .trek-acc__trigger-text .heading-2 {
    font-size: clamp(0.86rem, 1.26vw, 1.1rem);
  }

  .trek-day.trek-acc--day .trek-day__card {
    padding: 14px 16px;
  }

  .trek-acc__trigger--day .trek-day__title {
    font-size: clamp(0.86rem, 1.26vw, 1.1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trek-acc__chevron,
  .trek-acc__panel,
  .trek-acc__panel-inner,
  .trek-acc__trigger {
    transition: none;
  }
}
