/* =========================================================
   PLCSEA ENGINEERING CTA
   ========================================================= */


/* =========================
   MAIN CTA BOX
========================= */

.engineering-cta {

    position: relative;

    display: flex;
    align-items: center;

    min-height: 220px;
    height: 220px;

    margin: 60px 0 0;

    overflow: hidden;

    isolation: isolate;

    border-radius: 16px;

    border: 1px solid rgba(0,102,255,.18);

    background:
        linear-gradient(
            120deg,
            #f8fcff 0%,
            #edf6ff 100%
        );
}


/* =========================
   WAVE VISUAL
========================= */


.engineering-cta__visual {
    position: absolute;

    left: -1px;
    bottom: -32px;

    width: 65%;
    height: 120%;

    overflow: hidden;
    pointer-events: none;

    z-index: 0;
}

.engineering-cta__visual img {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: fill;
    object-position: left bottom;

    margin: 0;
    padding: 0;
}


/* =========================
   ICON
========================= */


.engineering-cta__icon {

    position: absolute;

    left: 180px;
    top: 35px;


    width: 110px;
    height: 110px;
    font-size:32px;

    display: flex;

    align-items:center;
    justify-content:center;


    background: transparent;


    border:2px solid rgba(0,102,255,.22);


    clip-path:
    polygon(
        25% 6%,
        75% 6%,
        100% 50%,
        75% 94%,
        25% 94%,
        0 50%
    );


    color:#006cff;

    z-index:2;
}


.engineering-cta__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}



/* =========================
   CIRCUIT PATTERN
========================= */

.engineering-cta__circuit {
    position: absolute;

    left: 350px;
    top: 25px;

    width: 290px;
    height: 125px;

    z-index: 1;
    opacity: .38;
    pointer-events: none;

    background:
        linear-gradient(30deg, transparent 24%, rgba(47,140,255,.12) 25%, rgba(47,140,255,.12) 26%, transparent 27%) 170px 8px / 34px 60px no-repeat,
        linear-gradient(150deg, transparent 24%, rgba(47,140,255,.12) 25%, rgba(47,140,255,.12) 26%, transparent 27%) 170px 8px / 34px 60px no-repeat,
        linear-gradient(30deg, transparent 24%, rgba(47,140,255,.08) 25%, rgba(47,140,255,.08) 26%, transparent 27%) 205px 24px / 30px 52px no-repeat,
        linear-gradient(150deg, transparent 24%, rgba(47,140,255,.08) 25%, rgba(47,140,255,.08) 26%, transparent 27%) 205px 24px / 30px 52px no-repeat,
        linear-gradient(90deg, #2f8cff, #72b8ff) 0 20px / 78px 1px no-repeat,
        linear-gradient(135deg, transparent 47%, #5da9ff 48%, #5da9ff 52%, transparent 53%) 76px 20px / 28px 28px no-repeat,
        linear-gradient(90deg, #72b8ff, #a9d5ff) 98px 39px / 76px 1px no-repeat,
        linear-gradient(90deg, #2f8cff, #72b8ff) 12px 55px / 102px 1px no-repeat,
        linear-gradient(45deg, transparent 47%, #5da9ff 48%, #5da9ff 52%, transparent 53%) 112px 42px / 26px 26px no-repeat,
        linear-gradient(90deg, #72b8ff, #a9d5ff) 132px 55px / 112px 1px no-repeat,
        linear-gradient(90deg, #2f8cff, #72b8ff) 0 88px / 125px 1px no-repeat,
        linear-gradient(135deg, transparent 47%, #5da9ff 48%, #5da9ff 52%, transparent 53%) 123px 76px / 26px 26px no-repeat,
        linear-gradient(90deg, #72b8ff, #a9d5ff) 144px 94px / 72px 1px no-repeat,
        linear-gradient(90deg, rgba(47,140,255,.7), rgba(114,184,255,.35)) 38px 112px / 86px 1px no-repeat,
        radial-gradient(circle, #2f8cff 0 2.3px, transparent 2.8px) 74px 17px / 7px 7px no-repeat,
        radial-gradient(circle, #5da9ff 0 2px, transparent 2.5px) 170px 36px / 6px 6px no-repeat,
        radial-gradient(circle, #2f8cff 0 2.3px, transparent 2.8px) 110px 52px / 7px 7px no-repeat,
        radial-gradient(circle, #73b9ff 0 2px, transparent 2.5px) 241px 52px / 6px 6px no-repeat,
        radial-gradient(circle, #2f8cff 0 2.3px, transparent 2.8px) 122px 85px / 7px 7px no-repeat,
        radial-gradient(circle, #8bc7ff 0 2px, transparent 2.5px) 213px 91px / 6px 6px no-repeat,
        radial-gradient(circle at 56% 48%, rgba(48,145,255,.16), transparent 42%);
}

.engineering-cta__circuit::before,
.engineering-cta__circuit::after {
    content: "";
    position: absolute;

    width: 48px;
    height: 42px;

    border: 1px solid rgba(47, 140, 255, .22);

    clip-path: polygon(
        25% 0,
        75% 0,
        100% 50%,
        75% 100%,
        25% 100%,
        0 50%
    );

    pointer-events: none;
}

.engineering-cta__hexagons {
    position: absolute;

    left: 520px;
    top: 35px;

    width: 180px;
    height: 100px;

    z-index: 1;
    pointer-events: none;

    opacity: .28;
}

.engineering-cta__hexagons span {
    position: absolute;

    width: 54px;
    height: 48px;

    background: rgba(65, 153, 255, .55);

    clip-path: polygon(
        25% 0,
        75% 0,
        100% 50%,
        75% 100%,
        25% 100%,
        0 50%
    );
}

.engineering-cta__hexagons span::after {
    content: "";
    position: absolute;

    inset: 1px;

    background: #f2f8ff;

    clip-path: inherit;
}

.engineering-cta__hexagons span:nth-child(1) {
    left: 0;
    top: 4px;
}

.engineering-cta__hexagons span:nth-child(2) {
    left: 46px;
    top: 27px;

    transform: scale(.82);
}

.engineering-cta__hexagons span:nth-child(3) {
    left: 87px;
    top: 7px;

    transform: scale(.64);
    opacity: .65;
}


/* =========================
   CONTENT POLISH
========================= */

.engineering-cta__content {
    position: relative;
    z-index: 2;

    width: 45%;
    margin-left: auto;

    padding: 20px 66px 18px 35px;

    text-align: right;
}


.engineering-cta__eyebrow {
    display: block;

    margin-bottom: 11px;

    color: #0874e8;

    font-size: 12px;
    line-height: 1.4;

    font-weight: 750;

    letter-spacing: .075em;
}


.engineering-cta h2 {
    margin: 0 0 9px;

    color: #06244f;

    font-size: 25px;
    line-height: 1.48;

    font-weight: 800;

    letter-spacing: -.015em;
}


.engineering-cta p {
    max-width: 500px;

    margin: 0 0 9px;

    color: #58708c;

    font-size: 11.5px;
    line-height: 1.9;

    font-weight: 450;
}


/* =========================
   CTA ACTIONS POLISH
========================= */

.engineering-cta__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 10px;
}


.engineering-cta__button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 174px;
    height: 38px;

    padding: 0 21px;

    border-radius: 8px;

    font-size: 12px;
    line-height: 1;

    font-weight: 750;

    text-decoration: none;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}


.engineering-cta__button--primary {
    border: 1px solid #086ce1;

    background:
        linear-gradient(
            135deg,
            #0876ef 0%,
            #075cc9 100%
        );

    color: #fff;

    box-shadow:
        0 6px 16px rgba(7, 91, 200, .15);
}


.engineering-cta__button--primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 9px 20px rgba(206, 223, 244, 0.22);
}


.engineering-cta__button--outline {
    border: 1px solid rgba(0, 100, 220, .5);

    background: rgba(255, 255, 255, .72);

    color: #0868d5;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .55);
}


.engineering-cta__button--outline:hover {
    transform: translateY(-2px);

    border-color: #0874e8;

    background: #fff;

    box-shadow:
        0 6px 16px rgba(8, 116, 232, .09);
}


.engineering-cta__button:focus-visible {
    outline: 3px solid rgba(8, 116, 232, .22);
    outline-offset: 3px;
}

.engineering-cta__button--primary:hover,
.engineering-cta__button--primary:focus {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #086fe0 0%,
            #064fae 100%
        );

    border-color: #064fae;

    transform: translateY(-2px);

    box-shadow:
        0 9px 20px rgba(7, 91, 200, .22);
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:1024px){

    .engineering-cta__visual {
        width:65%;
    }

    .engineering-cta__content {
        width:50%;
        padding:30px;
    }

}


@media(max-width:767px){

    .engineering-cta {
        min-height: 0;
        height: auto;

        margin-top: 40px;

        align-items: stretch;

        overflow: hidden;
    }

    .engineering-cta__visual {
        left: 0;
        bottom: 0;

        width: 100%;
        height: 100%;

        opacity: .18;
    }

    .engineering-cta__visual img {
        object-fit: cover;
        object-position: left bottom;
    }

    .engineering-cta__content {
        width: 100%;

        margin: 0;

        padding: 28px 18px 22px;

        box-sizing: border-box;

        text-align: center;
    }

    .engineering-cta__eyebrow {
        margin-bottom: 8px;
    }

    .engineering-cta h2 {
        margin-bottom: 10px;

        font-size: clamp(1.35rem, 6vw, 1.65rem);
        line-height: 1.55;
    }

    .engineering-cta p {
        max-width: 34rem;

        margin: 0 auto 16px;

        font-size: 11px;
        line-height: 1.95;
    }

    .engineering-cta__icon,
    .engineering-cta__circuit,
    .engineering-cta__hexagons {
        display: none;
    }

    .engineering-cta__actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;

        gap: 9px;
    }

    .engineering-cta__button {
        width: 100%;
        min-width: 0;
        height: 42px;

        box-sizing: border-box;
    }

}
