.tc-services-page {
    overflow: hidden;
    background: #f6f8fc;
}

.tc-services-hero {
    min-height: 646px;
    padding: 0 0 45px;
    background: #030509;
    color: #fff;
}

.tc-services-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 30px;
    align-items: center;
    padding-top: 122px;
}

.tc-services-hero-copy {
    position: relative;
    z-index: 2;
    animation: tcFadeUp 0.75s ease both;
}

.tc-page-crumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1498ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tc-page-crumbs a,
.tc-page-crumbs span {
    color: #1498ff;
}

.tc-services-hero-copy h1 {
    margin: 29px 0 0;
    color: #fff;
    font-size: 64px;
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: 0;
}

.tc-services-hero-copy h1 strong,
.tc-services-section-head h2 strong {
    color: #167dff;
    font-weight: 900;
}

.tc-services-hero-copy p {
    margin: 25px 0 0;
    max-width: 520px;
    color: rgba(236, 242, 250, 0.88);
    font-size: 17px;
    line-height: 1.75;
}

.tc-services-hero-art {
    position: absolute;
    top: 122px;
    right: -24px;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    width: min(1000px, 78vw);
    pointer-events: none;
}

.tc-services-hero-art img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, #000 11%, #000 100%),
        linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(90deg, transparent 0%, #000 11%, #000 100%),
        linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
    mask-composite: intersect;
    animation: tcFloat 6.4s ease-in-out infinite;
}

.tc-services-list {
    background: #fff;
}

.tc-services-list {
    padding: 64px 0 56px;
}

.tc-services-section-head {
    /* display: grid; */
    grid-template-columns: 1fr 410px;
    gap: 80px;
    align-items: end;
}

.tc-services-section-head h2,
.tc-services-process-copy h2,
.tc-engagement h2,
.tc-services-cta h2 {
    margin: 14px 0 0;
    color: #070b12;
    font-size: 36px;
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: 0;
}

.tc-services-section-head p {
    margin: 0;
    color: #4d5868;
    font-size: 15px;
    line-height: 1.72;
}

.tc-service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 45px;
}

.tc-service-tile {
    position: relative;
    min-height: 205px;
    display: grid;
    grid-template-columns: 74px 1fr 28px;
    grid-template-rows: auto 1fr;
    column-gap: 22px;
    align-items: start;
    padding: 39px 32px 28px;
    border: 1px solid #e4eaf2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(35, 52, 82, 0.08);
    transition:
        box-shadow 0.24s ease,
        transform 0.24s ease,
        border-color 0.24s ease;
}

.tc-service-tile:hover {
    transform: translateY(-7px);
    border-color: rgba(22, 125, 255, 0.34);
    box-shadow: 0 25px 62px rgba(35, 52, 82, 0.14);
}

.tc-service-tile > div {
    grid-column: 1;
    grid-row: span 2;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f4ff;
    color: #075dff;
    font-size: 29px;
}

.tc-service-tile h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 3px 0 0;
    color: #0b1220;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
}

.tc-service-tile p {
    grid-column: 2;
    grid-row: 2;
    margin: 13px 0 0;
    color: #4d5868;
    font-size: 14px;
    line-height: 1.72;
}

.tc-service-tile a {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: end;
    justify-self: end;
    color: #0b1220;
    font-size: 20px;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.tc-service-tile a:hover {
    color: #075dff;
    transform: translateX(4px);
}

.tc-services-process,
.tc-engagement,
.tc-services-cta {
    background: #f6f8fc;
}

.tc-services-process {
    padding: 58px 0 52px;
}

.tc-services-process-grid {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 65px;
    align-items: center;
}

.tc-services-process-copy p {
    margin: 23px 0 0;
    color: #4d5868;
    font-size: 15px;
    line-height: 1.72;
}

.tc-process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.tc-process-timeline::before {
    content: "";
    position: absolute;
    top: 43px;
    right: 75px;
    left: 75px;
    height: 2px;
    background-image: linear-gradient(90deg, #167dff 50%, transparent 0);
    background-size: 12px 2px;
    opacity: 0.8;
}

.tc-process-timeline article {
    position: relative;
    z-index: 1;
    text-align: center;
}

.tc-process-timeline article > div {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccd9f3;
    border-radius: 50%;
    background: #fff;
    color: #075dff;
    font-size: 32px;
    box-shadow: 0 15px 32px rgba(36, 57, 99, 0.08);
}

.tc-process-timeline strong {
    display: block;
    margin-top: 18px;
    color: #0b1220;
    font-size: 15px;
}

.tc-process-timeline h3 {
    margin: 8px 0 0;
    color: #0b1220;
    font-size: 15px;
    font-weight: 900;
}

.tc-process-timeline p {
    margin: 12px auto 0;
    max-width: 130px;
    color: #4d5868;
    font-size: 12px;
    line-height: 1.55;
}

.tc-engagement {
    padding: 55px 0 50px;
}

.tc-engagement-grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 55px;
    align-items: center;
}

.tc-engagement-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.tc-engagement-list article {
    grid-template-columns: 66px 1fr;
    gap: 18px;
    min-height: 112px;
    padding: 12px 27px;
}

.tc-engagement-list article + article {
    border-left: 1px solid #d8e0ec;
}

.tc-engagement-list article > div {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #075dff;
    font-size: 27px;
    box-shadow: 0 15px 34px rgba(35, 52, 82, 0.08);
}

.tc-engagement-list h3 {
    margin: 1px 0 0;
    color: #0b1220;
    font-size: 17px;
    font-weight: 900;
    margin-top: 20px;
}

.tc-engagement-list p {
    margin: 10px 0 0;
    color: #4d5868;
    font-size: 13px;
    line-height: 1.62;
}

.tc-services-cta {
    padding: 0 0 48px;
}

.tc-services-cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    min-height: 178px;
    padding: 34px 47px;
    border-radius: 8px;
    background:
        linear-gradient(
            120deg,
            rgba(5, 10, 19, 0) 0%,
            rgba(5, 10, 19, 0) 57%,
            rgba(0, 90, 255, 0.2) 57%,
            rgba(0, 90, 255, 0) 100%
        ),
        #03070d;
    color: #fff;
    box-shadow: 0 21px 58px rgba(6, 15, 30, 0.17);
}

.tc-services-cta h2 {
    margin: 0;
    color: #fff;
    font-size: 32px;
}

.tc-services-cta p {
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
}

.tc-services-cta-card > div:last-child {
    display: flex;
    gap: 28px;
}

.tc-services-section-head,
.tc-service-tile,
.tc-services-process-grid,
.tc-process-timeline article,
.tc-engagement-grid,
.tc-engagement-list article,
.tc-services-cta-card {
    animation: tcFadeUp 0.72s ease both;
}

@media (max-width: 1180px) {
    .tc-services-hero-grid,
    .tc-services-section-head,
    .tc-services-process-grid,
    .tc-engagement-grid,
    .tc-services-cta-card {
        grid-template-columns: 1fr;
    }

    .tc-services-hero-art {
        position: static;
        justify-content: center;
        width: auto;
    }

    .tc-services-hero-art img {
        width: min(100%, 780px);
        margin-right: 0;
    }

    .tc-service-card-grid,
    .tc-engagement-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .tc-process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .tc-process-timeline::before {
        display: none;
    }

    .tc-engagement-list article + article {
        border-left: 0;
    }

    .tc-engagement-list article:nth-child(even) {
        border-left: 1px solid #d8e0ec;
    }

    .tc-services-cta-card > div:last-child {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .tc-services-hero {
        position: relative;
        min-height: auto;
        overflow: hidden;
        padding-bottom: 78px;
    }

    .tc-services-hero-grid {
        display: block;
        padding-top: 104px;
    }

    .tc-services-hero-copy {
        position: relative;
        z-index: 2;
    }

    .tc-services-hero-copy h1 {
        font-size: 40px;
        line-height: 1.08;
    }

    .tc-services-hero-copy p {
        margin-top: 18px;
        font-size: 15px;
    }

    .tc-services-hero-art {
        position: absolute;
        top: auto;
        right: -58px;
        bottom: -10px;
        z-index: 1;
        display: block;
        width: min(82vw, 335px);
        opacity: 0.5;
    }

    .tc-services-hero-art img {
        width: 100%;
    }

    .tc-services-list,
    .tc-services-process,
    .tc-engagement {
        padding-top: 42px;
        padding-bottom: 40px;
    }

    .tc-services-section-head h2,
    .tc-services-process-copy h2,
    .tc-engagement h2,
    .tc-services-cta h2 {
        font-size: 30px;
    }

    .tc-service-card-grid,
    .tc-process-timeline,
    .tc-engagement-list {
        grid-template-columns: 1fr;
    }

    .tc-service-tile {
        grid-template-columns: 58px 1fr 24px;
        gap: 17px;
        padding: 26px 21px 23px;
    }

    .tc-service-tile > div {
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

    .tc-process-timeline article {
        padding: 0 18px 24px;
    }

    .tc-process-timeline p {
        max-width: 260px;
    }

    .tc-engagement-list article,
    .tc-engagement-list article:nth-child(even) {
        border-left: 0;
    }

    .tc-engagement-list article {
        text-align: center;
    }

    .tc-engagement-list article > div {
        margin: 0 auto;
    }

    .tc-engagement-list article + article {
        border-top: 1px solid #d8e0ec;
    }

    .tc-services-cta-card {
        padding: 26px 22px;
    }

    .tc-services-cta-card > div:last-child {
        flex-direction: column;
        gap: 14px;
    }
}
