.services-page {
    --services-ink: #092b45;
    --services-accent: #008fca;
    --services-cyan: #49c4e5;
    --services-muted: #5f6f7b;
    --services-line: #dce4e9;
    --services-paper: #f8f9fa;
    padding-top: 5rem;
    background: var(--services-paper);
    color: var(--services-ink);
}

.services-content {
    width: 100%;
}

.services-container {
    width: min(100% - 3rem, 72rem);
    margin-inline: auto;
}

.services-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 2.25rem 0 2.75rem;
    color: #fff;
    background: linear-gradient(112deg, #082b45 0%, #0a3452 64%, #0a3f61 100%);
}

.services-hero::after {
    position: absolute;
    z-index: -1;
    right: -8rem;
    bottom: -25rem;
    width: 55rem;
    height: 55rem;
    border: 1px solid rgb(73 196 229 / 12%);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgb(73 196 229 / 3%), 0 0 0 10rem rgb(73 196 229 / 2%);
    content: "";
}

.services-hero__glow {
    position: absolute;
    z-index: -1;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
}

.services-hero__glow--top {
    top: -15rem;
    right: 12%;
    background: rgb(0 143 202 / 16%);
}

.services-hero__glow--base {
    bottom: -18rem;
    left: 22%;
    background: rgb(73 196 229 / 8%);
}

.services-identity {
    display: flex;
    min-height: 4.8rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.45rem;
    padding: 0.8rem 1.15rem;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.45rem;
    background: rgb(255 255 255 / 7%);
    box-shadow: inset 0 1px rgb(255 255 255 / 3%);
}

.services-identity__brand,
.services-identity__facts,
.services-identity__facts span {
    display: flex;
    align-items: center;
}

.services-identity__brand {
    gap: 0.9rem;
}

.services-identity__brand img {
    width: 2.35rem;
    height: 2.35rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.services-identity__brand div {
    display: grid;
    gap: 0.15rem;
}

.services-identity__brand strong,
.services-identity__brand span,
.services-identity__facts {
    font-size: 0.64rem;
    line-height: 1.4;
}

.services-identity__brand strong {
    color: #fff;
    font-size: 0.72rem;
}

.services-identity__brand span,
.services-identity__facts {
    color: #a8c0ce;
}

.services-identity__facts {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.2rem;
}

.services-identity__facts span {
    gap: 0.45rem;
}

.services-identity__facts i,
.services-eyebrow > span {
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--services-cyan);
}

.services-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(16rem, 0.8fr);
    align-items: center;
    gap: 3rem;
}

.services-hero__copy {
    max-width: 48rem;
}

.services-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    color: var(--services-cyan);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.services-eyebrow > span {
    width: 0.45rem;
    height: 0.45rem;
}

.services-hero h1 {
    max-width: 46rem;
    margin: 0;
    color: #fff;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(2rem, 4.1vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.services-hero__intro {
    max-width: 39rem;
    margin: 1rem 0 0;
    color: #b4c8d4;
    font-size: 0.9rem;
    line-height: 1.7;
}

.services-metrics {
    padding: 1.1rem 1.2rem 1rem;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: 0.45rem;
    background: rgb(255 255 255 / 7%);
    box-shadow: 0 12px 30px rgb(0 0 0 / 12%);
}

.services-metrics__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    color: var(--services-cyan);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-metrics__heading .material-symbols-outlined {
    font-size: 1rem;
}

.services-metrics__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-metric {
    display: grid;
    min-height: 4.4rem;
    align-content: center;
    gap: 0.2rem;
    padding: 0.7rem 0.55rem;
    border-bottom: 1px solid rgb(255 255 255 / 9%);
}

.services-metric:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid rgb(255 255 255 / 9%);
}

.services-metric:nth-child(even) {
    padding-left: 0.9rem;
}

.services-metric:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.services-metric strong {
    color: #fff;
    font-family: Manrope, Inter, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
}

.services-metric span {
    color: #a8c0ce;
    font-size: 0.59rem;
    line-height: 1.35;
}

.services-metrics__note {
    margin: 0.6rem 0 0;
    color: #9ab2c0;
    font-size: 0.62rem;
    line-height: 1.5;
}

.services-directory {
    padding: 0 0 4.2rem;
    background: #f8f8f7;
}

.services-filterbar {
    display: flex;
    min-height: 3.8rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--services-line);
    background: #fff;
}

.services-filterbar__buttons {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.services-filter {
    display: inline-flex;
    min-height: 2rem;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 0.2rem;
    color: #52616c;
    background: #f1f3f4;
    cursor: pointer;
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1.2;
    transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.services-filter span {
    color: inherit;
    opacity: 0.75;
}

.services-filter:hover,
.services-filter.is-active {
    border-color: var(--services-ink);
    color: #fff;
    background: var(--services-ink);
}

.services-filter:focus-visible,
.services-search:focus-within,
.service-card a:focus-visible,
.services-button:focus-visible {
    outline: 3px solid var(--services-cyan);
    outline-offset: 3px;
}

.services-search {
    display: flex;
    width: min(20rem, 34%);
    min-width: 12rem;
    min-height: 2.3rem;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.65rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #8b9aa4;
    background: #fff;
}

.services-search .material-symbols-outlined {
    font-size: 1rem;
}

.services-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--services-ink);
    background: transparent;
    font: inherit;
    font-size: 0.65rem;
}

.services-search input::placeholder {
    color: #84929b;
    opacity: 1;
}

.services-filter-status,
.services-empty {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.services-empty:not([hidden]) {
    position: static;
    width: auto;
    height: auto;
    margin: 2rem 0;
    padding: 1.25rem;
    clip: auto;
    border: 1px solid var(--services-line);
    border-radius: 0.4rem;
    color: var(--services-muted);
    background: #fff;
    clip-path: none;
    text-align: center;
    white-space: normal;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1rem;
}

.service-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgb(9 43 69 / 5%);
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: 0 3px 12px rgb(9 43 69 / 5%);
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.service-card[hidden] {
    display: none;
}

.service-card__visual {
    position: relative;
    height: 9rem;
    overflow: hidden;
    background: #0b3553;
}

.service-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.75);
    transition: transform 350ms ease;
}

.service-card__visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(4 35 58 / 18%), rgb(4 35 58 / 55%));
}

.service-card__discipline,
.service-card__category {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    color: #d8f3fb;
    background: rgb(0 54 83 / 82%);
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.service-card__discipline {
    top: 0.65rem;
    left: 0.7rem;
    padding: 0.3rem 0.45rem;
    border-radius: 0.15rem;
}

.service-card__category {
    bottom: 0.65rem;
    left: 0.7rem;
    color: #72d5ec;
    background: transparent;
}

.service-card__visual-icon {
    position: absolute;
    right: 0.8rem;
    bottom: 0.65rem;
    color: #a7e9f7;
    font-size: 1rem;
}

.service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0.9rem 0.85rem 0.7rem;
}

.service-card h2 {
    margin: 0;
    color: var(--services-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: 0.91rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.4;
}

.service-card__description {
    margin: 0.4rem 0 0;
    color: #54616a;
    font-size: 0.66rem;
    line-height: 1.6;
}

.service-card__deliverables {
    margin-top: 0.7rem;
    padding: 0.6rem 0.65rem;
    background: #f1f6f8;
}

.service-card__deliverables h3 {
    margin: 0 0 0.4rem;
    color: #36536a;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.service-card__deliverables ul {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card__deliverables li {
    display: grid;
    grid-template-columns: 0.75rem 1fr;
    align-items: start;
    gap: 0.35rem;
    color: #52616b;
    font-size: 0.57rem;
    line-height: 1.45;
}

.service-card__deliverables li .material-symbols-outlined {
    margin-top: 0.05rem;
    color: var(--services-accent);
    font-size: 0.72rem;
}

.service-card__footer {
    display: flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border-top: 1px solid #edf1f3;
}

.service-card__tags {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.service-card__tags span {
    padding: 0.17rem 0.28rem;
    color: #53636d;
    background: #eef1f2;
    font-size: 0.46rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.service-card__footer a {
    display: inline-flex;
    min-height: 2rem;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.2rem;
    color: var(--services-accent);
    font-size: 0.57rem;
    font-weight: 700;
    text-decoration: none;
}

.service-card__footer a span {
    font-size: 0.9rem;
}

.services-frameworks {
    padding: 3.8rem 0 4rem;
    background: #eff6f8;
}

.services-frameworks__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.6rem;
}

.services-frameworks__heading h2 {
    margin: 0;
    color: var(--services-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.services-frameworks__heading > p {
    max-width: 21rem;
    margin: 0 0 0.2rem;
    color: var(--services-muted);
    font-size: 0.7rem;
    line-height: 1.55;
}

.services-frameworks__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.framework-card {
    min-height: 9.2rem;
    padding: 1rem;
    border: 1px solid rgb(9 43 69 / 4%);
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: 0 2px 8px rgb(9 43 69 / 4%);
}

.framework-card__icon {
    display: inline-flex;
    width: 1.7rem;
    height: 1.7rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
    border-radius: 0.25rem;
    color: var(--services-accent);
    background: #edf7fa;
    font-size: 1rem;
}

.framework-card h3 {
    margin: 0;
    color: var(--services-ink);
    font-size: 0.73rem;
    font-weight: 700;
    line-height: 1.4;
}

.framework-card p {
    margin: 0.35rem 0 0;
    color: #586873;
    font-size: 0.61rem;
    line-height: 1.55;
}

.services-consultation {
    padding: 3rem 0 3.5rem;
    color: #fff;
    background: #082d49;
}

.services-consultation__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.9fr);
    align-items: center;
    gap: 2.5rem;
    padding: 2.1rem 2.3rem;
    border: 1px solid rgb(255 255 255 / 7%);
    border-radius: 0.55rem;
    background: linear-gradient(110deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 4%));
}

.services-consultation__copy h2 {
    max-width: 39rem;
    margin: 0;
    color: #fff;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.services-consultation__copy > p:last-child {
    max-width: 35rem;
    margin: 0.8rem 0 0;
    color: #aec2cd;
    font-size: 0.75rem;
    line-height: 1.65;
}

.services-consultation__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
}

.services-button {
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 140ms ease, color 140ms ease;
}

.services-button .material-symbols-outlined {
    font-size: 1rem;
}

.services-button--primary {
    color: #fff;
    background: var(--services-accent);
}

.services-button--primary:hover {
    color: var(--services-ink);
    background: var(--services-cyan);
}

.services-button--phone {
    color: #bce8f2;
    background: rgb(255 255 255 / 9%);
}

.services-button--phone:hover {
    color: #fff;
    background: rgb(255 255 255 / 16%);
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgb(9 43 69 / 12%);
    }

    .service-card:hover .service-card__visual img {
        transform: scale(1.04);
    }
}

@media (max-width: 900px) {
    .services-hero__grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.8fr);
        gap: 1.5rem;
    }

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

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

@media (max-width: 640px) {
    .services-container {
        width: min(100% - 2rem, 72rem);
    }

    .services-hero {
        padding: 1.4rem 0 2rem;
    }

    .services-identity {
        align-items: flex-start;
        margin-bottom: 1.6rem;
        padding: 0.75rem;
    }

    .services-identity__facts {
        display: none;
    }

    .services-hero__grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .services-hero h1 {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .services-hero__intro {
        margin-top: 0.75rem;
        font-size: 0.83rem;
    }

    .services-metrics {
        padding: 0.9rem;
    }

    .services-metric {
        min-height: 3.8rem;
    }

    .services-directory {
        padding-bottom: 2.8rem;
    }

    .services-filterbar {
        align-items: stretch;
        flex-direction: column;
        gap: 0.55rem;
        margin-bottom: 1rem;
        padding: 0.65rem 0;
    }

    .services-filterbar__buttons {
        margin-inline: -0.25rem;
        padding: 0.15rem 0.25rem 0.35rem;
    }

    .services-search {
        width: 100%;
        min-height: 2.65rem;
        border-color: var(--services-line);
    }

    .services-search input {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .service-card__visual {
        height: 11rem;
    }

    .service-card__body {
        padding: 1rem;
    }

    .service-card h2 {
        font-size: 1rem;
    }

    .service-card__description {
        font-size: 0.78rem;
    }

    .service-card__deliverables li {
        font-size: 0.7rem;
    }

    .services-frameworks {
        padding: 2.8rem 0;
    }

    .services-frameworks__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.1rem;
    }

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

    .framework-card {
        min-height: auto;
    }

    .services-consultation {
        padding: 2.25rem 0;
    }

    .services-consultation__panel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .services-consultation__actions {
        justify-content: flex-start;
    }

    .services-button {
        min-height: 2.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-filter,
    .service-card,
    .service-card__visual img,
    .services-button {
        transition: none;
    }
}
