/* =========================================================
   ESAR DIGITAL
   SERVICES OVERVIEW
   ========================================================= */


/* =========================================================
   SERVICES HERO
   ========================================================= */

   .services-hero {
    position: relative;

    padding: 105px 0 110px;

    background: #F4F7FA;

    border-bottom: 1px solid rgba(7, 26, 51, 0.06);

    overflow: hidden;
}


/* subtle background detail */

.services-hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -270px;
    top: -280px;

    border: 1px solid rgba(7, 26, 51, 0.055);

    border-radius: 50%;

    pointer-events: none;
}


.services-hero::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -190px;
    bottom: -200px;

    background: rgba(255, 204, 0, 0.055);

    border-radius: 50%;

    pointer-events: none;
}


.services-hero .container {
    position: relative;

    z-index: 2;
}


.services-hero__content {
    max-width: 850px;
}


.services-hero__eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #B08A00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}


.services-hero__title {
    margin: 0;

    color: #071A33;

    font-size: clamp(48px, 6vw, 76px);

    font-weight: 800;

    line-height: 1.02;

    letter-spacing: -3px;
}


.services-hero__title span {
    color: #B08A00;
}


.services-hero__description {
    max-width: 680px;

    margin: 26px 0 0;

    color: #838a68;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   SERVICES INTRO
   ========================================================= */

.services-intro {
    padding: 105px 0;

    background: #FFFFFF;
}


.services-intro__grid {
    display: grid;

    grid-template-columns: 0.65fr 1.8fr;

    gap: 80px;
}


.services-intro__label {
    padding-top: 8px;
}


.services-intro__label span {
    color: #B08A00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.services-intro__content {
    max-width: 780px;
}


.services-intro__content h2 {
    margin: 0;

    color: #071A33;

    font-size: clamp(34px, 4vw, 52px);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -2px;
}


.services-intro__content h2 span {
    color: #B08A00;
}


.services-intro__content p {
    max-width: 700px;

    margin: 24px 0 0;

    color: #68778A;

    font-size: 15px;

    line-height: 1.85;
}


/* =========================================================
   SERVICES LIST
   ========================================================= */

.services-list {
    padding: 100px 0 110px;

    background: #F4F7FA;

    border-top: 1px solid rgba(7, 26, 51, 0.05);
}


.services-list__heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;

    margin-bottom: 50px;
}


.services-list__eyebrow {
    display: block;

    margin-bottom: 13px;

    color: #B08A00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.services-list__heading h2 {
    max-width: 650px;

    margin: 0;

    color: #071A33;

    font-size: clamp(34px, 4vw, 52px);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -2px;
}


.services-list__heading h2 span {
    color: #B08A00;
}


.services-list__heading > p {
    max-width: 360px;

    margin: 0;

    color: #68778A;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   SERVICE CARD GRID
   ========================================================= */

.services-list__grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */

.service-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 315px;

    padding: 28px;

    background: #FFFFFF;

    border: 1px solid rgba(7, 26, 51, 0.075);

    border-radius: 8px;

    box-shadow:
        0 8px 25px rgba(7, 26, 51, 0.035);

    overflow: hidden;

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}


.service-card:hover {
    transform: translateY(-5px);

    border-color: rgba(176, 138, 0, 0.28);

    box-shadow:
        0 18px 40px rgba(7, 26, 51, 0.09);
}


.service-card__top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.service-card__number {
    color: rgba(7, 26, 51, 0.25);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.service-card__icon {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 204, 0, 0.10);

    border: 1px solid rgba(176, 138, 0, 0.18);

    border-radius: 7px;

    color: #B08A00;
}


.service-card__icon svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.service-card__content {
    margin-top: auto;

    padding-top: 55px;
}


.service-card__title {
    margin: 0;

    color: #071A33;

    font-size: 23px;

    font-weight: 750;

    line-height: 1.2;

    letter-spacing: -0.5px;
}


.service-card__description {
    max-width: 500px;

    margin: 13px 0 0;

    color: #68778A;

    font-size: 13px;

    line-height: 1.7;
}


.service-card__link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    width: fit-content;

    margin-top: 23px;

    color: #071A33;

    font-size: 11px;

    font-weight: 800;

    text-decoration: none;

    transition:
        color 180ms ease,
        gap 180ms ease;
}


.service-card__arrow {
    color: #B08A00;

    font-size: 16px;

    line-height: 1;

    transition:
        transform 180ms ease;
}


.service-card__link:hover {
    color: #B08A00;

    gap: 12px;
}


.service-card__link:hover .service-card__arrow {
    transform: translateX(3px);
}


/* =========================================================
   SERVICES CTA
   ========================================================= */

.services-cta {
    position: relative;

    padding: 90px 0;

    background: #071A33;

    color: #FFFFFF;

    overflow: hidden;
}


.services-cta::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -280px;
    top: -260px;

    border: 1px solid rgba(255, 255, 255, 0.045);

    border-radius: 50%;
}


.services-cta .container {
    position: relative;

    z-index: 2;
}


.services-cta__inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 60px;
}


.services-cta__content {
    max-width: 700px;
}


.services-cta__eyebrow {
    display: block;

    margin-bottom: 15px;

    color: #FFCC00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}


.services-cta__content h2 {
    margin: 0;

    color: #FFFFFF;

    font-size: clamp(36px, 4.5vw, 56px);

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -2px;
}


.services-cta__content h2 span {
    color: #FFCC00;
}


.services-cta__content p {
    max-width: 620px;

    margin: 20px 0 0;

    color: rgba(255, 255, 255, 0.58);

    font-size: 14px;

    line-height: 1.8;
}


.services-cta__button {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    padding: 7px 8px 7px 22px;

    background: #FFCC00;

    border: 1px solid #FFCC00;

    border-radius: 5px;

    color: #071A33;

    font-size: 12px;

    font-weight: 800;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}


.services-cta__button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.20);
}


.services-cta__button-arrow {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #071A33;

    border-radius: 4px;

    color: #FFFFFF;

    font-size: 17px;

    transition:
        transform 220ms ease;
}


.services-cta__button:hover .services-cta__button-arrow {
    transform: translateX(3px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .services-hero {
        padding: 85px 0 90px;
    }


    .services-intro {
        padding: 85px 0;
    }


    .services-intro__grid {
        grid-template-columns: 0.5fr 1.5fr;

        gap: 50px;
    }


    .services-list {
        padding: 85px 0 90px;
    }


    .services-list__heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }


    .services-list__heading > p {
        max-width: 600px;
    }


    .services-cta {
        padding: 80px 0;
    }


    .services-cta__inner {
        align-items: flex-start;

        flex-direction: column;

        gap: 35px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .services-hero {
        padding: 70px 0 75px;
    }


    .services-hero__title {
        font-size: clamp(38px, 10vw, 52px);

        letter-spacing: -1.8px;
    }


    .services-hero__description {
        font-size: 14px;
    }


    .services-intro {
        padding: 70px 0;
    }


    .services-intro__grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .services-intro__content h2 {
        font-size: 35px;

        letter-spacing: -1.3px;
    }


    .services-intro__content p {
        font-size: 14px;
    }


    .services-list {
        padding: 70px 0 75px;
    }


    .services-list__heading h2 {
        font-size: 35px;

        letter-spacing: -1.3px;
    }


    .services-list__grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .service-card {
        min-height: 295px;

        padding: 24px;
    }


    .service-card__content {
        padding-top: 45px;
    }


    .services-cta {
        padding: 70px 0;
    }


    .services-cta__content h2 {
        font-size: 37px;

        letter-spacing: -1.4px;
    }


    .services-cta__content p {
        font-size: 13px;
    }


    .services-cta__button {
        width: 100%;

        justify-content: space-between;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .services-hero {
        padding: 60px 0 65px;
    }


    .services-hero__title {
        font-size: 35px;
    }


    .services-intro__content h2,
    .services-list__heading h2 {
        font-size: 32px;
    }


    .service-card {
        min-height: 280px;

        padding: 22px;
    }


    .service-card__title {
        font-size: 21px;
    }


    .services-cta__content h2 {
        font-size: 33px;
    }

}