/* Explain: Styles for site components including header, footer, forms, cards, and navigation. */
/* ---------- Header ---------- */
.site-header {
    background: rgba(246, 241, 229, 0.92);
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled {
    background: rgba(246, 241, 229, 0.96);
    box-shadow: 0 12px 32px rgba(42, 51, 31, 0.07);
}

.has-transparent-header .site-header {
    background: linear-gradient(180deg, rgba(246, 241, 229, 0.95) 0%, rgba(246, 241, 229, 0.78) 58%, rgba(246, 241, 229, 0) 100%);
    border-bottom-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.has-transparent-header .site-header.is-scrolled {
    background: rgba(246, 241, 229, 0.95);
    border-bottom-color: var(--border-color);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(42, 51, 31, 0.07);
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
}

.brand-mark {
    color: var(--accent-color);
    font-size: 0.95rem;
}

.brand-name {
    margin-top: 0.25rem;
    color: var(--primary-color);
    font-family: var(--font-logo);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.brand-sub {
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.34em;
}

/* Keep the logo crisp and legible over both the ivory header and the hero imagery */
.brand-logo {
    height: 5rem;
    image-rendering: -webkit-optimize-contrast;
    transition: height 350ms ease, transform 300ms ease;
}

.site-header.is-scrolled .brand-logo {
    height: 3.25rem;
    filter: none;
}

@media (min-width: 640px) {
    .brand-logo {
        height: 10rem;
    }

    .site-header.is-scrolled .brand-logo {
        height: 6rem;
    }
}

a.brand-lockup:hover .brand-logo {
    transform: scale(1.03);
}

/* Visible brand tagline beneath the logo */
.brand-tagline {
    display: block;
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .brand-tagline {
        margin-top: 0.7rem;
        font-size: 0.76rem;
        letter-spacing: 0.32em;
    }
}

/* ---------- Nav dropdowns ---------- */
.nav-drop {
    position: relative;
}

.nav-drop-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 250ms ease;
}

.nav-drop-trigger:hover {
    color: var(--accent-color);
}

.nav-drop-trigger i {
    font-size: 0.6rem;
    transition: transform 250ms ease;
}

.nav-drop[open] .nav-drop-trigger i {
    transform: rotate(180deg);
}

.nav-drop-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 120;
    min-width: 14rem;
    padding: 0.6rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 1.1rem;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 0.5rem);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.nav-drop[open] .nav-drop-panel,
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-drop-link {
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: 0.7rem;
    color: var(--text-color);
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 200ms ease, color 200ms ease;
}

.nav-drop-link:hover {
    background: var(--sage-soft);
    color: var(--primary-color);
}

/* ---------- Nav dropdown groups (styling in css/nav.css) ---------- */

/* ---------- Menu button + drawer ---------- */
.menu-button {
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: transparent;
    color: var(--primary-color);
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 250ms ease;
}

.menu-button:hover {
    background: var(--sage-soft);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    justify-content: flex-end;
    background: rgba(42, 51, 31, 0.45);
}

.menu-overlay.is-open {
    display: flex;
}

.menu-panel {
    width: min(22rem, 100%);
    height: 100%;
    overflow-y: auto;
    background: var(--footer-bg);
    color: var(--hero-text);
    padding: 1.6rem;
}

.menu-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-panel-label {
    color: var(--secondary-color);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.menu-close {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 188, 160, 0.35);
    border-radius: 999px;
    background: transparent;
    color: var(--hero-text);
    cursor: pointer;
}

.menu-nav {
    margin-top: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.menu-link {
    padding: 0.7rem 0.5rem;
    border-radius: 0.6rem;
    color: rgba(246, 241, 229, 0.82);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    text-decoration: none;
    transition: color 200ms ease, background 200ms ease;
}

.menu-link:hover {
    color: var(--hero-text);
    background: rgba(201, 188, 160, 0.1);
}

.menu-link-primary {
    margin-bottom: 0.1rem;
    background: var(--button-color);
    color: var(--primary-color);
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.menu-link-primary:hover {
    background: var(--primary-hover);
    color: var(--primary-color);
}

.menu-sublink {
    padding: 0.5rem 0.5rem 0.5rem 1.7rem;
    border-radius: 0.6rem;
    color: rgba(246, 241, 229, 0.68);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 200ms ease, background 200ms ease;
}

.menu-sublink:hover {
    color: var(--hero-text);
    background: rgba(201, 188, 160, 0.1);
}

.menu-divider {
    height: 1px;
    margin: 1.1rem 0.5rem 0.5rem;
    background: rgba(201, 188, 160, 0.25);
}

.menu-group-label {
    padding: 0 0.5rem;
    margin-bottom: 0.3rem;
    color: var(--secondary-color);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

/* ---------- Sections ---------- */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.section-kicker--center {
    justify-content: center;
}

.section-kicker--center::before {
    display: none;
}

.hero-editorial,
.page-hero,
.cta-band {
    background: var(--hero-bg);
}

.hero-scrim {
    background:
        radial-gradient(62% 58% at 50% 52%, rgba(246, 241, 229, 0.66) 0%, rgba(246, 241, 229, 0.34) 58%, rgba(246, 241, 229, 0) 100%),
        linear-gradient(180deg, rgba(246, 241, 229, 0.9) 0%, rgba(246, 241, 229, 0.4) 24%, rgba(246, 241, 229, 0.28) 58%, rgba(246, 241, 229, 0.7) 100%);
}

.idea-rule {
    width: 3.5rem;
    height: 2px;
    background: var(--accent-color);
}

.idea-image,
.founder-image,
.editorial-frame {
    overflow: hidden;
    border-radius: 1.6rem;
    box-shadow: var(--shadow-soft);
}

.idea-image img {
    aspect-ratio: 3 / 4;
}

.founder-image img {
    aspect-ratio: 4 / 5;
}

.editorial-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ---------- Cards ---------- */
.destination-card {
    display: block;
    text-decoration: none;
}

.destination-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    object-fit: cover;
    transition: transform 600ms ease, box-shadow 400ms ease;
}

.destination-card:hover img {
    box-shadow: 0 24px 50px rgba(42, 51, 31, 0.16);
    transform: translateY(-4px);
}

.destination-card-body {
    padding-top: 0.9rem;
}

.destination-name {
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.destination-card-body p {
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- Facets ---------- */
.facet-group-label {
    color: rgba(246, 241, 229, 0.6);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.facet-group-label--dark {
    color: var(--text-muted);
}

.facet-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(201, 188, 160, 0.4);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    color: rgba(246, 241, 229, 0.85);
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.facet-chip:hover {
    background: rgba(201, 188, 160, 0.14);
    color: var(--hero-text);
    border-color: var(--secondary-color);
}

.facet-chip i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.facet-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 1.1rem;
    background: var(--surface-color);
    padding: 1.1rem 1.2rem;
    text-decoration: none;
    transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.facet-row:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

/* ---------- Why items ---------- */
.why-item h3 {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
}

.why-item p {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    line-height: 1.7;
}

.why-icon {
    display: inline-flex;
    height: 2.6rem;
    width: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1rem;
}

.founder-quote {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.7;
}

/* ---------- Field notes ---------- */
.fieldnote-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 1.4rem;
    background: var(--surface-color);
    text-decoration: none;
    transition: transform 350ms ease, box-shadow 350ms ease;
}

.fieldnote-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.fieldnote-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.fieldnote-card-body {
    padding: 1.4rem;
}

.fieldnote-cat {
    color: var(--accent-color);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ---------- Links + buttons ---------- */
.link-arrow {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.6rem;
    border-radius: 999px;
    background: var(--button-color);
    padding: 0.6rem 1.3rem;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 300ms ease, gap 300ms ease;
}

.link-arrow:hover {
    background: var(--primary-hover);
    gap: 0.9rem;
}

/* ---------- Header enquiry CTA ---------- */
.enquire-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    border-radius: 999px;
    background: var(--button-color);
    padding: 0.55rem 1.35rem;
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 250ms ease, gap 250ms ease;
}

.enquire-pill:hover {
    background: var(--primary-hover);
    gap: 0.75rem;
}

/* ---------- Forms ---------- */
.glass-panel {
    border: 1px solid var(--glass-border);
    background: rgba(246, 241, 229, 0.7);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: #3E4B32;
}

.form-status.error {
    color: #9B4A3D;
}

/* ---------- Footer ---------- */
.footer-band {
    background: var(--footer-bg);
    color: var(--hero-text);
}

.footer-heading {
    color: var(--hero-text);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.footer-link {
    color: rgba(246, 241, 229, 0.72);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 250ms ease;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-brand-name {
    color: var(--secondary-color);
    font-family: var(--font-logo);
    font-size: 1.6rem;
    letter-spacing: 0.18em;
}

/* ---------- Focus ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ---------- Site search ---------- */
.search-panel {
    overflow: hidden;
    max-height: 0;
    background: rgba(246, 241, 229, 0.98);
    border-bottom: 1px solid transparent;
    transition: max-height 350ms ease, border-color 350ms ease;
}

.search-panel.is-open {
    max-height: 14rem;
    border-bottom-color: var(--border-color);
}

.site-search-form {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--background-color);
    padding: 0.4rem 0.5rem 0.4rem 1.1rem;
}

.site-search-form > i {
    flex: 0 0 auto;
    color: var(--accent-color);
    font-size: 0.95rem;
}

.site-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.site-search-form input[type="search"]:focus {
    outline: none;
}

.site-search-form input[type="search"]::placeholder {
    color: var(--text-muted);
    opacity: 0.75;
}

.site-search-form button[type="submit"] {
    flex: 0 0 auto;
    min-height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--ivory);
    padding: 0 1.5rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 250ms ease;
}

.site-search-form button[type="submit"]:hover {
    background: var(--accent-color);
}

.search-result {
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 1.1rem;
    background: var(--surface-color);
    padding: 1.3rem 1.5rem;
    text-decoration: none;
    transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.search-result:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.search-result-label {
    color: var(--accent-color);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.search-result-title {
    margin-top: 0.5rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.search-result-snippet {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 1.4rem;
    background: var(--surface-color);
    transition: border-color 250ms ease, box-shadow 250ms ease;
}

.faq-item[open] {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-soft);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.3rem 1.5rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question i {
    flex: 0 0 auto;
    color: var(--accent-color);
    font-size: 0.85rem;
    transition: transform 300ms ease;
}

.faq-item[open] .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.4rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .site-search-form button[type="submit"] {
        padding: 0 1.1rem;
    }

    .enquire-pill {
        min-height: 2.2rem;
        padding: 0.35rem 0.65rem;
        font-size: 0.6rem;
        letter-spacing: 0.08em;
    }

    .menu-button {
        height: 2.35rem;
        width: 2.35rem;
        font-size: 0.95rem;
    }
}

/* ---------- Kenya: Bush to Beach — unified page typography ---------- */
.bb-journey main {
    font-family: 'Lora', serif;
    font-size: 14px;
    text-align: center;
}

.bb-journey main h1,
.bb-journey main h2,
.bb-journey main h3,
.bb-journey main h4,
.bb-journey main h5,
.bb-journey main h6,
.bb-journey main p,
.bb-journey main li,
.bb-journey main blockquote,
.bb-journey main figcaption,
.bb-journey main span,
.bb-journey main a,
.bb-journey main label {
    text-align: center;
}

.bb-journey main p:not(.journey-price-value),
.bb-journey main li,
.bb-journey main blockquote,
.bb-journey main figcaption,
.bb-journey main .journey-stat-label,
.bb-journey main .journey-stat-value,
.bb-journey main .journey-price-label,
.bb-journey main .journey-price-note {
    font-family: 'Lora', serif;
    font-size: 14px;
}

/* ---------- Kenya & Zanzibar — unified page typography ---------- */
.kz-journey main {
    font-family: 'Lora', serif !important;
    font-size: 14px;
    text-align: center;
}

.kz-journey main h1,
.kz-journey main h2,
.kz-journey main h3,
.kz-journey main h4,
.kz-journey main h5,
.kz-journey main h6,
.kz-journey main p,
.kz-journey main li,
.kz-journey main blockquote,
.kz-journey main figcaption,
.kz-journey main span,
.kz-journey main a,
.kz-journey main label {
    text-align: center;
}

.kz-journey main p:not(.journey-price-value),
.kz-journey main li,
.kz-journey main blockquote,
.kz-journey main figcaption,
.kz-journey main .journey-stat-label,
.kz-journey main .journey-stat-value,
.kz-journey main .journey-price-label,
.kz-journey main .journey-price-note,
.kz-journey main .journey-day-body,
.kz-journey main .inclusion-item {
    font-family: 'Lora', serif !important;
    font-size: 14px !important;
    text-align: center !important;
}

/* At-a-glance stat cards — icon and both lines centred as one column */
.kz-journey main .journey-stat {
    align-items: center;
    text-align: center;
}

.kz-journey main .journey-stat i {
    text-align: center;
}

.kz-journey main .journey-stat,
.kz-journey main .journey-stat *:not(.fa-solid):not(.fa-regular):not(.fa-brands) {
    font-family: 'Lora', serif !important;
    font-size: 14px !important;
    text-align: center !important;
}

.kz-journey main .journey-stat-label,
.kz-journey main .journey-stat-value {
    font-family: 'Lora', serif !important;
    font-size: 14px !important;
    line-height: 1.7;
    text-align: center !important;
}

/* At-a-glance cards — each card centred as one calm column, the group centred on the page */
.kz-journey main .journey-stat {
    justify-content: center;
    align-items: center;
    padding: 1.2rem 1rem;
}

.kz-journey main .journey-stat > i {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
}

.kz-journey main .journey-stat-label,
.kz-journey main .journey-stat-value {
    display: block;
    width: 100%;
    font-family: 'Lora', serif !important;
    font-size: 14px !important;
    text-align: center !important;
    letter-spacing: 0.06em;
}

/* ---------- Kenya & Zanzibar — page hero typography ---------- */
/* Non-heading text reads in Lora at 14px, centred on the page; the title keeps its scale */
.kz-journey main .page-hero {
    text-align: center;
}

.kz-journey main .page-hero p {
    margin-left: auto;
    margin-right: auto;
    font-family: 'Lora', serif !important;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.9 !important;
    letter-spacing: 0.01em;
    text-align: center !important;
}

.kz-journey main .page-hero h1,
.kz-journey main .page-hero h2,
.kz-journey main .page-hero h3,
.kz-journey main .page-hero h5 {
    text-align: center !important;
}