/* Taita Rocks Experiences — premium presentation layer over the Booking & PMS itinerary catalogue. */
.taita-experiences-page {
  --tr-exp-green: #0b3929;
  --tr-exp-green-deep: #06291e;
  --tr-exp-gold: #c69a43;
  --tr-exp-ivory: #fbf8f1;
  --tr-exp-ink: #17271f;
  background: var(--tr-exp-ivory);
  color: var(--tr-exp-ink);
}

.taita-experiences-page .trb-exp-wrap {
  width: min(100% - 40px, 1280px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 0 64px;
}

.taita-experiences-page .trb-exp-catalogue {
  padding-top: 0;
}

.taita-experiences-page .trb-exp-intro {
  position: relative;
  isolation: isolate;
  min-height: clamp(330px, 35vw, 470px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  margin: 0 calc(50% - 50vw) 34px;
  padding: clamp(48px, 7vw, 92px) clamp(22px, 8vw, 124px);
  border: 0;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(4, 31, 22, .91) 0%, rgba(5, 39, 28, .78) 43%, rgba(5, 39, 28, .12) 100%), var(--tr-exp-hero-image) !important;
  background-size: cover !important;
  background-position: center 48% !important;
  box-shadow: 0 18px 42px rgba(19, 37, 27, .16);
}

.taita-experiences-page .trb-exp-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0 auto;
  width: min(34vw, 430px);
  height: 100%;
  background: radial-gradient(ellipse at 70% 78%, rgba(210, 171, 92, .17), transparent 62%);
  pointer-events: none;
}

.taita-experiences-page .trb-exp-kicker {
  margin: 0 0 4px;
  color: #e9c16c;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.taita-experiences-page .trb-exp-intro h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.1vw, 76px);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.taita-experiences-page .trb-exp-intro > p:not(.trb-exp-kicker) {
  max-width: 690px;
  margin: 2px 0 4px;
  color: rgba(255,255,255,.93);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.58;
}

.taita-experiences-page .trb-exp-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.taita-experiences-page .trb-exp-intro-actions > span {
  color: rgba(255,255,255,.86);
  font-size: 12px;
  letter-spacing: .04em;
}

.taita-experiences-page .trb-exp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 23px;
  border: 1px solid #e4bd64;
  border-radius: 9px;
  background: linear-gradient(135deg, #f3d27b, #d8a943);
  color: #17271f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 9px 20px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.taita-experiences-page .trb-exp-button:hover,
.taita-experiences-page .trb-exp-button:focus-visible {
  color: #102a1e;
  transform: translateY(-2px);
  box-shadow: 0 13px 24px rgba(0,0,0,.2);
  filter: brightness(1.04);
}

.taita-experiences-page .trb-exp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 27px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(92, 91, 68, .15);
}

.taita-experiences-page .trb-exp-filters button {
  min-height: 39px;
  padding: 9px 16px;
  border: 1px solid rgba(22, 57, 40, .19);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: #355142;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.taita-experiences-page .trb-exp-filters button.is-active,
.taita-experiences-page .trb-exp-filters button:hover,
.taita-experiences-page .trb-exp-filters button:focus-visible {
  border-color: var(--tr-exp-green);
  background: var(--tr-exp-green);
  color: #fff;
}

.taita-experiences-page .trb-exp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.taita-experiences-page .trb-exp-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(88, 84, 63, .16);
  border-radius: 17px;
  background: #fffdf8;
  box-shadow: 0 7px 24px rgba(34, 48, 34, .055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.taita-experiences-page .trb-exp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(177, 135, 53, .45);
  box-shadow: 0 16px 34px rgba(34, 48, 34, .12);
}

.taita-experiences-page .trb-exp-card-image {
  position: relative;
  display: block;
  height: auto;
  aspect-ratio: 1.72 / 1;
  overflow: hidden;
  background: #d9dfd3;
}

.taita-experiences-page .trb-exp-card-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.taita-experiences-page .trb-exp-card:hover .trb-exp-card-image > img {
  transform: scale(1.045);
}

.taita-experiences-page .trb-exp-image-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.taita-experiences-page .trb-exp-image-fallback > span,
.taita-experiences-page .trb-exp-image-fallback > small {
  display: none !important;
}

.taita-experiences-page .trb-exp-card[data-category="nature-hiking"] .trb-exp-image-fallback {
  background-image: linear-gradient(180deg, rgba(4,31,22,.02), rgba(4,31,22,.12)), url("../images/experiences/taita-highlands.webp") !important;
}

.taita-experiences-page .trb-exp-card[data-category="wildlife-heritage"] .trb-exp-image-fallback {
  background-image: linear-gradient(180deg, rgba(4,31,22,.03), rgba(4,31,22,.15)), url("../images/experiences/taita-highlands.webp") !important;
}

.taita-experiences-page .trb-exp-card[data-category="wildlife-safari"] .trb-exp-image-fallback {
  background-image: linear-gradient(180deg, rgba(4,31,22,.02), rgba(4,31,22,.1)), url("../images/experiences/tsavo-elephants.webp") !important;
}

.taita-experiences-page .trb-exp-card[data-category="lakes-birdwatching"] .trb-exp-image-fallback {
  background-image: linear-gradient(180deg, rgba(4,31,22,.02), rgba(4,31,22,.13)), url("../images/experiences/lakes-and-birdlife.webp") !important;
}

.taita-experiences-page .trb-exp-card[data-category="culture-community"] .trb-exp-image-fallback {
  background-image: linear-gradient(180deg, rgba(4,31,22,.03), rgba(4,31,22,.18)), url("../images/experiences/taita-culture.webp") !important;
}

.taita-experiences-page .trb-exp-card .trb-exp-duration {
  top: 14px;
  right: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: rgba(7, 42, 29, .84);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.taita-experiences-page .trb-exp-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 19px;
}

.taita-experiences-page .trb-exp-card-category {
  margin: 0 0 8px;
  color: #9b7023;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.taita-experiences-page .trb-exp-card h2 {
  margin: 0 0 9px;
  color: #103c2b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.13;
}

.taita-experiences-page .trb-exp-card h2 a {
  color: inherit;
  text-decoration: none;
}

.taita-experiences-page .trb-exp-card h2 a:hover {
  color: #9b7023;
}

.taita-experiences-page .trb-exp-card-body > p:not(.trb-exp-card-category) {
  margin: 0 0 15px;
  color: #59665e;
  font-size: 13px;
  line-height: 1.62;
}

.taita-experiences-page .trb-exp-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: auto;
  padding: 12px 0 13px;
  border-top: 1px solid rgba(90, 86, 64, .13);
  color: #637168;
  font-size: 11px;
  line-height: 1.4;
}

.taita-experiences-page .trb-exp-card-meta strong {
  color: #8e651f;
  font-size: 12px;
}

.taita-experiences-page .trb-exp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--tr-exp-green);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.taita-experiences-page .trb-exp-text-link span {
  color: #b28434;
  transition: transform .2s ease;
}

.taita-experiences-page .trb-exp-text-link:hover span {
  transform: translateX(4px);
}

.taita-experiences-page .trb-exp-card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.taita-experiences-page .trb-exp-bottom-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 23px 28px;
  border: 1px solid rgba(220, 183, 104, .28);
  border-radius: 15px;
  background: linear-gradient(105deg, #082d21, #104b35);
  color: rgba(255,255,255,.9);
  box-shadow: 0 12px 28px rgba(7, 49, 34, .13);
}

.taita-experiences-page .trb-exp-bottom-note strong {
  flex: 0 0 auto;
  color: #f1d18a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
}

.taita-experiences-page .trb-exp-bottom-note span {
  font-size: 13px;
  line-height: 1.55;
}

.taita-experiences-page .trb-exp-detail {
  padding-top: 32px;
}

.taita-experiences-page .trb-exp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: #315641;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.taita-experiences-page .trb-exp-detail-hero {
  overflow: hidden;
  border: 1px solid rgba(88, 84, 63, .15);
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 12px 34px rgba(34, 48, 34, .08);
}

.taita-experiences-page .trb-exp-detail-image {
  min-height: 330px;
  background: #d8ded2;
}

.taita-experiences-page .trb-exp-detail-image > img,
.taita-experiences-page .trb-exp-detail-image .trb-exp-image-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  background-image: linear-gradient(180deg, rgba(4,31,22,.02), rgba(4,31,22,.18)), url("../images/experiences/taita-hills-hero.webp") !important;
  background-size: cover !important;
  background-position: center !important;
}

.taita-experiences-page .trb-exp-detail-copy {
  padding: clamp(24px, 4vw, 48px);
  background: #fffdf8;
}

.taita-experiences-page .trb-exp-detail-copy h1 {
  color: #103c2b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
}

.taita-experiences-page .trb-exp-lead {
  color: #58665c;
  font-size: 15px;
  line-height: 1.7;
}

.taita-experiences-page .trb-exp-facts > span,
.taita-experiences-page .trb-exp-price-note {
  border-color: rgba(90, 86, 64, .15);
  background: #f7f2e8;
}

.taita-experiences-page .trb-exp-facts small {
  color: #9b7023;
  letter-spacing: .12em;
}

.taita-experiences-page .trb-exp-price-note {
  color: #103c2b;
  font-weight: 800;
}

.taita-experiences-page .trb-exp-journey-overview,
.taita-experiences-page .trb-exp-section,
.taita-experiences-page .trb-exp-important,
.taita-experiences-page .trb-exp-request {
  border-color: rgba(90, 86, 64, .15);
  border-radius: 16px;
  background: #fffdf8;
}

.taita-experiences-page .trb-exp-overview-kicker,
.taita-experiences-page .trb-exp-section .trb-exp-kicker {
  color: #9b7023;
}

.taita-experiences-page .trb-exp-section h2,
.taita-experiences-page .trb-exp-request h2 {
  color: #103c2b;
  font-family: Georgia, "Times New Roman", serif;
}

.taita-experiences-page .trb-exp-day-index {
  background: #0d402e;
  color: #f2d38f;
}

.taita-experiences-page .trb-exp-stop-card {
  border-color: rgba(90, 86, 64, .15);
  border-radius: 13px;
  background: #fffdf8;
}

.taita-experiences-page .trb-exp-tool {
  border-color: rgba(13, 64, 46, .25);
  border-radius: 999px;
  color: #0d402e;
}

.taita-experiences-page .trb-exp-form {
  border-radius: 18px;
  background: #f7f2e8;
}

.taita-experiences-page .trb-exp-form input,
.taita-experiences-page .trb-exp-form select,
.taita-experiences-page .trb-exp-form textarea {
  min-height: 46px;
  border: 1px solid rgba(79, 93, 79, .22);
  border-radius: 9px;
  background: #fff;
}

.taita-experiences-page .trb-exp-form textarea {
  min-height: 120px;
}

.taita-experiences-page .trb-exp-notice {
  border: 1px solid rgba(90, 86, 64, .15);
  border-radius: 14px;
  background: #fffdf8;
  color: #355142;
}

@media (min-width: 980px) {
  .taita-experiences-page .trb-exp-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }
  .taita-experiences-page .trb-exp-detail-image,
  .taita-experiences-page .trb-exp-detail-image > img,
  .taita-experiences-page .trb-exp-detail-image .trb-exp-image-fallback {
    min-height: 100%;
    height: 100%;
  }
}

@media (max-width: 979px) {
  .taita-experiences-page .trb-exp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .taita-experiences-page .trb-exp-card:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }
  .taita-experiences-page .trb-exp-intro {
    min-height: 350px;
    margin-bottom: 26px;
  }
}

@media (max-width: 640px) {
  .taita-experiences-page .trb-exp-wrap {
    width: min(100% - 28px, 1280px);
    padding: 18px 0 42px;
  }
  .taita-experiences-page .trb-exp-catalogue {
    padding-top: 0;
  }
  .taita-experiences-page .trb-exp-intro {
    min-height: 0;
    margin: 0 calc(50% - 50vw) 22px;
    padding: 54px 24px 38px;
    border-radius: 0 0 18px 18px;
    background-position: 58% center !important;
  }
  .taita-experiences-page .trb-exp-intro h1 {
    max-width: 450px;
    font-size: clamp(39px, 11vw, 54px);
  }
  .taita-experiences-page .trb-exp-intro > p:not(.trb-exp-kicker) {
    max-width: 450px;
    font-size: 14px;
    line-height: 1.55;
  }
  .taita-experiences-page .trb-exp-intro-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
  }
  .taita-experiences-page .trb-exp-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -14px;
    padding: 0 14px 15px 0;
    scrollbar-width: none;
  }
  .taita-experiences-page .trb-exp-filters::-webkit-scrollbar {
    display: none;
  }
  .taita-experiences-page .trb-exp-filters button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .taita-experiences-page .trb-exp-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .taita-experiences-page .trb-exp-card-image {
    aspect-ratio: 1.72 / 1;
  }
  .taita-experiences-page .trb-exp-card-body {
    padding: 17px 17px 18px;
  }
  .taita-experiences-page .trb-exp-card h2 {
    font-size: 24px;
  }
  .taita-experiences-page .trb-exp-bottom-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-top: 23px;
    padding: 21px;
  }
  .taita-experiences-page .trb-exp-bottom-note strong {
    font-size: 20px;
  }
  .taita-experiences-page .trb-exp-detail-image,
  .taita-experiences-page .trb-exp-detail-image > img,
  .taita-experiences-page .trb-exp-detail-image .trb-exp-image-fallback {
    min-height: 235px;
    max-height: 300px;
  }
  .taita-experiences-page .trb-exp-detail-copy {
    padding: 22px 18px;
  }
  .taita-experiences-page .trb-exp-journey-overview {
    padding: 18px;
  }
  .taita-experiences-page .trb-exp-detail-layout {
    display: block;
  }
  .taita-experiences-page .trb-exp-tools {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .taita-experiences-page *,
  .taita-experiences-page *::before,
  .taita-experiences-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
