/* Services list hero — HTML layout matching the mock (no full-banner image) */

.rstc-svc-hero {
    --rstc-lime: #c6f25a;
    --rstc-green: #8BC53F;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(105deg, #06140a 0%, #0a1f10 42%, #07180c 100%);
}

.rstc-svc-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.rstc-svc-hero__glow {
    position: absolute;
    width: 70%;
    height: 90%;
    top: 5%;
    right: -8%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(139, 197, 63, 0.28) 0%, transparent 62%);
}

.rstc-svc-hero__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: radial-gradient(rgba(198, 242, 90, 0.45) 1px, transparent 1.2px);
    background-size: 18px 18px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 38%, #000 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 38%, #000 72%, transparent 100%);
}

.rstc-svc-hero__wave {
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -18%;
    height: 48%;
    background:
        radial-gradient(ellipse 55% 70% at 18% 70%, rgba(139, 197, 63, 0.18), transparent 70%),
        radial-gradient(ellipse 50% 60% at 72% 80%, rgba(198, 242, 90, 0.1), transparent 68%);
}

.rstc-svc-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.18fr);
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 3.5vw, 40px);
}

.rstc-svc-hero__copy {
    max-width: 420px;
}

.rstc-svc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(198, 242, 90, 0.22);
    background: rgba(7, 24, 12, 0.55);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.rstc-svc-hero__badge svg {
    color: var(--rstc-lime);
    flex: none;
}

.rstc-svc-hero__title {
    margin: 0;
    font-family: Poppins, "Be Vietnam Pro", sans-serif;
    font-size: clamp(2.8rem, 5.4vw, 4.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
}

.rstc-svc-hero__rule {
    display: block;
    width: 54px;
    height: 3px;
    margin: 14px 0 16px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--rstc-lime), var(--rstc-green));
}

.rstc-svc-hero__lead {
    margin: 0 0 24px;
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15.5px;
    line-height: 1.55;
}

.rstc-svc-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rstc-lime) 0%, var(--rstc-green) 100%);
    color: #10210f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(139, 197, 63, 0.28);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.rstc-svc-hero__btn:hover {
    color: #07180c;
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.rstc-svc-hero__art {
    margin: 0;
    justify-self: end;
    width: min(100%, 640px);
}

.rstc-svc-hero__art img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: lighten;
}

@media (max-width: 991px) {
    .rstc-svc-hero__inner {
        grid-template-columns: 1fr;
        width: min(100% - 36px, 720px);
        padding: 36px 0 20px;
        gap: 12px;
    }

    .rstc-svc-hero__copy {
        max-width: none;
    }

    .rstc-svc-hero__art {
        justify-self: center;
        width: min(100%, 560px);
        margin-top: 4px;
    }

    .rstc-svc-hero__glow {
        width: 100%;
        right: -20%;
        top: 35%;
    }
}

@media (max-width: 575px) {
    .rstc-svc-hero__inner {
        width: calc(100% - 32px);
        padding: 30px 0 12px;
    }

    .rstc-svc-hero__title {
        font-size: clamp(2.4rem, 11vw, 3.2rem);
    }

    .rstc-svc-hero__lead {
        font-size: 14.5px;
    }

    .rstc-svc-hero__art {
        margin: 4px -4px 0;
        width: calc(100% + 8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rstc-svc-hero__btn {
        transition: none;
    }
}
