.services-page {
    --services-shell: min(1760px, calc(100% - clamp(2rem, 7vw, 8rem)));
    background: #050609;
    color: #f7f8fb;
    overflow: clip;
}

.services-page :where(h1, h2, h3, p) { margin-top: 0; }
.services-page p { color: #b8c0cf; }
.services-shell { width: var(--services-shell); margin-inline: auto; }
.services-section { padding-block: clamp(5rem, 9vw, 10rem); }
.services-kicker {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.15rem;
    color: #ff334d !important;
    font: 800 .76rem/1.3 "Roboto Mono", "Cascadia Mono", Consolas, monospace;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.services-kicker::before { content: ""; width: 3rem; height: 2px; background: #ff233f; box-shadow: 0 0 16px rgba(255,35,63,.7); }

.services-hero {
    position: relative;
    min-height: min(900px, calc(100svh - 92px));
    display: grid;
    align-items: center;
    isolation: isolate;
    background:
        linear-gradient(110deg, rgba(5,6,9,.99) 0 45%, rgba(5,6,9,.68) 66%, rgba(5,6,9,.94) 100%),
        radial-gradient(circle at 76% 45%, rgba(196,8,37,.32), transparent 30rem),
        #050609;
}
.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, #000 0 76%, transparent);
}
.services-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    z-index: -1;
    background: linear-gradient(transparent, #050609);
}
.services-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .82fr); align-items: center; gap: clamp(2.5rem, 4vw, 5rem); padding-block: clamp(4.5rem, 7vw, 7rem); }
.services-hero__copy { position: relative; z-index: 2; min-width: 0; max-width: 980px; }
.services-hero h1 { max-width: 1050px; margin-bottom: 1.5rem; font-size: clamp(3.3rem, 6.4vw, 7.5rem); text-transform: uppercase; }
.services-hero h1::first-line { color: #fff; }
.services-hero__lead { max-width: 900px; font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.8; color: #c9cfda !important; }
.services-hero__proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 760px; margin: clamp(2.5rem, 5vw, 4.5rem) 0 0; padding: 0; list-style: none; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); }
.services-hero__proof li { min-height: 112px; display: grid; align-content: center; padding: 1.1rem; background: rgba(8,9,13,.92); }
.services-hero__proof strong { color: #fff; font-size: clamp(1.45rem, 2.6vw, 2.4rem); line-height: 1; }
.services-hero__proof span { color: #8f99a9; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.services-hero__visual { position: relative; align-self: center; display: grid; place-items: end center; min-height: 760px; }
.services-hero__visual::before { content: ""; position: absolute; inset: 14% -12% 6%; background: radial-gradient(ellipse, rgba(255,24,55,.27), transparent 62%); filter: blur(20px); }
.services-hero__visual img { position: relative; z-index: 2; width: min(100%, 680px); max-height: 840px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 30px 38px rgba(0,0,0,.75)); }
.services-orbit { position: absolute; left: 50%; bottom: 9%; width: 95%; aspect-ratio: 1; border: 1px solid rgba(255,39,66,.24); border-radius: 50%; transform: translateX(-50%) rotateX(72deg); }
.services-orbit--two { width: 70%; bottom: 14%; border-color: rgba(98,244,255,.17); }
.services-hero__signal { position: absolute; z-index: 3; left: 0; right: 0; bottom: 2rem; display: flex; align-items: center; gap: .65rem; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.16); background: rgba(5,6,9,.82); backdrop-filter: blur(14px); font: 700 .68rem/1 "Roboto Mono", monospace; letter-spacing: .12em; }
.services-hero__signal i { width: .55rem; aspect-ratio: 1; border-radius: 50%; background: #45f7a2; box-shadow: 0 0 14px #45f7a2; }
.services-hero__signal b { margin-left: auto; color: #45f7a2; }

.services-jump { position: sticky; top: 92px; z-index: 30; border-block: 1px solid rgba(255,255,255,.1); background: rgba(4,5,8,.91); backdrop-filter: blur(18px); }
.services-jump__track { display: flex; gap: .25rem; overflow-x: auto; padding-block: .65rem; scrollbar-width: thin; scrollbar-color: #ff2f4f transparent; }
.services-jump a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem .9rem; border-radius: 8px; color: #c8cfda; font: 700 .72rem/1 "Roboto Mono", monospace; text-decoration: none; text-transform: uppercase; }
.services-jump a:hover, .services-jump a:focus-visible { color: #fff; background: rgba(255,47,79,.12); }
.services-jump a span { color: #ff334d; }

.services-intro { background: linear-gradient(180deg, #050609, #080a10); }
.services-intro__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, .78fr); gap: clamp(3rem, 8vw, 10rem); align-items: start; }
.services-intro h2, .services-heading h2, .services-process h2, .services-industries h2, .services-faq h2 { max-width: 1100px; font-size: clamp(2.5rem, 5vw, 5.5rem); text-transform: uppercase; }
.services-intro__copy { padding-top: 1.5rem; font-size: clamp(1rem, 1.25vw, 1.2rem); }
.services-intro__copy p { line-height: 1.85; }
.services-needs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(3rem, 7vw, 7rem); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.services-needs a { min-height: 190px; display: grid; align-content: end; padding: 1.5rem; background: #0a0c12; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.services-needs a:hover { background: linear-gradient(145deg, rgba(180,0,34,.35), #0a0c12 62%); transform: translateY(-5px); }
.services-needs span { color: #ff334d; font: 800 .72rem/1 "Roboto Mono", monospace; }
.services-needs strong { margin-top: 2rem; color: #fff; font-size: 1.2rem; }
.services-needs small { color: #8892a3; }

.services-catalogue { position: relative; background: #080a10; }
.services-catalogue::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 0 18%, rgba(255,35,63,.1), transparent 24rem), radial-gradient(circle at 100% 62%, rgba(98,244,255,.07), transparent 26rem); }
.services-heading { position: relative; max-width: 1180px; margin-bottom: clamp(3rem, 7vw, 7rem); }
.services-heading > p:last-child { max-width: 850px; font-size: 1.08rem; }
.services-detail-list { position: relative; display: grid; gap: clamp(3rem, 7vw, 7rem); }
.services-detail { scroll-margin-top: 175px; display: grid; grid-template-columns: clamp(180px, 14vw, 230px) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: stretch; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid rgba(255,255,255,.12); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); box-shadow: 0 36px 100px rgba(0,0,0,.28); }
.services-detail:nth-child(even) { grid-template-columns: minmax(0, 1fr) clamp(180px, 14vw, 230px); }
.services-detail:nth-child(even) .services-detail__visual { order: 2; }
.services-detail__visual { position: relative; min-height: 440px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(173,0,28,.18), transparent 52%), linear-gradient(180deg, #0c0e15, #050609); border: 1px solid rgba(255,255,255,.08); }
.services-detail__visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 48px 48px; }
.services-detail__visual > span { position: relative; z-index: 1; display: grid; place-items: center; width: min(72%, 150px); aspect-ratio: 1; border: 1px solid rgba(255,51,77,.48); background: radial-gradient(circle, rgba(255,51,77,.16), rgba(255,255,255,.02) 58%, transparent 59%), #070911; box-shadow: inset 0 0 52px rgba(255,51,77,.12), 0 0 54px rgba(255,51,77,.1); color: #fff; font: 950 clamp(3.2rem, 5vw, 5.4rem)/1 "Roboto Mono", monospace; }
.services-detail__visual > span::before, .services-detail__visual > span::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,51,77,.3); transform: rotate(45deg); }
.services-detail__visual > span::after { inset: 24%; border-color: rgba(98,244,255,.16); transform: rotate(-45deg); }
.services-detail__visual > p { position: absolute; z-index: 2; left: 1.2rem; right: 1.2rem; bottom: 1rem; margin: 0; padding: .75rem; border: 1px solid rgba(255,255,255,.12); background: rgba(5,6,9,.78); color: #fff; font: 750 .72rem/1 "Roboto Mono", monospace; text-align: center; text-transform: uppercase; letter-spacing: .14em; backdrop-filter: blur(12px); }
.services-detail__content { min-width: 0; align-self: center; padding: clamp(1.5rem, 3vw, 3.5rem) clamp(.5rem, 1.5vw, 1.5rem); }
.services-detail__content h2 { margin-bottom: .6rem; font-size: clamp(2.8rem, 5vw, 5.7rem); text-transform: uppercase; }
.services-detail__headline { max-width: 900px; color: #fff !important; font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 720; }
.services-detail__content > p:not(.services-kicker):not(.services-detail__headline) { max-width: 980px; line-height: 1.85; }
.services-best-for { max-width: 980px; margin: 2rem 0; padding: 1.15rem 1.25rem; border-left: 3px solid #ff2f4f; background: rgba(255,47,79,.065); }
.services-best-for strong { display: block; margin-bottom: .25rem; color: #ff6076; font: 800 .72rem/1.4 "Roboto Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
.services-best-for p { margin: 0; }
.services-detail__columns { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2rem; }
.services-detail__columns h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.services-detail__columns ul { display: grid; gap: .62rem; margin: 0; padding: 0; list-style: none; }
.services-detail__columns li { position: relative; padding-left: 1.2rem; color: #c2c9d5; font-size: .94rem; }
.services-detail__columns li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: #ff334d; box-shadow: 0 0 10px rgba(255,51,77,.65); }
.services-detail__actions { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.11); }
.services-text-link { min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 850; text-decoration: none; }
.services-text-link span { color: #ff334d; transition: transform .2s ease; }
.services-text-link:hover span { transform: translateX(.3rem); }
.services-text-link--muted { color: #8e98a8; }

.services-support { background: #050609; border-block: 1px solid rgba(255,255,255,.08); }
.services-support__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.services-support__grid article, .services-models article { min-height: 330px; padding: clamp(1.4rem, 2.8vw, 2.4rem); border: 1px solid rgba(255,255,255,.12); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.services-support__grid article > span, .services-models article > span { display: inline-grid; place-items: center; min-width: 3.2rem; height: 2rem; margin-bottom: 3rem; border: 1px solid rgba(255,47,79,.4); color: #ff526a; font: 800 .68rem/1 "Roboto Mono", monospace; }
.services-support__grid h3, .services-models h3 { font-size: 1.45rem; text-transform: uppercase; }
.services-support__grid a { color: #62f4ff; font-weight: 800; text-decoration: none; }

.services-process { background: linear-gradient(135deg, #090b12, #050609); }
.services-process__layout { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); gap: clamp(3rem, 9vw, 10rem); align-items: start; }
.services-process__sticky { position: sticky; top: 180px; }
.services-process__steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.services-process__steps li { min-height: 190px; display: grid; grid-template-columns: 100px 1fr; gap: 1.5rem; align-items: center; padding: 2rem; border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.035); }
.services-process__steps li > span { color: #ff334d; font: 900 clamp(2rem, 4vw, 4rem)/1 "Roboto Mono", monospace; }
.services-process__steps h3 { margin-bottom: .5rem; font-size: 1.7rem; text-transform: uppercase; }
.services-process__steps p { margin-bottom: 0; }

.services-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.services-models article { min-height: 420px; }
.services-models ul { padding-left: 1.1rem; color: #cbd1dc; }
.services-models li::marker { color: #ff334d; }

.services-industries { background: #f3f1ef; color: #111218; }
.services-industries p { color: #555b66; }
.services-industries h2 { color: #111218; }
.services-industries__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 9rem); align-items: center; }
.services-tag-cloud { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.services-tag-cloud li { padding: .85rem 1.05rem; border: 1px solid #c8c7c5; background: #fff; color: #1d2028; font-weight: 750; }

.services-faq { background: #090b11; }
.services-faq__grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.services-faq__intro { position: sticky; top: 180px; }
.services-faq__list { display: grid; gap: .75rem; }
.services-faq details { margin: 0; padding: 0; border-radius: 0; background: rgba(255,255,255,.035); box-shadow: none; }
.services-faq summary { display: flex; align-items: center; gap: 1rem; min-height: 86px; padding: 1.25rem 1.5rem; list-style: none; font-size: 1rem; }
.services-faq summary::-webkit-details-marker { display: none; }
.services-faq summary::after { content: "+"; margin-left: auto; color: #ff334d; font-size: 1.6rem; }
.services-faq details[open] summary::after { content: "−"; }
.services-faq summary span { color: #ff334d; font: 800 .72rem/1 "Roboto Mono", monospace; }
.services-faq details p { margin: 0; padding: 0 1.5rem 1.5rem 3.9rem; line-height: 1.8; }

@media (max-width: 1280px) {
    .services-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(380px, .7fr); }
    .services-hero__visual { min-height: 650px; }
    .services-hero__visual img { width: min(100%, 540px); max-height: 720px; }
    .services-detail { grid-template-columns: 170px minmax(0, 1fr); gap: 2rem; }
    .services-detail:nth-child(even) { grid-template-columns: minmax(0, 1fr) 170px; }
    .services-support__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .services-page { --services-shell: min(100% - 2rem, 760px); }
    .services-hero { min-height: auto; }
    .services-hero__grid, .services-intro__grid, .services-process__layout, .services-industries__grid, .services-faq__grid { grid-template-columns: 1fr; }
    .services-hero__copy { padding-top: 1rem; }
    .services-hero__visual { min-height: 520px; }
    .services-hero__visual img { width: min(100%, 430px); max-height: 540px; }
    .services-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services-detail, .services-detail:nth-child(even) { grid-template-columns: 1fr; }
    .services-detail:nth-child(even) .services-detail__visual { order: 0; }
    .services-detail__visual { min-height: 170px; grid-template-columns: 130px minmax(0, 1fr); place-items: center; padding: 1rem; }
    .services-detail__visual > span { width: 108px; font-size: 3.45rem; }
    .services-detail__visual > p { position: relative; inset: auto; width: 100%; transform: none; overflow-wrap: anywhere; line-height: 1.45; }
    .services-process__sticky, .services-faq__intro { position: static; }
    .services-models { grid-template-columns: 1fr; }
    .services-models article { min-height: auto; }
    .services-tag-cloud { justify-content: flex-start; }
}

@media (max-width: 600px) {
    .services-page { --services-shell: calc(100% - 1.25rem); }
    .services-section { padding-block: 4.75rem; }
    .services-hero__grid { padding-block: 3rem 4rem; }
    .services-kicker { gap: .55rem; font-size: .64rem; letter-spacing: .1em; overflow-wrap: anywhere; }
    .services-kicker::before { width: 1.8rem; flex: 0 0 1.8rem; }
    .services-hero h1 { font-size: clamp(1.95rem, 10vw, 3.25rem); overflow-wrap: anywhere; }
    .services-hero__lead { font-size: 1rem; }
    .services-hero__proof { grid-template-columns: 1fr; }
    .services-hero__proof li { min-height: 88px; }
    .services-hero__visual { min-height: 430px; }
    .services-hero__visual img { width: min(100%, 340px); max-height: 440px; }
    .services-jump { top: 76px; }
    .services-needs, .services-support__grid, .services-detail__columns { grid-template-columns: 1fr; }
    .services-needs a { min-height: 150px; }
    .services-detail { padding: .55rem; }
    .services-detail__visual { min-height: 150px; grid-template-columns: 96px 1fr; place-items: center; padding: 1rem; }
    .services-detail__visual > span { width: 86px; font-size: 2.75rem; }
    .services-detail__visual > p { position: relative; inset: auto; width: 100%; transform: none; }
    .services-detail__content { padding: 1.4rem .75rem 2rem; }
    .services-detail__content h2 { font-size: clamp(2rem, 10vw, 3.5rem); overflow-wrap: anywhere; }
    .services-support__grid article { min-height: auto; }
    .services-process__steps li { grid-template-columns: 1fr; min-height: 0; padding: 1.5rem; }
    .services-faq summary { align-items: flex-start; padding: 1rem; }
    .services-faq details p { padding: 0 1rem 1.2rem; }
}

@media (min-width: 2200px) {
    .services-page { --services-shell: min(2100px, calc(100% - 14rem)); }
    .services-hero { min-height: 1080px; }
    .services-hero__visual { min-height: 900px; }
    .services-hero__visual img { width: min(100%, 880px); max-height: 1080px; }
    .services-detail__visual { min-height: 520px; }
    .services-detail__content > p, .services-detail__columns li { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .services-needs a, .services-text-link span { transition: none; }
}
