/* ==========================================================================
   salt&pepper safari — mobile menu + AFCON popup (all pages)
   ========================================================================== */

/* ------------------------------------------------- language/currency switch */
.flag, .mm svg.flag { width: 22px; height: 15px; border-radius: 2px; flex-shrink: 0; display: block; stroke: none !important;
        box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.hdr-locale { display: flex; align-items: center; gap: 6px; margin-left: 10px; margin-right: 12px; flex-shrink: 0; }
.lc { position: relative; }
.lc__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 9px;
  background: transparent; border: 1px solid var(--rule, #DDD6C7); border-radius: 999px; cursor: pointer;
  font: 700 12.5px/1 var(--body, sans-serif); letter-spacing: .02em; color: var(--ink, #1D1B17); white-space: nowrap;
}
.lc__btn:hover { border-color: var(--ink-faint, #7B746A); }
.lc__sym { font-size: 14px; color: var(--moss, #495F17); }
.lc__chev { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.lc__btn[aria-expanded="true"] { border-color: var(--moss, #495F17); }
.lc__btn[aria-expanded="true"] .lc__chev { transform: rotate(180deg); }
.lc__panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 1200; width: 260px;
  padding: 14px; background: #fff; border: 1px solid var(--rule, #DDD6C7); border-radius: 12px;
  box-shadow: 0 18px 50px rgba(20,18,16,.16);
}
.lc__panel[hidden] { display: none; }
.lc-opt--cur .lc-sym { width: 22px; text-align: center; font-size: 16px; color: var(--moss, #495F17); }
.lc__panel .lc__curs--list { display: grid; grid-template-columns: 1fr; gap: 4px; }
.lc__label, .mm__label { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--clay, #A8743A); }
.lc__label:not(:first-child) { margin-top: 16px; }
.lc__langs, .mm__langs { display: grid; gap: 4px; }
.lc-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px;
  background: none; border: 1px solid transparent; border-radius: 8px; cursor: pointer; text-align: left;
  font: 500 15px/1.2 var(--body, sans-serif); color: var(--ink, #1D1B17);
}
.lc-opt:hover { background: var(--bone, #F4F1E8); }
.lc-opt small { margin-left: auto; font-size: 12px; color: var(--ink-faint, #7B746A); }
.lc-opt[aria-pressed="true"] { border-color: var(--moss, #495F17); background: rgba(73,95,23,.06); font-weight: 700; }
.lc__curs, .mm__curs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lc-cur {
  height: 40px; border: 1px solid var(--rule, #DDD6C7); border-radius: 8px; background: #fff; cursor: pointer;
  font: 600 14px/1 var(--body, sans-serif); color: var(--ink, #1D1B17);
}
.lc-cur b { font-weight: 700; color: var(--ink-faint, #7B746A); }
.lc-cur[aria-pressed="true"] { background: var(--moss, #495F17); border-color: var(--moss, #495F17); color: var(--bone, #F4F1E8); }
.lc-cur[aria-pressed="true"] b { color: inherit; }
.lc__note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-faint, #7B746A); }
.lc-opt:focus-visible, .lc-cur:focus-visible, .lc__btn:focus-visible { outline: 2px solid var(--clay, #A8743A); outline-offset: 2px; }
@media (max-width: 768px) {
  .hdr-locale { margin-left: auto; margin-right: 10px; gap: 6px; }
  .lc { position: static; }
  .lc__panel {
    position: fixed; top: calc(var(--header-h, 70px) + 6px); right: 12px; left: auto;
    width: min(300px, calc(100vw - 24px));
  }
  .lc-opt { padding: 11px 10px; font-size: 16px; }
}
@media (max-width: 420px) {
  .header-logo img, .header-logo .logo-img { width: 132px !important; }
  .lc--lang .lc__code { display: none; }
  .lc__btn { padding: 0 8px; gap: 5px; height: 34px; }
  .lc__chev { display: none; }
  .hdr-locale { margin-right: 6px; gap: 5px; }
}

/* Google Website Translator: hide its toolbar, keep the page where it was */
.sp-translated body { top: 0 !important; position: static !important; }
iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: transparent !important; box-shadow: none !important; }

/* -------------------------------------------------------------- mobile menu */
.mm { display: none; }

@media (max-width: 768px) {
  .header-nav { display: none !important; }
  .header-currency { display: none; }

  .mm {
    position: fixed; inset: 0; z-index: 3000;
    height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--bone, #F4F1E8); color: var(--ink, #1D1B17);
    font-family: var(--body, 'Karla', sans-serif);
    --row-pad: clamp(7px, 1.45dvh, 15px);
    --row-size: clamp(1.15rem, 2.85dvh, 1.55rem);
  }
  .mm[hidden] { display: none; }
  .mm.is-entering { animation: mm-in .22s ease-out; }
  @keyframes mm-in { from { opacity: 0; } to { opacity: 1; } }

  .mm svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

  /* top bar: logo on layer 1, back + title on deeper layers */
  .mm__bar {
    display: grid; grid-template-columns: 46px 1fr 46px; align-items: center;
    height: var(--header-h, 70px); padding: 0 12px; flex-shrink: 0;
    border-bottom: 1px solid var(--rule, #DDD6C7);
  }
  .mm__logo { grid-column: 1 / 3; grid-row: 1; padding-left: 8px; }
  .mm__logo img { height: 44px; width: auto; display: block; }
  .mm__title {
    grid-column: 2; grid-row: 1; margin: 0; text-align: center;
    font-family: var(--display, serif); font-size: 1.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .mm__back, .mm__close {
    width: 46px; height: 46px; display: grid; place-items: center; grid-row: 1;
    background: none; border: 0; border-radius: 50%; color: var(--ink, #1D1B17); cursor: pointer;
  }
  .mm__back { grid-column: 1; }
  .mm__close { grid-column: 3; }
  .mm__back:active, .mm__close:active { background: rgba(0,0,0,.06); }
  .mm.is-deep .mm__logo { display: none; }

  /* layers */
  .mm__stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
  .mm__panel {
    position: absolute; inset: 0; overflow: hidden;
    display: flex; flex-direction: column;
    padding: clamp(10px, 2dvh, 20px) 20px clamp(10px, 2dvh, 18px);
    background: var(--bone, #F4F1E8);
    transform: translateX(100%); visibility: hidden;
    transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s linear .32s;
  }
  .mm__panel.is-current { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2,.8,.2,1); }
  .mm__panel.is-behind  { transform: translateX(-28%); visibility: hidden; }

  .mm__search {
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
    height: clamp(42px, 6dvh, 50px); padding: 0 16px; margin-bottom: clamp(4px, 1dvh, 10px);
    background: #fff; border: 1px solid var(--rule, #DDD6C7); border-radius: 999px; color: var(--ink-faint, #7B746A);
  }
  .mm__search svg { width: 18px; height: 18px; }
  .mm__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 16px/1 var(--body, sans-serif); color: var(--ink, #1D1B17); }

  .mm__list { list-style: none; margin: 0; padding: 0; }
  .mm__list li { border-bottom: 1px solid var(--rule, #DDD6C7); }
  .mm__row {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: var(--row-pad) 2px; background: none; border: 0; text-align: left; cursor: pointer;
    font-family: var(--display, 'Bodoni Moda', serif); font-size: var(--row-size); line-height: 1.15;
    color: var(--ink, #1D1B17); text-decoration: none;
  }
  .mm__row.is-active { color: var(--moss, #495F17); }
  .mm__row--link { font-family: var(--body, sans-serif); font-size: clamp(1rem, 2.3dvh, 1.12rem); font-weight: 500; }
  .mm__go { color: var(--ink-faint, #7B746A); width: 20px !important; height: 20px !important; }

  .mm__all {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    height: clamp(44px, 6dvh, 52px); margin-bottom: clamp(6px, 1.4dvh, 14px);
    background: var(--moss, #495F17); color: var(--bone, #F4F1E8) !important;
    border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none;
  }
  .mm__all--quiet { margin: auto 0 0; background: transparent; color: var(--moss, #495F17) !important; border: 1.5px solid var(--moss, #495F17); }

  .mm__note {
    margin-top: auto; padding: 14px 16px; border-radius: 12px; background: var(--bone-warm, #EAE4D6);
    text-decoration: none; color: var(--ink-soft, #4A453E); font-size: 15px; display: grid; gap: 2px;
  }
  .mm__note strong { color: var(--ink, #1D1B17); font-family: var(--display, serif); font-size: 1.15rem; font-weight: 400; }

  .mm__locale {
    display: flex; align-items: center; gap: 12px; width: 100%; flex-shrink: 0;
    margin-top: clamp(8px, 1.6dvh, 16px); padding: clamp(9px, 1.5dvh, 13px) 14px;
    background: #fff; border: 1px solid var(--rule, #DDD6C7); border-radius: 12px; cursor: pointer;
    font: 600 15px/1.2 var(--body, sans-serif); color: var(--ink, #1D1B17); text-align: left;
  }
  .mm__locale > span { flex: 1; }
  .mm__locale .flag { width: 24px; height: 16px; }

  .mm__promo {
    display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center;
    margin-top: auto; padding: 8px; border-radius: 12px;
    background: #fff; border: 1px solid var(--rule, #DDD6C7);
    color: var(--ink-soft, #4A453E); text-decoration: none; font-size: 14px; line-height: 1.35;
  }
  .mm__promo img { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; display: block; }
  .mm__promo strong { display: block; color: var(--ink, #1D1B17); font-size: 15px; }

  #mmp-locale .mm__label:not(:first-child) { margin-top: clamp(12px, 2.5dvh, 24px); }
  #mmp-locale .lc-opt { padding: clamp(9px, 1.6dvh, 13px) 12px; font-size: 16px; background: #fff; border-color: var(--rule, #DDD6C7); }
  #mmp-locale .lc-opt[aria-pressed="true"] { border-color: var(--moss, #495F17); background: rgba(73,95,23,.07); }
  #mmp-locale .lc-opt .flag { width: 26px; height: 17px; }
  #mmp-locale .lc-cur { height: 46px; font-size: 15px; }
  .mm__fine { margin: auto 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-faint, #7B746A); }

  .mm__foot {
    flex-shrink: 0; padding: clamp(10px, 1.6dvh, 14px) 20px calc(clamp(10px, 1.6dvh, 14px) + env(safe-area-inset-bottom));
    border-top: 1px solid var(--rule, #DDD6C7); background: var(--bone-warm, #EAE4D6);
  }
  .mm__cta {
    display: flex; align-items: center; justify-content: center; height: clamp(44px, 6.2dvh, 52px);
    background: var(--clay, #A8743A); color: #fff !important; border-radius: 999px;
    font-weight: 700; font-size: 16px; text-decoration: none;
  }
  .mm__contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
  .mm__contact a {
    display: flex; align-items: center; justify-content: center; gap: 7px; height: clamp(38px, 5.2dvh, 44px);
    border: 1px solid var(--rule, #DDD6C7); border-radius: 999px; background: var(--bone, #F4F1E8);
    color: var(--ink, #1D1B17); text-decoration: none; font-size: 14px; font-weight: 600;
  }
  .mm__contact svg { width: 17px; height: 17px; }

  .mm a:focus-visible, .mm button:focus-visible, .mm__search:focus-within { outline: 2px solid var(--clay, #A8743A); outline-offset: 2px; }
  body.mm-open { overflow: hidden; }

  /* short phones: drop the extras so the main list never needs scrolling */
  @media (max-height: 640px) { .mm__contact { display: none; } }
  .mm [data-mm-optional].is-dropped { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mm__panel, .mm__panel.is-current { transition: none; }
}

/* ------------------------------------------------------------- AFCON popup */
.afp {
  position: fixed; inset: 0; z-index: 4000;
  display: grid; place-items: center; padding: 20px;
}
.afp[hidden] { display: none; }
.afp__backdrop { position: absolute; inset: 0; background: rgba(20,18,16,.62); }
.afp__card {
  position: relative; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--bone, #F4F1E8); border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  animation: afp-in .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes afp-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.afp__media { position: relative; min-height: 100%; }
.afp__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.afp__body { padding: 34px 32px 26px; }
.afp__dates { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--clay, #A8743A); }
.afp__title {
  margin: 0; font-family: var(--display, 'Bodoni Moda', serif); font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.08; color: var(--ink, #1D1B17);
}
.afp__text { margin: 14px 0 22px; font-size: 16px; line-height: 1.55; color: var(--ink-soft, #4A453E); }
.afp__actions { display: grid; gap: 10px; }
.afp__btn {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent;
}
.afp__btn--primary { background: var(--moss, #495F17); color: var(--bone, #F4F1E8) !important; }
.afp__btn--primary:hover { background: var(--moss-deep, #1E2A06); }
.afp__btn--ghost { border-color: var(--moss, #495F17); color: var(--moss, #495F17) !important; }
.afp__btn--ghost:hover { background: rgba(73,95,23,.08); }
.afp__fine { margin: 16px 0 0; font-size: 12.5px; color: var(--ink-faint, #7B746A); }
.afp__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  background: rgba(244,241,232,.92); border: 0; border-radius: 50%; color: var(--ink, #1D1B17);
}
.afp__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.afp__btn:focus-visible, .afp__close:focus-visible { outline: 2px solid var(--clay, #A8743A); outline-offset: 3px; }

@media (max-width: 700px) {
  .afp { padding: 0; align-items: end; }
  .afp__card {
    grid-template-columns: 1fr; border-radius: 16px 16px 0 0; max-height: 92vh;
    animation-name: afp-up;
  }
  @keyframes afp-up { from { transform: translateY(100%); } to { transform: none; } }
  .afp__media { aspect-ratio: 16 / 9; min-height: 0; }
  .afp__body { padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); }
  .afp__text { margin: 10px 0 18px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .afp__card, .mm.is-entering { animation: none; }
}
.afp__card:focus { outline: none; }

/* ------------------------------------------------------- SEO heading order
   Subheadings that sat directly under an h2 were h4s (skipping a level).
   They are now <h3 class="h4">; these rules keep their original look. */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.about-value-item h3.h4 {font-size: 17px;
  color: var(--primary);
  margin-bottom: 6px;}
.about-promise-card h3.h4 {font-size: 17px; color: var(--primary); margin-bottom: 6px;}
.team-member-content h3.h4 {font-size: 18px; color: var(--primary); margin-bottom: 2px;}
.blog-article h3.h4 {font-size: 17px;
  color: var(--primary);
  margin: 20px 0 8px;}
.season-card h3.h4 {font-size: 16px; color: var(--primary); margin-bottom: 8px;}
.m-header h3.h4 {font-size: 17px; margin: 0 0 2px; color: inherit !important;}
.rc-body h3.h4 {font-size: 14px; color: var(--text); margin-bottom: 6px; line-height: 1.4;}
.pack-card h3.h4 {font-size: 15px; color: var(--primary); margin-bottom: 6px;}
.tip-banner h3.h4 {font-size: 15px; color: var(--primary); margin-bottom: 4px;}
.dc-body h3.h4 {font-size: 15px; color: var(--text); margin-bottom: 4px;}
.author-info h3.h4 {font-size: 16px; color: var(--primary); margin-bottom: 4px;}
.acc-body h3.h4 {font-size: 16px; color: var(--primary); margin-bottom: 2px;}
.benefit-card h3.h4 {font-size: 16px; color: var(--primary); margin-bottom: 6px;}
.inq-side-card h3.h4 {font-size: 15px; color: var(--primary); margin-bottom: 4px;}
.inq-wa-card h3.h4 {font-size: 15px; margin-bottom: 4px; color: #fff;}
.pi-text h3.h4 {font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;}
.kili-why-item h3.h4 {font-size: 15px; font-weight: 700; margin-bottom: 4px;}
.dest-sm-info h3.h4 {font-size: 15px; font-weight: 700; margin-bottom: 2px;}
.safari-why-item h3.h4 {font-size: 15px; font-weight: 700; margin-bottom: 4px;}
.about-value-card h3.h4 {font-size: 16px; font-weight: 700; margin-bottom: 8px;}
.about-promise-card h3.h4 {font-size: 17px; font-weight: 700; margin-bottom: 8px;}
.about-team-info h3.h4 {font-size: 18px; font-weight: 700; margin-bottom: 4px;}
.contact-info-card h3.h4 {font-size: 16px; font-weight: 700; margin-bottom: 8px;}
.contact-social-card h3.h4 {font-size: 14px; font-weight: 700; margin-bottom: 12px;}
h3.h4 {font-family: var(--body); font-weight: 700; color: var(--ink);}

/* ---------------------------------------------------------------- team cards
   Round portraits shown no larger than the source photos (240px), so they
   stay sharp until full-size originals are uploaded. */
.ra-member { text-align: center; }
.ra-member img {
  width: 168px; height: 168px; aspect-ratio: 1 / 1; border-radius: 50%;
  object-fit: cover; display: block; margin: 0 auto 18px;
  box-shadow: 0 0 0 4px var(--bone, #F4F1E8), 0 0 0 5px var(--rule, #DDD6C7);
}
.ra-member p { max-width: 32ch; margin-inline: auto; }

/* ---------------------------------------------------------- bigger logo
   Logo and slogan ("the taste of community") readable at a glance. */
:root { --header-h: 100px; }
.header-logo img, .header-logo .logo-img { width: clamp(220px, 20vw, 290px) !important; }
@media (max-width: 1180px) {
  .header-logo img, .header-logo .logo-img { width: 210px !important; }
  .header-whatsapp-btn { display: none !important; } /* "Contact Us" is in the menu; frees room for the logo */
  .hdr-locale { margin-left: 6px; margin-right: 6px; }
}
@media (max-width: 768px)  { :root { --header-h: 76px; } .header-logo img, .header-logo .logo-img { width: 176px !important; } }
@media (max-width: 420px)  { .header-logo img, .header-logo .logo-img { width: 150px !important; } }
