/* ==========================================================
   Kobo Safaris Africa — static rebuild
   Palette:
     --kobo-red    #DA291C  (from Kobo horizontal red logo)
     --ink         #1F1B18  (warm near-black, body headings)
     --earth       #6E5C4F  (muted earth, secondary text)
     --sand        #F7F3EC  (light sand section background)
     --charcoal    #262220  (footer)
   Type: Marcellus (display) / Mulish (body)
   ========================================================== */

:root {
  --kobo-red: #DA291C;
  --kobo-red-dark: #B01F14;
  --ink: #1F1B18;
  --earth: #6E5C4F;
  --sand: #F7F3EC;
  --charcoal: #262220;
  --deep-earth: #3D322B;
  --white: #ffffff;
  --max-w: 1180px;
  --radius: 4px;
  --font-display: "Marcellus", Georgia, serif;
  --font-body: "Mulish", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

html { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--kobo-red); text-decoration: none; }
a:hover { color: var(--kobo-red-dark); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--kobo-red);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(31, 27, 24, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo img { height: 44px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}
.main-nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--kobo-red);
  border-bottom-color: var(--kobo-red);
}
.main-nav .has-sub { position: relative; }
.main-nav .sub {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 200px;
  background: var(--white);
  border: 1px solid rgba(31, 27, 24, 0.08);
  box-shadow: 0 14px 34px rgba(31, 27, 24, 0.12);
  padding: 10px 0;
  display: none;
  flex-direction: column;
  gap: 0;
}
.main-nav .has-sub:hover .sub,
.main-nav .has-sub:focus-within .sub { display: flex; }
.main-nav .sub a {
  display: block;
  padding: 8px 18px;
  border-bottom: none;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
  font-size: 14px;
}
.main-nav .sub a:hover { background: var(--sand); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--charcoal);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 14, 10, 0.75) 0%, rgba(20, 14, 10, 0.15) 55%, rgba(20, 14, 10, 0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 72px;
  max-width: 720px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: #F3C9C4;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  color: var(--white);
  margin-bottom: 18px;
}
.hero p { font-size: 1.1rem; max-width: 560px; color: rgba(255,255,255,0.92); }
.hero-home { min-height: 82vh; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 34px;
  background: var(--kobo-red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--kobo-red-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--kobo-red);
  color: var(--kobo-red);
}
.btn-outline:hover { background: var(--kobo-red); color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--kobo-red);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.section-head p { color: var(--earth); }

/* ---------- Destination cards ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.dest-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  aspect-ratio: 3 / 2.4;
}
.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dest-card:hover img { transform: scale(1.06); }
.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 10, 8, 0.85) 8%, rgba(15, 10, 8, 0.05) 60%);
}
.dest-card-body {
  position: absolute;
  z-index: 1;
  bottom: 0;
  padding: 26px;
}
.dest-card h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 6px;
}
.dest-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.45s ease;
}
.dest-card:hover p, .dest-card:focus-visible p { max-height: 140px; opacity: 1; }
@media (hover: none) {
  .dest-card p { max-height: none; opacity: 1; }
}

/* ---------- Country page ---------- */
.country-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.country-intro h2 { font-size: 2rem; margin-bottom: 18px; }
.country-intro p + p { margin-top: 16px; }
.fact-box {
  background: var(--sand);
  border-top: 3px solid var(--kobo-red);
  padding: 30px;
  border-radius: var(--radius);
}
.fact-box h3 { font-size: 1.15rem; margin-bottom: 16px; }
.fact-box dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 0.95rem; }
.fact-box dt { font-weight: 800; color: var(--kobo-red); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.12em; padding-top: 4px; }
.fact-box dd { color: var(--earth); }

.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.highlight {
  background: var(--white);
  border: 1px solid rgba(31, 27, 24, 0.08);
  border-radius: var(--radius);
  padding: 30px;
}
.highlight h3 { font-size: 1.2rem; margin-bottom: 10px; }
.highlight p { font-size: 0.95rem; color: var(--earth); }

.cta-band {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 540px; margin: 0 auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-details h3 { font-size: 1.2rem; margin: 26px 0 8px; }
.contact-details h3:first-child { margin-top: 0; }
.contact-details p { color: var(--earth); }

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid rgba(31, 27, 24, 0.2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--kobo-red);
  outline-offset: 1px;
  border-color: transparent;
}
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.72);
  padding: 70px 0 34px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--white); }
.footer-cols-2 { columns: 2; column-gap: 30px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-social { display: flex; gap: 18px; list-style: none; }
.footer-social a { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .dest-grid, .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .country-intro, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile nav: activate early (many Android phones report ~720-780px CSS width) */
@media (max-width: 900px) {
  /* backdrop-filter creates a containing block for fixed descendants on some
     mobile browsers, which caused the full-screen menu to be clipped to the
     sticky header. Disable it on mobile so the menu uses the viewport. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header-inner { height: 72px; }
  .logo img { height: 36px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100dvh - 72px);
    min-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 30px 24px;
    will-change: transform;
    z-index: 40;
  }
  .main-nav.open { transform: translateX(0); }
  body.nav-open { overflow: hidden; touch-action: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav > ul > li { width: 100%; border-bottom: 1px solid rgba(31,27,24,0.07); }
  .main-nav a { display: block; padding: 14px 0; font-size: 15px; }
  .main-nav .sub {
    position: static;
    display: flex;
    border: none;
    box-shadow: none;
    padding: 0 0 10px 16px;
  }
}

@media (max-width: 680px) {
  .dest-grid, .highlight-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .section { padding: 60px 0; }
  .hero-content { padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .hero p { font-size: 1rem; }
  .hero-content .eyebrow { font-size: 11px; letter-spacing: 0.2em; }
  .section-head h2, .country-intro h2, .cta-band h2, .adventure-content h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
}

/* Footer vertical mark (as per original site) */
.footer-mark { text-align: center; margin: 4px 0 34px; }
.footer-mark img { height: 96px; width: auto; display: inline-block; opacity: 0.92; }

/* ---------- Country page: narrow container, fact tiles, climate, regions ---------- */
.container.narrow { max-width: 860px; }
.container.narrow p + p { margin-top: 16px; }
.eyebrow.red { color: var(--kobo-red); display: inline-block; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.country-intro aside .about-side { border-radius: var(--radius); margin-bottom: 24px; }
.country-intro h3 { font-size: 1.2rem; margin: 26px 0 8px; }

.fact-strip { background: var(--white); border-top: 1px solid rgba(31,27,24,0.08); border-bottom: 1px solid rgba(31,27,24,0.08); }
.fact-tiles { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact-tile { padding: 44px 28px; text-align: center; }
.fact-tile + .fact-tile { border-left: 1px solid rgba(31,27,24,0.08); }
.fact-icon { display: inline-block; width: 34px; height: 34px; color: var(--kobo-red); margin-bottom: 12px; }
.fact-icon svg { width: 100%; height: 100%; }
.fact-tile h3 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.fact-tile p { font-size: 0.88rem; color: var(--earth); line-height: 1.6; }

.climate-band { background: var(--deep-earth); color: rgba(255,255,255,0.88); padding: 76px 0; }
.climate-band h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 18px; }
.climate-band p { margin-bottom: 14px; }
.climate-band ul { list-style: none; margin-bottom: 10px; }
.climate-band li { padding: 6px 0 6px 22px; position: relative; }
.climate-band li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--kobo-red); }

.region-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; background: var(--white); border-radius: var(--radius); overflow: hidden; margin-bottom: 34px; border: 1px solid rgba(31,27,24,0.06); }
.region-row .region-img { min-height: 320px; }
.region-row .region-img img { width: 100%; height: 100%; object-fit: cover; }
.region-row .region-text { padding: 48px 46px; display: flex; flex-direction: column; justify-content: center; }
.region-row.reverse .region-img { order: 2; }
.region-row h3 { font-size: 1.5rem; margin-bottom: 12px; }
.region-row p { font-size: 0.96rem; color: var(--earth); }
.region-row.no-img { grid-template-columns: 1fr; }
.region-row.no-img .region-text { padding: 38px 46px; }

@media (max-width: 960px) {
  .fact-tiles { grid-template-columns: repeat(2, 1fr); }
  .fact-tile + .fact-tile { border-left: none; }
  .fact-tile { border-top: 1px solid rgba(31,27,24,0.08); }
  .region-row, .region-row.reverse { grid-template-columns: 1fr; }
  .region-row.reverse .region-img { order: 0; }
  .region-row .region-img { min-height: 240px; }
}
@media (max-width: 680px) {
  .fact-tiles { grid-template-columns: 1fr; }
  .region-row .region-text { padding: 30px 24px; }
}

/* ---------- Home: stats strip ---------- */
.stats-strip { background: var(--sand); border-bottom: 1px solid rgba(31,27,24,0.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 26px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(31,27,24,0.08); }
.stat .fact-icon { display:inline-block; width:30px; height:30px; color: var(--kobo-red); margin-bottom: 12px; }
.stat .fact-icon svg { width:100%; height:100%; }
.stat h3 { font-family: var(--font-body); font-size: 0.92rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.stat p { font-size: 0.85rem; color: var(--earth); line-height: 1.5; }

/* ---------- Home: feature cards (distinct from source 2x2 block) ---------- */
.feature-band { background: var(--sand); padding: 88px 0; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(31,27,24,0.07); display: flex; flex-direction: column; }
.feature-img { aspect-ratio: 3 / 2; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.feature-card:hover .feature-img img { transform: scale(1.05); }
.feature-body { padding: 32px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.feature-body h3 { font-size: 1.4rem; margin-bottom: 12px; }
.feature-body p { font-size: 0.95rem; color: var(--earth); margin-bottom: 22px; flex: 1; }
.feature-body .btn { align-self: flex-start; margin-top: 0; }

/* ---------- Home: adventure parallax strip ---------- */
.adventure-band { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.adventure-band .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adventure-band::after { content:""; position:absolute; inset:0; background: rgba(20,14,10,0.42); }
.adventure-content { position: relative; z-index: 1; color: var(--white); }
.adventure-content h2 { color: var(--white); font-size: clamp(1.8rem,3.4vw,2.6rem); margin-bottom: 20px; }
.cta-band.green { background: var(--kobo-red-dark); }

@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat + .stat { border-left: none; }
  .stat:nth-child(n+1) { border-top: 1px solid rgba(31,27,24,0.08); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: none; }
  .feature-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 680px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-top: 1px solid rgba(31,27,24,0.08); }
}

/* ---------- Contact: offices + expanded enquiry form ---------- */
.office { margin-bottom: 22px; }
.office h4 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kobo-red); margin-bottom: 5px; }
.office p { color: var(--earth); font-size: 0.95rem; line-height: 1.55; }

.enquiry-form fieldset { border: none; border-top: 1px solid rgba(31,27,24,0.1); padding: 26px 0 4px; margin: 0; }
.enquiry-form fieldset:first-of-type { border-top: none; padding-top: 0; }
.enquiry-form legend { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 16px; padding: 0; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.checkbox-grid label { display: flex; align-items: center; gap: 9px; font-size: 0.92rem; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 600; margin: 0; }
.checkbox-grid input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--kobo-red); flex-shrink: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 680px) {
  .form-three { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
}

/* ---------- About: looping video panel ---------- */
.about-video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }


/* Contact form: checkbox destinations */
.field-intro {
  margin: -6px 0 16px;
  color: rgba(31, 27, 24, 0.68);
  font-size: 0.9rem;
}
.destination-checkboxes {
  padding: 2px 0 14px;
  gap: 12px 28px;
}
.destination-checkboxes label {
  cursor: pointer;
  min-height: 28px;
  font-size: 0.96rem;
}
.destination-checkboxes input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}
@media (max-width: 680px) {
  .destination-checkboxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }
}
@media (max-width: 420px) {
  .destination-checkboxes { grid-template-columns: 1fr; }
}


/* Public country / market selector */
.header-inner { position: relative; }
.market-selector { position: relative; margin-left: 18px; flex: 0 0 auto; z-index: 1200; }
.market-selector__button { display:flex; align-items:center; gap:8px; min-height:40px; padding:8px 11px; border:1px solid rgba(49,42,33,.2); background:#fff; color:#2f2a24; font:600 13px/1.2 Mulish,sans-serif; cursor:pointer; white-space:nowrap; }
.market-selector__button img,.market-selector__option img { object-fit:cover; border-radius:1px; box-shadow:0 0 0 1px rgba(0,0,0,.12); }
.market-selector__button svg { width:11px; height:8px; margin-left:2px; transition:transform .2s ease; }
.market-selector.is-open .market-selector__button svg { transform:rotate(180deg); }
.market-selector__panel { position:absolute; top:calc(100% + 10px); right:0; width:310px; max-width:calc(100vw - 24px); padding:15px; background:#fff; border:1px solid rgba(49,42,33,.14); box-shadow:0 18px 50px rgba(30,25,20,.2); }
.market-selector__title { margin-bottom:10px; font:400 19px/1.2 Marcellus,serif; color:#2f2a24; }
.market-selector__search { width:100%; margin:0 0 10px; padding:10px 12px; border:1px solid rgba(49,42,33,.2); background:#faf8f4; font:400 14px Mulish,sans-serif; }
.market-selector__list { max-height:330px; overflow:auto; margin:0 -5px; padding:0 5px; }
.market-selector__option { width:100%; display:flex; align-items:center; gap:11px; padding:9px 8px; border:0; background:transparent; color:#302a24; font:600 14px/1.2 Mulish,sans-serif; text-align:left; cursor:pointer; }
.market-selector__option:hover,.market-selector__option:focus,.market-selector__option.is-selected { background:#f3eee7; outline:none; }
.market-selector__option span:nth-child(2) { flex:1; }
.market-selector__check { color:#9d292d; font-weight:800; }
.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

@media (max-width: 900px) {
  .header-inner { flex-wrap:wrap; }
  .market-selector { order:2; margin-left:auto; margin-right:54px; }
  .nav-toggle { position:absolute; right:0; top:50%; transform:translateY(-50%); }
  .main-nav { order:3; width:100%; }
}
@media (max-width: 520px) {
  .market-selector__button span { display:none; }
  .market-selector__button { min-width:43px; justify-content:center; padding:8px; }
  .market-selector__button svg { display:none; }
  .market-selector { margin-right:50px; }
  .market-selector__panel { position:fixed; top:76px; right:12px; left:12px; width:auto; max-width:none; }
}

/* v1.1.1 — sharper header and market-selector typography */
:root {
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.main-nav,
.market-selector,
.market-selector button,
.market-selector input {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

.main-nav a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.105em;
  opacity: 1;
}

.main-nav .sub a {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.market-selector__button {
  min-height: 42px;
  padding: 9px 12px;
  border-color: rgba(31, 27, 24, 0.18);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(31, 27, 24, 0.04);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.market-selector__button:hover,
.market-selector__button:focus-visible {
  border-color: rgba(31, 27, 24, 0.34);
  box-shadow: 0 2px 8px rgba(31, 27, 24, 0.09);
}

.market-selector__button img,
.market-selector__option img {
  image-rendering: auto;
  flex: 0 0 auto;
}

.market-selector__panel {
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(30, 25, 20, 0.18);
}

.market-selector__title {
  font-family: var(--font-display);
  font-weight: 400;
}

.market-selector__search {
  border-radius: 7px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.market-selector__option {
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

/* v1.1.2 — official Kobo SVG logo assets */
.logo img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  shape-rendering: geometricPrecision;
}
.site-footer img[src*="Kobo-ver.svg"],
footer img[src*="Kobo-ver.svg"] {
  display: block;
  width: auto;
  height: 118px;
  max-width: 100%;
  object-fit: contain;
  shape-rendering: geometricPrecision;
}
@media (max-width: 767px) {
  .site-footer img[src*="Kobo-ver.svg"],
  footer img[src*="Kobo-ver.svg"] {
    height: 96px;
  }
}


/* v1.1.4 — updated vertical footer logo in refined grey tone */
.site-footer img[src*="Kobo-ver.svg"],
footer img[src*="Kobo-ver.svg"] {
  filter: grayscale(1);
  opacity: 0.68;
  transition: opacity 180ms ease, filter 180ms ease;
}
.site-footer a:hover img[src*="Kobo-ver.svg"],
.site-footer img[src*="Kobo-ver.svg"]:hover,
footer img[src*="Kobo-ver.svg"]:hover {
  opacity: 0.84;
}

/* ==========================================================
   KOBO SAFARIS AFRICA v2.0 — LUXURY VISUAL SYSTEM
   Visual refresh only: all existing content, forms, market logic
   and WordPress functionality remain intact.
   ========================================================== */
:root {
  --luxury-gold: #b49562;
  --luxury-gold-soft: #d6c29e;
  --ivory: #fbf8f2;
  --ink-soft: #2b2622;
  --shadow-soft: 0 18px 60px rgba(31, 25, 20, .10);
  --shadow-card: 0 16px 46px rgba(31, 25, 20, .12);
  --radius-lux: 14px;
}

body {
  background: var(--ivory);
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { letter-spacing: -.018em; }
.container { max-width: 1260px; padding-left: 34px; padding-right: 34px; }
.section { padding: clamp(88px, 9vw, 132px) 0; }
.section-head { margin-bottom: 64px; }
.section-head h2 { font-size: clamp(2.35rem, 4.2vw, 3.75rem); }
.section-head p { max-width: 690px; font-size: 1.03rem; }
.section-head .eyebrow,
.eyebrow.red,
.hero .eyebrow {
  color: var(--luxury-gold-soft);
  letter-spacing: .32em;
  font-size: 11px;
}
.section-head .eyebrow,
.eyebrow.red { color: var(--luxury-gold); }

/* Header */
.site-header {
  background: rgba(251, 248, 242, .92);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border-bottom: 1px solid rgba(46, 39, 32, .08);
  box-shadow: 0 8px 30px rgba(38, 31, 25, .035);
}
.header-inner { height: 94px; gap: 26px; }
.logo img { height: 48px; }
.main-nav ul { gap: 38px; }
.main-nav a {
  font-family: "Inter", var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .105em;
  border: 0;
  position: relative;
}
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  height: 1px;
  left: 0;
  right: 100%;
  bottom: 3px;
  background: var(--luxury-gold);
  transition: right .28s ease;
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a[aria-current="page"]::after { right: 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: transparent; }
.main-nav .sub {
  top: calc(100% + 18px);
  border: 1px solid rgba(31,27,24,.08);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 12px;
  min-width: 230px;
}
.main-nav .sub::before { content:""; position:absolute; height:20px; left:0; right:0; top:-20px; }
.main-nav .sub a { border-radius: 7px; padding: 10px 12px; }
.main-nav .sub a:hover { background: #f5f0e7; color: var(--kobo-red); }

/* Country selector */
.market-selector__button {
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 999px;
  border-color: rgba(49,42,33,.15);
  background: rgba(255,255,255,.74);
  box-shadow: 0 5px 20px rgba(31,25,20,.06);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -.005em;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.market-selector__button:hover { border-color: var(--luxury-gold); box-shadow: 0 8px 24px rgba(31,25,20,.1); transform: translateY(-1px); }
.market-selector__panel { border-radius: 16px; padding: 18px; box-shadow: 0 24px 70px rgba(30,25,20,.22); }
.market-selector__search { border-radius: 9px; padding: 12px 13px; }
.market-selector__option { border-radius: 8px; padding: 10px; }
.market-selector__option:hover,.market-selector__option:focus,.market-selector__option.is-selected { background:#f4efe6; }
.market-selector__check { color: var(--luxury-gold); }

/* Immersive heroes */
.hero { min-height: 72vh; align-items: center; }
.hero-home { min-height: calc(100vh - 94px); }
.hero::after {
  background:
    linear-gradient(90deg, rgba(15,11,8,.72) 0%, rgba(15,11,8,.36) 48%, rgba(15,11,8,.12) 75%),
    linear-gradient(to top, rgba(12,9,7,.62), transparent 58%);
}
.hero-content { padding-top: 110px; padding-bottom: 110px; max-width: 850px; }
.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: .98;
  max-width: 780px;
  margin-bottom: 26px;
  text-shadow: 0 4px 32px rgba(0,0,0,.2);
}
.hero p { font-size: clamp(1rem, 1.55vw, 1.22rem); max-width: 620px; line-height: 1.7; }

/* Buttons */
.btn {
  border-radius: 999px;
  padding: 15px 31px;
  background: var(--kobo-red);
  box-shadow: 0 10px 28px rgba(218,41,28,.18);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(218,41,28,.24); }
.btn-outline { color: var(--ink); border-color: rgba(31,27,24,.24); background: transparent; box-shadow: none; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); }

/* Stats */
.stats-strip { background: #f0e9dd; border: 0; }
.stats-grid { padding-top: 10px; padding-bottom: 10px; }
.stat { padding: 52px 30px; }
.stat + .stat { border-left-color: rgba(31,27,24,.09); }
.stat .fact-icon { color: var(--luxury-gold); width: 34px; height: 34px; }
.stat h3 { font-size: .82rem; letter-spacing: .13em; }

/* Destination cards */
.dest-grid { gap: 28px; }
.dest-card {
  border-radius: var(--radius-lux);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-card);
  transform: translateZ(0);
}
.dest-card img { transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.dest-card:hover img { transform: scale(1.075); filter: saturate(1.06) contrast(1.03); }
.dest-card::after { background: linear-gradient(to top, rgba(12,9,7,.9) 5%, rgba(12,9,7,.22) 58%, rgba(12,9,7,.04)); }
.dest-card-body { padding: 34px; }
.dest-card h3 { font-size: 2rem; }
.dest-card p { font-size: .91rem; }

/* Feature cards */
.feature-band { background: #eee7db; padding: clamp(90px, 9vw, 128px) 0; }
.feature-cards { gap: 28px; }
.feature-card {
  border: 0;
  border-radius: var(--radius-lux);
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease;
}
.feature-card:hover { transform: translateY(-7px); box-shadow: 0 28px 70px rgba(31,25,20,.16); }
.feature-img { aspect-ratio: 4 / 3; }
.feature-img img { transition-duration: .9s; }
.feature-body { padding: 38px 36px 40px; }
.feature-body h3 { font-size: 1.75rem; }

/* Content/country layouts */
.country-intro { gap: clamp(50px, 7vw, 90px); }
.country-intro h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
.fact-box {
  border-top: 0;
  border-radius: var(--radius-lux);
  box-shadow: var(--shadow-soft);
  background: #f2ece2;
  padding: 38px;
}
.fact-box::before { content:""; display:block; width:42px; height:2px; background:var(--luxury-gold); margin-bottom:22px; }
.highlight-grid { gap: 24px; }
.highlight {
  border: 0;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 12px 42px rgba(31,25,20,.075);
  transition: transform .3s ease, box-shadow .3s ease;
}
.highlight:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.region-row {
  border: 0;
  border-radius: var(--radius-lux);
  box-shadow: var(--shadow-soft);
  margin-bottom: 42px;
}
.region-row .region-img { min-height: 390px; overflow:hidden; }
.region-row .region-img img { transition: transform .8s ease; }
.region-row:hover .region-img img { transform: scale(1.035); }
.region-row .region-text { padding: 58px 56px; }
.region-row h3 { font-size: 2rem; }
.climate-band { background: #302a25; padding: 96px 0; }
.fact-icon, .climate-band li::before { color: var(--luxury-gold); }
.climate-band li::before { background: var(--luxury-gold); }

/* Forms */
.contact-grid { gap: clamp(54px, 8vw, 96px); }
.enquiry-form {
  background: #fff;
  padding: clamp(30px, 4vw, 54px);
  border-radius: var(--radius-lux);
  box-shadow: var(--shadow-soft);
}
.form-row input,.form-row select,.form-row textarea {
  border-radius: 9px;
  border-color: rgba(31,27,24,.14);
  background: #fcfaf6;
  padding: 14px 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-row input:focus,.form-row select:focus,.form-row textarea:focus {
  outline: none;
  border-color: var(--luxury-gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(180,149,98,.13);
}
.form-row label { letter-spacing: .11em; font-size: 11px; }
.enquiry-form legend { font-size: 1.45rem; }
.checkbox-grid input[type="checkbox"] { accent-color: var(--luxury-gold); }

/* CTA and image bands */
.adventure-band { min-height: 520px; }
.adventure-band::after { background: linear-gradient(rgba(16,11,8,.42),rgba(16,11,8,.62)); }
.adventure-content h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.cta-band { padding: 108px 24px; background: #2c2723; }
.cta-band h2 { font-size: clamp(2.3rem,4.5vw,4rem); }

/* Footer */
.site-footer { background: #211e1b; padding-top: 92px; }
.footer-grid { gap: 72px; margin-bottom: 62px; }
.site-footer h4 { font-size: 1.22rem; color: #f5efe5; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: var(--luxury-gold-soft); }
.footer-mark img { height: 120px; filter: grayscale(1); opacity: .56; }
.footer-bottom { padding-top: 30px; }

/* Gentle reveal — progressive enhancement */
.kobo-reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,.7,.2,1); }
.kobo-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .main-nav ul { gap: 22px; }
  .market-selector { margin-left: 4px; }
}
@media (max-width: 960px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .header-inner { height: 78px; }
  .logo img { height: 40px; }
  .hero-home { min-height: 78vh; }
  .hero h1 { font-size: clamp(3rem, 10vw, 5rem); }
  .dest-grid { grid-template-columns: repeat(2,1fr); }
  .dest-card { aspect-ratio: 4 / 5; }
  .region-row .region-text { padding: 42px 36px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding-left: 19px; padding-right: 19px; }
  .section { padding: 78px 0; }
  .hero { min-height: 68vh; }
  .hero-home { min-height: 76vh; }
  .hero-content { padding-top: 82px; padding-bottom: 74px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .dest-grid { grid-template-columns: 1fr; gap: 22px; }
  .dest-card { aspect-ratio: 4 / 4.6; }
  .dest-card p { max-height: none; opacity: 1; }
  .feature-body { padding: 30px 26px 32px; }
  .enquiry-form { padding: 26px 20px; }
  .footer-grid { gap: 42px; }
  .adventure-band { min-height: 420px; }
}

/* v2.1.2 — cinematic homepage hero */
.hero-home {
  min-height: calc(100vh - 94px);
  align-items: flex-end;
}
.hero-home::after {
  background: linear-gradient(to top, rgba(10, 8, 6, .70) 0%, rgba(10, 8, 6, .28) 44%, rgba(10, 8, 6, .08) 72%, rgba(10, 8, 6, .12) 100%);
}
.hero-home video.hero-img {
  transform: scale(1.03);
  animation: koboHeroDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-home .hero-content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: koboHeroReveal .85s cubic-bezier(.22,.7,.2,1) forwards;
}
.hero-home .hero-content .eyebrow { animation-delay: .12s; }
.hero-home .hero-content h1 { animation-delay: .28s; }
.hero-home .hero-content p { animation-delay: .44s; }
.hero-home .hero-content .btn { animation-delay: .60s; }
@keyframes koboHeroDrift {
  from { transform: scale(1.03); }
  to { transform: scale(1.075); }
}
@keyframes koboHeroReveal {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-home video.hero-img { animation: none; transform: none; }
  .hero-home .hero-content > * { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 680px) {
  .hero-home { min-height: 88vh; }
  .hero-home::after {
    background: linear-gradient(to top, rgba(10, 8, 6, .78) 0%, rgba(10, 8, 6, .34) 54%, rgba(10, 8, 6, .10) 100%);
  }
}
