.home-services-preview {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    isolation: isolate;
    background:
        radial-gradient(circle at 14% 18%, rgba(163, 255, 18, 0.15), transparent 30%),
        radial-gradient(circle at 86% 22%, rgba(0, 229, 255, 0.1), transparent 28%),
        linear-gradient(135deg, #080b0a 0%, #101614 50%, #070908 100%);
    color: var(--color-text-light);
}

.home-services-preview::after {
    content: "SERVICES";
    position: absolute;
    right: 0;
    top: 86px;
    z-index: -1;
    transform: translateX(18%);
    color: rgba(248, 250, 252, 0.035);
    font-family: var(--font-heading);
    font-size: clamp(5rem, 15vw, 15rem);
    font-weight: 950;
    letter-spacing: -0.095em;
    line-height: 0.8;
    pointer-events: none;
}

.home-services-bg-shape {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
}

.home-services-bg-shape-one {
    left: -170px;
    top: 160px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(163, 255, 18, 0.12);
    background: radial-gradient(circle, rgba(163, 255, 18, 0.08), transparent 66%);
}

.home-services-bg-shape-two {
    right: -180px;
    bottom: 170px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    background: radial-gradient(circle, rgba(0, 229, 255, 0.07), transparent 66%);
}

.home-services-intro-shell,
.home-services-stage-shell,
.home-services-bottom-shell {
    width: min(100% - 64px, 1480px);
    margin-inline: auto;
}

.home-services-intro-shell {
    position: relative;
    z-index: 2;
    max-width: 1480px;
    padding: 126px 0 10px;
}

.home-services-intro-shell h2 {
    max-width: 1040px;
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 5.4vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.078em;
}

.home-services-intro-shell > p {
    max-width: 760px;
    color: rgba(248, 250, 252, 0.72);
    font-size: 1.08rem;
}

.home-services-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.home-services-pin-zone {
    position: relative;
    z-index: 3;
    min-height: 600svh;
}

.home-services-sticky-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    align-items: center;
    padding: 86px 0 26px;
}

.home-services-stage-shell {
    display: grid;
    grid-template-columns: minmax(340px, 0.74fr) minmax(500px, 1.26fr);
    gap: 42px;
    align-items: stretch;
}

.home-services-step-list {
    height: min(720px, calc(100svh - 132px));
    display: grid;
    grid-template-rows: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.home-service-step {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(248, 250, 252, 0.09);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(248, 250, 252, 0.065), rgba(248, 250, 252, 0.025)),
        rgba(248, 250, 252, 0.035);
    opacity: 0.58;
    transform: scale(0.982);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.home-service-step::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 170px;
    height: 170px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(163, 255, 18, 0.13), transparent 66%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.home-service-step.is-active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(163, 255, 18, 0.42);
    background:
        radial-gradient(circle at top right, rgba(163, 255, 18, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(248, 250, 252, 0.105), rgba(248, 250, 252, 0.035));
}

.home-service-step.is-active::after {
    opacity: 1;
}

.home-service-step-button {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: center;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 17px;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.home-service-step-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.08);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 950;
}

.home-service-step.is-active .home-service-step-number {
    background: var(--color-primary);
    color: var(--color-bg-dark);
}

.home-service-step-copy strong {
    display: block;
    margin-bottom: 5px;
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-size: 1.02rem;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.home-service-step-copy small {
    display: block;
    color: rgba(248, 250, 252, 0.62);
    font-size: 0.79rem;
    font-weight: 650;
    line-height: 1.42;
}

.home-service-step-link {
    position: absolute;
    right: 18px;
    bottom: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 900;
    opacity: 0;
    transform: translateY(4px);
    transition:
        opacity 0.24s ease,
        transform 0.24s ease;
}

.home-service-step.is-active .home-service-step-link,
.home-service-step:hover .home-service-step-link {
    opacity: 1;
    transform: translateY(0);
}

.home-service-step-link span {
    transition: transform 0.2s ease;
}

.home-service-step-link:hover span {
    transform: translateX(5px);
}

.home-services-feature-card {
    position: relative;
    overflow: hidden;
    height: min(720px, calc(100svh - 132px));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(248, 250, 252, 0.11);
    border-radius: 36px;
    background:
        linear-gradient(145deg, rgba(248, 250, 252, 0.09), rgba(248, 250, 252, 0.025)),
        rgba(16, 22, 20, 0.78);
    box-shadow: var(--shadow-dark);
    backdrop-filter: blur(18px);
}

.home-services-feature-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(248, 250, 252, 0.06);
    border-radius: 28px;
    pointer-events: none;
}

.home-services-feature-card::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -140px;
    width: 330px;
    height: 330px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(163, 255, 18, 0.11), transparent 66%);
    pointer-events: none;
}

.home-services-feature-top,
.home-services-feature-content,
.home-services-feature-footer {
    position: relative;
    z-index: 2;
}

.home-services-feature-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 34px 34px 0;
}

.home-services-feature-top > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-services-feature-top span {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--color-primary);
    color: var(--color-bg-dark);
    font-family: var(--font-heading);
    font-weight: 950;
}

.home-services-feature-top p {
    padding: 9px 13px;
    border: 1px solid rgba(248, 250, 252, 0.12);
    border-radius: 999px;
    color: rgba(248, 250, 252, 0.68);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-services-feature-top > a {
    color: rgba(248, 250, 252, 0.62);
    font-size: 0.88rem;
    font-weight: 850;
}

.home-services-feature-top > a:hover {
    color: var(--color-primary);
}

.home-services-feature-content {
    padding: 42px 34px;
}

.home-services-feature-content h3 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 5.7vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.085em;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

.home-services-feature-content > p {
    max-width: 760px;
    color: rgba(248, 250, 252, 0.72);
    font-size: 1.08rem;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

.home-services-feature-card.is-changing .home-services-feature-content h3,
.home-services-feature-card.is-changing .home-services-feature-content > p {
    opacity: 0;
    transform: translateY(8px);
}

.home-services-feature-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.home-services-feature-tags span {
    position: relative;
    padding: 15px 15px 15px 40px;
    border: 1px solid rgba(248, 250, 252, 0.09);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.045);
    color: rgba(248, 250, 252, 0.76);
    font-size: 0.92rem;
    font-weight: 800;
}

.home-services-feature-tags span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 17px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--color-primary);
    transform: translateY(-50%);
    box-shadow: 0 0 0 7px rgba(163, 255, 18, 0.08);
}

.home-services-feature-footer {
    display: grid;
    gap: 28px;
    padding: 0 34px 34px;
}

.home-services-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: rgba(163, 255, 18, 0.55);
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.home-services-feature-link > span:last-child {
    transition: transform 0.2s ease;
}

.home-services-feature-link:hover > span:last-child {
    transform: translateX(5px);
}

.home-services-progress {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-services-progress > div {
    position: relative;
    flex: 1;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.12);
}

.home-services-progress > div span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 16.666%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.35s ease;
}

.home-services-progress p {
    color: rgba(248, 250, 252, 0.62);
    font-weight: 950;
}

.home-services-progress p span {
    color: var(--color-primary);
}

.home-services-bottom-shell {
    position: relative;
    z-index: 2;
    padding: 72px 0 112px;
}

.home-services-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    padding: 38px;
    border: 1px solid rgba(248, 250, 252, 0.1);
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(163, 255, 18, 0.11), transparent 34%),
        rgba(248, 250, 252, 0.045);
}

.home-services-bottom h3 {
    margin-bottom: 12px;
    font-size: clamp(1.9rem, 3vw, 3rem);
    letter-spacing: -0.06em;
}

.home-services-bottom p {
    max-width: 760px;
    color: rgba(248, 250, 252, 0.68);
}

.home-services-bottom-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Tablet */
@media (max-width: 1180px) {
    .home-services-stage-shell,
    .home-services-bottom {
        grid-template-columns: 1fr;
    }

    .home-services-step-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: none;
        height: auto;
        order: 2;
    }

    .home-service-step {
        min-height: 128px;
    }

    .home-services-feature-card {
        height: auto;
        min-height: 560px;
        order: 1;
    }
    .home-service-step-button {
        height: 80%;
        padding: 10px;
    }
}

/* MOBILE REIMAGINED — service name tabs + preview card */
@media (max-width: 820px) {
    .home-services-preview {
        overflow-x: hidden;
        overflow-y: visible;
    }

    .home-services-preview::after,
    .home-services-bg-shape-one,
    .home-services-bg-shape-two {
        display: none !important;
    }

    .home-services-intro-shell,
    .home-services-stage-shell,
    .home-services-bottom-shell {
        width: min(100% - 28px, 1180px);
    }

    .home-services-intro-shell {
        padding: 82px 0 42px;
    }

    .home-services-intro-shell h2 {
        font-size: clamp(2.25rem, 11vw, 3.6rem);
    }

    .home-services-intro-shell > p {
        font-size: 0.98rem;
    }

    .home-services-intro-actions,
    .home-services-bottom-actions {
        flex-direction: column;
    }

    .home-services-intro-actions .btn,
    .home-services-bottom-actions .btn {
        width: 100%;
    }

    .home-services-pin-zone {
        height: auto !important;
        min-height: 0 !important;
    }

    .home-services-sticky-stage {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: 0 !important;
        display: block;
        padding: 0 0 58px;
        overflow: visible;
    }

    .home-services-stage-shell {
        height: auto !important;
        min-height: 0 !important;
        display: flex;
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }

    .home-services-step-list {
        order: 1;
        height: auto !important;
        min-height: 0 !important;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 9px;
    }

    .home-service-step {
        min-height: 54px !important;
        height: auto !important;
        border-radius: 15px;
        opacity: 0.72;
        transform: none;
    }

    .home-service-step.is-active {
        opacity: 1;
        transform: none;
    }

    .home-service-step::after {
        display: none;
    }

    .home-service-step-button {
        width: 100%;
        min-height: 54px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 11px 10px !important;
        text-align: center;
    }

    .home-service-step-number {
        display: none !important;
    }

    .home-service-step-copy {
        display: block !important;
        width: 100%;
    }

    .home-service-step-copy strong {
        display: block;
        margin: 0;
        color: rgba(248, 250, 252, 0.76);
        font-family: var(--font-heading);
        font-size: 0.75rem;
        font-weight: 950;
        line-height: 1.15;
        letter-spacing: -0.025em;
    }

    .home-service-step.is-active .home-service-step-copy strong {
        color: var(--color-primary);
    }

    .home-service-step-copy small,
    .home-service-step-link {
        display: none !important;
    }

    .home-services-feature-card {
        order: 2;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        display: block !important;
        border-radius: 24px;
        overflow: hidden;
    }

    .home-services-feature-card::before {
        inset: 10px;
        border-radius: 18px;
    }

    .home-services-feature-card::after {
        right: -170px;
        bottom: -180px;
        width: 280px;
        height: 280px;
    }

    .home-services-feature-top {
        padding: 24px 24px 0;
        gap: 12px;
    }

    .home-services-feature-top > div {
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .home-services-feature-top span {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 0.78rem;
    }

    .home-services-feature-top p {
        padding: 7px 10px;
        font-size: 0.66rem;
    }

    .home-services-feature-top > a {
        font-size: 0.74rem;
        white-space: nowrap;
    }

    .home-services-feature-content {
        display: block;
        padding: 34px 24px;
    }

    .home-services-feature-content h3 {
        margin-bottom: 16px;
        font-size: clamp(2.2rem, 12vw, 4rem);
        line-height: 0.94;
    }

    .home-services-feature-content > p {
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .home-services-feature-tags {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 24px;
    }

    .home-services-feature-tags span {
        padding: 11px 12px 11px 34px;
        border-radius: 14px;
        font-size: 0.78rem;
        line-height: 1.25;
    }

    .home-services-feature-tags span::before {
        left: 14px;
        width: 7px;
        height: 7px;
        box-shadow: 0 0 0 5px rgba(163, 255, 18, 0.08);
    }

    .home-services-feature-footer {
        gap: 18px;
        padding: 0 24px 24px;
    }

    .home-services-feature-link {
        font-size: 0.88rem;
        text-decoration-thickness: 2px;
        text-underline-offset: 5px;
    }

    .home-services-progress {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .home-services-progress > div {
        width: 100%;
        flex: none;
        height: 7px;
    }

    .home-services-progress p {
        font-size: 0.82rem;
    }

    .home-services-bottom-shell {
        padding: 56px 0 76px;
    }

    .home-services-bottom {
        grid-template-columns: 1fr;
        padding: 26px;
        border-radius: 24px;
    }
}

@media (max-width: 430px) {
    .home-services-intro-shell,
    .home-services-stage-shell,
    .home-services-bottom-shell {
        width: min(100% - 22px, 1180px);
    }

    .home-services-step-list {
        gap: 7px;
    }

    .home-service-step {
        min-height: 48px !important;
        border-radius: 13px;
    }

    .home-service-step-button {
        min-height: 48px;
        padding: 9px 8px !important;
    }

    .home-service-step-copy strong {
        font-size: 0.68rem;
    }

    .home-services-feature-card {
        border-radius: 22px;
    }

    .home-services-feature-top {
        padding: 20px 20px 0;
    }

    .home-services-feature-top span {
        width: 40px;
        height: 40px;
        border-radius: 13px;
        font-size: 0.72rem;
    }

    .home-services-feature-top p {
        font-size: 0.6rem;
    }

    .home-services-feature-top > a {
        font-size: 0.68rem;
    }

    .home-services-feature-content {
        padding: 30px 20px;
    }

    .home-services-feature-content h3 {
        font-size: clamp(2rem, 11vw, 3.4rem);
    }

    .home-services-feature-content > p {
        font-size: 0.88rem;
    }

    .home-services-feature-tags {
        margin-top: 20px;
    }

    .home-services-feature-tags span {
        padding: 10px 11px 10px 32px;
        font-size: 0.72rem;
    }

    .home-services-feature-footer {
        padding: 0 20px 20px;
    }

    .home-services-feature-link {
        font-size: 0.8rem;
    }
}