/* ── Tours Inclusions: Full-Viewport Editorial Panels ───── */

.jacana-incl-section {
    background: var(--jacana-savannah, #fffae4);
    padding: 100px 0 0;
    /* bottom-padding lives on the panels */
    position: relative;
    overflow: hidden;
}

/* Ambient glow behind header only */
.jacana-incl-section::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(219, 151, 81, 0.07), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.jacana-incl-inner {
    max-width: var(--max-width, 1180px);
    margin: 0 auto;
    padding: 0 var(--content-pad, 48px) 80px;
    position: relative;
    z-index: 1;
}

/* ── Section Header ──────────────────────────────────────── */
.jacana-incl-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.jacana-incl-kicker {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-transform: uppercase;
    letter-spacing: 0.36em;
    font-size: 11px;
    font-weight: 800;
    color: var(--jacana-dunes, #db9751);
    margin-bottom: 20px;
}

.jacana-incl-kicker::before,
.jacana-incl-kicker::after {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    background: var(--jacana-dunes, #db9751);
    flex-shrink: 0;
}

.jacana-incl-heading {
    font-family: "Cormorant Garamond", "Palatino Linotype", serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--jacana-earth, #2d2416);
    margin: 0 0 18px;
}

.jacana-incl-intro {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(45, 36, 22, 0.72);
    margin: 0;
}

/* ── Panels container ────────────────────────────────────── */
.jacana-incl-panels {
    display: flex;
    flex-direction: column;
}

/* ── Panel — full-viewport horizontal split ──────────────── */
.jacana-incl-panel {
    display: flex;
    min-height: 100svh;
    position: relative;
}

/* ── Body pane ───────────────────────────────────────────── */
.jacana-incl-panel-body {
    flex: 0 0 50%;
    order: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px 80px 80px;
    background: var(--jacana-savannah, #fffae4);
}

/* Subtle ambient warm glow in body */
.jacana-incl-panel-body::before {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(219, 151, 81, 0.07), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Large decorative background number */
.jacana-incl-card-num {
    position: absolute;
    top: -20px;
    right: 32px;
    font-family: "Cormorant Garamond", "Palatino Linotype", serif;
    font-size: clamp(120px, 16vw, 200px);
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    color: rgba(219, 151, 81, 0.055);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Everything inside body above bg layers */
.jacana-incl-panel-body>*:not(.jacana-incl-card-num):not(::before) {
    position: relative;
    z-index: 1;
}

/* ── Cluster pane ────────────────────────────────────────── */
.jacana-incl-panel-cluster {
    flex: 0 0 50%;
    order: 2;
    position: relative;
    overflow: hidden;
    background: var(--jacana-earth, #2d2416);
}

/* ── Even panels: flip order ─────────────────────────────── */
.jacana-incl-panel:nth-child(even) .jacana-incl-panel-body {
    order: 2;
    padding: 80px 80px 80px 64px;
}

.jacana-incl-panel:nth-child(even) .jacana-incl-panel-cluster {
    order: 1;
}

/* ── Images ──────────────────────────────────────────────── */

/* Main: fills the entire cluster */
.jacana-incl-img-main {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.jacana-incl-img-main img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    filter: saturate(0.88) brightness(0.92);
    transition: transform 1.1s cubic-bezier(0.2, 1, 0.3, 1), filter 0.8s ease;
}

.jacana-incl-panel:hover .jacana-incl-img-main img {
    transform: scale(1.06);
    filter: saturate(1) brightness(0.97);
}

/* Cinematic overlay on the cluster */
.jacana-incl-panel-cluster-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8, 5, 3, 0.10) 0%, rgba(8, 5, 3, 0.55) 100%),
        linear-gradient(90deg, rgba(8, 5, 3, 0.0) 55%, rgba(8, 5, 3, 0.15) 100%);
}

/* Even panel: gradient flips to bleed toward left edge */
.jacana-incl-panel:nth-child(even) .jacana-incl-panel-cluster-overlay {
    background:
        linear-gradient(180deg, rgba(8, 5, 3, 0.10) 0%, rgba(8, 5, 3, 0.55) 100%),
        linear-gradient(-90deg, rgba(8, 5, 3, 0.0) 55%, rgba(8, 5, 3, 0.15) 100%);
}

/* Detail: framed portrait overlay (bottom-right, default) */
.jacana-incl-img-detail {
    position: absolute;
    bottom: 18%;
    right: 5%;
    width: 50%;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    border: 10px solid var(--jacana-savannah, #fffae4);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.40);
    overflow: hidden;
    z-index: 3;
    transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.7s ease;
}

.jacana-incl-panel:hover .jacana-incl-img-detail {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 44px 90px rgba(0, 0, 0, 0.48);
}

/* Detail flips left for even panels (cluster on left) */
.jacana-incl-panel:nth-child(even) .jacana-incl-img-detail {
    right: auto;
    left: 5%;
}

.jacana-incl-img-detail img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 1.1s cubic-bezier(0.2, 1, 0.3, 1);
}

.jacana-incl-panel:hover .jacana-incl-img-detail img {
    transform: scale(1.04);
}

/* Lifestyle: small framed square (bottom-left, default) */
.jacana-incl-img-lifestyle {
    position: absolute;
    bottom: 9%;
    left: 7%;
    width: 34%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    border: 8px solid var(--jacana-savannah, #fffae4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    z-index: 4;
    transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.7s ease;
}

.jacana-incl-panel:hover .jacana-incl-img-lifestyle {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.40);
}

/* Lifestyle flips right for even panels */
.jacana-incl-panel:nth-child(even) .jacana-incl-img-lifestyle {
    left: auto;
    right: 7%;
}

.jacana-incl-img-lifestyle img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 1.1s cubic-bezier(0.2, 1, 0.3, 1);
}

.jacana-incl-panel:hover .jacana-incl-img-lifestyle img {
    transform: scale(1.06);
}

/* ── Badge on cluster ────────────────────────────────────── */
.jacana-incl-badge {
    position: absolute;
    top: 36px;
    right: 36px;
    z-index: 5;
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.jacana-incl-panel:nth-child(even) .jacana-incl-badge {
    right: auto;
    left: 36px;
}

.jacana-incl-badge--primary {
    background: rgba(157, 203, 223, 0.22);
    border: 1px solid rgba(157, 203, 223, 0.50);
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.jacana-incl-badge--alt {
    background: rgba(219, 151, 81, 0.22);
    border: 1px solid rgba(219, 151, 81, 0.55);
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* ── Oshiwambo stripe — vertical seam between panes ─────── */
.jacana-incl-stripe {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 5px;
    z-index: 6;
    background: repeating-linear-gradient(180deg,
            var(--oshi-pink, #e6007e) 0px, var(--oshi-pink, #e6007e) 8px,
            var(--oshi-black, #000) 8px, var(--oshi-black, #000) 10px,
            var(--oshi-red, #cc0000) 10px, var(--oshi-red, #cc0000) 16px,
            var(--oshi-dark-pink, #800040) 16px, var(--oshi-dark-pink, #800040) 22px,
            var(--oshi-black, #000) 22px, var(--oshi-black, #000) 24px);
    opacity: 0.5;
    transition: opacity 0.4s ease, width 0.4s ease;
}

.jacana-incl-panel:hover .jacana-incl-stripe {
    opacity: 1;
    width: 7px;
}

/* Even panels: stripe on left seam */
.jacana-incl-panel:nth-child(even) .jacana-incl-stripe {
    right: auto;
    left: 0;
}

/* ── Icon ────────────────────────────────────────────────── */
.jacana-incl-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(219, 151, 81, 0.08);
    border: 1px solid rgba(219, 151, 81, 0.18);
    display: grid;
    place-items: center;
    color: var(--jacana-dunes, #db9751);
    margin-bottom: 24px;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1;
}

.jacana-incl-panel:hover .jacana-incl-icon {
    background: var(--jacana-dunes, #db9751);
    border-color: var(--jacana-dunes, #db9751);
    color: #fff;
}

/* ── Title + rule + copy ─────────────────────────────────── */
.jacana-incl-card-title {
    font-family: "Cormorant Garamond", "Palatino Linotype", serif;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--jacana-earth, #2d2416);
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
}

.jacana-incl-card-title-rule {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--jacana-dunes, #db9751), rgba(219, 151, 81, 0.2));
    border-radius: 2px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.jacana-incl-card-copy {
    font-size: 16px;
    line-height: 1.72;
    color: rgba(45, 36, 22, 0.70);
    margin: 0 0 36px;
    max-width: 48ch;
    position: relative;
    z-index: 1;
}

/* ── Inclusions — side-by-side ───────────────────────────── */
.jacana-incl-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
    border-top: 1px solid rgba(45, 36, 22, 0.10);
    padding-top: 28px;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.jacana-incl-list-group {
    display: flex;
    flex-direction: column;
}

.jacana-incl-list-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    margin: 0 0 12px;
}

.jacana-incl-list-label--yes {
    color: var(--jacana-dunes, #db9751);
}

.jacana-incl-list-label--no {
    color: rgba(45, 36, 22, 0.38);
}

.jacana-incl-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.jacana-incl-list li {
    position: relative;
    padding-left: 20px;
    font-size: 13.5px;
    line-height: 1.5;
}

/* Included — dunes dot */
.jacana-incl-list--yes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--jacana-dunes, #db9751);
    opacity: 0.80;
}

.jacana-incl-list--yes li {
    color: rgba(45, 36, 22, 0.80);
}

/* Excluded — en-dash */
.jacana-incl-list--no li::before {
    content: "–";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(45, 36, 22, 0.28);
    font-weight: 300;
}

.jacana-incl-list--no li {
    color: rgba(45, 36, 22, 0.54);
}

/* ── CTA ─────────────────────────────────────────────────── */
.jacana-incl-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
    background: linear-gradient(135deg, var(--jacana-dunes, #db9751), #c07a30);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(192, 122, 48, 0.24);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.3s ease,
        gap 0.3s ease;
    position: relative;
    z-index: 1;
}

.jacana-incl-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(192, 122, 48, 0.36);
    gap: 18px;
    color: #fff !important;
}

.jacana-incl-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.jacana-incl-cta:hover .jacana-incl-arrow {
    transform: translateX(5px);
}

/* ── Panel divider ───────────────────────────────────────── */
.jacana-incl-panel+.jacana-incl-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(219, 151, 81, 0.20), transparent);
    z-index: 10;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {

    .jacana-incl-panel-body,
    .jacana-incl-panel:nth-child(even) .jacana-incl-panel-body {
        padding: 72px 48px;
    }
}

@media (max-width: 900px) {
    .jacana-incl-panel {
        flex-direction: column;
        min-height: unset;
    }

    .jacana-incl-panel-body,
    .jacana-incl-panel:nth-child(even) .jacana-incl-panel-body {
        order: 2;
        flex: none;
        padding: 56px 32px 60px;
    }

    .jacana-incl-panel-cluster,
    .jacana-incl-panel:nth-child(even) .jacana-incl-panel-cluster {
        order: 1;
        flex: none;
        height: 72vw;
        max-height: 520px;
    }

    /* Stripe at bottom on mobile */
    .jacana-incl-stripe,
    .jacana-incl-panel:nth-child(even) .jacana-incl-stripe {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        height: 5px;
        background: repeating-linear-gradient(90deg,
                var(--oshi-pink, #e6007e) 0px, var(--oshi-pink, #e6007e) 7px,
                var(--oshi-black, #000) 7px, var(--oshi-black, #000) 9px,
                var(--oshi-red, #cc0000) 9px, var(--oshi-red, #cc0000) 14px,
                var(--oshi-dark-pink, #800040) 14px, var(--oshi-dark-pink, #800040) 18px,
                var(--oshi-black, #000) 18px, var(--oshi-black, #000) 20px);
    }

    /* Reposition badge to top-left on mobile */
    .jacana-incl-badge,
    .jacana-incl-panel:nth-child(even) .jacana-incl-badge {
        top: 24px;
        left: 24px;
        right: auto;
    }
}

@media (max-width: 640px) {
    .jacana-incl-lists {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jacana-incl-panel-body,
    .jacana-incl-panel:nth-child(even) .jacana-incl-panel-body {
        padding: 48px 24px 52px;
    }

    .jacana-incl-card-num {
        font-size: 100px;
    }
}

@media (max-width: 540px) {
    .jacana-incl-section {
        padding-top: 72px;
    }

    .jacana-incl-inner {
        padding-bottom: 60px;
    }

    .jacana-incl-panel-cluster,
    .jacana-incl-panel:nth-child(even) .jacana-incl-panel-cluster {
        height: 85vw;
    }

    .jacana-incl-img-detail {
        width: 58%;
        border-width: 7px;
    }

    .jacana-incl-img-lifestyle {
        width: 38%;
        border-width: 6px;
    }
}