/* =========================================================
   TECNICHKOS SERVICE V8.5.1
   First 6-card Service grid only
   ========================================================= */


/* =========================================================
   GRID
   ========================================================= */

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

    display:
        grid !important;

    grid-template-columns:
        repeat(3,minmax(0,1fr)) !important;

    gap:
        20px !important;
}


/* =========================================================
   CARD
   ========================================================= */

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

    --icon:
        none;

    position:
        relative !important;

    isolation:
        isolate;

    display:
        flex !important;

    flex-direction:
        column !important;

    justify-content:
        flex-end !important;

    min-height:
        285px !important;

    padding:
        28px 30px 30px !important;

    overflow:
        hidden !important;

    border:
        1px solid
        rgba(7,24,39,.095) !important;

    border-radius:
        22px !important;

    background:
        radial-gradient(
            circle at 88% 14%,
            rgba(255,122,26,.08),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #fbfcfd
        ) !important;

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

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


/* =========================================================
   DECORATIVE TECH RINGS
   ========================================================= */

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

    content:
        "";

    position:
        absolute;

    z-index:
        0;

    top:
        -95px;

    right:
        -95px;

    width:
        190px;

    height:
        190px;

    border-radius:
        50%;

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

    box-shadow:
        0 0 0 24px rgba(255,122,26,.025),
        0 0 0 48px rgba(255,122,26,.015);

    pointer-events:
        none;

    transition:
        transform .45s ease;
}


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

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

    content:
        "";

    display:
        block !important;

    position:
        absolute !important;

    z-index:
        2 !important;

    top:
        25px !important;

    right:
        25px !important;

    width:
        66px !important;

    height:
        66px !important;

    opacity:
        1 !important;

    visibility:
        visible !important;

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

    border-radius:
        18px;

    background-color:
        #fff7f0 !important;

    background-image:
        var(--icon) !important;

    background-position:
        center !important;

    background-repeat:
        no-repeat !important;

    background-size:
        33px 33px !important;

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

    transform:
        none !important;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

    pointer-events:
        none;
}


/* =========================================================
   ICON 1 — IT SUPPORT
   ========================================================= */

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

    --icon:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13v-2a8 8 0 0 1 16 0v2'/%3E%3Cpath d='M4 13H3a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h3v-6H4z'/%3E%3Cpath d='M20 13h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-3v-6h2z'/%3E%3Cpath d='M18 19c0 2-2 3-5 3'/%3E%3C/svg%3E");
}


/* =========================================================
   ICON 2 — NETWORK
   ========================================================= */

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

    --icon:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='19' cy='6' r='2'/%3E%3Ccircle cx='19' cy='18' r='2'/%3E%3Cpath d='M7 12h4l2-6h4'/%3E%3Cpath d='M11 12l2 6h4'/%3E%3C/svg%3E");
}


/* =========================================================
   ICON 3 — CCTV
   ========================================================= */

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

    --icon:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h13l3 4H6z'/%3E%3Cpath d='M16 7l2-3h3'/%3E%3Cpath d='M8 11l-2 4'/%3E%3Cpath d='M6 15h5'/%3E%3C/svg%3E");
}


/* =========================================================
   ICON 4 — UPGRADE
   ========================================================= */

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

    --icon:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3Cpath d='M9 12l3-3 3 3'/%3E%3Cpath d='M12 9v7'/%3E%3C/svg%3E");
}


/* =========================================================
   ICON 5 — PREVENTIVE
   ========================================================= */

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

    --icon:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.6-2.7 8.1-7 10-4.3-1.9-7-5.4-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}


/* =========================================================
   ICON 6 — TECH SUPPORT
   ========================================================= */

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

    --icon:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5 5L4 17l3 3 5.7-5.7a4 4 0 0 0 5-5l-2.4 2.4-3-3z'/%3E%3C/svg%3E");
}


/* =========================================================
   CONTENT
   ========================================================= */

body.service-v851
.service-v851-card > * {

    position:
        relative;

    z-index:
        3;
}


/* Number */

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

    margin-bottom:
        auto;
}


/* Title */

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

    max-width:
        78%;

    margin:
        40px 0 12px !important;

    color:
        #071827 !important;

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

    line-height:
        1.16;
}


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

    content:
        "";

    display:
        block;

    width:
        34px;

    height:
        3px;

    margin-bottom:
        14px;

    border-radius:
        999px;

    background:
        #ff7a1a;
}


/* Description */

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

    margin:
        0 !important;

    color:
        #627181 !important;

    font-size:
        16px;

    line-height:
        1.65;
}


/* Number styling */

body.service-v851
.service-v851-card small,

body.service-v851
.service-v851-card .number,

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

    color:
        #ff7a1a !important;

    font-weight:
        800 !important;
}


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

@media (hover:hover) {

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

        transform:
            translateY(-7px);

        border-color:
            rgba(255,122,26,.28) !important;

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


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

        transform:
            translateY(-4px)
            rotate(2deg) !important;

        box-shadow:
            0 16px 32px
            rgba(255,122,26,.15);
    }


    body.service-v851
    .service-v851-card:hover::after {

        transform:
            scale(1.08);
    }
}


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

@media (max-width:980px) {

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

        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;
    }
}


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

@media (max-width:640px) {

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

        grid-template-columns:
            1fr !important;

        gap:
            15px !important;
    }


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

        min-height:
            260px !important;

        padding:
            24px 22px 25px !important;

        border-radius:
            18px !important;
    }


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

        width:
            58px !important;

        height:
            58px !important;

        top:
            21px !important;

        right:
            21px !important;

        background-size:
            29px 29px !important;
    }
}


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

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

    body.service-v851
    .service-v851-card,

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

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

        transition:
            none !important;
    }
}
