/* ==========================================================================
   Layout: Problems Cols
   ========================================================================== */

.pb-pc {
    padding: 100px 16px 150px 16px;
}

.pb-pc__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

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

.pb-pc__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

}

.pb-pc__header-left {
    flex: 0 0 50%;
}

.pb-pc__header-right {
    flex: 0 0 44%;
}

.pb-pc__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;
}

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

/* Grid -------------------------------------------------------------------- */

.pb-pc__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 24px;
}

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

.pb-pc__card {
    display: flex;
    flex-direction: column;
    align-self: start;
}

.pb-pc__card-body {
    padding: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

/* Icon + title in one row */
.pb-pc__card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pb-pc__card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.pb-pc__card-icon img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

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

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

/* Accordion --------------------------------------------------------------- */

.pb-pc__accordion {
    border-radius: 12px;
    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);
    border: 1px solid var(--base-border-black);
    border-radius: 8px;
    padding: 20px;
    overflow: hidden;
}

.pb-pc__accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    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-pc__accordion-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-base, #61647A);
    transition: color 0.25s ease;
    font-size: 15px;
font-style: normal;
font-weight: 500;
line-height: 24px; /* 160% */
letter-spacing: 0.75px;
text-transform: uppercase;
}

/* Icon swap: both icons overlap, fade/scale between them */
.pb-pc__accordion-icon {
    flex-shrink: 0;
    position: relative;
    width: 20px;
    height: 20px;
}

.pb-pc__icon-plus,
.pb-pc__icon-minus {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.pb-pc__icon-plus {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.pb-pc__icon-minus {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
}

/* Active state */
.pb-pc__card.is-open .pb-pc__accordion-label {
    color: #1B5DF8;
}

.pb-pc__card.is-open .pb-pc__icon-plus {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
}

.pb-pc__card.is-open .pb-pc__icon-minus {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Accordion body */
.pb-pc__accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.pb-pc__accordion-body p {
    padding: 12px 0 0 0;
font-size: 16px;
font-style: normal;
font-weight: 450;
line-height: 24px; /* 150% */
letter-spacing: 0.16px;
color: var(--text-bold, #121733);
    margin: 0;
}

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

@media (max-width: 1024px) {
    .pb-pc__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pb-pc {
        padding: 56px 16px;
    }

    .pb-pc__header {
        flex-direction: column;
        gap: 20px;
    }

    .pb-pc__header-left,
    .pb-pc__header-right {
        flex: none;
    }

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

    .pb-pc__heading {
        font-size: 28px;
        line-height: 129%;
        letter-spacing: -0.02em;
        margin-bottom: 16px;
    }

    .pb-pc__description {
        font-size: 14px;
        line-height: 157%;
        letter-spacing: 0.02em;
    }

    .pb-pc__inner {
        gap: 32px;
    }

    .pb-pc__header {
        gap: 0;
    }

    .pb-pc__card-title {
        font-size: 16px;
        line-height: 150%;
        letter-spacing: 0.01em;
    }

    .pb-pc__card-desc {
        font-size: 14px;
        line-height: 157%;
        letter-spacing: 0.02em;
    }

    .pb-pc__accordion {
        padding: 16px;
        font-size: 14px;
        line-height: 129%;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .pb-pc__accordion-body p {
        font-size: 14px;
        line-height: 157%;
        letter-spacing: 0.02em;
        text-transform: none;
    }

}