/* =========================================================
   BEYOND ORDINARY SAFARIS
   HOW TO BOOK FLOATING GUIDE
   ========================================================= */

#bosBookingGuide {
    position: relative;
    z-index: 99990;
}


/* =========================================================
   FLOATING BUTTON
   ========================================================= */

#bosBookingGuideButton {
    position: fixed;

    right: 0;
    top: 50%;

    transform: translateY(-50%);

    width: 52px;
    min-height: 170px;

    border: none;
    border-radius: 12px 0 0 12px;

    background: #2f5d3a;
    color: #ffffff;

    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);

    transition:
        width 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;

    z-index: 99999;
}


#bosBookingGuideButton:hover {
    width: 62px;

    background: #244a2e;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}


.bos-guide-icon {
    font-size: 18px;
    line-height: 1;
}


.bos-guide-text {
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    writing-mode: vertical-rl;
    transform: rotate(180deg);

    white-space: nowrap;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.bos-guide-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 99998;
}


.bos-guide-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   PANEL
   ========================================================= */

.bos-guide-panel {
    position: fixed;

    top: 0;
    right: 0;

    width: min(470px, 92vw);
    height: 100vh;

    background: #ffffff;

    transform: translateX(100%);

    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);

    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);

    overflow-y: auto;

    z-index: 100000;

    display: flex;
    flex-direction: column;
}


.bos-guide-panel.active {
    transform: translateX(0);
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.bos-guide-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    color: #ffffff;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    z-index: 5;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.bos-guide-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}


/* =========================================================
   HEADER
   ========================================================= */

.bos-guide-header {
    padding: 55px 38px 35px;

    background:
        linear-gradient(
            135deg,
            #2f5d3a,
            #1f432a
        );

    color: #ffffff;
}


.bos-guide-eyebrow {
    margin-bottom: 12px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;

    opacity: 0.75;
}


.bos-guide-header h2 {
    margin: 0 0 14px;

    font-size: 30px;
    line-height: 1.15;

    font-weight: 700;
}


.bos-guide-header p {
    margin: 0;

    font-size: 14px;
    line-height: 1.7;

    opacity: 0.9;
}


/* =========================================================
   STEPS
   ========================================================= */

.bos-guide-steps {
    padding: 30px 35px 10px;
}


.bos-guide-step {
    display: flex;

    gap: 18px;

    position: relative;

    padding-bottom: 28px;
}


.bos-guide-step:not(:last-child)::after {
    content: "";

    position: absolute;

    left: 19px;
    top: 42px;

    width: 1px;
    height: calc(100% - 28px);

    background: #d9dfd9;
}


.bos-step-number {
    position: relative;

    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #b8954a;
    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    z-index: 2;
}


.bos-step-content {
    flex: 1;
}


.bos-step-content h3 {
    margin: 2px 0 7px;

    color: #263d2c;

    font-size: 16px;
    font-weight: 700;
}


.bos-step-content p {
    margin: 0;

    color: #667066;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER / CTA
   ========================================================= */

.bos-guide-footer {
    margin-top: auto;

    padding: 25px 35px 30px;

    border-top: 1px solid #eeeeee;

    background: #fafbf9;
}


.bos-guide-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 15px 18px;

    border-radius: 8px;

    background: #2f5d3a;
    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.bos-guide-cta:hover {
    background: #244a2e;

    transform: translateY(-2px);
}


.bos-guide-cta span {
    font-size: 20px;
}


.bos-guide-footer p {
    margin: 12px 0 0;

    text-align: center;

    color: #888888;

    font-size: 11px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    #bosBookingGuideButton {
        top: auto;
        bottom: 90px;

        right: 15px;

        width: 52px;
        min-height: 52px;

        border-radius: 50%;

        box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.22);
    }


    #bosBookingGuideButton:hover {
        width: 52px;
    }


    .bos-guide-text {
        display: none;
    }


    .bos-guide-icon {
        font-size: 20px;
    }


    .bos-guide-panel {
        width: 100%;
    }


    .bos-guide-header {
        padding: 50px 25px 30px;
    }


    .bos-guide-header h2 {
        font-size: 26px;
    }


    .bos-guide-steps {
        padding: 25px 22px 10px;
    }


    .bos-guide-footer {
        padding: 20px 22px 25px;
    }

}