/* The original Cybrus service colours carry through every service and its page. */
header.floating-header::after {
    background: linear-gradient(90deg, #22d3ee, #a78bfa, #fbbf24, #fb7185, #4ade80, #60a5fa)
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px
}

.service-card {
    --accent: #22d3ee;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 32px;
    border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
    border-radius: 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, #0b1016), #0b1016 85%);
    box-shadow: 0 0 35px color-mix(in srgb, var(--accent) 6%, transparent);
    transition: border-color .25s, box-shadow .25s, transform .25s
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 45px color-mix(in srgb, var(--accent) 13%, transparent);
    transform: translateY(-4px)
}

.service-card:focus-visible {
    outline-color: var(--accent)
}

.service-number {
    font: 11px/1.7 monospace;
    color: var(--accent);
    letter-spacing: .04em
}

.service-card h3,
.home-services .service-card h3 {
    font-size: clamp(23px, 2.3vw, 33px);
    line-height: 1.15;
    letter-spacing: -.04em;
    margin: 24px 0 16px
}

.service-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #b9c1c9;
    margin: 0 0 30px
}

.service-card-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
    padding-top: 20px;
    margin-top: auto;
    font-size: 12px;
    color: var(--accent)
}

.service-card-link>span {
    font-size: 20px
}

.service-jump {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: var(--accent, #22d3ee);
    border-bottom: 1px solid color-mix(in srgb, var(--accent, #22d3ee) 35%, transparent);
    padding-bottom: 12px;
    margin-top: 35px
}

.home-services {
    background: radial-gradient(ellipse at 0 15%, #22d3ee09, transparent 50%), radial-gradient(ellipse at 95% 95%, #a78bfa0d, transparent 55%)
}


.service-page {
    --accent: #a78bfa;
    --blue: var(--accent);
    overflow-x: clip
}

.service-page em {
    color: var(--accent)
}

.service-page main {
    position: relative;
    z-index: 1
}

.service-page .brand-logo {
    width: 166px
}

.service-page .floating-header nav a[aria-current=page] {
    color: var(--accent)
}

.service-brand-mark {
    position: fixed;
    right: -6vw;
    top: 25vh;
    width: min(54vw, 700px);
    aspect-ratio: 1;
    background: var(--accent);
    mask: url('/assets/cybrus-mark.svg') center/contain no-repeat;
    -webkit-mask: url('/assets/cybrus-mark.svg') center/contain no-repeat;
    opacity: .045;
    pointer-events: none;
    z-index: 0
}

.service-hero {
    max-width: 1400px;
    margin: auto;
    padding: 150px 7% 95px;
    background: radial-gradient(ellipse at 0 0, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%)
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 70px;
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0;
    color: #9da7b1
}

.breadcrumbs a:hover {
    color: var(--accent)
}

.breadcrumbs span[aria-current] {
    color: #dce1e5
}

.service-hero>.eyebrow {
    color: var(--accent)
}

.service-hero h1 {
    font-size: clamp(56px, 7.3vw, 110px);
    max-width: 1100px;
    line-height: 1.04;
    margin-bottom: 35px
}

.service-intro {
    font-size: 20px;
    line-height: 1.8;
    color: #b9c3cc;
    max-width: 740px;
    margin-bottom: 0
}

.service-section {
    padding: 90px 7%;
    border-top: 1px solid var(--line);
    max-width: 1400px;
    margin: auto
}

.service-section h2,
.service-cta h2 {
    font-size: clamp(42px, 5.2vw, 76px);
    line-height: 1.1;
    letter-spacing: -.055em;
    margin-bottom: 45px
}

.service-section>.eyebrow {
    color: #9faab4
}

.service-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px
}

.service-benefits article {
    border-top: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    padding-top: 25px
}

.service-benefits .detail-number {
    font: 11px monospace;
    color: var(--accent)
}

.service-page h3 {
    font-size: 27px;
    line-height: 1.25;
    letter-spacing: -.035em;
    margin: 20px 0 18px
}

.service-benefits p,
.service-includes p,
.service-fit p,
.service-process p {
    font-size: 16px;
    line-height: 1.85;
    color: #b9c3cc;
    margin-bottom: 0
}

.service-example {
    margin-top: 50px;
    padding: 30px 35px;
    border-left: 2px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 5%, #0c1118)
}

.service-example p {
    font-size: 19px;
    line-height: 1.8;
    max-width: 920px;
    margin: 17px 0 0
}

.service-deliverables {
    background: #10151b
}

.service-includes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 65px
}

.service-includes article {
    border-top: 1px solid var(--line);
    padding-top: 12px
}

.scope-note {
    font-size: 14px;
    line-height: 1.85;
    color: #a7b3bf;
    padding-top: 30px;
    margin: 45px 0 0;
    border-top: 1px solid var(--line);
    max-width: 850px
}

.service-fit {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 70px;
    align-items: center
}

.service-fit h2 {
    font-size: clamp(39px, 4.4vw, 65px);
    margin-bottom: 25px
}

.service-fit aside {
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    border-radius: 14px;
    padding: 30px;
    background: color-mix(in srgb, var(--accent) 5%, #0c1118)
}

.service-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    list-style: none;
    padding: 0;
    margin: 0
}

.service-process li {
    border-top: 1px solid var(--line);
    padding-top: 25px
}

.service-process p {
    margin-top: 18px
}

.service-section-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px
}

.service-section-top h2 {
    margin: 0
}

.service-section-top>a,
.service-section-top>span {
    font-size: 12px;
    color: #a4b0bc;
    margin-bottom: 8px
}

.service-cta {
    padding: 95px 7% 110px;
    max-width: 1400px;
    margin: auto;
    border-top: 1px solid var(--line);
    background: radial-gradient(ellipse at 0 100%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 65%)
}

.service-cta>p:not(.eyebrow) {
    font-size: 18px;
    color: #b9c3cc;
    line-height: 1.8;
    max-width: 680px
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap
}

.service-page .contact-button {
    width: max-content;
    font-size: 14px;
    padding: 18px 25px;
    gap: 35px
}

.contact-whatsapp {
    color: var(--accent);
    font-size: 13px;
    margin-top: 22px
}

.service-footer {
    position: relative;
    z-index: 1;
    padding: 40px 7%;
    gap: 30px;
    flex-wrap: wrap
}

.service-footer nav {
    display: flex;
    gap: 25px;
    text-transform: none;
    font-size: 12px;
    letter-spacing: 0
}

.service-footer>span {
    width: 100%;
    font-size: 10px;
    line-height: 1.8
}

.service-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.service-page .fade-word {
    display: inline-block;
    opacity: 1
}

@media(max-width:1000px) {

    .service-benefits,
    .service-process {
        gap: 25px
    }

    .service-fit {
        gap: 35px
    }

    .service-includes {
        gap: 30px
    }

    .service-card {
        padding: 27px
    }

    .service-page h3 {
        font-size: 24px
    }

    .service-page .brand-logo {
        width: 150px
    }
}

@media(max-width:759px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .service-card {
        padding: 27px
    }

    .service-card h3,
    .home-services .service-card h3 {
        font-size: 29px
    }

    .service-card p {
        font-size: 15px
    }

    .service-hero {
        padding: 115px 6% 65px
    }

    .breadcrumbs {
        margin-bottom: 45px;
        gap: 10px;
        font-size: 10px
    }

    .service-hero h1 {
        font-size: clamp(42px, 9.8vw, 72px);
        line-height: 1.08
    }

    .service-intro {
        font-size: 17px
    }

    .service-section,
    .service-cta {
        padding: 65px 6%
    }

    .service-section h2,
    .service-cta h2 {
        font-size: clamp(36px, 9vw, 62px);
        margin-bottom: 35px
    }

    .service-benefits,
    .service-process,
    .service-includes,
    .service-fit {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .service-page h3 {
        font-size: 26px
    }

    .service-example {
        padding: 25px;
        margin-top: 35px
    }

    .service-example p {
        font-size: 17px
    }

    .service-section-top {
        display: block;
        margin-bottom: 30px
    }

    .service-section-top h2 {
        margin-bottom: 25px
    }

    .service-brand-mark {
        width: 85vw;
        right: -25vw
    }

    .service-footer {
        padding: 35px 6%
    }

    .service-footer nav {
        gap: 15px;
        flex-wrap: wrap
    }

    .service-page .brand-logo {
        width: 130px
    }

    .service-cta>p:not(.eyebrow) {
        font-size: 17px
    }

    .service-page .contact-button {
        font-size: 13px
    }

    .contact-actions {
        gap: 12px 25px
    }

    header.floating-header nav a:first-child {
        display: none
    }

    header.floating-header nav a:nth-child(2) {
        display: block
    }

    .service-page header.floating-header nav a:first-child {
        display: block
    }

    .service-page header.floating-header nav a:nth-child(2) {
        display: none
    }

    .service-page header.floating-header {
        gap: 12px
    }
}

@media(prefers-reduced-motion:reduce) {
    .service-card {
        transition: none
    }

    .service-card:hover {
        transform: none
    }

    .service-page .fade-word {
        opacity: 1 !important
    }
}

/* One accent follows each homepage section, its rail label and the brand mark. */
main>section[data-color] {
    --blue: var(--accent);
    border-top-color: color-mix(in srgb, var(--accent) 27%, transparent)
}

main>section[data-color] h1 em,
main>section[data-color] h2 em,
main>section[data-color] .detail-number,
main>section[data-color] .section-top .eyebrow {
    color: var(--accent)
}

.info-section[data-color] {
    background: radial-gradient(ellipse at 0 0, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%)
}

#studio {
    background: radial-gradient(ellipse at 0 80%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%)
}

#contact {
    background: radial-gradient(ellipse at 20% 120%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%)
}

main>section[data-color] .editorial-note {
    border-left-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 5%, transparent)
}

main>section[data-color] .support-grid article {
    border-top-color: color-mix(in srgb, var(--accent) 45%, transparent)
}

main>section[data-color] .goal-options button[aria-pressed=true] {
    background: var(--accent);
    border-color: var(--accent);
    color: #090b0d
}

main>section[data-color] .fit-recommendation {
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    background: linear-gradient(110deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent)
}

#fit-scope {
    color: var(--accent)
}

.work[data-color] .project-info {
    border-left-color: var(--accent)
}

.hero[data-color] .hero-progress>span {
    background: var(--accent)
}

.hero[data-color] .ghost {
    -webkit-text-stroke-color: color-mix(in srgb, var(--accent) 14%, transparent)
}

.hero[data-color] .hero-project:hover,
.hero[data-color] .hero-project:focus-within {
    box-shadow: 0 30px 75px #000b, 0 0 0 2px var(--accent)
}

main>section[data-color] .contact-whatsapp {
    color: var(--accent)
}

.whatsapp-float {
    --whatsapp-accent: var(--accent, #22d3ee);
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--whatsapp-accent);
    color: #090b0d;
    border: 1px solid color-mix(in srgb, var(--whatsapp-accent) 65%, #fff);
    border-radius: 40px;
    box-shadow: 0 8px 30px #0006;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0
}

.whatsapp-float:hover {
    transform: translateY(-2px)
}

.whatsapp-float:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px
}

.whatsapp-arrow {
    font-size: 18px
}

@media(max-width:759px) {
    .whatsapp-float {
        right: 18px;
        bottom: max(18px, env(safe-area-inset-bottom));
        width: 54px;
        height: 54px;
        justify-content: center;
        padding: 0
    }

    .whatsapp-float>span {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    .whatsapp-float {
        transition: none
    }

    .whatsapp-float:hover {
        transform: none
    }
}


/* Clipped word reveal used by service page headings. */

.contact-instagram { color: var(--accent); font-size: 13px; margin-top: 22px; }
.contact-instagram:hover { text-decoration: underline; text-underline-offset: 4px; }
