/* =========================================================
   TECNICHKOS SERVICE V8.5.2
   Final icon + spacing polish
   ========================================================= */


/* =========================================================
   RETIRE OLD ::BEFORE ICON LAYER
   Actual inline SVG is now used.
   ========================================================= */

body.service-v851
.service-v851-card::before {

    content:
        none !important;

    display:
        none !important;
}


/* =========================================================
   TIGHTER CARD HEIGHT
   ========================================================= */

body.service-v851
.service-v851-grid
.service-v851-card {

    min-height:
        255px !important;

    padding:
        26px 28px 28px !important;
}


/* =========================================================
   SMALLER 01–06 BADGE
   First child is the existing service number.
   ========================================================= */

body.service-v851
.service-v851-card > :first-child {

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        40px !important;

    min-width:
        40px !important;

    height:
        40px !important;

    min-height:
        40px !important;

    padding:
        0 !important;

    margin:
        0 0 auto !important;

    border:
        1px solid
        rgba(255,122,26,.20) !important;

    border-radius:
        12px !important;

    background:
        rgba(255,122,26,.055) !important;

    color:
        #ff6b00 !important;

    font-size:
        11px !important;

    font-weight:
        800 !important;

    line-height:
        1 !important;

    letter-spacing:
        .04em;
}


/* =========================================================
   REAL ICON TILE
   ========================================================= */

body.service-v851
.service-v851-card
.service-v852-icon {

    position:
        absolute !important;

    z-index:
        4 !important;

    top:
        24px !important;

    right:
        24px !important;

    display:
        grid !important;

    place-items:
        center !important;

    width:
        64px !important;

    height:
        64px !important;

    margin:
        0 !important;

    padding:
        0 !important;

    border:
        1px solid
        rgba(255,122,26,.19);

    border-radius:
        18px;

    background:
        linear-gradient(
            145deg,
            #fffaf6,
            #fff3e9
        );

    color:
        #ff7a1a;

    box-shadow:
        0 10px 28px
        rgba(255,122,26,.10);

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        background .28s ease;

    pointer-events:
        none;
}


/* SVG */

body.service-v851
.service-v852-icon svg {

    display:
        block;

    width:
        33px;

    height:
        33px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        1.8;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}


/* =========================================================
   TITLE / SPACING
   ========================================================= */

body.service-v851
.service-v851-card h3 {

    margin:
        24px 0 10px !important;

    max-width:
        78%;

    color:
        #071827 !important;
}


body.service-v851
.service-v851-card h3::before {

    margin-bottom:
        11px !important;
}


/* Description slightly tighter */

body.service-v851
.service-v851-card p {

    line-height:
        1.58 !important;
}


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

@media (hover:hover) {

    body.service-v851
    .service-v851-card:hover
    .service-v852-icon {

        transform:
            translateY(-5px)
            rotate(2deg);

        background:
            #fff7f0;

        box-shadow:
            0 17px 34px
            rgba(255,122,26,.17);
    }
}


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

@media (max-width:980px) {

    body.service-v851
    .service-v851-card {

        min-height:
            245px !important;
    }
}


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

@media (max-width:640px) {

    body.service-v851
    .service-v851-card {

        min-height:
            230px !important;

        padding:
            22px 21px 24px !important;
    }


    body.service-v851
    .service-v851-card
    .service-v852-icon {

        top:
            20px !important;

        right:
            20px !important;

        width:
            56px !important;

        height:
            56px !important;

        border-radius:
            16px;
    }


    body.service-v851
    .service-v852-icon svg {

        width:
            29px;

        height:
            29px;
    }


    body.service-v851
    .service-v851-card h3 {

        margin-top:
            20px !important;
    }
}


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

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

    body.service-v851
    .service-v852-icon {

        transition:
            none !important;
    }
}
