/* Services page: lifecycle support, service gallery and download center. */

.services-hero,
.services-hero .page-hero__content {
    min-height: 520px;
}

.services-hero .page-hero__shade {
    background: linear-gradient(90deg, rgba(2, 28, 54, .94) 0%, rgba(3, 45, 82, .7) 52%, rgba(3, 38, 71, .2) 82%);
}

.services-hero h1 {
    max-width: 900px;
    font-size: 52px;
}

.services-nav {
    position: relative;
    top: auto;
    z-index: 85;
    border-bottom: 1px solid #dfe7ed;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 8px 24px rgba(9, 42, 73, .08);
    backdrop-filter: blur(12px);
}

.services-nav__inner {
    display: flex;
    min-height: 68px;
    align-items: stretch;
}

.services-nav a,
.services-nav button {
    position: relative;
    display: inline-flex;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #42586c;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.services-nav a:after {
    position: absolute;
    right: 20px;
    bottom: 0;
    left: 20px;
    height: 3px;
    background: var(--blue-700);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .28s ease;
}

.services-nav a:hover,
.services-nav a:focus {
    color: var(--blue-700);
}

.services-nav a:hover:after,
.services-nav a:focus:after {
    transform: scaleX(1);
}

.services-nav button {
    margin: 10px 0 10px auto;
    padding: 0 24px;
    color: #fff;
    background: var(--blue-700);
    transition: background .25s ease, transform .25s ease;
}

.services-nav button:hover,
.services-nav button:focus {
    background: var(--blue-950);
    transform: translateY(-1px);
}

.services-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(42px, 7vw, 110px);
}

.services-intro__heading h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(24px, 4vw, 56px);
}

.services-intro__copy {
    padding-top: 30px;
    border-top: 1px solid #ccd8e1;
    color: #54697c;
    font-size: 18px;
    line-height: 1.75;
}

.services-intro__copy p:last-child {
    margin-bottom: 0;
}

.services-list {
    padding: 18px 0 108px;
    background: linear-gradient(180deg, #fff 0, #f4f7fa 12%, #f4f7fa 100%);
}

.services-card {
    display: grid;
    min-height: 520px;
    margin-top: 72px;
    scroll-margin-top: 190px;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    background: #fff;
    box-shadow: 0 22px 65px rgba(10, 43, 72, .1);
}

.services-card--reverse {
    grid-template-columns: minmax(380px, .92fr) minmax(0, 1.08fr);
}

.services-card--reverse .services-card__media {
    order: 2;
}

.services-card--reverse .services-card__body {
    order: 1;
}

.services-card__media {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #082f55;
}

.services-card__media:after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(2, 29, 55, .32));
    content: "";
    pointer-events: none;
}

.services-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .85s cubic-bezier(.2, .75, .25, 1);
}

.services-card__media > span {
    position: absolute;
    right: 24px;
    bottom: 16px;
    z-index: 2;
    color: rgba(255, 255, 255, .92);
    font-size: 58px;
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1;
}

.services-card__body {
    display: flex;
    padding: clamp(42px, 5vw, 78px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.services-card__body h2 {
    margin-bottom: 22px;
    font-size: clamp(35px, 3.4vw, 52px);
}

.services-card__body h3 {
    margin-bottom: 20px;
    color: var(--blue-700);
    font-size: 21px;
    line-height: 1.45;
}

.services-card__body > p:not(.eyebrow) {
    margin-bottom: 30px;
    color: #5a6e80;
    font-size: 16px;
    line-height: 1.75;
}

.services-card__link {
    display: inline-flex;
    margin-top: 4px;
    padding: 0 0 8px;
    align-items: center;
    gap: 16px;
    border: 0;
    border-bottom: 2px solid var(--blue-700);
    color: var(--blue-900);
    background: transparent;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: color .25s ease, gap .25s ease;
}

.services-card__link:hover,
.services-card__link:focus {
    gap: 23px;
    color: var(--blue-700);
}

.services-downloads {
    scroll-margin-top: 170px;
    background: #fff;
}

.services-downloads__heading {
    display: grid;
    margin-bottom: 44px;
    padding-bottom: 32px;
    align-items: end;
    border-bottom: 1px solid #dce5eb;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
    gap: 50px;
}

.services-downloads__heading h2 {
    margin: 0;
    font-size: clamp(40px, 4.4vw, 58px);
}

.services-downloads__heading > p {
    margin: 0;
    color: #607488;
    line-height: 1.65;
}

.services-downloads__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.services-download-card {
    display: grid;
    min-height: 122px;
    padding: 22px 22px 22px 18px;
    align-items: center;
    border: 1px solid #dde6ed;
    color: var(--ink);
    background: #fff;
    grid-template-columns: 58px minmax(0, 1fr) 42px;
    gap: 18px;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.services-download-card:hover,
.services-download-card:focus {
    color: var(--ink);
    border-color: #a9c5d9;
    box-shadow: 0 15px 35px rgba(8, 42, 72, .1);
    transform: translateY(-3px);
}

.services-download-card__icon {
    position: relative;
    display: flex;
    width: 52px;
    height: 60px;
    align-items: center;
    justify-content: center;
    color: var(--blue-700);
}

.services-download-card__icon svg {
    position: absolute;
    inset: 2px 6px 6px;
    width: 40px;
    height: 48px;
    fill: #eef6fb;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.services-download-card__icon small {
    position: relative;
    z-index: 1;
    margin-top: 21px;
    color: var(--blue-900);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.services-download-card__body {
    min-width: 0;
}

.services-download-card__body strong {
    display: block;
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 1.45;
}

.services-download-card__body small {
    display: block;
    color: #758697;
    font-size: 12px;
    font-weight: 700;
}

.services-download-card__arrow {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--blue-700);
    background: #edf6fb;
    font-size: 22px;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.services-download-card:hover .services-download-card__arrow,
.services-download-card:focus .services-download-card__arrow {
    color: #fff;
    background: var(--blue-700);
    transform: translateY(3px);
}

.services-cta {
    padding: 80px 0;
    color: #fff;
    background: linear-gradient(115deg, #042b50 0%, #07578d 68%, #0788a5 100%);
}

.services-description {
    padding: 0 0 80px;
    background: #fff;
}

.services-description .archive-description {
    margin-top: 0;
}

.services-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.services-cta__inner > div:first-child {
    max-width: 800px;
}

.services-cta h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: clamp(36px, 4vw, 52px);
}

.services-cta p:not(.eyebrow) {
    margin: 0;
    color: #dcecf6;
    font-size: 17px;
}

.services-cta__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

@media (hover: hover) and (pointer: fine) {
    .services-card:hover .services-card__media img {
        transform: scale(1.045);
    }
}

@media (max-width: 1120px) {
    .services-nav a {
        padding-right: 13px;
        padding-left: 13px;
        font-size: 12px;
    }

    .services-card,
    .services-card--reverse {
        grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
    }

    .services-card--reverse {
        grid-template-columns: minmax(340px, .82fr) minmax(0, 1fr);
    }
}

@media (max-width: 1020px) {
    .services-nav {
        top: auto;
    }

    .services-nav__inner {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .services-nav button {
        margin-right: 12px;
    }

    .services-card,
    .services-card--reverse {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .services-card--reverse .services-card__media,
    .services-card--reverse .services-card__body {
        order: initial;
    }

    .services-card__media {
        min-height: 430px;
    }

    .services-downloads__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .services-nav {
        display: none;
    }

    .services-hero,
    .services-hero .page-hero__content {
        min-height: 420px;
    }

    .services-hero h1 {
        font-size: 30px;
    }

    .services-nav__inner {
        min-height: 58px;
        padding: 0;
    }

    .services-nav a,
    .services-nav button {
        min-height: 58px;
        padding: 0 15px;
    }

    .services-nav button {
        margin-top: 7px;
        margin-bottom: 7px;
        min-height: 44px;
    }

    .services-intro {
        padding-top: 70px;
        padding-bottom: 58px;
    }

    .services-intro__grid,
    .services-downloads__heading {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .services-intro__copy {
        padding-top: 22px;
        font-size: 16px;
    }

    .services-list {
        padding-bottom: 70px;
    }

    .services-card {
        margin-top: 32px;
        scroll-margin-top: 145px;
    }

    .services-card__media {
        min-height: 300px;
    }

    .services-card__body {
        padding: 38px 26px 44px;
    }

    .services-card__body h2 {
        font-size: 34px;
    }

    .services-card__body h3 {
        font-size: 18px;
    }

    .services-downloads {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .services-downloads__heading {
        margin-bottom: 30px;
    }

    .services-download-card {
        min-height: 110px;
        padding: 17px 14px;
        grid-template-columns: 48px minmax(0, 1fr) 36px;
        gap: 12px;
    }

    .services-download-card__icon {
        width: 46px;
    }

    .services-download-card__arrow {
        width: 34px;
        height: 34px;
    }

    .services-cta {
        padding: 62px 0;
    }

    .services-cta__inner {
        display: block;
    }

    .services-cta__actions {
        margin-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) and (min-width: 99999px) {
    .services-card__media img,
    .services-download-card,
    .services-download-card__arrow {
        transition: none;
    }
}
