/* ==============================================
   Services Showcase — Merged & Clean
   ============================================== */



/* Two-column wrapper */
.ssp-wrap {

    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 64px;
    align-items: start;
}

/* ================================
   LEFT: accordion entries
   ================================ */
.ssp-left {
    display: flex;
    flex-direction: column;
}



/* ---- Tab header row ---- */
.ssp-tab {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    padding: 20px 0 20px 38px;
    cursor: pointer;
    outline: none;
    user-select: none;
}

/* Dot */
.ssp-dot {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ssp-inactive, #555);
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

/* Title */
.ssp-title {
    font-size: 42px;
    font-weight: 400;
    color: #746D6D;
    line-height: 1.2;
    transition: color 0.25s ease, font-size 0.25s ease, font-weight 0.25s ease;
}

/* Hover on inactive */
.ssp-entry:not(.ssp-entry--active) .ssp-tab:hover .ssp-dot {
    background: rgba(255,255,255,0.38);
}
.ssp-entry:not(.ssp-entry--active) .ssp-tab:hover .ssp-title {
    color: rgba(255,255,255,0.55);
}

/* ---- Active state ---- */
.ssp-entry--active .ssp-dot {
    background: var(--ssp-accent, #f5c518);
    transform: translateY(-50%) scale(1.15);
}
.ssp-entry--active .ssp-title {
    color: var(--ssp-text, #ffffff);
}

/* ---- Collapsible panel ---- */
.ssp-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s ease;
    overflow: hidden;
}

.ssp-panel-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 0 0 38px;
}

/* Open state */
.ssp-entry--active .ssp-panel {
    grid-template-rows: 1fr;
}

.ssp-entry--active .ssp-panel-inner {
    padding-bottom: 38px;
}

/* Description text */
.ssp-panel-inner p {
    color: var(--ssp-text, #ffffff);
    opacity: 1;
    font-size: 18px;
    line-height: 1.78;
    margin: 0 0 22px;
}
.ssp-panel-inner p:last-of-type {
    margin-bottom: 0;
}

/* CTA Button */
.ssp-cta {
    display: inline-block;
    margin-top: 32px;
    padding: 13px 30px !important;
    font-size: 16px;
    border-radius: 122px;
    border-width: 2px;
    border-color: #F7B61C;
    border-style: solid;
    background: #F7B61C;
    color: #0A0A0A !important;
    text-decoration: none;
    transition: all 0.3s ease;
}
.ssp-cta:hover {
    background: transparent !important;
    color: #fff !important;
    text-decoration: none;
}

/* Mobile image (hidden on desktop) */
.ssp-panel-img-mobile {
    display: none;
    margin-top: 18px;
}
.ssp-panel-img-mobile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* ================================
   RIGHT: image column
   ================================ */
.ssp-right {
    position: sticky;
    top: 80px;
}

.ssp-img-frame {
    display: none;
    border-radius: 14px;
    overflow: hidden;
}

.ssp-img-frame--active {
    display: block;
    animation: ssp-imgfade 0.4s ease both;
}

@keyframes ssp-imgfade {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1);    }
}

.ssp-img-frame img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.ssp-img-empty {
    width: 100%;
    height: 320px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    border: 1px dashed rgba(255,255,255,0.1);
}

/* ================================
   MOBILE
   ================================ */
@media (max-width: 780px) {


    .ssp-wrap {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .ssp-right {
        display: none;
    }

    /* ── Tab strip ───────────────────────────────────────── */
    .ssp-tab-strip {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        border-bottom: 1px solid rgba(255,255,255,0.09);
        padding: 0 16px;
        background: #151515 !important;
        position: sticky;
        top: 0;
        z-index: 10;
        gap: 0;
    }
    .ssp-tab-strip::-webkit-scrollbar { display: none; }

    /* Each button: stacked number + label */
    .ssp-strip-btn {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding: 12px 16px 11px;
        background: none !important;
        border: none;
        border-bottom: 2px solid transparent;
        margin-bottom: -1px;
        cursor: pointer;
        white-space: nowrap;
        font-family: inherit;
        scroll-snap-align: start;
        outline: none;
        transition: border-color 0.22s ease;
    }

    .ssp-strip-num {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.1em;
        color: rgba(255,255,255,0.2);
        transition: color 0.22s ease;
        line-height: 1;
    }

    .ssp-strip-label {
        font-size: 20px;
        font-weight: 500;
        color: rgba(255,255,255,0.35);
        transition: color 0.22s ease;
        line-height: 1.2;
    }

    /* Active */
    .ssp-strip-btn--active {
        border-bottom-color: var(--ssp-accent, #F7B61C);
    }
    .ssp-strip-btn--active .ssp-strip-num {
        color: var(--ssp-accent, #F7B61C);
    }
    .ssp-strip-btn--active .ssp-strip-label {
        color: var(--ssp-text, #ffffff);
        font-weight: 600;
    }

    /* Hover on inactive */
    .ssp-strip-btn:not(.ssp-strip-btn--active):hover .ssp-strip-label {
        color: rgba(255,255,255,0.6);
    }

    /* ── Hide original desktop tab rows ─────────────────── */
    .ssp-tab {
        display: none;
    }

    /* ── Entries: remove vertical borders ───────────────── */
    .ssp-entry,
    .ssp-entry:last-child {
        border: none !important;
    }

    /* ── Panels: instant show/hide, no grid animation ───── */
    .ssp-panel {
        display: none !important;
        grid-template-rows: unset !important;
        transition: none !important;
    }
    .ssp-entry--active .ssp-panel {
        display: block !important;
    }
    .ssp-entry--active .ssp-panel-inner {
        padding: 24px 20px 32px;
        overflow: visible;
    }

    /* ── Mobile inline image ─────────────────────────────── */
    .ssp-panel-img-mobile {
        display: block;
        margin-top: 20px;
    }
    .ssp-panel-img-mobile img {
        width: 100%;
        height: 210px;
        object-fit: cover;
        border-radius: 10px;
        display: block;
    }

}