/* Shared design layer: loaded after each page's inline styles so the site keeps
   one typography, spacing, and primary action system across all templates. */
:root {
  --teal: #18ace3;
  --teal-dark: #079bd2;
  --blue: #18ace3;
  --brand-primary: #18ace3;
  --brand-primary-hover: #079bd2;
  --brand-ink: #17211d;
  --brand-muted: #64727b;
  --brand-border: #e3eaf0;
  --brand-surface: #ffffff;
  --brand-soft: #f5fbfe;
  --brand-shadow: 0 12px 32px rgba(21, 60, 78, .09);
  --site-font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --site-heading-font: var(--font-lexend, Lexend, Inter, system-ui, sans-serif);
}

body.premium-site {
  color: var(--brand-ink);
  background: var(--brand-surface);
  font-family: var(--site-font) !important;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.premium-site :where(*):not(i):not([class^="fa"]):not([class*=" fa"]):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not(svg):not(svg *) {
  font-family: var(--site-font) !important;
}

body.premium-site :where(h1, h2, h3, h4) {
  color: #172b36;
  letter-spacing: -.025em;
  line-height: 1.2;
  font-family: var(--site-heading-font) !important;
}

body.premium-site :where(h1) {
  font-size: clamp(1.9rem, 3.2vw, 3rem) !important;
  font-weight: 800;
}

body.premium-site :where(h2) {
  font-size: clamp(1.5rem, 2.25vw, 2.25rem) !important;
  font-weight: 750;
}

/* Image hero headings need their existing high contrast over the photo. */
body.premium-site :where(.hero, .trips-hero, .package-hero, .page-hero) h1 {
  color: #fff !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .62);
}

body.premium-site :where(.hero) h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.9rem) !important;
}

body.premium-site :where(.obt-card) {
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  background: var(--brand-surface);
  box-shadow: var(--brand-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.premium-site :where(.obt-card:hover) {
  transform: translateY(-3px);
  border-color: rgba(24, 172, 227, .34);
  box-shadow: 0 18px 38px rgba(21, 60, 78, .14);
}

body.premium-site :where(.obt-card__img-wrap) {
  background: #edf8fc;
}

body.premium-site :where(.obt-card__img-wrap img) {
  width: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

body.premium-site :where(.obt-card:hover .obt-card__img-wrap img) {
  transform: scale(1.025);
}

body.premium-site :where(.obt-card__body) {
  padding: 16px;
}

body.premium-site :where(.obt-card__title) {
  display: -webkit-box !important;
  color: #123d50 !important;
  font-size: clamp(1rem, 1.15vw, 1.12rem) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

body.premium-site :where(.obt-card__call) {
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--brand-primary) !important;
  border-radius: 12px !important;
  color: var(--brand-primary) !important;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

body.premium-site :where(.obt-card__call:hover) {
  background: var(--brand-soft) !important;
  transform: translateY(-1px);
}

body.premium-site :where(.obt-card__btn) {
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--brand-primary) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.premium-site :where(.obt-card__btn:hover, .obt-card__btn:focus-visible) {
  background: var(--brand-primary-hover) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(24, 172, 227, .24);
  transform: translateY(-1px);
}

body.premium-site :where(.obt-card__info-item svg) {
  color: var(--brand-primary);
}

/* Homepage tour cards follow the compact image, details, and action rhythm
   shown in the TrekKaro reference while keeping Hiflier's sky-blue palette. */
body.premium-site #home .obt-card {
  border: 1px solid #dce3e7;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(24, 48, 60, .08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

body.premium-site #home .obt-card:hover,
body.premium-site #home .obt-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(24, 172, 227, .5);
  box-shadow: 0 18px 34px rgba(24, 88, 115, .16);
}

body.premium-site #home .obt-card__img-wrap {
  aspect-ratio: 1.36 / 1;
  flex-basis: auto;
}

body.premium-site #home .obt-card__img-wrap img {
  height: 100%;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

body.premium-site #home .obt-card:hover .obt-card__img-wrap img,
body.premium-site #home .obt-card:focus-within .obt-card__img-wrap img {
  transform: scale(1.055);
}

body.premium-site #home .obt-card__body {
  padding: 14px;
}

body.premium-site #home .obt-card__title {
  display: block !important;
  min-height: 0 !important;
  margin-bottom: 8px;
  font-size: clamp(17px, 1.25vw, 21px) !important;
  color: #171b1f !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body.premium-site #home .obt-card__actions {
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
}

body.premium-site #home .obt-card__call,
body.premium-site #home .obt-card__btn {
  min-height: 46px !important;
  border-radius: 8px !important;
}

body.premium-site #home .obt-card__call {
  flex-basis: clamp(50px, 4vw, 64px);
  width: clamp(50px, 4vw, 64px);
}

body.premium-site #home .obt-card__btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-size: clamp(14px, 1.15vw, 18px) !important;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

body.premium-site #home .obt-card__btn::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .24) 48%, transparent 76%);
  content: "";
  transform: translateX(-120%);
  transition: transform .5s ease;
}

body.premium-site #home .obt-card__btn:hover::before,
body.premium-site #home .obt-card__btn:focus-visible::before {
  transform: translateX(120%);
}

body.premium-site #home .obt-card__btn:hover,
body.premium-site #home .obt-card__btn:focus-visible {
  background: var(--brand-primary-hover) !important;
  box-shadow: 0 9px 20px rgba(24, 172, 227, .3);
  transform: translateY(-2px);
}

body.premium-site #home .upcoming-section {
  background: #f1f8f7;
}

body.premium-site #home .upcoming-section .section-title h2 {
  color: #172126;
  font-size: clamp(25px, 2vw, 32px) !important;
  letter-spacing: -.02em;
}

body.premium-site #home .obt-card__tag,
body.premium-site #home .obt-card__dur {
  z-index: 2;
  border: 1px solid rgba(20, 40, 48, .06);
  border-radius: 999px;
  background: #fff;
  color: #161b1e;
  box-shadow: 0 3px 10px rgba(20, 40, 48, .12);
}

body.premium-site #home .obt-card__tag {
  top: 11px;
  left: 11px;
  padding: 5px 13px;
  font-size: 13px;
  font-weight: 500;
}

body.premium-site #home .obt-card__dur {
  bottom: 10px;
  left: 12px;
  padding: 6px 13px;
  font-size: 13px;
}

body.premium-site #home .obt-card__info-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  margin-bottom: 10px;
}

body.premium-site #home .obt-card__info-left {
  flex: initial;
  min-width: 0;
  overflow: hidden;
  gap: 7px;
  padding-right: 0;
  font-size: 13px;
}

body.premium-site #home .obt-card__info-item span {
  display: block;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
  text-overflow: ellipsis;
}

body.premium-site #home .obt-card__info-right {
  flex: initial;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  justify-content: center;
  padding-left: 8px;
  box-sizing: border-box;
  border-left: 1px solid #aab2bc;
}

body.premium-site #home .obt-card__price-old {
  font-size: 11px;
}

body.premium-site #home .obt-card__price-new {
  max-width: 100%;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.15;
  white-space: nowrap;
  overflow-wrap: normal;
}

body.premium-site #home .obt-card__price-new em {
  font-size: 10px;
}

body.premium-site #home .obt-card__call svg {
  width: 24px;
  height: 24px;
}

body.premium-site #home .obt-card__btn::after {
  position: absolute;
  top: 50%;
  right: 15px;
  color: #fff;
  content: "›";
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  transform: translate(-5px, -50%);
  transition: opacity .22s ease, transform .22s ease;
}

body.premium-site #home .obt-card__btn:hover::after,
body.premium-site #home .obt-card__btn:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (prefers-reduced-motion: reduce) {
  body.premium-site #home .obt-card,
  body.premium-site #home .obt-card__img-wrap img,
  body.premium-site #home .obt-card__btn,
  body.premium-site #home .obt-card__btn::before,
  body.premium-site #home .obt-card__btn::after {
    transition-duration: .01ms !important;
  }
}

body.premium-site .package-detail-left h1 {
  font-size: clamp(16px, 2vw, 28px) !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  overflow-wrap: break-word;
  text-overflow: ellipsis !important;
}

@media (max-width: 767px) {
  body.premium-site .package-detail-left h1 {
    font-size: clamp(12px, 3.9vw, 16px) !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

body.premium-site .tour-detail-page :where(h1, h2, h3, h4) {
  font-family: var(--site-font) !important;
}

body.premium-site .tour-detail-page h2 {
  font-size: clamp(16px, 2vw, 28px) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

/* Tighten the tour intro and tab spacing without changing their behavior. */
body.premium-site .package-detail-body {
  padding-bottom: 56px !important;
}

body.premium-site .about-trip-box {
  margin-bottom: 24px !important;
  padding-bottom: 24px !important;
}

body.premium-site .detail-tab-strip {
  margin-bottom: 24px !important;
}

/* Give listing cards enough room for readable titles at laptop widths. */
@media (min-width: 1181px) {
  body.premium-site .trips-page-section .upcoming-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(20px, 2vw, 28px) !important;
  }
}

body.premium-site .mobile-booking-bar {
  display: none;
}

/* Keep homepage section transitions close enough to feel connected while
   preserving the existing card, carousel, and form layouts. */
body.premium-site #home > .promo-slider-section {
  padding-bottom: clamp(22px, 2.4vw, 34px) !important;
}

body.premium-site #home > .promo-slider-section .promo-slider {
  width: min(100%, 1200px);
  margin-inline: auto;
}

body.premium-site #home > .promo-slider-section .promo-track {
  aspect-ratio: 3.1 / 1;
}

body.premium-site #home .promo-slider-section .promo-slider {
  width: min(100%, 1200px);
  margin-inline: auto;
}

body.premium-site #home .promo-slider-section .promo-track {
  aspect-ratio: 3.1 / 1;
}

/* Gallery sliders sit directly on the section colour without a white panel or pagination. */
body.premium-site #home .promo-slider-section {
  background: transparent !important;
}

body.premium-site #home .promo-slider-section .slider-dots {
  display: none !important;
}

/* Keep the International Trips gallery photos unfiltered and free of the mobile white overlay. */
body.premium-site #home .promo-slider--international .promo-slide::after {
  background: transparent !important;
}

body.premium-site #home .promo-slider--international .promo-slide img {
  filter: none !important;
}

body.premium-site #home .hf-upcoming > .promo-slider-section {
  padding: clamp(24px, 3vw, 38px) 0 clamp(18px, 2vw, 28px) !important;
}

body.premium-site #home > .promo-slider-section .promo-slide::after {
  background: transparent !important;
}

body.premium-site #home > .promo-slider-section .promo-slide img {
  filter: brightness(1.08) contrast(1.04) saturate(1.1);
}

body.premium-site #home > .promo-slider-section .slider-dots {
  display: none !important;
}

body.premium-site #home > .promo-slider-section + .section {
  padding-top: clamp(24px, 2.8vw, 38px) !important;
}

body.premium-site #home > .section .destination-grid:not(.trek-grid) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}

body.premium-site #home > #upcoming,
body.premium-site #home > #upcoming-hiflier {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

body.premium-site #home > #upcoming-hiflier + .why-choose.section {
  padding-top: 24px !important;
}

body.premium-site #home > .why-choose.section {
  padding-bottom: 26px !important;
}

body.premium-site #home > .reviews-section.section {
  padding-top: 30px !important;
  padding-bottom: 34px !important;
}

body.premium-site #home > .reviews-section + .faq-section {
  padding-top: 30px !important;
  padding-bottom: 34px !important;
}

body.premium-site #home > .faq-section + .contact-section {
  padding-top: 50px !important;
}

/* This section has two active travel categories; give both columns the full
   desktop content width instead of leaving an unused third grid column. */
body.premium-site #categories .wide-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-inline: auto;
  gap: clamp(22px, 2vw, 28px);
}

body.premium-site #categories .section-title {
  width: 100%;
  margin-inline: auto;
}

body.premium-site #categories .wide-card {
  aspect-ratio: 1.51 / 1;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 50, 65, .12);
  transform: none;
}

body.premium-site #categories .wide-card img {
  border-radius: inherit;
}

body.premium-site #categories .wide-card::before,
body.premium-site #categories .wide-card::after {
  inset: 0;
  border: 2px solid rgba(24, 172, 227, .4);
  border-radius: 14px;
  transform: none;
}

body.premium-site #categories .wide-card:hover {
  transform: translateY(-3px);
}

body.premium-site #categories .wide-card:hover::before,
body.premium-site #categories .wide-card:hover::after {
  inset: 0;
  transform: none;
}

body.premium-site #trip-destinations .destination-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(16px, 1.8vw, 24px);
}

body.premium-site #trip-destinations .destination-card {
  min-height: 0 !important;
  aspect-ratio: .75 / 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(20, 50, 65, .12);
}

body.premium-site #trip-destinations .destination-card .image,
body.premium-site #trip-destinations .destination-card .image img {
  border-radius: inherit;
}

body.premium-site #trip-destinations .destination-card .image img {
  transition: transform .65s cubic-bezier(.2, .7, .2, 1), filter .65s ease;
  will-change: transform;
}

body.premium-site #trip-destinations .destination-card:hover .image img,
body.premium-site #trip-destinations .destination-card:focus-visible .image img,
body.premium-site #trip-destinations .destination-card.is-touch-active .image img {
  transform: scale(1.07);
  filter: saturate(1.08);
}

body.premium-site #trip-destinations .destination-card .content {
  min-height: 96px;
  padding: 17px 15px 14px;
  background: rgba(0, 0, 0, .58);
  color: #fff !important;
  transform: translateY(42px);
  transition: transform .38s ease, min-height .38s ease, background .38s ease;
}

body.premium-site #trip-destinations .destination-card h3 {
  color: #fff !important;
  font-size: clamp(18px, 1.5vw, 24px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}

body.premium-site #trip-destinations .destination-card .hidden-info,
body.premium-site #trip-destinations .destination-card .hidden-info p,
body.premium-site #trip-destinations .destination-card .hidden-info small {
  color: #fff !important;
}

body.premium-site #trip-destinations .destination-card .hidden-info {
  margin-top: 8px;
  opacity: 0;
  transform: translateY(9px);
  transition: opacity .28s ease, transform .28s ease;
}

body.premium-site #trip-destinations .destination-card:hover .content,
body.premium-site #trip-destinations .destination-card:focus-visible .content {
  min-height: 112px;
  background: rgba(0, 0, 0, .7);
  transform: translateY(0);
}

body.premium-site #trip-destinations .destination-card:hover .hidden-info,
body.premium-site #trip-destinations .destination-card:focus-visible .hidden-info {
  opacity: 1;
  transform: translateY(0);
}

body.premium-site :where(.callback-btn, .book-now, .date-card-book-btn, .download-itinerary, .touch-form button, .btn-primary) {
  border-color: var(--brand-primary) !important;
  background: var(--brand-primary) !important;
  color: #fff !important;
}

body.premium-site :where(.btn-enquiry) {
  min-height: 48px;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--brand-primary) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

body.premium-site :where(.btn-download-pdf) {
  min-height: 48px;
  border: 1.5px solid var(--brand-primary) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #087da9 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

body.premium-site :where(.callback-btn:hover, .book-now:hover, .date-card-book-btn:hover, .download-itinerary:hover, .touch-form button:hover, .btn-primary:hover) {
  background: var(--brand-primary-hover) !important;
  color: #fff !important;
}

body.premium-site :where(button, a, input, select, textarea) {
  -webkit-tap-highlight-color: transparent;
}

body.premium-site :where(input, select, textarea) {
  max-width: 100%;
}

body.premium-site :where(a, button):focus-visible,
body.premium-site :where(input, select, textarea):focus-visible {
  outline: 3px solid rgba(24, 172, 227, .45);
  outline-offset: 3px;
}

body.premium-site .topbar.is-scrolled :where(.call-btn, .main-nav > a, .nav-upcoming > button, .nav-category > button) {
  color: #ffffff !important;
  text-shadow: none !important;
}

body.premium-site .trips-hero h1 {
  color: #ffffff !important;
}

body.premium-site .cta-treasure .cta-box h2 {
  color: #ffffff !important;
}

/* Make the trip gallery's center image the clear focal point. */
body.premium-site .detail-carousel-section {
  min-height: 0;
  padding: 108px 0 48px;
}

body.premium-site .detail-gallery {
  width: min(1660px, calc(100vw - clamp(40px, 8vw, 120px)));
  min-width: 0;
  grid-template-columns: minmax(0, 17%) minmax(0, 1fr) minmax(0, 17%);
  gap: clamp(16px, 2vw, 32px);
}

body.premium-site .detail-gallery-card {
  height: clamp(380px, 40vw, 680px);
}

body.premium-site .detail-gallery-card.is-active {
  height: calc(clamp(380px, 40vw, 680px) - 52px);
  margin-top: 26px;
}

@media (max-width: 767px) {
  body.premium-site .detail-carousel-section {
    min-height: 0 !important;
    /* The fixed mobile header overlays the page, so reserve space for it. */
    padding: 84px 0 10px !important;
  }

  body.premium-site .detail-gallery {
    display: block;
    width: 100%;
    min-width: 0;
    height: clamp(140px, 38vw, 230px);
    margin: 0 auto;
    padding: 0;
  }

  body.premium-site .detail-gallery-card {
    position: absolute;
    top: 50%;
    display: none;
    height: clamp(120px, 40vw, 156px);
    overflow: hidden;
  }

  body.premium-site .detail-gallery-card.is-active {
    display: block;
    left: 50%;
    width: min(62vw, 260px);
    height: clamp(140px, 38vw, 230px);
    margin-top: 0;
    transform: translate(-50%, -50%);
    clip-path: polygon(0 0, 50% 2%, 100% 0, 100% 100%, 50% 98%, 0 100%);
    z-index: 3;
  }

  body.premium-site .detail-gallery-card.is-left {
    display: block;
    left: -24vw;
    right: auto;
    width: 38vw;
    transform: translateY(-50%) perspective(900px) rotateY(26deg);
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
    z-index: 2;
  }

  body.premium-site .detail-gallery-card.is-right {
    display: block;
    right: -24vw;
    left: auto;
    width: 38vw;
    transform: translateY(-50%) perspective(900px) rotateY(-26deg);
    clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 97%);
    z-index: 2;
  }

  body.premium-site .detail-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  body.premium-site .detail-gallery-arrow {
    top: 50%;
    width: 30px;
    height: 30px;
    font-size: 26px;
  }

  body.premium-site .detail-gallery-arrow.prev { left: 6px; }
  body.premium-site .detail-gallery-arrow.next { right: 6px; }
}

body.premium-site .stats-strip .stat :where(strong, b, small),
body.premium-site .footer h3 {
  color: #ffffff !important;
}

@media (max-width: 760px) {
  body.premium-site { font-size: 15px; }
  body.premium-site #home > .promo-slider-section {
    padding: 18px 16px 20px !important;
  }
  body.premium-site #home > .promo-slider-section + .section {
    padding-top: 22px !important;
  }
  body.premium-site #home > #upcoming,
  body.premium-site #home > #upcoming-hiflier {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }
  body.premium-site #home > #upcoming .upcoming-row,
  body.premium-site #home > #upcoming-hiflier .upcoming-row {
    grid-auto-columns: 65% !important;
  }
  body.premium-site #home > #upcoming-hiflier + .why-choose.section {
    padding-top: 20px !important;
  }
  body.premium-site #home > .section .destination-grid:not(.trek-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  body.premium-site #home > .section .destination-grid:not(.trek-grid) .destination-card {
    min-height: 240px;
  }
  body.premium-site #home > .section .destination-grid:not(.trek-grid) .destination-card h3 {
    font-size: clamp(16px, 4vw, 20px);
  }
  body.premium-site #home > .why-choose.section {
    padding-bottom: 20px !important;
  }
  body.premium-site #home > .reviews-section.section {
    padding-top: 22px !important;
    padding-bottom: 26px !important;
  }
  body.premium-site #home > .reviews-section + .faq-section {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }
  body.premium-site #home > .faq-section + .contact-section {
    padding-top: 34px !important;
  }
  body.premium-site :where(.obt-card) { border-radius: 16px; }
  body.premium-site :where(.obt-card__body) { padding: 14px; }
  body.premium-site :where(.obt-card__call, .obt-card__btn) { min-height: 46px !important; }
  body.premium-site .copyright {
    padding: 0 76px 18px 8px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
  }
  body.premium-site :where(.brand-logo-link) {
    min-width: 0 !important;
    padding: 5px 7px !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .16) !important;
  }
  body.premium-site :where(.topbar .call-btn, .topbar .search-box) {
    background: var(--brand-primary) !important;
  }
body.premium-site :where(.topbar .hamburger span) {
    background: var(--brand-primary) !important;
  }
}

/* Homepage upcoming trips: departure type and month filters. */
body.premium-site #home .hf-upcoming {
  padding: clamp(42px, 5vw, 70px) clamp(18px, 5.8vw, 112px) !important;
  background:
    radial-gradient(circle at 87% 8%, rgba(24, 172, 227, .14), transparent 24rem),
    linear-gradient(180deg, #f7fbfd 0%, #edf7fa 100%);
}

body.premium-site #home .hf-upcoming__head,
body.premium-site #home .hf-upcoming__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(100%, 1500px);
  margin-inline: auto;
}

body.premium-site #home .hf-upcoming__eyebrow {
  margin: 0 0 5px;
  color: #087ca9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.premium-site #home .hf-upcoming h2 {
  margin: 0;
  color: #142b37;
  font-size: clamp(28px, 3vw, 42px) !important;
  font-weight: 700;
  line-height: 1.08;
}

body.premium-site #home .hf-upcoming__type-tabs {
  display: inline-flex;
  padding: 5px;
  border: 1px solid rgba(7, 99, 139, .12);
  border-radius: 999px;
  background: rgba(218, 240, 249, .82);
  box-shadow: 0 10px 24px rgba(23, 57, 76, .12);
}

body.premium-site #home .hf-upcoming__type-tabs button,
body.premium-site #home .hf-upcoming__month-group button {
  border: 0;
  background: transparent;
  color: #274351;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.premium-site #home .hf-upcoming__type-tabs button {
  min-width: 118px;
  padding: 11px 19px;
  border-radius: 999px;
  font-size: 14px;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

body.premium-site #home .hf-upcoming__type-tabs button.is-active {
  background: #18ace3;
  color: #fff;
  box-shadow: 0 7px 15px rgba(6, 121, 171, .3);
}

body.premium-site #home .hf-upcoming__toolbar {
  margin-top: 30px;
  margin-bottom: 24px;
}

body.premium-site #home .hf-upcoming__month-scroll,
body.premium-site #home .hf-upcoming__month-group {
  min-width: 0;
}

body.premium-site #home .hf-upcoming__month-group {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 3px 2px 8px;
  scrollbar-width: none;
}

body.premium-site #home .hf-upcoming__month-group::-webkit-scrollbar { display: none; }

body.premium-site #home .hf-upcoming__month-group button {
  flex: 0 0 auto;
  padding: 9px 17px;
  border: 1px solid #bbced7;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  font-size: 13px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

body.premium-site #home .hf-upcoming__month-group button.is-active {
  border-color: #087cb2;
  background: #087cb2;
  color: #fff;
}

body.premium-site #home .hf-upcoming__all {
  flex: 0 0 auto;
  color: #076f9f;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

body.premium-site #home .hf-upcoming__all span { padding-left: 4px; font-size: 17px; }

body.premium-site #home .hf-upcoming__carousel {
  position: relative;
  width: min(100%, 1500px);
  margin-inline: auto;
}

body.premium-site #home .hf-upcoming__track {
  display: grid;
  grid-auto-columns: calc((100% - 72px) / 4);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  padding: 3px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

body.premium-site #home .hf-upcoming__track::-webkit-scrollbar { display: none; }

body.premium-site #home .hf-trip-card {
  position: relative;
  min-width: 0;
  height: 398px;
  overflow: hidden;
  border-radius: 20px;
  background: #102735;
  box-shadow: 0 13px 30px rgba(19, 49, 64, .16);
  scroll-snap-align: start;
  isolation: isolate;
}

body.premium-site #home .hf-trip-card[hidden] { display: none !important; }

body.premium-site #home .hf-trip-card__image,
body.premium-site #home .hf-trip-card__image img,
body.premium-site #home .hf-trip-card__shade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

body.premium-site #home .hf-trip-card__image img {
  object-fit: cover;
  transition: transform .45s ease;
}

body.premium-site #home .hf-trip-card:hover .hf-trip-card__image img { transform: scale(1.055); }

body.premium-site #home .hf-trip-card__shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 18, 25, .03) 15%, rgba(4, 14, 21, .24) 45%, rgba(3, 11, 17, .96) 100%);
}

body.premium-site #home .hf-trip-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: 19px;
  color: #fff;
}

body.premium-site #home .hf-trip-card__label {
  align-self: flex-start;
  max-width: 100%;
  overflow: hidden;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 99px;
  background: rgba(9, 31, 42, .45);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(5px);
}

body.premium-site #home .hf-trip-card h3 {
  margin: auto 0 8px;
  color: #fff;
  font-size: clamp(18px, 1.35vw, 22px) !important;
  font-weight: 700;
  line-height: 1.25;
}

body.premium-site #home .hf-trip-card h3 a,
body.premium-site #home .hf-trip-card__bottom a { color: inherit; text-decoration: none; }

body.premium-site #home .hf-trip-card__location {
  overflow: hidden;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.premium-site #home .hf-trip-card__meta {
  display: flex;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .45);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  font-size: 12px;
  font-weight: 700;
}

body.premium-site #home .hf-trip-card__meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.premium-site #home .hf-trip-card__meta span + span {
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, .42);
}

body.premium-site #home .hf-trip-card__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

body.premium-site #home .hf-trip-card__bottom del {
  display: block;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
}

body.premium-site #home .hf-trip-card__bottom strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

body.premium-site #home .hf-trip-card__bottom a {
  flex: 0 0 auto;
  color: #8ee7ff;
  font-size: 12px;
  font-weight: 800;
}

body.premium-site #home .hf-upcoming__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #087cb2;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(13, 83, 111, .25);
  transform: translateY(-58%);
}

body.premium-site #home .hf-upcoming__arrow--prev { left: -20px; }
body.premium-site #home .hf-upcoming__arrow--next { right: -20px; }

body.premium-site #home .hf-upcoming__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed #b2c7d1;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  color: #36505c;
  text-align: center;
}

@media (max-width: 1100px) {
  body.premium-site #home .hf-upcoming__track { grid-auto-columns: calc((100% - 24px) / 2); }
}

@media (max-width: 680px) {
  body.premium-site #home .hf-upcoming {
    padding: 34px 16px 38px !important;
  }
  body.premium-site #home .hf-upcoming__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  body.premium-site #home .hf-upcoming h2 { font-size: 29px !important; }
  body.premium-site #home .hf-upcoming__type-tabs { width: 100%; box-sizing: border-box; }
  body.premium-site #home .hf-upcoming__type-tabs button { flex: 1; min-width: 0; padding: 10px 12px; }
  body.premium-site #home .hf-upcoming__toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
    margin-bottom: 16px;
  }
  body.premium-site #home .hf-upcoming__month-scroll { width: calc(100% + 16px); }
  body.premium-site #home .hf-upcoming__month-group { padding-right: 16px; }
  body.premium-site #home .hf-upcoming__month-group button { padding: 8px 14px; }
  body.premium-site #home .hf-upcoming__all { padding-left: 2px; }
  body.premium-site #home .hf-upcoming__track {
    grid-auto-columns: minmax(270px, 82vw);
    gap: 14px;
    padding: 2px 1px 12px;
  }
  body.premium-site #home .hf-trip-card { height: 375px; border-radius: 17px; }
  body.premium-site #home .hf-trip-card__content { padding: 16px; }
  body.premium-site #home .hf-trip-card h3 { font-size: 19px !important; }
  body.premium-site #home .hf-upcoming__arrow { display: none; }
}

/* Keep the established Hiflier package card treatment in the separated
   Domestic and International upcoming-trip rows. */
body.premium-site #home .hf-upcoming.upcoming-section {
  padding-top: 28px !important;
  padding-bottom: 34px !important;
  background: #f1f8f7;
}

body.premium-site #home .hf-upcoming__group {
  margin-top: 34px;
}

body.premium-site #home .hf-upcoming__group[data-upcoming-group="domestic"] {
  margin-top: 0;
}

body.premium-site #home .hf-upcoming__group-title {
  margin-bottom: 8px;
}

body.premium-site #home .hf-upcoming__group-title h3 {
  margin: 0;
  color: #172126;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
}

body.premium-site #home .hf-upcoming__group .hf-upcoming__month-group {
  margin-bottom: 10px;
}

body.premium-site #home .hf-upcoming__group .show-all.outline {
  min-height: auto;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.2;
}

body.premium-site #home .hf-upcoming__group .show-all.outline span {
  width: 22px;
  height: 22px;
  margin-left: 5px;
  font-size: 18px;
}

/* Keep the destination card layout and its information panel, while showing
   the destination photograph at its original brightness. */
body.premium-site #trip-destinations .destination-card .image::after {
  background: transparent !important;
}

body.premium-site #home .hf-upcoming [data-upcoming-card][hidden] {
  display: none !important;
}

@media (max-width: 680px) {
  body.premium-site #home .hf-upcoming.upcoming-section {
    padding-top: 22px !important;
    padding-bottom: 28px !important;
  }
  body.premium-site #home .hf-upcoming__group { margin-top: 26px; }
  body.premium-site #home .hf-upcoming__group-title h3 { font-size: 22px; }
}


@media (max-width: 980px) {
  body.premium-site #categories .wide-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.premium-site #categories .wide-card {
    aspect-ratio: 1.5 / 1;
  }
}

@media (max-width: 760px) {
  body.premium-site #home > .promo-slider-section .promo-slide::after {
    display: none !important;
    background: none !important;
  }
  body.premium-site #trip-destinations .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
  }
  body.premium-site #trip-destinations .destination-card {
    aspect-ratio: .82 / 1;
  }
  body.premium-site #home > #trip-destinations .destination-card::before {
    background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, .32) 100%) !important;
  }
  body.premium-site #home > #trip-destinations .destination-card .image img {
    filter: none !important;
    transform: none !important;
  }
  body.premium-site #home > #trip-destinations .destination-card .content {
    min-height: 94px !important;
    padding: 9px 9px 8px !important;
    background: rgba(0, 0, 0, .52) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: translateY(calc(100% - 40px)) !important;
    transition: transform .34s ease, min-height .34s ease, background .34s ease !important;
  }
  body.premium-site #home > #trip-destinations .destination-card .hidden-info {
    display: flex !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    gap: 5px;
  }
  body.premium-site #home > #trip-destinations .destination-card h3 {
    font-size: clamp(13px, 3.8vw, 16px) !important;
  }
  body.premium-site #home > #trip-destinations .destination-card.is-touch-active .content {
    min-height: 104px !important;
    background: rgba(0, 0, 0, .62) !important;
    transform: translateY(0) !important;
  }
  body.premium-site #home > #trip-destinations .destination-card.is-touch-active .hidden-info {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  body.premium-site #home .obt-card__body {
    transition: transform .25s ease;
  }
  body.premium-site #home .obt-card:active .obt-card__body,
  body.premium-site #home .obt-card:focus-within .obt-card__body {
    transform: translateY(-12px);
  }
  body.premium-site #home .obt-card__btn:active {
    box-shadow: 0 8px 18px rgba(24, 172, 227, .32);
    transform: translateY(-3px) scale(1.015);
  }
  body.premium-site #home .obt-card__btn:active::before {
    transform: translateX(120%);
  }
body.premium-site #home > .promo-slider-section .promo-track {
  aspect-ratio: 1983 / 793;
}

}

@media (max-width: 760px) {
  body.premium-site #categories .wide-card {
    aspect-ratio: 1.5 / 1;
  }

  body.premium-site #categories .wide-cards[data-category-scroller] {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    grid-template-columns: none !important;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 1px 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  body.premium-site #categories .wide-cards[data-category-scroller]::-webkit-scrollbar {
    display: none;
  }

  body.premium-site #categories .wide-cards[data-category-scroller] .wide-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  body.premium-site .package-detail-body {
    padding-bottom: 104px !important;
  }

  body.premium-site .detail-carousel-section {
    min-height: 0 !important;
  }

  body.premium-site .mobile-booking-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--brand-border);
    background: #fff;
    box-shadow: 0 -8px 24px rgba(21, 60, 78, .12);
  }

  body.premium-site .mobile-booking-price {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.25;
  }

  body.premium-site .mobile-booking-price span {
    color: var(--brand-muted);
    font-size: 12px;
  }

  body.premium-site .mobile-booking-price strong {
    color: var(--brand-ink);
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
  }

  body.premium-site .mobile-booking-action {
    display: inline-flex;
    min-width: 148px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 12px;
    background: var(--brand-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
  }

  body.premium-site .whatsapp {
    bottom: 82px !important;
  }

  body.premium-site .package-detail-grid {
    gap: 20px !important;
  }

  body.premium-site .about-trip-box {
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
  }

  body.premium-site .detail-tab-strip {
    margin-bottom: 20px !important;
  }

  /* Keep the contact copy and form visually connected on narrow screens. */
  body.premium-site .contact-copy p {
    margin-bottom: 24px;
  }

  body.premium-site .footer-grid {
    row-gap: 22px;
  }
}

@media (max-width: 420px) {
  body.premium-site :where(h1) { font-size: clamp(1.65rem, 7vw, 1.95rem) !important; }
  body.premium-site :where(h2) { font-size: clamp(1.35rem, 5.8vw, 1.65rem) !important; }
  body.premium-site :where(.obt-card__info-row) { gap: 6px; }
  body.premium-site :where(.obt-card__info-left) { font-size: 12px; }
  body.premium-site :where(.obt-card__price-new) { font-size: 15px; }
  body.premium-site .mobile-booking-bar { padding-inline: 12px; }
  body.premium-site .mobile-booking-action { min-width: 132px; padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  body.premium-site *, body.premium-site *::before, body.premium-site *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
/* Transparent, high-contrast brand mark shared by the site header and footer. */
body.premium-site .brand-logo-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.premium-site .brand-logo-mark {
  position: relative;
  display: block;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  overflow: hidden;
}

body.premium-site .brand-logo-mark img {
  position: absolute;
  top: -6.5px;
  left: -3.5px;
  display: block;
  width: 190px;
  max-width: none;
  height: auto;
}

/* Keep the logo mark's original cyan consistent in the header and footer.
   A soft edge separates it from the cyan header without recoloring the mark. */
body.premium-site .brand-logo-mark img {
  filter: drop-shadow(0 0 1px rgba(255,255,255,.9))
          drop-shadow(0 0 2px rgba(0,54,75,.65));
}

/* The cyan logo mark blends into the solid cyan sticky header. Use a white
   version only after scrolling, without adding a logo background panel. */
body.premium-site .topbar.is-scrolled .brand-logo-mark img {
  filter: brightness(0) invert(1)
          drop-shadow(0 1px 2px rgba(0, 54, 75, .62));
}

/* Tour detail pages start with the solid cyan header before a scroll event can
   add is-scrolled. Use the same high-contrast mark from the first paint. */
body.premium-site.tour-detail-page .topbar .brand-logo-mark img,
body.premium-site.career-landing-page .topbar .brand-logo-mark img {
  filter: brightness(0) invert(1)
          drop-shadow(0 1px 2px rgba(0, 54, 75, .62));
}

body.premium-site .topbar.is-scrolled .brand-wordmark {
  color: #050505 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .34);
}

body.premium-site .brand-wordmark {
  display: block;
  color: #050505 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: .025em;
  line-height: .98;
  text-shadow: 0 1px 0 rgba(255,255,255,.72), 0 0 12px rgba(255,255,255,.35);
}

body.premium-site .footer-logo .brand-wordmark {
  text-shadow: 0 1px 1px rgba(255,255,255,.95), 0 0 17px rgba(255,255,255,.78);
}

@media (max-width: 980px) {
  body.premium-site .brand-logo-mark { flex-basis: 48px; width: 48px; height: 48px; }
  body.premium-site .brand-logo-mark img { top: -5.8px; left: -3px; width: 169px; }
  body.premium-site .brand-wordmark { font-size: 18px !important; }
}

@media (max-width: 420px) {
  body.premium-site .brand-logo-mark { flex-basis: 43px; width: 43px; height: 43px; }
  body.premium-site .brand-logo-mark img { top: -5.2px; left: -2.8px; width: 152px; }
  body.premium-site .brand-wordmark { font-size: 16px !important; }
}

/* Let visitors reach every link in the expanded navigation drawer. */
body.premium-site .main-nav:not(.is-open) > a.drawer-only {
  display: none !important;
}
body.premium-site .main-nav.is-open > a.drawer-only {
  display: flex !important;
}
body.premium-site .main-nav.is-open {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: 105px;
  padding-bottom: 120px;
}

/* Keep package detail duration/category chips tidy on narrow phones. */
@media (max-width: 767px) {
  body.premium-site.tour-detail-page .package-chip-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 18px;
  }
  body.premium-site.tour-detail-page .package-chip-row span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 38px;
    padding: 6px 7px;
    border-radius: 9px;
    font-size: clamp(9px, 2.8vw, 11px);
    line-height: 1.2;
    letter-spacing: -.015em;
    text-align: center;
    white-space: nowrap;
  }
  body.premium-site.tour-detail-page .package-chip-row span svg {
    display: block;
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
  }
}
