/* =========================================================
   PROCESS CONTROL INSTRUMENTS — HERO
   ========================================================= */

.pci-hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--navbar-height);
    overflow: hidden;
    background: var(--navy);
}

.pci-hero .container,
.pci-hero .row {
    min-height: calc(100vh - var(--navbar-height));
}

.pci-hero .container {
    position: relative;
    z-index: 3;
}

.pci-hero .row {
    padding: 85px 0 65px;
}

.pci-hero-media {
    position: absolute;
    inset: var(--navbar-height) 0 0;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: 1fr 1fr;
}

.pci-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pci-hero-media img:first-child {
    grid-row: 1 / 3;
}

.pci-hero-overlay {
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 9, 34, 0.98), rgba(7, 9, 34, 0.9) 45%, rgba(7, 9, 34, 0.32)),
        linear-gradient(0deg, rgba(7, 9, 34, 0.6), transparent);
}

.pci-hero-content {
    position: relative;
    z-index: 4;
}

.pci-hero .kicker {
    color: var(--cyan);
}

.pci-hero h1 {
    max-width: 900px;
    margin-bottom: 25px;
    color: var(--white);
    font-size: clamp(3.2rem, 6.5vw, 6.6rem);
    line-height: 0.97;
}

.pci-hero p {
    max-width: 730px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
}

.pci-hero .btn-cyan,
.pci-integration .btn-cyan {
    background: var(--cyan);
}

/* =========================================================
   OVERVIEW
   ========================================================= */

.pci-overview,
.pci-products {
    background: var(--white);
}

.pci-overview .kicker,
.pci-products .kicker {
    color: var(--cyan-dark);
}

.pci-overview h2 {
    margin-bottom: 22px;
}

.pci-overview p {
    font-size: 0.97rem;
}

.pci-overview-panel {
    display: grid;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pci-overview-panel span {
    display: flex;
    min-height: 135px;
    padding: 25px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--off-white);
    color: var(--navy);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    flex-direction: column;
    justify-content: center;
    gap: 13px;
}

.pci-overview-panel i {
    color: var(--cyan-dark);
    font-size: 1.8rem;
}

/* =========================================================
   PRODUCT CARDS
   ========================================================= */

.pci-products {
    border-top: 1px solid var(--line);
}

.pci-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
}

.pci-product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 5px solid var(--yellow);
    border-radius: 3px;
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.pci-product-card:nth-child(even) {
    border-top-color: var(--cyan);
}

.pci-product-image {
    position: relative;
    height: 410px;
    padding: 20px;
    overflow: hidden;
    background: #f1f4f8;
}

.pci-product-image img {
    width: 100%;
    height: 100%;
    background: var(--white);
    object-fit: contain;
    transition: transform 0.45s ease;
}

.pci-product-card:hover .pci-product-image img {
    transform: scale(1.025);
}

.pci-product-image span {
    position: absolute;
    top: 34px;
    right: 34px;
    display: grid;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--cyan);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    place-items: center;
}

.pci-product-body {
    padding: 32px;
}

.pci-product-body small {
    display: block;
    margin-bottom: 9px;
    color: var(--cyan-dark);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pci-product-body h3 {
    margin-bottom: 15px;
    color: var(--navy);
    font-size: 1.8rem;
}

.pci-product-body p {
    min-height: 86px;
    color: var(--muted);
    font-size: 0.92rem;
}

.pci-product-body dl {
    margin: 24px 0 0;
    border-top: 1px solid var(--line);
}

.pci-product-body dl div {
    display: grid;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 16px;
}

.pci-product-body dt,
.pci-product-body dd {
    margin: 0;
    font-size: 0.85rem;
}

.pci-product-body dt {
    color: var(--navy);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-weight: 600;
}

.pci-product-body dd {
    color: var(--muted);
}

/* =========================================================
   INTEGRATION CTA
   ========================================================= */

.pci-integration {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(6, 199, 232, 0.14), transparent 30%),
        var(--navy);
}

.pci-integration .kicker {
    color: var(--yellow);
}

.pci-integration h2 {
    margin-bottom: 21px;
    color: var(--white);
}

.pci-integration p {
    color: rgba(255, 255, 255, 0.69);
}

.pci-integration-image {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 4px solid var(--cyan);
    background: rgba(255, 255, 255, 0.05);
}

.pci-integration-image img {
    width: 100%;
    height: 430px;
    background: var(--white);
    object-fit: contain;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {
    .pci-hero {
        min-height: 760px;
    }

    .pci-hero .container,
    .pci-hero .row {
        min-height: 760px;
    }

    .pci-product-image {
        height: 330px;
    }
}

@media (max-width: 767.98px) {
    .pci-hero {
        min-height: auto;
    }

    .pci-hero .container,
    .pci-hero .row {
        min-height: auto;
    }

    .pci-hero .row {
        padding: 105px 0 85px;
    }

    .pci-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.4rem);
    }

    .pci-hero-media {
        display: block;
    }

    .pci-hero-media img {
        display: none;
    }

    .pci-hero-media img:first-child {
        display: block;
        width: 100%;
        height: 100%;
    }

    .pci-hero-overlay {
        background: rgba(7, 9, 34, 0.88);
    }

    .pci-product-grid {
        grid-template-columns: 1fr;
    }

    .pci-product-body p {
        min-height: auto;
    }

    .pci-integration-image img {
        height: 340px;
    }
}

@media (max-width: 479.98px) {
    .pci-overview-panel {
        grid-template-columns: 1fr;
    }

    .pci-overview-panel span {
        min-height: 105px;
    }

    .pci-product-image {
        height: 285px;
        padding: 13px;
    }

    .pci-product-body {
        padding: 25px 20px;
    }

    .pci-product-body dl div {
        grid-template-columns: 95px minmax(0, 1fr);
    }

    .pci-integration-image img {
        height: 280px;
    }
}
