/* =========================================================
   ARPIVA TECHNOLOGIES
   SERVICES OVERVIEW
========================================================= */

.arpiva-services-page {

    --services-navy: #06183f;
    --services-deep: #03112d;
    --services-blue: #1976e5;
    --services-cyan: #19bfe8;
    --services-orange: #ff9f1c;

    --services-text: #12213f;
    --services-muted: #64748b;
    --services-light: #f5f8fc;
    --services-border: #e3ebf5;

    width: 100%;
    overflow: hidden;
}

.arpiva-services-page *,
.arpiva-services-page *::before,
.arpiva-services-page *::after {
    box-sizing: border-box;
}

.arpiva-services-page .container {

    width: min(1180px, 92%);
    margin: 0 auto;
}

.arpiva-services-page a {
    text-decoration: none;
}

.arpiva-services-page img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   HERO
========================================================= */

.services-hero {

    position: relative;

    min-height: 590px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #03112d 0%,
            #071e4d 60%,
            #082c69 100%
        );
}

.services-hero-glow {

    position: absolute;

    width: 700px;
    height: 700px;

    right: -170px;
    top: -210px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(25,191,232,.20),
            transparent 67%
        );
}

.services-hero-grid {

    position: absolute;
    inset: 0;

    opacity: .16;

    background-image:
        linear-gradient(
            rgba(255,255,255,.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.06) 1px,
            transparent 1px
        );

    background-size: 65px 65px;

    mask-image:
        linear-gradient(
            to right,
            transparent,
            black
        );
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero-content {

    max-width: 760px;

    padding: 85px 0 75px;
}

.services-eyebrow {

    display: inline-flex;

    padding: 7px 14px;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;

    color: #dbe8f8;

    background: rgba(255,255,255,.05);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.6px;
}

.services-kicker {

    display: block;

    margin: 20px 0 11px;

    color: var(--services-orange);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.8px;
}

.services-hero h1 {

    margin: 0;

    color: #fff;

    font-size: clamp(44px, 5.3vw, 68px);

    line-height: 1;

    letter-spacing: -3px;
}

.services-hero h1 span {

    display: block;

    color: #67b2ff;
}

.services-hero-content > p {

    max-width: 690px;

    margin: 23px 0 0;

    color: #bfd0e6;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   BUTTONS
========================================================= */

.services-hero-actions {

    display: flex;

    gap: 12px;

    margin-top: 28px;
}

.services-primary-button,
.services-secondary-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 49px;

    padding: 0 22px;

    border-radius: 9px;

    font-size: 10px;
    font-weight: 700;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.services-primary-button {

    color: #fff !important;

    background:
        linear-gradient(
            135deg,
            #ffab27,
            #ff8500
        );

    box-shadow:
        0 13px 30px rgba(255,133,0,.22);
}

.services-primary-button:hover {

    color: #fff !important;

    transform: translateY(-3px);

    box-shadow:
        0 18px 38px rgba(255,133,0,.32);
}

.services-secondary-button {

    color: #fff !important;

    border: 1px solid rgba(255,255,255,.23);

    background: rgba(255,255,255,.055);
}

.services-secondary-button:hover {

    color: #fff !important;

    transform: translateY(-3px);

    background: rgba(255,255,255,.11);
}

.services-primary-button span,
.services-secondary-button span {

    font-size: 16px;

    transition: transform .25s ease;
}

.services-primary-button:hover span,
.services-secondary-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   SCROLL
========================================================= */

.services-scroll {

    position: absolute;

    bottom: 18px;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 6px;

    transform: translateX(-50%);

    color: rgba(255,255,255,.42);

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 1.8px;
}

.services-scroll i {

    width: 1px;
    height: 24px;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,.7),
            transparent
        );
}


/* =========================================================
   INTRO
========================================================= */

.services-intro {

    padding: 95px 0;

    background: #fff;
}

.services-intro-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: start;
}

.services-label {

    display: block;

    margin-bottom: 13px;

    color: var(--services-orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2.6px;
}

.services-intro h2 {

    margin: 0;

    color: var(--services-navy);

    font-size: clamp(34px, 4vw, 51px);

    line-height: 1.06;

    letter-spacing: -2px;
}

.services-intro h2 strong {

    display: block;

    color: var(--services-blue);
}

.services-intro-grid p {

    margin: 0 0 16px;

    color: var(--services-muted);

    font-size: 13px;

    line-height: 1.85;
}


/* =========================================================
   HEADINGS
========================================================= */

.services-heading {

    max-width: 790px;

    margin: 0 auto 52px;

    text-align: center;
}

.services-heading > span {

    color: var(--services-orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2.6px;
}

.services-heading h2 {

    margin: 13px 0 16px;

    color: var(--services-navy);

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.07;

    letter-spacing: -1.8px;
}

.services-heading h2 strong {

    display: block;

    color: var(--services-blue);
}

.services-heading p {

    margin: 0;

    color: var(--services-muted);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   SERVICES LIST
========================================================= */

.services-list {

    padding: 100px 0;

    background: var(--services-light);
}

.services-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.service-card {

    position: relative;

    min-height: 350px;

    padding: 32px;

    overflow: hidden;

    border: 1px solid var(--services-border);

    border-radius: 19px;

    background: #fff;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.service-card:hover {

    transform: translateY(-7px);

    border-color: rgba(25,118,229,.25);

    box-shadow:
        0 22px 50px rgba(6,24,63,.09);
}

.service-card::after {

    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    right: -80px;
    bottom: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(25,118,229,.09),
            transparent 70%
        );

    transition: transform .4s ease;
}

.service-card:hover::after {
    transform: scale(1.4);
}

.service-number {

    color: #a6b4c8;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}

.service-icon {

    width: 58px;
    height: 58px;

    margin: 22px 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--services-blue),
            var(--services-cyan)
        );

    font-size: 10px;
    font-weight: 800;

    box-shadow:
        0 12px 25px rgba(25,118,229,.18);
}

.service-card > span {

    color: var(--services-orange);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.service-card h3 {

    max-width: 430px;

    margin: 10px 0 12px;

    color: var(--services-navy);

    font-size: 25px;

    line-height: 1.15;

    letter-spacing: -.7px;
}

.service-card h3 strong {

    display: block;

    color: var(--services-blue);
}

.service-card p {

    max-width: 480px;

    margin: 0;

    color: var(--services-muted);

    font-size: 11px;

    line-height: 1.75;
}

.service-link {

    position: absolute;

    left: 32px;
    bottom: 25px;

    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--services-blue);

    font-size: 9px;
    font-weight: 800;
}

.service-link b {

    font-size: 15px;

    transition: transform .25s ease;
}

.service-card:hover .service-link b {
    transform: translateX(5px);
}


/* =========================================================
   CAPABILITIES
========================================================= */

.services-capabilities {

    padding: 100px 0;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #03112d,
            #08275d
        );
}

.services-capabilities-header {

    max-width: 790px;

    margin: 0 auto 55px;

    text-align: center;
}

.services-capabilities-header > span {

    color: var(--services-orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2.6px;
}

.services-capabilities-header h2 {

    margin: 14px 0 17px;

    color: #fff;

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.06;

    letter-spacing: -1.8px;
}

.services-capabilities-header h2 strong {

    display: block;

    color: #67b2ff;
}

.services-capabilities-header p {

    color: #aabed8;

    font-size: 12px;

    line-height: 1.8;
}

.capabilities-flow {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;
}

.capabilities-flow > div {

    width: 145px;
    min-height: 130px;

    padding: 18px 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 13px;

    background: rgba(255,255,255,.045);
}

.capabilities-flow span {

    color: var(--services-orange);

    font-size: 8px;
    font-weight: 800;
}

.capabilities-flow strong {

    margin-top: 13px;

    color: #fff;

    font-size: 11px;
}

.capabilities-flow small {

    margin-top: 7px;

    color: #8ea8c8;

    font-size: 7px;

    line-height: 1.5;
}

.capabilities-flow > b {

    color: #4d9bf1;

    font-size: 17px;
}


/* =========================================================
   ECOSYSTEM
========================================================= */

.services-ecosystem {

    padding: 105px 0;

    background: #fff;
}

.ecosystem-grid {

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 70px;

    align-items: center;
}

.ecosystem-content h2 {

    margin: 0 0 17px;

    color: var(--services-navy);

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.06;

    letter-spacing: -1.8px;
}

.ecosystem-content h2 strong {

    display: block;

    color: var(--services-blue);
}

.ecosystem-content > p {

    max-width: 540px;

    color: var(--services-muted);

    font-size: 13px;

    line-height: 1.8;
}

.ecosystem-tags {

    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}

.ecosystem-tags span {

    padding: 8px 12px;

    border: 1px solid var(--services-border);

    border-radius: 7px;

    color: var(--services-blue);

    background: #f9fbfe;

    font-size: 8px;
    font-weight: 800;
}


/* =========================================================
   ECOSYSTEM VISUAL
========================================================= */

.ecosystem-visual {

    position: relative;

    width: min(470px, 100%);
    aspect-ratio: 1;

    margin: auto;
}

.ecosystem-visual::before,
.ecosystem-visual::after {

    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    border: 1px dashed rgba(25,118,229,.22);

    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.ecosystem-visual::before {

    width: 72%;
    height: 72%;
}

.ecosystem-visual::after {

    width: 48%;
    height: 48%;
}

.ecosystem-core {

    position: absolute;

    left: 50%;
    top: 50%;

    z-index: 3;

    width: 105px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #0d5fc6,
            #19bfe8
        );

    font-size: 15px;
    font-weight: 800;

    box-shadow:
        0 20px 45px rgba(25,118,229,.25);
}

.ecosystem-node {

    position: absolute;

    z-index: 4;

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--services-border);

    border-radius: 50%;

    color: var(--services-navy);

    background: #fff;

    box-shadow:
        0 12px 30px rgba(6,24,63,.08);

    font-size: 8px;
    font-weight: 800;
}

.node-web {
    left: 50%;
    top: 2%;
    transform: translateX(-50%);
}

.node-erp {
    right: 8%;
    top: 24%;
}

.node-ai {
    right: 8%;
    bottom: 24%;
}

.node-data {
    left: 50%;
    bottom: 2%;
    transform: translateX(-50%);
}

.node-cloud {
    left: 8%;
    bottom: 24%;
}

.node-mobile {
    left: 8%;
    top: 24%;
}


/* =========================================================
   WHY ARPIVA
========================================================= */

.services-why {

    padding: 100px 0;

    background: var(--services-light);
}

.why-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.why-grid > div {

    min-height: 210px;

    padding: 26px;

    border: 1px solid var(--services-border);

    border-radius: 15px;

    background: #fff;
}

.why-grid span {

    color: var(--services-orange);

    font-size: 9px;
    font-weight: 800;
}

.why-grid h3 {

    margin: 25px 0 10px;

    color: var(--services-navy);

    font-size: 16px;
}

.why-grid p {

    margin: 0;

    color: var(--services-muted);

    font-size: 10px;

    line-height: 1.7;
}


/* =========================================================
   FINAL CTA
========================================================= */

.services-final {

    position: relative;

    padding: 105px 0;

    overflow: hidden;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #03112d,
            #08275d
        );
}

.services-final-glow {

    position: absolute;

    width: 650px;
    height: 650px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(25,191,232,.17),
            transparent 68%
        );
}

.services-final-content {

    position: relative;
    z-index: 2;

    max-width: 800px;

    margin: auto;

    text-align: center;
}

.services-final-content > span {

    color: var(--services-orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2.5px;
}

.services-final-content h2 {

    margin: 14px 0 17px;

    color: #fff;

    font-size: clamp(37px, 4.5vw, 56px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.services-final-content h2 strong {

    display: block;

    color: #67b2ff;
}

.services-final-content p {

    max-width: 680px;

    margin: 0 auto 28px;

    color: #a9bdd8;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capabilities-flow {
        flex-wrap: wrap;
    }

}


@media (max-width: 767px) {

    .arpiva-services-page .container {
        width: 92%;
    }

    .services-hero {
        min-height: 670px;
    }

    .services-hero-content {
        padding: 65px 0;
    }

    .services-hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .services-hero-actions {
        flex-direction: column;
    }

    .services-primary-button,
    .services-secondary-button {
        width: 100%;
    }

    .services-scroll {
        display: none;
    }

    .services-intro,
    .services-list,
    .services-capabilities,
    .services-ecosystem,
    .services-why,
    .services-final {
        padding: 75px 0;
    }

    .services-intro-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 360px;
    }

    .capabilities-flow {
        flex-direction: column;
    }

    .capabilities-flow > b {
        transform: rotate(90deg);
    }

    .capabilities-flow > div {
        width: min(280px, 100%);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .ecosystem-visual {
        max-width: 400px;
    }

}