:root {
  --tour-ink: #173126;
  --tour-muted: #607066;
  --tour-green: #16803c;
  --tour-light: #f5f9f5;
}

.tour-detail {
  background: var(--tour-light);
  color: var(--tour-ink);
  margin-top: 0;
  padding-bottom: 4rem;
}

.tour-detail__hero {
  background: #10251b;
  min-height: 510px;
  overflow: hidden;
  position: relative;
}

.tour-detail__hero-image,
.tour-detail__hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.tour-detail__hero-image {
  object-fit: cover;
}

.tour-detail__hero-overlay {
  background: linear-gradient(90deg, rgba(8, 27, 17, 0.88) 4%, rgba(8, 27, 17, 0.53) 55%, rgba(8, 27, 17, 0.2));
}

.tour-detail__hero-content {
  color: #fff;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 510px;
  padding: 9rem 2rem 3.5rem;
  position: relative;
}

.tour-detail__back {
  color: #fff;
  display: inline-block;
  font-size: 0.9rem;
  margin-bottom: 3rem;
  text-decoration: none;
}

.tour-detail__back:hover { color: #c8f2d2; }

.tour-detail__eyebrow,
.tour-detail__label {
  color: var(--tour-green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.tour-detail__hero .tour-detail__eyebrow { color: #b9efc6; }

.tour-detail h1,
.tour-detail h2,
.tour-detail p { font-family: inherit; }

.tour-detail h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  margin: 0;
  max-width: 820px;
}

.tour-detail__subtitle {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  margin: 1rem 0 1.5rem;
  max-width: 680px;
  opacity: 0.95;
}

.tour-detail__quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tour-detail__quick-facts span {
  align-items: center;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.9rem;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
}

.tour-detail__quick-facts img,
.tour-detail__booking-detail img {
  filter: brightness(0) invert(1);
  height: 17px;
  width: 17px;
}

.tour-detail__layout {
  display: grid;
  gap: 3.5rem;
  grid-template-columns: minmax(0, 1fr) 330px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 4.5rem 2rem 0;
}

.tour-detail__content { min-width: 0; }

.tour-detail__section {
  border-bottom: 1px solid #dce7df;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
}

.tour-detail__section h2,
.tour-detail__booking-card h2 {
  color: var(--tour-ink);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin: 0 0 1rem;
}

.tour-detail__description {
  color: #405248;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

.tour-detail__gallery {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tour-detail__gallery img {
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  object-fit: cover;
  width: 100%;
}

.tour-detail__gallery img:first-child { grid-column: span 2; }

.tour-detail__list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tour-detail__list li {
  color: #405248;
  padding-left: 1.8rem;
  position: relative;
}

.tour-detail__list li::before {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 0.75rem;
  font-weight: 700;
  height: 1.1rem;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0.15rem;
  width: 1.1rem;
}

.tour-detail__list--included li::before,
.tour-detail__list--bring li::before { background: var(--tour-green); content: '✓'; }
.tour-detail__list--excluded li::before { background: #9e342b; content: '–'; }

.tour-detail__notes {
  background: #e4f4e8;
  border-left: 4px solid var(--tour-green);
  border-radius: 0 0.65rem 0.65rem 0;
  color: #2f4c39;
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.35rem;
}

.tour-detail__notes p { margin: 0.45rem 0 0; }
.tour-detail__custom-content { margin-bottom: 2rem; }

.tour-detail__booking { align-self: start; position: sticky; top: 1.5rem; }

.tour-detail__booking-card {
  background: #fff;
  border: 1px solid #dce7df;
  border-radius: 1rem;
  box-shadow: 0 20px 45px rgba(23, 49, 38, 0.1);
  padding: 1.6rem;
}

.tour-detail__price { margin: 1.35rem 0; }
.tour-detail__price span,
.tour-detail__price small { color: var(--tour-muted); display: block; font-size: 0.82rem; }
.tour-detail__price strong { color: var(--tour-ink); font-size: 2.4rem; line-height: 1.1; }

.tour-detail__booking-detail {
  align-items: center;
  color: #42584a;
  display: flex;
  font-size: 0.92rem;
  gap: 0.55rem;
  margin: 0.7rem 0;
}

.tour-detail__booking-detail img { filter: none; opacity: 0.72; }

.tour-detail__book {
  background: var(--tour-green);
  border-radius: 0.5rem;
  color: #fff;
  display: block;
  font-weight: 800;
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tour-detail__book:hover { background: #0c6530; color: #fff; text-decoration: none; transform: translateY(-1px); }
.tour-detail__booking-note { color: var(--tour-muted); font-size: 0.78rem; line-height: 1.45; margin: 0.9rem 0 0; text-align: center; }

@media (max-width: 820px) {
  .tour-detail__hero, .tour-detail__hero-content { min-height: 445px; }
  .tour-detail__hero-content { padding-top: 7.5rem; }
  .tour-detail__layout { grid-template-columns: 1fr; padding-top: 3rem; }
  .tour-detail__booking { position: static; }
}

@media (max-width: 560px) {
  .tour-detail__hero, .tour-detail__hero-content { min-height: 430px; }
  .tour-detail__hero-content, .tour-detail__layout { padding-left: 1.15rem; padding-right: 1.15rem; }
  .tour-detail__back { margin-bottom: 2rem; }
  .tour-detail__gallery { grid-template-columns: 1fr; }
  .tour-detail__gallery img:first-child { grid-column: auto; }
}
