/* =========================================================
   TECNICHKOS TECHNOLOGY V8.2
   DE / EN / SQ / SR
   Reuses Homepage image slots 29-34
   ========================================================= */


/* =========================================================
   MAIN SERVICE CARD GRID
   ========================================================= */

body.technology-v82
.page-hero + .section
.cards {

    gap:
        22px;
}


body.technology-v82
.page-hero + .section
.card {

    position:
        relative;

    min-height:
        420px;

    padding:
        226px 34px 32px !important;

    overflow:
        hidden;

    border:
        1px solid
        rgba(12,36,54,.09);

    border-radius:
        22px;

    background:
        #ffffff;

    box-shadow:
        0 12px 38px
        rgba(7,24,39,.055);

    transition:
        transform .23s ease,
        box-shadow .23s ease,
        border-color .23s ease;
}


/* =========================================================
   REMOVE OLD 01-06 NUMBER LABELS
   ========================================================= */

body.technology-v82
.page-hero + .section
.card .card-number {

    display:
        none !important;
}


body.technology-v82
.page-hero + .section
.card [class*="card-number"] {

    display:
        none !important;
}


/* =========================================================
   PHOTO AREA
   ========================================================= */

body.technology-v82
.page-hero + .section
.card::before {

    content:
        "";

    position:
        absolute;

    z-index:
        0;

    top:
        0;

    left:
        0;

    right:
        0;

    height:
        205px;

    opacity:
        1;

    border-radius:
        21px 21px 0 0;

    background-size:
        cover;

    background-position:
        center;

    background-repeat:
        no-repeat;

    transition:
        transform .45s ease,
        filter .28s ease;

    pointer-events:
        none;
}


/* =========================================================
   IMAGE -> CONTENT FADE
   ========================================================= */

body.technology-v82
.page-hero + .section
.card::after {

    content:
        "";

    position:
        absolute;

    z-index:
        1;

    left:
        0;

    right:
        0;

    top:
        158px;

    height:
        58px;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0),
            #ffffff 92%
        );

    pointer-events:
        none;
}


/* Actual text stays above image/fade */

body.technology-v82
.page-hero + .section
.card > * {

    position:
        relative;

    z-index:
        2;
}


/* =========================================================
   SLOT 29
   IT INFRASTRUCTURE
   ========================================================= */

body.technology-v82
.page-hero + .section
.card:nth-child(1)::before {

    background-image:
        var(
            --technology-slot-29
        );
}


/* =========================================================
   SLOT 30
   CCTV
   ========================================================= */

body.technology-v82
.page-hero + .section
.card:nth-child(2)::before {

    background-image:
        var(
            --technology-slot-30
        );
}


/* =========================================================
   SLOT 31
   NETWORKING
   ========================================================= */

body.technology-v82
.page-hero + .section
.card:nth-child(3)::before {

    background-image:
        var(
            --technology-slot-31
        );
}


/* =========================================================
   SLOT 32
   AUDIO VIDEO SMART
   ========================================================= */

body.technology-v82
.page-hero + .section
.card:nth-child(4)::before {

    background-image:
        var(
            --technology-slot-32
        );
}


/* =========================================================
   SLOT 33
   LOW VOLTAGE
   ========================================================= */

body.technology-v82
.page-hero + .section
.card:nth-child(5)::before {

    background-image:
        var(
            --technology-slot-33
        );
}


/* =========================================================
   SLOT 34
   SERVICE / MAINTENANCE
   ========================================================= */

body.technology-v82
.page-hero + .section
.card:nth-child(6)::before {

    background-image:
        var(
            --technology-slot-34
        );
}


/* =========================================================
   SMALL ORANGE ACCENT
   ========================================================= */

body.technology-v82
.page-hero + .section
.card h3 {

    margin-top:
        0;

    font-size:
        clamp(
            21px,
            1.7vw,
            25px
        );
}


body.technology-v82
.page-hero + .section
.card h3::before {

    content:
        "";

    display:
        block;

    width:
        34px;

    height:
        3px;

    margin-bottom:
        14px;

    border-radius:
        999px;

    background:
        #f47a20;
}


body.technology-v82
.page-hero + .section
.card p {

    color:
        #627181;

    line-height:
        1.68;
}


/* =========================================================
   HOVER
   ========================================================= */

@media (hover:hover) {

    body.technology-v82
    .page-hero + .section
    .card:hover {

        transform:
            translateY(-7px);

        border-color:
            rgba(244,122,32,.24);

        box-shadow:
            0 28px 65px
            rgba(7,24,39,.13);
    }


    body.technology-v82
    .page-hero + .section
    .card:hover::before {

        transform:
            scale(1.045);

        filter:
            saturate(1.05)
            brightness(1.025);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    body.technology-v82
    .page-hero + .section
    .card {

        min-height:
            390px;

        padding:
            210px 27px 28px !important;
    }


    body.technology-v82
    .page-hero + .section
    .card::before {

        height:
            188px;
    }


    body.technology-v82
    .page-hero + .section
    .card::after {

        top:
            143px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    body.technology-v82
    .page-hero + .section
    .cards {

        gap:
            17px;
    }


    body.technology-v82
    .page-hero + .section
    .card {

        min-height:
            365px;

        padding:
            203px 23px 26px !important;

        border-radius:
            18px;
    }


    body.technology-v82
    .page-hero + .section
    .card::before {

        height:
            182px;

        border-radius:
            17px 17px 0 0;
    }


    body.technology-v82
    .page-hero + .section
    .card::after {

        top:
            137px;

        height:
            52px;
    }


    body.technology-v82
    .page-hero + .section
    .card h3 {

        font-size:
            21px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    body.technology-v82
    .page-hero + .section
    .card,

    body.technology-v82
    .page-hero + .section
    .card::before {

        transition:
            none !important;
    }
}


/* =========================================================
   TECHNOLOGY V8.2.1
   Explicit photo-card targeting
   ========================================================= */

body.technology-v82 .technology-photo-card {
    position: relative !important;
    overflow: hidden !important;

    min-height: 420px !important;

    padding:
        226px 34px 32px !important;

    background:
        #ffffff !important;
}


body.technology-v82 .technology-photo-card::before {
    content: "" !important;

    display: block !important;

    position: absolute !important;

    z-index: 0 !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: 205px !important;

    opacity: 1 !important;

    background-size:
        cover !important;

    background-position:
        center !important;

    background-repeat:
        no-repeat !important;

    border-radius:
        21px 21px 0 0 !important;

    transition:
        transform .45s ease,
        filter .28s ease !important;
}


body.technology-v82
.technology-photo-card:nth-child(1)::before {
    background-image:
        var(--technology-slot-29) !important;
}


body.technology-v82
.technology-photo-card:nth-child(2)::before {
    background-image:
        var(--technology-slot-30) !important;
}


body.technology-v82
.technology-photo-card:nth-child(3)::before {
    background-image:
        var(--technology-slot-31) !important;
}


body.technology-v82
.technology-photo-card:nth-child(4)::before {
    background-image:
        var(--technology-slot-32) !important;
}


body.technology-v82
.technology-photo-card:nth-child(5)::before {
    background-image:
        var(--technology-slot-33) !important;
}


body.technology-v82
.technology-photo-card:nth-child(6)::before {
    background-image:
        var(--technology-slot-34) !important;
}


body.technology-v82 .technology-photo-card::after {
    content: "" !important;

    position: absolute !important;

    z-index: 1 !important;

    left: 0 !important;
    right: 0 !important;

    top: 160px !important;

    height: 55px !important;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0),
            #ffffff 92%
        ) !important;

    pointer-events:
        none;
}


body.technology-v82
.technology-photo-card > * {
    position: relative;
    z-index: 2;
}


/* remove numbers */

body.technology-v82
.technology-photo-card
.card-number,

body.technology-v82
.technology-photo-card
[class*="number"] {
    display: none !important;
}


@media (hover:hover) {

    body.technology-v82
    .technology-photo-card:hover::before {

        transform:
            scale(1.045);

        filter:
            brightness(1.04)
            saturate(1.07);
    }
}


@media (max-width: 680px) {

    body.technology-v82
    .technology-photo-card {

        min-height:
            365px !important;

        padding:
            203px 23px 26px !important;
    }


    body.technology-v82
    .technology-photo-card::before {

        height:
            182px !important;
    }


    body.technology-v82
    .technology-photo-card::after {

        top:
            140px !important;
    }
}
