/* ==========================================================================
   Layout: Integrations Cards
   ========================================================================== */

.pb-ic {
    padding: 100px 16px;
}

.pb-ic__inner {
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

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

.pb-ic__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pb-ic__label {
font-family: var(--font-family);
font-weight: 500;
font-size: 15px;
line-height: 160%;
letter-spacing: 0.05em;
text-transform: uppercase;
text-align: center;
color: var(--text-invisible);
    margin: 0;
}
.pb-ic__card-back{
    border-radius: 9px;
    background-color: var(--base-white);
    width: 156px;
    height: 156px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pb-ic__heading {
font-family: var(--second-family);
font-weight: 550;
font-size: 36px;
line-height: 128%;
letter-spacing: -0.02em;
text-align: center;
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-ic__desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 165%;
    color: var(--gray-600, #8a9199);
    margin: 0;
}

/* Cards grid -------------------------------------------------------------- */

.pb-ic__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    
}

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

.pb-ic__card {
    padding: 12px;
    display: flex;
    flex-direction: column;
    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;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pb-ic__card:hover {
    border-color: transparent;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* Image area */

.pb-ic__card-image {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-25);
    border-radius: 8px;
    padding: 24px;
    transition: background 0.25s ease;
    overflow: hidden;
}

.pb-ic__card:hover .pb-ic__card-image {
    background: linear-gradient(180deg, var(--gray-25) 40%, var(--card-color, var(--gray-25)) 300%);
}

.pb-ic__card-image img {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Body */

.pb-ic__card-body {
    padding: 16px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pb-ic__card-head {
font-family: var(--second-family);
font-weight: 600;
font-size: 20px;
line-height: 140%;
color: var(--text-bold);
    margin: 0;
    /* when it's an <a> */
    display: inline-flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    transition: gap 0.2s ease;
}

a.pb-ic__card-head:hover {
    gap: 6px;
}

.pb-ic__card-arrow {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    position: relative;
    top: 2px;
}

.pb-ic__card:hover .pb-ic__card-arrow {
    opacity: 1;
    transform: translateX(10px);
    color: var(--card-color, currentColor);

}

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

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

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

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

    .pb-ic__heading {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .pb-ic__cards {
        grid-template-columns: 1fr;
    }

    .pb-ic__heading {
        font-size: 26px;
    }
}
