.services-hub {
    color: #18243b;
    font-family: Inter, Arial, sans-serif;
}

.services-hero {
    overflow: hidden;
    padding: 92px 0 0;
    color: #fff;
    background: radial-gradient(circle at 83% 22%, rgba(57, 116, 255, .25), transparent 25%), linear-gradient(120deg, #101b34 0%, #152750 58%, #173c78 100%);
}

.services-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    padding-bottom: 78px;
}

.services-hero-copy {
    max-width: 760px;
}

.services-eyebrow {
    margin: 0 0 14px;
    color: #5d8cff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.services-hero .services-eyebrow {
    color: #9fbcff;
}

.services-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5.2vw, 64px);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.08;
    text-transform: capitalize;
}

.services-hero-description {
    max-width: 650px;
    margin: 22px 0 28px;
    color: #d5def0;
    font-size: 17px;
    line-height: 1.7;
}

.services-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid #fff;
    border-radius: 7px;
    color: #172443;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease;
}

.services-primary-cta:hover {
    transform: translateY(-2px);
    color: #172443;
    background: #eef3ff;
}

.services-hero-aside {
    display: flex;
    flex: 0 0 210px;
    flex-direction: column;
    padding: 24px 0 24px 28px;
    border-left: 1px solid rgba(255, 255, 255, .24);
}

.services-hero-number {
    color: #fff;
    font-size: 58px;
    font-weight: 700;
    letter-spacing: -.06em;
    line-height: 1;
}

.services-hero-caption {
    margin-top: 10px;
    color: #cbd7ed;
    font-size: 13px;
    line-height: 1.5;
}

.services-hero-rule {
    width: 100%;
    height: 1px;
    margin: 22px 0 4px;
    background: rgba(255, 255, 255, .22);
}

.services-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 30px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.services-jump-nav a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    color: #e9effb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.services-jump-nav a:hover {
    color: #fff;
}

.services-jump-nav span {
    color: #93b2ff;
}

.services-category {
    padding: 76px 0;
    background: #fff;
    scroll-margin-top: 100px;
}

.services-category-muted {
    background: #f6f8fc;
}

.services-category-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.services-category-heading h2,
.services-bottom-cta h2 {
    margin: 0;
    color: #17233b;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.2;
}

.services-category-heading > p {
    max-width: 440px;
    margin: 0 0 3px;
    color: #68748a;
    font-size: 15px;
    line-height: 1.65;
}

.services-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.services-card {
    position: relative;
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: flex-start;
    padding: 23px 23px 27px;
    border: 1px solid #e3e8f1;
    border-radius: 10px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.services-card:hover {
    transform: translateY(-3px);
    border-color: #b9ccff;
    box-shadow: 0 14px 34px rgba(22, 48, 99, .09);
    color: inherit;
}

.services-card-number {
    margin-bottom: 18px;
    color: #527be0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.services-card-title {
    padding-right: 24px;
    color: #1b2943;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.services-card-description {
    margin-top: 9px;
    padding-right: 15px;
    color: #6e788b;
    font-size: 13px;
    line-height: 1.55;
}

.services-card-arrow {
    position: absolute;
    top: 22px;
    right: 22px;
    color: #456fd5;
    font-size: 19px;
}

.services-bottom-cta {
    padding: 54px 0;
    background: #edf2fc;
}

.services-bottom-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.services-bottom-cta .services-primary-cta {
    border-color: #2457c5;
    color: #fff;
    background: #2457c5;
}

.services-bottom-cta .services-primary-cta:hover {
    border-color: #1947aa;
    color: #fff;
    background: #1947aa;
}

@media (max-width: 991px) {
    .services-hero-inner { gap: 34px; }
    .services-hero-aside { flex-basis: 170px; padding-left: 22px; }
    .services-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .services-hero { padding-top: 62px; }
    .services-hero-inner { align-items: flex-start; flex-direction: column; gap: 34px; padding-bottom: 46px; }
    .services-hero h1 { font-size: 39px; }
    .services-hero-description { font-size: 15px; }
    .services-hero-aside { flex-basis: auto; width: 100%; padding: 0; border: 0; }
    .services-hero-number { font-size: 44px; }
    .services-jump-nav { gap: 0 20px; }
    .services-jump-nav a { padding: 13px 0; font-size: 12px; }
    .services-category { padding: 54px 0; }
    .services-category-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
    .services-card-grid { grid-template-columns: 1fr; gap: 10px; }
    .services-card { min-height: 165px; padding: 19px; }
    .services-bottom-cta-inner { align-items: flex-start; flex-direction: column; }
}

/* Page polish */
.services-hero {
    position: relative;
    background-image:
        linear-gradient(90deg, rgba(8, 19, 39, .96) 0%, rgba(10, 25, 51, .88) 48%, rgba(15, 37, 73, .68) 100%),
        linear-gradient(0deg, rgba(10, 24, 48, .66) 0%, transparent 48%),
        url("../image/banners/services-hero.png");
    background-color: #0c1830;
    background-size: cover;
    background-position: center 43%;
}

.solutions-page .services-hero {
    background-image:
        linear-gradient(90deg, rgba(8, 19, 39, .96) 0%, rgba(10, 25, 51, .88) 48%, rgba(15, 37, 73, .68) 100%),
        linear-gradient(0deg, rgba(10, 24, 48, .66) 0%, transparent 48%),
        url("../image/banners/software-development.webp");
}

.industries-page .services-hero {
    background-image:
        linear-gradient(90deg, rgba(8, 19, 39, .96) 0%, rgba(10, 25, 51, .88) 48%, rgba(15, 37, 73, .68) 100%),
        linear-gradient(0deg, rgba(10, 24, 48, .66) 0%, transparent 48%),
        url("../image/banners/industries-hero.png");
}

.services-hero-inner {
    min-height: 390px;
    padding-top: 68px;
    padding-bottom: 62px;
}

.services-hero-copy {
    position: relative;
    z-index: 1;
}

.services-hero-aside {
    position: relative;
    flex-basis: 260px;
    padding: 26px 0 26px 32px;
    border-left: 1px solid rgba(190, 211, 255, .3);
}

.services-hero-number {
    display: block;
    color: #fff;
    font-size: 76px;
    letter-spacing: -.07em;
}

.services-hero-caption {
    display: block;
    max-width: 230px;
    color: #c5d4f0;
}

.services-hero-rule {
    display: block;
    max-width: 210px;
}

.services-jump-nav {
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
    border-top-color: rgba(255, 255, 255, .14);
}

.services-jump-nav a {
    padding: 11px 14px;
    border: 1px solid rgba(220, 231, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.services-jump-nav a:hover {
    transform: translateY(-1px);
    border-color: rgba(220, 231, 255, .48);
    background: rgba(255, 255, 255, .12);
}

.services-category {
    padding-top: 88px;
    padding-bottom: 88px;
}

.services-category-heading {
    margin-bottom: 36px;
}

.services-category-heading .services-eyebrow {
    color: #527be0;
}

.services-card-grid {
    gap: 18px;
}

.services-card {
    min-height: 205px;
    padding: 25px 25px 30px;
    border-color: #e4eaf4;
    border-radius: 13px;
    box-shadow: 0 3px 12px rgba(23, 44, 81, .025);
}

.services-card-number {
    display: inline-flex;
    min-width: 34px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 7px;
    background: #edf3ff;
    color: #315fc4;
    letter-spacing: .04em;
}

.services-card-title {
    transition: color .18s ease;
}

.services-card:hover .services-card-title {
    color: #2457c5;
}

.services-card-arrow {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #f0f4fc;
    font-size: 17px;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.services-card:hover .services-card-arrow {
    transform: translateX(2px);
    color: #fff;
    background: #2457c5;
}

.services-card:focus-visible,
.services-jump-nav a:focus-visible,
.services-primary-cta:focus-visible {
    outline: 3px solid #78a0ff;
    outline-offset: 3px;
}

.services-category-muted {
    background: linear-gradient(180deg, #f5f7fc 0%, #f8faff 100%);
}

.services-bottom-cta {
    background: linear-gradient(120deg, #f3f6fc, #e8effb);
}

.services-bottom-cta h2 {
    color: #17233b;
}

.services-bottom-cta .services-eyebrow {
    color: #527be0;
}

.services-bottom-cta .services-primary-cta {
    border-color: #2457c5;
    color: #fff;
    background: #2457c5;
}

.services-bottom-cta .services-primary-cta:hover {
    border-color: #1947aa;
    color: #fff;
    background: #1947aa;
}

@media (max-width: 991px) {
    .services-hero-inner { min-height: 0; }
    .services-hero-aside { flex-basis: 210px; }
}

@media (max-width: 640px) {
    .services-hero-inner { padding-top: 54px; padding-bottom: 38px; }
    .services-hero-aside { width: 100%; padding: 20px 0 0; border-top: 1px solid rgba(190, 211, 255, .3); border-left: 0; }
    .services-hero-number { font-size: 54px; }
    .services-jump-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .services-jump-nav a { justify-content: space-between; gap: 8px; padding: 10px 11px; font-size: 11px; }
    .services-category { padding-top: 54px; padding-bottom: 54px; }
    .services-category-heading { margin-bottom: 22px; }
    .services-card-grid { gap: 11px; }
    .services-card { min-height: 158px; padding: 18px 19px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .services-card,
    .services-jump-nav a,
    .services-primary-cta,
    .services-card-arrow,
    .services-card-title { transition: none; }
}

@media (min-width: 992px) {
    .solutions-page .services-card-grid > .services-card:last-child:nth-child(3n + 1) {
        grid-column: span 2;
    }
}

.services-finder {
    padding: 28px 0;
    border-bottom: 1px solid #e8edf5;
    background: #fff;
}

.services-finder-inner {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.services-finder label {
    color: #17233b;
    font-size: 16px;
    font-weight: 700;
}

.services-finder input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #d7dfec;
    border-radius: 8px;
    color: #18243b;
    background: #f9fbfe;
    font: inherit;
    font-size: 14px;
}

.services-finder input:focus {
    border-color: #527be0;
    outline: 3px solid rgba(82, 123, 224, .16);
    background: #fff;
}

.services-finder p {
    min-width: 155px;
    margin: 0;
    color: #68748a;
    font-size: 13px;
    text-align: right;
}

.services-category[hidden],
.services-card[hidden],
.services-jump-nav a[hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .services-finder { padding: 22px 0; }
    .services-finder-inner { grid-template-columns: 1fr; gap: 9px; }
    .services-finder p { text-align: left; }
}
