/* =========================================================
   DEVSID.IN — WHAT WE DO
   ========================================================= */

.services-section {
    position: relative;

    padding: 150px 0 130px;

    background: #111111;

    color: #ffffff;
}


.services-container {
    width: min(1240px, calc(100% - 80px));

    margin: 0 auto;
}


/* =========================================================
   SECTION LABEL
   ========================================================= */

.services-section-label {
    display: flex;

    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom: 1px solid #303030;

    color: #777777;

    font-family: "DM Mono", monospace;
    font-size: 9px;

    letter-spacing: .04em;
    text-transform: uppercase;
}

.services-section-label b {
    color: #ff914d;
    font-weight: 400;
}


/* =========================================================
   INTRO
   ========================================================= */

.services-intro {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    padding: 75px 0 110px;
}


.services-intro h2 {
    margin: 0;

    font-family: "Manrope", sans-serif;

    font-size: clamp(55px, 5.2vw, 78px);

    font-weight: 700;

    line-height: .94;

    letter-spacing: -.075em;
}

.services-intro h2 span {
    background: linear-gradient(
        45deg,
        #ff914d 0%,
        #a02d37 50%,
        #383838 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


.services-intro-copy {
    max-width: 500px;

    padding-top: 15px;
}


.services-intro-copy p {
    margin: 0 0 28px;

    color: #aaa;

    font-family: "Manrope", sans-serif;

    font-size: 15px;

    line-height: 1.65;

    letter-spacing: -.015em;
}

.services-intro-copy p:first-child {
    color: #eeeeee;

    font-size: 20px;

    line-height: 1.4;

    letter-spacing: -.035em;
}


/* =========================================================
   SERVICES LIST
   ========================================================= */

.services-list {
    border-top: 1px solid #303030;
}


.service-row {
    position: relative;

    display: grid;

    grid-template-columns:
        70px
        minmax(280px, 1fr)
        minmax(260px, 400px)
        40px;

    align-items: center;

    gap: 30px;

    min-height: 125px;

    padding: 25px 0;

    border-bottom: 1px solid #303030;

    color: #ffffff;

    text-decoration: none;

    transition:
        padding .4s cubic-bezier(.22,1,.36,1),
        background .3s ease;
}


.service-row::before {
    content: "";

    position: absolute;

    left: -20px;
    right: -20px;
    top: 0;
    bottom: 0;

    background: #191919;

    opacity: 0;

    z-index: 0;

    transition: opacity .3s ease;
}


.service-row > * {
    position: relative;

    z-index: 1;
}


/* =========================================================
   NUMBER
   ========================================================= */

.service-number {
    color: #666666;

    font-family: "DM Mono", monospace;

    font-size: 10px;
}


/* =========================================================
   NAME
   ========================================================= */

.service-name {
    font-family: "Manrope", sans-serif;

    font-size: clamp(28px, 3vw, 43px);

    font-weight: 600;

    letter-spacing: -.055em;

    transition:
        color .3s ease,
        transform .4s cubic-bezier(.22,1,.36,1);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.service-description {
    color: #777777;

    font-family: "Manrope", sans-serif;

    font-size: 12px;

    line-height: 1.55;

    max-width: 370px;

    transition: color .3s ease;
}


/* =========================================================
   ARROW
   ========================================================= */

.service-arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 1px solid #3a3a3a;

    color: #ffffff;

    font-size: 16px;

    transition:
        background .3s ease,
        border-color .3s ease,
        color .3s ease,
        transform .4s cubic-bezier(.22,1,.36,1);
}


/* =========================================================
   HOVER
   ========================================================= */

.service-row:hover {
    padding-left: 20px;
    padding-right: 20px;
}

.service-row:hover::before {
    opacity: 1;
}

.service-row:hover .service-name {
    background: linear-gradient(
        45deg,
        #ff914d 0%,
        #a02d37 50%,
        #383838 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    transform: translateX(5px);
}

.service-row:hover .service-description {
    color: #aaaaaa;
}

.service-row:hover .service-arrow {
    background: #ff914d;

    border-color: #ff914d;

    color: #111111;

    transform: rotate(45deg);
}


/* =========================================================
   BOTTOM
   ========================================================= */

.services-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding-top: 55px;
}


.services-bottom span {
    color: #666666;

    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: .06em;
}


.services-bottom p {
    margin: 0;

    color: #888888;

    font-family: "DM Mono", monospace;

    font-size: 9px;

    text-transform: uppercase;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .services-intro {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 55px 0 75px;
    }


    .service-row {
        grid-template-columns:
            45px
            1fr
            35px;

        gap: 15px;

        min-height: 105px;
    }


    .service-description {
        display: none;
    }


    .service-name {
        font-size: 30px;
    }


    .services-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

}


@media (max-width: 600px) {

    .services-section {
        padding: 100px 0 90px;
    }


    .services-container {
        width: calc(100% - 30px);
    }


    .services-section-label span:last-child {
        display: none;
    }


    .services-intro h2 {
        font-size: 48px;
    }


    .services-intro-copy p:first-child {
        font-size: 18px;
    }


    .service-row {
        grid-template-columns:
            35px
            1fr
            30px;

        min-height: 95px;

        padding: 20px 0;
    }


    .service-name {
        font-size: 25px;
    }


    .service-number {
        font-size: 8px;
    }


    .service-arrow {
        width: 29px;
        height: 29px;

        font-size: 13px;
    }

}

.services-section .service-row {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.22,1,.36,1),
        padding .4s cubic-bezier(.22,1,.36,1);
}

.services-section.is-visible .service-row {
    opacity: 1;
    transform: translateY(0);
}