:root {
  --forest: #385126;
  --deep-forest: #24351a;
  --leaf: #59733c;
  --clay: #d24a24;
  --clay-dark: #a83a1e;
  --gold: #d5a531;
  --cream: #f6efe4;
  --sand: #f3e9db;
  --paper: #fffaf3;
  --ink: #1f241b;
  --muted: #6e6b62;
  --line: rgba(45, 47, 36, 0.14);
  --shadow: 0 18px 44px rgba(30, 28, 20, 0.16);
}

/* Reference-inspired Quest Serengeti logo treatment. */
.site-header .brand {
  min-width: clamp(250px, 24vw, 390px);
}

.site-header .brand-wordmark {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.62));
}

.site-header .brand-line {
  position: relative;
  align-items: end;
  gap: 5px;
}

.site-header .brand-main {
  align-items: end;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.35rem, 4.1vw, 4.3rem);
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #e7b428 0%, #b76d13 52%, #633000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(92, 48, 6, 0.12);
}

.site-header .brand-q {
  position: relative;
  display: inline-block;
  width: 1.18em;
  height: 1.04em;
  margin-right: -0.09em;
  color: #b87313;
  border: 0;
  border-radius: 0;
  overflow: visible;
  text-indent: 0;
}

.site-header .brand-q::before {
  position: absolute;
  inset: 0.02em 0.17em 0.13em 0.02em;
  content: "";
  border: 0.105em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 -0.02em 0 rgba(89, 42, 0, 0.14);
  transform: rotate(-10deg);
}

.site-header .brand-q::after {
  position: absolute;
  right: 0.04em;
  bottom: 0.05em;
  width: 0.44em;
  height: 0.13em;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, #c57b14, #5f2c00);
  transform: rotate(36deg);
  transform-origin: left center;
}

.site-header .brand-q-mountain {
  position: absolute;
  right: 0.28em;
  bottom: 0.38em;
  width: 0.48em;
  height: 0.23em;
  background: linear-gradient(180deg, #c98216, #6a3200);
  clip-path: polygon(0 100%, 24% 38%, 43% 65%, 60% 10%, 100% 100%);
}

.site-header .brand-q-mountain::after {
  position: absolute;
  top: 0.03em;
  left: 52%;
  width: 0.12em;
  height: 0.04em;
  content: "";
  border-radius: 999px;
  background: rgba(255, 236, 162, 0.88);
  box-shadow: -0.08em 0.03em 0 rgba(255, 236, 162, 0.7);
}

.site-header .brand-q-tree {
  position: absolute;
  left: 0.1em;
  bottom: 0.22em;
  width: 0.7em;
  height: 0.19em;
  border-radius: 62% 38% 50% 50%;
  background: linear-gradient(180deg, #b76d13, #5b2a00);
  transform: rotate(-7deg);
}

.site-header .brand-q-tree::before {
  position: absolute;
  left: 0.28em;
  top: 0.14em;
  width: 0.035em;
  height: 0.25em;
  content: "";
  border-radius: 999px;
  background: #653000;
  box-shadow:
    -0.08em 0.03em 0 -0.012em #653000,
    0.08em 0.03em 0 -0.012em #653000;
}

.site-header .brand-rest {
  margin-left: -0.05em;
}

.site-header .brand-script {
  position: relative;
  margin-left: 0.02em;
  padding-right: 0.08em;
  padding-bottom: 0.04em;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: clamp(1.85rem, 3.4vw, 3.65rem);
  line-height: 0.78;
  background: linear-gradient(180deg, #c88618 0%, #7d3b00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.site-header .brand-script::after {
  position: absolute;
  right: 0.1em;
  bottom: -0.15em;
  width: 82%;
  height: 0.06em;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #e0a51c 18%, #b7690d 78%, transparent);
  transform: skewX(-20deg);
}

.site-header .brand-tag {
  margin-top: 0.18em;
  color: #72420d;
  font-size: clamp(0.48rem, 0.62vw, 0.68rem);
  font-weight: 950;
  letter-spacing: 0.13em;
}

/* Compact phone hamburger button. Keep this after mobile menu rules. */
@media (max-width: 760px) {
  .site-header .menu-toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .site-header .menu-toggle span:not(.menu-label) {
    width: 15px !important;
    height: 2px !important;
    margin: 0.11px auto !important;
  }

  body.mobile-menu-open .site-header .menu-toggle,
  .site-header .menu-toggle[aria-expanded="true"] {
    left: calc(min(92vw, 420px) - 48px) !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  body.mobile-menu-open .site-header .menu-toggle span:not(.menu-label),
  .site-header .menu-toggle[aria-expanded="true"] span:not(.menu-label) {
    width: 18px !important;
  }
}

/* Final Quest logo layer, inspired by the uploaded references. */
.site-header .brand {
  min-width: clamp(250px, 24vw, 390px) !important;
}

.site-header .brand-wordmark {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.62)) !important;
}

.site-header .brand-line {
  position: relative !important;
  align-items: end !important;
  gap: 5px !important;
}

.site-header .brand-main {
  align-items: end !important;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif !important;
  font-size: clamp(2.35rem, 4.1vw, 4.3rem) !important;
  letter-spacing: -0.035em !important;
  background: linear-gradient(180deg, #e7b428 0%, #b76d13 52%, #633000 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: 0 1px 0 rgba(92, 48, 6, 0.12) !important;
}

.site-header .brand-q {
  position: relative !important;
  display: inline-block !important;
  width: 1.18em !important;
  height: 1.04em !important;
  margin-right: -0.09em !important;
  color: #b87313 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  text-indent: 0 !important;
}

.site-header .brand-q::before {
  position: absolute !important;
  inset: 0.02em 0.17em 0.13em 0.02em !important;
  content: "" !important;
  border: 0.105em solid currentColor !important;
  border-right-color: transparent !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: inset 0 -0.02em 0 rgba(89, 42, 0, 0.14) !important;
  transform: rotate(-10deg) !important;
}

.site-header .brand-q::after {
  position: absolute !important;
  right: 0.04em !important;
  bottom: 0.05em !important;
  width: 0.44em !important;
  height: 0.13em !important;
  content: "" !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #c57b14, #5f2c00) !important;
  transform: rotate(36deg) !important;
  transform-origin: left center !important;
}

.site-header .brand-q-mountain {
  position: absolute !important;
  right: 0.28em !important;
  bottom: 0.38em !important;
  width: 0.48em !important;
  height: 0.23em !important;
  background: linear-gradient(180deg, #c98216, #6a3200) !important;
  clip-path: polygon(0 100%, 24% 38%, 43% 65%, 60% 10%, 100% 100%) !important;
}

.site-header .brand-q-mountain::after {
  position: absolute !important;
  top: 0.03em !important;
  left: 52% !important;
  width: 0.12em !important;
  height: 0.04em !important;
  content: "" !important;
  border-radius: 999px !important;
  background: rgba(255, 236, 162, 0.88) !important;
  box-shadow: -0.08em 0.03em 0 rgba(255, 236, 162, 0.7) !important;
}

.site-header .brand-q-tree {
  position: absolute !important;
  left: 0.1em !important;
  bottom: 0.22em !important;
  width: 0.7em !important;
  height: 0.19em !important;
  border-radius: 62% 38% 50% 50% !important;
  background: linear-gradient(180deg, #b76d13, #5b2a00) !important;
  transform: rotate(-7deg) !important;
}

.site-header .brand-q-tree::before {
  position: absolute !important;
  left: 0.28em !important;
  top: 0.14em !important;
  width: 0.035em !important;
  height: 0.25em !important;
  content: "" !important;
  border-radius: 999px !important;
  background: #653000 !important;
  box-shadow:
    -0.08em 0.03em 0 -0.012em #653000,
    0.08em 0.03em 0 -0.012em #653000 !important;
}

.site-header .brand-rest {
  margin-left: -0.05em !important;
}

.site-header .brand-script {
  position: relative !important;
  margin-left: 0.02em !important;
  padding-right: 0.08em !important;
  padding-bottom: 0.04em !important;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive !important;
  font-size: clamp(1.85rem, 3.4vw, 3.65rem) !important;
  line-height: 0.78 !important;
  background: linear-gradient(180deg, #c88618 0%, #7d3b00 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

.site-header .brand-script::after {
  position: absolute !important;
  right: 0.1em !important;
  bottom: -0.15em !important;
  width: 82% !important;
  height: 0.06em !important;
  content: "" !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent, #e0a51c 18%, #b7690d 78%, transparent) !important;
  transform: skewX(-20deg) !important;
}

.site-header .brand-tag {
  margin-top: 0.18em !important;
  color: #72420d !important;
  font-size: clamp(0.48rem, 0.62vw, 0.68rem) !important;
  font-weight: 950 !important;
  letter-spacing: 0.13em !important;
}

/* Phone menu final layer. This block must stay at the end of the stylesheet. */
@media (max-width: 760px) {
  body.mobile-menu-open {
    overflow: hidden !important;
  }

  body.mobile-menu-open::before {
    position: fixed !important;
    inset: 0 !important;
    z-index: 998 !important;
    content: "" !important;
    background:
      radial-gradient(circle at 18% 14%, rgba(213, 165, 49, 0.24), transparent 28%),
      linear-gradient(90deg, rgba(18, 12, 8, 0.18), rgba(18, 12, 8, 0.68)),
      rgba(13, 10, 7, 0.54) !important;
    backdrop-filter: blur(8px) saturate(1.1) !important;
  }

  body.mobile-menu-open .site-header .menu-toggle,
  .site-header .menu-toggle[aria-expanded="true"] {
    position: fixed !important;
    top: 18px !important;
    left: calc(min(92vw, 420px) - 62px) !important;
    z-index: 1005 !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(255, 250, 243, 0.18) !important;
    border-radius: 50% !important;
    background: rgba(255, 250, 243, 0.12) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26) !important;
    backdrop-filter: blur(12px) !important;
  }

  body.mobile-menu-open .site-header .menu-toggle span:not(.menu-label),
  .site-header .menu-toggle[aria-expanded="true"] span:not(.menu-label) {
    position: absolute !important;
    width: 22px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #fffaf3 !important;
  }

  body.mobile-menu-open .site-header .primary-nav.is-open,
  .site-header .primary-nav.is-open {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 1002 !important;
    display: grid !important;
    align-content: start !important;
    gap: 9px !important;
    width: min(92vw, 420px) !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 104px 22px 258px !important;
    overflow-y: auto !important;
    border: 0 !important;
    border-right: 1px solid rgba(213, 165, 49, 0.22) !important;
    border-radius: 0 !important;
    color: #fffaf3 !important;
    background:
      linear-gradient(180deg, rgba(37, 28, 20, 0.78), rgba(24, 18, 13, 0.96) 42%, rgba(63, 35, 18, 0.94)),
      linear-gradient(135deg, rgba(213, 165, 49, 0.24), transparent 34%),
      url("assets/downloaded-images/serengeti-national-park-lion.jpg") center / cover !important;
    box-shadow: 30px 0 70px rgba(0, 0, 0, 0.42) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
    text-transform: none !important;
    white-space: normal !important;
    overscroll-behavior: contain !important;
  }

  .site-header .primary-nav.is-open::before {
    content: "Quest Serengeti Safaris\A Private Tanzania journeys";
    display: block !important;
    margin: -64px 56px 16px 0 !important;
    padding: 14px 15px !important;
    border: 1px solid rgba(255, 250, 243, 0.12) !important;
    border-radius: 14px !important;
    color: rgba(255, 250, 243, 0.82) !important;
    background:
      linear-gradient(135deg, rgba(255, 250, 243, 0.13), rgba(213, 165, 49, 0.08)),
      rgba(20, 15, 10, 0.26) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.55 !important;
    text-transform: uppercase !important;
    white-space: pre-line !important;
  }

  body.mobile-menu-open .site-header .primary-nav.is-open a,
  .site-header .primary-nav.is-open a {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm3.6 6.4-1.4 5a1.2 1.2 0 0 1-.8.8l-5 1.4 1.4-5a1.2 1.2 0 0 1 .8-.8l5-1.4ZM12 13.1a1.1 1.1 0 1 0 0-2.2 1.1 1.1 0 0 0 0 2.2Z'/%3E%3C/svg%3E");
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    min-height: 50px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(255, 250, 243, 0.1) !important;
    border-radius: 12px !important;
    color: rgba(255, 250, 243, 0.92) !important;
    background:
      linear-gradient(135deg, rgba(255, 250, 243, 0.1), rgba(255, 250, 243, 0.035)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    font-size: clamp(0.84rem, 3.6vw, 0.95rem) !important;
    font-weight: 750 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.16 !important;
    text-transform: none !important;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease !important;
  }

  .site-header .primary-nav.is-open a::before {
    content: "" !important;
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    border: 1px solid rgba(213, 165, 49, 0.35) !important;
    border-radius: 10px !important;
    background:
      linear-gradient(135deg, rgba(213, 165, 49, 0.26), rgba(255, 250, 243, 0.07)) !important;
  }

  .site-header .primary-nav.is-open a::after {
    content: "" !important;
    position: absolute !important;
    left: 22px !important;
    width: 16px !important;
    height: 16px !important;
    background: #f1c35a !important;
    -webkit-mask: var(--menu-icon) center / contain no-repeat !important;
    mask: var(--menu-icon) center / contain no-repeat !important;
  }

  .site-header .primary-nav.is-open a:nth-child(1) {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m3 10.8 9-7.2 9 7.2V20a1 1 0 0 1-1 1h-5.4v-6H9.4v6H4a1 1 0 0 1-1-1v-9.2Z'/%3E%3C/svg%3E");
  }

  .site-header .primary-nav.is-open a:nth-child(2) {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.4 5.1c-.8-.8-2.4-.4-3.8.9l-3 3-8.5-3-1.6 1.6 6.8 4.7-3.2 3.2-3.1-.6-1.3 1.3 3.8 1.9 1.9 3.8 1.3-1.3-.6-3.1 3.2-3.2 4.7 6.8 1.6-1.6-3-8.5 3-3c1.3-1.4 1.7-3 .8-3.9Z'/%3E%3C/svg%3E");
  }

  .site-header .primary-nav.is-open a:nth-child(4) {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5a7 7 0 0 0-7 7h14a7 7 0 0 0-7-7ZM4 15h16v2H4v-2Zm2 4h12v2H6v-2ZM12 1l1.2 2.8h-2.4L12 1Z'/%3E%3C/svg%3E");
  }

  .site-header .primary-nav.is-open a:nth-child(5) {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m2 20 7.2-13 3.2 5.2L15 8l7 12H2Zm7.3-8.5L6 17.5h6.9l-3.6-6Zm6-.2-2.6 4.2 1.2 2h4.7l-3.3-6.2Z'/%3E%3C/svg%3E");
  }

  .site-header .primary-nav.is-open a:nth-child(6) {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 4.5a1.4 1.4 0 1 1 0 2.8 1.4 1.4 0 0 1 0-2.8Zm2 11h-4v-1.7h1V12h-1v-1.7h3v5.5h1v1.7Z'/%3E%3C/svg%3E");
  }

  .site-header .primary-nav.is-open a:nth-child(7) {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H8.2L4 21v-3H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm2 4v2h12V8H6Zm0 4v2h8v-2H6Z'/%3E%3C/svg%3E");
  }

  .site-header .primary-nav.is-open a:first-child {
    min-height: 88px !important;
    margin-bottom: 8px !important;
    padding: 17px 15px 17px 58px !important;
    border-color: rgba(213, 165, 49, 0.48) !important;
    background:
      linear-gradient(135deg, rgba(213, 165, 49, 0.36), rgba(168, 58, 30, 0.13)),
      rgba(255, 250, 243, 0.1) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 32px rgba(0, 0, 0, 0.18) !important;
  }

  .site-header .primary-nav.is-open a:first-child::before {
    position: absolute !important;
    left: 14px !important;
  }

  .site-header .primary-nav.is-open a:first-child::after {
    left: 22px !important;
  }

  .site-header .primary-nav.is-open a:first-child span,
  .site-header .primary-nav.is-open a:first-child {
    color: #fffaf3 !important;
  }

  .site-header .primary-nav.is-open a:first-child {
    padding-bottom: 34px !important;
  }

  .site-header .primary-nav.is-open a:first-child::selection {
    background: transparent;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] {
    font-size: 1rem !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"]::marker {
    content: "";
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] {
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22) !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"]::before {
    background:
      linear-gradient(135deg, rgba(241, 195, 90, 0.36), rgba(255, 250, 243, 0.08)) !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"]::after {
    background: #fff4bf !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] + a {
    margin-top: 2px !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] {
    overflow: visible !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"]::selection {
    background: transparent;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"]::before {
    box-shadow: 0 0 0 1px rgba(241, 195, 90, 0.48), 0 8px 18px rgba(0, 0, 0, 0.18) !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] {
    align-items: flex-start !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"]::before,
  .site-header .primary-nav.is-open a:first-child[href="#home"]::after {
    top: 17px !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] {
    position: relative !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"]::selection {
    color: inherit;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] {
    isolation: isolate;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] {
    --home-label: "Safari homepage";
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] {
    line-height: 1.1 !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"]::before {
    content: "" !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] {
    white-space: normal !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"]::after {
    -webkit-mask: var(--menu-icon) center / contain no-repeat !important;
    mask: var(--menu-icon) center / contain no-repeat !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] {
    background-clip: padding-box !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"]::before {
    border-radius: 12px !important;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"]::selection {
    text-shadow: none;
  }

  .site-header .primary-nav.is-open a:first-child[href="#home"] {
    box-sizing: border-box !important;
  }

  .site-header .primary-nav.is-open a:hover,
  .site-header .primary-nav.is-open a:focus-visible,
  .site-header .primary-nav.is-open a.is-active,
  .site-header .primary-nav.is-open a[aria-current="location"] {
    border-color: rgba(241, 195, 90, 0.5) !important;
    background:
      linear-gradient(135deg, rgba(213, 165, 49, 0.22), rgba(255, 250, 243, 0.07)) !important;
    transform: translateX(4px) !important;
  }

  body.mobile-menu-open .site-header .nav-actions.is-open,
  .site-header .nav-actions.is-open {
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    z-index: 1003 !important;
    display: grid !important;
    gap: 10px !important;
    width: min(92vw, 420px) !important;
    padding: 14px 22px calc(18px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 250, 243, 0.1) !important;
    border-radius: 0 !important;
    background:
      linear-gradient(180deg, rgba(32, 24, 17, 0), rgba(28, 21, 15, 0.94) 18%, rgba(42, 26, 16, 0.98)) !important;
    box-shadow: 0 -18px 42px rgba(12, 8, 5, 0.32) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
  }

  body.mobile-menu-open .site-header .phone-link,
  .site-header .nav-actions.is-open .phone-link {
    justify-self: stretch !important;
    min-height: 40px !important;
    padding: 0 14px 0 43px !important;
    border: 1px solid rgba(37, 211, 102, 0.28) !important;
    border-radius: 999px !important;
    color: rgba(255, 250, 243, 0.94) !important;
    background: rgba(37, 211, 102, 0.1) !important;
    font-size: 0.86rem !important;
    font-weight: 850 !important;
  }

  body.mobile-menu-open .site-header .phone-link::before,
  .site-header .nav-actions.is-open .phone-link::before {
    left: 12px !important;
    width: 22px !important;
    height: 22px !important;
  }

  body.mobile-menu-open .site-header .nav-action-row,
  .site-header .nav-actions.is-open .nav-action-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .site-header .nav-actions.is-open .language-button {
    min-height: 42px !important;
    border: 1px solid rgba(255, 250, 243, 0.14) !important;
    border-radius: 11px !important;
    color: rgba(255, 250, 243, 0.9) !important;
    background: rgba(255, 250, 243, 0.1) !important;
    font-size: 0.8rem !important;
  }

  .site-header .nav-actions.is-open .language-menu {
    top: auto !important;
    bottom: calc(100% + 8px) !important;
    border-radius: 12px !important;
    background: rgba(35, 25, 18, 0.98) !important;
  }

  body.mobile-menu-open .site-header .request-button,
  .site-header .nav-actions.is-open .request-button {
    grid-column: 1 / -1 !important;
    order: -1 !important;
    min-height: 50px !important;
    border-radius: 13px !important;
    color: #2b190c !important;
    background: linear-gradient(135deg, #f6cf73, #d5a531 56%, #a95516) !important;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
    font-size: 0.82rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.09em !important;
  }

  .site-header .nav-actions.is-open .client-chip {
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    border-color: rgba(255, 250, 243, 0.18) !important;
    background: rgba(255, 250, 243, 0.12) !important;
    color: #fffaf3 !important;
    box-shadow: none !important;
  }

  @media (max-width: 380px) {
    body.mobile-menu-open .site-header .primary-nav.is-open,
    .site-header .primary-nav.is-open {
      width: min(94vw, 360px) !important;
      padding: 94px 14px 242px !important;
    }

    body.mobile-menu-open .site-header .nav-actions.is-open,
    .site-header .nav-actions.is-open {
      width: min(94vw, 360px) !important;
      padding-inline: 14px !important;
    }

    body.mobile-menu-open .site-header .menu-toggle,
    .site-header .menu-toggle[aria-expanded="true"] {
      left: calc(min(94vw, 360px) - 58px) !important;
    }

    body.mobile-menu-open .site-header .primary-nav.is-open a,
    .site-header .primary-nav.is-open a {
      min-height: 48px !important;
      font-size: 0.82rem !important;
    }
  }
}

/* Final Quest logo layer, inspired by the uploaded references. */
.site-header .brand {
  min-width: clamp(250px, 24vw, 390px) !important;
}

.site-header .brand-wordmark {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.62)) !important;
}

.site-header .brand-line {
  position: relative !important;
  align-items: end !important;
  gap: 5px !important;
}

.site-header .brand-main {
  align-items: end !important;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif !important;
  font-size: clamp(2.35rem, 4.1vw, 4.3rem) !important;
  letter-spacing: -0.035em !important;
  background: linear-gradient(180deg, #e7b428 0%, #b76d13 52%, #633000 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: 0 1px 0 rgba(92, 48, 6, 0.12) !important;
}

.site-header .brand-q {
  position: relative !important;
  display: inline-block !important;
  width: 1.18em !important;
  height: 1.04em !important;
  margin-right: -0.09em !important;
  color: #b87313 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  text-indent: 0 !important;
}

.site-header .brand-q::before {
  position: absolute !important;
  inset: 0.02em 0.17em 0.13em 0.02em !important;
  content: "" !important;
  border: 0.105em solid currentColor !important;
  border-right-color: transparent !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: inset 0 -0.02em 0 rgba(89, 42, 0, 0.14) !important;
  transform: rotate(-10deg) !important;
}

.site-header .brand-q::after {
  position: absolute !important;
  right: 0.04em !important;
  bottom: 0.05em !important;
  width: 0.44em !important;
  height: 0.13em !important;
  content: "" !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #c57b14, #5f2c00) !important;
  transform: rotate(36deg) !important;
  transform-origin: left center !important;
}

.site-header .brand-q-mountain {
  position: absolute !important;
  right: 0.28em !important;
  bottom: 0.38em !important;
  width: 0.48em !important;
  height: 0.23em !important;
  background: linear-gradient(180deg, #c98216, #6a3200) !important;
  clip-path: polygon(0 100%, 24% 38%, 43% 65%, 60% 10%, 100% 100%) !important;
}

.site-header .brand-q-mountain::after {
  position: absolute !important;
  top: 0.03em !important;
  left: 52% !important;
  width: 0.12em !important;
  height: 0.04em !important;
  content: "" !important;
  border-radius: 999px !important;
  background: rgba(255, 236, 162, 0.88) !important;
  box-shadow: -0.08em 0.03em 0 rgba(255, 236, 162, 0.7) !important;
}

.site-header .brand-q-tree {
  position: absolute !important;
  left: 0.1em !important;
  bottom: 0.22em !important;
  width: 0.7em !important;
  height: 0.19em !important;
  border-radius: 62% 38% 50% 50% !important;
  background: linear-gradient(180deg, #b76d13, #5b2a00) !important;
  transform: rotate(-7deg) !important;
}

.site-header .brand-q-tree::before {
  position: absolute !important;
  left: 0.28em !important;
  top: 0.14em !important;
  width: 0.035em !important;
  height: 0.25em !important;
  content: "" !important;
  border-radius: 999px !important;
  background: #653000 !important;
  box-shadow:
    -0.08em 0.03em 0 -0.012em #653000,
    0.08em 0.03em 0 -0.012em #653000 !important;
}

.site-header .brand-rest {
  margin-left: -0.05em !important;
}

.site-header .brand-script {
  position: relative !important;
  margin-left: 0.02em !important;
  padding-right: 0.08em !important;
  padding-bottom: 0.04em !important;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive !important;
  font-size: clamp(1.85rem, 3.4vw, 3.65rem) !important;
  line-height: 0.78 !important;
  background: linear-gradient(180deg, #c88618 0%, #7d3b00 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

.site-header .brand-script::after {
  position: absolute !important;
  right: 0.1em !important;
  bottom: -0.15em !important;
  width: 82% !important;
  height: 0.06em !important;
  content: "" !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent, #e0a51c 18%, #b7690d 78%, transparent) !important;
  transform: skewX(-20deg) !important;
}

.site-header .brand-tag {
  margin-top: 0.18em !important;
  color: #72420d !important;
  font-size: clamp(0.48rem, 0.62vw, 0.68rem) !important;
  font-weight: 950 !important;
  letter-spacing: 0.13em !important;
}

/* Final phone-menu overrides: keep the existing site, upgrade only the mobile drawer. */
@media (max-width: 760px) {
  body.mobile-menu-open::before {
    background:
      radial-gradient(circle at 16% 16%, rgba(213, 165, 49, 0.2), transparent 28%),
      rgba(18, 13, 9, 0.56) !important;
    backdrop-filter: blur(7px);
  }

  body.mobile-menu-open .site-header .menu-toggle,
  .site-header .menu-toggle[aria-expanded="true"] {
    left: calc(min(90vw, 410px) - 58px) !important;
    border-color: rgba(255, 250, 243, 0.2) !important;
    border-radius: 50% !important;
    background: rgba(255, 250, 243, 0.12) !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18) !important;
  }

  body.mobile-menu-open .site-header .primary-nav.is-open,
  .site-header .primary-nav.is-open {
    top: 0 !important;
    bottom: 0 !important;
    display: grid !important;
    align-content: start !important;
    gap: 7px !important;
    width: min(90vw, 410px) !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding: 96px clamp(16px, 5vw, 24px) 238px !important;
    overflow-y: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
      linear-gradient(180deg, rgba(33, 25, 18, 0.86), rgba(25, 20, 15, 0.94) 46%, rgba(54, 32, 19, 0.96)),
      linear-gradient(135deg, rgba(213, 165, 49, 0.2), transparent 34%),
      url("assets/downloaded-images/serengeti-national-park-lion.jpg") center / cover !important;
    box-shadow: 28px 0 58px rgba(0, 0, 0, 0.34) !important;
    text-transform: none !important;
    white-space: normal !important;
  }

  .site-header .primary-nav.is-open::before {
    content: "Quest Serengeti Safaris";
    display: block;
    margin: -56px 54px 18px 0;
    color: rgba(255, 250, 243, 0.72);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  body.mobile-menu-open .site-header .primary-nav.is-open a,
  .site-header .primary-nav.is-open a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    min-height: 50px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    color: rgba(255, 250, 243, 0.9) !important;
    background: rgba(255, 250, 243, 0.055) !important;
    font-size: clamp(0.84rem, 3.8vw, 0.96rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.18 !important;
    text-transform: none !important;
  }

  .site-header .primary-nav.is-open a::before {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 50% 50%, var(--gold) 0 34%, transparent 36%),
      rgba(213, 165, 49, 0.16);
    box-shadow: 0 0 0 1px rgba(213, 165, 49, 0.42);
  }

  .site-header .primary-nav.is-open a:first-child {
    align-items: flex-start !important;
    min-height: 84px !important;
    margin-bottom: 8px !important;
    padding: 16px 15px !important;
    color: #fffaf3 !important;
    border-color: rgba(213, 165, 49, 0.38) !important;
    background:
      linear-gradient(135deg, rgba(213, 165, 49, 0.3), rgba(168, 58, 30, 0.12)),
      rgba(255, 250, 243, 0.1) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 32px rgba(0, 0, 0, 0.18) !important;
  }

  .site-header .primary-nav.is-open a:first-child::after {
    position: absolute;
    left: 46px;
    right: 14px;
    bottom: 15px;
    content: "Safari homepage";
    color: rgba(255, 250, 243, 0.58);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
  }

  .site-header .primary-nav.is-open a:hover,
  .site-header .primary-nav.is-open a:focus-visible,
  .site-header .primary-nav.is-open a.is-active,
  .site-header .primary-nav.is-open a[aria-current="location"] {
    color: #fff !important;
    border-color: rgba(213, 165, 49, 0.42) !important;
    background: rgba(213, 165, 49, 0.16) !important;
    transform: translateX(3px);
  }

  body.mobile-menu-open .site-header .nav-actions.is-open,
  .site-header .nav-actions.is-open {
    left: 0 !important;
    bottom: 0 !important;
    display: grid !important;
    gap: 10px !important;
    width: min(90vw, 410px) !important;
    padding: 14px clamp(16px, 5vw, 24px) calc(16px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
      linear-gradient(180deg, rgba(30, 24, 18, 0), rgba(30, 24, 18, 0.92) 18%, rgba(34, 25, 18, 0.98)) !important;
    box-shadow: 0 -18px 36px rgba(19, 14, 10, 0.22) !important;
  }

  body.mobile-menu-open .site-header .phone-link,
  .site-header .nav-actions.is-open .phone-link {
    justify-self: stretch !important;
    min-height: 38px !important;
    padding: 0 12px 0 42px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 999px !important;
    color: rgba(255, 250, 243, 0.9) !important;
    background: rgba(255, 250, 243, 0.08) !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
  }

  body.mobile-menu-open .site-header .nav-action-row,
  .site-header .nav-actions.is-open .nav-action-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .site-header .nav-actions.is-open .language-button {
    min-height: 40px !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    border-radius: 9px !important;
    color: rgba(255, 250, 243, 0.86) !important;
    background: rgba(255, 250, 243, 0.09) !important;
    font-size: 0.8rem !important;
  }

  body.mobile-menu-open .site-header .request-button,
  .site-header .nav-actions.is-open .request-button {
    grid-column: 1 / -1 !important;
    order: -1 !important;
    min-height: 48px !important;
    border-radius: 12px !important;
    color: #28180e !important;
    background: linear-gradient(135deg, #f1c35a, #d5a531 55%, #b97425) !important;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.08em !important;
  }

  @media (max-width: 380px) {
    body.mobile-menu-open .site-header .primary-nav.is-open,
    .site-header .primary-nav.is-open {
      width: min(94vw, 360px) !important;
      padding: 88px 14px 226px !important;
    }

    body.mobile-menu-open .site-header .nav-actions.is-open,
    .site-header .nav-actions.is-open {
      width: min(94vw, 360px) !important;
      padding-inline: 14px !important;
    }

    body.mobile-menu-open .site-header .menu-toggle,
    .site-header .menu-toggle[aria-expanded="true"] {
      left: calc(min(94vw, 360px) - 58px) !important;
    }
  }
}

@media (max-width: 760px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open::before {
    position: fixed;
    inset: 0;
    z-index: 998;
    content: "";
    background: rgba(0, 0, 0, 0.68);
  }

  body.mobile-menu-open .site-header {
    z-index: 1001;
  }

  body.mobile-menu-open .site-header .menu-toggle {
    position: fixed;
    top: 18px;
    left: calc(min(82vw, 430px) - 62px);
    z-index: 1004;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  body.mobile-menu-open .site-header .menu-toggle span:not(.menu-label) {
    position: absolute;
    display: block;
    width: 24px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: #fff;
  }

  body.mobile-menu-open .site-header .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  body.mobile-menu-open .site-header .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-menu-open .site-header .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  body.mobile-menu-open .site-header .primary-nav.is-open {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;
    display: grid !important;
    align-content: start;
    gap: 0;
    width: min(82vw, 430px);
    height: 100dvh;
    margin: 0;
    padding: 78px 30px 260px;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: #020202;
    box-shadow: 24px 0 48px rgba(0, 0, 0, 0.38);
    text-transform: none;
    white-space: normal;
  }

  body.mobile-menu-open .site-header .primary-nav.is-open a {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    color: #fff;
    font-size: 1.06rem;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
  }

  body.mobile-menu-open .site-header .nav-actions.is-open {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1003;
    display: grid !important;
    width: min(82vw, 430px);
    gap: 14px;
    justify-items: stretch;
    padding: 18px 30px 28px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: #020202;
    box-shadow: none;
  }

  body.mobile-menu-open .site-header .phone-link {
    justify-self: start;
    color: #fff;
    font-size: 0.98rem;
  }

  body.mobile-menu-open .site-header .nav-action-row {
    display: grid;
    grid-template-columns: 1fr 44px;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  body.mobile-menu-open .site-header .request-button {
    grid-column: 1 / -1;
    min-height: 50px;
    border-radius: 4px;
    background: #8a430f;
  }

  body.mobile-menu-open .site-header .client-profile {
    justify-self: start;
    width: auto;
  }

  body.mobile-menu-open .site-header .client-chip {
    border-color: rgba(255, 255, 255, 0.34);
    background: #fff;
  }

  body.mobile-menu-open .site-header .client-profile-menu {
    top: auto;
    right: auto;
    bottom: calc(100% + 10px);
    left: 0;
    width: min(310px, calc(82vw - 48px));
  }
}

@media (max-width: 760px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open::before {
    position: fixed;
    inset: 0;
    z-index: 998;
    content: "";
    background: rgba(0, 0, 0, 0.68);
  }

  .site-header {
    z-index: 1001;
  }

  .site-header .main-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100vw;
    min-height: 76px;
    padding: 10px 14px !important;
    background: #f0f0ef;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    max-width: 100%;
    min-width: 0;
    justify-self: start;
  }

  .site-header .brand-line {
    align-items: baseline;
    max-width: 100%;
  }

  .site-header .brand-main {
    font-size: clamp(1.7rem, 8vw, 2.05rem);
  }

  .site-header .brand-script {
    font-size: clamp(1.1rem, 5.4vw, 1.38rem);
  }

  .site-header .brand-tag {
    max-width: 210px;
    font-size: 0.38rem;
    white-space: normal;
  }

  .site-header .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: grid !important;
    place-items: center;
    justify-self: end;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(56, 81, 38, 0.16);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 18px rgba(22, 24, 18, 0.14);
  }

  body.mobile-menu-open .site-header .menu-toggle {
    position: fixed;
    top: 18px;
    left: calc(min(82vw, 430px) - 62px);
    z-index: 1004;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .site-header .menu-toggle span:not(.menu-label) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 2px auto;
    border-radius: 999px;
    background: var(--clay-dark);
  }

  body.mobile-menu-open .site-header .menu-toggle span:not(.menu-label) {
    position: absolute;
    width: 24px;
    margin: 0;
    background: #fff;
  }

  body.mobile-menu-open .site-header .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  body.mobile-menu-open .site-header .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-menu-open .site-header .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .site-header .menu-toggle .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .site-header .menu-toggle[aria-expanded="true"] {
    background: var(--clay-dark);
  }

  .site-header .menu-toggle[aria-expanded="true"] span:not(.menu-label) {
    background: #fff;
  }

  .site-header .primary-nav,
  .site-header .nav-actions {
    grid-column: 1 / -1;
    display: none !important;
  }

  .site-header .primary-nav.is-open {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;
    display: grid !important;
    align-content: start;
    gap: 0;
    width: min(82vw, 430px);
    height: 100dvh;
    margin: 0;
    padding: 78px 30px 260px;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: #020202;
    box-shadow: 24px 0 48px rgba(0, 0, 0, 0.38);
    text-transform: none;
    white-space: normal;
  }

  .site-header .primary-nav.is-open a {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    color: #fff;
    font-size: 1.06rem;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
  }

  .site-header .primary-nav.is-open a:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .site-header .nav-actions.is-open {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1003;
    display: grid !important;
    width: min(82vw, 430px);
    gap: 14px;
    justify-items: stretch;
    padding: 18px 30px 28px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: #020202;
    box-shadow: none;
  }

  .site-header .phone-link {
    justify-self: start;
    color: #fff;
    font-size: 0.98rem;
  }

  .site-header .nav-action-row {
    display: grid;
    grid-template-columns: 1fr 44px;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .site-header .language-picker,
  .site-header .language-button,
  .site-header .request-button {
    width: 100%;
  }

  .site-header .request-button {
    grid-column: 1 / -1;
    min-height: 50px;
    border-radius: 4px;
    background: #8a430f;
  }

  .site-header .client-profile {
    justify-self: start;
    width: auto;
  }

  .site-header .client-chip {
    border-color: rgba(255, 255, 255, 0.34);
    background: #fff;
  }

  .site-header .client-profile-menu {
    left: 0;
    right: auto;
    bottom: calc(100% + 10px);
    top: auto;
    width: min(310px, calc(82vw - 48px));
  }
}

.admin-page {
  min-height: 100vh;
  background: #f4edde;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100vh;
  padding: 28px 22px;
  color: #fff;
  background: var(--deep-forest);
}

.admin-brand {
  min-width: 0;
  color: #fff;
}

.admin-brand .brand-main {
  font-size: 2.35rem;
}

.admin-brand .brand-script,
.admin-brand .brand-tag {
  color: var(--gold);
}

.admin-tabs {
  display: grid;
  gap: 8px;
}

.admin-tabs button,
.admin-home-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.admin-tabs button.is-active,
.admin-tabs button:hover,
.admin-home-link:hover {
  color: var(--deep-forest);
  background: var(--gold);
}

.admin-home-link {
  margin-top: auto;
  box-shadow: none;
  text-transform: none;
}

.admin-main {
  min-width: 0;
  padding: clamp(22px, 4vw, 44px);
}

.admin-topbar,
.admin-section-header,
.admin-account,
.admin-actions {
  display: flex;
  align-items: center;
}

.admin-topbar,
.admin-section-header {
  justify-content: space-between;
  gap: 18px;
}

.admin-topbar {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(45, 47, 36, 0.12);
}

.admin-topbar h1,
.admin-section-header h2,
.admin-card h2 {
  margin: 0;
  color: var(--deep-forest);
}

.admin-section-header p,
.admin-card p,
.admin-empty,
.admin-help {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-help {
  max-width: 820px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(210, 74, 36, 0.16);
  border-radius: 8px;
  color: #574537;
  background: #fff6e7;
  font-weight: 800;
  line-height: 1.55;
}

.admin-account {
  gap: 12px;
  font-weight: 800;
}

.admin-login {
  display: grid;
  place-items: start center;
}

.admin-workspace {
  min-width: 0;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 20px;
  margin-top: 18px;
}

.admin-list,
.admin-card {
  border: 1px solid rgba(45, 47, 36, 0.12);
  border-radius: 8px;
  background: #fffaf3;
  box-shadow: 0 18px 44px rgba(30, 28, 20, 0.08);
}

.admin-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  padding: 10px;
}

.admin-list-item {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.admin-list-item span {
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.admin-list-item:hover,
.admin-list-item.is-selected {
  border-color: rgba(210, 74, 36, 0.26);
  background: #f6efe4;
}

.admin-card {
  width: min(620px, 100%);
  padding: 20px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--deep-forest);
  font-weight: 850;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid rgba(45, 47, 36, 0.16);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.admin-form textarea {
  resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(210, 74, 36, 0.12);
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-check {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px !important;
}

.admin-check input {
  width: 18px;
  height: 18px;
}

.admin-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.danger-cta {
  border-color: rgba(176, 42, 22, 0.3);
  color: #9d2617;
  background: #fff1ec;
}

.danger-cta:hover {
  color: #fff;
  background: #b02a16;
}

.admin-bank-heading,
.admin-bank-card-heading,
.admin-contact-heading,
.admin-contact-card-heading,
.admin-contact-card-options {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-bank-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}

.admin-bank-list,
.admin-contact-list {
  display: grid;
  gap: 12px;
}

.admin-bank-card,
.admin-contact-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(45, 47, 36, 0.12);
  border-radius: 8px;
  background: #fff;
}

.admin-bank-card-heading strong,
.admin-contact-card-heading strong {
  color: var(--deep-forest);
}

.admin-contact-heading {
  align-items: center;
}

.admin-contact-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}

.admin-contact-card-options {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.admin-status {
  min-height: 22px;
  margin: 0;
  color: var(--clay-dark);
  font-weight: 800;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.admin-metric-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(45, 47, 36, 0.12);
  border-radius: 8px;
  background: #fffaf3;
  box-shadow: 0 14px 32px rgba(30, 28, 20, 0.06);
}

.admin-metric-grid span {
  display: block;
  color: var(--clay-dark);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.admin-metric-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inquiry-admin-grid {
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1.28fr);
}

.inquiry-detail-card {
  width: min(900px, 100%);
}

.inquiry-detail-empty {
  display: grid;
  gap: 8px;
  min-height: 260px;
  place-content: center;
  text-align: center;
}

.inquiry-detail-content {
  display: grid;
  gap: 16px;
}

.admin-form-eyebrow {
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#inquiryClientMeta {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.inquiry-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.inquiry-field-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(45, 47, 36, 0.1);
  border-radius: 6px;
  background: #fff;
}

.inquiry-field-grid strong {
  color: var(--deep-forest);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inquiry-field-grid small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

#inquiryEmailLink[aria-disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.payment-admin-grid {
  grid-template-columns: repeat(2, minmax(320px, 1fr));
}

.admin-card-heading {
  display: grid;
  gap: 6px;
}

.admin-card-heading h2 {
  margin: 0;
}

.admin-card-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.6;
}

.admin-contact-form {
  width: min(840px, 100%);
  margin-top: 18px;
}

@media (max-width: 980px) {
  .admin-shell,
  .admin-grid,
  .admin-metric-grid,
  .payment-method-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .admin-list {
    max-height: 320px;
  }
}

@media (max-width: 620px) {
  .admin-main {
    padding: 18px;
  }

  .admin-topbar,
  .admin-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-form-row {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a[href^="mailto:"] {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 8px 28px rgba(22, 24, 18, 0.12);
}

.utility-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 52px;
  padding: 0 32px;
  color: #fff;
  background: var(--forest);
}

.utility-group,
.utility-links,
.rating-strip,
.nav-actions,
.center-action {
  display: flex;
  align-items: center;
}

.utility-group {
  gap: 12px;
}

.currency-select {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  border: 0;
  color: #fff;
  background: transparent;
  font-weight: 800;
  letter-spacing: 0;
}

.language-picker {
  position: relative;
  min-width: 178px;
  color: var(--ink);
}

.language-button,
.language-menu button {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(31, 36, 27, 0.2);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.language-button {
  padding: 5px 9px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 70;
  display: none;
  width: max(100%, 260px);
  max-height: 290px;
  overflow-y: auto;
  border: 1px solid rgba(31, 36, 27, 0.18);
  background: #fff;
  box-shadow: 0 16px 34px rgba(23, 25, 20, 0.18);
}

.language-picker.is-open .language-menu {
  display: block;
}

.language-menu button {
  min-height: 30px;
  padding: 4px 9px;
  border: 0;
  border-bottom: 1px solid rgba(31, 36, 27, 0.08);
}

.language-menu button:hover,
.language-menu button.is-selected {
  background: #f2eadc;
}

.language-flag {
  width: 24px;
  height: 16px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lang-flag-gb {
  background:
    linear-gradient(90deg, transparent 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(transparent 36%, #fff 36% 64%, transparent 64%),
    linear-gradient(90deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
    linear-gradient(transparent 42%, #c8102e 42% 58%, transparent 58%),
    #012169;
}

.lang-flag-tz {
  background: linear-gradient(145deg, #1eb53a 0 36%, #fcd116 36% 43%, #000 43% 57%, #fcd116 57% 64%, #00a3dd 64%);
}

.lang-flag-global {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 22%, #2f5d38 23% 28%, transparent 29%),
    linear-gradient(90deg, transparent 16%, rgba(47, 93, 56, 0.9) 17% 20%, transparent 21% 49%, rgba(47, 93, 56, 0.9) 50% 53%, transparent 54% 80%, rgba(47, 93, 56, 0.9) 81% 84%, transparent 85%),
    linear-gradient(transparent 20%, rgba(47, 93, 56, 0.9) 21% 24%, transparent 25% 48%, rgba(47, 93, 56, 0.9) 49% 52%, transparent 53% 76%, rgba(47, 93, 56, 0.9) 77% 80%, transparent 81%),
    #f8f3e8;
}

.lang-flag-de {
  background: linear-gradient(#000 0 33%, #dd0000 33% 66%, #ffce00 66%);
}

.lang-flag-fr {
  background: linear-gradient(90deg, #0055a4 0 33%, #fff 33% 66%, #ef4135 66%);
}

.lang-flag-hu {
  background: linear-gradient(#ce2939 0 33%, #fff 33% 66%, #477050 66%);
}

.lang-flag-it {
  background: linear-gradient(90deg, #009246 0 33%, #fff 33% 66%, #ce2b37 66%);
}

.lang-flag-pt {
  background: linear-gradient(90deg, #006600 0 42%, #ff0000 42%);
}

.lang-flag-ru {
  background: linear-gradient(#fff 0 33%, #0039a6 33% 66%, #d52b1e 66%);
}

.lang-flag-sl {
  background: linear-gradient(#fff 0 33%, #005da4 33% 66%, #ed1c24 66%);
}

.lang-flag-es {
  background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%);
}

.currency-select span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--deep-forest);
  background: #f6b63f;
}

.currency-select select {
  max-width: 165px;
  border: 0;
  color: #fff;
  background: transparent;
  font-weight: 800;
  outline: 0;
}

.currency-select option {
  color: var(--ink);
}

.rating-strip {
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}

.rating-badge {
  font-weight: 900;
}

.rating-copy {
  font-size: 0.78rem;
  font-style: italic;
  opacity: 0.88;
}

.utility-links {
  justify-content: flex-end;
  gap: 24px;
  font-size: 0.93rem;
  font-weight: 800;
}

.main-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 80px;
  padding: 0 32px;
  background: #e7dccb;
}

.brand {
  position: relative;
  display: inline-grid;
  align-items: center;
  min-width: 228px;
  color: var(--deep-forest);
}

.brand-wordmark {
  display: grid;
  min-width: 0;
}

.brand-line {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.brand-main,
.brand-script {
  line-height: 0.9;
}

.brand-main {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-style: normal;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 1px 0 rgba(36, 28, 5, 0.35);
}

.brand-q {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 0.86em;
  height: 0.86em;
  margin-right: 0.02em;
  border: 0.09em solid currentColor;
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.04em;
  line-height: 1;
  text-indent: -999px;
}

.brand-q::before {
  content: "";
  position: absolute;
  inset: 0.22em 0.2em 0.28em;
  border-radius: 999px 999px 36% 36%;
  background:
    linear-gradient(155deg, transparent 0 43%, currentColor 44% 52%, transparent 53%),
    linear-gradient(8deg, transparent 0 42%, var(--makini-brown, var(--deep-forest)) 43% 52%, transparent 53%);
}

.brand-q::after {
  content: "";
  position: absolute;
  right: -0.17em;
  bottom: -0.08em;
  width: 0.38em;
  height: 0.11em;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(38deg);
  transform-origin: left center;
}

.brand-rest {
  margin-left: -0.04em;
}

.brand-script {
  margin-left: -2px;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.45rem, 2.8vw, 2.65rem);
  font-weight: 400;
  color: var(--gold);
}

.brand-tag {
  margin-top: -2px;
  color: var(--deep-forest);
  font-size: clamp(0.45rem, 0.6vw, 0.58rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.primary-nav a,
.utility-links a {
  transition: color 180ms ease;
}

.primary-nav a:hover,
.utility-links a:hover {
  color: var(--clay);
}

.nav-actions {
  gap: 12px;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
  background: #f0e6d8;
}

.icon-link::before {
  color: var(--clay);
  font-size: 1.28rem;
  line-height: 1;
}

.icon-link[aria-label="Favorites"]::before {
  content: "♥";
}

.icon-link[aria-label="Search"]::before {
  content: "⌕";
  color: var(--ink);
  font-size: 1.6rem;
}

.request-button,
.primary-cta,
.small-cta,
.ghost-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.request-button,
.primary-cta {
  padding: 0 28px;
  color: #fff;
  background: var(--clay);
  box-shadow: 0 13px 24px rgba(161, 63, 33, 0.24);
}

.auth-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid rgba(56, 81, 38, 0.22);
  border-radius: 6px;
  padding: 0 13px 0 8px;
  color: var(--forest);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(30, 28, 20, 0.1);
}

.auth-profile-dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--deep-forest);
  background: var(--gold);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0;
}

.client-profile {
  position: relative;
}

.client-chip {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 50%;
  padding: 3px;
  color: var(--forest);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.client-chip:hover,
.client-chip[aria-expanded="true"] {
  box-shadow: none;
  transform: translateY(-1px);
}

.client-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  color: var(--deep-forest);
  background: var(--gold);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(22, 24, 18, 0.16);
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-avatar span,
.client-profile-avatar span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.client-profile-text {
  display: grid;
  min-width: 0;
  line-height: 1.05;
  text-align: left;
}

.client-profile-label {
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 950;
}

#clientChipName {
  min-width: 0;
  overflow: hidden;
  color: rgba(31, 36, 27, 0.68);
  font-size: 0.62rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-chip::after {
  content: none;
}

.client-profile-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1000;
  display: grid;
  justify-items: center;
  width: min(350px, calc(100vw - 28px));
  padding: 22px 18px 16px;
  color: var(--ink);
  border: 1px solid rgba(36, 53, 26, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(18, 20, 15, 0.26), 0 2px 10px rgba(18, 20, 15, 0.08);
}

.client-profile-close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #313a2f;
  background: transparent;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.client-profile-close:hover {
  background: rgba(36, 53, 26, 0.08);
}

.client-profile-email {
  margin: 0 18px 18px;
  max-width: calc(100% - 36px);
  color: rgba(31, 36, 27, 0.68);
  font-size: 0.88rem;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-align: center;
}

.client-profile-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  color: var(--deep-forest);
  background: linear-gradient(135deg, var(--gold), #ffe0a8);
  box-shadow: 0 10px 24px rgba(36, 53, 26, 0.18);
  font-size: 1.25rem;
  font-weight: 950;
}

.client-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-profile-menu h3 {
  margin: 12px 0 4px;
  color: #20251d;
  font-size: 1.35rem;
  font-weight: 700;
}

.client-profile-manage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(26, 87, 214, 0.3);
  border-radius: 999px;
  padding: 0 24px;
  color: #1e4fbd;
  background: rgba(248, 251, 255, 0.94);
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.client-profile-manage:hover {
  background: #eef4ff;
}

.client-profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 100%;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
}

.client-profile-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 0;
  color: #1f241b;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 850;
  cursor: pointer;
}

.client-profile-actions button:hover {
  background: #f6efe4;
}

.client-profile-actions button:disabled {
  color: rgba(31, 36, 27, 0.38);
  background: #f7f4ef;
  cursor: not-allowed;
}

.client-profile-footnote {
  margin: 18px 0 0;
  color: rgba(31, 36, 27, 0.68);
  font-size: 0.75rem;
  font-weight: 650;
}

.request-button:hover,
.primary-cta:hover,
.small-cta:hover {
  background: var(--clay-dark);
}

.small-cta {
  min-height: 36px;
  padding: 0 18px;
  color: #fff;
  background: #c97944;
  font-size: 0.77rem;
}

.ghost-cta {
  padding: 0 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.menu-toggle .menu-label {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 78vh, 760px);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  scroll-margin-top: 108px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6500ms linear;
  z-index: -2;
}

.hero.is-moving .hero-media {
  transform: scale(1.1);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 10, 4, 0.72), rgba(7, 10, 4, 0.34) 42%, rgba(7, 10, 4, 0.56)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
}

.hero-content {
  width: min(900px, calc(100% - 42px));
  margin: auto;
  padding: 90px 0 74px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero .eyebrow {
  color: #ffe0a8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 850px;
  margin: 24px auto 0;
  font-size: clamp(1.08rem, 2.2vw, 1.48rem);
  font-weight: 700;
}

.sales-answer-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: #1f2c16;
}

.sales-answer-strip article {
  min-width: 0;
  padding: 6px clamp(8px, 0.9vw, 12px);
  background: #25371b;
}

.sales-answer-strip strong {
  display: block;
  color: #f4c774;
  font-size: clamp(0.68rem, 0.76vw, 0.78rem);
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.sales-answer-strip span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 250, 243, 0.82);
  font-size: 0.6rem;
  font-weight: 750;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 58px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
  cursor: pointer;
}

.hero-prev {
  left: 0;
}

.hero-next {
  right: 0;
}

.trust-band,
.agent-offers-section,
.tour-section,
.split-showcase,
.planner {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 58px);
}

.section-intro {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-intro h2,
.showcase-copy h2,
.planner-copy h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 48px;
  width: min(1040px, 100%);
  margin: 0 auto 32px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 32px;
  margin-bottom: 16px;
  color: #fff;
  border-radius: 4px;
  background: #dc8552;
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-item h3 {
  font-size: 1.04rem;
}

.feature-item p {
  max-width: 280px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.trust-band > .small-cta {
  margin: 0 auto;
}

.agent-offers-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(22, 38, 17, 0.98), rgba(48, 71, 33, 0.96)),
    url("assets/downloaded-images/serengeti-national-park-lion.jpg") center / cover;
}

.agent-offers-section .section-intro h2 {
  color: #fff;
}

.agent-offers-section .section-intro h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.agent-offers-section .section-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.agent-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.agent-offer-card {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 44px rgba(8, 14, 6, 0.22);
  backdrop-filter: blur(8px);
}

.agent-offer-type {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-offer-card h3 {
  color: #fff;
  font-size: 1.35rem;
}

.agent-offer-card strong {
  color: #f4c774;
  line-height: 1.4;
}

.agent-offer-card p,
.agent-offer-card small {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.agent-offer-card small {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 750;
}

.agent-offer-card .small-cta {
  justify-self: start;
  margin-top: 4px;
}

.agent-brochure-area {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.agent-brochure-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.agent-brochure-heading h3 {
  margin-top: 5px;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.agent-brochure-heading p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.agent-brochure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.agent-brochure-card {
  position: relative;
  display: grid;
  grid-template-rows: 210px auto;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  border-radius: 8px;
  background: #fffaf3;
  box-shadow: 0 18px 38px rgba(8, 14, 6, 0.24);
}

.agent-brochure-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.agent-brochure-card:hover img {
  transform: scale(1.04);
}

.agent-brochure-card span {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.agent-brochure-card small {
  color: var(--clay);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agent-brochure-card strong {
  color: var(--deep-forest);
  font-size: 1.08rem;
}

.agent-brochure-card em {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 850;
}

.agent-page {
  min-height: 100vh;
  background: var(--deep-forest);
}

.agent-page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 52px);
  color: #fff;
  background: rgba(21, 35, 16, 0.96);
  box-shadow: 0 12px 30px rgba(8, 14, 6, 0.24);
  backdrop-filter: blur(12px);
}

.agent-page-brand {
  width: 165px;
}

.agent-page-brand .brand-logo {
  width: 100%;
  height: auto;
}

.agent-page-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.agent-page-header nav > a:not(.small-cta) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 850;
}

.agent-page-header nav > a:not(.small-cta):hover {
  color: var(--gold);
}

.agent-offers-page-section {
  min-height: calc(100vh - 80px);
  padding-top: clamp(64px, 8vw, 110px);
}

.agent-program-hero,
.agent-program-section,
.agent-program-cta {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.agent-program-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 74px);
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(213, 165, 49, 0.2), transparent 32%),
    linear-gradient(135deg, #152411, #2f4821);
}

.agent-program-hero-copy {
  display: grid;
  justify-items: start;
  gap: 22px;
  max-width: 760px;
}

.agent-program-hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 6.5vw, 6rem);
  line-height: 0.96;
}

.agent-program-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.7;
}

.agent-program-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.agent-program-actions button {
  cursor: pointer;
}

.agent-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.agent-hero-proof span {
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  font-weight: 750;
}

.agent-hero-proof strong {
  color: var(--gold);
  font-size: 1rem;
}

.agent-program-hero-media {
  position: relative;
  min-height: 590px;
}

.agent-program-hero-media img {
  width: 100%;
  height: 590px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(5, 10, 4, 0.4);
}

.agent-program-hero-media div {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  gap: 7px;
  padding: 20px;
  border-left: 5px solid var(--gold);
  background: rgba(18, 31, 13, 0.9);
  backdrop-filter: blur(10px);
}

.agent-program-hero-media small {
  color: var(--gold);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-program-hero-media strong {
  color: #fff;
  line-height: 1.45;
}

.agent-program-section {
  background: #fffaf3;
}

.agent-program-section:nth-of-type(even) {
  background: #f1e8d7;
}

.agent-benefit-grid,
.commission-tier-grid,
.agent-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.agent-benefit-grid article,
.commission-tier-grid article {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 25px;
  border: 1px solid rgba(45, 47, 36, 0.12);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(30, 28, 20, 0.07);
}

.agent-benefit-grid span {
  display: grid;
  place-items: center;
  width: fit-content;
  min-width: 48px;
  min-height: 36px;
  padding: 5px 10px;
  color: var(--deep-forest);
  border-radius: 4px;
  background: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
}

.agent-benefit-grid h3,
.commission-tier-grid h3 {
  color: var(--deep-forest);
  font-size: 1.08rem;
}

.agent-benefit-grid p,
.commission-tier-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.commission-tier-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.commission-tier-grid article {
  border-top: 4px solid #c99a37;
}

.commission-tier-grid article.is-featured {
  color: #fff;
  border-color: var(--gold);
  background: var(--deep-forest);
  transform: translateY(-8px);
}

.commission-tier-grid span {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.commission-tier-grid strong {
  color: var(--clay-dark);
  font-size: 3.2rem;
  line-height: 1;
}

.commission-tier-grid .is-featured strong,
.commission-tier-grid .is-featured h3 {
  color: var(--gold);
}

.commission-tier-grid .is-featured p,
.commission-tier-grid .is-featured span {
  color: rgba(255, 255, 255, 0.74);
}

.agent-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agent-product-grid article {
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(30, 28, 20, 0.1);
}

.agent-product-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.agent-product-grid div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.agent-product-grid span {
  color: var(--clay);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agent-product-grid h3 {
  color: var(--deep-forest);
}

.agent-product-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.agent-process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.agent-process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(45, 47, 36, 0.12);
  border-radius: 8px;
  background: #fff;
}

.agent-process-list span {
  color: var(--clay);
  font-size: 1.3rem;
  font-weight: 950;
}

.agent-process-list h3 {
  color: var(--deep-forest);
}

.agent-process-list p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.agent-program-cta {
  display: grid;
  justify-items: center;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(19, 33, 14, 0.9), rgba(19, 33, 14, 0.92)),
    url("assets/downloaded-images/serengeti-national-park-lion.jpg") center / cover;
}

.agent-program-cta h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.agent-program-cta > p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.76);
}

.agent-program-contact {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.agent-program-contact a,
.agent-program-contact span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.agent-form-dialog {
  width: min(900px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border: 0;
  border-radius: 12px;
  padding: 0;
  color: var(--ink);
  background: #fffaf3;
  box-shadow: 0 34px 90px rgba(10, 16, 7, 0.44);
}

.agent-form-dialog::backdrop {
  background: rgba(8, 14, 6, 0.76);
  backdrop-filter: blur(5px);
}

.agent-form-panel {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(24px, 5vw, 48px);
}

.agent-form-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--deep-forest);
  cursor: pointer;
}

.agent-form-intro {
  display: grid;
  gap: 7px;
  padding-right: 48px;
}

.agent-form-intro h2 {
  color: var(--deep-forest);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.agent-form-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.agent-lead-form {
  display: grid;
  gap: 16px;
}

.agent-lead-form[hidden] {
  display: none;
}

.agent-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.agent-lead-form label {
  display: grid;
  gap: 7px;
  color: var(--deep-forest);
  font-weight: 850;
}

.agent-lead-form input,
.agent-lead-form select,
.agent-lead-form textarea {
  width: 100%;
  border: 1px solid rgba(45, 47, 36, 0.18);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.agent-lead-form input:focus,
.agent-lead-form select:focus,
.agent-lead-form textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(210, 74, 36, 0.12);
}

.agent-lead-form fieldset {
  border: 1px solid rgba(45, 47, 36, 0.12);
  border-radius: 7px;
  padding: 13px;
}

.agent-lead-form legend {
  padding: 0 6px;
  color: var(--deep-forest);
  font-weight: 850;
}

.agent-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.agent-choice-grid label,
.agent-consent {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.agent-choice-grid input,
.agent-consent input {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.agent-form-note {
  margin: 0;
  padding: 11px 13px;
  border-left: 4px solid var(--gold);
  color: #584934;
  background: #f5ead6;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.5;
}

.agent-form-status {
  min-height: 22px;
  margin: 0;
  color: var(--clay-dark);
  font-weight: 850;
}

.agent-form-status a {
  margin-left: 5px;
  color: var(--deep-forest);
  text-decoration: underline;
}

.agent-form-submit {
  justify-self: start;
}

.agent-form-submit:disabled {
  opacity: 0.58;
  cursor: wait;
}

.agent-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

body.agent-form-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .agent-offer-grid,
  .agent-brochure-grid {
    grid-template-columns: 1fr;
  }

  .agent-brochure-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-program-hero {
    grid-template-columns: 1fr;
  }

  .agent-program-hero-media {
    min-height: 420px;
  }

  .agent-program-hero-media img {
    height: 420px;
  }

  .agent-benefit-grid,
  .agent-product-grid,
  .agent-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .commission-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .agent-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-page-header nav {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }

  .agent-page-header nav a:not(.small-cta) {
    display: none;
  }

  .agent-hero-proof,
  .agent-benefit-grid,
  .commission-tier-grid,
  .agent-product-grid,
  .agent-process-list,
  .agent-form-grid,
  .agent-choice-grid {
    grid-template-columns: 1fr;
  }

  .commission-tier-grid article.is-featured {
    transform: none;
  }

  .agent-form-panel {
    padding: 24px 18px;
  }
}

.sand {
  background: var(--sand);
}

.brochure-page {
  min-height: 100vh;
  color: var(--ink);
  background: #eee5d5;
}

.brochure-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 4vw, 52px);
  color: #fff;
  background: var(--deep-forest);
  box-shadow: 0 10px 28px rgba(20, 28, 15, 0.22);
}

.brochure-brand {
  width: 150px;
}

.brochure-brand .brand-logo {
  width: 100%;
  height: auto;
}

.brochure-toolbar nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.brochure-toolbar nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 850;
}

.brochure-toolbar nav a:hover {
  color: var(--gold);
}

.brochure-shell {
  display: grid;
  gap: 34px;
  width: min(1220px, calc(100% - 36px));
  margin: 34px auto;
}

.brochure-cover {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 720px;
  overflow: hidden;
  border-radius: 10px;
  background: #fffaf3;
  box-shadow: 0 28px 64px rgba(34, 31, 22, 0.16);
}

.brochure-cover > img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
}

.brochure-cover-reverse > img {
  order: 2;
}

.brochure-cover-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
  padding: clamp(34px, 6vw, 74px);
}

.brochure-cover-copy h1,
.brochure-cover-copy h2 {
  max-width: 560px;
  color: var(--deep-forest);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.brochure-cover-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
}

.brochure-highlights {
  display: grid;
  gap: 10px;
  width: 100%;
}

.brochure-highlights span {
  display: grid;
  gap: 3px;
  padding: 13px 15px;
  border-left: 4px solid var(--gold);
  color: var(--muted);
  background: #f4edde;
  font-size: 0.82rem;
  font-weight: 750;
}

.brochure-highlights strong {
  color: var(--deep-forest);
  font-size: 0.95rem;
}

.brochure-contact {
  padding: 54px 28px;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  background: var(--deep-forest);
}

.brochure-contact h2 {
  margin-top: 8px;
  color: #fff;
}

.brochure-contact p:not(.eyebrow) {
  margin: 10px 0 22px;
  color: rgba(255, 255, 255, 0.76);
}

.brochure-document-section {
  padding: clamp(44px, 6vw, 76px);
  border-radius: 10px;
  background: #fffaf3;
  box-shadow: 0 22px 54px rgba(34, 31, 22, 0.12);
}

.brochure-document-heading {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}

.brochure-document-heading h2 {
  color: var(--deep-forest);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.brochure-document-heading p:not(.eyebrow) {
  color: var(--muted);
}

.brochure-benefit-grid,
.brochure-package-grid,
.brochure-process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.brochure-benefit-grid article,
.brochure-process-list li {
  display: grid;
  gap: 9px;
  padding: 20px;
  border: 1px solid rgba(45, 47, 36, 0.12);
  border-radius: 8px;
  background: #fff;
}

.brochure-benefit-grid strong,
.brochure-process-list span {
  color: var(--clay);
  font-size: 1.7rem;
  font-weight: 950;
}

.brochure-benefit-grid h3,
.brochure-process-list strong {
  color: var(--deep-forest);
  font-size: 1.02rem;
}

.brochure-benefit-grid p,
.brochure-process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.brochure-package-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brochure-package-grid article {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(30, 28, 20, 0.08);
}

.brochure-package-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.brochure-package-grid div {
  display: grid;
  gap: 7px;
  padding: 15px;
}

.brochure-package-grid span {
  color: var(--clay);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brochure-package-grid h3 {
  color: var(--deep-forest);
}

.brochure-package-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.brochure-commission-table {
  display: grid;
  width: min(900px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(45, 47, 36, 0.12);
  border-radius: 10px;
  background: #fff;
}

.brochure-commission-table div {
  display: grid;
  grid-template-columns: 1fr 0.6fr 1fr;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(45, 47, 36, 0.1);
}

.brochure-commission-table div:first-child {
  color: #fff;
  background: var(--deep-forest);
}

.brochure-commission-table div:last-child {
  border-bottom: 0;
}

.brochure-commission-table strong {
  color: var(--clay);
  font-size: 1.4rem;
}

.brochure-commission-table span,
.brochure-commission-table em {
  color: var(--muted);
  font-style: normal;
  font-weight: 850;
}

.brochure-commission-table div:first-child span,
.brochure-commission-table div:first-child strong,
.brochure-commission-table div:first-child em {
  color: #fff;
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .brochure-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .brochure-cover {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .brochure-cover > img,
  .brochure-cover-reverse > img {
    order: 0;
    height: 320px;
    min-height: 320px;
  }

  .brochure-benefit-grid,
  .brochure-package-grid,
  .brochure-process-list {
    grid-template-columns: 1fr;
  }

  .brochure-commission-table div {
    grid-template-columns: 1fr;
  }
}

@media print {
  .brochure-toolbar {
    display: none;
  }

  .brochure-page {
    background: #fff;
  }

  .brochure-shell {
    display: block;
    width: 100%;
    margin: 0;
  }

  .brochure-cover,
  .brochure-document-section,
  .brochure-contact {
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    break-after: page;
    page-break-after: always;
  }

  .brochure-cover > img {
    min-height: 100vh;
  }
}

/* Refined agent program visual system */
.agent-page,
.agent-program-page,
.brochure-page {
    --agent-card-radius: 14px;
    --agent-soft-border: rgba(31, 59, 47, 0.14);
    --agent-soft-shadow: 0 14px 36px rgba(22, 48, 38, 0.09);
}

.agent-program-hero {
    min-height: auto;
    gap: clamp(34px, 5vw, 58px);
    padding: clamp(64px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.agent-program-hero-copy {
    max-width: 700px;
}

.agent-program-hero h1 {
    max-width: 680px;
    margin-bottom: 18px;
    font-size: clamp(2.35rem, 4.6vw, 4.35rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.agent-program-hero-copy > p {
    max-width: 650px;
    font-size: clamp(0.98rem, 1.35vw, 1.08rem);
    line-height: 1.75;
}

.agent-program-hero-media {
    min-height: 500px;
    border-radius: 18px;
    box-shadow: 0 22px 54px rgba(9, 29, 22, 0.22);
}

.agent-program-hero-actions {
    gap: 11px;
    margin-top: 26px;
}

.agent-page .primary-btn,
.agent-page .secondary-btn,
.agent-program-page .primary-btn,
.agent-program-page .secondary-btn,
.agent-page-header .primary-btn {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    letter-spacing: 0.025em;
}

.agent-program-section,
.agent-offers-section {
    padding-top: clamp(58px, 7vw, 88px);
    padding-bottom: clamp(58px, 7vw, 88px);
}

.agent-program-section .section-intro,
.agent-offers-section .section-intro {
    max-width: 760px;
    margin-bottom: clamp(28px, 4vw, 42px);
}

.agent-program-section .section-intro h2,
.agent-offers-section .section-intro h1,
.agent-offers-section .section-intro h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.85rem);
    line-height: 1.14;
    letter-spacing: -0.025em;
}

.agent-program-section .section-intro p,
.agent-offers-section .section-intro p {
    font-size: 0.98rem;
    line-height: 1.72;
}

.agent-benefit-grid,
.commission-tier-grid,
.agent-product-grid,
.agent-offers-grid {
    gap: clamp(14px, 2vw, 20px);
}

.agent-benefit-card,
.commission-tier,
.agent-product-card,
.agent-offer-card,
.agent-process-list li {
    border: 1px solid var(--agent-soft-border);
    border-radius: var(--agent-card-radius);
    box-shadow: var(--agent-soft-shadow);
}

.agent-benefit-card,
.commission-tier,
.agent-offer-card {
    padding: clamp(20px, 2.5vw, 26px);
}

.agent-benefit-card:hover,
.commission-tier:hover,
.agent-product-card:hover,
.agent-offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(22, 48, 38, 0.13);
}

.agent-benefit-card h3,
.agent-product-card h3,
.agent-offer-card h2,
.agent-process-list h3 {
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.3;
}

.agent-benefit-card p,
.agent-product-card p,
.agent-offer-card p,
.agent-process-list p,
.commission-tier span {
    font-size: 0.91rem;
    line-height: 1.65;
}

.commission-tier-grid strong {
    margin-bottom: 8px;
    font-size: clamp(2rem, 3.3vw, 2.65rem);
    line-height: 1;
}

.agent-product-card img {
    height: 185px;
}

.agent-product-card-copy {
    padding: 20px;
}

.agent-process-list {
    gap: 13px;
}

.agent-process-list li {
    min-height: auto;
    padding: 19px 20px 19px 72px;
}

.agent-process-list li::before {
    left: 19px;
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
}

.agent-program-cta {
    padding: clamp(54px, 7vw, 82px) clamp(18px, 5vw, 64px);
}

.agent-program-cta h2 {
    max-width: 760px;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    line-height: 1.14;
}

.agent-program-cta p {
    max-width: 650px;
    font-size: 0.98rem;
    line-height: 1.7;
}

.agent-page-header {
    box-shadow: 0 8px 24px rgba(15, 40, 31, 0.08);
}

.agent-page-header nav a {
    font-size: 0.84rem;
    letter-spacing: 0.025em;
}

.agent-modal-dialog {
    max-width: 840px;
    border-radius: 16px;
    box-shadow: 0 28px 70px rgba(8, 29, 21, 0.26);
}

.agent-form-intro h2 {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    line-height: 1.16;
}

.agent-form-intro p,
.agent-form-note {
    font-size: 0.9rem;
    line-height: 1.6;
}

.agent-form-grid label {
    font-size: 0.83rem;
}

.agent-form-grid input,
.agent-form-grid select,
.agent-form-grid textarea {
    min-height: 46px;
    border-radius: 8px;
}

.brochure-cover-copy h1,
.brochure-cover-copy h2 {
    font-size: clamp(2.05rem, 3.8vw, 3.45rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.brochure-cover-copy p {
    font-size: clamp(0.98rem, 1.4vw, 1.1rem);
    line-height: 1.7;
}

.brochure-document-heading h2 {
    font-size: clamp(1.75rem, 2.9vw, 2.5rem);
    line-height: 1.15;
}

.brochure-document-heading p,
.brochure-document p {
    font-size: 0.94rem;
    line-height: 1.68;
}

.brochure-document .agent-benefit-card,
.brochure-document .commission-tier,
.brochure-document .agent-product-card,
.brochure-document .agent-process-list li {
    box-shadow: 0 10px 28px rgba(22, 48, 38, 0.08);
}

@media (max-width: 900px) {
    .agent-program-hero {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .agent-program-hero h1 {
        font-size: clamp(2.15rem, 8vw, 3.35rem);
    }

    .agent-program-hero-media {
        min-height: 360px;
    }
}

@media (max-width: 640px) {
    .agent-program-hero {
        gap: 28px;
        padding: 44px 16px 50px;
    }

    .agent-program-hero h1 {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

    .agent-program-hero-media {
        min-height: 300px;
        border-radius: 12px;
    }

    .agent-program-section,
    .agent-offers-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .agent-benefit-card,
    .commission-tier,
    .agent-offer-card,
    .agent-product-card {
        border-radius: 11px;
    }

    .agent-process-list li {
        padding: 18px 16px 18px 64px;
    }

    .agent-process-list li::before {
        left: 15px;
    }

    .agent-program-cta h2 {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }

    .brochure-cover-copy h1,
    .brochure-cover-copy h2 {
        font-size: clamp(1.9rem, 9vw, 2.65rem);
    }
}

@media print {
    .brochure-cover,
    .brochure-document-section,
    .brochure-contact,
    .brochure-document .agent-benefit-card,
    .brochure-document .commission-tier,
    .brochure-document .agent-product-card,
    .brochure-document .agent-process-list li {
        border-radius: 0;
        box-shadow: none;
    }

    .brochure-cover-copy h1,
    .brochure-cover-copy h2 {
        font-size: 34pt;
    }

    .brochure-document-heading h2 {
        font-size: 25pt;
    }
}

/* Agent partner portal */
.agent-page {
  color: #17261c;
  background: #f6f3ed;
}

.agent-page-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 68px;
  padding: 9px clamp(20px, 6vw, 86px);
  color: #17261c;
  border-bottom: 1px solid rgba(23, 38, 28, 0.1);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 20px rgba(16, 33, 23, 0.08);
}

.agent-page-brand {
  width: 170px;
  filter: none;
}

.agent-page-header nav {
  gap: clamp(14px, 2.4vw, 32px);
}

.agent-page-header nav > a:not(.small-cta) {
  position: relative;
  padding: 11px 0;
  color: #59635d;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-page-header nav > a:not(.small-cta)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: #bc6d0a;
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: 180ms ease;
}

.agent-page-header nav > a:not(.small-cta):hover {
  color: #17261c;
}

.agent-page-header nav > a:not(.small-cta):hover::after,
.agent-page-header nav > a:first-child::after {
  opacity: 1;
  transform: scaleX(1);
}

.agent-page-header .small-cta {
  min-height: 38px;
  padding: 10px 18px;
  color: #fff;
  border-color: #172d1d;
  border-radius: 0;
  background: #172d1d;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-program-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(590px, 76vh, 760px);
  padding: clamp(82px, 11vw, 148px) clamp(22px, 12vw, 170px) clamp(125px, 15vw, 175px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 18, 12, 0.92) 0%, rgba(9, 25, 17, 0.72) 47%, rgba(10, 24, 17, 0.25) 100%),
    linear-gradient(0deg, rgba(6, 18, 12, 0.64), transparent 44%),
    url("assets/downloaded-images/close-up-safari-road.jpeg") center 61% / cover no-repeat;
}

.agent-program-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 17, 11, 0.12), transparent 55%, rgba(3, 13, 8, 0.38));
  content: "";
}

.agent-program-hero-copy {
  display: grid;
  justify-items: start;
  gap: 18px;
  width: min(680px, 100%);
  max-width: none;
  min-width: 0;
}

.agent-program-hero .eyebrow {
  color: #f4b24b;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.agent-program-hero h1 {
  width: 100%;
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 4.4vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.25);
}

.agent-program-hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.9rem, 1.25vw, 1.02rem);
  font-weight: 650;
  line-height: 1.7;
}

.agent-program-actions {
  gap: 12px;
  max-width: 100%;
  margin-top: 8px;
}

.agent-program-actions .primary-cta,
.agent-program-actions .small-cta {
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 0;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-program-actions .primary-cta {
  border-color: #b96500;
  background: #b96500;
}

.agent-program-actions .small-cta {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.agent-program-actions .primary-cta:hover,
.agent-program-actions .small-cta:hover {
  transform: translateY(-2px);
}

.agent-hero-benefits {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: -64px auto 0;
}

.agent-hero-benefits article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: start;
  min-height: 142px;
  padding: 25px;
  border: 1px solid rgba(24, 45, 32, 0.09);
  background: #fff;
  box-shadow: 0 17px 38px rgba(18, 38, 26, 0.12);
}

.agent-hero-benefits article > div {
  min-width: 0;
}

.agent-benefit-icon {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 7px;
  color: #b96500;
  border-radius: 7px;
  background: #f6f0e8;
  font-size: 0.7rem;
  font-weight: 950;
}

.agent-hero-benefits strong {
  color: #172d1d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.agent-hero-benefits p {
  margin: 7px 0 0;
  color: #69726c;
  font-size: 0.82rem;
  line-height: 1.55;
}

.agent-why-section {
  padding-top: clamp(100px, 11vw, 145px);
}

.agent-program-cta {
  min-height: 430px;
  padding: 75px 20px;
  background:
    linear-gradient(rgba(3, 17, 11, 0.68), rgba(3, 17, 11, 0.78)),
    url("assets/downloaded-images/african-landscape-lion.jpg") center 45% / cover;
}

.agent-program-cta .eyebrow {
  color: #f3ae43;
}

.agent-program-cta h2 {
  max-width: 820px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4.15rem);
  font-weight: 700;
  line-height: 1.02;
}

.agent-program-contact {
  gap: 24px;
  margin-top: 34px;
}

.agent-program-contact a,
.agent-program-contact span {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.agent-program-contact a:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -14px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c67612;
  content: "";
}

.agent-page-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) minmax(150px, 0.75fr) minmax(150px, 0.75fr);
  gap: clamp(40px, 8vw, 120px);
  padding: clamp(58px, 8vw, 88px) clamp(22px, 8vw, 110px);
  color: rgba(255, 255, 255, 0.7);
  background: #03160b;
}

.agent-footer-about {
  max-width: 440px;
}

.agent-footer-brand {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.agent-page-footer p {
  margin: 20px 0 28px;
  font-size: 0.82rem;
  line-height: 1.75;
}

.agent-page-footer small {
  font-size: 0.7rem;
}

.agent-page-footer nav {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 13px;
}

.agent-page-footer nav strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agent-page-footer nav a,
.agent-page-footer nav button {
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.76rem;
  text-align: left;
  cursor: pointer;
}

.agent-page-footer nav a:hover,
.agent-page-footer nav button:hover {
  color: #f0a83d;
}

@media (max-width: 860px) {
  .agent-page-header {
    align-items: center;
    flex-direction: row;
  }

  .agent-page-header nav > a {
    display: none;
  }

  .agent-program-hero {
    min-height: 640px;
    padding: 80px 24px 130px;
    background-position: 58% center;
  }

  .agent-program-hero h1 {
    font-size: clamp(2.35rem, 8vw, 3.55rem);
  }

  .agent-hero-benefits {
    grid-template-columns: 1fr;
    width: min(620px, calc(100% - 28px));
    margin-top: -72px;
  }

  .agent-hero-benefits article {
    min-height: auto;
    padding: 20px;
  }

  .agent-why-section {
    padding-top: 75px;
  }

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

  .agent-footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .agent-page main,
  .agent-program-hero,
  .agent-program-hero-copy,
  .agent-program-hero h1,
  .agent-program-hero-copy > p,
  .agent-program-actions {
    max-width: 100%;
    min-width: 0;
  }

  .agent-page-header {
    min-height: 60px;
    padding: 8px 12px;
  }

  .agent-page-brand {
    width: 138px;
  }

  .agent-page-header .small-cta {
    min-height: 36px;
    padding: 9px 11px;
    font-size: 0.58rem;
  }

  .agent-program-hero {
    min-height: 600px;
    padding: 65px 17px 116px;
    background-position: 62% center;
  }

  .agent-program-hero h1 {
    font-size: clamp(2.05rem, 9.5vw, 2.75rem);
  }

  .agent-program-hero-copy > p:not(.eyebrow) {
    font-size: 0.88rem;
  }

  .agent-program-actions {
    display: grid;
    width: 100%;
  }

  .agent-program-actions .primary-cta,
  .agent-program-actions .small-cta {
    width: 100%;
    text-align: center;
  }

  .agent-hero-benefits {
    margin-top: -58px;
  }

  .agent-page-footer {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .agent-footer-about {
    grid-column: auto;
  }

  .agent-program-contact {
    display: grid;
    gap: 10px;
  }

  .agent-program-contact a::after {
    display: none;
  }
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: min(1440px, 100%);
  margin: 0 auto;
}

.tour-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 24px rgba(46, 40, 30, 0.07);
}

.tour-card:hover .tour-image img {
  transform: scale(1.06);
}

.tour-image {
  position: relative;
  overflow: hidden;
  background: #d5c5ad;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms ease;
}

.tour-days {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  color: #fff;
  background: rgba(20, 22, 15, 0.72);
  font-size: 0.74rem;
  font-weight: 900;
}

.tour-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.tour-body h3 {
  min-height: 42px;
  font-size: 1rem;
}

.price {
  color: var(--clay);
  font-weight: 900;
}

.tour-meta,
.tour-route {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.tour-route strong,
.tour-meta strong {
  color: var(--ink);
}

.tour-card .small-cta {
  justify-self: start;
  margin-top: 2px;
}

.center-action {
  justify-content: center;
  margin-top: 34px;
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #fff;
}

.arrival-story {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 6vw, 82px) clamp(18px, 4vw, 58px);
  background:
    linear-gradient(90deg, #fffaf3, #f6efe4);
  border-bottom: 1px solid rgba(45, 47, 36, 0.1);
}

.arrival-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background:
    url("assets/downloaded-images/2025.jpg?v=1") center / cover,
    linear-gradient(135deg, rgba(116, 62, 16, 0.18), rgba(221, 91, 22, 0.08)),
    #e8ddcc;
  box-shadow: var(--shadow);
}

.arrival-photo::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  content: "Quest Serengeti Safaris";
  padding: 11px 15px;
  color: #fff;
  border-left: 4px solid var(--gold);
  background: rgba(18, 22, 14, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
}

.arrival-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.arrival-copy {
  max-width: 620px;
}

.arrival-copy h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
}

.arrival-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.arrival-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.arrival-stats span {
  display: grid;
  gap: 3px;
  min-height: 86px;
  padding: 15px;
  border-top: 3px solid var(--clay);
  background: #fff;
  box-shadow: 0 12px 24px rgba(46, 40, 30, 0.08);
}

.arrival-stats strong {
  color: var(--clay-dark);
  font-size: 1.18rem;
}

.arrival-stats small {
  color: var(--muted);
  font-weight: 800;
}

.showcase-copy {
  max-width: 620px;
}

.showcase-copy p:not(.eyebrow),
.planner-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 28px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  content: "✓";
  color: var(--clay);
}

.showcase-panel {
  position: relative;
  min-height: 500px;
}

.showcase-panel img {
  width: 100%;
  height: min(62vw, 590px);
  min-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.award-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: grid;
  max-width: 340px;
  gap: 7px;
  padding: 22px;
  color: #fff;
  border-left: 5px solid var(--gold);
  background: rgba(36, 53, 26, 0.88);
  backdrop-filter: blur(10px);
}

.award-card strong {
  font-size: 1.08rem;
}

.experience-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: var(--deep-forest);
}

.experience-strip article {
  position: relative;
  min-height: 420px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}

.experience-strip img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.experience-strip article::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.7));
}

.experience-strip h3,
.experience-strip p {
  position: relative;
  z-index: 2;
}

.experience-strip h3 {
  font-size: 1.55rem;
}

.experience-strip p {
  max-width: 420px;
  margin: 12px 0 0;
  font-weight: 700;
}

.private-lodge-tours {
  padding: clamp(44px, 6vw, 74px) clamp(10px, 2vw, 24px);
  background: #fff;
}

.compact-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.compact-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.compact-intro p:not(.eyebrow) {
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.lodge-tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(1500px, 100%);
  margin: 0 auto;
}

.lodge-tour-card {
  overflow: hidden;
  border: 1px solid rgba(45, 47, 36, 0.12);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(36, 34, 26, 0.08);
}

.lodge-tour-image {
  position: relative;
  display: block;
  min-height: 170px;
  overflow: hidden;
  background: #d9c8ad;
}

.lodge-tour-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.74));
}

.lodge-tour-image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 320ms ease;
}

.lodge-tour-card:hover .lodge-tour-image img {
  transform: scale(1.05);
}

.lodge-tour-image h3 {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 13px;
  z-index: 2;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.16;
}

.lodge-tour-body {
  display: grid;
  gap: 7px;
  padding: 14px 16px 16px;
  font-size: 0.78rem;
}

.lodge-tour-body p {
  margin: 0;
  color: var(--muted);
}

.lodge-tour-body strong {
  color: var(--ink);
}

.lodge-price {
  color: var(--clay) !important;
  font-weight: 900;
}

.lodge-tour-body .small-cta {
  justify-self: end;
  min-height: 28px;
  margin-top: 2px;
  padding: 0 14px;
  border-radius: 2px;
  font-size: 0.68rem;
}

.planner {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 22, 10, 0.94), rgba(32, 48, 25, 0.84) 52%, rgba(12, 17, 9, 0.72)),
    url("assets/downloaded-images/african-landscape-lion.jpg") center / cover;
}

.planner::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 35%),
    linear-gradient(135deg, rgba(213, 165, 49, 0.18), transparent 34%, rgba(255, 255, 255, 0.04) 34% 35%, transparent 35%);
  pointer-events: none;
}

.planner-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.planner-copy {
  display: grid;
  align-content: start;
  gap: 22px;
  min-width: 0;
}

.planner .eyebrow {
  color: #f4c774;
}

.planner-copy h2 {
  min-width: 0;
  max-width: 620px;
}

.planner-copy > p {
  min-width: 0;
  max-width: 620px;
  margin: 0;
  color: #f5e4c6;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  font-weight: 650;
}

.planner-proof-grid {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin-top: 4px;
}

.planner-proof-grid article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 5px 14px;
  align-items: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.planner-proof-grid span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #18230f;
  background: #f4c774;
  font-size: 0.78rem;
  font-weight: 950;
}

.planner-proof-grid strong {
  min-width: 0;
  color: #fff;
  font-size: 1rem;
}

.planner-proof-grid p {
  min-width: 0;
  margin: 0;
  color: rgba(255, 244, 222, 0.8);
  font-size: 0.9rem;
}

.planner-contact-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  max-width: 520px;
  padding: 18px 20px;
  border-left: 4px solid #f4c774;
  background: rgba(7, 12, 5, 0.34);
}

.planner-contact-card span {
  color: #f4c774;
  font-weight: 900;
}

.planner-contact-card a {
  display: block;
  min-width: 0;
  color: #fff;
  font-weight: 800;
}

.booking-rule-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 560px;
  padding: 20px;
  border: 1px solid rgba(244, 199, 116, 0.45);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 199, 116, 0.18), rgba(255, 250, 243, 0.06)),
    rgba(7, 12, 5, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.booking-rule-card span {
  color: #f4c774;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-rule-card strong {
  color: #fffaf3;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.booking-rule-card p {
  margin: 0;
  color: rgba(255, 244, 222, 0.84);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.7;
}

.payment-page-body {
  background: #f7f0e4;
}

.payment-page {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.94), rgba(247, 240, 228, 0.98)),
    #f7f0e4;
}

.payment-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 430px;
  margin: 0 auto;
  padding: clamp(86px, 9vw, 126px) 0 clamp(42px, 6vw, 72px);
}

.payment-hero-copy {
  display: grid;
  gap: 18px;
}

.payment-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #253018;
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 900;
  line-height: 0.94;
}

.payment-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #5e4f3e;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 750;
  line-height: 1.75;
}

.payment-hero-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 8px;
  border: 1px solid rgba(79, 65, 39, 0.16);
  box-shadow: 0 30px 70px rgba(35, 28, 16, 0.22);
}

.payment-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.payment-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(20px, 3vw, 32px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(60px, 8vw, 104px);
}

.payment-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.payment-section,
.payment-sidebar {
  min-width: 0;
  border: 1px solid rgba(65, 54, 34, 0.14);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 18px 46px rgba(42, 34, 20, 0.08);
}

.payment-section {
  padding: clamp(22px, 3vw, 34px);
}

.payment-process-card {
  display: grid;
  gap: 16px;
  scroll-margin-top: 120px;
}

.payment-process-card > span {
  color: #9a651d;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-process-card > strong,
.payment-section h2 {
  margin: 0;
  color: #253018;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.08;
}

.payment-process-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: #554837;
  font-weight: 750;
  line-height: 1.68;
}

.payment-process-note {
  margin: 0;
  padding: 13px 15px;
  border-left: 4px solid #d8a43a;
  border-radius: 0 8px 8px 0;
  color: #3e321f;
  background: #fff2cf;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.6;
}

.section-heading-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-heading-row .eyebrow {
  margin-bottom: 8px;
}

.compact-cta {
  flex: 0 0 auto;
  padding: 10px 14px;
  font-size: 0.82rem;
}

.payment-page .compact-cta {
  border-color: rgba(154, 101, 29, 0.22);
  color: #6e4b1c;
  background: #fff7e8;
}

.payment-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.payment-faq-grid div {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(37, 48, 24, 0.1);
  border-radius: 8px;
  background: #f8f4ec;
}

.payment-faq-grid h3 {
  margin: 0 0 8px;
  color: #253018;
  font-size: 1rem;
  font-weight: 900;
}

.payment-faq-grid p {
  margin: 0;
  color: #5e4f3e;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.65;
}

.bank-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(37, 48, 24, 0.12);
  border-radius: 8px;
  background: #fffdfa;
}

.bank-account-stack {
  display: grid;
  gap: 16px;
}

.bank-account-title {
  margin: 0;
  padding: 14px 16px 0;
  color: #253018;
  font-size: 1rem;
  font-weight: 900;
}

.bank-details-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.bank-details-table th,
.bank-details-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(37, 48, 24, 0.1);
  text-align: left;
  vertical-align: top;
}

.bank-details-table tr:last-child th,
.bank-details-table tr:last-child td {
  border-bottom: 0;
}

.bank-details-table th {
  width: 38%;
  color: #6e4b1c;
  background: #fbf1de;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bank-details-table td {
  color: #3d3528;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.payment-sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.payment-method-grid {
  display: grid;
  gap: 12px;
}

.payment-method-grid a {
  display: grid;
  gap: 7px;
  min-width: 0;
  min-height: 130px;
  padding: 16px;
  border: 1px solid rgba(37, 48, 24, 0.12);
  border-radius: 8px;
  color: #253018;
  background:
    linear-gradient(135deg, #fffdfa, #f5ead5);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.payment-method-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 101, 29, 0.36);
  box-shadow: 0 16px 34px rgba(42, 34, 20, 0.12);
}

.payment-method-grid small {
  color: #9a651d;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.payment-method-grid strong {
  color: #253018;
  font-size: 1rem;
  line-height: 1.2;
}

.payment-method-grid span {
  color: #62533f;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.payment-security-note {
  padding: 16px;
  border-radius: 8px;
  color: #fffaf3;
  background: #253018;
}

.payment-security-note strong {
  display: block;
  margin-bottom: 8px;
  color: #f1c96d;
  font-size: 0.95rem;
  font-weight: 900;
}

.payment-security-note p {
  margin: 0;
  color: rgba(255, 250, 243, 0.88);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .payment-hero,
  .payment-shell {
    grid-template-columns: 1fr;
  }

  .payment-hero {
    width: min(760px, calc(100% - 32px));
    padding-top: 92px;
  }

  .payment-hero-media {
    aspect-ratio: 16 / 9;
  }

  .payment-shell {
    width: min(760px, calc(100% - 32px));
  }

  .payment-sidebar {
    position: static;
  }

  .payment-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .payment-hero {
    width: min(100% - 24px, 560px);
    padding-top: 82px;
  }

  .payment-shell {
    width: min(100% - 24px, 560px);
  }

  .payment-section,
  .payment-sidebar {
    padding: 16px;
  }

  .section-heading-row {
    display: grid;
  }

  .compact-cta {
    width: fit-content;
  }
}

.payment-page .payment-shell {
  grid-template-columns: minmax(0, 800px) minmax(280px, 340px);
  align-items: start;
  gap: clamp(32px, 5vw, 74px);
}

.payment-document {
  min-width: 0;
}

.payment-document-header {
  display: grid;
  gap: 16px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(37, 48, 24, 0.18);
}

.payment-document-header h2 {
  max-width: 720px;
  margin: 0;
  color: #253018;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
}

.payment-document-header > p,
.payment-section-copy {
  max-width: 720px;
  margin: 0;
  color: #5b4e3d;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.78;
}

.payment-deposit-rule {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding: 18px 0 18px 22px;
  border-left: 5px solid #9a651d;
  background: linear-gradient(90deg, rgba(255, 242, 207, 0.88), rgba(255, 242, 207, 0));
}

.payment-deposit-rule span {
  color: #9a651d;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-deposit-rule strong {
  color: #253018;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.2;
}

.payment-deposit-rule p {
  max-width: 660px;
  margin: 0;
  color: #5b4e3d;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.6;
}

.payment-document-section {
  padding: 32px 0;
  border-bottom: 1px solid rgba(37, 48, 24, 0.14);
}

.payment-document-section:last-child {
  border-bottom: 0;
}

.payment-document-section h3 {
  margin: 0 0 18px;
  color: #253018;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.12;
}

.payment-process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(37, 48, 24, 0.12);
}

.payment-process-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(37, 48, 24, 0.12);
}

.payment-process-list span {
  color: #9a651d;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.payment-process-list p {
  margin: 0;
  color: #463b2d;
  font-weight: 800;
  line-height: 1.65;
}

.payment-section-title {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.payment-section-title .eyebrow {
  margin-bottom: 8px;
}

.payment-page .compact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(154, 101, 29, 0.28);
  border-radius: 6px;
  color: #6e3f12;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.payment-note-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-note-list li {
  position: relative;
  padding-left: 24px;
  color: #463b2d;
  font-weight: 780;
  line-height: 1.68;
}

.payment-note-list li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9a651d;
  content: "";
}

.payment-summary-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 24px 0 24px 24px;
  border-left: 1px solid rgba(37, 48, 24, 0.2);
}

.payment-summary-panel h2 {
  margin: -8px 0 0;
  color: #253018;
  font-size: 1.45rem;
  font-weight: 900;
}

.payment-option-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.payment-option-list div {
  display: grid;
  gap: 4px;
}

.payment-option-list dt {
  color: #9a651d;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.payment-option-list dd {
  margin: 0;
  color: #453a2c;
  font-size: 0.95rem;
  font-weight: 780;
  line-height: 1.58;
}

.payment-future-link {
  display: grid;
  gap: 5px;
  color: #253018;
  text-decoration: none;
}

.payment-future-link strong {
  font-size: 0.96rem;
  font-weight: 900;
}

.payment-future-link span {
  color: #62533f;
  font-size: 0.88rem;
  font-weight: 740;
  line-height: 1.5;
}

.payment-summary-panel .payment-process-note {
  margin-top: 4px;
}

@media (max-width: 980px) {
  .payment-page .payment-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .payment-summary-panel {
    position: static;
    padding: 22px 0 0;
    border-top: 1px solid rgba(37, 48, 24, 0.2);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .payment-process-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .payment-section-title {
    display: grid;
  }

  .payment-deposit-rule {
    padding-left: 16px;
  }
}

.request-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.98);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.request-card-header {
  padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 34px) 20px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 239, 228, 0.88)),
    linear-gradient(90deg, rgba(213, 165, 49, 0.24), transparent);
}

.request-card-header span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(221, 91, 22, 0.22);
  border-radius: 999px;
  color: var(--clay-dark);
  background: #fff6e5;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.request-card-header h3 {
  margin-top: 12px;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 900;
}

.request-card-header p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.request-form {
  display: grid;
  gap: 18px;
  padding: 0 clamp(20px, 3vw, 34px) clamp(22px, 3vw, 34px);
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #26291f;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(45, 47, 36, 0.18);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  outline: 3px solid transparent;
  outline-offset: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, outline-color 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(221, 91, 22, 0.72);
  box-shadow: 0 0 0 4px rgba(221, 91, 22, 0.12);
}

textarea {
  min-height: 134px;
  resize: vertical;
}

.form-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) 1fr;
  gap: 16px;
  align-items: center;
  padding-top: 2px;
}

.form-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-submit {
  width: 100%;
  min-height: 50px;
  border-radius: 6px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--forest);
  font-weight: 850;
}

.auth-dialog {
  width: min(980px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 32px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
}

.auth-dialog::backdrop {
  background: rgba(13, 18, 10, 0.74);
  backdrop-filter: blur(7px);
}

.auth-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  overflow: hidden;
  max-height: min(760px, calc(100vh - 32px));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #fffaf3;
  box-shadow: 0 30px 88px rgba(0, 0, 0, 0.36);
}

.auth-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 950;
  cursor: pointer;
}

.auth-visual {
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 560px;
  padding: clamp(28px, 4vw, 46px);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(11, 18, 8, 0.12), rgba(11, 18, 8, 0.88)),
    url("assets/downloaded-images/2025.jpg?v=1") center / cover;
}

.auth-visual h2 {
  max-width: 420px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.auth-visual p:not(.eyebrow) {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 750;
}

.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.auth-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  font-weight: 900;
}

.auth-content {
  display: grid;
  align-content: center;
  gap: 20px;
  overflow: auto;
  padding: clamp(26px, 4vw, 44px);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(45, 47, 36, 0.12);
  border-radius: 8px;
  background: #f2eadc;
}

.google-auth-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(45, 47, 36, 0.16);
  border-radius: 7px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(35, 31, 22, 0.08);
}

.google-auth-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(45, 47, 36, 0.14);
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--forest);
  background: transparent;
  font-weight: 950;
  cursor: pointer;
}

.auth-tabs button.is-active {
  color: #fff;
  background: var(--forest);
  box-shadow: 0 10px 20px rgba(36, 53, 26, 0.18);
}

.auth-form {
  display: none;
  gap: 16px;
}

.auth-form.is-active {
  display: grid;
}

.auth-status {
  min-height: 24px;
  margin: 0;
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 850;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.5fr) minmax(220px, 0.7fr);
  gap: 34px;
  padding: 54px clamp(18px, 4vw, 58px);
  color: #efe7d8;
  background: #18230f;
}

.site-footer p {
  max-width: 560px;
  color: #cfc8b9;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 7px 0;
  color: #efe7d8;
}

.footer-brand {
  color: #fff;
}

.footer-minimal {
  grid-template-columns: auto auto;
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  justify-content: start;
  min-height: 180px;
}

.footer-summary p {
  margin-bottom: 0;
}

.footer-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 0;
}

.footer-ghost {
  min-height: 36px;
  padding: 0 18px;
  font-size: 0.77rem;
}

.makini-footer {
  background: #f8f4ef;
}

.footer-contact-band {
  padding: clamp(26px, 4vw, 42px) clamp(18px, 4vw, 58px);
  background:
    radial-gradient(circle at 18px 18px, rgba(116, 62, 16, 0.08) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(180deg, #fbfaf7 0 28%, #f5efe9 28% 100%);
}

.footer-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 8vw, 92px);
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.footer-contact-copy > p,
.footer-socials > span {
  margin: 0 0 16px;
  color: #8f8a83;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 18px clamp(34px, 8vw, 96px);
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  color: #172545;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 600;
}

.footer-contact-item span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-contact-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #e17439;
  border: 2px solid currentColor;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
}

.footer-contact-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.email-icon {
  color: #e17439;
}

.whatsapp-contact-icon {
  color: #25d366;
}

.footer-contact-item[href^="https://wa.me"] .footer-contact-icon {
  border-radius: 50%;
}

.footer-socials {
  justify-self: end;
}

.footer-social-row {
  display: flex;
  gap: 13px;
  align-items: center;
}

.footer-social-row a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #172545;
  border: 1px solid rgba(23, 37, 69, 0.16);
  border-radius: 50%;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(23, 37, 69, 0.08);
}

.footer-social-row svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-row a[aria-label="Facebook"] svg,
.footer-social-row a[aria-label="LinkedIn"] svg {
  fill: currentColor;
  stroke: none;
}

.footer-social-row a[aria-label="YouTube"] svg {
  fill: currentColor;
  stroke: none;
}

.footer-social-row a[aria-label="YouTube"] svg path:last-child {
  fill: #fff;
}

.footer-social-row a:hover,
.footer-contact-item:hover {
  color: var(--clay);
}

.footer-social-row .social-whatsapp {
  color: #25d366;
}

.footer-social-row .social-facebook {
  color: #1877f2;
}

.footer-social-row .social-tripadvisor {
  color: #00af87;
}

.footer-social-row .social-instagram {
  color: #e4405f;
}

.footer-social-row .social-linkedin {
  color: #0a66c2;
}

.footer-social-row .social-youtube {
  color: #ff0000;
}

.footer-social-row a:hover {
  color: #fff;
  border-color: transparent;
}

.footer-social-row .social-whatsapp:hover {
  background: #25d366;
}

.footer-social-row .social-facebook:hover {
  background: #1877f2;
}

.footer-social-row .social-tripadvisor:hover {
  background: #00af87;
}

.footer-social-row .social-instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.footer-social-row .social-linkedin:hover {
  background: #0a66c2;
}

.footer-social-row .social-youtube:hover {
  background: #ff0000;
}

.footer-copyright {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 22px clamp(18px, 4vw, 58px);
  color: #fff;
  background: #6b3d27;
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer-copyright a {
  color: #dca45d;
}

.simple-nav {
  grid-template-columns: auto 1fr auto;
}

.simple-primary-nav {
  justify-content: flex-end;
}

.info-page {
  background: var(--paper);
}

.info-hero {
  display: grid;
  min-height: 430px;
  padding: clamp(68px, 10vw, 130px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 22, 11, 0.9), rgba(15, 22, 11, 0.52)),
    url("assets/downloaded-images/2025.jpg?v=1") center / cover;
}

.info-hero-copy {
  width: min(820px, 100%);
  align-self: center;
}

.info-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 900;
  text-transform: none;
}

.info-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: #ffe0a8;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.info-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  min-height: 330px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(46, 40, 30, 0.08);
}

.info-card-label {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.info-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.info-card a,
.info-card span {
  color: var(--ink);
  font-weight: 800;
}

.contact-link-list {
  display: grid;
  gap: 8px;
}

.info-card a[href^="mailto:"] {
  display: block;
  min-width: 0;
}

.info-card a:hover {
  color: var(--clay);
}

.highlight-info-card {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(36, 53, 26, 0.94), rgba(36, 53, 26, 0.86)),
    url("assets/downloaded-images/african-landscape-lion.jpg") center / cover;
}

.highlight-info-card p,
.highlight-info-card a:not(.primary-cta),
.highlight-info-card span {
  color: #ffe0a8;
}

.highlight-info-card .primary-cta {
  justify-self: start;
  margin-top: 10px;
}

.itinerary-page {
  background: var(--paper);
}

.itinerary-hero {
  position: relative;
  display: grid;
  min-height: clamp(320px, 42vw, 520px);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.itinerary-hero-media,
.itinerary-hero-shade {
  position: absolute;
  inset: 0;
}

.itinerary-hero-media {
  z-index: -2;
  background-image: var(--itinerary-hero-image, linear-gradient(135deg, #3e4137, #1f241b));
  background-size: cover;
  background-position: center;
}

.itinerary-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 6, 0.7), rgba(7, 9, 6, 0.28), rgba(7, 9, 6, 0.62)),
    linear-gradient(180deg, rgba(7, 9, 6, 0.12), rgba(7, 9, 6, 0.7));
}

.itinerary-hero-content {
  width: min(1240px, calc(100% - 36px));
  margin: auto;
  text-align: left;
}

.itinerary-hero h1 {
  max-width: 100%;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.1rem);
  text-transform: none;
  overflow-wrap: anywhere;
}

.itinerary-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 12px 0 0;
  color: #ffe0a8;
  font-weight: 800;
}

.itinerary-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
  width: min(1240px, calc(100% - 36px));
  margin: clamp(42px, 6vw, 76px) auto clamp(56px, 7vw, 86px);
  position: relative;
  z-index: 1;
}

.quote-panel {
  border: 1px solid rgba(45, 47, 36, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(35, 31, 22, 0.12);
}

.itinerary-detail-card {
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.itinerary-tabs {
  display: flex;
  gap: 0;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(45, 47, 36, 0.14);
}

.itinerary-tabs button {
  position: relative;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--clay-dark);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.itinerary-tabs button.is-active {
  color: var(--clay);
  border-bottom-color: var(--clay);
  background: rgba(221, 91, 22, 0.08);
}

.itinerary-tabs button.is-active::after {
  display: none;
}

.itinerary-tab-panel {
  display: none;
}

.itinerary-tab-panel.is-active {
  display: block;
}

.itinerary-tab-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
}

.itinerary-tab-panel p {
  color: var(--muted);
}

.itinerary-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.itinerary-highlight-grid span {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-top: 3px solid var(--clay);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 27, 18, 0.06);
}

.itinerary-highlight-grid small {
  color: var(--muted);
  font-weight: 700;
}

.day-plan {
  display: grid;
  gap: 14px;
}

.day-plan article {
  padding: 16px;
  border-left: 4px solid var(--clay);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 27, 18, 0.06);
}

.day-plan span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.day-plan h3 {
  margin-top: 4px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 12px;
  border: 1px solid var(--clay);
  text-align: left;
}

.price-table th {
  color: #fff;
  background: var(--clay);
}

.inclusion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.inclusion-grid div {
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 27, 18, 0.06);
}

.inclusion-grid ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.itinerary-tab-panel blockquote {
  margin: 0 0 18px;
  padding: 20px;
  border-left: 5px solid var(--gold);
  color: var(--ink);
  background: #fff7ee;
  font-weight: 800;
}

.booking-deposit-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--clay);
  color: var(--ink);
  background: #fff7ee;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.65;
}

.booking-deposit-note strong {
  color: var(--clay-dark);
}

.itinerary-review-note {
  margin: 34px 0 12px;
  padding: 18px 20px;
  border-left: 5px solid var(--gold);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 27, 18, 0.06);
  font-weight: 800;
}

.itinerary-review-copy {
  margin: 0;
  color: var(--muted);
}

.quote-panel {
  align-self: start;
  overflow: hidden;
  position: sticky;
  top: 122px;
}

.quote-price {
  display: grid;
  place-items: center;
  min-height: 62px;
  color: var(--clay-dark);
  background: #f4f0ea;
  font-weight: 900;
}

.quote-form {
  display: grid;
  gap: 11px;
  padding: 18px;
}

.quote-form label {
  gap: 5px;
  font-size: 0.7rem;
}

.quote-form input,
.quote-form textarea {
  padding: 10px;
  border-radius: 0;
}

.quote-counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-help-link {
  display: block;
  padding: 9px 18px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-help-link:hover {
  color: var(--clay-dark);
}

.itinerary-related-packages {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto clamp(64px, 8vw, 96px);
}

.itinerary-related-packages h2 {
  width: 100%;
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.92rem;
  text-transform: none;
}

.itinerary-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.related-tour-card {
  grid-template-rows: 170px 1fr;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(31, 27, 18, 0.1);
}

.related-tour-card .tour-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 11, 6, 0.08), rgba(8, 11, 6, 0.72));
}

.related-tour-card .tour-days {
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 0;
  background: transparent;
  font-size: 0.82rem;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.related-tour-card .tour-body {
  gap: 9px;
  min-width: 0;
  padding: 14px 16px 16px;
}

.related-tour-card .tour-meta,
.related-tour-card .tour-route {
  overflow-wrap: anywhere;
}

.related-tour-card .price {
  font-size: 0.78rem;
}

.related-tour-card .small-cta {
  justify-self: center;
  margin-top: 6px;
  min-height: 28px;
  padding: 0 18px;
  border-radius: 3px;
}

.tour-detail-section {
  background: #fffaf3;
  border-bottom: 1px solid rgba(116, 62, 16, 0.12);
  margin: 0 auto clamp(30px, 5vw, 56px);
  scroll-margin-top: 116px;
}

.tour-detail-section[hidden] {
  display: none;
}

.tour-detail-banner {
  position: relative;
  display: grid;
  min-height: clamp(260px, 30vw, 380px);
  overflow: hidden;
  color: #fff;
}

.tour-detail-banner img,
.tour-detail-banner-shade {
  position: absolute;
  inset: 0;
}

.tour-detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-detail-banner-shade {
  background:
    linear-gradient(90deg, rgba(7, 9, 6, 0.7), rgba(7, 9, 6, 0.28), rgba(7, 9, 6, 0.58)),
    linear-gradient(180deg, rgba(7, 9, 6, 0.08), rgba(7, 9, 6, 0.68));
}

.tour-detail-banner-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(1480px, calc(100% - clamp(36px, 7vw, 96px)));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 82px) 0;
}

.tour-detail-banner-content h2 {
  max-width: 940px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
}

.tour-detail-banner-content p:not(.eyebrow) {
  max-width: 760px;
  margin: 12px 0 0;
  color: #ffe0a8;
  font-weight: 800;
}

.tour-detail-close {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: clamp(18px, 4vw, 42px);
  z-index: 2;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  color: #fff;
  background: rgba(7, 9, 6, 0.42);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.tour-detail-close:hover {
  background: var(--clay-dark);
}

.embedded-itinerary-shell {
  width: min(1480px, calc(100% - clamp(36px, 7vw, 96px)));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) 0 clamp(48px, 7vw, 90px);
}

.tour-detail-section .itinerary-detail-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(45, 47, 36, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 38px rgba(35, 31, 22, 0.07);
}

.tour-detail-section .itinerary-tabs {
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(116, 62, 16, 0.16);
}

.tour-detail-section .itinerary-tabs button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(221, 91, 22, 0.22);
  border-bottom-color: rgba(221, 91, 22, 0.22);
  border-radius: 3px 3px 0 0;
  background: #fff;
  font-size: 0.7rem;
}

.tour-detail-section .itinerary-tabs button.is-active {
  color: #fff;
  border-color: var(--clay);
  background: var(--clay);
}

.tour-detail-section .itinerary-tab-panel h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.45rem);
}

.tour-detail-section .itinerary-tab-panel p {
  max-width: 960px;
  color: #5f5a50;
}

.tour-detail-section .itinerary-highlight-grid span,
.tour-detail-section .day-plan article,
.tour-detail-section .inclusion-grid div,
.tour-detail-section .itinerary-review-note {
  border-radius: 4px;
  background: #fff;
}

.tour-detail-section .quote-panel {
  position: static;
  width: 100%;
  max-width: 360px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(45, 47, 36, 0.1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(35, 31, 22, 0.13);
}

.tour-detail-section .quote-price {
  min-height: 70px;
  margin: 0;
  border-radius: 0;
  color: #8c3f12;
  background: #f1eee9;
  font-size: 0.98rem;
  font-weight: 900;
}

.tour-detail-section .quote-form {
  gap: 8px;
  padding: 20px 22px 18px;
}

.tour-detail-section .quote-form label {
  display: grid;
  gap: 4px;
  color: #5d5a52;
  font-size: 0.72rem;
  font-weight: 700;
}

.tour-detail-section .quote-form input,
.tour-detail-section .quote-form textarea {
  width: 100%;
  min-height: 43px;
  padding: 9px 12px;
  border: 1px solid rgba(45, 47, 36, 0.2);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font-size: 0.82rem;
  outline: 0;
}

.tour-detail-section .quote-form textarea {
  min-height: 112px;
  resize: vertical;
}

.tour-detail-section .quote-form input::placeholder,
.tour-detail-section .quote-form textarea::placeholder {
  color: #8b887f;
}

.tour-detail-section .quote-form input:focus,
.tour-detail-section .quote-form textarea:focus {
  border-color: var(--clay);
  box-shadow: inset 0 0 0 1px rgba(221, 91, 22, 0.18);
}

.tour-detail-section .quote-counts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tour-detail-section .quote-form .form-submit {
  justify-self: start;
  min-height: 48px;
  min-width: 150px;
  margin-top: 2px;
  padding: 0 20px;
  border-radius: 4px;
  background: #1478ff;
  box-shadow: none;
  font-size: 0.74rem;
}

.tour-detail-section .quote-form .form-submit:hover {
  background: #0d61cf;
}

.tour-detail-section .form-status {
  min-height: 18px;
  margin: 0;
  color: var(--clay-dark);
  font-size: 0.76rem;
}

.tour-detail-section .quote-help-link {
  display: block;
  margin: 0 22px;
  padding: 10px 0;
  border-top: 1px solid rgba(116, 62, 16, 0.12);
  color: var(--clay-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.tour-detail-section .quote-help-link::before {
  content: "--> ";
  color: #c97944;
}

.tour-detail-section .quote-help-link:last-child {
  margin-bottom: 12px;
}

.tour-detail-section .itinerary-review-note,
.tour-detail-section .itinerary-review-copy,
.tour-detail-section .itinerary-highlight-grid,
.tour-detail-section .day-plan,
.tour-detail-section .inclusion-grid,
.tour-detail-section .price-table {
  max-width: 1040px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0;
  color: #14351f;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

.whatsapp-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 8px;
  color: #263124;
  background: #fff;
  box-shadow: 0 10px 26px rgba(22, 28, 18, 0.2);
  white-space: nowrap;
}

.whatsapp-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 4px solid #d9ffe3;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M16.04 3C8.86 3 3.03 8.82 3.03 16c0 2.29.6 4.52 1.75 6.48L3 29l6.68-1.75A12.91 12.91 0 0 0 16.04 29C23.21 29 29 23.18 29 16S23.21 3 16.04 3Zm0 23.72c-2.09 0-4.14-.56-5.93-1.62l-.43-.25-3.97 1.04 1.06-3.87-.28-.45A10.64 10.64 0 0 1 5.32 16c0-5.9 4.8-10.7 10.72-10.7 5.9 0 10.68 4.8 10.68 10.7s-4.78 10.72-10.68 10.72Zm5.87-8.03c-.32-.16-1.9-.94-2.2-1.05-.3-.1-.51-.16-.72.16-.21.32-.83 1.05-1.01 1.26-.19.21-.37.24-.69.08-.32-.16-1.35-.5-2.57-1.58-.95-.85-1.59-1.9-1.78-2.22-.18-.32-.02-.49.14-.65.14-.14.32-.37.48-.56.16-.19.21-.32.32-.53.1-.21.05-.4-.03-.56-.08-.16-.72-1.74-.99-2.38-.26-.63-.53-.54-.72-.55h-.62c-.21 0-.56.08-.85.4-.29.32-1.12 1.1-1.12 2.67s1.15 3.1 1.31 3.31c.16.21 2.26 3.45 5.47 4.83.76.33 1.36.53 1.82.68.77.24 1.47.21 2.02.13.62-.09 1.9-.78 2.17-1.53.27-.75.27-1.39.19-1.53-.08-.13-.29-.21-.61-.37Z'/%3E%3C/svg%3E") center / 25px 25px no-repeat,
    #25d366;
  box-shadow: 0 10px 24px rgba(18, 96, 48, 0.28);
}

#google_translate_element,
.goog-te-banner-frame,
.goog-te-menu-frame,
.goog-te-balloon-frame,
.goog-te-gadget,
iframe.skiptranslate,
body > .skiptranslate {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html,
body,
body.google-translate-silent {
  top: 0 !important;
  position: static !important;
  min-height: 100% !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

.goog-tooltip,
.goog-tooltip:hover,
.goog-tooltip * {
  display: none !important;
  visibility: hidden !important;
}

@media (max-width: 1180px) {
  .utility-bar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 22px;
    text-align: center;
  }

  .utility-group,
  .utility-links,
  .rating-strip {
    justify-content: center;
  }

  .main-nav {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav,
  .nav-actions {
    grid-column: 1 / -1;
    display: none;
  }

  .primary-nav.is-open,
  .nav-actions.is-open {
    display: flex;
  }

  .primary-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 4px;
  }

  .nav-actions {
    justify-content: flex-start;
    padding-bottom: 18px;
  }

  .tour-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lodge-tour-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sales-answer-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 860px) {
  .utility-links,
  .rating-strip {
    flex-wrap: wrap;
  }

  .main-nav,
  .utility-bar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: 650px;
  }

  .feature-grid,
  .sales-answer-strip,
  .tour-grid,
  .lodge-tour-grid,
  .info-card-grid,
  .arrival-story,
  .split-showcase,
  .experience-strip,
  .planner,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 28px;
  }

  .footer-minimal {
    text-align: left;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .footer-contact-inner,
  .footer-contact-grid {
    grid-template-columns: 1fr;
  }

  .itinerary-shell,
  .itinerary-highlight-grid,
  .inclusion-grid {
    grid-template-columns: 1fr;
  }

  .itinerary-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .itinerary-shell {
    margin-top: -28px;
  }

  .footer-socials {
    justify-self: start;
  }

  .simple-nav {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .simple-primary-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .tour-card {
    grid-template-rows: 240px 1fr;
  }

  .lodge-tour-image,
  .lodge-tour-image img {
    height: 220px;
    min-height: 220px;
  }

  .showcase-panel,
  .showcase-panel img {
    min-height: 360px;
  }

  .arrival-photo,
  .arrival-photo img {
    min-height: 360px;
  }

  .arrival-stats {
    grid-template-columns: 1fr;
  }

  .experience-strip article {
    min-height: 340px;
  }

  .auth-panel {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .auth-visual {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand-main {
    font-size: 1.85rem;
  }

  .brand-script {
    font-size: 1.28rem;
  }

  .brand-tag {
    font-size: 0.36rem;
  }

  .hero-content {
    width: min(100% - 32px, 900px);
  }

  .hero-control {
    width: 34px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .ghost-cta,
  .primary-cta {
    width: 100%;
  }

  .tour-grid {
    gap: 18px;
  }

  .itinerary-related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .private-lodge-tours {
    padding-left: 12px;
    padding-right: 12px;
  }

  .tour-card {
    grid-template-rows: 220px 1fr;
  }

  .lodge-tour-grid {
    gap: 14px;
  }

  .lodge-tour-body .small-cta {
    justify-self: stretch;
  }

  .award-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .footer-actions,
  .footer-actions .small-cta,
  .footer-actions .ghost-cta {
    width: 100%;
  }

  .info-card-grid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    min-height: 0;
    padding: 0;
    font-size: 0.9rem;
  }

  .whatsapp-label {
    display: none;
  }

  .whatsapp-icon {
    width: 36px;
    height: 36px;
  }

  .itinerary-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .itinerary-tabs button.is-active::after {
    display: none;
  }
}

/* Makini-style homepage overrides */
:root {
  --clay: #dd5b16;
  --clay-dark: #743e10;
  --makini-brown: #75420d;
}

.site-header {
  border-bottom: 1px solid rgba(31, 36, 27, 0.08);
  box-shadow: 0 6px 18px rgba(22, 24, 18, 0.08);
}

.utility-bar {
  display: none;
}

.main-nav {
  grid-template-columns: minmax(150px, auto) minmax(420px, 1fr) auto;
  gap: 20px;
  min-height: 100px;
  padding: 0 30px;
  background: #f0f0ef;
}

.brand {
  min-width: 228px;
}

.brand-main {
  font-size: clamp(1.85rem, 3.1vw, 3.15rem);
  color: var(--gold);
  text-shadow: none;
}

.brand-script {
  font-size: clamp(1.35rem, 2.4vw, 2.3rem);
  color: var(--gold);
}

.brand-tag {
  color: var(--makini-brown);
  font-size: clamp(0.44rem, 0.55vw, 0.55rem);
}

.primary-nav {
  gap: clamp(12px, 1.38vw, 27px);
  color: var(--clay);
  font-size: clamp(0.72rem, 0.82vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  justify-items: end;
  gap: 6px;
}

.phone-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-left: 30px;
  color: #050505;
  font-size: 0.98rem;
  font-weight: 900;
  white-space: nowrap;
}

.phone-link::before {
  position: absolute;
  left: 0;
  top: 50%;
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid #d9ffe3;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M16.04 3C8.86 3 3.03 8.82 3.03 16c0 2.29.6 4.52 1.75 6.48L3 29l6.68-1.75A12.91 12.91 0 0 0 16.04 29C23.21 29 29 23.18 29 16S23.21 3 16.04 3Zm0 23.72c-2.09 0-4.14-.56-5.93-1.62l-.43-.25-3.97 1.04 1.06-3.87-.28-.45A10.64 10.64 0 0 1 5.32 16c0-5.9 4.8-10.7 10.72-10.7 5.9 0 10.68 4.8 10.68 10.7s-4.78 10.72-10.68 10.72Zm5.87-8.03c-.32-.16-1.9-.94-2.2-1.05-.3-.1-.51-.16-.72.16-.21.32-.83 1.05-1.01 1.26-.19.21-.37.24-.69.08-.32-.16-1.35-.5-2.57-1.58-.95-.85-1.59-1.9-1.78-2.22-.18-.32-.02-.49.14-.65.14-.14.32-.37.48-.56.16-.19.21-.32.32-.53.1-.21.05-.4-.03-.56-.08-.16-.72-1.74-.99-2.38-.26-.63-.53-.54-.72-.55h-.62c-.21 0-.56.08-.85.4-.29.32-1.12 1.1-1.12 2.67s1.15 3.1 1.31 3.31c.16.21 2.26 3.45 5.47 4.83.76.33 1.36.53 1.82.68.77.24 1.47.21 2.02.13.62-.09 1.9-.78 2.17-1.53.27-.75.27-1.39.19-1.53-.08-.13-.29-.21-.61-.37Z'/%3E%3C/svg%3E") center / 14px 14px no-repeat,
    #25d366;
  box-shadow: 0 5px 12px rgba(18, 96, 48, 0.18);
  transform: translateY(-50%);
}

.nav-action-row {
  display: grid;
  grid-template-columns: minmax(174px, auto) auto auto;
  align-items: center;
  gap: 14px;
}

.nav-actions .compact-currency {
  display: none;
}

.language-picker {
  min-width: 174px;
}

.language-button,
.language-menu button {
  min-height: 31px;
  font-size: 0.88rem;
}

.language-button {
  padding: 4px 9px;
}

.currency-select {
  min-height: 30px;
  gap: 5px;
  color: var(--ink);
}

.currency-select span {
  width: 22px;
  height: 22px;
  color: #fff;
  background: #f6b63f;
  font-size: 0.78rem;
}

.currency-select select {
  max-width: 62px;
  color: var(--ink);
}

.request-button {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 3px;
  background: var(--clay-dark);
  box-shadow: none;
  font-size: 0.82rem;
}

.request-button:hover,
.primary-cta:hover,
.small-cta:hover {
  background: var(--clay);
}

.hero {
  min-height: clamp(390px, 48vw, 500px);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.36)),
    rgba(0, 0, 0, 0.14);
}

.hero-content {
  width: min(820px, calc(100% - 42px));
  padding: 62px 0 56px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.75rem, 3.15vw, 3rem);
  font-weight: 700;
  text-transform: none;
}

.hero-content p:not(.eyebrow) {
  margin-top: 14px;
  font-size: clamp(0.98rem, 1.5vw, 1.32rem);
  font-weight: 600;
}

.hero-control {
  height: 50px;
  background: rgba(0, 0, 0, 0.14);
}

.read-more {
  min-width: 138px;
  min-height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.88rem;
  text-transform: none;
}

.trust-band,
.tour-section,
.split-showcase,
.planner {
  padding: clamp(50px, 7vw, 86px) clamp(18px, 4vw, 58px);
}

@media (max-width: 1280px) {
  .main-nav {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav,
  .nav-actions {
    grid-column: 1 / -1;
    display: none;
  }

  .primary-nav.is-open,
  .nav-actions.is-open {
    display: flex;
  }

  .nav-actions.is-open {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 860px) {
  .main-nav {
    min-height: 82px;
  }

  .hero {
    min-height: 440px;
  }
}

@media (max-width: 560px) {
  .main-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .primary-nav.is-open,
  .nav-actions.is-open {
    align-items: stretch;
    display: grid;
  }

  .language-picker,
  .language-button,
  .nav-action-row,
  .request-button,
  .auth-nav-button,
  .client-profile {
    width: 100%;
  }

  .client-chip {
    justify-self: start;
    width: 40px;
    padding: 3px;
  }

  .client-profile-text {
    display: none;
  }

  .client-profile-menu {
    left: 0;
    right: auto;
    width: min(365px, calc(100vw - 32px));
  }

  .nav-action-row {
    grid-template-columns: 1fr;
  }

  .compact-currency {
    justify-content: flex-start;
  }

  .auth-dialog {
    width: min(390px, calc(100% - 18px));
    max-height: calc(100vh - 18px);
  }

  .auth-panel {
    max-height: calc(100vh - 18px);
  }

  .auth-visual {
    min-height: 260px;
    padding: 28px 22px;
  }

  .auth-content {
    padding: 22px;
  }
}

@media (max-width: 980px) {
  .planner-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .planner-copy {
    max-width: 780px;
  }

  .planner-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .planner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .planner-shell,
  .planner-copy,
  .request-card {
    width: 100%;
    max-width: min(360px, 100%);
    margin-left: 0;
    margin-right: 0;
  }

  .planner-copy h2,
  .planner-copy > p,
  .planner-proof-grid strong,
  .planner-proof-grid p {
    max-width: 100%;
  }

  .planner-proof-grid,
  .form-row,
  .form-footer {
    grid-template-columns: 1fr;
  }

  .planner-proof-grid article {
    padding: 14px;
  }

  .request-card {
    border-radius: 6px;
  }

  .form-footer p {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .planner-contact-card,
  .footer-contact-item,
  .info-card a[href^="mailto:"] {
    font-size: 0.9rem;
  }

  .footer-contact-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 1180px) {
  .itinerary-shell {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  }

  .itinerary-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .itinerary-shell {
    grid-template-columns: 1fr;
    margin-top: clamp(36px, 7vw, 58px);
  }

  .quote-panel {
    position: static;
  }

  .itinerary-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .main-nav {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
  }

  .brand {
    grid-column: 1;
    min-width: 0;
    max-width: 300px;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 80;
    display: block !important;
    justify-self: end;
    border: 0;
    border-radius: 4px;
    background: var(--clay-dark);
    box-shadow: 0 6px 14px rgba(22, 24, 18, 0.08);
    transform: translateY(-50%);
  }

  .menu-toggle::before {
    content: "☰";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
  }

  .menu-toggle span {
    display: none;
  }

  .menu-toggle::before {
    content: "MENU";
  }

  .itinerary-hero {
    min-height: 360px;
  }

  .itinerary-hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
    line-height: 1.04;
  }

  .itinerary-hero-content,
  .itinerary-shell,
  .itinerary-related-packages {
    width: min(100% - 28px, 1240px);
  }

  .itinerary-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    border-bottom: 0;
  }

  .itinerary-tabs button {
    justify-content: flex-start;
    border: 1px solid rgba(221, 91, 22, 0.24);
    border-left: 4px solid transparent;
    border-radius: 4px;
    background: #fff;
  }

  .itinerary-tabs button.is-active {
    border-left-color: var(--clay);
  }

  .itinerary-highlight-grid,
  .inclusion-grid,
  .quote-counts,
  .itinerary-related-grid {
    grid-template-columns: 1fr;
  }

  .price-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Final itinerary flow override: keep tour detail pages integrated with the site. */
.itinerary-page {
  background: #fffaf3;
}

.itinerary-page .itinerary-hero {
  min-height: clamp(280px, 31vw, 420px);
}

.itinerary-page .itinerary-hero-content,
.itinerary-page .itinerary-shell,
.itinerary-page .itinerary-related-packages {
  width: min(1480px, calc(100% - clamp(36px, 7vw, 96px)));
}

.itinerary-page .itinerary-hero-content {
  align-self: center;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0 clamp(46px, 7vw, 78px);
  text-align: left;
}

.itinerary-page .itinerary-hero h1 {
  max-width: 980px;
}

.itinerary-page .itinerary-shell {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(32px, 4vw, 64px);
  margin-top: 0;
  margin-bottom: 0;
  padding-top: clamp(42px, 6vw, 76px);
  padding-bottom: clamp(46px, 6vw, 82px);
}

.itinerary-page .itinerary-detail-card {
  min-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.itinerary-page .itinerary-tabs {
  align-items: stretch;
  margin-bottom: clamp(24px, 4vw, 38px);
  border-bottom-color: rgba(116, 62, 16, 0.18);
}

.itinerary-page .itinerary-tabs button {
  min-height: 44px;
  padding: 0 clamp(13px, 1.5vw, 20px);
  border-radius: 3px 3px 0 0;
  white-space: nowrap;
}

.itinerary-page .itinerary-tab-panel.is-active {
  display: block;
  max-width: 100%;
}

.itinerary-page .itinerary-tab-panel p {
  max-width: 960px;
}

.itinerary-page .itinerary-highlight-grid,
.itinerary-page .day-plan,
.itinerary-page .inclusion-grid,
.itinerary-page .price-table,
.itinerary-page .itinerary-review-note,
.itinerary-page .itinerary-review-copy {
  max-width: 1040px;
}

.itinerary-page .quote-panel {
  position: static;
  width: 100%;
  max-width: 390px;
  justify-self: end;
  overflow: visible;
  border-radius: 6px;
}

.itinerary-page .quote-price {
  min-height: 58px;
  border-radius: 6px 6px 0 0;
}

.itinerary-page .itinerary-related-packages {
  margin: 0 auto;
  padding-top: clamp(22px, 4vw, 46px);
  padding-bottom: clamp(58px, 7vw, 96px);
  border-top: 1px solid rgba(116, 62, 16, 0.12);
}

.itinerary-page .itinerary-related-packages h2 {
  margin-bottom: 18px;
}

.itinerary-page .itinerary-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1180px) {
  .itinerary-page .itinerary-shell {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 350px);
  }

  .itinerary-page .itinerary-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .itinerary-page .itinerary-shell {
    grid-template-columns: 1fr;
  }

  .itinerary-page .quote-panel {
    max-width: 620px;
    justify-self: stretch;
  }

  .itinerary-page .itinerary-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-detail-section .embedded-itinerary-shell {
    grid-template-columns: 1fr;
  }

  .tour-detail-section .quote-panel {
    max-width: 620px;
    justify-self: stretch;
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  .itinerary-page,
  .itinerary-page section {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    padding-right: 14px;
    padding-left: 14px;
  }

  .site-header .brand {
    flex: 1 1 auto;
    max-width: calc(100vw - 74px);
    min-width: 0;
  }

  .site-header .brand-main {
    font-size: 1.72rem;
  }

  .site-header .brand-script {
    font-size: 1.18rem;
  }

  .site-header .brand-tag {
    font-size: 0.34rem;
  }

  .site-header .menu-toggle {
    position: static;
    z-index: 120;
    flex: 0 0 44px;
    display: grid !important;
    place-items: center;
    width: 44px;
    height: 36px;
    border-radius: 4px;
    background: var(--clay-dark);
    box-shadow: 0 6px 14px rgba(22, 24, 18, 0.16);
  }

  .site-header .menu-toggle::before {
    content: none;
    color: #fff;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.04em;
  }

  .site-header .menu-toggle span {
    display: none;
  }

  .site-header .menu-toggle .menu-label {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    color: #fff;
    background: transparent;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
  }

  .itinerary-page .itinerary-hero {
    min-height: 330px;
  }

  .itinerary-page .itinerary-hero-content,
  .itinerary-page .itinerary-shell,
  .itinerary-page .itinerary-related-packages {
    width: min(100% - 28px, 1480px);
    max-width: calc(100vw - 28px);
  }

  .itinerary-page .itinerary-shell {
    padding-top: 30px;
  }

  .itinerary-page .itinerary-hero h1 {
    font-size: clamp(1.7rem, 7.2vw, 2rem);
    line-height: 1.08;
  }

  .itinerary-page .itinerary-tab-panel p {
    max-width: 100%;
  }

  .itinerary-page .itinerary-tabs {
    gap: 8px;
  }

  .itinerary-page .itinerary-tabs button {
    min-height: 42px;
    border-radius: 4px;
    white-space: normal;
  }

  .itinerary-page .itinerary-related-grid {
    grid-template-columns: 1fr;
  }

  .tour-detail-banner {
    min-height: 320px;
  }

  .tour-detail-banner-content,
  .embedded-itinerary-shell {
    width: min(100% - 28px, 1480px);
    max-width: calc(100vw - 28px);
  }

  .tour-detail-banner-content h2 {
    font-size: clamp(1.7rem, 7.2vw, 2rem);
  }

  .tour-detail-close {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .tour-detail-section .itinerary-detail-card {
    padding: 18px 14px;
  }

  .tour-detail-section .quote-panel {
    max-width: none;
    border-radius: 8px;
  }

  .tour-detail-section .quote-form {
    padding: 18px 14px 16px;
  }

  .tour-detail-section .quote-counts {
    grid-template-columns: 1fr;
  }

  .tour-detail-section .quote-form .form-submit {
    width: 100%;
  }

  .tour-detail-section .quote-help-link {
    margin-right: 14px;
    margin-left: 14px;
  }
}

@media (max-width: 760px) {
  .site-header {
    z-index: 1000;
  }

  .site-header .main-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100vw;
    min-height: 76px;
    padding: 10px 14px !important;
    background: #f0f0ef;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    max-width: 100%;
    min-width: 0;
    justify-self: start;
  }

  .site-header .brand-line {
    align-items: baseline;
    max-width: 100%;
  }

  .site-header .brand-main {
    font-size: clamp(1.7rem, 8vw, 2.05rem);
  }

  .site-header .brand-script {
    font-size: clamp(1.1rem, 5.4vw, 1.38rem);
  }

  .site-header .brand-tag {
    max-width: 210px;
    font-size: 0.38rem;
    white-space: normal;
  }

  .site-header .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: grid !important;
    place-items: center;
    justify-self: end;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(56, 81, 38, 0.16);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 18px rgba(22, 24, 18, 0.14);
  }

  .site-header .menu-toggle span:not(.menu-label) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 2px auto;
    border-radius: 999px;
    background: var(--clay-dark);
  }

  .site-header .menu-toggle .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .site-header .menu-toggle[aria-expanded="true"] {
    background: var(--clay-dark);
  }

  .site-header .menu-toggle[aria-expanded="true"] span:not(.menu-label) {
    background: #fff;
  }

  .site-header .primary-nav,
  .site-header .nav-actions {
    grid-column: 1 / -1;
    display: none !important;
  }

  .site-header .primary-nav.is-open {
    display: grid !important;
    gap: 0;
    margin-top: 8px;
    padding: 8px 0;
    border: 1px solid rgba(45, 47, 36, 0.1);
    border-radius: 8px 8px 0 0;
    background: #fffaf3;
    box-shadow: 0 18px 36px rgba(22, 24, 18, 0.12);
    white-space: normal;
  }

  .site-header .primary-nav.is-open a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(45, 47, 36, 0.08);
    color: var(--clay-dark);
    font-size: 0.88rem;
    font-weight: 900;
  }

  .site-header .primary-nav.is-open a:last-child {
    border-bottom: 0;
  }

  .site-header .nav-actions.is-open {
    display: grid !important;
    gap: 12px;
    justify-items: stretch;
    padding: 14px;
    border: 1px solid rgba(45, 47, 36, 0.1);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #fffaf3;
    box-shadow: 0 18px 36px rgba(22, 24, 18, 0.12);
  }

  .site-header .phone-link {
    justify-self: start;
    font-size: 0.95rem;
  }

  .site-header .nav-action-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .site-header .language-picker,
  .site-header .language-button,
  .site-header .request-button {
    width: 100%;
  }

  .site-header .request-button {
    grid-column: 1 / -1;
  }

  .site-header .client-profile {
    justify-self: start;
    width: auto;
  }

  .site-header .client-profile-menu {
    left: 0;
    right: auto;
    width: min(350px, calc(100vw - 56px));
  }
}

/* Phone menu final layer. This block must stay at the end of the stylesheet. */
@media (max-width: 760px) {
  body.mobile-menu-open {
    overflow: hidden !important;
  }

  body.mobile-menu-open::before {
    position: fixed !important;
    inset: 0 !important;
    z-index: 998 !important;
    content: "" !important;
    background:
      radial-gradient(circle at 18% 14%, rgba(213, 165, 49, 0.24), transparent 28%),
      linear-gradient(90deg, rgba(18, 12, 8, 0.18), rgba(18, 12, 8, 0.68)),
      rgba(13, 10, 7, 0.54) !important;
    backdrop-filter: blur(8px) saturate(1.1) !important;
  }

  body.mobile-menu-open .site-header .menu-toggle,
  .site-header .menu-toggle[aria-expanded="true"] {
    position: fixed !important;
    top: 18px !important;
    left: calc(min(92vw, 420px) - 62px) !important;
    z-index: 1005 !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(255, 250, 243, 0.18) !important;
    border-radius: 50% !important;
    background: rgba(255, 250, 243, 0.12) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26) !important;
    backdrop-filter: blur(12px) !important;
  }

  body.mobile-menu-open .site-header .menu-toggle span:not(.menu-label),
  .site-header .menu-toggle[aria-expanded="true"] span:not(.menu-label) {
    position: absolute !important;
    width: 22px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #fffaf3 !important;
  }

  body.mobile-menu-open .site-header .primary-nav.is-open,
  .site-header .primary-nav.is-open {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 1002 !important;
    display: grid !important;
    align-content: start !important;
    gap: 9px !important;
    width: min(92vw, 420px) !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 104px 22px 258px !important;
    overflow-y: auto !important;
    border: 0 !important;
    border-right: 1px solid rgba(213, 165, 49, 0.22) !important;
    border-radius: 0 !important;
    color: #fffaf3 !important;
    background:
      linear-gradient(180deg, rgba(37, 28, 20, 0.78), rgba(24, 18, 13, 0.96) 42%, rgba(63, 35, 18, 0.94)),
      linear-gradient(135deg, rgba(213, 165, 49, 0.24), transparent 34%),
      url("assets/downloaded-images/serengeti-national-park-lion.jpg") center / cover !important;
    box-shadow: 30px 0 70px rgba(0, 0, 0, 0.42) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
    text-transform: none !important;
    white-space: normal !important;
    overscroll-behavior: contain !important;
  }

  .site-header .primary-nav.is-open::before {
    content: "Quest Serengeti Safaris\A Private Tanzania journeys";
    display: block !important;
    margin: -64px 56px 16px 0 !important;
    padding: 14px 15px !important;
    border: 1px solid rgba(255, 250, 243, 0.12) !important;
    border-radius: 14px !important;
    color: rgba(255, 250, 243, 0.82) !important;
    background:
      linear-gradient(135deg, rgba(255, 250, 243, 0.13), rgba(213, 165, 49, 0.08)),
      rgba(20, 15, 10, 0.26) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.55 !important;
    text-transform: uppercase !important;
    white-space: pre-line !important;
  }

  body.mobile-menu-open .site-header .primary-nav.is-open a,
  .site-header .primary-nav.is-open a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    min-height: 50px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(255, 250, 243, 0.1) !important;
    border-radius: 12px !important;
    color: rgba(255, 250, 243, 0.92) !important;
    background:
      linear-gradient(135deg, rgba(255, 250, 243, 0.1), rgba(255, 250, 243, 0.035)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    font-size: clamp(0.84rem, 3.6vw, 0.95rem) !important;
    font-weight: 750 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.16 !important;
    text-transform: none !important;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease !important;
  }

  .site-header .primary-nav.is-open a::before {
    content: "" !important;
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    border: 1px solid rgba(213, 165, 49, 0.35) !important;
    border-radius: 10px !important;
    background:
      radial-gradient(circle at 50% 50%, rgba(241, 195, 90, 0.95) 0 18%, transparent 20%),
      linear-gradient(135deg, rgba(213, 165, 49, 0.26), rgba(255, 250, 243, 0.07)) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12) !important;
  }

  .site-header .primary-nav.is-open a:first-child {
    min-height: 88px !important;
    margin-bottom: 8px !important;
    padding: 17px 15px 34px 15px !important;
    border-color: rgba(213, 165, 49, 0.48) !important;
    background:
      linear-gradient(135deg, rgba(213, 165, 49, 0.36), rgba(168, 58, 30, 0.13)),
      rgba(255, 250, 243, 0.1) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 32px rgba(0, 0, 0, 0.18) !important;
    font-size: 1rem !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22) !important;
  }

  .site-header .primary-nav.is-open a:first-child::after {
    position: absolute !important;
    left: 60px !important;
    right: 14px !important;
    bottom: 16px !important;
    content: "Safari homepage" !important;
    color: rgba(255, 250, 243, 0.62) !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  .site-header .primary-nav.is-open a:hover,
  .site-header .primary-nav.is-open a:focus-visible,
  .site-header .primary-nav.is-open a.is-active,
  .site-header .primary-nav.is-open a[aria-current="location"] {
    border-color: rgba(241, 195, 90, 0.5) !important;
    background:
      linear-gradient(135deg, rgba(213, 165, 49, 0.22), rgba(255, 250, 243, 0.07)) !important;
    transform: translateX(4px) !important;
  }

  body.mobile-menu-open .site-header .nav-actions.is-open,
  .site-header .nav-actions.is-open {
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    z-index: 1003 !important;
    display: grid !important;
    gap: 10px !important;
    width: min(92vw, 420px) !important;
    padding: 14px 22px calc(18px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 250, 243, 0.1) !important;
    border-radius: 0 !important;
    background:
      linear-gradient(180deg, rgba(32, 24, 17, 0), rgba(28, 21, 15, 0.94) 18%, rgba(42, 26, 16, 0.98)) !important;
    box-shadow: 0 -18px 42px rgba(12, 8, 5, 0.32) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
  }

  body.mobile-menu-open .site-header .phone-link,
  .site-header .nav-actions.is-open .phone-link {
    justify-self: stretch !important;
    min-height: 40px !important;
    padding: 0 14px 0 43px !important;
    border: 1px solid rgba(37, 211, 102, 0.28) !important;
    border-radius: 999px !important;
    color: rgba(255, 250, 243, 0.94) !important;
    background: rgba(37, 211, 102, 0.1) !important;
    font-size: 0.86rem !important;
    font-weight: 850 !important;
  }

  body.mobile-menu-open .site-header .phone-link::before,
  .site-header .nav-actions.is-open .phone-link::before {
    left: 12px !important;
    width: 22px !important;
    height: 22px !important;
  }

  body.mobile-menu-open .site-header .nav-action-row,
  .site-header .nav-actions.is-open .nav-action-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .site-header .nav-actions.is-open .language-button {
    min-height: 42px !important;
    border: 1px solid rgba(255, 250, 243, 0.14) !important;
    border-radius: 11px !important;
    color: rgba(255, 250, 243, 0.9) !important;
    background: rgba(255, 250, 243, 0.1) !important;
    font-size: 0.8rem !important;
  }

  .site-header .nav-actions.is-open .language-menu {
    top: auto !important;
    bottom: calc(100% + 8px) !important;
    border-radius: 12px !important;
    background: rgba(35, 25, 18, 0.98) !important;
  }

  body.mobile-menu-open .site-header .request-button,
  .site-header .nav-actions.is-open .request-button {
    grid-column: 1 / -1 !important;
    order: -1 !important;
    min-height: 50px !important;
    border-radius: 13px !important;
    color: #2b190c !important;
    background: linear-gradient(135deg, #f6cf73, #d5a531 56%, #a95516) !important;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
    font-size: 0.82rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.09em !important;
  }

  .site-header .nav-actions.is-open .client-chip {
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    border-color: rgba(255, 250, 243, 0.18) !important;
    background: rgba(255, 250, 243, 0.12) !important;
    color: #fffaf3 !important;
    box-shadow: none !important;
  }

  @media (max-width: 380px) {
    body.mobile-menu-open .site-header .primary-nav.is-open,
    .site-header .primary-nav.is-open {
      width: min(94vw, 360px) !important;
      padding: 94px 14px 242px !important;
    }

    body.mobile-menu-open .site-header .nav-actions.is-open,
    .site-header .nav-actions.is-open {
      width: min(94vw, 360px) !important;
      padding-inline: 14px !important;
    }

    body.mobile-menu-open .site-header .menu-toggle,
    .site-header .menu-toggle[aria-expanded="true"] {
      left: calc(min(94vw, 360px) - 58px) !important;
    }

    body.mobile-menu-open .site-header .primary-nav.is-open a,
    .site-header .primary-nav.is-open a {
      min-height: 48px !important;
      font-size: 0.82rem !important;
    }
  }
}
