.services-page-redesign {
    --services-purple: #5b2a8c;
    --services-purple-light: #753ba9;
    --services-dark: #110c28;
    --services-navy: #0d1326;
    --services-surface: #f8f9fd;
    --services-border: #e7eaf3;
    --services-text: #1a1a2e;
    --services-muted: #64748b;
    color: var(--services-text);
    font-family: 'Montserrat', sans-serif;
}

.services-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.services-shell--narrow {
    width: min(840px, calc(100% - 32px));
    text-align: center;
}

.services-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(91, 42, 140, 0.08);
    color: var(--services-purple);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-kicker--dark {
    background: rgba(91, 42, 140, 0.24);
    border: 1px solid rgba(167, 139, 250, 0.28);
    color: #d8b4fe;
}

.services-breadcrumb {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
     padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(23, 48, 71, 0.06);
}

.services-breadcrumb a {
    color: #2f855a;
}

.services-hero {
    position: relative;
    overflow: hidden;
    padding: 118px 0 86px;
    background:
        radial-gradient(circle at 20% 16%, rgba(123, 79, 214, 0.18), transparent 24%),
        linear-gradient(90deg, rgba(13, 9, 38, 0.98) 0%, rgba(13, 9, 38, 0.92) 52%, rgba(13, 9, 38, 0.7) 100%),
        #0d0926;
    color: #fff;
}

.services-hero__media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 9, 38, 0.96) 0%, rgba(13, 9, 38, 0.88) 42%, rgba(13, 9, 38, 0.54) 74%, rgba(13, 9, 38, 0.38) 100%),
        radial-gradient(circle at 24% 18%, rgba(123, 79, 214, 0.22), transparent 22%),
        radial-gradient(circle at 72% 24%, rgba(91, 42, 140, 0.18), transparent 20%),
        url("../../images/servicesBanner.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.72;
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 9, 38, 0.08) 0%, rgba(13, 9, 38, 0.28) 100%),
        radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.08), transparent 18%);
    z-index: 0;
}

.services-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 42px;
    align-items: center;
}

.services-hero__copy h1,
.services-intro h2,
.services-sectors__head h2,
.services-cta__copy h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.services-hero__copy h1 {
    margin: 24px 0 0;
    font-size: clamp(34px, 2.4vw, 42px);
    line-height: 1.08;
    color: #fff;
}

.services-hero__copy h1 span {
    background: linear-gradient(90deg, #d8b4fe 0%, #f5f3ff 58%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.services-hero__lead {
    margin: 24px 0 0;
    color: rgba(221, 214, 254, 0.95);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.services-hero__text {
    margin: 18px 0 0;
    max-width: 620px;
    color: rgba(226, 232, 240, 0.86);
    font-size: 16px;
    line-height: 1.85;
}

.services-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.services-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.services-btn--primary {
    background: linear-gradient(135deg, var(--services-purple) 0%, var(--services-purple-light) 100%);
    color: #fff;
    box-shadow: 0 18px 32px rgba(76, 29, 149, 0.34);
}

.services-btn--ghost {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    backdrop-filter: blur(10px);
}

.services-btn--light {
    background: #fff;
    color: var(--services-purple);
    box-shadow: 0 18px 30px rgba(255, 255, 255, 0.12);
}

.services-hero__note {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd6fe;
    font-size: 14px;
    font-weight: 600;
}

.services-panel {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(16px);
    box-shadow: 0 26px 52px rgba(11, 8, 28, 0.5);
}

.services-panel__head {
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.services-panel__head span {
    color: #d8b4fe;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.services-panel__head h2 {
    margin: 10px 0 0;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
}

.services-panel__list {
    display: grid;
    gap: 10px;
}

.services-panel__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 600;
}

.services-panel__icon {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 42, 140, 0.18);
    color: #d8b4fe;
    flex: 0 0 auto;
}

.services-intro {
    padding: 74px 0 18px;
    background: #fff;
}

.services-intro h2 {
    margin: 18px 0 0;
    color: var(--services-dark);
    font-size: clamp(34px, 2vw, 54px);
    line-height: 1.08;
}

.services-intro p,
.services-group__intro p,
.services-sectors__head p,
.services-cta__copy p {
    margin: 14px 0 0;
    color: var(--services-muted);
    font-size: 16px;
    line-height: 1.8;
}

.services-catalog {
    padding: 28px 0 50px;
    background: #fff;
}

.services-group {
    display: grid;
    grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
    gap: 34px;
    padding: 28px 0;
    border-top: 1px solid #eef2f7;
}

.services-group:first-child {
    border-top: 0;
}

.services-group__intro {
    position: sticky;
    top: 110px;
    align-self: start;
}

.services-group__intro h3 {
    margin: 12px 0 0;
    color: var(--services-text);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.services-group__cards {
    display: grid;
    gap: 20px;
}

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

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

.services-card {
    border: 1px solid var(--services-border);
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.services-card:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 42, 140, 0.2);
    box-shadow: 0 22px 40px rgba(91, 42, 140, 0.1);
}

.services-card--wide {
    border-radius: 24px;
}

.services-card--compact {
    border-radius: 18px;
}

.services-card__link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.services-card__link:hover {
    color: inherit;
    text-decoration: none;
}

.services-card__image-wrap {
    position: relative;
    overflow: hidden;
    background: #edf2f7;
}

.services-card--wide .services-card__image-wrap {
    height: 238px;
    margin: 18px 18px 0;
    border-radius: 18px;
}

.services-card--compact .services-card__image-wrap {
    height: 172px;
    margin: 14px 14px 0;
    border-radius: 14px;
}

.services-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.services-card:hover .services-card__image-wrap img {
    transform: scale(1.05);
}

.services-card__index {
    position: absolute;
    top: 14px;
    left: 14px;
    min-width: 38px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--services-purple);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(91, 42, 140, 0.2);
}

.services-card__body {
    padding: 18px 20px 0;
}

.services-card__body h4 {
    margin: 0;
    color: #0f172a;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.services-card--compact .services-card__body h4 {
    font-size: 17px;
}

.services-card__body p {
    margin: 10px 0 0;
    color: var(--services-muted);
    font-size: 14px;
    line-height: 1.72;
}

.services-card__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 18px 20px 20px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    color: var(--services-purple);
    font-size: 12px;
    font-weight: 700;
}

.services-stats {
    padding: 34px 0;
    background: var(--services-dark);
    border-top: 1px solid rgba(91, 42, 140, 0.3);
    border-bottom: 1px solid rgba(91, 42, 140, 0.3);
}

.services-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.services-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.services-stat__icon {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 42, 140, 0.22);
    color: #d8b4fe;
    font-size: 24px;
    flex: 0 0 auto;
}

.services-stat strong {
    display: block;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.services-stat p {
    margin: 8px 0 0;
    color: rgba(221, 214, 254, 0.82);
    font-size: 14px;
    line-height: 1.55;
}

.services-sectors {
    padding: 76px 0;
    background: rgba(248, 249, 253, 0.78);
}

.services-sectors__head {
    max-width: 760px;
    margin-bottom: 30px;
}

.services-sectors__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
    gap: 26px;
    align-items: center;
}

.services-sectors__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.services-sector-card {
    padding: 26px 18px;
    border: 1px solid var(--services-border);
    border-radius: 18px;
    background: #fff;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.services-sector-card:hover {
    transform: translateY(-3px);
    border-color: rgba(91, 42, 140, 0.18);
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.06);
}

.services-sector-card__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 42, 140, 0.08);
    color: var(--services-purple);
    font-size: 22px;
}

.services-sector-card h3 {
    margin: 0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.services-sectors__highlight {
    position: relative;
    min-height: 100%;
    padding: 30px;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #4c1d95 0%, #110c28 100%);
    color: #fff;
    box-shadow: 0 26px 50px rgba(76, 29, 149, 0.22);
}

.services-sectors__highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.12;
}

.services-sectors__highlight-icon,
.services-cta__points i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.services-sectors__highlight-icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #d8b4fe;
    font-size: 24px;
}

.services-sectors__highlight h3,
.services-group__intro h3 {
    font-family: 'Montserrat', sans-serif;
}

.services-sectors__highlight h3 {
    position: relative;
    z-index: 1;
    margin: 18px 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.services-sectors__highlight p {
    position: relative;
    z-index: 1;
    margin: 14px 0 0;
    color: rgba(221, 214, 254, 0.82);
    font-size: 14px;
    line-height: 1.75;
}

.services-cta {
    padding: 0 0 80px;
    background: linear-gradient(180deg, rgba(248, 249, 253, 0.78) 0%, #ffffff 100%);
}

.services-cta__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 24px;
    align-items: center;
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0d0926 0%, #22104b 100%);
    color: #fff;
    box-shadow: 0 28px 54px rgba(34, 16, 75, 0.24);
}

.services-cta__copy h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 2vw, 56px);
    line-height: 1.05;
}

.services-cta__copy p {
    color: rgba(226, 232, 240, 0.82);
}

.services-cta__points {
    display: grid;
    gap: 12px;
}

.services-cta__points div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 600;
}

.services-cta__points i {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(91, 42, 140, 0.22);
    color: #d8b4fe;
    flex: 0 0 auto;
}

@media (max-width: 1199px) {
    .services-hero__grid,
    .services-group,
    .services-sectors__grid,
    .services-cta__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-group__intro {
        position: static;
    }

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

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

@media (max-width: 767px) {
    .services-shell,
    .services-shell--narrow {
        width: min(100% - 24px, 1200px);
    }

    .services-hero {
        padding: 92px 0 56px;
    }

    .services-breadcrumb {
        margin-bottom: 24px;
        font-size: 11px;
        gap: 8px;
        padding: 9px 14px;
    }

    .services-hero__copy h1 {
        font-size: 40px;
    }

    .services-hero__lead {
        font-size: 18px;
    }

    .services-hero__actions,
    .services-group__cards.is-wide,
    .services-group__cards.is-compact,
    .services-stats__grid,
    .services-sectors__cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-hero__actions {
        display: grid;
    }

    .services-btn {
        width: 100%;
    }

    .services-card--wide .services-card__image-wrap,
    .services-card--compact .services-card__image-wrap {
        height: 200px;
    }

    .services-card__body,
    .services-card__footer,
    .services-panel,
    .services-sectors__highlight,
    .services-cta__card {
        padding-left: 18px;
        padding-right: 18px;
    }
}
