.cfx33-services-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background:
        radial-gradient(circle at 8% 18%, rgba(249,115,22,.07), transparent 22%),
        radial-gradient(circle at 92% 78%, rgba(15,23,42,.035), transparent 25%),
        var(--c32-bg, #fff);
}

.cfx33-services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .25;
    background-image:
        linear-gradient(var(--c32-line, #e8edf2) 1px, transparent 1px),
        linear-gradient(90deg, var(--c32-line, #e8edf2) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 18%,
            #000 82%,
            transparent
        );
}

html[data-theme="dark"] .cfx33-services-section {
    background:
        radial-gradient(circle at 8% 18%, rgba(249,115,22,.10), transparent 24%),
        radial-gradient(circle at 92% 78%, rgba(59,130,246,.05), transparent 25%),
        var(--c32-bg, #08101d);
}

.cfx33-services-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.cfx33-services-decoration.shape-a {
    width: 180px;
    height: 180px;
    top: 70px;
    inset-inline-start: -78px;
    border: 1px solid rgba(249,115,22,.15);
    border-radius: 38px;
    transform: rotate(31deg);
    animation: cfx33-service-float 10s ease-in-out infinite;
}

.cfx33-services-decoration.shape-b {
    width: 115px;
    height: 115px;
    inset-inline-end: 4%;
    bottom: 8%;
    border: 1px dashed rgba(249,115,22,.18);
    border-radius: 50%;
    animation: cfx33-service-float 8s ease-in-out infinite reverse;
}

.cfx33-services-decoration.code-a {
    top: 24%;
    inset-inline-end: 4%;
    color: var(--c32-text, #111827);
    opacity: .025;
    font: 800 54px Consolas, monospace;
    animation: cfx33-service-float 9s ease-in-out infinite;
}

.cfx33-services-inner {
    position: relative;
    z-index: 2;
}

.cfx33-services-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.cfx33-services-heading > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c32-orange, #f97316);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.cfx33-services-heading > span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c32-orange, #f97316);
    box-shadow:
        0 0 0 6px rgba(249,115,22,.10);
}

.cfx33-services-heading h2 {
    margin: 10px 0 0;
    color: var(--c32-text, #111827);
    font-size: clamp(31px, 4vw, 49px);
    line-height: 1.25;
    letter-spacing: -.045em;
}

.cfx33-services-heading p {
    max-width: 680px;
    margin: 12px auto 0;
    color: var(--c32-muted, #667085);
    font-size: 10px;
    line-height: 1.95;
}

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

.cfx33-service-card {
    --service-accent: #f97316;
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 26px 26px 23px;
    border: 1px solid var(--c32-line, #e8edf2);
    border-radius: 28px;
    color: var(--c32-text, #111827);
    background:
        linear-gradient(
            145deg,
            color-mix(in srgb, var(--c32-card, #fff) 96%, var(--service-accent) 4%),
            var(--c32-card, #fff)
        );
    box-shadow:
        0 14px 38px rgba(15,23,42,.055);
    transition:
        transform .26s ease,
        border-color .26s ease,
        box-shadow .26s ease;
}

html[data-theme="dark"] .cfx33-service-card {
    background:
        radial-gradient(
            circle at 88% 5%,
            color-mix(in srgb, var(--service-accent) 10%, transparent),
            transparent 28%
        ),
        #0c1628;
    border-color:
        rgba(255,255,255,.075);
    box-shadow:
        0 18px 45px rgba(0,0,0,.18);
}

.cfx33-service-card::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    top: -88px;
    inset-inline-end: -70px;
    border: 1px solid
        color-mix(
            in srgb,
            var(--service-accent) 25%,
            transparent
        );
    border-radius: 35px;
    transform: rotate(38deg);
    transition:
        transform .35s ease,
        opacity .35s ease;
    opacity: .65;
}

.cfx33-service-card::after {
    content: "</>";
    position: absolute;
    inset-inline-end: 24px;
    bottom: 22px;
    color: var(--c32-text, #111827);
    opacity: .025;
    font: 900 42px Consolas, monospace;
    transition: transform .28s ease;
}

.cfx33-service-card:hover {
    transform: translateY(-8px);
    border-color:
        color-mix(
            in srgb,
            var(--service-accent) 34%,
            var(--c32-line, #e8edf2)
        );
    box-shadow:
        0 25px 58px rgba(15,23,42,.095);
}

html[data-theme="dark"] .cfx33-service-card:hover {
    box-shadow:
        0 27px 60px rgba(0,0,0,.30),
        0 0 0 1px rgba(249,115,22,.06) inset;
}

.cfx33-service-card:hover::before {
    transform:
        rotate(48deg)
        scale(1.08);
}

.cfx33-service-card:hover::after {
    transform:
        translateY(-5px)
        rotate(-4deg);
}

.cfx33-service-icon {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid
        color-mix(
            in srgb,
            var(--service-accent) 20%,
            transparent
        );
    border-radius: 15px;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            color-mix(
                in srgb,
                var(--service-accent) 82%,
                #fbbf24
            ),
            var(--service-accent)
        );
    box-shadow:
        0 12px 25px
        color-mix(
            in srgb,
            var(--service-accent) 20%,
            transparent
        );
    transition:
        transform .25s ease;
}

html[data-theme="dark"] .cfx33-service-icon {
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #fb923c,
            #f97316
        );
}

.cfx33-service-card:hover
.cfx33-service-icon {
    transform:
        translateY(-3px)
        rotate(-2deg);
}

.cfx33-service-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cfx33-service-title {
    position: relative;
    z-index: 2;
    margin: 26px 0 0;
    color: var(--c32-text, #111827);
    font-size: 18px;
    line-height: 1.55;
    font-weight: 800;
    letter-spacing: -.025em;
}

html[data-theme="dark"]
.cfx33-service-title {
    color: #fff;
}

.cfx33-service-description {
    position: relative;
    z-index: 2;
    margin: 12px 0 22px;
    color: var(--c32-muted, #667085);
    font-size: 10px;
    line-height: 2;
}

html[data-theme="dark"]
.cfx33-service-description {
    color: #aab7c8;
}

.cfx33-service-link {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: auto;
    color: var(--c32-orange, #f97316);
    font-size: 9px;
    font-weight: 800;
    transition:
        gap .18s ease,
        color .18s ease;
}

html[data-theme="dark"]
.cfx33-service-link {
    color: #fb923c;
}

.cfx33-service-card:hover
.cfx33-service-link {
    gap: 11px;
}

.cfx33-service-link .arrow {
    direction: ltr;
    font-size: 13px;
}

.cfx33-service-order {
    position: absolute;
    top: 27px;
    inset-inline-end: 25px;
    z-index: 2;
    color: var(--c32-muted, #667085);
    opacity: .55;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .12em;
}

@keyframes cfx33-service-float {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -14px;
    }
}

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

@media (max-width: 640px) {
    .cfx33-services-section {
        padding: 70px 0;
    }

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

    .cfx33-service-card {
        min-height: 315px;
        padding: 23px;
        border-radius: 23px;
    }

    .cfx33-service-title {
        font-size: 17px;
    }
}

@media (
    prefers-reduced-motion: reduce
) {
    .cfx33-services-decoration,
    .cfx33-service-card,
    .cfx33-service-card::before,
    .cfx33-service-card::after,
    .cfx33-service-icon {
        animation: none !important;
        transition: none !important;
    }
}
