/* =========================================================
   ECU TUNING SERVICES
   ========================================================= */

.ecu-services {

    position: relative;

    padding: 120px 20px 125px;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(239,17,17,.07),
            transparent 32%
        ),
        #05050d;

    overflow: hidden;

}


/* =========================================================
   Background Detail
   ========================================================= */

.ecu-services::before {

    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -220px;
    top: 25%;

    border-radius: 50%;

    background: rgba(239,17,17,.035);

    filter: blur(90px);

    pointer-events: none;

}


.ecu-services::after {

    content: "";

    position: absolute;

    right: -250px;
    bottom: -180px;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(239,17,17,.025);

    filter: blur(100px);

    pointer-events: none;

}


/* =========================================================
   Container
   ========================================================= */

.ecu-services-inner {

    position: relative;

    z-index: 2;

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

}


/* =========================================================
   Header
   ========================================================= */

.ecu-services-header {

    max-width: 760px;

    margin: 0 auto 65px;

    text-align: center;

}


.ecu-services-eyebrow {

    display: inline-block;

    margin-bottom: 18px;

    color: #ef1111;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

}


.ecu-services-header h2 {

    margin: 0;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 48px);

    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -.5px;

}


.ecu-services-header h2 span {

    color: #ef1111;

}


.ecu-services-header p {

    max-width: 680px;

    margin: 22px auto 0;

    color: rgba(255,255,255,.58);

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   Grid
   ========================================================= */

.ecu-services-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border: 1px solid rgba(255,255,255,.10);

    background: rgba(255,255,255,.015);

}


/* =========================================================
   Card
   ========================================================= */

.ecu-service-card {

    position: relative;

    min-height: 330px;

    padding: 32px 30px 28px;

    display: flex;

    flex-direction: column;

    border-right: 1px solid rgba(255,255,255,.10);

    background: rgba(255,255,255,.015);

    transition:
        background .3s ease,
        transform .3s ease;

}


.ecu-service-card:last-child {

    border-right: 0;

}


.ecu-service-card:hover {

    background: rgba(255,255,255,.045);

}


/* =========================================================
   Number
   ========================================================= */

.ecu-service-number {

    position: absolute;

    top: 24px;
    right: 26px;

    color: #ef1111;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1px;

    opacity: .9;

}


/* =========================================================
   Icon
   ========================================================= */

.ecu-service-icon {

    width: 54px;
    height: 54px;

    margin-bottom: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(239,17,17,.35);

    border-radius: 50%;

    background: rgba(239,17,17,.06);

}


.ecu-service-icon span {

    width: 18px;
    height: 18px;

    display: block;

    border: 2px solid #ef1111;

    border-radius: 3px;

    position: relative;

}


.ecu-service-icon span::before {

    content: "";

    position: absolute;

    left: 3px;
    right: 3px;

    top: 5px;

    height: 2px;

    background: #ef1111;

}


.ecu-service-icon span::after {

    content: "";

    position: absolute;

    left: 3px;
    right: 3px;

    bottom: 4px;

    height: 2px;

    background: #ef1111;

}


/* =========================================================
   Content
   ========================================================= */

.ecu-service-content {

    flex: 1;

}


.ecu-service-content h3 {

    margin: 0 0 14px;

    color: #ffffff;

    font-size: 20px;

    font-weight: 600;

    line-height: 1.3;

}


.ecu-service-content p {

    margin: 0;

    color: rgba(255,255,255,.52);

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   Card Link
   ========================================================= */

.ecu-service-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 25px;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        color .2s ease,
        gap .2s ease;

}


.ecu-service-link span {

    color: #ef1111;

    font-size: 18px;

    line-height: 1;

}


.ecu-service-link:hover {

    color: #ef1111;

    gap: 14px;

}


/* =========================================================
   Bottom Action
   ========================================================= */

.ecu-services-action {

    display: flex;

    justify-content: center;

    margin-top: 48px;

}


.ecu-services-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 15px 26px;

    color: #ef1111;

    background: #ffffff;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;

}


.ecu-services-button span {

    font-size: 18px;

}


.ecu-services-button:hover {

    color: #ffffff;

    background: #ef1111;

    transform: translateY(-2px);

}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1000px) {

    .ecu-services-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .ecu-service-card:nth-child(2) {

        border-right: 0;

    }


    .ecu-service-card:nth-child(-n+2) {

        border-bottom: 1px solid rgba(255,255,255,.10);

    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

    .ecu-services {

        padding: 90px 15px 95px;

    }


    .ecu-services-inner {

        width: 100%;

    }


    .ecu-services-header {

        margin-bottom: 45px;

    }


    .ecu-services-header h2 {

        font-size: 32px;

    }


    .ecu-services-header p {

        font-size: 14px;

    }


    .ecu-services-grid {

        grid-template-columns: 1fr;

    }


    .ecu-service-card {

        min-height: auto;

        border-right: 0;

        border-bottom: 1px solid rgba(255,255,255,.10);

    }


    .ecu-service-card:nth-child(2) {

        border-right: 0;

    }


    .ecu-service-card:last-child {

        border-bottom: 0;

    }

}