.services-stage {
    align-items: flex-start;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3, 6, 13, 0.64), rgba(3, 6, 13, 0.08) 48%, rgba(3, 6, 13, 0.18)),
        linear-gradient(180deg, rgba(3, 6, 13, 0.04), rgba(3, 6, 13, 0.2)),
        url("../../images/anh_trang_2.png");
    background:
        linear-gradient(90deg, rgba(3, 6, 13, 0.64), rgba(3, 6, 13, 0.08) 48%, rgba(3, 6, 13, 0.18)),
        linear-gradient(180deg, rgba(3, 6, 13, 0.04), rgba(3, 6, 13, 0.2)),
        image-set(
            url("../../images/anh_trang_2.webp") type("image/webp"),
            url("../../images/anh_trang_2.png") type("image/png")
        );
    background-size: cover;
    background-position: center;
}

.services-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 52%, rgba(20, 232, 210, 0.12), transparent 30rem);
    pointer-events: none;
}

.services-stage .container {
    position: relative;
    z-index: 2;
}

.service-title-layout {
    display: grid;
    align-content: center;
    min-height: 100svh;
    padding: clamp(76px, 10vh, 96px) 0 clamp(28px, 4vh, 42px);
}

.service-title-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.service-title-card {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 278px;
    border-radius: var(--radius);
    padding: 22px;
    overflow: hidden;
    transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.service-title-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(35, 238, 205, 0.74), transparent);
    opacity: 0;
    transition: opacity 260ms ease;
}

.service-title-card:hover,
.service-title-card:focus-visible {
    transform: translateY(-8px);
    border-color: rgba(35, 238, 205, 0.48);
    background: rgba(10, 24, 42, 0.76);
    outline: 0;
    box-shadow: var(--shadow), 0 0 34px rgba(35, 238, 205, 0.13);
}

.service-title-card:hover::after,
.service-title-card:focus-visible::after {
    opacity: 1;
}

.service-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.service-number {
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.service-card-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--green);
}

.service-card-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-title-card h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(1.18rem, 1.75vw, 1.52rem);
    line-height: 1.1;
}

.service-card-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card-list li {
    position: relative;
    padding-left: 24px;
    color: rgba(238, 246, 255, 0.74);
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 700;
}

.service-card-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(105, 245, 189, 0.5);
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    margin-top: 16px;
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 900;
    transition: color 180ms ease, text-shadow 180ms ease;
}

.service-title-card:hover .service-card-cta,
.service-title-card:focus-visible .service-card-cta {
    color: #ffffff;
    text-shadow: 0 0 18px rgba(35, 238, 205, 0.58);
}

.tech-arc-slider {
    position: relative;
    width: min(100%, 920px);
    height: 148px;
    margin: clamp(8px, 1.6vh, 16px) auto 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.tech-arc-track {
    position: absolute;
    inset: 0;
}

.tech-logo {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(88, 225, 255, 0.16);
    border-radius: 999px;
    background: rgba(4, 12, 24, 0.62);
    box-shadow: inset 0 0 18px rgba(88, 225, 255, 0.04);
    will-change: transform, opacity;
}

.tech-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.tech-logo strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 22px;
    border-radius: 4px;
    color: #ffffff;
    background: linear-gradient(135deg, #005baa, #ed1b2f);
    font-size: 0.66rem;
    font-weight: 900;
}

.tech-logo[data-logo-name="Next.js"] img,
.tech-logo[data-logo-name="Express"] img {
    filter: invert(1);
}


@media (min-width: 1181px) {
    .services-stage {
        align-items: stretch;
        height: 100svh;
        min-height: 100svh;
    }

    @supports (height: 100dvh) {
        .services-stage {
            height: 100dvh;
            min-height: 100dvh;
        }
    }

    .service-title-layout {
        min-height: 0;
        height: 100%;
    }
}
