.custom-services-shell {
    position: relative;
    z-index: 1;
    width: min(100% - 40px, 1320px);
    margin: 0 auto;
    padding: 28px 0 96px;
}

.custom-services-breadcrumbs {
    display: flex;
    gap: 9px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.custom-services-breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.custom-services-kicker {
    display: block;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.custom-services-hero {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    margin-top: 34px;
    overflow: hidden;
    background: #070a0d;
    border: 1px solid var(--border);
    border-radius: 12px;
    isolation: isolate;
}

.custom-services-hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(5, 8, 11, 0.98) 0%, rgba(5, 8, 11, 0.88) 34%, rgba(5, 8, 11, 0.25) 63%, rgba(5, 8, 11, 0.04) 100%);
}

.custom-services-hero-copy {
    position: relative;
    z-index: 2;
    width: min(59%, 735px);
    padding: 62px 0 62px 52px;
}

.custom-services-hero h1 {
    max-width: 700px;
    font-size: clamp(45px, 5.9vw, 76px);
    line-height: 1.01;
    letter-spacing: -0.05em;
}

.custom-services-hero-copy > p:not(.custom-services-hero-note) {
    max-width: 600px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.7;
}

.custom-services-actions,
.custom-services-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.custom-services-actions a,
.custom-services-contact a {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 18px;
    color: var(--accent);
    background: rgba(6, 8, 11, 0.82);
    border: 1px solid var(--accent);
    border-radius: 7px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.custom-services-actions .custom-services-primary {
    color: #06080b;
    background: var(--accent);
}

.custom-services-actions .custom-services-primary:hover,
.custom-services-actions .custom-services-primary:focus-visible,
.custom-services-contact a:hover,
.custom-services-contact a:focus-visible {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.custom-services-actions a:not(.custom-services-primary):hover,
.custom-services-actions a:not(.custom-services-primary):focus-visible {
    color: #06080b;
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.custom-services-hero-note {
    max-width: 570px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 13px;
    line-height: 1.6;
}

.custom-services-visual {
    position: absolute;
    z-index: -2;
    inset: 0;
}

.custom-services-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.custom-services-use-cases,
.custom-services-process,
.custom-services-delivery,
.mocap-request-section {
    margin-top: 100px;
}

.custom-services-section-heading,
.mocap-request-intro {
    max-width: 820px;
}

.custom-services-section-heading h2,
.custom-services-delivery h2,
.custom-services-contact h2,
.mocap-request-intro h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.custom-services-section-heading > p,
.mocap-request-intro > p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.custom-services-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.custom-services-card-grid article {
    min-height: 260px;
    padding: 25px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.custom-services-card-grid article > span,
.custom-services-process li > span {
    color: rgba(215, 255, 0, 0.56);
    font-size: 12px;
    font-weight: 800;
}

.custom-services-card-grid h3 {
    margin-top: 58px;
    font-size: 22px;
}

.custom-services-card-grid p,
.custom-services-process p {
    margin-top: 13px;
    color: var(--muted);
    line-height: 1.65;
}

.custom-services-process ol {
    margin-top: 36px;
    list-style: none;
    border-top: 1px solid var(--border);
}

.custom-services-process li {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.custom-services-process h3 {
    font-size: 25px;
}

.custom-services-process p {
    max-width: 800px;
    margin-top: 9px;
}

.custom-services-delivery {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 70px;
    padding: 54px;
    background: linear-gradient(135deg, rgba(215, 255, 0, 0.07), rgba(13, 17, 23, 0.94) 45%);
    border: 1px solid rgba(215, 255, 0, 0.28);
    border-radius: 12px;
}

.custom-services-delivery-copy p {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.custom-services-delivery-copy p + p {
    margin-top: 20px;
}

.custom-services-delivery-copy nav {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.custom-services-delivery-copy a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.mocap-request-section {
    scroll-margin-top: 24px;
}

.custom-services-hero + .mocap-request-section {
    margin-top: 64px;
}

.mocap-request-form {
    margin-top: 38px;
    background: #0b0f14;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.has-mocap-success {
    overflow: hidden;
}

.mocap-success-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(2, 4, 7, 0.82);
    backdrop-filter: blur(8px);
}

.mocap-success-dialog {
    width: min(100%, 580px);
    padding: 42px;
    text-align: center;
    background: linear-gradient(145deg, rgba(215, 255, 0, 0.09), #0b0f14 42%);
    border: 1px solid rgba(215, 255, 0, 0.48);
    border-radius: 14px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
    outline: none;
}

.mocap-success-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    color: #07090c;
    background: var(--accent);
    border-radius: 50%;
    font-size: 25px;
    font-weight: 900;
}

.mocap-success-dialog .custom-services-kicker {
    margin-bottom: 12px;
}

.mocap-success-dialog h2 {
    font-size: clamp(29px, 5vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.mocap-success-dialog p {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.65;
}

.mocap-success-dialog p strong {
    color: var(--text);
}

.mocap-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

.mocap-success-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mocap-form-alert {
    margin-top: 30px;
    padding: 14px 16px;
    color: #ffc2c2;
    background: #291316;
    border: 1px solid #6b343d;
    border-radius: 8px;
}

.mocap-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.mocap-form-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    border-bottom: 1px solid var(--border);
}

.mocap-form-progress li {
    min-width: 0;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 19px 20px;
    color: #687583;
    border-right: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.mocap-form-progress li:last-child {
    border-right: 0;
}

.mocap-form-progress span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.mocap-form-progress li.is-active {
    color: var(--accent);
}

.mocap-form-progress li.is-complete {
    color: rgba(255, 255, 255, 0.68);
}

.mocap-form-step {
    padding: 42px;
}

.js .mocap-form-step {
    display: none;
}

.js .mocap-form-step.is-active {
    display: block;
}

.mocap-step-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.mocap-step-heading > span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.mocap-step-heading h3 {
    margin-top: 7px;
    font-size: 32px;
    letter-spacing: -0.025em;
}

.mocap-step-heading p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.6;
}

.mocap-form-grid,
.mocap-budget-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.mocap-brief-meta-grid {
    margin-top: 28px;
}

.mocap-budget-grid {
    grid-template-columns: minmax(0, 2fr) minmax(120px, 0.7fr);
    margin-top: 20px;
}

.mocap-field,
.mocap-choice-field,
.mocap-check-row,
.mocap-captcha,
.mocap-submit-note {
    margin-top: 24px;
}

.mocap-form-grid > .mocap-field,
.mocap-budget-grid > .mocap-field {
    margin-top: 0;
}

.mocap-field label,
.mocap-choice-field legend {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 700;
}

.mocap-field label em,
.mocap-choice-field legend em {
    color: #72808d;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mocap-field input,
.mocap-field select,
.mocap-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: #f7f9fb;
    background: #070a0e;
    border: 1px solid #2a3540;
    border-radius: 7px;
    outline: none;
    font: inherit;
}

.mocap-field textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.6;
}

.mocap-field input:focus,
.mocap-field select:focus,
.mocap-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(215, 255, 0, 0.09);
}

.mocap-field input::placeholder,
.mocap-field textarea::placeholder {
    color: #57636f;
}

.mocap-field > small,
.mocap-check-row small {
    display: block;
    margin-top: 7px;
    color: #75818e;
    font-size: 12px;
    line-height: 1.5;
}

.mocap-choice-field {
    min-width: 0;
    padding: 0;
    border: 0;
}

.mocap-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.mocap-choice-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mocap-choice-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mocap-choice-grid label,
.mocap-check-row {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-height: 68px;
    padding: 15px;
    color: rgba(255, 255, 255, 0.86);
    background: #080b0f;
    border: 1px solid #28333e;
    border-radius: 7px;
    cursor: pointer;
}

.mocap-choice-grid label:hover,
.mocap-check-row:hover,
.mocap-choice-grid label:has(input:checked),
.mocap-check-row:has(input:checked) {
    border-color: rgba(215, 255, 0, 0.65);
    background: rgba(215, 255, 0, 0.045);
}

.mocap-choice-grid input,
.mocap-check-row input {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: var(--accent);
}

.mocap-choice-grid span,
.mocap-check-row span {
    display: block;
    min-width: 0;
}

.mocap-choice-grid strong,
.mocap-check-row strong {
    display: block;
    font-size: 13px;
}

.mocap-choice-grid small {
    display: block;
    margin-top: 4px;
    color: #75818e;
    font-size: 11px;
    line-height: 1.45;
}

.mocap-field-error {
    margin-top: 7px;
    color: #ff9696;
    font-size: 12px;
    line-height: 1.45;
}

.js [data-show-when] {
    display: none;
}

.js [data-show-when].is-visible {
    display: block;
}

.js .mocap-budget-grid[data-show-when].is-visible {
    display: grid;
}

.mocap-check-row {
    min-height: 0;
}

.mocap-consent {
    cursor: default;
    scroll-margin-top: 24px;
}

.mocap-consent a {
    color: var(--accent);
}

.mocap-consent.is-invalid {
    background: rgba(255, 86, 86, 0.08);
    border-color: #ff7373;
    box-shadow: 0 0 0 3px rgba(255, 86, 86, 0.08);
}

.mocap-consent.is-invalid input {
    outline: 2px solid #ff7373;
    outline-offset: 2px;
}

.mocap-consent-error {
    margin: 9px 0 0;
    font-weight: 700;
}

.mocap-captcha {
    min-height: 65px;
}

.mocap-submit-note {
    display: grid;
    gap: 5px;
    padding: 15px 17px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(215, 255, 0, 0.05);
    border-left: 3px solid var(--accent);
    line-height: 1.5;
}

.mocap-submit-note span {
    color: var(--muted);
    font-size: 13px;
}

.mocap-form-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    padding: 22px 42px;
    border-top: 1px solid var(--border);
}

.mocap-form-controls > span {
    margin-right: auto;
    color: #75818e;
    font-size: 12px;
    font-weight: 700;
}

.mocap-button-primary,
.mocap-button-secondary {
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mocap-button-primary {
    color: #07090c;
    background: var(--accent);
}

.mocap-button-secondary {
    color: var(--accent);
    background: transparent;
}

.mocap-button-primary:hover:not(:disabled),
.mocap-button-primary:focus-visible:not(:disabled) {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.mocap-button-secondary:hover:not(:disabled),
.mocap-button-secondary:focus-visible:not(:disabled) {
    color: #07090c;
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.mocap-button-primary:disabled,
.mocap-button-secondary:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.js [data-form-submit] {
    display: none;
}

.custom-services-contact {
    margin-top: 100px;
    padding: 64px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.custom-services-contact p {
    max-width: 720px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.custom-services-contact-actions {
    justify-content: center;
    margin-top: 28px;
}

.custom-services-contact a {
    min-width: 130px;
    margin: 0;
    color: #06080b;
    background: var(--accent);
}

@media (max-width: 1040px) {
    .custom-services-hero-copy {
        width: min(67%, 700px);
        padding-left: 40px;
    }

    .custom-services-hero::after {
        background: linear-gradient(90deg, rgba(5, 8, 11, 0.98) 0%, rgba(5, 8, 11, 0.86) 42%, rgba(5, 8, 11, 0.18) 78%);
    }

    .custom-services-card-grid,
    .mocap-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .custom-services-delivery {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 760px) {
    .custom-services-shell {
        width: min(100% - 28px, 1320px);
        padding-top: 20px;
    }

    .custom-services-hero {
        min-height: 650px;
        align-items: flex-start;
    }

    .custom-services-hero::after {
        background: linear-gradient(180deg, rgba(5, 8, 11, 0.97) 0%, rgba(5, 8, 11, 0.9) 50%, rgba(5, 8, 11, 0.28) 100%);
    }

    .custom-services-hero-copy {
        width: 100%;
        padding: 38px 24px;
    }

    .custom-services-hero-copy > p:not(.custom-services-hero-note) {
        font-size: 16px;
    }

    .custom-services-visual img {
        object-position: 67% center;
        opacity: 0.82;
    }

    .custom-services-actions,
    .custom-services-actions a {
        width: 100%;
    }

    .custom-services-use-cases,
    .custom-services-process,
    .custom-services-delivery,
    .mocap-request-section,
    .custom-services-contact {
        margin-top: 70px;
    }

    .custom-services-delivery {
        padding: 30px 24px;
    }

    .mocap-form-progress li {
        justify-content: center;
        padding: 14px 7px;
        font-size: 0;
    }

    .mocap-form-progress span {
        font-size: 11px;
    }

    .mocap-form-step {
        padding: 30px 22px;
    }

    .mocap-form-grid,
    .mocap-budget-grid,
    .mocap-choice-grid,
    .mocap-choice-grid-three,
    .mocap-choice-grid-two {
        grid-template-columns: 1fr;
    }

    .mocap-form-grid {
        gap: 18px;
    }

    .mocap-form-controls {
        flex-wrap: wrap;
        padding: 18px 22px;
    }

    .mocap-form-controls > span {
        width: 100%;
        margin: 0 0 3px;
    }

    .mocap-button-primary,
    .mocap-button-secondary {
        flex: 1 1 130px;
    }
}

@media (max-width: 520px) {
    .custom-services-card-grid {
        grid-template-columns: 1fr;
    }

    .custom-services-card-grid article {
        min-height: 220px;
    }

    .custom-services-process li {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .mocap-success-dialog {
        padding: 32px 22px;
    }

    .mocap-success-actions {
        display: grid;
    }
}
