/* =========================================================
   01. HERO
   ========================================================= */

.services-hero {
    position: relative;
    height: 720px;
    overflow: hidden;
    background: #ffffff;
}


/* BACKGROUND
   ========================================================= */

.services-hero-background {
    position: absolute;
    z-index: 0;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;
}

.services-hero-background img {
    display: block;

    width: 100%;
    height: auto;
}


/* CONTAINER
   ========================================================= */

.services-hero-container {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    height: 720px;
}


/* CONTENT
   ========================================================= */

.services-hero-content {
    width: 100%;
    max-width: 500px;
}

.services-hero-eyebrow {
    display: block;

    margin-bottom: 20px;

    color: var(--jf-blue);

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.services-hero-title {
    margin: 0 0 28px;

    color: var(--jf-navy);

    font-size: 43px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.services-hero-title strong {
    color: var(--jf-blue);
    font-weight: 700;
}

.services-hero-description {
    max-width: 430px;

    margin: 0 0 30px;

    color: #39495f;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}


/* BUTTON
   ========================================================= */

.services-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    min-height: 50px;
    padding: 0 26px;

    border: 1px solid var(--jf-blue);
    border-radius: 5px;

    background: var(--jf-blue);
    color: #ffffff;

    box-shadow: 0 10px 24px rgba(0, 84, 214, 0.14);

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    transition:
        background-color var(--jf-transition),
        border-color var(--jf-transition),
        transform var(--jf-transition);
}

.services-hero-button:hover {
    border-color: var(--jf-blue-hover);
    background: var(--jf-blue-hover);

    transform: translateY(-2px);
}

.services-hero-button svg {
    transition: transform var(--jf-transition);
}

.services-hero-button:hover svg {
    transform: translateX(4px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) and (min-width: 768px) {

    .services-hero {
        height: 640px;
    }

    .services-hero-container {
        height: 640px;
    }

    .services-hero-content {
        max-width: 410px;
    }

    .services-hero-title {
        font-size: 36px;
    }

    .services-hero-description {
        max-width: 370px;

        font-size: 13px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .services-hero {
        height: 920px;
    }

    .services-hero-background {
        height: 100%;
    }

    .services-hero-background img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center top;
    }

    .services-hero-container {
        display: block;

        height: 920px;

        padding-top: 40px;
        padding-bottom: 440px;
    }

    .services-hero-content {
        width: 100%;
        max-width: 100%;
    }

    .services-hero-eyebrow {
        margin-bottom: 14px;

        font-size: 10px;
    }

    .services-hero-title {
        max-width: 350px;

        margin-bottom: 20px;

        font-size: 34px;
    }

    .services-hero-description {
        max-width: 330px;

        margin-bottom: 24px;

        font-size: 13px;
        line-height: 1.65;
    }

    .services-hero-button {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .services-hero {
        height: 880px;
    }

    .services-hero-container {
        height: 880px;

        padding-top: 34px;
        padding-bottom: 410px;
    }

    .services-hero-title {
        max-width: 320px;

        font-size: 31px;
    }

    .services-hero-description {
        max-width: 305px;

        font-size: 12px;
    }
}

/* =========================================================
   HERO FEATURES
   ========================================================= */

.services-hero-features {
    position: absolute;

    top: 50%;
    right: 0;

    display: flex;
    flex-direction: column;
    gap: 34px;

    width: 330px;

    transform: translateY(-50%);
}

.services-hero-feature {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: start;

    column-gap: 18px;
}

.services-hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    color: var(--jf-blue);
}

.services-hero-feature-content {
    padding-top: 3px;
}

.services-hero-feature-content h3 {
    margin: 0 0 8px;

    color: var(--jf-navy);

    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.services-hero-feature-content p {
    margin: 0;

    color: #40506a;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================================
   HERO FEATURES TABLET
   ========================================================= */

@media (max-width: 1100px) and (min-width: 768px) {

    .services-hero-features {
        right: 10px;

        width: 280px;

        gap: 28px;
    }

    .services-hero-feature {
        grid-template-columns: 46px 1fr;

        column-gap: 13px;
    }

    .services-hero-feature-icon {
        width: 46px;
        height: 46px;
    }

    .services-hero-feature-content h3 {
        font-size: 12px;
    }

    .services-hero-feature-content p {
        font-size: 10px;
    }
}


/* =========================================================
   HERO FEATURES MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .services-hero-features {
        display: none;
    }
}

/* =========================================================
   02. SERVICES LIST
   ========================================================= */

.services-list {
    position: relative;

    padding: 62px 0 54px;

    background: #ffffff;
}

.services-list-container {
    position: relative;
}


/* HEADER
   ========================================================= */

.services-list-header {
    margin-bottom: 42px;

    text-align: center;
}

.services-list-eyebrow {
    display: block;

    margin-bottom: 10px;

    color: var(--jf-blue);

    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.services-list-title {
    margin: 0;

    color: var(--jf-navy);

    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.services-list-line {
    display: block;

    width: 46px;
    height: 2px;

    margin: 16px auto 0;

    background: var(--jf-blue);
}


/* GRID
   ========================================================= */

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);

    gap: 18px;

    max-width: 1280px;

    margin: 0 auto;
}

.services-card {
    grid-column: span 2;

    display: flex;
    flex-direction: column;

    min-height: 430px;

    padding: 28px 30px 24px;

    border: 1px solid #e5eaf1;
    border-radius: 7px;

    background: #ffffff;

    box-shadow:
        0 8px 30px rgba(8, 31, 66, 0.025);

    transition:
        transform var(--jf-transition),
        box-shadow var(--jf-transition),
        border-color var(--jf-transition);
}

.services-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.services-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.services-card:hover {
    border-color: rgba(0, 84, 214, 0.22);

    box-shadow:
        0 14px 38px rgba(8, 31, 66, 0.07);

    transform: translateY(-3px);
}


/* ICON
   ========================================================= */

.services-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 150px;

    margin-bottom: 10px;
}

.services-card-icon img {
    display: block;

    width: 150px;
    height: 150px;

    object-fit: contain;
}


/* CONTENT
   ========================================================= */

.services-card-title {
    max-width: 300px;

    margin: 0 auto 14px;

    color: var(--jf-blue);

    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.services-card-description {
    max-width: 310px;

    margin: 0 auto 22px;

    color: #263a55;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    text-align: center;
}


/* BENEFITS
   ========================================================= */

.services-card-benefits {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin: 0 0 22px;
    padding: 0;

    list-style: none;
}

.services-card-benefits li {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin: 0;
    padding: 0;

    color: #233751;

    font-size: 12px;
    line-height: 1.4;

    list-style: none;
}

.services-card-benefits svg {
    flex: 0 0 14px;

    margin-top: 1px;

    color: var(--jf-blue);
}


/* TIME
   ========================================================= */

.services-card-time {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: auto;

    color: #263a55;

    font-size: 12px;
    font-weight: 500;
}

.services-card-time svg {
    flex: 0 0 16px;

    color: var(--jf-blue);
}


/* FOOTER
   ========================================================= */

.services-list-footer {
    display: flex;
    justify-content: center;

    margin-top: 24px;
}

.services-list-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    min-height: 46px;

    padding: 0 28px;

    border: 1px solid var(--jf-blue);
    border-radius: 5px;

    background: #ffffff;
    color: var(--jf-blue);

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    transition:
        background-color var(--jf-transition),
        color var(--jf-transition),
        transform var(--jf-transition);
}

.services-list-button:hover {
    background: var(--jf-blue);
    color: #ffffff;

    transform: translateY(-2px);
}

.services-list-button svg {
    transition: transform var(--jf-transition);
}

.services-list-button:hover svg {
    transform: translateX(4px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .services-list-grid {
        grid-template-columns: repeat(2, 1fr);

        max-width: 800px;
    }

    .services-card,
    .services-card:nth-child(4),
    .services-card:nth-child(5) {
        grid-column: auto;
    }

    .services-card:last-child {
        grid-column: 1 / -1;

        width: calc(50% - 9px);

        justify-self: center;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .services-list {
        padding: 54px 0 48px;
    }

    .services-list-header {
        margin-bottom: 32px;
    }

    .services-list-title {
        font-size: 28px;
    }

    .services-list-grid {
        display: flex;
        flex-direction: column;

        gap: 16px;

        width: 100%;
    }

    .services-card,
    .services-card:last-child {
        width: 100%;
        min-height: 0;

        padding: 26px 24px 22px;
    }

    .services-card-icon {
        height: 150px;
    }

    .services-card-icon img {
        width: 150px;
        height: 150px;
    }

    .services-card-title {
        font-size: 17px;
    }

    .services-card-description {
        max-width: 360px;
    }

    .services-list-footer {
        margin-top: 24px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .services-list {
        padding: 48px 0 44px;
    }

    .services-list-title {
        font-size: 26px;
    }

    .services-card {
        padding: 24px 20px 22px;
    }

    .services-card-description {
        font-size: 12px;
    }

    .services-list-button {
        width: 100%;

        gap: 18px;

        padding: 0 20px;
    }
}

/* =========================================================
   03. PROCESS
   ========================================================= */

.services-process {
    position: relative;

    padding: 42px 0 52px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(0, 92, 255, 0.16),
            transparent 45%
        ),
        #031d40;

    color: #ffffff;
}

.services-process::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: 0.16;

    background:
        radial-gradient(
            circle at 12% 30%,
            rgba(0, 105, 255, 0.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 86% 75%,
            rgba(0, 105, 255, 0.15),
            transparent 28%
        );
}

.services-process-container {
    position: relative;
    z-index: 2;
}


/* HEADER
   ========================================================= */

.services-process-header {
    margin-bottom: 34px;

    text-align: center;
}

.services-process-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.services-process-title {
    margin: 0;

    color: #ffffff;

    font-size: 29px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.services-process-title strong {
    color: #1680ff;
    font-weight: 700;
}


/* STEPS
   ========================================================= */

.services-process-steps {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        110px
        minmax(0, 1fr)
        110px
        minmax(0, 1fr)
        110px
        minmax(0, 1fr);

    align-items: start;

    max-width: 1300px;

    margin: 0 auto;
}

.services-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;

    text-align: center;
}


/* ICON
   ========================================================= */

.services-process-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 94px;
    height: 94px;

    margin-bottom: 10px;

    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;

    color: #ffffff;

    background:
        radial-gradient(
            circle at center,
            rgba(13, 90, 205, 0.14),
            rgba(3, 29, 64, 0.12)
        );

    box-shadow:
        inset 0 0 30px rgba(20, 102, 220, 0.06);
}

.services-process-icon svg {
    display: block;

    width: 46px;
    height: 46px;
}


/* NUMBER
   ========================================================= */

.services-process-number {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 28px;
    height: 24px;

    margin-bottom: 12px;
    padding: 0 6px;

    border-radius: 10px;

    background: #0567e8;
    color: #ffffff;

    box-shadow:
        0 5px 14px rgba(0, 91, 220, 0.28);

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}


/* CONTENT
   ========================================================= */

.services-process-step-title {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.services-process-description {
    max-width: 230px;

    margin: 0;

    color: rgba(255, 255, 255, 0.76);

    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
}


/* CONNECTORS
   ========================================================= */

.services-process-connector {
    display: flex;
    align-items: center;

    width: 100%;

    margin-top: 46px;

    color: #2581ff;
}

.services-process-connector span {
    flex: 1;

    height: 1px;

    background-image:
        linear-gradient(
            to right,
            #2581ff 45%,
            transparent 45%
        );

    background-size: 10px 1px;
    background-repeat: repeat-x;
}

.services-process-connector svg {
    flex: 0 0 9px;

    margin-left: -2px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .services-process-steps {
        grid-template-columns:
            minmax(0, 1fr)
            55px
            minmax(0, 1fr)
            55px
            minmax(0, 1fr)
            55px
            minmax(0, 1fr);
    }

    .services-process-icon {
        width: 82px;
        height: 82px;
    }

    .services-process-icon svg {
        width: 40px;
        height: 40px;
    }

    .services-process-connector {
        margin-top: 40px;
    }

    .services-process-description {
        max-width: 190px;

        font-size: 10px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .services-process {
        padding: 52px 0 58px;
    }

    .services-process-header {
        margin-bottom: 40px;
    }

    .services-process-title {
        max-width: 340px;

        margin: 0 auto;

        font-size: 27px;
    }

    .services-process-steps {
        display: flex;
        flex-direction: column;

        max-width: 420px;

        margin: 0 auto;
    }

    .services-process-step {
        position: relative;

        display: grid;
        grid-template-columns: 78px 1fr;
        grid-template-rows: auto auto;

        width: 100%;

        column-gap: 20px;

        text-align: left;
    }

    .services-process-icon {
        grid-column: 1;
        grid-row: 1 / span 2;

        width: 78px;
        height: 78px;

        margin: 0;
    }

    .services-process-icon svg {
        width: 37px;
        height: 37px;
    }

    .services-process-number {
        position: absolute;

        left: 54px;
        bottom: -4px;

        min-width: 26px;
        height: 22px;

        margin: 0;
    }

    .services-process-step-title {
        grid-column: 2;
        grid-row: 1;

        align-self: end;

        margin-bottom: 6px;

        font-size: 14px;
    }

    .services-process-description {
        grid-column: 2;
        grid-row: 2;

        max-width: none;

        font-size: 11px;
    }

    .services-process-connector {
        position: relative;

        width: 1px;
        height: 38px;

        margin: 10px 0 10px 39px;

        background-image:
            linear-gradient(
                to bottom,
                #2581ff 45%,
                transparent 45%
            );

        background-size: 1px 8px;
        background-repeat: repeat-y;
    }

    .services-process-connector span,
    .services-process-connector svg {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .services-process {
        padding: 48px 0 54px;
    }

    .services-process-title {
        font-size: 25px;
    }

    .services-process-step {
        grid-template-columns: 70px 1fr;

        column-gap: 18px;
    }

    .services-process-icon {
        width: 70px;
        height: 70px;
    }

    .services-process-icon svg {
        width: 33px;
        height: 33px;
    }

    .services-process-number {
        left: 48px;
    }

    .services-process-connector {
        margin-left: 35px;
    }
}

/* =========================================================
   04. CTA
   ========================================================= */

.services-cta {
    position: relative;

    padding: 24px 0;

    background: #ffffff;
}

.services-cta-container {
    position: relative;
}

.services-cta-box {
    position: relative;

    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;

    min-height: 138px;

    padding: 22px 74px 22px 28px;

    overflow: hidden;

    border: 1px solid #edf1f6;
    border-radius: 8px;

    background:
        linear-gradient(
            105deg,
            #ffffff 0%,
            #ffffff 58%,
            #f8faff 100%
        );

    box-shadow:
        0 7px 28px rgba(7, 31, 67, 0.035);
}


/* ICON
   ========================================================= */

.services-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    border-radius: 50%;

    background: #f3f6fb;
    color: var(--jf-blue);
}

.services-cta-icon svg {
    display: block;

    width: 42px;
    height: 42px;
}


/* CONTENT
   ========================================================= */

.services-cta-content {
    position: relative;
    z-index: 2;
}

.services-cta-title {
    margin: 0 0 8px;

    color: var(--jf-navy);

    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.services-cta-description {
    margin: 0;

    color: #3c4c62;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}


/* ACTION
   ========================================================= */

.services-cta-action {
    position: relative;
    z-index: 2;

    padding-left: 50px;
}

.services-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 30px;

    min-width: 210px;
    min-height: 52px;

    padding: 0 24px;

    border: 1px solid var(--jf-blue);
    border-radius: 5px;

    background: var(--jf-blue);
    color: #ffffff;

    box-shadow:
        0 9px 24px rgba(0, 84, 214, 0.15);

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    transition:
        background-color var(--jf-transition),
        border-color var(--jf-transition),
        transform var(--jf-transition),
        box-shadow var(--jf-transition);
}

.services-cta-button:hover {
    border-color: var(--jf-blue-hover);

    background: var(--jf-blue-hover);

    box-shadow:
        0 12px 28px rgba(0, 84, 214, 0.22);

    transform: translateY(-2px);
}

.services-cta-button svg {
    transition: transform var(--jf-transition);
}

.services-cta-button:hover svg {
    transform: translateX(4px);
}


/* DOT DECORATION
   ========================================================= */

.services-cta-dots {
    position: absolute;

    top: 23px;
    right: 20px;

    width: 55px;
    height: 70px;

    opacity: 0.42;

    background-image:
        radial-gradient(
            circle,
            var(--jf-blue) 1px,
            transparent 1.2px
        );

    background-size: 8px 8px;

    pointer-events: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .services-cta-box {
        grid-template-columns: 78px minmax(0, 1fr) auto;

        padding-right: 54px;
    }

    .services-cta-icon {
        width: 64px;
        height: 64px;
    }

    .services-cta-icon svg {
        width: 37px;
        height: 37px;
    }

    .services-cta-title {
        font-size: 22px;
    }

    .services-cta-action {
        padding-left: 30px;
    }

    .services-cta-button {
        min-width: 180px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .services-cta {
        padding: 18px 0;
    }

    .services-cta-box {
        display: grid;
        grid-template-columns: 64px 1fr;

        min-height: 0;

        padding: 24px;

        column-gap: 18px;
        row-gap: 22px;
    }

    .services-cta-icon {
        grid-column: 1;
        grid-row: 1;

        width: 64px;
        height: 64px;
    }

    .services-cta-content {
        grid-column: 2;
        grid-row: 1;
    }

    .services-cta-title {
        margin-bottom: 6px;

        font-size: 21px;
    }

    .services-cta-description {
        font-size: 11px;
    }

    .services-cta-action {
        grid-column: 1 / -1;
        grid-row: 2;

        padding: 0;
    }

    .services-cta-button {
        width: 100%;
        min-width: 0;

        gap: 24px;
    }

    .services-cta-dots {
        top: 15px;
        right: 12px;

        opacity: 0.22;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .services-cta-box {
        grid-template-columns: 54px 1fr;

        padding: 22px 18px;

        column-gap: 15px;
    }

    .services-cta-icon {
        width: 54px;
        height: 54px;
    }

    .services-cta-icon svg {
        width: 32px;
        height: 32px;
    }

    .services-cta-title {
        font-size: 19px;
    }

    .services-cta-description {
        max-width: 250px;

        font-size: 11px;
    }
}