.services-hero {
    padding: 170px 0 80px;
    text-align: center;
    background: radial-gradient(circle at 15% 10%, rgba(123, 63, 242, .2), transparent 35%),
                radial-gradient(circle at 85% 25%, rgba(216, 59, 210, .14), transparent 32%);
}

.services-hero .subtitle {
    display: inline-block;
    margin-bottom: 18px;
    color: #d85cff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.services-hero h1 {
    margin-bottom: 22px;
}

.services-hero p {
    max-width: 780px;
    margin: 0 auto 30px;
    color: var(--color-body);
    font-size: 19px;
    line-height: 1.7;
}

.services-directory {
    padding: 90px 0 110px;
}

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

.services-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    background: rgba(20, 20, 24, .72);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.services-card:hover,
.services-card:focus-within {
    transform: translateY(-5px);
    border-color: rgba(216, 92, 255, .5);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .22);
}

.services-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 17px;
    color: #d85cff;
    background: linear-gradient(135deg, rgba(123, 63, 242, .2), rgba(216, 59, 210, .14));
}

.services-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-card h2 {
    margin-bottom: 15px;
    font-size: 24px;
    line-height: 1.3;
}

.services-card p {
    flex: 1;
    margin-bottom: 22px;
    color: var(--color-body);
    font-size: 16px;
    line-height: 1.75;
}

.services-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #d85cff;
    font-weight: 700;
}

.services-card-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform .2s ease;
}

.services-card-link:hover svg {
    transform: translateX(4px);
}

body.active-light-mode .services-card {
    border-color: rgba(23, 23, 34, .1);
    background: #fff;
    box-shadow: 0 12px 35px rgba(26, 16, 55, .06);
}

.services-cta {
    padding: 0 0 110px;
}

.services-cta-inner {
    padding: clamp(38px, 7vw, 70px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(123, 63, 242, .18), rgba(216, 59, 210, .12));
}

.services-cta-inner p {
    max-width: 650px;
    margin: 14px auto 26px;
}

@media (max-width: 991px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .services-hero { padding: 125px 0 60px; }
    .services-hero p { font-size: 17px; }
    .services-directory { padding: 65px 0 80px; }
    .services-grid { grid-template-columns: 1fr; }
    .services-card { padding: 26px; }
    .services-cta { padding-bottom: 80px; }
}
