/* =========================================================
   SERVICES PAGE
========================================================= */

.services-page {
    width: 100%;

    overflow: hidden;

    background: #ffffff;

    color: var(--color-charcoal);
}


/* =========================================================
   HERO
========================================================= */

.services-hero {
    position: relative;
    margin: 0;
    width: 100%;
    height: min(72vh, 720px);
    min-height: 540px;

    overflow: hidden;

    background: #111116;
}


/* Hero image */

.services-hero__image {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* Hero overlay */

.services-hero__overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(5, 3, 18, 0.24) 0%,
            rgba(5, 3, 18, 0.42) 100%
        );
}


/* Hero content */

.services-hero__content {
    position: relative;

    z-index: 2;

    display: flex;

    height: 100%;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    text-align: center;
}


.services-hero h1 {
    max-width: 1100px;

    margin: 0;

    color: #ffffff;

    font-family: var(--font-heading);

    font-size: clamp(54px, 5vw, 88px);
    font-weight: 600;

    letter-spacing: -0.055em;
    line-height: 0.98;
}


.services-hero__content > p {
    max-width: 850px;

    margin: 24px auto 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 16px;

    line-height: 1.55;
}


/* =========================================================
   PROCESS / THINK TO THRILL
========================================================= */

.services-process {
    width: 100%;

    margin: 0;

    padding: 40px 0 55px;

    border-top: 12px solid #ffffff;

    background: var(--color-indigo);

    color: #ffffff;
}


/* Kicker */

.services-process .services-kicker {
    margin: 0 0 32px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 0.04em;
}


/* Grid */

.services-process-grid {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.85fr)
        minmax(460px, 1.15fr);

    align-items: center;

    gap: clamp(70px, 10vw, 160px);
}


/* =========================================================
   PROCESS LEFT
========================================================= */

.services-process-heading h2 {
    margin: 0;

    color: #ffffff;

    font-family: var(--font-heading);

    font-size: clamp(54px, 5vw, 78px);
    font-weight: 600;

    letter-spacing: -0.055em;
    line-height: 0.98;
}


.services-process-heading p {
    max-width: 520px;

    margin: 28px 0 0;

    color: rgba(255, 255, 255, 0.84);

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   PROCESS STEPS
========================================================= */

.services-process-steps {
    display: flex;

    width: 100%;

    flex-direction: column;
}


.services-process-step {
    display: grid;

    grid-template-columns: 55px 1fr;

    min-height: 68px;

    align-items: center;

    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}


.services-process-step:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.55);
}


.services-process-step span {
    color: rgba(255, 255, 255, 0.58);

    font-size: 9px;
    font-weight: 500;
}


.services-process-step strong {
    color: #ffffff;

    font-family: var(--font-heading);

    font-size: clamp(20px, 1.65vw, 27px);
    font-weight: 600;

    letter-spacing: -0.025em;
}


/* =========================================================
   SERVICES SECTION
========================================================= */

.services-list-section {
    width: 100%;
    padding: 42px 0 52px;
    background: #ffffff;
}


/* =========================================================
   SERVICES KICKER
========================================================= */

.services-list-section .services-kicker {
    margin: 0 0 14px;

    color: #62626c;

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 0.04em;
}

.services-list-section .services-kicker span {
    color: var(--color-indigo);
}


/* =========================================================
   SERVICES HEADING
========================================================= */

.services-list-heading {
    max-width: 1050px;

    margin: 0 auto 26px;

    text-align: center;
}

.services-list-heading h2 {
    margin: 0;

    color: #111116;

    font-family: var(--font-heading);

    font-size: clamp(38px, 3.5vw, 56px);
    font-weight: 600;

    letter-spacing: -0.05em;
    line-height: 1;
}

.services-list-heading h2 span {
    color: var(--color-indigo);
}

.services-list-heading > p {
    max-width: 700px;

    margin: 12px auto 0;

    color: #44444c;

    font-size: 14px;

    line-height: 1.5;
}


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

.services-list {
    display: grid;

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

    width: 100%;

    gap: 12px;
}


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

.services-list-card {
    position: relative;

    height: clamp(170px, 12vw, 200px);

    overflow: hidden;

    border-radius: 10px;

    background: var(--color-indigo);

    cursor: pointer;
}


/* Image */

.services-list-card__image {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        opacity 0.35s ease,
        transform 0.6s ease;
}


/* Dark image overlay */

.services-list-card__overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background: rgba(10, 6, 30, 0.42);

    transition: opacity 0.35s ease;
}


/* =========================================================
   NORMAL STATE
========================================================= */

.services-list-card__default {
    position: absolute;
    inset: 0;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    text-align: center;

    transition:
        opacity 0.25s ease,
        transform 0.35s ease;
}

.services-list-card__default h3 {
    max-width: 300px;

    margin: 0;

    color: #ffffff;

    font-family: var(--font-heading);

    font-size: clamp(18px, 1.45vw, 24px);
    font-weight: 600;

    line-height: 1.08;
}


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

.services-list-card__hover {
    position: absolute;
    inset: 0;

    z-index: 3;

    display: flex;

    flex-direction: column;
    justify-content: center;

    padding: 22px;

    background: var(--color-indigo);

    opacity: 0;

    transform: translateY(10px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.services-list-card__hover h3 {
    margin: 0;

    color: #ffffff;

    font-family: var(--font-heading);

    font-size: clamp(18px, 1.45vw, 24px);
    font-weight: 600;

    line-height: 1.08;
}

.services-list-card__hover p {
    max-width: 350px;

    margin: 10px 0 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 12px;

    line-height: 1.45;
}


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

.services-list-card:hover .services-list-card__image {
    transform: scale(1.05);
}

.services-list-card:hover .services-list-card__default {
    opacity: 0;

    transform: translateY(-6px);
}

.services-list-card:hover .services-list-card__overlay {
    opacity: 0;
}

.services-list-card:hover .services-list-card__hover {
    opacity: 1;

    transform: translateY(0);
}


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

@media (max-width: 991px) {

    /* Hero */

    .services-hero {
        height: 620px;
        min-height: 0;
    }

    .services-hero h1 {
        font-size: clamp(50px, 7vw, 68px);
    }

    .services-hero__content > p {
        max-width: 700px;

        font-size: 14px;
    }


    /* Process */

    .services-process {
        padding: 60px 0 64px;
    }

    .services-process-grid {
        grid-template-columns:
            minmax(260px, 0.9fr)
            minmax(360px, 1.1fr);

        gap: 55px;
    }

    .services-process-heading h2 {
        font-size: clamp(48px, 6vw, 62px);
    }

    .services-process-heading p {
        font-size: 14px;
    }


    /* Services */

    .services-list-section {
        padding: 52px 0 70px;
    }

    .services-list {
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-list-content h3 {
        font-size: 18px;
    }

}


/* =========================================================
   MOBILE / SMALL TABLET
========================================================= */

@media (max-width: 767px) {

    /* Hero */

    .services-hero {
        height: 520px;
    }

    .services-hero__content {
        padding-top: 20px;
    }

    .services-hero h1 {
        font-size: clamp(42px, 11vw, 58px);

        line-height: 1;
    }

    .services-hero__content > p {
        max-width: 550px;

        margin-top: 18px;

        font-size: 13px;

        line-height: 1.55;
    }


    /* Process */

    .services-process {
        padding: 48px 0 55px;
    }

    .services-process .services-kicker {
        margin-bottom: 25px;
    }

    .services-process-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .services-process-heading h2 {
        font-size: clamp(44px, 12vw, 58px);
    }

    .services-process-heading p {
        max-width: 500px;

        margin-top: 20px;

        font-size: 13px;
    }

    .services-process-step {
        min-height: 60px;

        grid-template-columns: 42px 1fr;
    }

    .services-process-step strong {
        font-size: 20px;
    }


    /* Services */

    .services-list-section {
        padding: 45px 0 58px;
    }

    .services-list-heading {
        margin-bottom: 28px;
    }

    .services-list-heading h2 {
        font-size: clamp(34px, 9vw, 46px);
    }

    .services-list-heading > p {
        margin-top: 13px;

        font-size: 13px;
    }

    .services-list {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .services-list-card {
        aspect-ratio: 1.3 / 1;
        min-height: 220px;
    }

    .services-list-content {
        padding: 14px;
    }

    .services-list-content h3 {
        font-size: 15px;
    }

}

/* =========================================================
   MOBILE SERVICES SWIPER
========================================================= */

.services-list-mobile {
    display: none;
}


@media (max-width: 767px) {

    .services-list-desktop {
        display: none;
    }

    .services-list-mobile {
        display: block;
        width: 100%;
        overflow: hidden;
    }

    .services-page-swiper {
        width: 100%;
        overflow: hidden;

        padding-bottom: 36px;
    }

    .services-page-swiper .swiper-slide {
        height: auto;
    }

    .services-page-swiper .services-list-card {
        height: 230px;
    }

    .services-page-swiper .swiper-pagination {
        bottom: 0;
    }
}


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

@media (max-width: 480px) {

    .services-hero {
        height: 470px;
    }

    .services-hero h1 {
        font-size: 20px;
    }


    /* Process */

    .services-process-heading h2 {
        font-size: 44px;
    }


    /* Services */

    .services-list-heading h2 {
        font-size: 34px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .services-list-card {
        aspect-ratio: 1.35 / 1;
    }

    .services-list-content h3 {
        font-size: 19px;
    }

}