.trek-hero {
  min-height: 390px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 38, 66, 0.92), rgba(3, 38, 66, 0.4)),
    url("../images/imageGallery/banner.png") center 48% / cover;
}

.trek-hero-content {
  position: relative;
  z-index: 1;
  padding: 70px 0 82px;
}

.trek-hero .eyebrow {
  color: #ffd06b;
}

.trek-hero h1 {
  max-width: 760px;
  margin: 0;
  font: 700 clamp(38px, 5vw, 62px) / 1.05 Georgia, serif;
}

.trek-hero-content > p:not(.eyebrow) {
  max-width: 600px;
  margin: 14px 0 23px;
  color: #e3edf4;
  font-size: 16px;
}

.trek-hero-caption {
  position: absolute;
  right: max(4%, calc((100vw - 1180px) / 2));
  bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.trek-section {
  background: #f5f9fc;
}

.trek-section-heading {
  max-width: 700px;
  margin-inline: auto;
}

.trek-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 24px;
}

.trek-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  grid-template-rows: 125px minmax(0, 1fr);
  align-items: stretch;
  gap: 9px 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(7, 52, 91, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.trek-card:hover,
.trek-card.is-selected {
  border-color: var(--orange);
  box-shadow: 0 12px 28px rgba(7, 52, 91, 0.12);
  transform: translateY(-2px);
}

.trek-card.is-selected {
  background: #fffaf4;
}

.trek-card:focus-visible,
.trek-expand:focus-visible,
.trek-enquiry-link:focus-visible {
  outline: 3px solid rgba(244, 123, 22, 0.45);
  outline-offset: 3px;
}

.trek-card-image {
  position: relative;
  grid-column: 1 / -1;
  min-height: 125px;
  overflow: hidden;
  border-radius: 8px;
  background: #cbd9df;
}

.trek-card-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.trek-image-label {
  position: absolute;
  inset: auto 0 0;
  padding: 16px 8px 8px;
  color: #fff;
  background: linear-gradient(transparent, rgba(3, 38, 66, 0.75));
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.trek-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 5px 0;
}

.trek-card-kicker {
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.trek-card-content > strong {
  margin: 5px 0 7px;
  color: var(--navy);
  font: 700 18px / 1.16 Georgia, serif;
}

.trek-card-facts {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.trek-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
}

.trek-card-price > span {
  width: 100%;
  color: #8795a0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.trek-card-price strong {
  color: var(--navy);
  font-size: 14px;
}

.trek-card-arrow {
  justify-self: end;
  color: var(--orange);
  font-size: 20px;
  line-height: 1;
}

.trek-detail {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #e0e8ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 13px 35px rgba(7, 52, 91, 0.09);
}

.trek-detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 28px;
}

.trek-detail-heading h2 {
  margin: 0;
  color: var(--navy);
  font: 700 clamp(29px, 4vw, 43px) / 1.08 Georgia, serif;
}

.trek-detail-heading > div:first-child > p:last-child {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.trek-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #f2dfca;
  border-radius: 9px;
  background: #fffaf4;
}

.trek-price-box > span {
  color: #9b6a30;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.trek-price-box > strong {
  margin-top: 4px;
  color: var(--navy);
  font: 700 23px Georgia, serif;
}

.trek-price-box > small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.trek-enquiry-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.trek-enquiry-link span {
  color: var(--orange);
}

.trek-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 25px 0 30px;
  padding: 14px 0;
  border-top: 1px solid #e8eef2;
  border-bottom: 1px solid #e8eef2;
}

.trek-fact-strip > div {
  padding: 0 16px;
  border-right: 1px solid #e8eef2;
}

.trek-fact-strip > div:first-child {
  padding-left: 0;
}

.trek-fact-strip > div:last-child {
  border-right: 0;
}

.trek-fact-strip dt {
  color: #8795a0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.trek-fact-strip dd {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.trek-itinerary-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-bottom: 5px;
}

.trek-itinerary-heading h3 {
  margin: 0;
  color: var(--navy);
  font: 700 25px Georgia, serif;
}

.trek-expand {
  padding: 9px 0;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.trek-expand span {
  display: inline-block;
  margin-left: 4px;
  color: var(--orange);
  transition: transform 0.2s ease;
}

.trek-expand[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.trek-itinerary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.trek-day {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 17px 0;
  border-top: 1px solid #e8eef2;
}

.trek-day-number {
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.trek-day-content h4 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 14px;
}

.trek-day-meta {
  margin: 0 0 8px;
  color: #71818d;
  font-size: 10px;
  font-weight: 700;
}

.trek-day-content ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.trek-notes {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--orange);
  background: #fff8ed;
}

.trek-notes h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 13px;
}

.trek-notes ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 17px;
  color: #73552f;
  font-size: 11px;
  line-height: 1.5;
}

.trek-cta {
  padding: 42px 0;
  background: linear-gradient(110deg, var(--navy-2), var(--navy));
  color: #fff;
}

.trek-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.trek-cta .eyebrow {
  color: #ffd06b;
}

.trek-cta h2 {
  margin: 0;
  font: 700 clamp(26px, 3vw, 36px) Georgia, serif;
}

.trek-cta p:not(.eyebrow) {
  margin: 7px 0 0;
  color: #d2dfe8;
  font-size: 12px;
}

@media (max-width: 900px) {
  .trek-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 24px;
  }

  .trek-detail-heading {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .trek-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .trek-hero {
    min-height: 350px;
  }

  .trek-hero-content {
    padding: 54px 0 68px;
  }

  .trek-hero-content > p:not(.eyebrow) {
    font-size: 14px;
  }

  .trek-detail-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .trek-price-box {
    width: 100%;
  }

  .trek-itinerary {
    grid-template-columns: 1fr;
  }

  .trek-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .trek-picker {
    grid-template-columns: 1fr;
  }

  .trek-card {
    grid-template-columns: 94px minmax(0, 1fr) 14px;
    grid-template-rows: minmax(145px, 1fr);
    gap: 11px;
    padding: 9px;
  }

  .trek-card-image {
    grid-column: auto;
    min-height: 145px;
  }

  .trek-card-content > strong {
    font-size: 18px;
  }

  .trek-card-facts {
    font-size: 10px;
  }

  .trek-card-price {
    padding-top: 9px;
  }

  .trek-detail {
    padding: 20px 15px;
  }

  .trek-fact-strip > div {
    padding: 0 8px;
  }

  .trek-fact-strip dd {
    font-size: 11px;
  }

  .trek-itinerary-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 8px;
  }

  .trek-itinerary-heading h3 {
    font-size: 22px;
  }

  .trek-day {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trek-card,
  .trek-expand span {
    transition: none;
  }
}
