/* Tanzania Specialist — Public Site Stylesheet
   2026 rebrand: cream + dark olive + terracotta + amber, replacing the old gold theme.
   Display headings: Poppins (bold uppercase), accent subheads: Caveat (hand-drawn),
   body/nav: Source Serif 4, headings: Libre Baskerville. */

:root {
    --primary: #cc4b25;       /* terracotta — CTAs, links, icons */
    --secondary: #a63a1a;     /* terracotta hover */
    --cream: #e4d8c6;         /* cream background (header, footer, sections) */
    --heading: #2b2117;       /* near-black warm brown for headings */
    --body-text: #5c5346;     /* warm gray-brown for body text */
    --border: #ddccae;        /* cream-gold border */
    --bg-lite: #f4efe3;       /* lighter cream for alternating sections */
    --white: #ffffff;
    --whatsapp: #25d366;

    /* Brand additions */
    --olive: #465b2d;         /* dark olive green — quote widget, testimonials, footer strip */
    --olive-dark: #33421f;
    --amber: #ffbe3d;         /* amber-yellow — primary CTA buttons, price badges */
    --amber-dark: #e0a01f;
    --stripe-red: #a71c1c;    /* thin decorative top stripe */
    --abakombe-red: #dc241a;  /* Abakombe logo red — top utility bar */
    --brown: #3a2117;
    --font-display: 'Libre Baskerville', serif;
    --font-hand: 'Caveat', cursive;
    --font-mono: 'Space Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Source Serif 4', serif;
    color: var(--body-text);
    line-height: 1.7;
    background: var(--white);
}
h1, h2, h3, h4, h5 {
    font-family: 'Libre Baskerville', serif;
    color: var(--heading);
    font-weight: 600;
    line-height: 1.3;
}
a { text-decoration: none; color: var(--primary); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Decorative top stripe ---- */
.header-stripe { height: 4px; background: var(--stripe-red); }

/* ---------- Utility bar (language / currency / ratings / blog) ---------- */
.utility-bar {
    background: var(--abakombe-red);
    color: #fff;
    font-size: 12.5px;
    position: relative;
    padding-bottom: 20px;
}
.utility-bar::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -1px; height: 16px;
    background: var(--abakombe-red);
    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjAwIDQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48cGF0aCBkPSJNIDAgMCBMIDE2MDAgMCBMIDE2MDAgMTUuOSBRIDE2MDAuMCAxNS45IDE1ODAuMCAxNy4yIFEgMTU2MC4wIDE4LjUgMTU0MC4wIDE1LjYgUSAxNTIwLjAgMTIuOCAxNTAwLjAgMTUuMiBRIDE0ODAuMCAxNy42IDE0NjAuMCAxNS41IFEgMTQ0MC4wIDEzLjQgMTQyMC4wIDE2LjIgUSAxNDAwLjAgMTkuMCAxMzgwLjAgMjAuNyBRIDEzNjAuMCAyMi40IDEzNDAuMCAxNi41IFEgMTMyMC4wIDEwLjUgMTMwMC4wIDE0LjkgUSAxMjgwLjAgMTkuMyAxMjYwLjAgMTcuMyBRIDEyNDAuMCAxNS40IDEyMjAuMCAxNC42IFEgMTIwMC4wIDEzLjkgMTE4MC4wIDE1LjkgUSAxMTYwLjAgMTcuOSAxMTQwLjAgMTUuNSBRIDExMjAuMCAxMy4xIDExMDAuMCAyMC42IFEgMTA4MC4wIDI4LjEgMTA2MC4wIDI4LjEgUSAxMDQwLjAgMjguMSAxMDIwLjAgMjUuNyBRIDEwMDAuMCAyMy4zIDk4MC4wIDE3LjEgUSA5NjAuMCAxMC45IDk0MC4wIDE4LjkgUSA5MjAuMCAyNi45IDkwMC4wIDI1LjAgUSA4ODAuMCAyMy4yIDg2MC4wIDE5LjYgUSA4NDAuMCAxNi4wIDgyMC4wIDE1LjAgUSA4MDAuMCAxMy45IDc4MC4wIDIxLjkgUSA3NjAuMCAyOS45IDc0MC4wIDIxLjggUSA3MjAuMCAxMy44IDcwMC4wIDE2LjAgUSA2ODAuMCAxOC4yIDY2MC4wIDIxLjkgUSA2NDAuMCAyNS42IDYyMC4wIDIyLjMgUSA2MDAuMCAxOS4xIDU4MC4wIDE4LjEgUSA1NjAuMCAxNy4wIDU0MC4wIDIxLjUgUSA1MjAuMCAyNi4wIDUwMC4wIDI3LjcgUSA0ODAuMCAyOS41IDQ2MC4wIDI0LjcgUSA0NDAuMCAxOS45IDQyMC4wIDIyLjggUSA0MDAuMCAyNS42IDM4MC4wIDI3LjUgUSAzNjAuMCAyOS40IDM0MC4wIDI1LjUgUSAzMjAuMCAyMS42IDMwMC4wIDI0LjkgUSAyODAuMCAyOC4zIDI2MC4wIDIwLjIgUSAyNDAuMCAxMi4yIDIyMC4wIDE0LjMgUSAyMDAuMCAxNi41IDE4MC4wIDE1LjkgUSAxNjAuMCAxNS4zIDE0MC4wIDIwLjQgUSAxMjAuMCAyNS41IDEwMC4wIDI1LjAgUSA4MC4wIDI0LjUgNjAuMCAyNy4wIFEgNDAuMCAyOS41IDIwLjAgMjMuNCBMIDAgMTcuMiBaIiBmaWxsPSJibGFjayIvPjwvc3ZnPg==");
    mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjAwIDQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48cGF0aCBkPSJNIDAgMCBMIDE2MDAgMCBMIDE2MDAgMTUuOSBRIDE2MDAuMCAxNS45IDE1ODAuMCAxNy4yIFEgMTU2MC4wIDE4LjUgMTU0MC4wIDE1LjYgUSAxNTIwLjAgMTIuOCAxNTAwLjAgMTUuMiBRIDE0ODAuMCAxNy42IDE0NjAuMCAxNS41IFEgMTQ0MC4wIDEzLjQgMTQyMC4wIDE2LjIgUSAxNDAwLjAgMTkuMCAxMzgwLjAgMjAuNyBRIDEzNjAuMCAyMi40IDEzNDAuMCAxNi41IFEgMTMyMC4wIDEwLjUgMTMwMC4wIDE0LjkgUSAxMjgwLjAgMTkuMyAxMjYwLjAgMTcuMyBRIDEyNDAuMCAxNS40IDEyMjAuMCAxNC42IFEgMTIwMC4wIDEzLjkgMTE4MC4wIDE1LjkgUSAxMTYwLjAgMTcuOSAxMTQwLjAgMTUuNSBRIDExMjAuMCAxMy4xIDExMDAuMCAyMC42IFEgMTA4MC4wIDI4LjEgMTA2MC4wIDI4LjEgUSAxMDQwLjAgMjguMSAxMDIwLjAgMjUuNyBRIDEwMDAuMCAyMy4zIDk4MC4wIDE3LjEgUSA5NjAuMCAxMC45IDk0MC4wIDE4LjkgUSA5MjAuMCAyNi45IDkwMC4wIDI1LjAgUSA4ODAuMCAyMy4yIDg2MC4wIDE5LjYgUSA4NDAuMCAxNi4wIDgyMC4wIDE1LjAgUSA4MDAuMCAxMy45IDc4MC4wIDIxLjkgUSA3NjAuMCAyOS45IDc0MC4wIDIxLjggUSA3MjAuMCAxMy44IDcwMC4wIDE2LjAgUSA2ODAuMCAxOC4yIDY2MC4wIDIxLjkgUSA2NDAuMCAyNS42IDYyMC4wIDIyLjMgUSA2MDAuMCAxOS4xIDU4MC4wIDE4LjEgUSA1NjAuMCAxNy4wIDU0MC4wIDIxLjUgUSA1MjAuMCAyNi4wIDUwMC4wIDI3LjcgUSA0ODAuMCAyOS41IDQ2MC4wIDI0LjcgUSA0NDAuMCAxOS45IDQyMC4wIDIyLjggUSA0MDAuMCAyNS42IDM4MC4wIDI3LjUgUSAzNjAuMCAyOS40IDM0MC4wIDI1LjUgUSAzMjAuMCAyMS42IDMwMC4wIDI0LjkgUSAyODAuMCAyOC4zIDI2MC4wIDIwLjIgUSAyNDAuMCAxMi4yIDIyMC4wIDE0LjMgUSAyMDAuMCAxNi41IDE4MC4wIDE1LjkgUSAxNjAuMCAxNS4zIDE0MC4wIDIwLjQgUSAxMjAuMCAyNS41IDEwMC4wIDI1LjAgUSA4MC4wIDI0LjUgNjAuMCAyNy4wIFEgNDAuMCAyOS41IDIwLjAgMjMuNCBMIDAgMTcuMiBaIiBmaWxsPSJibGFjayIvPjwvc3ZnPg==");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.utility-bar .utility-inner {
    max-width: 1400px; margin: 0 auto; padding: 7px 24px 0;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.utility-left, .utility-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.utility-dropdown { display: flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; white-space: nowrap; }

/* ---------- Language switcher (real Google-powered translation) ---------- */
.lang-switcher { position: relative; }
.lang-switcher .caret-sm { font-size: 10px; }
.lang-menu {
    display: none; position: absolute; top: 100%; left: 0; margin-top: 10px;
    background: #fff; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.25);
    padding: 10px; min-width: 210px; z-index: 150;
}
.lang-menu.open { display: block; }
.lang-menu button {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: none; border: 0;
    padding: 10px 12px; border-radius: 6px; font-size: 14.5px; font-weight: 600;
    color: var(--heading); cursor: pointer; white-space: nowrap;
}
.lang-menu button:hover { background: var(--bg-lite); }
.lang-flag { font-size: 20px; line-height: 1; flex-shrink: 0; }
.lang-switcher .fi, .lang-menu .fi {
    width: 22px; height: 16px; border-radius: 2px; flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0,0,0,.15); background-size: cover;
}
.lang-menu .fi { width: 24px; height: 18px; }

/* ---------- Currency switcher (real conversion via live exchange rates) ---------- */
.currency-switcher { position: relative; }
.currency-menu {
    display: none; position: absolute; top: 100%; left: 0; margin-top: 10px;
    background: #fff; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.25);
    padding: 10px; min-width: 210px; z-index: 150;
}
.currency-menu.open { display: block; }
.currency-menu button {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: none; border: 0;
    padding: 10px 12px; border-radius: 6px; font-size: 14.5px; font-weight: 600;
    color: var(--heading); cursor: pointer; white-space: nowrap;
}
.currency-menu button:hover { background: var(--bg-lite); }
.currency-menu .coin-icon {
    width: 26px; height: 26px; border-radius: 999px; background: var(--amber); color: var(--brown);
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0;
}
.mobile-drawer-topbar .currency-menu { left: auto; right: 0; }

/* Suppress Google's own intrusive UI: the top banner iframe that pushes the
   whole page down, and the dotted/shaded highlight it puts on translated text. */
body { top: 0 !important; }
.goog-te-banner-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { display: none !important; }
.skiptranslate iframe { display: none !important; }
.utility-dropdown .flag-icon { font-size: 15px; }
.utility-dropdown .coin-icon {
    width: 18px; height: 18px; border-radius: 999px; background: var(--amber); color: var(--brown);
    display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.utility-rating { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.utility-rating .source-icon {
    width: 24px; height: 24px; border-radius: 999px; flex-shrink: 0; background: #fff;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.brand-badge-text {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; color: #fff; background: #003580; border-radius: 999px;
}
.tc-badge-img { height: 40px; width: auto; display: block; }
.utility-rating .stars { color: var(--amber); letter-spacing: 1px; font-size: 12px; }
.utility-rating .rating-text { display: flex; flex-direction: column; line-height: 1.3; }
.utility-rating .rating-text .rating-num { font-weight: 700; }
.utility-rating .rating-text a { color: rgba(255,255,255,.75); text-decoration: underline; font-size: 11px; }
.travelers-choice { display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.travelers-choice .badge-circle {
    width: 30px; height: 30px; border-radius: 999px; background: #0F9D58;
    display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; text-align: center; line-height: 1.1; flex-shrink: 0;
}
.travelers-choice .tc-label { line-height: 1.2; }
.utility-left a, .utility-right a { color: #fff; font-weight: 600; white-space: nowrap; }
.utility-left a:hover, .utility-right a:hover { color: #000; }
@media (max-width: 1100px) and (min-width: 701px) { .utility-bar { display: none; } }
@media (max-width: 700px) {
    .utility-bar .utility-dropdown, .utility-bar .travelers-choice, .utility-right { display: none; }
    .utility-inner { justify-content: center; gap: 18px; padding: 10px 10px 8px; }
    .utility-left { justify-content: center; gap: 14px; width: 100%; flex-wrap: nowrap; }
    .utility-rating { gap: 6px; }
    .utility-rating .source-icon { width: 20px; height: 20px; }
    .utility-rating .stars { font-size: 10px; letter-spacing: 0; }
    .utility-rating .rating-num { font-size: 12px; }
    .utility-rating .rating-text a { font-size: 9.5px; }
}

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--cream); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 9px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-partof { font-family: var(--font-hand); font-size: 15px; color: var(--body-text); white-space: nowrap; }
.logo-img { height: 56px; width: auto; display: block; }
.logo-text { font-family: var(--font-hand); font-weight: 700; color: var(--brown); line-height: .95; font-size: 24px; letter-spacing: .5px; display: flex; align-items: center; gap: 8px; }
.logo-text .logo-lines { display: flex; flex-direction: column; text-transform: uppercase; }
.logo-badge { display: inline-flex; align-items: center; justify-content: center; background: var(--olive); color: #fff; border-radius: 50%; width: 46px; height: 46px; font-family: var(--font-hand); font-weight: 700; font-size: 15px; text-transform: lowercase; flex-shrink: 0; margin-left: -16px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.mobile-drawer-topbar, .mobile-only-link, .mobile-drawer-cta, .drawer-close, .label-mobile { display: none; }
.main-nav a { color: var(--heading); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.main-nav a:hover, .main-nav a.active { color: #000; }
/* This has no effect until the mobile drawer JS toggles .open on it — but
   it needs an explicit default here. Without one, the browser falls back
   to its native display:block for a <div>, meaning this position:fixed,
   full-viewport, z-index:190 element (higher than .dropdown-menu's 50)
   was likely sitting invisibly over the entire site at desktop widths,
   silently intercepting hover before it ever reached the nav dropdowns —
   a much better explanation for flickery/closing-too-fast dropdowns than
   a timing gap. */
.nav-overlay { display: none; }

.dropdown { position: relative; padding-bottom: 18px; margin-bottom: -18px; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; }
.dropdown-toggle .caret { font-size: 10px; transition: transform .25s ease; }
.dropdown:hover .dropdown-toggle .caret { transform: rotate(180deg); }

/* Simple text dropdown (single column by default). Uses opacity/transform
   instead of display:none/block so it can actually animate smoothly rather
   than snapping open/shut. The gap between the nav link and the menu box
   below is covered by .dropdown's own padding-bottom above (cancelled out
   for layout via the matching negative margin), so that gap stays inside
   .dropdown's hoverable area instead of being genuine dead space the
   cursor has to cross — otherwise :hover drops the instant the mouse
   enters that gap, and the menu starts closing before you reach it. */
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: var(--white);
    border: 1px solid var(--border); border-radius: 8px; min-width: 220px;
    box-shadow: 0 16px 36px rgba(0,0,0,.14); padding: 0; margin-top: 0; z-index: 50;
    max-height: 0; overflow: hidden; pointer-events: none;
    transition: max-height .38s ease, padding .38s ease;
}
.dropdown:hover .dropdown-menu, .dropdown-menu.open {
    max-height: 640px; padding: 14px 0; pointer-events: auto;
}
.practical-info-dropdown { position: relative; cursor: pointer; }
.practical-info-menu { left: auto; right: 0; z-index: 150; margin-top: 10px; min-width: 240px; }
.dropdown-menu a { display: block; padding: 8px 22px; font-size: 13.5px; text-transform: none; font-weight: 500; color: var(--body-text); }
.dropdown-menu a:hover { background: var(--bg-lite); color: #000; }

/* Multi-column dropdown layout, matching the reference screenshots exactly:
   labeled columns side by side, each a plain vertical list of links. */
.dropdown-menu--cols { display: flex; align-items: flex-start; gap: 6px; padding: 0 22px; min-width: 620px; }
.dropdown:hover .dropdown-menu--cols, .dropdown-menu--cols.open { padding: 22px; }
.dropdown-menu--cols-4 { min-width: 820px; }
.dropdown-col--promo {
    flex: 1; align-self: stretch; min-height: 170px; border-radius: 8px; overflow: hidden;
    position: relative; background-size: cover; background-position: center;
    display: flex; align-items: flex-end;
}
.dropdown-col--promo-overlay {
    position: relative; width: 100%; padding: 16px 14px; z-index: 1;
    background: linear-gradient(180deg, rgba(20,15,10,0) 30%, rgba(20,15,10,.85) 100%);
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.dropdown-col--promo-overlay span { color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.dropdown-col--promo-btn {
    display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--amber);
    color: var(--brown); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px;
}
.dropdown-col--promo-btn:hover { background: var(--amber-dark); }
.dropdown-menu--cols .dropdown-col { flex: 1; min-width: 0; }
.dropdown-menu--cols .dropdown-col-label {
    display: block; padding: 0 6px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--border);
    font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: .6px;
    text-transform: uppercase; color: var(--primary);
}
.dropdown-menu--cols a { padding: 7px 6px; border-radius: 4px; }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-icon-btn { background: none; border: 0; color: var(--primary); font-size: 20px; cursor: pointer; display: flex; align-items: center; line-height: 1; padding: 0; }

/* ---------- Header search panel ---------- */
.site-search-panel {
    display: none; position: absolute; top: 100%; right: 24px; margin-top: 12px;
    background: #fff; border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.2);
    padding: 10px; z-index: 150; width: min(360px, 90vw);
}
.site-search-panel.open { display: block; }
.site-search-form { display: flex; gap: 8px; }
.site-search-form input {
    flex: 1; border: 1px solid var(--border); border-radius: 6px; padding: 11px 14px; font-family: inherit; font-size: 14px;
}
.site-search-form input:focus { outline: 2px solid var(--primary); outline-offset: -1px; }
.site-search-form button {
    background: var(--primary); color: #fff; border: 0; border-radius: 6px; width: 44px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.site-search-form button svg { width: 18px; height: 18px; fill: #fff; }
.site-search-form button:hover { background: var(--secondary); }
.header-icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn-cta { background: var(--primary); color: #fff !important; padding: 12px 26px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; border-radius: 2px; white-space: nowrap; }
.btn-cta:hover { background: var(--secondary); }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--heading); }

/* ---- Hero (video) + inline quote card ---- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; padding: 60px 0 140px; }
.hero video, .hero .hero-fallback-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.25) 100%); z-index: 2; }
.hero-inner { position: relative; z-index: 3; width: 100%; display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.hero-content { color: #fff; max-width: 620px; }
.hero-content h1 { color: #fff; font-size: 48px; margin-bottom: 16px; }
.hero-content p { font-size: 18px; margin-bottom: 26px; color: #f2ece1; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--primary); color: #fff; padding: 14px 30px; border-radius: 30px; font-weight: 600; display: inline-block; }
.btn-primary:hover { background: var(--secondary); color: #fff; }
.btn-outline { border: 2px solid #fff; color: #fff; padding: 12px 28px; border-radius: 30px; font-weight: 600; display: inline-block; }
.btn-outline:hover { background: #fff; color: var(--heading); }

/* ---- Hero partners bar: full-width, centered, translucent gold overlay ---- */
.hero-partners-bar {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    background: rgba(169, 121, 31, 0.55); /* translucent dark gold, sits above the photo */
    backdrop-filter: blur(2px);
    padding: 18px 0;
}
.hero-partners-label {
    color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
    text-align: center; margin-bottom: 14px; opacity: .95; font-weight: 600;
}
.hero-partners-logos {
    display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap;
}
@media (max-width: 900px) {
    .hero-partners-logos { gap: 22px; }
    .hero-partners-logos img { height: 30px !important; }
}

/* ---- Quote form card (used in hero + as reusable widget) ---- */
/* Wood-plank / handwritten-note quote card — design ported from the
   Tanzania Tour Booking site at the user's request. Uses Abakombe's own
   --primary (terracotta, close to that site's sunset-red) and --amber
   (close to its gold-bright) instead of introducing new brand colors,
   and Abakombe's existing --font-hand (Caveat) for the handwritten feel,
   since both were already close matches. */
.quote-card {
    position: relative;
    background:
        linear-gradient(rgba(40,22,8,.18), rgba(40,22,8,.28)),
        repeating-linear-gradient(0deg, #7a4a26 0 3px, #8a5730 3px 7px);
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 26px;
    padding: 26px 24px 22px;
    box-shadow: 0 24px 50px rgba(15,9,4,.45);
}
.quote-card__avatar {
    position: absolute; top: -14px; left: -14px; z-index: 2;
    width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--amber); box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.quote-card__title {
    font-family: var(--font-hand); font-weight: 700; font-style: italic;
    color: var(--amber); text-align: center; font-size: 1.9rem; margin: 2px 0 18px;
    text-shadow: 0 2px 3px rgba(0,0,0,.4);
}
.quote-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.quote-card input, .quote-card select, .quote-card textarea {
    width: 100%; font-family: var(--font-hand); font-size: 1.15rem; font-weight: 600; color: #2a1a0f;
    background:
        linear-gradient(rgba(243,237,216,.9), rgba(243,237,216,.9)),
        repeating-linear-gradient(115deg, #e4dabf 0 2px, #efe6d0 2px 4px);
    border: 1.5px solid var(--primary); border-radius: 22px; padding: 10px 16px;
    appearance: none; -webkit-appearance: none; outline-offset: 2px;
}
.quote-card select {
    background-image:
        linear-gradient(rgba(243,237,216,.9), rgba(243,237,216,.9)),
        repeating-linear-gradient(115deg, #e4dabf 0 2px, #efe6d0 2px 4px),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' stroke='%23cc4b25' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 0 0, right 14px center;
    background-size: auto, auto, 16px;
    padding-right: 38px;
}
.quote-card input::placeholder, .quote-card textarea::placeholder { color: #2a1a0f; opacity: .8; }
.quote-card select:invalid { color: #5a4c3a; }
.quote-card textarea { border-color: var(--olive); border-radius: 16px; resize: vertical; min-height: 96px; margin-bottom: 16px; }
.quote-card__btn {
    display: block; margin: 0 auto 12px; width: 100%; background: #181310; color: #fff;
    font-family: var(--font-body, inherit); font-weight: 700; font-size: .85rem; letter-spacing: .08em;
    text-transform: uppercase; border: 0; border-radius: 30px; padding: 13px 34px; cursor: pointer;
    transition: background .2s, transform .15s;
}
.quote-card__btn:hover { background: #000; transform: translateY(-1px); }
.quote-card__tagline { text-align: center; font-family: var(--font-hand); font-style: italic; font-weight: 600; color: var(--amber); font-size: 1.3rem; margin: 0; }
.form-success { background: #eef3e6; border: 1px solid var(--olive); color: var(--olive-dark, var(--olive)); padding: 12px; border-radius: 6px; font-size: 13px; margin-bottom: 14px; text-align: center; }
.form-error { background: #fbe9e5; border: 1px solid var(--primary); color: var(--secondary); padding: 12px; border-radius: 6px; font-size: 13px; margin-bottom: 14px; text-align: center; }

@media (max-width: 480px) {
    .quote-card__row { grid-template-columns: 1fr; }
}
/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-lite { background: var(--bg-lite); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head.left-align { text-align: left; margin: 0 0 24px; }
.section-head .eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 600; }
.section-head h2 { font-size: 38px; margin-top: 8px; }
.section-head p { margin-top: 12px; }

/* ---- Intro / About strip ---- */
.intro-strip { padding: 56px 0; text-align: center; }
.intro-strip p { max-width: 820px; margin: 0 auto; font-size: 17px; color: var(--heading); }

/* ---- Category block (description + quick-link list, mirrors tour operator UX pattern) ---- */
.category-block { padding: 50px 0; border-bottom: 1px solid var(--border); }
.category-block-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 20px; }
.category-block-head h2 { font-size: 30px; }
.category-block-head p { max-width: 640px; font-size: 15px; margin-top: 8px; }
.category-block-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-sm { padding: 9px 20px; border-radius: 24px; font-size: 13px; font-weight: 600; display: inline-block; }
.btn-sm.filled { background: var(--primary); color: #fff; }
.btn-sm.filled:hover { background: var(--secondary); color: #fff; }
.btn-sm.outline { border: 1.5px solid var(--primary); color: var(--primary); }
.btn-sm.outline:hover { background: var(--primary); color: #fff; }
.itinerary-quicklist { columns: 2; column-gap: 40px; margin-top: 20px; }
.itinerary-quicklist a { display: block; padding: 7px 0; font-size: 14px; color: var(--heading); border-bottom: 1px dashed var(--border); break-inside: avoid; }
.itinerary-quicklist a:hover { color: #000; }

/* ---- Tour cards ---- */
.tour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
@media (max-width: 640px) {
    .tour-grid { grid-template-columns: 1fr; }
}

/* ---------- Tour listing row card ---------- */
.tour-card { position: relative; background: #fff; transition: box-shadow .2s, transform .2s; border-radius: 8px; overflow: visible; }
.tour-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.1); transform: translateY(-3px); }
.tour-card-img {
    display: block; position: relative; aspect-ratio: 16 / 9; background: var(--bg-lite) center/cover no-repeat;
    border-radius: 8px 8px 0 0; overflow: hidden;
}
.tour-card-img::after {
    content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 100%);
}
.tour-card-img-title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px; }

/* Circle-reveal hover effect: a colored circle expands from a small dot
   pinned to the top-right corner to cover the whole photo on hover,
   revealing a "View Tour" call-to-action. */
.tour-card-reveal {
    position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
    background: var(--primary);
    clip-path: circle(0% at 88% 12%);
    transition: clip-path .45s ease;
}
.tour-card:hover .tour-card-reveal { clip-path: circle(150% at 88% 12%); }
.tour-card-reveal-inner {
    display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 0 20px;
    opacity: 0; transform: translateY(6px); transition: opacity .3s ease .1s, transform .3s ease .1s;
}
.tour-card:hover .tour-card-reveal-inner { opacity: 1; transform: translateY(0); }
.tour-card-reveal-inner .reveal-duration { color: rgba(255,255,255,.85); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.tour-card-reveal-inner .reveal-visits { color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; max-width: 200px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card-reveal-inner .reveal-price { color: #fff; font-size: 15px; font-weight: 700; }
.tour-card-reveal-inner .reveal-price small { font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,.8); text-transform: uppercase; margin-left: 3px; }
.tour-card-reveal-inner .reveal-cta { color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
.tour-card-img-title .days-badge { display: inline-block; background: rgba(255,255,255,.92); color: var(--heading); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .3px; }
.tour-card-img-title h3 { color: #fff; font-size: 17px; line-height: 1.3; font-family: var(--font-hand); font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.4); }

/* Floating WhatsApp button, overlapping the card's bottom-right corner */
.tour-card-whatsapp {
    position: absolute; right: 12px; bottom: -18px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
    background: var(--whatsapp); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: transform .15s ease;
}
.tour-card-whatsapp:hover { background: #1ebc59; transform: scale(1.08); }
.tour-card-whatsapp svg { display: block; }

.tour-card-body { padding: 16px 16px 20px; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 8px 8px; }
.tour-card-price { font-size: 20px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.tour-card-price span { font-size: 11px; font-weight: 600; color: var(--body-text); text-transform: uppercase; margin-left: 4px; }
.tour-card-visits { font-size: 12.5px; color: var(--body-text); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card-visits strong { color: var(--heading); }
.tour-card-actions { display: flex; gap: 8px; }
.tour-card-actions a { flex: 1; text-align: center; padding: 9px 6px; border-radius: 4px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.btn-outline-sm { border: 1.5px solid var(--heading); color: var(--heading); }
.btn-outline-sm:hover { background: var(--heading); color: #fff; }
.btn-fill-sm { background: var(--heading); color: #fff; }
.btn-fill-sm:hover { background: var(--primary); color: #fff; }

@media (max-width: 700px) {
    .tour-card-whatsapp { width: 38px; height: 38px; bottom: -16px; }
}



.tour-card > .img-wrap { height: 200px; background: var(--bg-lite) center/cover no-repeat; position: relative; border-radius: 8px 8px 0 0; }
.tour-card > .img-wrap .cat-badge { position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.cat-badge { background: var(--primary); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.tour-card > .body { padding: 18px; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 8px 8px; }
.tour-card > .body h3 { font-size: 19px; margin-bottom: 4px; }
.act-view { display: inline-block; padding: 9px 16px; border-radius: 6px; background: var(--heading); color: #fff; font-size: 13px; }
.act-view:hover { background: var(--primary); color: #fff; }

/* ---- Category tabs / filters ---- */
.filter-bar { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-bar a { padding: 8px 20px; border: 1px solid var(--border); border-radius: 30px; font-size: 14px; color: var(--heading); }
.filter-bar a.active, .filter-bar a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- Tours archive sidebar layout ---- */
.archive-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.archive-sidebar { padding: 4px 0; position: sticky; top: 100px; }
.archive-widget { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.archive-widget:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.archive-widget h4 { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 16px; text-transform: none; letter-spacing: 0; }
.archive-widget ul { list-style: none; }
.archive-widget li { margin-bottom: 12px; }
.archive-widget a {
    display: flex; align-items: center; gap: 10px;
    font-size: 14.5px; color: var(--body-text);
}
.archive-widget a:hover { color: #000; }
.archive-widget a::before {
    content: ''; display: inline-block; width: 18px; height: 18px; flex-shrink: 0;
    border: 1.5px solid #b8ac91; border-radius: 3px; background: #fff;
}
.archive-widget a.active { color: var(--heading); font-weight: 600; }
.archive-widget a.active::before {
    background: var(--amber); border-color: var(--amber);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%233a2117' d='M6.2 11.2 3.5 8.5l-1 1L6.2 13.2 13.5 5.9l-1-1z'/%3E%3C/svg%3E");
    background-size: 14px; background-repeat: no-repeat; background-position: center;
}
.archive-widget a .count { font-size: 12px; opacity: .65; margin-left: auto; }
.archive-reset { display: inline-block; font-size: 13px; color: var(--primary); margin-top: 6px; text-decoration: underline; }

.filters-toggle {
    display: none; width: 100%; align-items: center; justify-content: space-between;
    background: #fff; border: 1px solid var(--border); border-radius: 6px;
    padding: 14px 16px; font-size: 15px; font-weight: 700; color: var(--heading);
    margin-bottom: 14px; cursor: pointer;
}
.filters-toggle .count-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
    background: var(--primary); color: #fff; font-size: 11.5px; font-weight: 800; margin-left: 4px;
}
.filters-toggle .chevron { transition: transform .2s ease; flex-shrink: 0; }
.filters-toggle.open .chevron { transform: rotate(180deg); }

@media (max-width: 900px) {
    .archive-layout { grid-template-columns: 1fr; }
    .archive-sidebar { position: static; }
    .filters-toggle { display: flex; }
    .archive-sidebar {
        display: none; background: #fff; border: 1px solid var(--border); border-radius: 6px;
        padding: 18px 18px 4px; margin-bottom: 20px;
    }
    .archive-sidebar.open { display: block; }
}

/* ---- Tabbed category teaser (left tab list + right image panel) ---- */
.tabs-wrap { display: grid; grid-template-columns: 280px 1fr; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.tabs-list { background: #fff; border-right: 1px solid var(--border); }
.tab-btn {
    display: block; width: 100%; text-align: left; padding: 22px 24px; background: #fff; border: 0;
    border-bottom: 1px solid var(--border); cursor: pointer; font-size: 15px; color: var(--heading);
    font-family: inherit; border-left: 4px solid transparent;
}
.tab-btn:last-child { border-bottom: 0; }
.tab-btn:hover { background: var(--cream); }
.tab-btn.active { background: var(--cream); border-left-color: var(--primary); font-weight: 700; }
.tabs-panel-wrap { position: relative; background-size: cover; background-position: center; min-height: 540px; }
.tabs-panel-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(46,42,34,.82) 0%, rgba(46,42,34,.55) 60%, rgba(46,42,34,.35) 100%); }
.tabs-panel { display: none; position: relative; z-index: 2; padding: 44px 50px; color: #fff; }
.tabs-panel.active { display: block; }
.tabs-panel h3 { color: #fff; text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 6px; text-transform: uppercase; font-size: 26px; margin-top: 4px; }
.tabs-panel p { color: #f2ece1; max-width: 640px; margin-top: 14px; }
.tabs-panel .itinerary-quicklist a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); border-bottom: 0; }
.tabs-panel .itinerary-quicklist a:hover { text-decoration-color: #000; color: #000; }
.tabs-panel-buttons { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.tabs-panel-buttons a { border: 1.5px solid #fff; color: #fff; padding: 12px 26px; border-radius: 4px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.tabs-panel-buttons a:hover { background: #fff; color: var(--heading); }
.coming-soon-note { color: #f2ece1; font-style: italic; font-size: 14px; margin-top: 24px; max-width: 500px; border-left: 3px solid var(--primary); padding-left: 16px; }
.coming-soon-badge { position: absolute; top: 14px; left: 14px; background: var(--heading); color: #fff; font-size: 11px; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; z-index: 1; }
@media (max-width: 900px) {
    .tabs-wrap { grid-template-columns: 1fr; }
    .tabs-list { display: flex; overflow-x: auto; }
    .tab-btn { border-bottom: 0; border-right: 1px solid var(--border); white-space: nowrap; border-left: 0; border-top: 4px solid transparent; }
    .tab-btn.active { border-left: 0; border-top-color: var(--primary); }
    .tabs-panel { padding: 30px 24px; }
}

/* ---- Why Choose Us ---- */
.why-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-choose img { border-radius: 12px; }
.why-choose ol { list-style: none; counter-reset: reasons; }
.why-choose ol li { counter-increment: reasons; position: relative; padding: 10px 0 10px 46px; font-size: 15.5px; color: var(--heading); }
.why-choose ol li::before {
    content: counter(reasons); position: absolute; left: 0; top: 8px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center;
}

/* ---- FAQ accordion ---- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: 0; padding: 20px 4px; font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--heading); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question .faq-icon { font-size: 18px; color: var(--primary); transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; font-size: 14.5px; padding: 0 4px; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 18px; }

/* ---- Single tour page ---- */
/* ================================================================
   Tour detail page v3 — layout/interactions adapted from a reference
   file the client supplied, recolored to Abakombe's palette (var(--primary)
   rust instead of orange, var(--olive) instead of dark green/teal, our
   existing Libre Baskerville / Source Serif 4 pairing instead of Georgia).
   ================================================================ */
.tour-hero-img { height: 420px; background: var(--bg-lite) center/cover no-repeat; }

/* ---------- Destination page ---------- */
.dest-hero {
    position: relative; min-height: 360px; display: flex; align-items: flex-end;
    background: var(--olive-dark) center/cover no-repeat; padding: 50px 24px 40px;
}
.dest-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,5,.75) 0%, rgba(10,10,5,.2) 65%); }
.dest-hero .container { position: relative; z-index: 2; }
.dest-hero h1 { color: #fff; font-size: 38px; margin: 0 0 8px; }
.dest-hero-tagline { color: rgba(255,255,255,.9); font-size: 16px; max-width: 560px; margin: 0; }

.dest-facts-bar { background: var(--bg-lite); border-bottom: 1px solid var(--border); padding: 20px 0; }
.dest-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.dest-fact { display: flex; gap: 12px; align-items: flex-start; }
.dest-fact .meta-icon { font-size: 18px; color: var(--primary); flex-shrink: 0; }
.dest-fact strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; color: var(--heading); margin-bottom: 3px; }
.dest-fact span { font-size: 13.5px; color: var(--body-text); line-height: 1.4; }

.dest-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.dest-index-card { display: block; border-radius: 6px; overflow: hidden; background: #fff; border: 1px solid var(--border); }
.dest-index-photo { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.dest-index-body { padding: 16px 18px; }
.dest-index-body h3 { font-size: 18px; margin-bottom: 6px; }
.dest-index-body p { font-size: 13.5px; color: var(--body-text); margin: 0; }
.dest-index-card:hover .dest-index-photo { }
.search-section { margin-bottom: 44px; }
.search-section h2 { font-size: 22px; margin-bottom: 18px; }
.search-count { font-size: 14px; font-weight: 400; color: var(--body-text); }
@media (max-width: 700px) {
    .dest-hero h1 { font-size: 28px; }
}

/* ---------- Great Migration page ---------- */
.prose-bullets { list-style: none; padding: 0; }
.prose-bullets li { position: relative; padding-left: 22px; margin-bottom: 14px; font-size: 15px; line-height: 1.7; color: var(--body-text); }
.prose-bullets li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 999px; background: var(--primary); }

.quick-facts-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.quick-facts-text h2 { margin-bottom: 20px; }
.quick-facts-photo img {
    width: 100%; aspect-ratio: 1/1; object-fit: cover;
    border-radius: 42% 58% 63% 37% / 47% 44% 56% 53%;
}
@media (max-width: 860px) {
    .quick-facts-split { grid-template-columns: 1fr; }
    .quick-facts-photo { order: -1; max-width: 340px; margin: 0 auto; }
}

/* The month-by-month trail: a horizontal, zig-zagging timeline connected by
   a single line — a visual "route" rather than a plain list, since the
   migration itself is a continuous circular route, not a fixed schedule. */
.migration-trail {
    position: relative;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 70px 10px 90px;
}
.migration-trail::before {
    content: '';
    position: absolute; left: 40px; right: 40px; top: 50%;
    height: 3px; background: repeating-linear-gradient(90deg, var(--primary) 0 10px, transparent 10px 18px);
    transform: translateY(-50%);
    z-index: 0;
}
.trail-stop { position: relative; flex: 0 0 148px; display: flex; flex-direction: column; align-items: center; z-index: 1; }
.trail-up .trail-card { order: 1; margin-bottom: 18px; }
.trail-up .trail-dot { order: 2; }
.trail-down .trail-dot { order: 1; }
.trail-down .trail-card { order: 2; margin-top: 18px; }
.trail-dot { width: 14px; height: 14px; border-radius: 999px; background: var(--amber); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--primary); flex-shrink: 0; }
.trail-current .trail-dot { background: var(--primary); box-shadow: 0 0 0 5px rgba(204,75,37,.25); }
.trail-card {
    position: relative; background: #fff; border: 1px solid var(--border); border-radius: 6px;
    padding: 14px 12px; text-align: center; width: 148px; box-shadow: 0 6px 16px rgba(0,0,0,.06);
}
.trail-current .trail-card { border-color: var(--primary); box-shadow: 0 10px 24px rgba(204,75,37,.18); }
.trail-now-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; padding: 3px 8px; border-radius: 999px; }
.trail-month { font-family: var(--font-display); font-size: 15px; color: var(--amber-dark, var(--primary)); font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.trail-place { font-size: 12.5px; font-weight: 700; color: var(--heading); line-height: 1.3; margin-bottom: 6px; min-height: 32px; }
.trail-blurb { font-size: 11.5px; color: var(--body-text); line-height: 1.5; }
@media (max-width: 700px) {
    .migration-trail { flex-direction: column; align-items: center; padding: 20px 10px; gap: 0; }
    .migration-trail::before { left: 50%; top: 20px; bottom: 20px; right: auto; width: 3px; height: auto; transform: translateX(-50%); background: repeating-linear-gradient(180deg, var(--primary) 0 10px, transparent 10px 18px); }
    .trail-stop { flex: none; margin-bottom: 24px; }
    .trail-up .trail-card, .trail-down .trail-card { order: 2; margin: 12px 0 0; }
    .trail-up .trail-dot, .trail-down .trail-dot { order: 1; }
}

.migration-cta-band { background: var(--bg-lite); }

.migration-itineraries-band { background: var(--brown, #3a241c); padding: 70px 0; }
.migration-itineraries-band .section-head h2 { color: #fff; }
.migration-itineraries-band .section-head p { color: rgba(255,255,255,.75); }
.migration-itineraries-band .eyebrow { color: var(--amber); }

/* ---------- Accommodations listing ---------- */
.accom-photo-placeholder {
    background: linear-gradient(135deg, var(--bg-lite) 0%, var(--border) 100%);
    display: flex; align-items: center; justify-content: center;
}
.accom-photo-note { color: var(--body-text); font-size: 13px; font-weight: 600; opacity: .6; }
.accom-location { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--body-text); font-weight: 700; margin-bottom: 6px; }
.budget-note { font-size: 12.5px; color: var(--body-text); line-height: 1.6; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ---------- Blog listing ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.blog-card-photo { position: relative; display: block; aspect-ratio: 4/3; background: var(--bg-lite) center/cover no-repeat; border-radius: 3px; overflow: hidden; margin-bottom: 14px; }
.blog-card-date { position: absolute; left: 0; bottom: 0; background: rgba(20,20,10,.75); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; }
.blog-card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.blog-card-title { font-size: 17px; font-weight: 600; color: var(--heading); text-decoration: underline; line-height: 1.4; }
.blog-card-title:hover { color: #000; }
.blog-card-arrow {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 999px; background: var(--amber); color: var(--brown);
    display: flex; align-items: center; justify-content: center; font-size: 16px; margin-top: 2px;
}
.blog-card-arrow:hover { background: var(--amber-dark); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- National Parks listing hero (photo + title, sits inside the
   same hero-widget-wrap/trip-widget pattern as the homepage) ---------- */
.dest-listing-hero-text {
    position: relative; z-index: 3; max-width: 560px;
    padding: 0 24px 60px;
    padding-left: max(24px, calc((100% - 1400px) / 2 + 24px));
    margin: 0;
    align-self: flex-start; margin-top: auto;
}
.home-hero:has(.dest-listing-hero-text) { align-items: flex-start; padding-bottom: 0; }
.dest-listing-hero-text h1 { color: #fff; font-size: 40px; margin-bottom: 16px; }
.dest-listing-hero-text p { color: rgba(255,255,255,.92); font-size: 15.5px; line-height: 1.7; max-width: 560px; }
@media (max-width: 900px) {
    .dest-listing-hero-text { padding-left: 24px; }
}
@media (max-width: 700px) {
    .dest-listing-hero-text { padding: 0 20px 30px; }
    .dest-listing-hero-text h1 { font-size: 28px; }
}

/* ---------- National park row cards (listing page) ---------- */
.dest-row-list { display: flex; flex-direction: column; gap: 24px; }
.dest-row-card { display: grid; grid-template-columns: 300px 1fr; background: var(--bg-lite); border-radius: 4px; overflow: hidden; }
.dest-row-photo { position: relative; background: var(--border) center/cover no-repeat; min-height: 280px; }
.dest-row-region-tag { position: absolute; top: 16px; right: 16px; background: var(--bg-lite); color: var(--heading); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 3px; }
.dest-row-body { padding: 28px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.dest-row-body h3 { font-size: 19px; letter-spacing: .3px; margin-bottom: 12px; }
.dest-row-body p { color: var(--body-text); font-size: 14.5px; line-height: 1.7; margin-bottom: 20px; }
.btn-green-block { display: inline-block; background: var(--olive); color: #fff; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; padding: 14px 30px; border-radius: 3px; margin-top: auto; }
.btn-green-block:hover { background: var(--olive-dark); }
@media (max-width: 700px) {
    .dest-row-card { grid-template-columns: 1fr; }
    .dest-row-photo { min-height: 220px; }
    .dest-row-body { padding: 22px; }
}

.tour-titlebar { background: #fff; border: 1px solid var(--border); border-radius: 4px; margin-bottom: 16px; padding: 24px; }
.tour-titlebar h1 { font-size: 34px; line-height: 1.16; margin: 0 0 10px; }
.tour-submeta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--body-text); font-size: 14px; }
.tour-submeta i, .tour-submeta .meta-icon { color: var(--primary); margin-right: 6px; }

.tour-layout-v3 { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.tour-main-v3 { background: #fff; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }

.tabs-v3 { display: flex; background: var(--bg-lite); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; overflow-x: auto; }
.tabs-v3 a { padding: 16px 18px; color: var(--heading); text-decoration: none; font-weight: 700; font-size: 13.5px; border-right: 1px solid var(--border); position: relative; white-space: nowrap; }
.tabs-v3 a:hover, .tabs-v3 a.active { background: #fff; color: #000; box-shadow: inset 0 3px 0 #000; }
.tabs-v3 a.active::after {
    content: ''; position: absolute; left: 50%; bottom: 0; width: 46%; height: 3px; transform: translateX(-50%);
    background: var(--primary); border-radius: 20px 20px 0 0; box-shadow: 0 0 10px rgba(204,75,37,.6);
}

.content-section-v3 { display: none; padding: 30px; }
.content-section-v3.active-section { display: block; }
.content-section-v3 h2 { font-size: 28px; margin: 0 0 18px; }
.overview-text-v3 { font-size: 15.5px; line-height: 1.75; color: var(--body-text); margin-bottom: 22px; }

.sb-box { border: 1px solid var(--border); background: #fff; margin-bottom: 22px; border-radius: 4px; overflow: hidden; }
.sb-box-title { background: var(--bg-lite); border-bottom: 1px solid var(--border); padding: 12px 16px; font-weight: 800; color: var(--heading); font-size: 14px; }
.sb-box-title small { font-weight: 400; color: var(--body-text); }
.sb-box-body { padding: 16px; }

.route-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 18px; }
.route-list { position: relative; }
.route-stop { position: relative; padding: 0 0 18px 24px; border-left: 2px solid var(--border); font-size: 13.5px; }
.route-stop:before { content: ''; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; background: var(--primary); border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--primary); }
.route-stop:last-child { border-left: 2px solid transparent; }
.route-stop strong { display: block; color: var(--heading); }
.route-stop span { color: var(--body-text); }
.route-map { background: var(--bg-lite); border: 1px solid var(--border); border-radius: 4px; min-height: 260px; overflow: hidden; }
.route-map-illustrated { position: relative; width: 100%; }
.route-map-illustrated img { width: 100%; display: block; }
.route-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* New full-width Route section with real day labels, legend, and an
   animated dot traveling along the route line. */
.route-section-v2 .sb-box-title { font-size: 20px; }
.route-v2-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.route-v2-map { position: relative; width: 100%; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.route-v2-map img { width: 100%; display: block; }
.route-v2-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-v2-traveler { filter: drop-shadow(0 0 2px rgba(0,0,0,.5)); }
.route-v2-pin {
    position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px;
    background: var(--primary); border-radius: 50%; border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--primary), 0 1px 3px rgba(0,0,0,.3); z-index: 2;
}
.route-v2-daytag {
    position: absolute; transform: translate(10px, -26px); z-index: 3;
    background: #fff; border: 1px solid var(--border); border-radius: 4px;
    padding: 3px 8px; font-size: 11.5px; font-weight: 700; color: var(--heading);
    white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.15); pointer-events: none;
}
.route-v2-legend-title { font-family: var(--font-body); font-weight: 800; font-size: 21px; color: var(--heading); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.route-v2-flag { font-size: 19px; line-height: 1; }
.route-v2-legend-item { display: grid; grid-template-columns: 14px 88px auto; column-gap: 10px; align-items: center; padding: 11px 0; font-size: 14.5px; }
.route-v2-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
.route-v2-legend-item strong { color: var(--heading); font-weight: 700; white-space: nowrap; }
.route-v2-legend-item span { color: #2a2a2a; font-size: 14.5px; }
.route-v2-legend-item span a { color: #2f7cc9; text-decoration: none; }
.route-v2-legend-item span a:hover { text-decoration: underline; }
@media (max-width: 760px) {
    .route-v2-daytag { font-size: 10.5px; padding: 2px 6px; }
}
.route-v2-locator { position: absolute; left: 12px; bottom: 12px; width: 90px; z-index: 3; }
.route-v2-locator svg:first-child { width: 100%; display: block; filter: drop-shadow(0 1px 3px rgba(0,0,0,.2)); }
.route-v2-locator-arrow { position: absolute; width: 34px; top: 8px; left: 60px; }

/* Kilimanjaro/Meru elevation-profile diagram, shown instead of the
   whole-Tanzania map for climbing tours with a real named route. */
.kili-profile-wrap { width: 100%; overflow-x: auto; }
.kili-profile-svg { width: 100%; min-width: 640px; height: auto; display: block; }
.kili-profile-elev { font-size: 12px; font-weight: 700; fill: var(--heading); font-family: var(--font-body); }
.kili-profile-name { font-size: 11px; fill: var(--body-text); font-family: var(--font-body); }
.kili-profile-day { font-size: 10.5px; font-weight: 700; fill: var(--primary); font-family: var(--font-body); }
.kili-profile-note { margin-top: 10px; font-size: 13px; color: var(--body-text); text-align: center; }
.route-map-pin {
    position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 999px;
    background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 3px rgba(204,75,37,.35), 0 2px 6px rgba(0,0,0,.3);
    animation: route-pin-pulse 1.4s ease-in-out infinite alternate;
}
@keyframes route-pin-pulse { from { transform: scale(.85); } to { transform: scale(1.15); } }
.tour-live-map { height: 260px; width: 100%; }
.map-placeholder { min-height: 100px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--olive); font-weight: 700; padding: 20px; font-size: 13.5px; }

/* ---------- Day-by-day timeline (v4) ---------- */
.day-timeline { max-width: 980px; margin: 0 auto; }
.day-connector { display: flex; justify-content: center; padding: 4px 0; }
.day-connector .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--amber); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border); }

/* Vertical timeline day-by-day layout */
.day-timeline-v5 { max-width: 720px; margin: 0 auto; }
.day-tl-item { display: flex; gap: 18px; }
.day-tl-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 22px; }
.day-tl-pin { font-size: 20px; line-height: 1; margin-top: 2px; }
.day-tl-line { flex: 1; width: 2px; background: repeating-linear-gradient(to bottom, var(--border) 0, var(--border) 4px, transparent 4px, transparent 9px); margin-top: 4px; min-height: 40px; }
.day-tl-body { flex: 1; padding-bottom: 36px; min-width: 0; }
.day-tl-heading { font-family: var(--font-hand); font-size: 20px; color: var(--olive); text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.day-tl-heading small { display: block; font-family: var(--font-body); font-size: 12.5px; text-transform: none; font-weight: 400; color: var(--body-text); margin-top: 2px; }
.day-tl-heading small a { color: var(--primary); }
.day-tl-photo { position: relative; border-radius: 6px; background-size: cover; background-position: center; min-height: 240px; margin-bottom: 16px; overflow: hidden; }
.day-tl-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,15,10,.75), transparent 55%); }
.day-tl-photo-caption { position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff; }
.day-tl-photo-caption strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; opacity: .9; }
.day-tl-photo-caption span { display: block; font-family: var(--font-hand); font-size: 22px; text-transform: uppercase; }
.day-tl-desc { color: var(--body-text); font-size: 14.5px; line-height: 1.7; margin-bottom: 18px; }
.day-tl-facts { background: var(--bg-lite); border-radius: 6px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.day-tl-fact { font-size: 13.5px; color: var(--body-text); line-height: 1.6; }
.day-tl-fact strong { color: var(--heading); }
.day-tl-fact a { color: var(--primary); font-weight: 600; }
.day-tl-fact-sub { display: block; font-size: 12.5px; color: var(--body-text); opacity: .85; margin-top: 2px; }
.day-tl-fact-gallery { display: flex; gap: 6px; margin-top: 8px; }
.day-tl-fact-thumb { width: 64px; height: 48px; border-radius: 4px; background-size: cover; background-position: center; }
@media (max-width: 640px) {
    .day-tl-photo { min-height: 180px; }
    .day-tl-item { gap: 12px; }
}

.day-card-v4 {
    background: var(--cream); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; padding: 34px;
    clip-path: polygon(0% 1.5%, 3% 0%, 97% 0%, 100% 1.5%, 100% 98.5%, 97% 100%, 3% 100%, 0% 98.5%);
}
.day-card-v4.no-photo { grid-template-columns: 1fr; }
.day-card-v4-text .day-label-v4 { color: var(--amber-dark); font-weight: 800; font-size: 15px; letter-spacing: .5px; margin-bottom: 4px; text-transform: uppercase; }
.day-card-v4-text h3 { color: var(--olive); font-family: var(--font-hand); font-size: 30px; text-transform: uppercase; line-height: 1.15; margin: 0 0 14px; font-weight: 700; }
.day-card-v4-text p { color: var(--body-text); font-size: 14.5px; line-height: 1.7; margin-bottom: 20px; }
.day-accom-label { font-weight: 800; color: var(--heading); font-size: 13px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 10px; }
.day-accom-label.departure-note { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--body-text); font-style: italic; font-size: 13.5px; }
.day-accom-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; color: var(--body-text); }
.tier-chip { flex-shrink: 0; width: 84px; text-align: center; padding: 5px 0; border-radius: 3px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; }
.tier-chip-clickable { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.tier-chip-clickable:hover, .tier-chip-clickable:focus-visible { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,.18); outline: none; }
.tier-chip.tier-budget { background: transparent; color: var(--body-text); border: 1.5px dashed var(--border); }
.tier-chip.tier-midrange { background: var(--amber); color: var(--brown); }
.tier-chip.tier-luxury { background: var(--olive); color: #fff; }

/* ---------- Day photo slider (tour.php day-by-day accommodations) ---------- */
.day-photo-slider { position: relative; overflow: hidden; }
.day-photo-slider .slider-track { position: relative; width: 100%; height: 100%; }
.day-photo-slider .slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.day-photo-slider .slide.active { opacity: 1; pointer-events: auto; }
.slide-tier-badge {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px;
    padding: 6px 14px; border-radius: 3px;
}
.slide-tier-badge.slide-tier-midrange { background: var(--amber); color: var(--brown); }
.slide-tier-badge.slide-tier-luxury { background: var(--olive); color: #fff; }
.slide-name {
    position: absolute; left: 14px; bottom: 14px; z-index: 2; color: #fff; font-weight: 700; font-size: 14px;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 34px; height: 34px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--heading);
    border: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer;
}
.slider-arrow:hover { background: #fff; }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.slider-dots .dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.6); }
.slider-dots .dot.active { background: var(--primary); }
.bed-icon { flex-shrink: 0; opacity: .7; }
.day-card-v4-photo { border-radius: 4px; background-size: cover; background-position: center; min-height: 220px; }
@media (max-width: 760px) {
    .day-card-v4 { grid-template-columns: 1fr; padding: 24px; }
    .day-card-v4-photo { min-height: 180px; }
}


.feature-grid-v3 { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.feature-item-v3 { display: flex; gap: 12px; padding: 14px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); align-items: flex-start; font-size: 13.5px; }
.feature-item-v3 .meta-icon { color: var(--primary); font-size: 18px; width: 22px; flex-shrink: 0; }
.feature-item-v3 strong { display: block; margin-bottom: 3px; color: var(--heading); }
.feature-item-v3 span { color: var(--body-text); }

.activity-list-v3 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.activity-list-v3 div { padding: 10px 12px; background: var(--bg-lite); border: 1px solid var(--border); font-size: 13.5px; border-radius: 3px; }
.activity-list-v3 .meta-icon { color: var(--primary); margin-right: 8px; }
.info-table-v3 { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.info-table-v3 th, .info-table-v3 td { border: 1px solid var(--border); padding: 12px; text-align: left; vertical-align: top; }
.info-table-v3 th { background: var(--bg-lite); width: 28%; color: var(--heading); }

.day-card-v3 { border: 1px solid var(--border); margin-bottom: 24px; background: #fff; border-radius: 4px; overflow: hidden; }
.day-photo-v3 { height: 260px; background-size: cover; background-position: center; position: relative; }
.day-photo-v3::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.day-photo-v3 h3 { position: absolute; left: 22px; bottom: 18px; z-index: 2; color: #fff; font-size: 27px; margin: 0; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.day-content-v3 { padding: 22px; }
.day-content-v3 p { line-height: 1.7; color: var(--body-text); font-size: 14.5px; }
.destination-line-v3 { border-left: 4px solid var(--primary); background: var(--bg-lite); padding: 12px 14px; margin: 16px 0; font-size: 13.5px; }
.safari-facts-v3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.safari-fact-v3 { background: var(--bg-lite); border: 1px solid var(--border); padding: 13px; border-radius: 3px; font-size: 13px; }
.safari-fact-v3 strong { display: block; color: var(--heading); margin-bottom: 5px; }
.wildlife-row-v3 { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.wildlife-row-v3 span { background: #fff6ea; border: 1px solid #f0cfaa; color: #6b3b05; padding: 7px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 700; }

.rates-note-v3 { background: #fff8ec; border: 1px solid #e6c38d; padding: 16px; margin-bottom: 18px; border-radius: 4px; font-size: 13.5px; }
.rates-price-block { text-align: center; padding: 30px 20px; background: var(--bg-lite); border-radius: 4px; }
.rates-price-block .price { font-size: 40px; font-weight: 800; color: var(--olive); }
.rates-price-block .unit { color: var(--body-text); font-size: 13px; }

.inclusion-grid-v3 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.list-box-v3 { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.list-box-v3 h3 { margin: 0; background: var(--bg-lite); border-bottom: 1px solid var(--border); padding: 13px 16px; color: var(--heading); font-size: 16px; }
.list-box-v3 ul { padding: 18px 20px; margin: 0; list-style: none; }
.list-box-v3 li { margin-bottom: 12px; line-height: 1.5; font-size: 13.5px; padding-left: 24px; position: relative; }
.list-box-v3 .yes::before { content: '✓'; position: absolute; left: 0; color: #2e8b3d; font-weight: 700; }
.list-box-v3 .no::before { content: '✕'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

.getting-card-v3 { display: grid; grid-template-columns: 46px 1fr; gap: 16px; border-bottom: 1px solid var(--border); padding: 18px 0; }
.getting-card-v3 .meta-icon { font-size: 26px; color: var(--primary); text-align: center; }
.getting-card-v3 h3 { margin: 0 0 8px; color: var(--heading); font-size: 17px; }
.getting-card-v3 p { color: var(--body-text); font-size: 13.5px; }

.section-next-btn-v3 { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin-top: 18px; padding: 13px 16px; background: var(--olive); color: #fff; border-radius: 4px; font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .3px; }
.section-next-btn-v3:hover { background: var(--olive-dark); color: #fff; }

.sidebar-card-v3 { background: #fff; border: 1px solid var(--border); border-radius: 4px; position: sticky; top: 90px; overflow: hidden; }
.side-photo-v3 { height: 150px; background-size: cover; background-position: center; }
.side-price-v3 { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.side-price-v3 small { display: block; color: var(--body-text); }
.side-price-v3 strong { display: block; color: var(--olive); font-size: 30px; margin: 3px 0; }
.side-section-v3 { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.side-section-v3:last-child { border-bottom: 0; }
.side-section-v3 h3 { margin: 0 0 12px; color: var(--heading); font-size: 17px; }

@media (max-width: 1000px) {
    .tour-layout-v3 { grid-template-columns: 1fr; }
    .sidebar-card-v3 { position: relative; top: auto; }
    .route-wrap, .inclusion-grid-v3, .feature-grid-v3, .activity-list-v3, .safari-facts-v3 { grid-template-columns: 1fr; }
    .route-v2-grid { grid-template-columns: 1fr; }
    .tabs-v3 { position: static; }
}


/* ---------- Tour detail hero (v2) ---------- */
.tour-hero-v2 { position: relative; min-height: 420px; display: flex; align-items: center; background: var(--olive-dark) center/cover no-repeat; padding: 50px 24px; }
.tour-hero-v2::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,5,.75) 0%, rgba(10,10,5,.35) 60%); }
.tour-hero-v2 .container { position: relative; z-index: 2; }
.tour-hero-v2 h1 { color: #fff; font-size: 36px; margin: 10px 0 10px; }
.tour-hero-sub { color: var(--amber); font-size: 14.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; }
.tour-hero-fineprint { color: rgba(255,255,255,.75); font-size: 12.5px; max-width: 640px; }
.archive-breadcrumb.light, .archive-breadcrumb.light a { color: rgba(255,255,255,.85); margin: 0 0 10px; }

/* ---------- Sub-nav tabs ---------- */
.tour-subnav { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--border); }
.tour-subnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; flex-wrap: wrap; }
.tour-subnav-tabs { display: flex; gap: 26px; flex-wrap: wrap; }
.tour-subnav-tabs a { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: var(--body-text); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.tour-subnav-tabs a:hover, .tour-subnav-tabs a.active { color: #000; border-color: #000; }
.btn-rust-pill { background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; padding: 11px 22px; border-radius: 999px; white-space: nowrap; }
.btn-rust-pill:hover { background: var(--secondary); }

.section-note { color: var(--body-text); font-size: 14px; margin-bottom: 24px; max-width: 720px; }

/* ---------- Inline CTA band (used mid-page on tour.php) ---------- */
.cta-band-inline { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--olive); color: #fff; border-radius: 6px; padding: 26px 30px; margin: 36px 0; flex-wrap: wrap; }
.cta-band-inline.rust { background: var(--primary); }
.cta-band-inline h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.cta-band-inline p { color: rgba(255,255,255,.85); font-size: 13.5px; margin: 0; }
.btn-amber-block { background: var(--amber); color: var(--brown); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; padding: 13px 26px; border-radius: 4px; white-space: nowrap; }
.btn-amber-block:hover { background: var(--amber-dark); }

/* ---------- Accommodation tiers ---------- */
.accom-tier { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-bottom: 36px; }
.accom-tier.reverse .accom-tier-text { order: 2; }
.accom-tier.reverse .accom-tier-photo { order: 1; }
.accom-tier-text h3 { color: var(--olive); font-size: 20px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .3px; }
.accom-tier-text p { color: var(--body-text); font-size: 14.5px; line-height: 1.7; }
.accom-tier-photo { aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: 6px; }
@media (max-width: 720px) {
    .accom-tier, .accom-tier.reverse { grid-template-columns: 1fr; }
    .accom-tier.reverse .accom-tier-text, .accom-tier.reverse .accom-tier-photo { order: initial; }
    .cta-band-inline { flex-direction: column; align-items: flex-start; }
}

.tour-single-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; margin-top: 40px; align-items: start; }
.tour-facts { display: flex; gap: 30px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 24px 0; }
.tour-facts .fact { font-size: 14px; }
.tour-facts .fact strong { display: block; color: var(--heading); font-size: 15px; }
.itinerary-day { display: flex; gap: 20px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.itinerary-day .day-num { flex-shrink: 0; width: 90px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--primary); }
.inc-exc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 24px; }
.inc-exc-grid ul { list-style: none; }
.inc-exc-grid li { padding: 6px 0; font-size: 14px; padding-left: 24px; position: relative; }
.inc-exc-grid .includes li::before { content: '✓'; position: absolute; left: 0; color: #4caf50; font-weight: 700; }
.inc-exc-grid .excludes li::before { content: '✕'; position: absolute; left: 0; color: #c0392b; font-weight: 700; }

/* ---- Sidebar / quote box on single tour page reuses .quote-card ---- */
.sidebar-box { position: sticky; top: 100px; }

/* ---- About / Contact pages ---- */
.page-header {
    position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; text-align: center;
    background: var(--olive-dark) center/cover no-repeat; padding: 60px 24px 90px;
    clip-path: none;
}

/* ---- About page redesign ---- */
.about-hero {
    position: relative; min-height: 380px; display: flex; align-items: center;
    background: var(--olive-dark) center/cover no-repeat; padding: 60px 24px;
}
.about-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,10,.75) 0%, rgba(20,15,10,.35) 60%, rgba(20,15,10,.15) 100%); }
.about-hero .container { position: relative; z-index: 1; max-width: 640px; }
.about-hero h1 { color: #fff; font-size: 38px; margin-bottom: 14px; }
.about-hero p { color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.7; }

.about-founder-split { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: center; }
.about-founder-photo { aspect-ratio: 4/5; border-radius: 10px; background-size: cover; background-position: center top; box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.about-founder-split p { margin-bottom: 14px; }
.about-founder-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--heading); margin-top: 10px; }
.about-founder-role { display: block; font-size: 13px; color: var(--primary); text-transform: uppercase; letter-spacing: .4px; font-weight: 700; }

.about-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.about-value-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 26px 22px; text-align: left; }
.about-value-card .meta-icon { font-size: 26px; display: block; margin-bottom: 12px; }
.about-value-card h3 { font-size: 17px; margin-bottom: 8px; }
.about-value-card p { font-size: 14px; color: var(--body-text); margin: 0; }

.about-team-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 800px; margin: 0 auto; }
.about-team-preview-item { text-align: center; }
.about-team-preview-photo { width: 100px; height: 100px; border-radius: 50%; background-size: cover; background-position: center; margin: 0 auto 12px; }
.about-team-preview-item strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--heading); }
.about-team-preview-item span { display: block; font-size: 12.5px; color: var(--body-text); margin-top: 2px; }

@media (max-width: 800px) {
    .about-founder-split { grid-template-columns: 1fr; }
    .about-founder-photo { max-width: 300px; margin: 0 auto; }
    .about-values-grid { grid-template-columns: 1fr 1fr; }
    .about-team-preview { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .about-values-grid { grid-template-columns: 1fr; }
}

.page-header::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V120H0Z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
    background-size: 100% 100%; background-repeat: no-repeat; pointer-events: none;
}
.page-header::before { content: ''; position: absolute; inset: 0; background: rgba(20,20,10,.5); z-index: 1; }
.page-header .container { position: relative; z-index: 2; max-width: 780px; }
.page-header-video-el {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
    background: var(--olive-dark) center/cover no-repeat;
}
.page-header h1 { font-size: 38px; color: #fff; margin-bottom: 14px; }
.page-header p { color: rgba(255,255,255,.9); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.page-header .ph-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(0,0,0,.25); padding: 10px 18px; border-radius: 6px; }
.page-header .ph-badge img { height: 42px; }

.archive-breadcrumb { font-size: 13px; color: var(--body-text); margin: 28px 0 20px; }
.archive-breadcrumb a { color: var(--body-text); text-decoration: underline; }
.archive-breadcrumb .sep { margin: 0 6px; opacity: .6; }

.archive-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.archive-toolbar .results-count { color: var(--body-text); font-size: 14px; }
.archive-sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--body-text); }
.archive-sort select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 13.5px; background: #fff; }

.archive-disclaimer { background: var(--olive); color: #fff; padding: 16px 22px; border-radius: 6px; font-size: 13.5px; line-height: 1.6; margin-bottom: 24px; }

.prose h2 { font-size: 30px; margin: 30px 0 14px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 20px; }
.prose img { width: 100%; height: 340px; object-fit: cover; border-radius: 10px; margin: 6px 0 26px; box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.prose a { color: var(--primary); text-decoration: underline; font-weight: 600; }
.prose a:hover { color: #000; }

.related-box { margin-top: 40px; padding: 26px 28px; background: var(--bg-lite); border-radius: 10px; border: 1px solid var(--border); }
.related-box h3 { font-family: var(--font-display); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--heading); margin-bottom: 14px; }
.related-box ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.related-box li { font-size: 14px; }
.related-box a { color: var(--primary); text-decoration: none; font-weight: 700; }
.related-box a:hover { text-decoration: underline; }
@media (max-width: 600px) { .related-box ul { grid-template-columns: 1fr; } }
.legal-disclaimer-box { background: #fff8ec; border: 1px solid #e6c38d; border-radius: 6px; padding: 16px 18px; margin-bottom: 28px; font-size: 13.5px; }
.legal-disclaimer-box p { margin: 0; color: var(--body-text); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 40px; }

/* ---- WhatsApp floating button ---- */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999; background: var(--whatsapp); color: #fff;
    width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.25); font-size: 28px;
}
.whatsapp-float:hover { background: #1ebc59; color: #fff; }

/* ---- Footer ---- */
.footer-recommend { background: var(--olive); color: #fff; padding: 16px 0; }
.footer-recommend .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-recommend-msg { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.footer-recommend-msg .arrow-circle { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--olive); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.footer-recommend-badges { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-recommend-badge { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.footer-recommend-badge .badge-icon { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-recommend-badge .brand-badge-text.sb { font-size: 9px; }
.footer-recommend-badge strong { display: block; color: var(--amber); }
.footer-recommend-badge a { color: rgba(255,255,255,.75); text-decoration: underline; font-size: 11px; }

.site-footer { background: var(--cream); color: var(--heading); padding: 50px 0 0; }
.footer-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h3 { font-size: 15px; }
.footer-col h4 { color: var(--olive); margin-bottom: 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; font-family: var(--font-display); font-weight: 700; }
.footer-col p { font-size: 13.5px; margin-bottom: 8px; color: var(--body-text); }
.footer-col a { display: block; color: var(--primary); font-size: 13.5px; margin-bottom: 10px; font-weight: 500; }
.footer-col a:hover { color: #000; text-decoration: underline; }
.footer-logo { display: flex; align-items: center; margin-bottom: 14px; }
.footer-logo .logo-text { font-size: 20px; }
.footer-logo .logo-badge { width: 38px; height: 38px; font-size: 13px; margin-left: -14px; }
.footer-phone { font-size: 17px; font-weight: 700; color: var(--heading); display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-brand-logo { display: block; height: 48px; width: auto; margin: 4px 0 18px; }
.footer-phone:hover { color: #000; }
.footer-copyright { font-size: 12px; color: var(--body-text); margin-bottom: 6px; }
.footer-legal { display: flex; gap: 14px; margin-top: 8px; }
.footer-legal a { display: inline; margin: 0; font-size: 12px; color: var(--body-text); text-decoration: underline; font-weight: 400; }

.footer-newsletter-form input { padding: 10px 12px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; font-size: 13px; background: #fff; }
.footer-newsletter-inputs { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.footer-newsletter-inputs input { flex: 1; min-width: 110px; }
.footer-newsletter-bottom-row { display: flex; align-items: center; gap: 14px; justify-content: space-between; margin-bottom: 22px; }
.footer-newsletter-note { font-size: 11.5px; color: var(--body-text); margin: 0; line-height: 1.5; }
.footer-newsletter-note a { display: inline; margin: 0; text-decoration: underline; }
.footer-newsletter-form button { background: var(--olive); color: #fff; border: 0; padding: 12px 22px; border-radius: 4px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.footer-newsletter-form button:hover { background: var(--olive-dark); }
.footer-social-title { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--olive); font-weight: 700; margin-bottom: 10px; font-family: var(--font-display); }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform .15s ease; }
.footer-social a:hover { transform: translateY(-2px); }
.footer-social a .social-icon-img { width: 60%; height: 60%; object-fit: contain; }
.footer-social a { font-size: 11px; font-weight: 800; color: var(--brown); }
.footer-bottom-nav { display: none; }

/* =========================================================
   HOMEPAGE REDESIGN — Tanzania Specialist
   Hero, trip widget, tour grid, intro split, testimonials,
   why-choose, get-inspired mosaic, CTA + call-an-expert.
   ========================================================= */

/* ---- Display type helpers ---- */
.h-display { font-family: var(--font-display); font-weight: 800; color: var(--olive); text-transform: uppercase; letter-spacing: .5px; line-height: 1.15; }
.h-hand { font-family: var(--font-hand); font-weight: 700; color: var(--brown); font-size: 22px; text-transform: uppercase; letter-spacing: .3px; }
.home-section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.home-section-head .h-display { font-size: 34px; margin-bottom: 8px; }
.home-section-head p { margin-top: 14px; font-size: 15px; }

/* ---- Home hero ---- */
.hero-widget-wrap { position: relative; }
.home-hero { position: relative; background: var(--olive-dark) center/cover no-repeat; min-height: 620px; display: flex; align-items: flex-end; }
.home-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.home-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.05) 45%, rgba(0,0,0,.15) 100%); z-index: 2; }
.home-hero-inner { position: relative; z-index: 3; width: 100%; }
.hero-years-badge { position: absolute; top: 40px; left: max(24px, calc((100% - 1400px) / 2 + 24px)); z-index: 4; width: 116px; height: 116px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.hero-years-badge-bg { position: absolute; inset: 0; border-radius: 999px; background: rgba(20,15,10,.55); }
.hero-years-badge-svg { position: relative; width: 100%; height: 100%; animation: hero-badge-spin 16s linear infinite; }
.hero-years-badge-svg text { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: 1px; fill: #fff; text-transform: uppercase; }
.hero-years-badge-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 50px; height: 50px; border-radius: 999px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
    background: var(--amber); color: var(--brown);
    font-family: var(--font-display); font-size: 21px; font-weight: 800;
}
.hero-years-badge-center small { font-size: 8px; font-weight: 700; letter-spacing: .5px; margin-top: 2px; }
@keyframes hero-badge-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero-checklist { position: relative; z-index: 3; padding-top: 22px; overflow: hidden; width: 100%; mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); }
.hero-checklist-mobile { display: none; }
.hero-checklist-track { display: flex; flex-wrap: nowrap; width: max-content; gap: 48px; animation: hero-checklist-scroll 14s linear infinite; }
.hero-checklist-track span { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.hero-checklist-track .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); color: var(--brown); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; flex-shrink: 0; }
@keyframes hero-checklist-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-checklist-track { animation: none; }
}
.hero-checklist .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); color: var(--brown); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; flex-shrink: 0; }

/* Positions the shared .quote-card form over the hero's top-right, matching
   where the old trip-widget used to sit — kept separate from .quote-card's
   own styling so contact.php/tour.php's inline placement isn't affected. */
.hero-quote-wrap { position: absolute; top: 40px; right: 50px; z-index: 5; width: 400px; }

/* Floating trip-builder widget, sits over the hero top-right */
.trip-widget {
    position: absolute; top: 40px; right: 50px; z-index: 5; width: 400px;
    background: var(--bg-lite);
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
    clip-path: polygon(
        0% 10px, 5% 0, 10% 10px, 15% 0, 20% 10px, 25% 0, 30% 10px, 35% 0, 40% 10px, 45% 0,
        50% 10px, 55% 0, 60% 10px, 65% 0, 70% 10px, 75% 0, 80% 10px, 85% 0, 90% 10px, 95% 0, 100% 10px,
        100% 100%, 0% 100%
    );
    transform: rotate(-1.1deg);
}
.trip-widget .tw-permit-stub { background: var(--primary); padding: 18px 26px 16px; position: relative; }
.trip-widget .tw-permit-stub-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.trip-widget .tw-permit-eyebrow { color: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.trip-widget .tw-permit-no { color: rgba(255,255,255,.75); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .5px; white-space: nowrap; }
.trip-widget .tw-permit-stamp {
    position: absolute; right: 22px; bottom: -14px; z-index: 2;
    background: var(--amber); color: var(--brown); font-family: var(--font-display); font-weight: 800;
    font-size: 10px; text-transform: uppercase; letter-spacing: .8px;
    border: 2px solid var(--olive); border-radius: 999px; padding: 6px 12px;
    transform: rotate(-9deg);
    box-shadow: 0 3px 8px rgba(0,0,0,.25);
}
.trip-widget .tw-permit-perf {
    height: 14px; background: var(--primary);
    background-image: radial-gradient(circle at center, var(--bg-lite) 0 3.5px, transparent 3.6px);
    background-size: 15px 100%;
    background-position: 7px center;
    background-repeat: repeat-x;
}
.trip-widget .tw-permit-body { padding: 24px 28px 26px; }
.trip-widget .tw-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 4px; }
.trip-widget .tw-avatar { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; border: 3px solid var(--amber); flex-shrink: 0; }
.trip-widget h3 { color: var(--heading); font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.25; margin-bottom: 2px; }
.trip-widget .tw-permit-hand { display: block; color: var(--primary); font-family: var(--font-hand); font-size: 16px; }
.trip-widget .tw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 16px; }
.trip-widget .tw-row > div { min-width: 0; }
.trip-widget .tw-stepper { min-width: 0; }
.trip-widget label { display: block; color: var(--body-text); font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.trip-widget .tw-stepper { display: flex; align-items: center; border-bottom: 2px solid var(--border); }
.trip-widget .tw-step-btn {
    width: 26px; height: 26px; flex-shrink: 0; border: 1px solid var(--border); background: #fff; color: var(--primary);
    border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer; line-height: 1;
    display: flex; align-items: center; justify-content: center;
}
.trip-widget .tw-step-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.trip-widget .tw-stepper input {
    flex: 1; min-width: 0; text-align: center; border: 0; background: transparent; font-family: var(--font-mono);
    font-size: 17px; font-weight: 700; color: var(--heading); padding: 6px 4px;
}
.trip-widget .tw-stepper input::-webkit-inner-spin-button,
.trip-widget .tw-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.trip-widget .tw-field { position: relative; display: flex; align-items: center; border-bottom: 2px solid var(--border); }
.trip-widget .tw-field input { flex: 1; min-width: 0; padding: 8px 4px; border: 0; background: transparent; font-family: var(--font-mono); font-size: 15px; color: var(--heading); }
.trip-widget .tw-field .tw-icon { width: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.trip-widget .tw-field .tw-icon svg { width: 18px; height: 18px; fill: var(--primary); opacity: .8; }
.trip-widget .tw-submit {
    width: 100%; margin-top: 22px; background: var(--amber); color: var(--brown); border: 2px solid var(--brown);
    padding: 14px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
    font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.trip-widget .tw-submit:hover { background: var(--amber-dark); }
.trip-widget .tw-note { text-align: center; color: var(--body-text); font-family: var(--font-display); font-style: italic; font-size: 13px; margin-top: 12px; line-height: 1.5; }

.home-intro-heading { background: var(--bg-lite); text-align: center; padding: 70px 24px 60px; }
.home-intro-heading .h-display { font-size: 40px; }
.home-intro-heading .h-hand { margin-top: 10px; display: block; }

/* ---------- Guide band: intro + 2 big category cards + trust stats ---------- */
.guide-heading { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.guide-heading p { color: var(--body-text); font-size: 15.5px; line-height: 1.7; margin-top: 12px; }

.guide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto 56px; }
.guide-card {
    position: relative; display: block; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden;
    box-shadow: 0 16px 34px rgba(0,0,0,.18);
}
.guide-card-img {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    transition: transform .5s ease;
}
.guide-card:hover .guide-card-img { transform: scale(1.09); }
.guide-card::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(20,15,10,.05) 40%, rgba(20,15,10,.82) 100%);
}
.guide-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 30px; z-index: 2; }
.guide-card-body h3 { color: #fff; font-family: var(--font-display); font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
.guide-card-body p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 16px; }
.guide-card-btn {
    display: inline-block; padding: 10px 22px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .4px;
}
.guide-card-btn--fill { background: var(--amber); color: var(--brown); }
.guide-card-btn--outline { background: transparent; color: #fff; border: 2px solid #fff; }

.guide-why-heading { text-align: center; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--heading); margin-bottom: 30px; text-transform: uppercase; }

.trust-track-wrap { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.trust-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.trust-track::-webkit-scrollbar { display: none; }

/* Flip-on-hover trust cards: .trust-card sizes the flex item and provides
   the 3D perspective; .trust-card-inner is what actually rotates; the
   front/back faces are absolutely stacked with backface-visibility:hidden
   so only one shows at a time. */
.trust-card { flex: 0 0 240px; min-height: 170px; perspective: 1200px; }
.trust-card-inner {
    position: relative; width: 100%; height: 100%; min-height: 170px;
    transition: transform .6s cubic-bezier(.4, .2, .2, 1);
    transform-style: preserve-3d;
}
.trust-card:hover .trust-card-inner, .trust-card.flipped .trust-card-inner { transform: rotateY(180deg); }
.trust-card-front, .trust-card-back {
    position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
    border-radius: 10px; padding: 30px 24px; box-shadow: 0 14px 30px rgba(0,0,0,.2);
    display: flex; flex-direction: column; justify-content: center;
}
.trust-card-front { background: var(--brown); align-items: flex-start; gap: 10px; }
.trust-card-back { background: var(--primary); transform: rotateY(180deg); align-items: center; text-align: center; }
.trust-icon { display: inline-block; font-size: 26px; line-height: 1; margin-bottom: 4px; }
.trust-icon svg { display: block; }
.trust-card-front strong { color: #fff; font-family: var(--font-display); font-size: 21px; font-weight: 800; text-transform: uppercase; }
.trust-card-back span { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; }
.trust-nav-btn { position: absolute; top: 50%; right: -10px; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--amber); border: 0; color: var(--brown); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.trust-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.trust-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--border); cursor: pointer; padding: 0; }
.trust-dots button.active { background: var(--primary); }

/* ---- Home tour grid (image-forward cards) ---- */
.home-tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) {
    .home-tour-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .home-tour-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .guide-cards { grid-template-columns: 1fr; max-width: 480px; }
}

/* ---- Intro split (text + blob photo) ---- */
.section-white-blob { position: relative; background: #fff; overflow: hidden; }
.section-white-blob::before {
    content: '';
    position: absolute;
    top: 50%; left: 2%;
    width: 620px; height: 620px;
    max-width: 60%;
    transform: translateY(-50%);
    background: url('/assets/img/lion-watermark.png') center / contain no-repeat;
    opacity: .14;
    z-index: 0;
    pointer-events: none;
}
.intro-split { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; padding: 70px 0; }
.intro-split .h-display { font-size: 26px; margin-bottom: 18px; }
.intro-split .h-hand { font-size: 24px; margin: 26px 0 14px; }
.intro-split p { font-size: 14.5px; margin-bottom: 16px; }
.intro-split p a { text-decoration: underline; font-weight: 600; }
.intro-hakuna { display: flex; align-items: center; gap: 18px; margin: 18px 0; }
.intro-hakuna img { width: 130px; flex-shrink: 0; }
.intro-photo-wrap { position: relative; }
.intro-photo-wrap::before {
    content: '';
    position: absolute;
    top: -14px; left: -14px; right: -14px; bottom: -14px;
    border: 2px solid var(--amber);
    border-radius: 50% 50% 0 0 / 32% 32% 0 0;
    z-index: 0;
}
.intro-photo-wrap img {
    position: relative; z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 50% 50% 0 0 / 40% 40% 0 0;
    box-shadow: 0 22px 45px rgba(0,0,0,.22);
}

/* ---- Testimonials band ---- */
.testimonial-band {
    position: relative;
    background: url('/uploads/site/Zanzibar-Beach-Sunset.jpg') center 30% / cover no-repeat;
    padding: 60px 0 70px;
    overflow: hidden;
}
.testimonial-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30,22,14,.72) 0%, rgba(30,22,14,.6) 45%, rgba(30,22,14,.8) 100%);
    z-index: 0;
}
.testimonial-band > * { position: relative; z-index: 1; }
.testimonial-band .home-section-head .h-display { color: #fff; }
.testimonial-band .home-section-head .h-hand { color: var(--amber); }
.testimonial-track-wrap { position: relative; max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.testimonial-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 6px; padding: 20px; flex: 0 0 260px; }
.testimonial-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.testimonial-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.testimonial-head strong { color: #fff; font-size: 13.5px; display: block; }
.testimonial-head span { color: rgba(255,255,255,.6); font-size: 11.5px; }
.testimonial-stars { color: var(--amber); font-size: 13px; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card p { color: #f0ead9; font-size: 13px; margin-bottom: 10px; }
.testimonial-card a { color: #fff; text-decoration: underline; font-size: 12.5px; font-weight: 600; }
.testimonial-source { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11px; color: rgba(255,255,255,.65); }
.testimonial-source .dot { width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.testimonial-source .dot svg { width: 100%; height: 100%; display: block; }
.testimonial-nav-btn { position: absolute; top: 50%; right: -10px; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--cream); border: 0; color: var(--olive); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.testimonial-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.testimonial-dots button.active { background: var(--stripe-red); }

/* ---- Why choose ---- */
.why-choose-band { position: relative; background: var(--bg-lite); padding: 70px 0; margin-top: 6px; }
.why-choose-band::before { content: ''; position: absolute; top: -13px; left: 0; right: 0; height: 14px; background-color: var(--bg-lite); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14' viewBox='0 0 40 14'%3E%3Cpath d='M0 14 L8 3 L16 11 L24 2 L32 12 L40 14 Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14' viewBox='0 0 40 14'%3E%3Cpath d='M0 14 L8 3 L16 11 L24 2 L32 12 L40 14 Z'/%3E%3C/svg%3E"); -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x; -webkit-mask-size: 40px 14px; mask-size: 40px 14px; }
.why-choose-band .home-section-head p { max-width: 760px; }
.why-check-grid { max-width: 900px; margin: 34px auto 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; row-gap: 22px; }
.why-check-item { display: flex; align-items: flex-start; gap: 14px; }
.why-check-item .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: var(--brown); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; flex-shrink: 0; margin-top: 1px; }
.why-check-item span { font-size: 14.5px; color: var(--heading); font-weight: 600; line-height: 1.4; }
.why-choose-actions { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.btn-block { padding: 13px 26px; border-radius: 3px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.btn-block.terracotta { background: var(--primary); color: #fff; }
.btn-block.terracotta:hover { background: var(--secondary); color: #fff; }
.btn-block.olive { background: var(--olive); color: #fff; }
.btn-block.olive:hover { background: var(--olive-dark); color: #fff; }

/* ---- Get Inspired mosaic ---- */
.inspire-band { padding: 70px 0; }

/* ---- Get Inspired / Follow Along: Instagram (real cover images) + Facebook (real embeds) ---- */
.instagram-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto 20px;
}
.instagram-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg-lite);
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.instagram-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.instagram-card__shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(12,8,4,.6));
    opacity: .55;
    transition: opacity .3s ease;
}
.instagram-card__icon { position: absolute; right: 10px; bottom: 10px; width: 20px; height: 20px; color: #fff; }
.instagram-card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; }
.instagram-card__view {
    position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 11.5px; font-weight: 700;
    opacity: 0; transform: translateY(5px); transition: opacity .3s ease, transform .3s ease;
}
.instagram-card:hover img { transform: scale(1.08); }
.instagram-card:hover .instagram-card__shade { opacity: 1; }
.instagram-card:hover .instagram-card__view { opacity: 1; transform: translateY(0); }

.facebook-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto 32px;
}
.facebook-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg-lite);
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.facebook-card__scale { position: absolute; top: 0; left: 0; transform-origin: top left; }
.facebook-card__scale iframe { display: block; border: none; }

.home-social__button-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.social-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; padding: 10px 22px; border-radius: 999px; color: #fff;
    font-size: 13px; font-weight: 800; line-height: 1;
    box-shadow: 0 10px 22px rgba(0,0,0,.15);
    transition: transform .2s ease, box-shadow .2s ease;
}
.social-button:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(0,0,0,.2); color: #fff; }
.social-button--instagram { background: linear-gradient(90deg, #f6c04b, #ff6b45 52%, #d62b80); }
.social-button--facebook { background: #1877f2; }

@media (max-width: 900px) {
    .instagram-cards, .facebook-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .instagram-cards, .facebook-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

.category-pills { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.category-pills a { border: 1.5px solid var(--border); color: var(--heading); padding: 9px 22px; border-radius: 24px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.category-pills a:hover { background: var(--olive); border-color: var(--olive); color: #fff; }

/* ---- CTA split + call an expert ---- */
.cta-band { padding: 0 0 70px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 4px; max-width: 900px; margin: 0 auto; }
.cta-tile { height: 100%; box-sizing: border-box; }
.cta-tile.photo { background: var(--bg-lite) center/cover no-repeat; }
.cta-tile.olive { background: var(--olive); color: #fff; padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.cta-tile.olive h3 { color: #fff; font-family: var(--font-hand); font-size: 24px; text-transform: uppercase; margin-bottom: 6px; }
.cta-tile.olive p { color: #e7e2d3; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 18px; font-weight: 700; }
.call-expert-tile { background: var(--cream); padding: 26px; display: flex; align-items: center; gap: 16px; height: 100%; box-sizing: border-box; }
.call-expert-tile img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.call-expert-tile h3 { font-family: var(--font-hand); font-size: 20px; color: var(--brown); text-transform: uppercase; }
.call-expert-tile p { font-size: 11.5px; color: var(--body-text); margin-bottom: 10px; }
.call-expert-numbers { display: flex; gap: 8px; flex-wrap: wrap; }
.call-expert-numbers a { background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 3px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.call-expert-numbers a:hover { background: var(--secondary); color: #fff; }
.call-expert-more { display: block; margin-top: 8px; font-size: 11.5px; text-decoration: underline; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .main-nav {
        display: flex; position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
        background: #fff; flex-direction: column; align-items: flex-start;
        padding: 24px 24px 100px; gap: 0; border-bottom: 0; z-index: 200;
        transform: translateX(100%); transition: transform .32s ease; overflow-y: auto; overflow-x: hidden;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { color: var(--heading); font-size: 15px; font-weight: 800; padding: 16px 0; width: 100%; border-bottom: 1px solid var(--border); letter-spacing: .3px; }
    .main-nav a:hover, .main-nav a.active { color: #000; }
    .main-nav .dropdown { width: 100%; }
    .main-nav .dropdown-menu {
        position: static; box-shadow: none; background: var(--bg-lite); border-radius: 6px;
        padding: 0 14px; margin-top: 0; min-width: 0;
        max-height: 0; opacity: 0; visibility: hidden; overflow: hidden; pointer-events: none;
        transform: none;
        transition: max-height .32s ease, opacity .25s ease, padding .32s ease, visibility 0s linear .32s;
    }
    .main-nav .dropdown.mobile-open .dropdown-menu {
        max-height: 900px; opacity: 1; visibility: visible; pointer-events: auto; padding: 8px 14px 14px;
        transition: max-height .35s ease, opacity .3s ease .05s, padding .32s ease, visibility 0s linear 0s;
    }
    .main-nav .dropdown-menu a { color: var(--body-text); border-bottom: 1px solid var(--border); font-size: 14.5px; font-weight: 500; }
    .main-nav .dropdown-menu--cols { flex-direction: column; gap: 2px; }
    .main-nav .dropdown-menu--cols .dropdown-col-label { margin-top: 8px; }
    .main-nav .dropdown-menu--cols .dropdown-col:first-child .dropdown-col-label { margin-top: 0; }

    /* Top row inside the drawer: language + currency + close button */
    .mobile-drawer-topbar { display: flex; align-items: center; gap: 16px; width: 100%; padding-bottom: 22px; margin-bottom: 6px; }
    .mobile-drawer-topbar .utility-dropdown { color: var(--heading); font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-drawer-topbar .lang-menu { left: 0; }
    .drawer-close { display: block; margin-left: auto; flex-shrink: 0; background: none; border: 0; color: var(--primary); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px; }

    /* "All Trips" (was "Itineraries" on desktop) is a plain link on mobile —
       Safaris/Kilimanjaro/Zanzibar already sit right below it as their own
       links, so an expanding photo grid here would just repeat them. */
    .label-mobile { display: none; }
    .mobile-plain-link .label-desktop { display: none; }
    .mobile-plain-link .label-mobile { display: inline; }
    .mobile-plain-link .caret { display: none; }

    .mobile-only-link { display: block !important; }
    .mobile-secondary-link { font-weight: 500; text-transform: none; color: var(--body-text); font-size: 14px; border-bottom: 0; padding-top: 20px; }

    /* .main-nav has a CSS transform applied (for the slide animation), which
       makes it the containing block for any position:fixed descendant — so
       this anchors to the drawer's own box and slides in/out with it,
       without needing to duplicate the drawer's width calculation here. */
    .mobile-drawer-cta {
        display: block; position: fixed; left: 0; right: 0; bottom: 0;
        background: var(--primary); color: #fff; text-align: center;
        padding: 18px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px;
        border-bottom: 0;
    }
    .mobile-drawer-cta:hover { background: var(--secondary); color: #fff; }

    .main-nav .mobile-cta { margin-top: 20px; background: var(--primary); color: #fff; text-align: center; border-radius: 3px; border-bottom: 0; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .4px; padding: 14px; }
    .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(20,20,10,.55); z-index: 190; }
    .nav-overlay.open { display: block; }
    .mobile-toggle { display: block; }
    .mobile-toggle .icon-bars { display: block; width: 22px; height: 16px; position: relative; }
    .mobile-toggle .icon-bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
    .mobile-toggle .icon-bars span:nth-child(1) { top: 0; }
    .mobile-toggle .icon-bars span:nth-child(2) { top: 7px; }
    .mobile-toggle .icon-bars span:nth-child(3) { top: 14px; }
    .mobile-toggle.open .icon-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.open .icon-bars span:nth-child(2) { opacity: 0; }
    .mobile-toggle.open .icon-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .header-actions .btn-cta { display: none; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-content { max-width: 100%; }
    .tour-grid { grid-template-columns: 1fr; }
    .tour-single-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 32px; }
    .inc-exc-grid { grid-template-columns: 1fr; }
    .why-choose { grid-template-columns: 1fr; }
    .itinerary-quicklist { columns: 1; }
    .category-block-head { grid-template-columns: 1fr; }

    /* Homepage redesign — mobile: hero layout matched to the supplied reference */
    .home-hero {
        height: 220px;
        min-height: 220px;
        padding-bottom: 0;
        align-items: flex-end;
        overflow: hidden;
    }
    .home-hero-photo {
        object-position: center center;
    }
    .home-hero::after {
        background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.28) 100%);
    }
    .home-hero-inner { padding: 0; }
    .hero-years-badge { top: 72px; left: 74px; width: 84px; height: 84px; }
    .hero-years-badge-center { width: 38px; height: 38px; font-size: 16px; }
    .hero-years-badge-center small { font-size: 6.5px; }
    .hero-years-badge-svg text { font-size: 12px; }

    /* On phones the trip planner becomes a full-width section directly below
       the photo, instead of floating over it. */
    .trip-widget {
        position: relative;
        top: auto;
        right: auto;
        z-index: 6;
        width: 100%;
        margin: 0;
        box-shadow: none;
        transform: none;
    }
    .hero-quote-wrap {
        position: relative; top: auto; right: auto; z-index: 6; width: 100%; margin: 0 0 20px;
    }
    .hero-quote-wrap .quote-card { border-radius: 18px; padding: 22px 18px 18px; }
    .trip-widget .tw-permit-stub {
        padding: 20px 24px 16px;
    }
    .trip-widget .tw-permit-body {
        padding: 30px 24px 34px;
    }
    .trip-widget .tw-head {
        gap: 16px;
        margin-bottom: 4px;
    }
    .trip-widget .tw-avatar {
        width: 56px;
        height: 56px;
        border-width: 3px;
    }
    .trip-widget h3 {
        font-size: 22px;
        line-height: 1.25;
        max-width: 390px;
    }
    .trip-widget .tw-row {
        gap: 20px;
        margin: 20px 0 20px;
    }
    .trip-widget label {
        font-size: 11px;
        margin-bottom: 9px;
    }
    .trip-widget .tw-stepper input,
    .trip-widget .tw-field input {
        font-size: 17px;
    }
    .trip-widget .tw-step-btn {
        width: 30px;
        height: 30px;
        font-size: 17px;
    }
    .trip-widget .tw-field .tw-icon {
        width: 34px;
    }
    .trip-widget .tw-field .tw-icon svg {
        width: 20px;
        height: 20px;
    }
    .trip-widget .tw-submit {
        min-height: 58px;
        padding: 16px 14px;
        margin-top: 20px;
        font-size: 14px;
    }
    .trip-widget .tw-note {
        font-size: 13.5px;
        line-height: 1.55;
        margin: 12px auto 0;
        max-width: 430px;
    }
    .hero-checklist-desktop { display: none; }
    .hero-checklist-mobile {
        display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 3;
        padding: 18px 16px 22px;
    }
    .hero-checklist-mobile span { display: flex; align-items: center; gap: 8px; color: #000; font-size: 13.5px; font-weight: 600; }
    .hero-checklist-mobile .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); color: var(--brown); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; flex-shrink: 0; }
    .home-tour-grid { grid-template-columns: 1fr 1fr; }
    .intro-split { grid-template-columns: 1fr; gap: 36px; padding: 50px 0; }
    .intro-photo-wrap { order: -1; max-width: min(320px, calc(100% - 28px)); margin: 0 auto; }
    .why-check-grid { grid-template-columns: 1fr; }
    .inspire-mosaic, .cta-grid { grid-template-columns: 1fr; }
    .call-expert-tile { flex-direction: column; text-align: center; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-recommend .container { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
    .home-tour-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
}