/* ==========================================================================
   Layout: Features Timer  (.pb-ft)
   Left accordion with progress bars, right sticky image panel.
   ========================================================================== */

.pb-ft {
    padding: 100px 0 150px 0;
}
@media(max-width:1320px){
    .pb-ft {
    padding: 100px 16px 150px 16px;
}
}

/* ── Inner grid ───────────────────────────────────────────────────────────── */

.pb-ft__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 109px;
    align-items: start;
}

/* ── Left ─────────────────────────────────────────────────────────────────── */

.pb-ft__label {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-700);
    display: block;
    margin-bottom: 40px;
}

.pb-ft__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 40px;
}

.pb-ft__items {
    display: flex;
    flex-direction: column;
}

/* ── Divider ──────────────────────────────────────────────────────────────── */

.pb-ft__divider {}

/* ── Item ─────────────────────────────────────────────────────────────────── */

.pb-ft__item {
    cursor: pointer;
    outline: none;
    padding: 0;
    position: relative;
    padding: 32px 0;
}

.pb-ft__item:focus-visible .pb-ft__item-title {
    text-decoration: underline;
}

/* Progress bar track */
.pb-ft__progress {
    height: 1px;
    background: rgba(18, 23, 51, 0.07);
    overflow: hidden;
    position: relative;
    top: -32px;
}

/* Progress bar fill */
.pb-ft__progress-bar {
    height: 100%;
    width: 0;
    background: var(--brand-blue-500, #2b5ce6);
    transform-origin: left;
}

.pb-ft__item.is-active .pb-ft__progress-bar {
    animation: ft-progress var(--ft-duration, 20s) linear forwards;
}

@keyframes ft-progress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Item head */
.pb-ft__item-head {}

.pb-ft__item-title {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 133%;
    letter-spacing: 0.01em;
    color: var(--v2-black-transparent--30);
    transition: color 0.25s ease;
    margin: 0;
}

.pb-ft__item.is-active .pb-ft__item-title {
    color: var(--color-dark, #121733);
}

/* Item body (description) — hidden when inactive */
.pb-ft__item-body {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    padding-top: 0;
    transition: grid-template-rows 0.35s ease, opacity 0.35s ease, padding-top 0.35s ease;
}

/* Inner element must allow collapse to zero */
.pb-ft__item-body > .pb-ft__item-desc {
    overflow: hidden;
    min-height: 0;
}

.pb-ft__item.is-active .pb-ft__item-body {
    grid-template-rows: 1fr;
    opacity: 1;
    padding-top: 12px;
}

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

/* ── Right ────────────────────────────────────────────────────────────────── */

.pb-ft__right {
    position: sticky;
    top: 100px;
}

.pb-ft__medias {
    border-radius: 10px;
    overflow: hidden;
}

.pb-ft__medias video {
    display: block;
    width: 100%;
}

/* Video element inside the per-item stack inherits .pb-ft__img layout */
video.pb-ft__img {
    display: block;
}

.pb-ft__images {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #f3f5fd 0%, #e6efff 100%);
    border-radius: 10px;
    overflow: hidden;
    height: 620px;
}

.pb-ft__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.45s ease, filter 0.45s ease;
    pointer-events: none;
}

.pb-ft__img.is-active {
    opacity: 1;
    filter: blur(0);
}

/* ── Image position modifier ──────────────────────────────────────────────── */

.pb-ft--img-left .pb-ft__right {
    order: -1;
}

/* ── Item inline image (mobile only) ─────────────────────────────────────── */

.pb-ft__item-image {
    display: none; /* прихований на десктопі та неактивних */
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 991px) {
    .pb-ft__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pb-ft__right {
        position: static;
        order: -1;
    }

    .pb-ft__images {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    /* Ховаємо правий блок — зображення тепер всередині кожного item */
    .pb-ft__right {
        display: none;
    }

    /* Зображення під активним item */
    .pb-ft__item.is-active .pb-ft__item-image {
        display: block;
        margin-top: 16px;
        border-radius: 8px;
        overflow: hidden;
    }

    .pb-ft__item-image img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
    .pb-ft__label{
        font-size: 12px;
line-height: 133%;
letter-spacing: 0.05em;
margin-bottom: 24px;

    }
    .pb-ft__heading{
        font-size: 28px;
line-height: 129%;
letter-spacing: -0.02em;
margin-bottom: 24px;
    }
    .pb-ft__item{
padding: 24px 0;
    }
    .pb-ft__item-title{
        font-size: 16px;
line-height: 150%;
letter-spacing: 0.01em;
margin-bottom: 12px;
    }
    .pb-ft__item-desc{
        font-size: 14px;
line-height: 157%;
letter-spacing: 0.02em;
    }

}

@media (max-width: 575px) {
    .pb-ft {
        padding: 60px 0;
    }
}

/* Container override */
.pb-ft .container {
    max-width: 1280px;
    padding-left: 0;
    padding-right: 0;
}
@media(max-width:1340px){
    .pb-da {

  padding-left: 16px;
    padding-right: 16px;

}