@font-face {
  font-family: "EAJ Inter";
  src: url("fonts/inter-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EAJ Inter";
  src: url("fonts/inter-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: "EAJ Playfair";
  src: url("fonts/playfair-display-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --ink: #181817;
  --muted: #67645f;
  --green: #173f2d;
  --green2: #245c40;
  --amber: #d77908;
  --clay: #a84d12;
  --ivory: #fcfaf5;
  --paper: #fff;
  --line: #dedbd4;
  --sand: #f6efe3;
  --soft: #faf7f0;
  --shadow: 0 18px 44px rgba(25, 24, 21, .1);
}

html {
  background: #fff;
}

body {
  background: #fff !important;
  color: var(--ink) !important;
  font-family: "EAJ Inter", Inter, Arial, sans-serif !important;
  font-weight: 400;
  line-height: 1.66;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.intro h1,
.intro-content-title,
.filters h2,
.panel h2,
.results-top h2,
.faq h2,
.tour-card h3,
.home-panel-title h2,
.home-discovery-card .home-card-title,
.mega-title,
.country-section-head h2,
.country-rich-section h2,
.country-safari-intro h2 {
  color: #191815;
  font-family: "EAJ Playfair", "Playfair Display", Georgia, serif !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

p,
.intro-copy,
.summary,
.panel,
.section-body,
.why,
.empty,
.home-panel-title p {
  color: var(--muted);
}

strong,
b,
.nav-links,
.brand,
.btn,
.btn-primary,
.btn-secondary,
.nav-cta,
.chip,
.tag,
.meta-label {
  font-weight: 600 !important;
}

.wrap {
  width: min(1240px, calc(100% - 40px));
}

.site-head,
.site-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 9px 0 0;
  pointer-events: none;
}

.site-head .nav,
.site-header .nav,
.site-header .header-inner {
  width: min(1240px, calc(100% - 30px));
  min-height: 64px;
  margin: 0 auto;
  padding: 5px 10px 5px 16px;
  border: 1px solid rgba(222, 219, 212, .92);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 34px rgba(25, 24, 21, .1);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.site-head.is-scrolled,
.site-header.is-scrolled {
  padding-top: 7px;
  background: transparent !important;
  border: 0 !important;
}

.site-head.is-scrolled .nav,
.site-header.is-scrolled .nav,
.site-header.is-scrolled .header-inner {
  min-height: 60px;
}

.nav-links {
  color: #2e2d29 !important;
  min-width: 0;
  gap: 14px;
  font-size: 13px;
}

.site-head .brand,
.site-header .brand {
  flex: 0 1 auto;
}

.nav-links > a,
.nav-item > a {
  transition: color .18s ease;
}

.nav-links > a:hover,
.nav-item > a:hover {
  color: var(--amber) !important;
}

.nav-cta,
.btn-primary,
.search-actions .btn-primary {
  border: 1px solid #c56d06 !important;
  border-radius: 999px !important;
  background: #d77908 !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(215, 121, 8, .22) !important;
}

.nav-cta:hover,
.btn-primary:hover {
  background: #bd6500 !important;
}

.btn-secondary {
  border-color: #292824 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #24231f !important;
}

.mega-menu {
  border-color: var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 22px 52px rgba(25, 24, 21, .15) !important;
}

#dynamicHero .intro {
  align-self: center;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

#dynamicHero .intro:before {
  content: none !important;
}

#dynamicHero .intro h1 {
  max-width: none;
  color: #fff !important;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.02;
  text-wrap: pretty;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, .82),
    0 6px 24px rgba(0, 0, 0, .68);
}

#dynamicHero .crumb,
#dynamicHero .crumb a {
  color: #fff !important;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, .86),
    0 4px 14px rgba(0, 0, 0, .72);
}

#dynamicHero .intro-copy,
#dynamicHero .intro-copy p {
  color: #34483b !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .95),
    0 0 14px rgba(255, 255, 255, .9);
}

#dynamicHero .intro-content-title {
  color: #173a29 !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .9),
    0 0 14px rgba(255, 255, 255, .84);
}

#dynamicHero .intro-copy {
  max-width: 720px;
}

#dynamicHero .intent-chips a,
#dynamicHero .intent-chips span {
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .88);
  color: #24231f;
  backdrop-filter: blur(12px);
}

#dynamicHero .landing-photo {
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 22px 56px rgba(0, 0, 0, .22);
}

#dynamicHero .photo-caption {
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .91);
}

.trust {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

#dynamicHero + .trust {
  position: relative;
  z-index: 3;
  margin-top: -140px;
  padding-top: 158px;
  border-top: 0 !important;
  background: linear-gradient(
    180deg,
    rgba(251, 247, 237, 0) 0%,
    rgba(251, 247, 237, .28) 24%,
    rgba(255, 253, 248, .76) 58%,
    #fff 100%
  ) !important;
}

#dynamicHero + .trust .trust-grid {
  position: relative;
  z-index: 1;
}

.trust-grid {
  display: flex !important;
  gap: 0 !important;
  overflow-x: auto;
  scrollbar-width: none;
}

.trust-grid::-webkit-scrollbar {
  display: none;
}

.trust-card {
  flex: 1 0 215px;
  border: 0 !important;
  border-right: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.trust-card:last-child {
  border-right: 0 !important;
}

.trust-title {
  color: #24231f !important;
}

.main {
  background: #fff;
}

.panel,
.search-panel,
.filters,
.country-safari-row,
.country-highlight-group {
  border-color: var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(25, 24, 21, .06) !important;
}

.tour-card,
.home-discovery-card,
.country-destination-card,
.country-type-link,
.why,
.guide-note,
.shortcut-box {
  border-color: var(--line) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(25, 24, 21, .07) !important;
}

.tour-card:hover,
.home-discovery-card:hover,
.country-destination-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(25, 24, 21, .12) !important;
}

.guide-note,
.guide-note h2,
.guide-note p {
  color: #fff !important;
}

.destination-card .home-card-title {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .86), 0 0 18px rgba(0, 0, 0, .48) !important;
}

.destination-card small {
  color: rgba(255, 255, 255, .96) !important;
  text-shadow: 0 2px 7px rgba(0, 0, 0, .72) !important;
}

.static-safari-figures {
  display: none;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

@media (min-width: 1360px) {
  .static-safari-figures {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    --safari-figure-width: clamp(56px, calc((100vw - 1220px) / 2 - 12px), 180px);
  }

  .static-safari-figure {
    position: absolute;
    top: 50%;
    width: var(--safari-figure-width);
    height: min(52vh, 390px);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    filter: drop-shadow(0 16px 16px rgba(26, 35, 25, .14));
    opacity: .94;
    transform: translateY(-50%);
  }

  .static-safari-figure--left {
    left: max(8px, calc(50% - 610px - 12px - var(--safari-figure-width)));
    background-image: url("images/safari-explorer-binoculars.png");
  }

  .static-safari-figure--right {
    right: max(8px, calc(50% - 610px - 12px - var(--safari-figure-width)));
    background-image: url("images/safari-explorer-map.png");
  }

  .static-safari-figure--photographer {
    top: auto;
    bottom: 4vh;
    left: max(8px, calc(50% - 610px - 12px - var(--safari-figure-width)));
    width: calc(var(--safari-figure-width) * .9);
    height: min(32vh, 250px);
    background-image: url("images/safari-explorer-photographer.png");
    transform: none;
  }
}

.tour-img,
.tour-img img,
.home-card-bg,
.country-destination-card img {
  border-radius: 0 !important;
}

.tag,
.chip,
.card-count,
.active-chips a,
.shortcut-links a,
.intent-chips a,
.intent-chips span {
  border-radius: 999px !important;
}

.home-panel-title {
  align-items: flex-start;
}

.home-panel-title h2,
.results-top h2,
.country-section-head h2 {
  font-size: clamp(32px, 4.1vw, 52px) !important;
  line-height: 1.06 !important;
  text-wrap: balance;
}

.home-panel-title p {
  max-width: 600px;
  font-size: 16px;
  line-height: 1.65;
}

.destination-showcase,
.activity-panel,
.triptype-panel {
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #fff, #fffaf1) !important;
  box-shadow: none !important;
}

.activity-panel:before {
  height: 3px !important;
  background: #d77908 !important;
}

.activity-card:first-child {
  border-radius: 8px !important;
  background: #1d3227 !important;
}

.triptype-card:before {
  border-radius: 50% !important;
  background: #d77908 !important;
}

.field input,
.field select,
.sort select,
.toolbar-search input,
.search-pill,
.filter-more {
  border-color: #cbc7bf !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.faq details,
.country-faq details {
  border-color: var(--line) !important;
}

.faq summary,
.country-faq summary {
  color: #24231f !important;
}

.foot,
footer {
  border-color: var(--line) !important;
  background: #191a18 !important;
  color: #e9e6df !important;
}

@media (max-width: 1040px) {
  .site-head,
  .site-header {
    padding-top: 7px;
  }

  .site-head .nav,
  .site-header .nav,
  .site-header .header-inner {
    width: calc(100% - 20px);
    min-height: 60px;
    padding-inline: 12px;
  }

  .site-head .nav-links,
  .site-header .nav-links {
    border-left: 1px solid var(--line) !important;
    border-radius: 8px 0 0 8px !important;
    background: #fff !important;
  }

  #dynamicHero .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 36%) !important;
    align-items: end;
  }

  #dynamicHero .intro {
    padding: 24px 10px 30px !important;
  }

  #dynamicHero .landing-photo {
    display: block;
    min-height: 340px;
  }

}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 22px, 760px);
  }

  #dynamicHero + .trust {
    margin-top: -96px;
    padding-top: 112px;
  }

  #dynamicHero .hero-shell {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  #dynamicHero .intro {
    padding: 24px 4px 10px !important;
  }

  #dynamicHero .intro h1 {
    font-size: clamp(38px, 11vw, 50px) !important;
  }

  #dynamicHero .landing-photo {
    min-height: 310px !important;
    margin-inline: 0;
  }

  .trust {
    padding-bottom: 16px;
  }

  .trust-grid {
    scroll-snap-type: x mandatory;
  }

  .trust-card {
    flex-basis: 82vw;
    scroll-snap-align: start;
  }

  .panel,
  .search-panel,
  .filters,
  .country-safari-row,
  .country-highlight-group {
    border-radius: 8px !important;
  }

  .tour-card,
  .home-discovery-card,
  .activity-card,
  .triptype-card,
  .destination-card,
  .country-destination-card {
    border-radius: 8px !important;
  }

  .home-panel-title h2,
  .results-top h2,
  .country-section-head h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 430px) {
  #dynamicHero .landing-photo {
    min-height: 270px !important;
  }

  .trust-card {
    flex-basis: 88vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tour-card,
  .home-discovery-card,
  .country-destination-card {
    transition: none !important;
  }
}

/* Keep the shared public navigation balanced and readable at desktop widths. */
.site-head .nav,
.site-header .nav,
.site-header .header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.25vw, 20px);
  background: rgba(255, 255, 255, .97) !important;
  border-color: rgba(202, 205, 196, .94) !important;
}

.site-head .brand,
.site-header .brand {
  flex: 0 0 auto;
  max-width: 210px;
  color: #20251f !important;
  line-height: 1.15;
  overflow: hidden;
}

.site-head .brand.has-logo .brand-mark img,
.site-header .brand.has-logo .brand-mark img {
  width: auto !important;
  height: min(var(--logo-height, 54px), 54px) !important;
  max-width: 205px !important;
  object-fit: contain;
}

.site-head .nav-links,
.site-header .nav-links {
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1vw, 16px) !important;
  color: #292d28 !important;
  font-size: 14px !important;
  line-height: 1.25;
}

.site-head .nav-links > a,
.site-header .nav-links > a,
.site-head .nav-item > a,
.site-header .nav-item > a {
  color: #292d28 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none;
}

.site-head .nav-links > a:hover,
.site-header .nav-links > a:hover,
.site-head .nav-item > a:hover,
.site-header .nav-item > a:hover {
  color: #9d5100 !important;
}

.site-head .nav-cta,
.site-header .nav-cta {
  flex: 0 0 auto;
  min-width: 138px;
  padding: 12px 18px !important;
  color: #fff !important;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* Captions remain stored for admin/SEO, but are not overlaid below public images. */
body figure > figcaption,
body figure.rtf-image > figcaption {
  display: none !important;
}

/* Managed fleet and certification showcase rendered immediately above the footer. */
.footer-showcase {
  position: relative;
  isolation: isolate;
  padding: clamp(34px, 5vw, 64px) 0 30px;
  background:
    linear-gradient(180deg, rgba(248,243,233,.36), rgba(248,243,233,.92)),
    #fffdf8;
  border-top: 1px solid rgba(203,193,177,.72);
  color: #29251f;
}

.footer-showcase-wrap {
  width: min(100% - 32px, 1320px);
}

.footer-showcase-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.footer-showcase-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #a35d12;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-showcase-heading h2 {
  margin: 0;
  color: #1e251e !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
}

.footer-showcase-heading p {
  max-width: 720px;
  margin: 10px 0 0;
  color: #706960 !important;
  font-size: 16px;
  line-height: 1.55;
}

.footer-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .82fr) minmax(0, .82fr);
  gap: 14px;
  align-items: stretch;
}

.footer-showcase-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dfd5c7;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 28px rgba(55,42,24,.07);
}

.footer-showcase-card-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.footer-showcase-card-heading h3,
.footer-certification-title {
  margin: 0;
  color: #24221e !important;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.2;
}

.footer-showcase-index {
  color: #ad681b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.footer-fleet-masonry {
  columns: 3 84px;
  column-gap: 9px;
}

.footer-fleet-item {
  break-inside: avoid;
  margin: 0 0 9px;
  overflow: hidden;
  border-radius: 9px;
  background: #e9e4dc;
  box-shadow: 0 4px 12px rgba(33,28,20,.12);
}

.footer-fleet-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 80px;
  object-fit: cover;
  transition: transform .25s ease;
}

.footer-fleet-item:nth-child(4n + 1) { aspect-ratio: 1 / 1.12; }
.footer-fleet-item:nth-child(4n + 2) { aspect-ratio: 1.18 / 1; }
.footer-fleet-item:nth-child(4n + 3) { aspect-ratio: 1 / .88; }
.footer-fleet-item:nth-child(4n + 4) { aspect-ratio: 1.1 / 1.28; }
.footer-fleet-item:hover img { transform: scale(1.04); }

.footer-certification-mark {
  display: grid;
  min-height: 130px;
  place-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #e7ded1;
  border-radius: 11px;
  background: #fff;
}

.footer-certification-mark a,
.footer-qr-frame a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.footer-certification-mark img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 112px;
  object-fit: contain;
}

.footer-showcase-card p,
.footer-qr-copy {
  margin: 9px 0 0;
  color: #716b64 !important;
  font-size: 15px;
  line-height: 1.55;
}

.footer-showcase-card .footer-certification-title {
  font-size: 18px;
}

.footer-showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: #1f5940 !important;
  font-size: 14px;
  font-weight: 700 !important;
}

.footer-showcase-link:hover {
  color: #a35d12 !important;
  text-decoration: underline;
}

.footer-qr-frame {
  display: grid;
  width: min(100%, 190px);
  aspect-ratio: 1;
  place-items: center;
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid #e7ded1;
  border-radius: 11px;
  background: #fff;
}

.footer-qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-qr-copy {
  text-align: center;
}

.footer-showcase-card--verification .footer-showcase-link {
  display: flex;
  justify-content: center;
}

.footer-showcase-empty {
  display: grid;
  min-height: 80px;
  place-items: center;
  margin: 0 !important;
  padding: 16px;
  border: 1px dashed #d5c9b9;
  border-radius: 9px;
  color: #877d71 !important;
  font-size: 14px !important;
  text-align: center;
}

@media (max-width: 900px) {
  .footer-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-showcase-card--fleet {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .footer-showcase-wrap {
    width: min(100% - 22px, 620px);
  }

  .footer-showcase-heading {
    display: block;
  }

  .footer-showcase-grid {
    grid-template-columns: 1fr;
  }

  .footer-showcase-card--fleet {
    grid-column: auto;
  }

  .footer-fleet-masonry {
    columns: 3 72px;
  }

  .footer-showcase-card {
    padding: 15px;
  }
}

@media (max-width: 1120px) and (min-width: 1041px) {
  .site-head .brand,
  .site-header .brand {
    max-width: 165px;
  }

  .site-head .brand.has-logo .brand-mark img,
  .site-header .brand.has-logo .brand-mark img {
    max-width: 160px !important;
  }

  .site-head .nav-links,
  .site-header .nav-links {
    gap: 9px !important;
    font-size: 13px !important;
  }

  .site-head .nav-cta,
  .site-header .nav-cta {
    min-width: 120px;
    padding-inline: 14px !important;
  }
}
