.services-page {
    background: #ffffff;
}

.services-page .section {
    padding-block: clamp(3.25rem, 6vw, 5.25rem);
}

.services-page h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.12;
}

.services-hero.page-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
    background:
        radial-gradient(ellipse at 84% 12%, rgb(25 167 199 / 23%), transparent 24rem),
        linear-gradient(112deg, #082b4c 0%, #10365f 62%, #0b2a49 100%);
    color: #ffffff;
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.services-hero.page-header::after {
    position: absolute;
    z-index: -1;
    top: -15rem;
    right: -7rem;
    width: 38rem;
    aspect-ratio: 1;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2rem rgb(255 255 255 / 2%), inset 0 0 0 4rem rgb(255 255 255 / 2%);
    content: "";
    pointer-events: none;
}

.services-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.25rem, 5vw, 4rem);
}

.services-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
}

.services-page .services-hero__content > .eyebrow,
.services-page .services-section-heading > .eyebrow {
    margin-bottom: 0.85rem;
    color: #6ed7e6;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.services-hero h1 {
    max-width: 15ch;
    margin: 0 0 1.1rem;
    color: #ffffff;
    font-size: clamp(2.6rem, 5vw, 4.35rem);
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.services-hero__summary {
    max-width: 40rem;
    margin: 0;
    color: #d5e2ed;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}

.services-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.services-hero .button--secondary {
    border-color: rgb(255 255 255 / 34%);
    background: rgb(255 255 255 / 5%);
    color: #ffffff;
}

.services-hero .button--secondary:hover,
.services-hero .button--secondary:focus-visible {
    border-color: rgb(255 255 255 / 72%);
    background: rgb(255 255 255 / 12%);
    color: #ffffff;
}

.services-hero__visual {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    justify-self: stretch;
    border: 1px solid #d6e2ef;
    border-radius: 1rem;
    background: rgb(255 255 255 / 94%);
    box-shadow: 0 1.5rem 3.5rem rgb(16 35 67 / 10%);
    padding: clamp(1.25rem, 2.4vw, 2rem);
}

.services-hero__visual-header,
.services-hero__visual-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #47627e;
    font-size: 0.75rem;
    font-weight: 750;
}

.services-hero__visual-header {
    border-bottom: 1px solid #e5edf5;
    padding-bottom: 0.85rem;
}

.services-hero__visual-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #18866f;
}

.services-hero__visual-status > span {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: #28b394;
}

.services-hero__visual-intro {
    margin-block: 1.25rem 1.15rem;
}

.services-hero__visual-intro .eyebrow {
    margin-bottom: 0.45rem;
    color: var(--action);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.services-hero__visual-intro h2 {
    max-width: 25ch;
    margin: 0;
    color: #14243d;
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    letter-spacing: -0.025em;
}

.services-hero__flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-hero__flow li {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #e0eaf4;
    border-radius: 0.7rem;
    background: #f8fbfe;
    padding: 0.8rem;
}

.services-hero__flow li > span {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.65rem;
    background: #eaf2ff;
    color: var(--action);
    font-size: 0.72rem;
    font-weight: 850;
}

.services-hero__flow li div {
    display: grid;
    min-width: 0;
    gap: 0.15rem;
}

.services-hero__flow strong {
    color: #172a45;
    font-size: 0.9rem;
}

.services-hero__flow small {
    color: #657b94;
    font-size: 0.75rem;
    line-height: 1.35;
}

.services-hero__visual-footer {
    justify-content: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
    color: #5b7189;
    font-size: 0.7rem;
}

.services-hero__visual-footer > span:last-child {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #255b9a;
}

.services-hero__visual-footer i {
    width: 0.2rem;
    height: 0.2rem;
    border-radius: 50%;
    background: #7ba4d0;
}

.services-page .services-section-heading {
    max-width: 48rem;
    margin-bottom: 1.8rem;
}

.services-page .services-section-heading h2 {
    margin-bottom: 0.7rem;
    color: #14243d;
}

.services-page .services-section-heading > p:last-child {
    margin: 0;
    color: #526985;
    font-size: 1.05rem;
    line-height: 1.65;
}

.services-page .services-index {
    background: #ffffff;
}

.services-capabilities__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    border: 0;
    background: transparent;
}

.services-capabilities__grid .service-capability.service-card {
    min-height: 14rem;
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    gap: 0.5rem 1rem;
    border-color: #d9e4ef;
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 0.5rem 1.5rem rgb(21 46 78 / 4%);
    padding: 1.35rem;
}

.services-capabilities__grid .service-capability.service-card:hover {
    border-color: #9ab8d8;
    box-shadow: 0 0.85rem 1.9rem rgb(21 46 78 / 8%);
}

.services-capabilities__grid .service-motif {
    width: 3rem;
}

.services-capabilities__grid .service-capability__body h3 {
    margin: 0 0 0.55rem;
    color: #172a45;
    font-size: 1.08rem;
}

.services-capabilities__grid .service-capability__body .service-capability__summary {
    color: #5a7089;
    font-size: 0.94rem;
    line-height: 1.55;
}

.services-capabilities__grid .service-capability .service-capability__link {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.7rem;
}

.service-capability--inquiry {
    display: flex;
    min-width: 0;
    min-height: 14rem;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #d9e4ef;
    border-radius: 0.9rem;
    background: linear-gradient(145deg, #f1f6ff, #f5fbfd);
    box-shadow: 0 0.5rem 1.5rem rgb(21 46 78 / 4%);
    padding: 1.4rem;
}

.services-inquiry__eyebrow {
    margin: 0 0 0.7rem;
    color: var(--action);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.service-capability--inquiry h3 {
    margin: 0 0 0.55rem;
    color: #172a45;
    font-size: 1.08rem;
}

.service-capability--inquiry > p:not(.services-inquiry__eyebrow) {
    max-width: 34ch;
    margin: 0 0 0.6rem;
    color: #5a7089;
    font-size: 0.94rem;
    line-height: 1.55;
}

.service-capability--inquiry > a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    border: 1px solid #d5e3fa;
    border-radius: 0.65rem;
    background: #ffffff;
    color: var(--action);
    padding: 0.55rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.service-capability--inquiry > a:hover,
.service-capability--inquiry > a:focus-visible {
    border-color: var(--action);
    background: var(--action);
    color: #ffffff;
}

.services-page .services-approach {
    border-block: 1px solid #dce6f0;
    background: #f3f7fc;
}

.services-page .services-approach__principles {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: service-approach;
}

.services-page .services-approach__principles li {
    min-width: 0;
    border: 1px solid #dce6f0;
    border-radius: 0.8rem;
    background: #ffffff;
    padding: 1.25rem;
}

.services-page .services-approach__number {
    display: inline-grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #eaf2ff;
    color: var(--action);
    font-size: 0.72rem;
    font-weight: 850;
}

.services-page .services-approach__principles h3 {
    margin: 0 0 0.6rem;
    color: #172a45;
    font-size: 1.08rem;
    line-height: 1.3;
}

.services-page .services-approach__principles p {
    margin: 0;
    color: #5a7089;
    font-size: 0.94rem;
    line-height: 1.6;
}

.services-products {
    background: #ffffff;
}

.services-page .services-products .services-section-heading {
    max-width: 42rem;
}

.services-product-feature {
    display: grid;
    overflow: hidden;
    border: 1px solid #d6e2ef;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 1rem 2.5rem rgb(16 35 67 / 7%);
}

.services-product-feature__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eaf2f8;
}

.services-product-feature__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.services-product-feature__image:hover img,
.services-product-feature__image:focus-visible img {
    transform: scale(1.025);
}

.services-product-feature__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.35rem, 3vw, 2.5rem);
}

.services-product-feature__content > .eyebrow {
    margin: 0 0 0.8rem;
    color: var(--action);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-product-feature__content h3 {
    margin: 0 0 0.65rem;
    color: #172a45;
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    letter-spacing: -0.035em;
}

.services-product-feature__content > p:not(.eyebrow) {
    max-width: 52ch;
    margin: 0;
    color: #5a7089;
    font-size: 1rem;
    line-height: 1.65;
}

.services-product-feature__workflows {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.1rem 0 1.35rem;
    padding: 0;
    list-style: none;
}

.services-product-feature__workflows li {
    border: 1px solid #d8e4f1;
    border-radius: 999px;
    background: #f5f8fc;
    color: #47627e;
    padding: 0.42rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.services-product-feature__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.2rem;
    margin-top: auto;
}

.services-page .services-closing {
    background: #0b2e50;
    color: #cfdaea;
}

.services-page .services-closing .eyebrow {
    color: #8ed9e6;
}

.services-page .services-closing h2 {
    color: #ffffff;
}

.services-page .services-closing p:last-child {
    margin-bottom: 0;
}

.services-closing__layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.services-closing__layout > div {
    min-width: 0;
}

.services-closing__layout > .button {
    flex-shrink: 0;
}

@media (min-width: 42rem) {
    .services-capabilities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-page .services-approach__principles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 68rem) {
    .services-hero__layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(30rem, 1.1fr);
    }

    .services-hero__content {
        grid-column: 1;
    }

    .services-hero__visual {
        grid-column: 2;
    }

    .services-capabilities__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .services-page .services-approach__principles {
        gap: 1.25rem;
    }

    .services-product-feature {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        align-items: stretch;
    }

    .services-product-feature__image {
        min-height: 100%;
        aspect-ratio: auto;
    }

    .services-product-feature__content {
        justify-content: center;
    }
}

@media (max-width: 41.99rem) {
    .services-hero__actions,
    .services-closing__layout {
        align-items: stretch;
        flex-direction: column;
        gap: 0.75rem;
    }

    .services-hero__actions .button,
    .services-page .services-closing .button {
        width: 100%;
    }

    .services-hero__visual-header,
    .services-hero__visual-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }

    .services-hero__flow {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-capabilities__grid .service-capability.service-card {
        min-height: 12rem;
        padding: 1.15rem;
    }

    .services-page .services-approach__principles {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-product-feature__actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .services-product-feature__actions .button {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-product-feature__image img {
        transition: none;
    }
}
