/* ==========================================================================
   Layout: Industries Tabs
   ========================================================================== */

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

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

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

.pb-it__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 80px;
    align-items: end;
    margin-bottom: 60px;
}

.pb-it__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 16px 0;
}

.pb-it__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-it__intro {
font-family: var(--font-family);
font-weight: 500;
font-size: 16px;
line-height: 150%;
letter-spacing: 0.01em;
color: var(--text-base);
    margin: 0;
}

/* Tabs nav ---------------------------------------------------------------- */

.pb-it__tabs-wrap {
    margin-bottom: 16px;
}

.pb-it__tabs {
    display: flex;
    flex-wrap: wrap;
    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: 8px;
    gap: 16px;
}


.pb-it__tab {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
    color: var(--text-base);
    background: transparent;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
    outline: none;
    flex: 1 0 auto;
    position: relative;
    border-radius: 2px;
}
.pb-it__tabs .pb-it__tab:after{
    content: '';
    display: block;
    height: calc(100% - 18px);
    width: 1px;
    background-color: var(--base-border-black);
    position: absolute;
    top: 9px;
    right: -9px;
}
.pb-it__tab:hover {
    color: var(--base-black, #121733);
}
.pb-it__tab:hover,
.pb-it__tab.is-active {
font-family: var(--second-family);
font-weight: 600;
font-size: 16px;
line-height: 150%;
letter-spacing: 0.01em;
color: var(--brand-blue-500);
background: var(--brand-blue-50);
}

/* Panels ------------------------------------------------------------------ */

.pb-it__panels {
    position: relative;
    overflow: hidden;
    
}

.pb-it__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    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: 48px;
}

.pb-it__panel.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

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

.pb-it__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    gap: 25px;
}

.pb-it__card-left {
    display: flex;
    flex-direction: column;
}

.pb-it__card-icon {
    border: 1px solid var(--base-border-blue);
    border-radius: 6px;
    padding: 16px;
    width: 64px;
    height: 64px;
    background: var(--brand-blue-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    flex-shrink: 0;
}

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

.pb-it__card-heading {
font-family: var(--second-family);
font-weight: 550;
font-size: 26px;
line-height: 131%;
letter-spacing: -0.01em;
color: var(--text-bold);
    margin: 0 0 16px 0;
}

.pb-it__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 0 24px 0;
    flex-grow: 1;
    padding-right: 50px;
}

.pb-it__card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
font-family: var(--second-family);
font-weight: 550;
font-size: 16px;
line-height: 150%;
color: var(--brand-blue-500);
    text-decoration: none;
    transition: gap 0.2s ease;
}
.pb-it__top{
    display: flex;
    align-items: center;
    gap: 12px;
}
.pb-it__card-link:hover {
    gap: 10px;
}

.pb-it__card-right {
    overflow: hidden;
    border-radius: 8px;
    max-width: 579px;
    height: 366px;
}

.pb-it__card-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mini features ----------------------------------------------------------- */

.pb-it__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 60px;
}

.pb-it__feat {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pb-it__feat-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0px;
    flex-shrink: 0;
}

.pb-it__feat-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pb-it__feat-head {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 133%;
    letter-spacing: 0.01em;
    color: var(--text-bold);
    margin: 0;
}

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

/* CTA --------------------------------------------------------------------- */

.pb-it__cta {
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

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

@media (max-width: 1024px) {
    .pb-it__card-left {
        padding: 36px 32px;
    }

    .pb-it__feat {
        padding: 24px;
    }
}

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

    .pb-it__inner {
        gap: 32px;
    }

    .pb-it__header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .pb-it__tabs {
        flex-wrap: nowrap;
    }

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

    .pb-it__card-right {
        height: 240px;
        order: -1;
    }

    .pb-it__card-left {
        padding: 28px 24px;
    }

    .pb-it__features {
        grid-template-columns: 1fr;
        border-radius: 0 0 12px 12px;
    }

    .pb-it__feat {
        border-right: none;
        border-bottom: 1px solid var(--gray-150, #f0f0f3);
        padding: 20px 24px;
    }

    .pb-it__feat:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .pb-it__heading {
        font-size: 26px;
    }

    .pb-it__card-left {
        padding: 24px 20px;
    }
}
