/* Astra's #content > .ast-container wraps custom templates and otherwise caps
 * every full-bleed service section at the global site content width. Remove that
 * outer constraint only for service singles; the shells below retain the
 * intentional CoreProIT content width and gutters. */
.single-cpit_service #content>.ast-container {
    display: block;
    max-width: none;
    padding-inline: 0
}

.single-cpit_service #primary.cp-detail {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0
}

.cp-detail {
    --blue: var(--cp-primary);
    --navy: var(--cp-navy);
    --orange: var(--cp-orange);
    --pale: var(--cp-surface-soft);
    --cp-detail-content-max: var(--cp-container-max);
    --cp-detail-gutter: clamp(32px, 3.333vw, 64px);
    color: var(--navy);
    overflow: hidden;
    font-family: var(--cp-font-sans)
}

.cp-detail * {
    box-sizing: border-box
}

.cp-detail-shell {
    width: min(var(--cp-detail-content-max), calc(100% - (2 * var(--cp-detail-gutter))));
    margin-inline: auto
}

.cp-detail h1,
.cp-detail h2,
.cp-detail h3,
.cp-detail p {
    margin-top: 0
}

.cp-detail h1 {
    font-size: clamp(2.7rem, 5.2vw, 5rem);
    line-height: .99;
    letter-spacing: -.055em;
    max-width: 850px
}

.cp-detail h2 {
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -.035em
}

.cp-detail p {
    line-height: 1.7
}

.cp-detail-eyebrow,
.cp-detail-kicker {
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .76rem;
    font-weight: 800;
    color: var(--blue)
}

.cp-detail-eyebrow span {
    color: var(--orange);
    padding: 0 .4rem
}

.cp-detail-kicker--light {
    color: #9bc9f7
}

.cp-detail-hero {
    padding: clamp(70px, 9vw, 120px) 0;
    background: linear-gradient(125deg, #f5f9fd 0%, #fff 63%);
    position: relative
}

.cp-detail-hero:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 90px;
    background: var(--orange);
    left: 0;
    top: 18%
}

.cp-detail-hero__layout {
    display: grid;
    grid-template-columns: 1.5fr .7fr;
    gap: 70px;
    align-items: center
}

.cp-detail-hero__summary {
    font-size: 1.15rem;
    max-width: 720px;
    color: #43566b
}

.cp-detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px
}

.cp-detail-button {
    min-height: var(--cp-button-height);
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-decoration: none;
    font-weight: 800;
    border: 2px solid var(--blue);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease
}

.cp-detail-button--primary {
    background: var(--orange);
    color: #14263a;
    border-color: var(--orange)
}

.cp-detail-button--secondary {
    color: var(--blue)
}

.cp-detail-button--primary:hover {
    background: var(--cp-orange-dark);
    border-color: var(--cp-orange-dark);
    color: var(--cp-text-on-dark);
    box-shadow: 0 10px 24px rgba(var(--cp-orange-rgb), .2);
    transform: translateY(-1px)
}

.cp-detail-button--secondary:hover {
    border-color: var(--cp-primary-hover);
    background: rgba(var(--cp-blue-rgb), .06);
    color: var(--cp-primary-hover);
    transform: translateY(-1px)
}

.cp-detail-button:active {
    box-shadow: none;
    transform: translateY(0)
}

.cp-detail-button:focus-visible,
.cp-detail-related a:focus-visible,
details summary:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px
}

.cp-detail-visual {
    width: 100%;
    max-width: 580px;
    aspect-ratio: 1;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 16px;
    background: var(--navy);
    box-shadow:
        0 34px 78px rgba(7, 29, 54, .24),
        0 0 42px rgba(2, 87, 194, .10);
}

.cp-detail-visual svg {
    display: block;
    width: 100%;
    height: auto
}

.cp-detail-visual--photo {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(var(--cp-blue-rgb), .22);
    background: var(--navy);
}

.cp-detail-visual--photo:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
    pointer-events: none
}

.cp-detail-visual--photo img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover
}


/* Managed IT uses a photographic hero. Its grid column is intentionally
 * narrower than the copy column, so let this one visual extend beyond the
 * default 100% cell width on desktop without affecting other service heroes. */
.cp-detail-visual--managed {
    width: min(130%, 460px);
    max-width: 460px;
    justify-self: center;
    border-color: rgba(var(--cp-blue-rgb), .28);
    box-shadow:
        0 40px 88px rgba(7, 29, 54, .28),
        0 0 56px rgba(var(--cp-blue-rgb), .14),
        0 0 0 1px rgba(var(--cp-orange-rgb), .05);
}

.cp-visual-bg {
    fill: #071d36
}

.cp-visual-frame {
    fill: #092541;
    stroke: #2d5277
}

.cp-visual-grid {
    fill: none;
    stroke: #23415f;
    stroke-width: .7
}

.cp-visual-rule {
    fill: none;
    stroke: #355573;
    stroke-width: 1
}

.cp-visual-overline,
.cp-visual-caption,
.cp-visual-label,
.cp-visual-small {
    fill: #91abc4;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px
}

.cp-visual-label {
    fill: #dbe9f5;
    font-size: 11px;
    letter-spacing: 1px
}

.cp-visual-small {
    font-size: 8px
}

.cp-visual-active {
    fill: var(--orange)
}

.cp-visual-route {
    fill: none;
    stroke: #1675d1;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round
}

.cp-visual-route--secondary {
    stroke: #527493;
    stroke-width: 1.5;
    stroke-dasharray: 5 7
}

.cp-visual-panel {
    fill: #0c2b4b;
    stroke: #4879a6;
    stroke-width: 1.5
}

.cp-visual-zone {
    fill: rgba(7, 85, 165, .08);
    stroke: #326793;
    stroke-width: 1.5;
    stroke-dasharray: 5 7
}

.cp-visual-shield {
    fill: rgba(7, 85, 165, .12);
    stroke: #1675d1;
    stroke-width: 2
}

.cp-visual-meter {
    stroke: #355573;
    stroke-width: 5
}

.cp-visual-meter-active {
    fill: none;
    stroke: var(--orange);
    stroke-width: 4;
    stroke-linecap: round
}

.cp-visual-node {
    fill: #0a2544;
    stroke: #5a8bb8;
    stroke-width: 2
}

.cp-visual-node path,
.cp-visual-node rect {
    fill: none;
    stroke: #a7c7e5;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.cp-visual-node text {
    fill: #a7c7e5;
    stroke: none;
    font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace;
    text-anchor: middle
}

.cp-visual-node--active {
    fill: #17334c;
    stroke: var(--orange)
}

.cp-visual-node--active path {
    stroke: #ffad69
}

.cp-detail-intro,
.cp-detail-capabilities,
.cp-detail-approach,
.cp-detail-responsibility,
.cp-detail-related,
.cp-detail-faq {
    padding: clamp(64px, 7.5vw, 96px) 0
}

.cp-detail-intro__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(56px, 7vw, 104px);
    align-items: start
}

.cp-detail-intro__layout>div:last-child {
    max-width: 680px;
    font-size: 1.08rem;
    color: #44566a
}

.cp-detail-intro__layout>div:last-child p:last-child {
    margin-bottom: 0
}

.cp-detail-capabilities,
.cp-detail-related {
    background: var(--pale)
}

.cp-detail-capabilities header,
.cp-detail-approach header,
.cp-detail-related header {
    max-width: 760px;
    margin-bottom: 36px
}

.cp-detail-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #c9d7e5
}

.cp-detail-capability-grid article {
    background: #fff;
    padding: 30px 32px;
    min-height: 235px
}

.cp-detail-capability-grid article>span {
    color: var(--orange);
    font-weight: 800
}

.cp-detail-capability-grid h3 {
    font-size: 1.28rem;
    margin-top: 34px
}

.cp-detail-capability-grid p {
    max-width: 390px;
    color: #526274;
    margin-bottom: 0
}

.cp-detail-outcomes {
    background: var(--navy);
    color: var(--cp-text-on-dark);
    padding: clamp(64px, 7.5vw, 96px) 0
}

.cp-detail-outcomes h2 {
    color: var(--cp-text-on-dark)
}

.cp-detail-outcomes__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .85fr);
    gap: clamp(56px, 7vw, 104px)
}

.cp-detail-outcomes__layout>div {
    max-width: 650px
}

.cp-detail-outcomes p {
    color: var(--cp-text-muted-on-dark)
}

.cp-detail-outcomes ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.cp-detail-outcomes li {
    color: var(--cp-text-on-dark);
    padding: 20px 0 20px 30px;
    border-bottom: 1px solid #29435d;
    position: relative;
    font-weight: 700
}

.cp-detail-outcomes li:before {
    content: "";
    width: 9px;
    height: 9px;
    background: var(--orange);
    position: absolute;
    left: 0;
    top: 27px
}

.cp-detail-approach ol {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #ccd7e1
}

.cp-detail-approach li {
    display: grid;
    grid-template-columns: 90px 1fr;
    padding: 28px 0;
    border-bottom: 1px solid #ccd7e1
}

.cp-detail-approach li>span {
    color: var(--orange);
    font-weight: 800
}

.cp-detail-approach li div {
    display: grid;
    grid-template-columns: minmax(240px, .55fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 90px)
}

.cp-detail-approach li p {
    max-width: 720px
}

.cp-detail-approach h3 {
    font-size: 1.3rem
}

.cp-detail-approach p {
    color: #536376
}

.cp-detail-responsibility {
    background: #fff
}

.cp-detail-responsibility header {
    max-width: 760px;
    margin-bottom: 36px
}

.cp-detail-responsibility__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #b9ccde;
    border: 1px solid #b9ccde
}

.cp-detail-responsibility article {
    background: var(--pale);
    padding: 32px;
    position: relative
}

.cp-detail-responsibility article:nth-child(2) {
    background: var(--navy);
    color: #fff
}

.cp-detail-responsibility article:nth-child(2):before,
.cp-detail-responsibility article:nth-child(2):after {
    content: "↔";
    position: absolute;
    top: 30px;
    color: var(--orange);
    font-weight: 800
}

.cp-detail-responsibility article:nth-child(2):before {
    left: -18px
}

.cp-detail-responsibility article:nth-child(2):after {
    right: -18px
}

.cp-detail-responsibility h3 {
    font-size: 1.25rem;
    margin-bottom: 24px
}

.cp-detail-responsibility ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.cp-detail-responsibility li {
    padding: 11px 0;
    border-top: 1px solid #ccdae7;
    color: #4d6074
}

.cp-detail-responsibility article:nth-child(2) li {
    color: #dbe9f6;
    border-color: #29435d
}

.cp-detail-related>div>div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.cp-detail-related a {
    background: #fff;
    padding: 28px;
    min-height: 210px;
    text-decoration: none;
    color: var(--navy);
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: space-between;
    border-bottom: 4px solid var(--blue)
}

.cp-detail-related a span {
    font-size: 1.3rem;
    font-weight: 800
}

.cp-detail-related a small {
    grid-column: 1/-1;
    max-width: 390px;
    line-height: 1.55;
    color: #566678
}

.cp-detail-related a b {
    color: var(--orange)
}

.cp-detail-faq__layout {
    display: grid;
    grid-template-columns: minmax(280px, .55fr) minmax(0, 1.45fr);
    gap: clamp(64px, 7vw, 104px)
}

.cp-detail-faq__layout>div {
    max-width: 820px
}

.cp-detail-faq details {
    border-top: 1px solid #bfcbd6;
    padding: 0
}

.cp-detail-faq details:last-child {
    border-bottom: 1px solid #bfcbd6
}

.cp-detail-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 24px 44px 24px 0;
    font-weight: 800;
    position: relative
}

.cp-detail-faq summary::-webkit-details-marker {
    display: none
}

.cp-detail-faq summary span {
    position: absolute;
    right: 8px;
    color: var(--orange);
    font-size: 1.5rem
}

.cp-detail-faq details[open] summary span {
    transform: rotate(45deg)
}

.cp-detail-faq details p {
    max-width: 740px;
    color: #4f6073;
    padding-right: 30px
}

.cp-detail-cta {
    background: var(--blue);
    color: #fff;
    padding: 72px 0
}

.cp-detail-cta .cp-detail-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(60px, 8vw, 120px)
}

.cp-detail-cta h2 {
    max-width: 860px;
    margin-bottom: 12px;
    color: #fff
}

.cp-detail-cta p {
    max-width: 720px;
    color: #d9e9f8;
    margin: 0
}

.cp-detail__fallback {
    padding: 80px 0
}

@media(max-width:820px) {

    .cp-detail-hero__layout,
    .cp-detail-intro__layout,
    .cp-detail-outcomes__layout,
    .cp-detail-faq__layout {
        grid-template-columns: 1fr;
        gap: 42px
    }

    .cp-detail-visual {
        width: min(100%, 420px)
    }

    .cp-detail-capability-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .cp-detail-responsibility__grid {
        grid-template-columns: 1fr
    }

    .cp-detail-responsibility article:nth-child(2):before,
    .cp-detail-responsibility article:nth-child(2):after {
        content: "↕";
        top: auto;
        left: auto;
        right: 28px
    }

    .cp-detail-responsibility article:nth-child(2):before {
        top: -18px
    }

    .cp-detail-responsibility article:nth-child(2):after {
        bottom: -18px
    }

    .cp-detail-related>div>div {
        grid-template-columns: 1fr
    }

    .cp-detail-approach li div {
        grid-template-columns: 1fr;
        gap: 4px
    }

    .cp-detail-cta .cp-detail-shell {
        align-items: flex-start;
        flex-direction: column
    }

    .cp-detail-cta .cp-detail-button {
        align-self: flex-start
    }
}

@media(max-width:600px) {
    .cp-detail {
        --cp-detail-gutter: 18px
    }
}

@media(max-width:480px) {
    .cp-detail h1 {
        font-size: clamp(2.4rem, 12vw, 3.3rem)
    }

    .cp-detail-hero {
        padding: 64px 0
    }

    .cp-detail-actions {
        flex-direction: column
    }

    .cp-detail-button {
        width: 100%
    }

    .cp-detail-capability-grid {
        grid-template-columns: 1fr
    }

    .cp-detail-capability-grid article {
        min-height: 0
    }

    .cp-detail-approach li {
        grid-template-columns: 52px 1fr
    }

    .cp-detail-cta .cp-detail-button {
        width: 100%
    }

    .cp-detail-visual {
        width: min(100%, 360px)
    }

    .cp-detail-related a {
        min-height: 180px
    }
}

@media(max-width:600px) {

    .cp-detail-intro,
    .cp-detail-capabilities,
    .cp-detail-approach,
    .cp-detail-responsibility,
    .cp-detail-related,
    .cp-detail-faq,
    .cp-detail-outcomes {
        padding: 56px 0
    }

    .cp-detail-capabilities header,
    .cp-detail-approach header,
    .cp-detail-related header {
        margin-bottom: 28px
    }

    .cp-detail-outcomes__layout {
        gap: 28px
    }

    .cp-detail-outcomes li {
        padding-block: 16px
    }

    .cp-detail-outcomes li:before {
        top: 23px
    }

    .cp-detail-faq__layout {
        gap: 24px
    }

    .cp-detail-related a {
        min-height: 0
    }

    .cp-detail-cta {
        padding: 52px 0
    }

    .cp-detail-cta .cp-detail-shell {
        gap: 28px
    }
}

/* Cybersecurity's connected-layers story extends the shared detail system. */
.cp-detail-layers {
    padding: clamp(64px, 7.5vw, 96px) 0;
    background: #fff
}

.cp-detail-layers__layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr);
    gap: clamp(56px, 7vw, 104px);
    align-items: center
}

.cp-detail-layers header {
    max-width: 580px
}

.cp-detail-layers header p:last-child {
    color: #526274;
    font-size: 1.05rem
}

.cp-detail-layers ol {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #b9ccde;
    background: #d5e0ea
}

.cp-detail-layers li {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    min-height: 58px;
    padding: 10px 24px;
    background: var(--pale);
    border-bottom: 1px solid #b9ccde;
    font-weight: 800;
    position: relative
}

.cp-detail-layers li:last-child {
    border-bottom: 0;
    background: var(--navy);
    color: #fff
}

.cp-detail-layers li:not(:last-child):after {
    content: "↓";
    position: absolute;
    z-index: 1;
    bottom: -14px;
    right: 25px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: var(--navy);
    font-size: .8rem
}

.cp-detail-layers li span {
    color: var(--orange);
    font-size: .76rem;
    letter-spacing: .1em
}

@media(max-width:820px) {
    .cp-detail-layers__layout {
        grid-template-columns: 1fr;
        gap: 42px
    }
}

@media(max-width:600px) {
    .cp-detail-layers {
        padding: 56px 0
    }

    .cp-detail-layers li {
        grid-template-columns: 48px 1fr;
        padding-inline: 18px
    }
}

/* Consulting-specific context map: a connected sequence rather than another card grid. */
.cp-detail-decisions {
    padding: clamp(64px, 7.5vw, 96px) 0;
    background: #fff
}

.cp-detail-decisions__layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(480px, 1.2fr);
    gap: clamp(56px, 7vw, 104px);
    align-items: center
}

.cp-detail-decisions header {
    max-width: 570px
}

.cp-detail-decisions header>p:last-child {
    color: #526274;
    font-size: 1.05rem
}

.cp-detail-decisions ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 12px;
    position: relative
}

.cp-detail-decisions ol:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8%;
    bottom: 8%;
    width: 2px;
    background: #b8cee2;
    transform: translateX(-1px)
}

.cp-detail-decisions li {
    min-height: 82px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--pale);
    border: 1px solid #c4d5e4;
    border-left: 4px solid var(--blue);
    position: relative;
    z-index: 1
}

.cp-detail-decisions li:last-child {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    border-left-color: var(--orange)
}

.cp-detail-decisions li span {
    color: var(--orange);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .1em
}

.cp-detail-decisions li strong {
    font-size: 1rem
}

.cp-detail-decisions li:nth-child(odd):not(:last-child):after {
    content: "→";
    position: absolute;
    right: -26px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: var(--navy);
    font-weight: 800
}

@media(max-width:820px) {
    .cp-detail-decisions__layout {
        grid-template-columns: 1fr;
        gap: 42px
    }

    .cp-detail-decisions ol {
        max-width: 680px
    }
}

@media(max-width:600px) {
    .cp-detail-decisions {
        padding: 56px 0
    }

    .cp-detail-decisions ol {
        grid-template-columns: 1fr;
        row-gap: 24px
    }

    .cp-detail-decisions ol:before {
        display: none
    }

    .cp-detail-decisions li {
        min-height: 68px;
        padding: 14px 18px
    }

    .cp-detail-decisions li:nth-child(n):not(:last-child)::after {
        content: "↓";
        position: absolute;
        left: 50%;
        right: auto;
        top: auto;
        bottom: -26px;
        transform: translateX(-50%);
        z-index: 2;
        width: 28px;
        height: 28px;
        display: grid;
        place-items: center;
        background: var(--orange);
        color: var(--navy);
        font-weight: 800
    }
}

/* Project delivery coordination: a central initiative connected to every
 * delivery dependency, distinct from consulting's directional roadmap. */
.cp-detail-coordination {
    padding: clamp(64px, 7.5vw, 96px) 0;
    background: #fff
}

.cp-detail-coordination__layout {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(560px, 1.28fr);
    gap: clamp(56px, 7vw, 104px);
    align-items: center
}

.cp-detail-coordination header {
    max-width: 560px
}

.cp-detail-coordination header>p:last-child {
    color: #526274;
    font-size: 1.05rem
}

.cp-detail-coordination__map {
    min-height: 460px;
    display: grid;
    place-items: center;
    position: relative
}

.cp-detail-coordination__center {
    z-index: 2;
    width: 250px;
    min-height: 150px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    border: 2px solid var(--blue);
    box-shadow: 0 18px 40px rgba(7, 29, 54, .18)
}

.cp-detail-coordination__center span,
.cp-detail-coordination__center small {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .68rem;
    font-weight: 800;
    color: #9bc9f7
}

.cp-detail-coordination__center strong {
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 10px 0
}

.cp-detail-coordination__center small {
    color: #ffad69
}

.cp-detail-coordination__map ul {
    position: absolute;
    inset: 0;
    list-style: none;
    padding: 0;
    margin: 0
}

.cp-detail-coordination__map ul:before,
.cp-detail-coordination__map ul:after {
    content: "";
    position: absolute;
    background: #b8cee2
}

.cp-detail-coordination__map ul:before {
    height: 2px;
    left: 18%;
    right: 18%;
    top: 50%
}

.cp-detail-coordination__map ul:after {
    width: 2px;
    top: 14%;
    bottom: 14%;
    left: 50%
}

.cp-detail-coordination__map li {
    position: absolute;
    width: 190px;
    min-height: 70px;
    padding: 16px 18px;
    background: var(--pale);
    border: 1px solid #c4d5e4;
    border-left: 4px solid var(--blue);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 1
}

.cp-detail-coordination__map li:nth-child(1) {
    top: 0;
    left: 0
}

.cp-detail-coordination__map li:nth-child(2) {
    top: 0;
    right: 0
}

.cp-detail-coordination__map li:nth-child(3) {
    top: calc(50% - 35px);
    left: 0
}

.cp-detail-coordination__map li:nth-child(4) {
    top: calc(50% - 35px);
    right: 0
}

.cp-detail-coordination__map li:nth-child(5) {
    bottom: 0;
    left: 0
}

.cp-detail-coordination__map li:nth-child(6) {
    bottom: 0;
    right: 0
}

.cp-detail-coordination__map li span {
    color: var(--orange);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em
}

.cp-detail-coordination__map li strong {
    font-size: .92rem;
    line-height: 1.25
}

@media(max-width:950px) {
    .cp-detail-coordination__layout {
        grid-template-columns: 1fr;
        gap: 42px
    }

    .cp-detail-coordination__map {
        max-width: 760px;
        width: 100%
    }
}

@media(max-width:600px) {
    .cp-detail-coordination {
        padding: 56px 0
    }

    .cp-detail-coordination__map {
        min-height: 0;
        display: block
    }

    .cp-detail-coordination__center {
        width: 100%;
        min-height: 126px;
        margin-bottom: 12px
    }

    .cp-detail-coordination__map ul {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px
    }

    .cp-detail-coordination__map ul:before,
    .cp-detail-coordination__map ul:after {
        display: none
    }

    .cp-detail-coordination__map li {
        position: static;
        width: 100%;
        min-height: 58px;
        padding: 12px 16px
    }
}

@media(prefers-reduced-motion:reduce) {
    .cp-detail-button {
        transition: none
    }

    .cp-detail-button:hover,
    .cp-detail-button:active {
        transform: none
    }
}

/* IT Support hero: use the photographic workstation as an integrated right-side
 * visual rather than the standard framed technical diagram. */
.cp-detail-hero:has(.cp-detail-visual--support-photo) {
    overflow: hidden;
    background: #fff;
}

.cp-detail-hero:has(.cp-detail-visual--support-photo) .cp-detail-hero__layout>div:first-child {
    position: relative;
    z-index: 3;
}

.cp-detail-visual--support-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(62vw, 1060px);
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.cp-detail-visual--support-photo::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .97) 9%, rgba(255, 255, 255, .74) 22%, rgba(255, 255, 255, .16) 42%, rgba(255, 255, 255, 0) 58%);
}

.cp-detail-visual--support-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 1100px) {
    .cp-detail-visual--support-photo {
        width: 58vw;
    }

    .cp-detail-visual--support-photo::before {
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .96) 14%, rgba(255, 255, 255, .55) 34%, rgba(255, 255, 255, 0) 62%);
    }
}

@media (max-width: 820px) {
    .cp-detail-hero:has(.cp-detail-visual--support-photo) .cp-detail-hero__layout {
        grid-template-columns: 1fr;
    }

    .cp-detail-visual--support-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: min(100%, 720px);
        height: auto;
        margin: 12px auto 0;
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        box-shadow: 0 24px 54px rgba(7, 29, 54, .16);
    }

    .cp-detail-visual--support-photo::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .cp-detail-visual--support-photo {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }
}


/* Co-Managed IT hero: integrate the shared-team visual into the right side of
 * the hero, matching the approved IT Support composition while keeping this
 * service visually distinct. */
.cp-detail-hero:has(.cp-detail-visual--co-managed-photo) {
    overflow: hidden;
    background: #fff;
}

.cp-detail-hero:has(.cp-detail-visual--co-managed-photo) .cp-detail-hero__layout>div:first-child {
    position: relative;
    z-index: 3;
}

.cp-detail-visual--co-managed-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(64vw, 1120px);
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.cp-detail-visual--co-managed-photo::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .99) 10%, rgba(255, 255, 255, .88) 24%, rgba(255, 255, 255, .42) 38%, rgba(255, 255, 255, 0) 57%);
}

.cp-detail-visual--co-managed-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 1100px) {
    .cp-detail-visual--co-managed-photo {
        width: 60vw;
    }

    .cp-detail-visual--co-managed-photo::before {
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 15%, rgba(255, 255, 255, .72) 34%, rgba(255, 255, 255, 0) 64%);
    }
}

@media (max-width: 820px) {
    .cp-detail-hero:has(.cp-detail-visual--co-managed-photo) .cp-detail-hero__layout {
        grid-template-columns: 1fr;
    }

    .cp-detail-visual--co-managed-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: min(100%, 760px);
        height: auto;
        margin: 12px auto 0;
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        box-shadow: 0 24px 54px rgba(7, 29, 54, .16);
    }

    .cp-detail-visual--co-managed-photo::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .cp-detail-visual--co-managed-photo {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }
}

/* Cybersecurity hero: integrated right-side photography following the same
 * approved composition used for IT Support and Co-Managed IT. */
.cp-detail-hero:has(.cp-detail-visual--cybersecurity-photo) {
    overflow: hidden;
    background: #fff;
}

.cp-detail-hero:has(.cp-detail-visual--cybersecurity-photo) .cp-detail-hero__layout>div:first-child {
    position: relative;
    z-index: 3;
}

.cp-detail-visual--cybersecurity-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(63vw, 1080px);
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.cp-detail-visual--cybersecurity-photo::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .99) 10%, rgba(255, 255, 255, .86) 24%, rgba(255, 255, 255, .38) 40%, rgba(255, 255, 255, 0) 58%);
}

.cp-detail-visual--cybersecurity-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 1100px) {
    .cp-detail-visual--cybersecurity-photo {
        width: 60vw;
    }

    .cp-detail-visual--cybersecurity-photo::before {
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 15%, rgba(255, 255, 255, .70) 34%, rgba(255, 255, 255, 0) 64%);
    }
}

@media (max-width: 820px) {
    .cp-detail-hero:has(.cp-detail-visual--cybersecurity-photo) .cp-detail-hero__layout {
        grid-template-columns: 1fr;
    }

    .cp-detail-visual--cybersecurity-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: min(100%, 760px);
        height: auto;
        margin: 12px auto 0;
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        box-shadow: 0 24px 54px rgba(7, 29, 54, .16);
    }

    .cp-detail-visual--cybersecurity-photo::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .cp-detail-visual--cybersecurity-photo {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }
}

/* IT Consulting hero: integrated right-side photography following the same
 * approved composition used for IT Support, Co-Managed IT, and Cybersecurity. */
.cp-detail-hero:has(.cp-detail-visual--consulting-photo) {
    overflow: hidden;
    background: #fff;
}

.cp-detail-hero:has(.cp-detail-visual--consulting-photo) .cp-detail-hero__layout>div:first-child {
    position: relative;
    z-index: 3;
}

.cp-detail-visual--consulting-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(63vw, 1100px);
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.cp-detail-visual--consulting-photo::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .99) 10%, rgba(255, 255, 255, .87) 24%, rgba(255, 255, 255, .40) 40%, rgba(255, 255, 255, 0) 58%);
}

.cp-detail-visual--consulting-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 1100px) {
    .cp-detail-visual--consulting-photo {
        width: 60vw;
    }

    .cp-detail-visual--consulting-photo::before {
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 15%, rgba(255, 255, 255, .70) 34%, rgba(255, 255, 255, 0) 64%);
    }
}

@media (max-width: 820px) {
    .cp-detail-hero:has(.cp-detail-visual--consulting-photo) .cp-detail-hero__layout {
        grid-template-columns: 1fr;
    }

    .cp-detail-visual--consulting-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: min(100%, 760px);
        height: auto;
        margin: 12px auto 0;
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        box-shadow: 0 24px 54px rgba(7, 29, 54, .16);
    }

    .cp-detail-visual--consulting-photo::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .cp-detail-visual--consulting-photo {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }
}

/* IT Project hero: integrated right-side photography following the same
 * approved composition used for IT Support, Co-Managed IT, Cybersecurity,
 * and IT Consulting. */
.cp-detail-hero:has(.cp-detail-visual--project-photo) {
    overflow: hidden;
    background: #fff;
}

.cp-detail-hero:has(.cp-detail-visual--project-photo) .cp-detail-hero__layout>div:first-child {
    position: relative;
    z-index: 3;
}

.cp-detail-visual--project-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(64vw, 1120px);
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.cp-detail-visual--project-photo::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .99) 10%, rgba(255, 255, 255, .87) 24%, rgba(255, 255, 255, .40) 40%, rgba(255, 255, 255, 0) 58%);
}

.cp-detail-visual--project-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 1100px) {
    .cp-detail-visual--project-photo {
        width: 60vw;
    }

    .cp-detail-visual--project-photo::before {
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 15%, rgba(255, 255, 255, .70) 34%, rgba(255, 255, 255, 0) 64%);
    }
}

@media (max-width: 820px) {
    .cp-detail-hero:has(.cp-detail-visual--project-photo) .cp-detail-hero__layout {
        grid-template-columns: 1fr;
    }

    .cp-detail-visual--project-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: min(100%, 760px);
        height: auto;
        margin: 12px auto 0;
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        box-shadow: 0 24px 54px rgba(7, 29, 54, .16);
    }

    .cp-detail-visual--project-photo::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .cp-detail-visual--project-photo {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }
}

/* Managed IT hero — integrated photographic treatment.
 * The existing PHP already renders the Managed IT visual with the
 * .cp-detail-visual--managed class, so keep the markup untouched and override
 * only the legacy card treatment here. */
.cp-detail-hero:has(.cp-detail-visual--managed) {
    overflow: hidden;
    background: #fff;
}

.cp-detail-hero:has(.cp-detail-visual--managed) .cp-detail-hero__layout>div:first-child {
    position: relative;
    z-index: 3;
}

.cp-detail-visual--managed {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(64vw, 1120px);
    max-width: none;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    justify-self: auto;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.cp-detail-visual--managed::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg,
            #fff 0%,
            rgba(255, 255, 255, .99) 10%,
            rgba(255, 255, 255, .88) 24%,
            rgba(255, 255, 255, .42) 40%,
            rgba(255, 255, 255, 0) 59%);
    pointer-events: none;
}

.cp-detail-visual--managed::after {
    display: none;
}

.cp-detail-visual--managed img,
.cp-detail-visual--photo.cp-detail-visual--managed img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 1100px) {
    .cp-detail-visual--managed {
        width: 60vw;
    }

    .cp-detail-visual--managed::before {
        background: linear-gradient(90deg,
                #fff 0%,
                rgba(255, 255, 255, .98) 15%,
                rgba(255, 255, 255, .72) 34%,
                rgba(255, 255, 255, 0) 64%);
    }
}

@media (max-width: 820px) {
    .cp-detail-hero:has(.cp-detail-visual--managed) .cp-detail-hero__layout {
        grid-template-columns: 1fr;
    }

    .cp-detail-visual--managed {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: min(100%, 760px);
        height: auto;
        margin: 12px auto 0;
        aspect-ratio: 16 / 9;
        border: 1px solid rgba(var(--cp-blue-rgb), .16);
        border-radius: 18px;
        box-shadow: 0 24px 54px rgba(7, 29, 54, .16);
        pointer-events: auto;
    }

    .cp-detail-visual--managed::before {
        display: none;
    }

    .cp-detail-visual--managed img,
    .cp-detail-visual--photo.cp-detail-visual--managed img {
        height: 100%;
        object-position: center center;
    }
}

@media (max-width: 480px) {
    .cp-detail-visual--managed {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }
}

/* Software Development: show the application as a connected delivery stack,
 * giving this service a distinct systems story without introducing another
 * generic card grid. */
.cp-detail-architecture {
    padding: clamp(64px, 7.5vw, 96px) 0;
    background: #fff;
}

.cp-detail-architecture__layout {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
    gap: clamp(56px, 7vw, 104px);
    align-items: center;
}

.cp-detail-architecture header {
    max-width: 580px;
}

.cp-detail-architecture header>p:last-child {
    color: #526274;
    font-size: 1.05rem;
}

.cp-detail-architecture__stack {
    list-style: none;
    padding: 12px;
    margin: 0;
    display: grid;
    gap: 8px;
    background: #eef4fa;
    border: 1px solid #c5d7e7;
    box-shadow: 0 24px 54px rgba(7, 29, 54, .08);
}

.cp-detail-architecture__stack li {
    min-height: 76px;
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #c8d8e6;
    border-left: 4px solid var(--blue);
    position: relative;
}

.cp-detail-architecture__stack li:not(:last-child):after {
    content: "↓";
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: -18px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: var(--navy);
    font-size: .78rem;
    font-weight: 900;
}

.cp-detail-architecture__stack li:last-child {
    background: var(--navy);
    border-color: var(--navy);
    border-left-color: var(--orange);
    color: #fff;
}

.cp-detail-architecture__stack>li>span {
    color: var(--orange);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.cp-detail-architecture__stack div {
    min-width: 0;
}

.cp-detail-architecture__stack strong,
.cp-detail-architecture__stack small {
    display: block;
}

.cp-detail-architecture__stack strong {
    font-size: 1.02rem;
    line-height: 1.25;
}

.cp-detail-architecture__stack small {
    margin-top: 5px;
    color: #607387;
    font-size: .88rem;
    line-height: 1.48;
}

.cp-detail-architecture__stack li:last-child small {
    color: #bdd3e7;
}

.cp-detail-visual--software {
    box-shadow:
        0 34px 78px rgba(7, 29, 54, .24),
        0 0 52px rgba(var(--cp-blue-rgb), .14),
        0 0 0 1px rgba(var(--cp-orange-rgb), .04);
}

@media(max-width:900px) {
    .cp-detail-architecture__layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .cp-detail-architecture__stack {
        max-width: 760px;
    }
}

@media(max-width:600px) {
    .cp-detail-architecture {
        padding: 56px 0;
    }

    .cp-detail-architecture__stack {
        padding: 8px;
    }

    .cp-detail-architecture__stack li {
        grid-template-columns: 44px 1fr;
        min-height: 68px;
        padding: 12px 14px;
    }

    .cp-detail-architecture__stack small {
        font-size: .84rem;
    }
}

/* Software Development hero: temporary generated photography. Keep the same
 * integrated right-side treatment used by the approved light service heroes so
 * it can later be swapped for licensed stock photography without markup changes. */
.cp-detail-hero:has(.cp-detail-visual--software-photo) {
    overflow: hidden;
    background: #fff;
}

.cp-detail-hero:has(.cp-detail-visual--software-photo) .cp-detail-hero__layout>div:first-child {
    position: relative;
    z-index: 3;
}

.cp-detail-visual--software-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(64vw, 1120px);
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.cp-detail-visual--software-photo::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .99) 10%, rgba(255, 255, 255, .87) 24%, rgba(255, 255, 255, .40) 40%, rgba(255, 255, 255, 0) 58%);
}

.cp-detail-visual--software-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 1100px) {
    .cp-detail-visual--software-photo {
        width: 60vw;
    }

    .cp-detail-visual--software-photo::before {
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 15%, rgba(255, 255, 255, .70) 34%, rgba(255, 255, 255, 0) 64%);
    }
}

@media (max-width: 820px) {
    .cp-detail-hero:has(.cp-detail-visual--software-photo) .cp-detail-hero__layout {
        grid-template-columns: 1fr;
    }

    .cp-detail-visual--software-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: min(100%, 760px);
        height: auto;
        margin: 12px auto 0;
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        box-shadow: 0 24px 54px rgba(7, 29, 54, .16);
    }

    .cp-detail-visual--software-photo::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .cp-detail-visual--software-photo {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }
}

/* Mobile App Development hero: temporary generated photography. Mirrors the
 * approved integrated service-hero treatment and is intentionally isolated so
 * the image can later be replaced with licensed stock without markup changes. */
.cp-detail-hero:has(.cp-detail-visual--mobile-photo) {
    overflow: hidden;
    background: #fff;
}

.cp-detail-hero:has(.cp-detail-visual--mobile-photo) .cp-detail-hero__layout>div:first-child {
    position: relative;
    z-index: 3;
}

.cp-detail-visual--mobile-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(64vw, 1120px);
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.cp-detail-visual--mobile-photo::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .99) 10%, rgba(255, 255, 255, .87) 24%, rgba(255, 255, 255, .40) 40%, rgba(255, 255, 255, 0) 58%);
}

.cp-detail-visual--mobile-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 1100px) {
    .cp-detail-visual--mobile-photo {
        width: 60vw;
    }

    .cp-detail-visual--mobile-photo::before {
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 15%, rgba(255, 255, 255, .70) 34%, rgba(255, 255, 255, 0) 64%);
    }
}

@media (max-width: 820px) {
    .cp-detail-hero:has(.cp-detail-visual--mobile-photo) .cp-detail-hero__layout {
        grid-template-columns: 1fr;
    }

    .cp-detail-visual--mobile-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: min(100%, 760px);
        height: auto;
        margin: 12px auto 0;
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        box-shadow: 0 24px 54px rgba(7, 29, 54, .16);
    }

    .cp-detail-visual--mobile-photo::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .cp-detail-visual--mobile-photo {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }
}

/* Digital Marketing hero: temporary generated photography. Mirrors the
 * approved integrated service-hero treatment and can later be replaced with
 * licensed stock photography without changing the page markup. */
.cp-detail-hero:has(.cp-detail-visual--marketing-photo) {
    overflow: hidden;
    background: #fff;
}

.cp-detail-hero:has(.cp-detail-visual--marketing-photo) .cp-detail-hero__layout>div:first-child {
    position: relative;
    z-index: 3;
}

.cp-detail-visual--marketing-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(64vw, 1120px);
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.cp-detail-visual--marketing-photo::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .99) 10%, rgba(255, 255, 255, .87) 24%, rgba(255, 255, 255, .40) 40%, rgba(255, 255, 255, 0) 58%);
}

.cp-detail-visual--marketing-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 1100px) {
    .cp-detail-visual--marketing-photo {
        width: 60vw;
    }

    .cp-detail-visual--marketing-photo::before {
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 15%, rgba(255, 255, 255, .70) 34%, rgba(255, 255, 255, 0) 64%);
    }
}

@media (max-width: 820px) {
    .cp-detail-hero:has(.cp-detail-visual--marketing-photo) .cp-detail-hero__layout {
        grid-template-columns: 1fr;
    }

    .cp-detail-visual--marketing-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: min(100%, 760px);
        height: auto;
        margin: 12px auto 0;
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        box-shadow: 0 24px 54px rgba(7, 29, 54, .16);
    }

    .cp-detail-visual--marketing-photo::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .cp-detail-visual--marketing-photo {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }
}

/* --------------------------------------------------------------------------
 * Responsive service hero photography
 * Tablet/mobile: keep service photography integrated into the hero itself.
 * The image becomes a decorative background layer instead of a second row
 * below the CTA buttons. This preserves the desktop visual language while
 * keeping the mobile hero compact and readable.
 * -------------------------------------------------------------------------- */
@media (max-width: 820px) {

    .cp-detail-hero:has(.cp-detail-visual--support-photo),
    .cp-detail-hero:has(.cp-detail-visual--co-managed-photo),
    .cp-detail-hero:has(.cp-detail-visual--cybersecurity-photo),
    .cp-detail-hero:has(.cp-detail-visual--consulting-photo),
    .cp-detail-hero:has(.cp-detail-visual--project-photo),
    .cp-detail-hero:has(.cp-detail-visual--managed),
    .cp-detail-hero:has(.cp-detail-visual--software-photo),
    .cp-detail-hero:has(.cp-detail-visual--mobile-photo),
    .cp-detail-hero:has(.cp-detail-visual--marketing-photo) {
        overflow: hidden;
        background: #fff;
        padding-bottom: clamp(58px, 9vw, 82px);
    }

    .cp-detail-hero:has(.cp-detail-visual--support-photo) .cp-detail-hero__layout,
    .cp-detail-hero:has(.cp-detail-visual--co-managed-photo) .cp-detail-hero__layout,
    .cp-detail-hero:has(.cp-detail-visual--cybersecurity-photo) .cp-detail-hero__layout,
    .cp-detail-hero:has(.cp-detail-visual--consulting-photo) .cp-detail-hero__layout,
    .cp-detail-hero:has(.cp-detail-visual--project-photo) .cp-detail-hero__layout,
    .cp-detail-hero:has(.cp-detail-visual--managed) .cp-detail-hero__layout,
    .cp-detail-hero:has(.cp-detail-visual--software-photo) .cp-detail-hero__layout,
    .cp-detail-hero:has(.cp-detail-visual--mobile-photo) .cp-detail-hero__layout,
    .cp-detail-hero:has(.cp-detail-visual--marketing-photo) .cp-detail-hero__layout {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
        z-index: 3;
    }

    .cp-detail-hero:has(.cp-detail-visual--support-photo) .cp-detail-hero__layout>div:first-child,
    .cp-detail-hero:has(.cp-detail-visual--co-managed-photo) .cp-detail-hero__layout>div:first-child,
    .cp-detail-hero:has(.cp-detail-visual--cybersecurity-photo) .cp-detail-hero__layout>div:first-child,
    .cp-detail-hero:has(.cp-detail-visual--consulting-photo) .cp-detail-hero__layout>div:first-child,
    .cp-detail-hero:has(.cp-detail-visual--project-photo) .cp-detail-hero__layout>div:first-child,
    .cp-detail-hero:has(.cp-detail-visual--managed) .cp-detail-hero__layout>div:first-child,
    .cp-detail-hero:has(.cp-detail-visual--software-photo) .cp-detail-hero__layout>div:first-child,
    .cp-detail-hero:has(.cp-detail-visual--mobile-photo) .cp-detail-hero__layout>div:first-child,
    .cp-detail-hero:has(.cp-detail-visual--marketing-photo) .cp-detail-hero__layout>div:first-child {
        position: relative;
        z-index: 4;
    }

    .cp-detail-visual--support-photo,
    .cp-detail-visual--co-managed-photo,
    .cp-detail-visual--cybersecurity-photo,
    .cp-detail-visual--consulting-photo,
    .cp-detail-visual--project-photo,
    .cp-detail-visual--managed,
    .cp-detail-visual--software-photo,
    .cp-detail-visual--mobile-photo,
    .cp-detail-visual--marketing-photo {
        position: absolute;
        z-index: 1;
        inset: 0;
        width: 100%;
        max-width: none;
        height: 100%;
        margin: 0;
        aspect-ratio: auto;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
        pointer-events: none;
    }

    .cp-detail-visual--support-photo::before,
    .cp-detail-visual--co-managed-photo::before,
    .cp-detail-visual--cybersecurity-photo::before,
    .cp-detail-visual--consulting-photo::before,
    .cp-detail-visual--project-photo::before,
    .cp-detail-visual--managed::before,
    .cp-detail-visual--software-photo::before,
    .cp-detail-visual--mobile-photo::before,
    .cp-detail-visual--marketing-photo::before {
        display: block;
        content: "";
        position: absolute;
        z-index: 2;
        inset: 0;
        background:
            linear-gradient(180deg,
                rgba(255, 255, 255, .99) 0%,
                rgba(255, 255, 255, .98) 30%,
                rgba(255, 255, 255, .92) 52%,
                rgba(255, 255, 255, .58) 76%,
                rgba(255, 255, 255, .18) 100%),
            linear-gradient(90deg,
                rgba(255, 255, 255, .99) 0%,
                rgba(255, 255, 255, .94) 48%,
                rgba(255, 255, 255, .54) 76%,
                rgba(255, 255, 255, .16) 100%);
        pointer-events: none;
    }

    .cp-detail-visual--support-photo img,
    .cp-detail-visual--co-managed-photo img,
    .cp-detail-visual--cybersecurity-photo img,
    .cp-detail-visual--consulting-photo img,
    .cp-detail-visual--project-photo img,
    .cp-detail-visual--managed img,
    .cp-detail-visual--software-photo img,
    .cp-detail-visual--mobile-photo img,
    .cp-detail-visual--marketing-photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 68% center;
        transform: scale(1.02);
    }
}

@media (max-width: 600px) {

    .cp-detail-hero:has(.cp-detail-visual--support-photo),
    .cp-detail-hero:has(.cp-detail-visual--co-managed-photo),
    .cp-detail-hero:has(.cp-detail-visual--cybersecurity-photo),
    .cp-detail-hero:has(.cp-detail-visual--consulting-photo),
    .cp-detail-hero:has(.cp-detail-visual--project-photo),
    .cp-detail-hero:has(.cp-detail-visual--managed),
    .cp-detail-hero:has(.cp-detail-visual--software-photo),
    .cp-detail-hero:has(.cp-detail-visual--mobile-photo),
    .cp-detail-hero:has(.cp-detail-visual--marketing-photo) {
        padding-top: 50px;
        padding-bottom: 58px;
    }

    .cp-detail-hero__summary {
        font-size: 1rem;
        line-height: 1.65;
    }

    .cp-detail-actions {
        margin-top: 24px;
    }

    .cp-detail-visual--support-photo::before,
    .cp-detail-visual--co-managed-photo::before,
    .cp-detail-visual--cybersecurity-photo::before,
    .cp-detail-visual--consulting-photo::before,
    .cp-detail-visual--project-photo::before,
    .cp-detail-visual--managed::before,
    .cp-detail-visual--software-photo::before,
    .cp-detail-visual--mobile-photo::before,
    .cp-detail-visual--marketing-photo::before {
        background:
            linear-gradient(180deg,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, .99) 34%,
                rgba(255, 255, 255, .94) 58%,
                rgba(255, 255, 255, .62) 82%,
                rgba(255, 255, 255, .24) 100%),
            linear-gradient(90deg,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, .96) 56%,
                rgba(255, 255, 255, .58) 82%,
                rgba(255, 255, 255, .20) 100%);
    }
}

/* --------------------------------------------------------------------------
 * Mobile service hero image visibility refinement
 * Keep copy readable in the upper portion of the hero while allowing the
 * photography to become clearly visible through the lower/right portion.
 * This intentionally uses one diagonal white veil instead of stacking two
 * white gradients, which previously made the images appear washed out.
 * -------------------------------------------------------------------------- */
@media (max-width: 820px) {

    .cp-detail-visual--support-photo::before,
    .cp-detail-visual--co-managed-photo::before,
    .cp-detail-visual--cybersecurity-photo::before,
    .cp-detail-visual--consulting-photo::before,
    .cp-detail-visual--project-photo::before,
    .cp-detail-visual--managed::before,
    .cp-detail-visual--software-photo::before,
    .cp-detail-visual--mobile-photo::before,
    .cp-detail-visual--marketing-photo::before {
        background: linear-gradient(155deg,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, .99) 28%,
                rgba(255, 255, 255, .93) 40%,
                rgba(255, 255, 255, .68) 52%,
                rgba(255, 255, 255, .30) 64%,
                rgba(255, 255, 255, .08) 74%,
                rgba(255, 255, 255, 0) 84%);
    }

    .cp-detail-visual--support-photo img,
    .cp-detail-visual--co-managed-photo img,
    .cp-detail-visual--cybersecurity-photo img,
    .cp-detail-visual--consulting-photo img,
    .cp-detail-visual--project-photo img,
    .cp-detail-visual--managed img,
    .cp-detail-visual--software-photo img,
    .cp-detail-visual--mobile-photo img,
    .cp-detail-visual--marketing-photo img {
        opacity: 1;
        filter: saturate(1.03) contrast(1.03);
        object-position: 70% center;
        transform: none;
    }
}

@media (max-width: 600px) {

    .cp-detail-visual--support-photo::before,
    .cp-detail-visual--co-managed-photo::before,
    .cp-detail-visual--cybersecurity-photo::before,
    .cp-detail-visual--consulting-photo::before,
    .cp-detail-visual--project-photo::before,
    .cp-detail-visual--managed::before,
    .cp-detail-visual--software-photo::before,
    .cp-detail-visual--mobile-photo::before,
    .cp-detail-visual--marketing-photo::before {
        background: linear-gradient(160deg,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, .99) 38%,
                rgba(255, 255, 255, .94) 47%,
                rgba(255, 255, 255, .66) 57%,
                rgba(255, 255, 255, .28) 67%,
                rgba(255, 255, 255, .06) 75%,
                rgba(255, 255, 255, 0) 82%);
    }

    .cp-detail-visual--support-photo img,
    .cp-detail-visual--co-managed-photo img,
    .cp-detail-visual--cybersecurity-photo img,
    .cp-detail-visual--consulting-photo img,
    .cp-detail-visual--project-photo img,
    .cp-detail-visual--managed img,
    .cp-detail-visual--software-photo img,
    .cp-detail-visual--mobile-photo img,
    .cp-detail-visual--marketing-photo img {
        object-position: 72% center;
    }
}

/* ========================================================================== 
 * Unified mobile flow pattern
 * Standardizes Cybersecurity / IT Consulting / Software Development style
 * flow blocks while preserving the semantic hub structure of IT Project.
 * Desktop/tablet styles above remain untouched.
 * ========================================================================== */
@media (max-width: 600px) {

    /* Shared mobile stack shell */
    .cp-detail-layers ol,
    .cp-detail-decisions ol,
    .cp-detail-architecture__stack {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        list-style: none;
    }

    /* Remove desktop connector rails */
    .cp-detail-decisions ol::before {
        display: none;
    }

    /* Shared mobile card treatment */
    .cp-detail-layers li,
    .cp-detail-decisions li,
    .cp-detail-architecture__stack li {
        position: relative;
        width: 100%;
        min-height: 68px;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        padding: 14px 18px;
        border: 1px solid #c4d5e4;
        border-left: 4px solid var(--blue);
        background: var(--pale);
        color: var(--navy);
    }

    /* Consistent step number */
    .cp-detail-layers li > span,
    .cp-detail-decisions li > span,
    .cp-detail-architecture__stack > li > span {
        color: var(--orange);
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: .1em;
        line-height: 1;
    }

    /* Consistent title treatment */
    .cp-detail-layers li strong,
    .cp-detail-decisions li strong,
    .cp-detail-architecture__stack li strong {
        font-size: 1rem;
        line-height: 1.28;
    }

    /* Keep descriptive copy available where the component has it */
    .cp-detail-architecture__stack small {
        margin-top: 5px;
        color: #607387;
        font-size: .84rem;
        line-height: 1.48;
    }

    /* One arrow language: centered between cards */
    .cp-detail-layers li:not(:last-child)::after,
    .cp-detail-decisions li:nth-child(n):not(:last-child)::after,
    .cp-detail-architecture__stack li:not(:last-child)::after {
        content: "↓";
        position: absolute;
        z-index: 3;
        left: 50%;
        right: auto;
        top: auto;
        bottom: -27px;
        width: 28px;
        height: 28px;
        display: grid;
        place-items: center;
        transform: translateX(-50%);
        background: var(--orange);
        color: var(--navy);
        font-size: .78rem;
        font-weight: 900;
        line-height: 1;
    }

    /* Shared final-state card */
    .cp-detail-layers li:last-child,
    .cp-detail-decisions li:last-child,
    .cp-detail-architecture__stack li:last-child {
        border-color: var(--navy);
        border-left-color: var(--orange);
        background: var(--navy);
        color: #fff;
    }

    .cp-detail-architecture__stack li:last-child small {
        color: #bdd3e7;
    }

    /* IT Project keeps hub semantics, but adopts the same card rhythm */
    .cp-detail-coordination__map {
        min-height: 0;
        display: block;
        width: 100%;
    }

    .cp-detail-coordination__center {
        width: 100%;
        min-height: 126px;
        margin: 0 0 22px;
        padding: 24px;
        border: 2px solid var(--blue);
        background: var(--navy);
        box-shadow: none;
    }

    .cp-detail-coordination__map ul {
        position: relative;
        inset: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    /* Vertical dependency rail instead of sequential arrows */
    .cp-detail-coordination__map ul::before {
        content: "";
        display: block;
        position: absolute;
        z-index: 0;
        top: 10px;
        bottom: 10px;
        left: 17px;
        width: 2px;
        height: auto;
        right: auto;
        background: #b8cee2;
    }

    .cp-detail-coordination__map ul::after {
        display: none;
    }

    .cp-detail-coordination__map li {
        position: relative;
        z-index: 1;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        min-height: 58px;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        padding: 13px 18px;
        border: 1px solid #c4d5e4;
        border-left: 4px solid var(--blue);
        background: var(--pale);
    }

    .cp-detail-coordination__map li span {
        color: var(--orange);
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: .1em;
    }

    .cp-detail-coordination__map li strong {
        font-size: 1rem;
        line-height: 1.28;
    }
}

/* ========================================================================== 
 * Unified desktop presentation: Cybersecurity + Software Development
 * Keeps the two sections on the same visual grid and card language.
 * Mobile rules below continue to control <= 600px.
 * ========================================================================== */
@media (min-width: 601px) {

    /* Match section proportions */
    .cp-detail-layers__layout,
    .cp-detail-architecture__layout {
        grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
        gap: clamp(56px, 7vw, 104px);
        align-items: center;
    }

    .cp-detail-layers header,
    .cp-detail-architecture header {
        max-width: 580px;
    }

    /* Give Cybersecurity the same framed stack treatment as Software Development */
    .cp-detail-layers ol,
    .cp-detail-architecture__stack {
        list-style: none;
        margin: 0;
        padding: 12px;
        display: grid;
        gap: 8px;
        background: #eef4fa;
        border: 1px solid #c5d7e7;
        box-shadow: 0 24px 54px rgba(7, 29, 54, .08);
    }

    .cp-detail-layers li,
    .cp-detail-architecture__stack li {
        position: relative;
        min-height: 76px;
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
        padding: 14px 20px;
        background: #fff;
        border: 1px solid #c8d8e6;
        border-left: 4px solid var(--blue);
    }

    .cp-detail-layers li > span,
    .cp-detail-architecture__stack > li > span {
        color: var(--orange);
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: .1em;
        line-height: 1;
    }

    .cp-detail-layers li strong,
    .cp-detail-architecture__stack li strong {
        font-size: 1.02rem;
        line-height: 1.25;
    }

    /* Use the same connector position and styling */
    .cp-detail-layers li:not(:last-child)::after,
    .cp-detail-architecture__stack li:not(:last-child)::after {
        content: "↓";
        position: absolute;
        z-index: 2;
        right: 18px;
        bottom: -18px;
        width: 28px;
        height: 28px;
        display: grid;
        place-items: center;
        background: var(--orange);
        color: var(--navy);
        font-size: .78rem;
        font-weight: 900;
        line-height: 1;
    }

    /* Shared final state */
    .cp-detail-layers li:last-child,
    .cp-detail-architecture__stack li:last-child {
        background: var(--navy);
        border-color: var(--navy);
        border-left-color: var(--orange);
        color: #fff;
    }
}