/* --------------------------------------------- */
/* Services visual banner                        */
/* --------------------------------------------- */

.services-visual-banner {
    position: relative;
    width: 100%;
    min-height: 620px;
    margin-top: -96px;
    overflow: hidden;
}

.services-visual-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(180deg,
            rgba(8, 13, 24, 0.08) 0%,
            rgba(8, 13, 24, 0.18) 42%,
            rgba(8, 13, 24, 0.72) 78%,
            var(--bg) 100%
        ),
        linear-gradient(90deg,
            var(--bg) 0%,
            rgba(8, 13, 24, 0) 20%,
            rgba(8, 13, 24, 0) 80%,
            var(--bg) 100%
        ),
        radial-gradient(circle at 50% 12%, rgba(125, 211, 252, 0.14), transparent 46%);
}

.services-visual-banner img {
    display: block;
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: center top;
    opacity: 0.92;
}

.services-hero-copy {
    position: relative;
    z-index: 2;
    margin-top: -120px;
    padding-top: 0;
    padding-bottom: 72px;
}

.services-hero-copy h1 {
    max-width: 920px;
}

.services-hero-copy .hero-lead {
    max-width: 780px;
}


/* --------------------------------------------- */
/* Services intro panel                          */
/* --------------------------------------------- */

.services-intro-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow-soft);
}

.services-intro-panel p {
    font-size: 18px;
}


/* --------------------------------------------- */
/* Service paths                                 */
/* --------------------------------------------- */

.service-path-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
}

.service-path-card {
    position: relative;
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.service-path-card::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.42), transparent);
    opacity: 0.65;
}

.service-path-card:hover {
    transform: translateY(-3px);
    border-color: rgba(125, 211, 252, 0.3);
    background:
        linear-gradient(180deg, rgba(125, 211, 252, 0.09), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow-strong);
}

.service-path-card.is-large {
    grid-row: span 2;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(circle at 22% 18%, rgba(125, 211, 252, 0.18), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04));
}

.service-path-card h3 {
    margin-top: 22px;
    margin-bottom: 12px;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.service-path-card:not(.is-large) h3 {
    font-size: 22px;
}

.service-path-card p {
    max-width: 56ch;
    margin: 0;
}


/* --------------------------------------------- */
/* Service callout                               */
/* --------------------------------------------- */

.service-callout-inner {
    padding: 44px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 78% 20%, rgba(125, 211, 252, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow-strong);
}

.service-callout-inner h2 {
    max-width: 760px;
}

.service-callout-inner p {
    max-width: 780px;
    margin-bottom: 28px;
}


/* --------------------------------------------- */
/* Example cards                                 */
/* --------------------------------------------- */

.example-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.example-card {
    position: relative;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.045);
    overflow: hidden;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
}

.example-card::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.42), transparent);
    opacity: 0.65;
}

.example-card:hover {
    transform: translateY(-2px);
    border-color: rgba(125, 211, 252, 0.32);
    background: rgba(125, 211, 252, 0.065);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.example-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.example-card p {
    margin: 0;
    font-size: 15px;
}


/* --------------------------------------------- */
/* Full solution                                 */
/* --------------------------------------------- */

.full-solution-card {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 46px;
    align-items: center;
    padding: 46px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 16% 18%, rgba(125, 211, 252, 0.16), transparent 34%),
        radial-gradient(circle at 86% 82%, rgba(255, 255, 255, 0.08), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.full-solution-card::before {
    content: "";
    position: absolute;
    left: 38px;
    right: 38px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.58), transparent);
}

.full-solution-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: rgba(125, 211, 252, 0.07);
    filter: blur(2px);
    pointer-events: none;
}

.full-solution-header,
.full-solution-steps {
    position: relative;
    z-index: 1;
}

.full-solution-header h2 {
    max-width: 620px;
    margin-bottom: 16px;
}

.full-solution-header p {
    max-width: 620px;
    margin: 0;
}

.full-solution-steps {
    display: grid;
    gap: 14px;
}

.full-solution-step {
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.105);
    border-radius: 24px;
    background: rgba(8, 13, 24, 0.34);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.full-solution-step:hover {
    transform: translateY(-2px);
    border-color: rgba(125, 211, 252, 0.32);
    background: rgba(125, 211, 252, 0.065);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.full-solution-number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(125, 211, 252, 0.34);
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.10);
    color: var(--accent);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.full-solution-step h3 {
    margin-bottom: 7px;
    font-size: 22px;
}

.full-solution-step p {
    margin: 0;
    font-size: 15px;
}


/* --------------------------------------------- */
/* Final CTA                                     */
/* --------------------------------------------- */

.service-final-cta-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    padding: 44px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 82% 20%, rgba(125, 211, 252, 0.18), transparent 34%),
        radial-gradient(circle at 12% 90%, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.service-final-cta-card::before {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.58), transparent);
}

.service-final-cta-content {
    max-width: 760px;
}

.service-final-cta-content h2 {
    margin-bottom: 14px;
}

.service-final-cta-content p {
    max-width: 720px;
    margin: 0;
}

.service-final-cta-actions {
    display: grid;
    gap: 12px;
    min-width: 230px;
}

.service-final-cta-actions .btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    overflow: hidden;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease;
}

.service-final-cta-actions .btn::before {
    content: "";
    position: absolute;
    inset: -80%;
    z-index: -1;
    background:
        radial-gradient(circle, rgba(125, 211, 252, 0.34), transparent 42%);
    opacity: 0;
    transform: translate(-18%, 18%) scale(0.72);
    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.service-final-cta-actions .btn:hover {
    transform: translateY(-2px);
}

.service-final-cta-actions .btn:hover::before {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.service-final-cta-actions .btn-primary {
    border: 1px solid rgba(125, 211, 252, 0.55);
    background:
        linear-gradient(135deg, var(--accent), #dff8ff);
    color: var(--dark-text);
    box-shadow:
        0 14px 34px rgba(125, 211, 252, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.service-final-cta-actions .btn-primary:hover {
    box-shadow:
        0 18px 46px rgba(125, 211, 252, 0.28),
        0 0 0 6px rgba(125, 211, 252, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.service-final-cta-actions .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
    color: var(--text);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-final-cta-actions .btn-secondary:hover {
    border-color: rgba(125, 211, 252, 0.38);
    color: var(--accent);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.24),
        0 0 0 6px rgba(125, 211, 252, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-final-cta-actions .btn:active {
    transform: translateY(0);
}


/* --------------------------------------------- */
/* Responsive                                    */
/* --------------------------------------------- */

@media (max-width: 900px) {
    .services-intro-panel {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px;
    }

    .service-path-grid {
        grid-template-columns: 1fr;
    }

    .service-path-card.is-large {
        min-height: 320px;
    }

    .example-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .full-solution-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 34px;
    }
}

@media (max-width: 760px) {
    .services-visual-banner {
        min-height: 460px;
        margin-top: -88px;
    }

    .services-visual-banner::before {
        background:
            linear-gradient(180deg,
                rgba(8, 13, 24, 0.12) 0%,
                rgba(8, 13, 24, 0.26) 34%,
                rgba(8, 13, 24, 0.82) 74%,
                var(--bg) 100%
            ),
            linear-gradient(90deg,
                var(--bg) 0%,
                rgba(8, 13, 24, 0.92) 4%,
                rgba(8, 13, 24, 0.55) 12%,
                rgba(8, 13, 24, 0) 28%,
                rgba(8, 13, 24, 0) 72%,
                rgba(8, 13, 24, 0.55) 88%,
                rgba(8, 13, 24, 0.92) 96%,
                var(--bg) 100%
            ),
            radial-gradient(circle at 50% 12%, rgba(125, 211, 252, 0.10), transparent 44%);
    }

    .services-visual-banner img {
        height: 460px;
        object-position: center top;
    }

    .services-hero-copy {
        margin-top: -92px;
        padding-bottom: 54px;
    }

    .service-final-cta-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .service-final-cta-actions {
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .services-intro-panel,
    .service-callout-inner,
    .full-solution-card,
    .service-final-cta-card {
        padding: 24px;
    }

    .example-grid {
        grid-template-columns: 1fr;
    }

    .service-path-card,
    .service-path-card.is-large {
        min-height: auto;
        padding: 24px;
    }

    .full-solution-step {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .services-visual-banner {
        min-height: 380px;
        margin-top: -82px;
    }

    .services-visual-banner::before {
        background:
            linear-gradient(180deg,
                rgba(8, 13, 24, 0.14) 0%,
                rgba(8, 13, 24, 0.34) 30%,
                rgba(8, 13, 24, 0.88) 70%,
                var(--bg) 100%
            ),
            linear-gradient(90deg,
                var(--bg) 0%,
                rgba(8, 13, 24, 0.95) 7%,
                rgba(8, 13, 24, 0.68) 18%,
                rgba(8, 13, 24, 0) 36%,
                rgba(8, 13, 24, 0) 64%,
                rgba(8, 13, 24, 0.68) 82%,
                rgba(8, 13, 24, 0.95) 93%,
                var(--bg) 100%
            ),
            radial-gradient(circle at 50% 10%, rgba(125, 211, 252, 0.08), transparent 42%);
    }

    .services-visual-banner img {
        height: 380px;
    }

    .services-hero-copy {
        margin-top: -74px;
        padding-bottom: 44px;
    }
}