/* ==========================================================================
   Layout: Success Stories
   Swiper slider — horizontal scroll, cards peek left & right
   ========================================================================== */

/* Wrapper ----------------------------------------------------------------- */

.pb-ss-wrap {
    padding: 100px 0;
}

/* Section ----------------------------------------------------------------- */

.pb-ss {
    overflow: hidden;
}

/* Header ------------------------------------------------------------------ */

.pb-ss__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding: 0 64px;
    margin-bottom: 48px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.pb-ss__header-left {
    max-width: 560px;
}

.pb-ss__label {
font-family: var(--font-family);
font-weight: 500;
font-size: 15px;
line-height: 160%;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--text-invisible);
    margin: 0 0 24px;
}

.pb-ss__heading {
font-family: var(--second-family);
font-weight: 550;
font-size: 36px;
line-height: 128%;
letter-spacing: -0.02em;
background: linear-gradient(169deg, rgba(0, 5, 25, 0.9) 0%, #000519 50%, rgba(0, 5, 25, 0.9) 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
    margin: 0 0 24px;
}

.pb-ss__desc {
font-family: var(--font-family);
font-weight: 500;
font-size: 16px;
line-height: 150%;
letter-spacing: 0.01em;
color: var(--text-base);
    margin: 0;
}

/* Right side: CTA + nav */

.pb-ss__header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    flex-shrink: 0;
}

.pb-ss__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-bold, #0d0d0d);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.pb-ss__cta:hover {
    gap: 10px;
}

/* Nav buttons */

.pb-ss__nav {
    display: flex;
    gap: 8px;
}

.pb-ss__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
border: 1px solid var(--base-border-black);
border-radius: 6px;
width: 56px;
height: 56px;
    background: #fff;
    cursor: pointer;
box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.01), 0 6px 17px 0 rgba(0, 0, 0, 0.01), 0 15px 40px 0 rgba(0, 0, 0, 0.02);
background: var(--base-white);
    flex-shrink: 0;
}

.pb-ss__nav-btn:hover {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.03), 0 24px 32px 0 rgba(0, 0, 0, 0.04);
background: var(--base-bg);
border: 1px solid var(--base-border-black);
}

.pb-ss__nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* Swiper ------------------------------------------------------------------ */

.pb-ss__swiper {
    overflow: visible;
}
.pb-ss__cta-wr{
    text-align: center;
    margin-top: 40px;
}

.pb-ss__slide {
    width: 760px;
    max-width: 90vw;
}

@media (min-width: 1200px) {
    .pb-ss__slide {
        width: 1063px;
    }
}

/* Card -------------------------------------------------------------------- */

.pb-ss__card {
    display: grid;
    grid-template-columns: 395px 1fr;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.01), 0 6px 17px 0 rgba(0, 0, 0, 0.01), 0 15px 40px 0 rgba(0, 0, 0, 0.02);
    background: var(--base-white);
    height: 100%;
    border: 1px solid var(--base-border-black);
    border-radius: 8px;
    padding: 16px 0 16px 16px;
}

/* Photo */

.pb-ss__card-photo {
    position: relative;
    overflow: hidden;
    background: #f0f2f8;
    min-height: 450px;
    border-radius: 8px;
}

.pb-ss__card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Content */

.pb-ss__card-content {
    display: flex;
    flex-direction: column;
    padding: 12px 32px 6px 32px;
}

/* Meta row */

.pb-ss__card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pb-ss__card-meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pb-ss__card-cat,
.pb-ss__card-co {
font-family: var(--font-family);
font-weight: 500;
font-size: 15px;
line-height: 160%;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--text-base);
}

.pb-ss__card-sep {
    color: var(--border-light, #d0d3df);
    font-size: 13px;
}



.pb-ss__card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.pb-ss__card-rating-val {
font-family: var(--second-family);
font-weight: 600;
font-size: 18px;
line-height: 133%;
letter-spacing: 0.01em;
color: var(--base-black);
margin-right: 5px;
}

/* Quote */

.pb-ss__card-quote {
    margin: 0;
    flex: 1;
}

.pb-ss__card-quote-icon {
    display: block;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.pb-ss__card-quote p {
font-family: var(--second-family);
font-weight: 550;
font-size: 26px;
line-height: 131%;
letter-spacing: -0.01em;
color: var(--base-black);
    margin: 0;
    margin: 32px 0 0 0;
}
.pb-ss__card-quote p svg{
    position: relative;
    margin-right: 14px;
    width: 18px;
    height: 14px;
    top: -7px;
}

/* Stats */

.pb-ss__card-stats {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-light, #e8eaf0);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.pb-ss__card-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    padding-right: 16px;
}

.pb-ss__card-stat + .pb-ss__card-stat {

}

.pb-ss__card-stat:last-child {
    padding-right: 0;
}

.pb-ss__card-stat-val {
font-family: var(--second-family);
font-weight: 600;
font-size: 18px;
line-height: 133%;
letter-spacing: 0.01em;
color: var(--base-black);
}

.pb-ss__card-stat-label {
font-family: var(--font-family);
font-weight: 500;
font-size: 16px;
line-height: 150%;
letter-spacing: 0.01em;
color: var(--text-base);
}

/* Footer: author + logo */

.pb-ss__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 4px;
}

.pb-ss__card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pb-ss__card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.pb-ss__card-author-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pb-ss__card-author-name {
font-family: var(--second-family);
font-weight: 600;
font-size: 18px;
line-height: 133%;
letter-spacing: 0.01em;
color: var(--base-black);
}

.pb-ss__card-author-role {
font-family: var(--font-family);
font-weight: 500;
font-size: 14px;
line-height: 157%;
letter-spacing: 0.02em;
color: var(--text-base);
}

.pb-ss__card-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pb-ss__card-logo img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
    .pb-ss__header {
        padding: 0 40px;
    }
}

@media (max-width: 860px) {
    .pb-ss-wrap {
        padding: 56px 0;
    }

    .pb-ss__header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px;
        margin-bottom: 32px;
    }

    .pb-ss__header-right {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .pb-ss__slide {
        width: 88vw;
    }

    .pb-ss__card {
        grid-template-columns: 1fr;
    }

    .pb-ss__card-photo {
        min-height: 220px;
    }
}

@media (max-width: 480px) {
    .pb-ss__card-content {
        padding: 20px 18px 18px;
        gap: 16px;
    }

    .pb-ss__card-quote p {
        font-size: 16px;
    }
}
